Next Article in Journal
Resilient and Sustainability Analysis of Flexible Supporting Structure of Expansive Soil Slope
Next Article in Special Issue
A Privacy-Preserving KYC-Compliant Identity Scheme for Accounts on All Public Blockchains
Previous Article in Journal
A Native American Perspective on Sustainable and Resilient Infrastructure in Southern California
Previous Article in Special Issue
Factors Affecting Organisations’ Adoption Behaviour toward Blockchain-Based Distributed Identity Management: The Sustainability of Self-Sovereign Identity in Organisations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Blockchain-Based Anti-Counterfeiting Management System for Traceable Luxury Products

1
School of Information Engineering, Changchun Sci-Tech University, Changchun 130600, China
2
Department of Computer Science and Information Engineering, Chaoyang University of Technology, Taichung City 413310, Taiwan
3
School of Computer and Information Engineering, Xiamen University of Technology, Xiamen 361024, China
4
Computer Center, National Taipei University, New Taipei City 237303, Taiwan
5
Department of Computer Science and Information Engineering, National Taipei University, New Taipei City 237303, Taiwan
6
Department of Computer Science, Jilin Normal University, Siping 136000, China
7
State Key Laboratory of Numerical Simulation, Siping 136000, China
8
Department of Information Management, Tainan University of Technology, Tainan 71002, Taiwan
*
Authors to whom correspondence should be addressed.
Sustainability 2022, 14(19), 12814; https://doi.org/10.3390/su141912814
Submission received: 17 August 2022 / Revised: 24 September 2022 / Accepted: 24 September 2022 / Published: 8 October 2022
(This article belongs to the Collection Blockchain Technology)

Abstract

:
In recent years, counterfeit luxury products have become a major concern for consumers worldwide. The reason for the proliferation of counterfeit products is that the manufacturing and distribution process is not transparent to consumers and this information can be easily falsified or altered by others. To solve this problem, this paper proposes the development of a management system using blockchain and smart contract technology to solve the problems of data forgery and data tampering, while tracking the information related to luxury products and ensuring the accuracy and authenticity of the relevant data, to achieve the purpose of luxury product anti-counterfeiting. When using Hyperledger Fabric to deploy the blockchain and execute smart contracts, all information related to the production and logistics process of luxury goods will be uploaded to the blockchain. No human intervention is required to create a complete, traceable, tamper-proof, and trusted repository. Compared to previous work, this paper combines blockchain technology with specific processes in the supply chain, employing a variety of security methods to secure the communication process. Moreover, our proposed solution is more flexible in transmission, with more secure protocols also making data harder to tamper with and falsify, thereby solving the problem of forgery and tracking of luxury products.

1. Introduction

1.1. Background

Luxury products are internationally known as consumer products that are unique, scarce, rare, and expensive beyond people’s needs for survival and development; these are also known as non-essential products. Currently, the world’s most famous and well-known luxury brands are Chanel, Givenchy, Hermes, Louis Vuitton, Prada, and Gucci, whose commercial products cover all aspects: jewelry and accessories, watches, bags, and luxury clothing. Due to the rapid development of the world economy over the years, the market for the sale of luxury products has also been expanding, leaving people increasingly eyeing the profit margin of counterfeit luxury products. Seeking to make huge profits from luxury products, many have now entered the counterfeit luxury industry, flooding the market with counterfeit products. In 2017, the total global loss of counterfeit products (including loss of brands, jobs, and consumers’ health and safety) was US $1.2 trillion, equivalent to 10% of China’s GDP that year. The 2019 Harvard Business Review estimated the global counterfeit trade to be around US $4.5 trillion. Of this, the luxury products industry alone accounts for 60–70% of all counterfeit transactions, far exceeding the values of the pharmaceutical and entertainment industries [1].
The information above shows that the counterfeit industry is causing huge financial losses to consumers, businesses, and governments. In response to the current situation of endless counterfeit luxury products, various brands of luxury products have taken measures to prevent consumers from buying counterfeit products, including hiring plainclothes detectives, setting up special teams to prevent and respond to counterfeit products [2], and introducing the use of QR codes and RFID chips to obtain proof of product information on official websites. Yet, these approaches have not achieved great results and counterfeit luxury products still occupy a large part of the consumer market. Today, counterfeit luxury products are a major problem for brands in the process of selling their products, which is a common concern worldwide. To protect the consumers’ rights and interests and maintain the huge consumer market of luxury products, we urgently need more effective anti-counterfeiting technology to stop the current phenomenon of counterfeit products.
In today’s luxury market, consumers are unable to distinguish the authenticity of luxury products as a direct result of the fact that the manufacturing and distribution process is not transparent to them. Consumers can only see the products, not the production and sales process and the raw materials used to create them. Furthermore, thanks to the booming global economy and trade, today, the research and development, production, and sales of luxury products for a brand are no longer managed by a few manufacturers but spread across several. As a result, consumers cannot tell the authenticity of a luxury product simply by the manufacturer’s information; this leaves them vulnerable to being easily fooled by lawless people into buying counterfeit products.
To remedy the situation, we need anti-counterfeiting technology that is honest, decentralized, irreplicable, and traceable. The blockchain and smart contracts can answer this call, bringing new solutions to several industry problems [3,4,5,6]. The blockchain [7] is essentially a shared database, with decentralization, tamper resistance, traceability, and anonymity that can ensure the data stored are not tampered with and that there is no hegemony of a “central” institution or monopoly of a few people. In the luxury sector, its tamper resistance and traceability can support the accurate traceability of luxury information. The smart contract, meanwhile, is a protocol for storing contracts in an informative, digital form on a computer and executing them on the computer. It is non-interfering, traceable, and irreversible, allowing trusted transactions to be made without the involvement of a third party and the status of the transaction to be tracked. The characteristics of the smart contract ensure that once the execution of the contract has begun, the system can automatically execute until the end of the contract without any external interference.
In the luxury sector, if the information relating to the production and sale of a luxury product is defined as a smart contract in advance, then once the “contract” is executed, the information relating to the production and sale process can be recorded without human interference and any tampering. Based on a close connection between the production and sales of products and the supply chain, if the design, production, and sales of luxury products are combined with blockchain and smart contract technology—for example, product manufacturers and raw material suppliers reach an agreement on the supply of raw materials through smart contracts, or product manufacturers and product distributors reach an agreement on the sale of products through smart contracts—then consumers and third parties will be able to trace the production and circulation history of products at any time, simply and completely, thereby benefitting from product traceability and anti-counterfeiting.
This paper proposes a blockchain and smart contract-based anti-counterfeiting management system for traceable luxury products. We show that when using the decentralized, consensus mechanism, the anonymity, immutability, transparency, and high reliability and confidentiality of blockchain technology make it inherently more advantageous for anti-counterfeiting than other methods proposed. Combining the blockchain with smart contract technology solves the problem of mistrust in the system. Without a third party and without establishing a trust relationship, the internal system can automatically conduct transactions according to the content of the smart contract, free of human interference. The operation of the entire system and the chain storage of data are secure and transparent, thus eliminating the possibility of forgery and tampering. The study also uses the Hyperledger Fabric architecture to implement a traceability prototype, which is an open-source blockchain project for enterprise applications launched by the Linux Foundation in December 2015 [8]. This can process transaction requests efficiently and without relying on digital currency. By utilizing the prototype, the Hyperledger Fabric architecture, combined with blockchain and IoT technologies, enables secure and true anti-counterfeit traceability of products.

1.2. Related Works

The most widely used anti-counterfeiting systems in the current market for clothing and watches are those based on QR codes and databases and those based on RFID, which have the following drawbacks:
  • Anti-counterfeiting systems based on QR codes and databases: QR codes can be copied, and since their contents are fixed, unscrupulous parties can achieve counterfeiting effects in this way; lawless parties can forge or copy the database of genuine products according to the contents of each column of the genuine serial number; lawless parties can forge and create a pirated website similar to the genuine one and pretend to be genuine merchants to deceive consumers; merchants have the right to change the database, so merchants can manipulate the database themselves, making online verification no longer credible [9,10,11,12,13];
  • RFID-based anti-counterfeiting systems: Since the data inside the chip can be read and written, there are many forged tags, which do not have their unique attributes. In the verification process of anti-counterfeiting, the information is transmitted through the Internet channel. Once the encryption measures of the commodity information are not in place, since the data management system tends to be centrally managed, there is a risk of the information being cracked and stolen, leading to the leakage and exposure of the commodity information [14].
To solve the problem of counterfeiting luxury clothing as well as products such as watches, many different solutions have been proposed based on previous concepts, as shown in Table 1.
Dan et al. [2] proposed the use of the EPC Internet of Things for the anti-counterfeiting of luxury products. Although information about the products can be obtained, there is a problem with information security because the data are transmitted through a network, and the cost is too high for small products such as cosmetics and skin care products because each product has to be equipped with an RFID microchip. Hochholdinger et al. [15] proposed that the physical and chemical analysis of marks or traces can achieve the effect of watch anti-counterfeiting, as well as provide a way to determine where the corresponding parts were produced, thereby achieving a certain degree of traceability. Yet, the process is too specialized, and ordinary consumers must seek professional help to obtain authenticity results; furthermore, its traceability is unstable, with a certain degree of chance. Perez et al. [16] proposed the latest solution and framework for traceability of garments, which enables the tracking of all suppliers and customers in the logistics chain, but lacks a specific description of the data flow framework. Kumar et al. [17] proposed a blockchain-based traceability framework for verifying and tracking the supply chain of clothing, but due to the lack of some IoT technologies, consumers cannot access the transaction information on the blockchain themselves.
The anti-counterfeiting solutions proposed in the above-mentioned literature have some deficiencies, such as (1) the difficulty of integrating blockchain technology with the specific processes of the supply chain. (2) The data transmission process has information security problems and cannot effectively protect product-related information in practical operations. Through learning from and improving on the solutions in the above literature, this paper proposes a blockchain-based anti-counterfeiting management system for traceable luxury products. The Hyperledger Fabric is used to build a consortium blockchain to deploy and execute smart contracts, and to upload all the information related to the production of raw materials, producers, consumers, and the flow and logistics of the products in the production process of luxury products. Given the decentralized, tamper-evidencing, and traceable features of the blockchain, the system can achieve decentralized storage of data. The system does not rely on other regulatory bodies or hardware facilities to store the information on the chain, making it a complete, traceable, and credible record. The system also makes use of the characteristics of smart contracts to strictly enforce the pre-agreed rules without human intervention, and it can transparently disclose the current logistics flow of products in real-time according to the execution of smart contracts.
Thus, this anti-counterfeiting management system can achieve the following effects:
  • In terms of security, this system adopts the Elliptic Curve Digital Signature Algorithm (ECDSA) in cryptography to protect the integrity, traceability, and non-repudiation of data, thus further ensuring the security of information related to luxury products in the process of transmission;
  • In terms of anti-counterfeiting and traceability, the system incorporates the Internet of Things (IoT), thereby enabling consumers to query specific information on the production and sales process of luxury products and the flow of products in real-time, and uses smart contracts to prevent human intervention in the process and ensure the accuracy of the data;
  • In terms of logistics and distribution, when the logistics delivery is made, both parties must confirm the integrity of the luxury products. If their integrity is confirmed, both parties will scan a code to confirm, which will trigger the smart contract and upload the logistics information, a timestamp, and the identity information of both parties to the blockchain center. The corresponding responsible unit can then be contacted for that information if needed, for instance, if the products are damaged or swapped;
  • In terms of its framework, this system uses Hyperledger Fabric, which combines the supply chain with the blockchain to further ensure the correct transmission of data.
The remainder of the paper is organized as follows: Section 2 introduces the technologies used in the study; Section 3 presents the architecture and research methodology of the system; Section 4 provides a series of analyses of the system, and Section 5 provides a discussion of the system’s performance. Finally, the paper is summarized in Section 6.

2. Preliminary

2.1. Elliptic Curve Digital Signature Algorithm (ECDSA)

In the cryptography field, the Elliptic Curve Digital Signature Algorithm (ECDSA) [18] provides a variant of the standard Digital Signature Algorithm (DSA). As with elliptic curve cryptography, the bit size of the public key required for ECDSA is about twice the security level. For example, to achieve an 80 bit security level, the size of an ECDSA public key needs to be 160 bits, while to achieve the same 80 bit security level, a DSA public key needs to be at least 1024 bits in size.
When signing and verifying the ECDSA, initially, both parties must agree on the curve parameter C U R V E , G , n , In addition to the equation of the curve and the base point G on the curve, the sender needs the private key d A , the public key Q A , and the message M (where K = k G ).
  • When the sender needs to send a message, they first choose a random value k in [ 1 , n 1 ] , calculate it z = h ( m ) , x 1 , y 1 = k G ,   r = x 1   m o d   n ,   s = k 1 z + r d A   m o d   n , and then send the ECDSA signature pair r , s together with the original message M to the receiver (where h is the hash function);
  • Once the receiver has received the signature pair r , s and the original message M , it verifies the validity of the ECDSA signature. First, it calculates z = h M , and second, it calculates u 1 = ( z s 1 )   m o d   n and u 2 = ( r s 1 )   m o d   n . Then, it determines the equality of r and x 1   m o d   n . If the values are equal, the receiver confirms that the ECDSA signature and message sent by the sender are valid.

2.2. Smart Contract

The smart contract was first proposed by interdisciplinary legal scholar Nick Szabo in 1995. It is defined as follows: a smart contract is a group of commitments defined in digital form, including the contract participants. Contract participants can execute the agreements reached through smart contracts [19]. The blockchain can allow multiple business entities to collaborate and foster trust through smart contracts, thus expanding the scope and depth of mutual cooperation between participants. When the blockchain hears the trigger condition of a smart contract, it will put the contract into a queue and distribute it to each node. When each node receives the contract, it will first verify the correctness of the contract, and if it is correct, it will execute the corresponding contract content code and package the final result on the blockchain.

2.3. Blockchain

The blockchain is essentially a centrally maintained decentralized database [20]. It has features such as decentralization, consensus mechanisms, the immutability of data, and transparency [21]. Decentralization means that in the blockchain, each node has the same right, and there is no node with the highest right. Compared to the centralized system, it can effectively prevent the highest power of person or institution from changing the data at will, so that all users who join the blockchain can participate in data authenticity verification, thus eliminating the shortcomings of a single authentication center in the traditional authentication system. At the same time, all nodes on the blockchain can reach a consensus mechanism; as long as one node has a different concept from the others, no consensus can be reached, which can effectively deal with the problem of a “Byzantine General”. The high degree of data inerrability and its transparency are the basis of the entire blockchain. The blockchain is composed of multiple blocks, where the generation of the next block relies on the hash value of the data of the previous block. Once the data of the previous block are tampered with, the hash value of the block will be changed and the rest of the nodes will collectively consider this node a “bad” node, thus ensuring the security of the data. Luxury products are suitable candidates for the application of the blockchain for product anti-counterfeiting traceability [22].

2.4. Hyperledger Fabric

In 2017, the Linux Foundation launched the open-source blockchain project Super Ledger (Hyperledger) [23], which has five main subprojects: Fabric, Sawtooth, Indy, Burrow, and Iroha. Among them, the most popular is the Fabric consortium blockchain [24]. Unlike Bitcoin and Ethereum, Hyperledger Fabric is a consortium blockchain platform designed specifically for enterprise-level blockchain applications, which does not have any cryptocurrency, and where member nodes must be authorized to join and gain access. It also has the decentralized, tamper-proof, transparent, and traceable features of the blockchain, supports multiple smart contract writing languages, has a pluggable consensus, and has a unique communication mechanism for sharing information between members, which provides excellent transaction throughput while ensuring good privacy [25]. In these ways, Hyperledger Fabric is highly suited to the application needs of data sharing between enterprises. Hyperledger Fabric, as a consortium blockchain, mainly consists of Certificate Authorities (CA), a Peer Node, Chaincode, Channel, Ordering Service, Client, etc. [26].

3. Proposed Scheme

3.1. System Structure

In this study, a blockchain-based anti-counterfeiting management system for the traceability of luxury products is proposed to be designed using the Elliptic Curve Digital Signature Algorithm (ECDSA). As shown in Figure 1, blockchain technology is applied to the complete production and distribution history of luxury products, allowing third parties to verify that at any time.
In this system, the Brand Party (BP), Product Manufacturer (PM), Material Supplier (MS), Product Distributor (PD), and Logistics Provider (LP) will form a consortium blockchain, which together with the Third-Party Verify Organization (TPOV), Blockchain Center (BCC), Consumers (CO), and Deliveryman (DM), will form a Hyperledger Fabric-based luxury anti-counterfeiting management system.
  • Blockchain Center (BCC): the BCC accepts registrations from all parties and issues proof of identity and public/private key pairs to each party;
  • Brand Party (BP): The BP is responsible for the design of the product, reviewing whether the product manufacturer has produced a product that meets the standards, and controlling the eligibility of the product to be marketed. The supply chain only operates when the brand decides to produce a luxury product;
  • Product Manufacturer (PM): Based on the product design drawings sent by the BP, the PM sends raw material requirements to the MS. When the BP gives them the go-ahead, the PM will produce the product and attach a web page or client interactive website containing the blockchain network to the product, which it sends to the distributor;
  • Material Supplier (MS): the MS provides the raw materials for manufacturing products according to the raw material demand information sent by the PM, and records the sources of materials;
  • Product Distributor (PD): the PD is a third-party sales platform or direct shop that sells products to customers, and which can upload transactions;
  • Logistics Provider (LP): responsible for the delivery of products from third-party sales platforms or directly managed shops to consumers, able to confirm upload transactions with consumers and deliverymen, and record the logistics path of products;
  • Consumers (CO): when the integrity of the products received is confirmed, the CO (or DM) will confirm the upload with the logistics provider;
  • Deliveryman (DM): when the integrity of the product is confirmed, the DM (or CO) will confirm the upload with the logistics provider;
  • Third-Party Verify Organization (TPVO): inspection agencies that check the information about luxury products through an app or with the client.
  • Step 1: The registration phase for each role in the system. All Brand Parties (BP), Material Suppliers (MS), Product Manufacturers (PM), Product Distributors (PD), Logistics Providers (LP), Deliverymen (DM), and Consumers (CO) need to authenticate their access to the blockchain at the CA node in the center of the blockchain. Then, they will get the ECDSA signed public and private keys issued by the CA node, which will add them to the blockchain network, where they interact through a channel;
  • Step 2: When a BP wants to design a new product, it enters the product design development phase. The BP makes a design for the new product, applies for a patent, signs the design and the patent license with a private key, and sends it to the PM, who verifies that the signature is correct and then signs the information about the raw materials needed to develop the new product, sending this to the MS. After the MS verifies the correctness of the signature, it returns a confirmation message of the product’s raw material content, which contains the product’s raw material identification code, the product’s raw material content, and the source of the raw material. After verifying the correctness of the message, the PM adds the information that the product is a sample and signs the above product information, and uploads it to the blockchain center via a sorting node to update the local ledger;
  • Step 3: After the PM has completed the production of the product sample, it enters the product evaluation and approval phase. The PM carries out a corresponding evaluation of the produced sample product and, after the evaluation, sends the product-related evaluation data and raw material-related information, signed with a private key, to the BP. If the BP approves the product, they return a signed production certificate for the product to the PM;
  • Step 4: After the PM has obtained the production certificate for the product and verified its correctness, it enters the ordering and production phase. The PD sends the order to the BP, who confirms the order information and sends it to the PM with a signature. The PM produces the product according to the order information, signs the information on the raw materials required to produce the product, and sends it to the MS, who verifies that the signature is correct and provides the required raw materials for production, sending the information on the raw materials to the PM with a signature. The PM verifies the correctness of the signature and then proceeds with the mass production of the product, while marking the product with a unique identification code that allows the user to query the product information in the future. Once the product has been produced, the PM sends the product to the PD and integrates the information about the product into the order information, signing it with a private key and uploading it to the blockchain center via a sorting node to update the local ledger;
  • Step 5: The product purchase and logistics delivery phase. After the CO purchases the product from the PD, the product is signed by both parties and enters the logistics delivery phase. During the product delivery process, the CO can check the information related to the product logistics in real-time. There are two situations in logistics delivery: (1) When two DMs hand over the product, both DMs need to jointly scan the code to confirm the product is complete and error-free, triggering a smart contract to upload the logistics information, timestamp, and identity information of both parties to the blockchain center. (2) When the CO receives the product, they also need to confirm that the product is complete and then scan the code with the DM to trigger the smart contract, which uploads the logistics information, timestamp, name of the signatory, and the DM’s information to the blockchain center. When there is a problem with the delivery of the product, the logistics and delivery can be traced;
  • Step 6: All TPVO validation (e.g., consumers, inspection bodies, blockchain values, product approval certificates, etc.) can be verified using the public keys of the BP, MS, PM, and PD. After that, they can verify the complete production history and legitimacy of the product. Furthermore, the TPVO verifies the signature information of the PM and MS to confirm that the content of the raw material is correct and that the product is a sample or commercially available. Moreover, the TPVO verifies the signatures of the PM and BP and the product approval certificate to verify the marketing authorization of the product. In addition, the TPVO verifies the signatures of the PM and the BP to obtain test data for the product. Finally, the TPVO can verify the route of the product during logistics and the handover between the two parties.

3.2. Notation

Table 2 provides definitions for the symbols that will be used in this paper.

3.3. Initialization Phase

This research will build a consortium blockchain, and deploy and execute smart contracts through the Hyperledger Fabric. Some key information about the design, production, sales, logistics, and distribution of luxury products will be stored and verified through a blockchain center. This blockchain key information needs to be defined in a smart contract. Figure 2 shows the blockchain smart contract structure for this solution, and Figure 3 shows the structure of the roles of those involved in the supply chain. The following key information will be stored in the blockchain.
(1)
In the luxury product structure, information about the product, its specific content, and the material supplier, product manufacturer, consumer, and logistics order numbers are recorded;
(2)
Role types and related procedural structures are assigned to those involved in the supply chain;
(3)
In the structure of the product order, information about the product order, its specific content, and status, as well as the product distributor and product manufacturer numbers, are recorded;
(4)
In the structure of the logistics order, information about the logistics order, specific contents, status, the number of couriers handing it over during the logistics delivery, the handover time, and the numbers of product distributors, consumers, and logistics companies are recorded.

3.4. Registration Phase

During the registration phase, all participants (BP, PM, MS, PD, LP, DM, CO, and TP) are required to register in the Blockchain Centre when using the system for the first time. They follow the instructions on the registration page to register their information by their identity. Once registration is complete, if the information is verified to be correct, the selected role identifier will be sent to the blockchain center and the system will generate a specific public-private key pair for the user based on the registration information. It will also bind the user’s password and username to the public-private key pair, which will then be returned to the merchant or individual. Figure 4 uses “Roles X” to represent all arbitrary roles in the blockchain system, with a flow chart of the registration phase shown.
  • Step 1: Those involved in the system, in all roles ( R o l e s   X ) , each generate an I D X identity and then send their generated I D X through the application to a CA node in the blockchain center for registration and validation, to determine the legitimacy of their identity;
  • Step 2: The CA node at the center of the blockchain generates an ECDSA private key d X based on the roles in the system and calculates the public key Q X :
    Q X = d X G
    When the correct identities of all roles have been verified, the smart contract registration will be triggered, as shown in Algorithm 1;
  • Step 3: All roles in the system receive the signature message parameter ( I D X , d X , Q X ) and store it.
Algorithm 1. A scheme for chain code registration.
var X[]Roles X
func Registration (X_name string, X_detail string, var X_role RoleType) (idNumber string) {
  idNumber = GenerateUniqueID()
  X = append (X, Roles X{
  idNumber: product_idNumber,
  name: X_name,
  detail: X_detail,
  Role: X_role,
})
  return idNumber
}

3.5. Product Design and Development Phase

In the product design and development phase, the BP sends the drawings of the newly designed product to the PM, who produces the product according to the designed drawings and asks the MS for the raw materials of the product according to the type and content of the raw materials in the drawings. The main participants in this phase are the BP, the PM, and the MS, and the flow chart is shown in Figure 5 and Figure 6.
  • Step 1: When the BP designs a new product, it signs the design and the patent license and delivers it to the PM at time T 1 . The design includes product information and product material information. The BP chooses a random number k 1 and generates a message M B P _ D E S containing multiple product identifiers:
    M B P _ D E S = ( I D B P | | I D P M | | L i s t < p r o d u c t _ ID i > | | T 1 )
    The BP then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r B P 1 , s B P 1 ) . The “Sign” algorithm is shown in Algorithm 2:
    h B P 1 = H ( M B P _ D E S )
    ( r B P 1 , s B P 1 ) = S i g n ( h B P 1 , k 1 , d B P )
Algorithm 2. A scheme for a communication protocol.
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”
 }
}
The generated encrypted message is encrypted by the PM’s public key:
C B P 1 = E P u k P M ( M B P _ D E S )
The BP then executes the “BrandParty” function, which sends the ( I D B P , I D P M ,   C B P 1 , ( r B P 1 , s B P 1 ) ) information to the PM, as shown in Algorithm 3.
  • Step 2: When the PM receives a message from the BP at T 2 moment, it first decrypts the message using its private key:
    M B P _ D E S = D p r k P M ( C B C 1 )
    Secondly, the PM verifies the validity of the timestamp:
    C h e c k ( T 2 T 1 ) Δ T
    Once the validity of the time has been verified, the PM uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
    h B P 1 = H ( M B P _ D E S )
    V e r i f y ( h B P 1 , r B P 1 , s B P 1 )
    If the signature verification is valid, the PM signs the raw material type and content requirements for the product at time T 3 and delivers them to the MS. The PM chooses a number k 2 at random and also generates the product raw material requirement information M P M _ M S :
    M P M _ M S = ( I D P M | | I D M S | | T 3 )
    The PM then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r P M 1 , s P M 1 ) . The “Sign” algorithm is shown in Algorithm 2:
    h P M 1 = H ( M P M _ M S )
    ( r P M 1 , s P M 1 ) = S i g n ( h P M 1 , k 2 , d P M )
    The generated message is encrypted with the MS public key:
    C P M 1 = E P u k M S ( M P M _ M S )
    The PM then sends the ( I D P M , I D M S , C P M 1 , ( r P M 1 , s P M 1 ) ) information to the MS.
Algorithm 3. Chain code of the product design and development phase.
var LP []LuxuryProduct; count = 0;
func BrandParty (int num, P_Name string, P_kind string, ID_BP string, Date string, Product_INF string, Signature string) (Product_IDs []string){
for i:= 0; i < num; i++ {
  count = count + 1
  LP = append (LP, new LuxuryProduct{Product _idNumber = Generate_product_id()})
  Product_IDs = append(Product_IDs, TP[count]. Product_idNumber)
  }
for i:= 0; i < num; i++ {
  index:= SearchProduct_ID(Product_IDs[i]);
 LP[index].Product_name = P_Name
 LP[index].Product_kind = P_kind
 LP[index].Product_brand_idNumber = ID_BP
 LP[index].Product_information = append(LP[index].Product_information, Product _INF)
 LP[index].designDate = Date
 LP[index].BP_Signature = Signature
  }
}
func ProductManufacturer (Material string, ID_PM string, Product_INF string, price string, Product_IDs []string, Signature string) {
for i:= 0; i < Product_IDs.Length; i++ {
  index:= SearchProduct_ID(Product_IDs[i]);
 LP[index].Product_material = Material
 LP[index].Product_information = append(LP[index].Product_information, Product _INF)
 LP[index].Product_price = price
 LP[index].createDate = time.Now()
 LP[index].Product_manufacturer_idNumber = ID_PM
 LP[index].PM_Signature = Signature
  }
}
func MaterialSupplier (ID_MS string, Product_IDs []string, Signature string){
for i:= 0; i < Product_IDs.Length; i++ {
  index:= SearchProduct_ID(Product_IDs[i]);
 LP[index].Product_MS_idNumber = ID_MS
 LP[index].MS_Signature = Signature
  }
}
  • Step 3: When the MS receives a message from the PM at T 4 moment, it first decrypts the message using its private key:
    M P M _ M S = D p r k M S ( C P M 1 )
    Secondly, the PM verifies the validity of the timestamp:
    C h e c k ( T 4 T 3 ) Δ T
    Once the validity of the time has been verified, the PM uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
    h P M 1 = H ( M P M _ M S )
    V e r i f y ( h P M 1 , r P M 1 , s P M 1 )
    If the signature verification is valid, the MS executes the “Material Supplier” function at time T 5 . The algorithm of this function is shown in Algorithm 3, which provides the PM with the raw materials needed to produce the product according to the raw material requirements in the PM’s message, as well as the type, content, and source of the raw materials. The MS randomly selects a number k 3 and generates a message M M S :
    M M S = ( I D M S | | I D P M | | T 5 )
    The MS then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r M S 1 , s M S 1 ) . The “Sign” algorithm is shown in Algorithm 2:
    h M S 1 = H ( M M S )
    ( r M S 1 , s M S 1 ) = S i g n ( h M S 1 , k 3 , d M S )
    The generated message is encrypted by the PM’s public key:
    C M S 1 = E P u k P M ( M M S )
    The MS then sends the ( I D M S , I D P M , C M S 1 , ( r M S 1 , s M S 1 ) ) information to the PM.
  • Step 4: When the PM receives a message from the MS at T 6 moment, it first decrypts the message using its private key:
    M M S = D p r k P M ( C M S 1 )
    Secondly, the PM verifies the validity of the timestamp:
    C h e c k ( T 6 T 5 ) Δ T
    Once the validity of the time has been verified, the PM uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
    h M S 1 = H ( M M S )
    V e r i f y ( h M S 1 , r M S 1 , s M S 1 )
If the signature verification is valid, the PM executes the “ProductManufacturer” function, the algorithm of which is shown in Algorithm 3, updates the local ledger with the information, and produces a sample of the product.
With these four steps, the product design and development phase is completed and details such as the quantity of raw materials and the design concept of the product should be updated in the account library.

3.6. Product Evaluation and Approval Phase

In the product evaluation and approval phase, the PM tests the performance of the manufactured product and sends the results of the test to the BP, who decides whether to market the product or not based on the results of the performance test. The main players in this phase are the BP and the PM, as shown in Figure 7.
  • Step 1: For the product samples produced during the product design and development phase, the PM evaluates the product, finishes the evaluation at moment T 7 , and sends the test results to the BP with a signature. The PM randomly selects a number k 4 and generates the product evaluation result information M P M _ B P :
    M P M _ B P = ( I D P M | | I D B P | | T 7 )
    The PM then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r P M 2 , s P M 2 ) . The “Sign” algorithm is shown in Algorithm 2:
    h P M 2 = H ( M P M _ B P )
    ( r P M 2 , s P M 2 ) = S i g n ( h P M 2 , k 4 , d P M )
    The generated message is encrypted by the BP public key:
    C P M 2 = E P u k B P ( M P M _ B P )
    The PM then sends the ( I D P M , I D B P , C P M 2 , ( r P M 2 , s P M 2 ) ) information to the BP.
  • Step 2: When the BP receives a message from the PM at moment T 8 , it first decrypts the message using its private key:
    M P M _ B P = D p r k B P ( C P M 2 )
    Secondly, the BP verifies the validity of the timestamp:
    C h e c k ( T 8 T 7 ) Δ T
    Once the validity of the time has been verified, the BP uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
    h P M 2 = H ( M P M _ B P )
    V e r i f y ( h P M 2 , r P M 2 , s P M 2 )
    If the signature verification is valid, the BP looks at the test data of the product at moment T 9 . If it is satisfied with the test data of the product, it executes the “BrandParty_2” function, the algorithm of which is shown in Algorithm 4, signs the production license of the product, and gives it to the PM. The BP selects a random number k 5 and generates the product license information M B P _ P M :
    M B P _ P M = ( I D M S | | I D P M | | T 9 )
    The BP then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r B P 2 , s B P 2 ) . The “Sign” algorithm is shown in Algorithm 2:
    h B P 2 = H ( M B P _ P M )
    ( r B P 2 , s B P 2 ) = S i g n ( h B P 2 , k 5 , d B P )
    The generated encrypted message is encrypted by the PM’s public key:
    C B P 2 = E P u k P M ( M B P _ P M )
    The BP then sends the ( I D B P , I D P M , C B P 2 , ( r B P 2 , s B P 2 ) ) information to the PM.
  • Step 3: When the PM receives a message from the BP at moment T 10 , it first decrypts the message using its private key:
    M B P _ P M = D p r k P M ( C B P 2 )
    Secondly, the PM verifies the validity of the timestamp:
    C h e c k ( T 10 T 9 ) Δ T
    Once the validity of the time has been verified, the PM uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
    h B P 2 = H ( M B P _ P M )
    V e r i f y ( h B P 2 , r B P 2 , s B P 2 )
    If the signature verification is valid, the PM executes the “ProductManufacturer_2” function, the algorithm for which is shown in Algorithm 4, and updates the local ledger with the information.
With these three steps, the product evaluation and approval phase is complete.
Algorithm 4. Chain code of the product evaluation and approval phase.
func BrandParty_2 (ID_BP string, Product_INF string, Product_IDs []string, Signature string) {
for i:= 0; i < Product_IDs.Length; i++ {
  index:= SearchProduct_ID(Product_IDs[i]);
 LP[index].Product_brand_idNumber = ID_BP
 LP[index].Product_information = append(LP[index].Product_information, Product _INF)
 LP[index].BP_Signature = Signature
  }
}
func ProductManufacturer_2 (result string, ID_PM string, Product_INF string, Product_IDs []string, Signature string) {
for i:= 0; i < Product_IDs.Length; i++ {
  index:= SearchProduct_ID(Product_IDs[i]);
 LP[index].testResult = result
 LP[index].Product_information = append(LP[index].Product_information, Product _INF)
 LP[index].Product_manufacturer_idNumber = ID_PM
 LP[index].PM_Signature = Signature
  }
}

3.7. Product Ordering and Production Phase

In the product ordering and production stage, the PD needs to send the ordering information to the BP. After the BP receives the ordering information, if it agrees to the PD’s order, it sends the product order to the PM for production. During the PM’s production, it needs an MS to provide information on the raw material of the product and the source of the raw material. Then, the production is completed and sent to the PD. The main players in this phase are the BP, PM, MS, PD, and CO, as shown in the flowchart in Figure 8, Figure 9 and Figure 10:
  • Step 1: When a PD wants to order a product, it submits an order request to the brand at moment T 11 and generates an order for the product, executing the “Distributor” function, the algorithm of which is shown in Algorithm 5. This function signs the order contents and sends those to the BP. The PD selects a random number k 6 and generates the product order information M P D _ B P :
    M P D _ B P = ( I D P D | | I D B P | | L i s t < o r d e r _ ID i > | | T 11 )
    The PD then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r P D 1 , s P D 1 ) . The “Sign” algorithm is shown in Algorithm 2:
    h P D 1 = H ( M P D _ B P )
    ( r P D 1 , s P D 1 ) = S i g n ( h P D 1 , k 6 , d P D )
    The generated encrypted message is encrypted by the BP public key:
    C P D 1 = E P u k B P ( M P D _ B P )
    The PD then sends the ( I D P D , I D B P , C P D 1 , ( r P D 1 , s P D 1 ) ) information to the BP.
  • Step 2: When a BP receives a message from a PD at a moment T 12 , it first decrypts the message using its private key:
    M P D _ B P = D p r k B P ( C P D 1 )
    Secondly, the BP verifies the validity of the timestamp:
    C h e c k ( T 12 T 11 ) Δ T
Algorithm 5. Chain code of the product production and sales phase.
var PO []ProductOrder
func Distributor (ID_PD string, ID_BP string, kind string, Order_INF string, Order_IDs []string, state string) {
for i:= 0; i < Order_IDs.Length; i++ {
  index:= SearchOrder_ID(Order_IDs[i]);
 PO[index].Order_PD_idNumber = ID_PD
 PO[index]. Order_kind = kind
 PO[index].Order_brand_idNumber = ID_BP
 PO[index].Order_information = Order_INF
 PO[index].Order_createDate = time.Now()
 PO[index].Order_state = state
  }
}
func ProductManufacture_order (ID_PM string, Order_IDs []string, state string) {
for i:= 0; i < Order_IDs.Length; i++ {
  index:= SearchOrder_ID(Order_IDs[i]);
 PO[index].Order_PM_idNumber = ID_PM
 PO[index].Order_state = state
  }
}
Once the validity of the time has been verified, the brand uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
h P D 1 = H ( M P D _ B P )
V e r i f y ( h P D 1 , r P D 1 , s P D 1 )
If the signature verification is valid, the BP executes the “BrandParty” function at moment T 13 ; the algorithm of this function is shown in Algorithm 3. Then, the product order information is signed and sent to the PM, who chooses a random number k 7 and generates the product order information M B P _ O r d e r .
M B P _ O r d e r = ( I D B P | | I D P D | | L i s t < p r o d u c t _ ID i > | | T 13 )
The BP then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r B P 3 , s B P 3 ) . The “Sign” algorithm is shown in Algorithm 2:
h B P 3 = H ( M B P _ O r d e r )
( r B P 3 , s B P 3 ) = S i g n ( h B P 3 , k 7 , d B P )
The generated message is encrypted by the PM’s public key:
C B P 3 = E P u k P M ( M B P _ O r d e r )
The BP then sends the ( I D B P , I D P M , C B P 3 , ( r B P 3 , s B P 3 ) ) information to the PM.
  • Step 3: When the PM receives a message from the BP at moment T 14 , it first decrypts the message using its private key:
    M B P _ O r d e r = D p r k P M ( C B P 3 )
    Secondly, the PM verifies the validity of the timestamp:
    C h e c k ( T 14 T 13 ) Δ T
    Once the validity of the time has been verified, the PM uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
    h B P 3 = H ( M B P _ O r d e r )
    V e r i f y ( h B P 3 , r B P 3 , s B P 3 )
    If the signature verification is valid, the PM signs the product material type and content requirements at moment T 15 and delivers them to the MS. The PM chooses a random number k 8 and generates the product raw material requirement information M P M _ M S :
    M P M _ M S = ( I D P M | | I D M S | | T 15 )
    The PM then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r P M 1 , s P M 1 ) . The “Sign” algorithm is shown in Algorithm 2:
    h P M 1 = H ( M P M _ M S )
    ( r P M 1 , s P M 1 ) = S i g n ( h P M 1 , k 2 , d P M )
    The generated message is encrypted by the MS’s public key:
    C P M 1 = E P u k M S ( M P M _ M S )
    The PM then sends the ( I D P M , I D M S , C P M 1 , ( r P M 1 , s P M 1 ) ) information to the MS.
  • Step 4: When the MS receives a message from the BP at a moment T 16 , it first decrypts the message using its private key:
    M P M _ M S = D p r k M S ( C P M 1 )
    Secondly, the MS verifies the validity of the timestamp:
    C h e c k ( T 16 T 15 ) Δ T
    Once the validity of the time has been verified, the MS uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
    h P M 1 = H ( M P M _ M S )
    V e r i f y ( h P M 1 , r P M 1 , s P M 1 )
    If the signature verification is valid, the MS executes the “Material Supplier” function at moment T 17 . The algorithm of this function is shown in Algorithm 3 and provides the PM with the raw materials needed to produce the product according to the raw material requirements in its message, as well as the type, content, and source of the raw materials. The information is signed and given to the PM. The MS selects a random number k 9 and generates a message M M S :
    M M S = ( I D M S | | I D P M | | T 17 )
    The MS then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r M S 1 , s M S 1 ) . The “Sign” algorithm is shown in Algorithm 2:
    h M S 1 = H ( M M S )
    ( r M S 1 , s M S 1 ) = S i g n ( h M S 1 , k 9 , d M S )
    The generated message is encrypted by the PM’s public key:
    C M S 1 = E P u k P M ( M M S )
    The MS then sends the ( I D M S , I D P M , C M S 1 , ( r M S 1 , s M S 1 ) ) information to the PM.
  • Step 5: When the PM receives a message from the MS at moment T 18 , it first decrypts the message using its private key:
    M M S = D p r k P M ( C M S 1 )
    Secondly, the PM verifies the validity of the timestamp:
    C h e c k ( T 18 T 17 ) Δ T
    Once the validity of the time has been verified, the MS uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
    h M S 1 = H ( M M S )
    V e r i f y ( h M S 1 , r M S 1 , s M S 1 )
    If the signature verification is valid, the product ordered by the PD is manufactured, tested, and evaluated, then the “ProductManufacturer”, “ProductManufacturer_2”, and “ProductManufacturer_order” functions are executed with Algorithms 3, 4, and 5, respectively, and the local book is updated with the information to ship the product to the PD.

3.8. Product Purchase and Logistics Distribution Phase

In the product purchase and logistics delivery phase, when the CO has purchased the product, the PD will send the information related to the logistics order to the LP. The LP receives the relevant information to generate the logistics order, and the logistics information will be sent to the DM for delivery. The DM delivery may be updated with other DM information and product confirmations, or with the signatory for logistics information updates and confirmation of the product. The main participants in this phase are the PD, LP, DM, and CO; a flowchart for the phase is shown in Figure 11, Figure 12, Figure 13 and Figure 14.
  • Step 1: When a CO wants to buy a product, they request that the PD buy it. The PD executes the “Distributor_sell” function, the algorithm of which is shown in Algorithm 6, and sends the PD UID, CO UID, and order type to the LP at moment T 19 . The PD randomly selects a number k 10 and generates the information related to the logistics order M P D _ LP :
    M P D _ LP = ( I D P D | | I D LP | | L i s t < product _ ID i > | | T 19 )
    The PD then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r P D 2 , s P D 2 ) . The “Sign” algorithm is shown in Algorithm 2:
    h P D 2 = H ( M P D _ LP )
    ( r P D 2 , s P D 2 ) = S i g n ( h P D 2 , k 10 , d P D )
    The generated message is encrypted by the LP’s public key:
    C P D 2 = E P u k L P ( M P D _ L P )
    The PD then sends the ( I D P D , I D B P , C P D 2 , ( r P D 2 , s P D 2 ) ) information to the LP.
  • Step 2: When an LP receives a message from a PD at a moment T 20 , it first decrypts the message using its private key:
    M P D _ L P = D p r k L P ( C P D 2 )
    Secondly, the LP verifies the validity of the timestamp:
    C h e c k ( T 20 T 19 ) Δ T
    Once the validity of the time has been verified, the LP uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
    h P D 2 = H ( M P D _ L P )
    V e r i f y ( h P D 2 , r P D 2 , s P D 2 )
    If the signature verification is valid, the LP generates the corresponding logistics order for each product at moment T 21 and executes the “Logistics_Distributor” function, the algorithm of which is shown in Algorithm 6. At moment T 21 , the logistics order is assigned to the DM, while the LP randomly selects a random number k 11 and generates the logistics order UID information M LP_DM :
    M L P _ D M = ( I D L P | | I D D M | | L i s t < l ogistics _ ID i > | | T 21 )
Algorithm 6. Chain code of the product purchase and logistics distribution phase.
func Distributor_sell (ID_CO string, ID_PD string, Product_INF string, Product_IDs []string, Signature string) {
for i:= 0; i < Product_IDs.Length; i++ {
  index:= SearchProduct _ID(Product_IDs[i]);
 LP[index].Product_consumer_idNumber = ID_CO
 LP[index].Product_distributor_idNumber = ID_PD
 LP[index].Product_information = Product_INF
 LP[index].PD_Signature = Signature
  }
}
var LO []LogisticsOrder
func Logistics_Distributor (ID_PD string, ID_CO string, ID_P []string, kind string, Product_IDs []string, state string, Signature string) {
for i:= 0; i < Product_IDs.Length; i++ {
  LO[i].Logistics_idNumber = Generate_Logistics_id()
 LO[i].Logistics_distributor_idNumber = ID_PD
 LO[i].Logistics_company_idNumber = ID_LP
 LO[i].Logistics_consumer_idNumber = ID_CO
 LO[i].Logistics_product_idNumber = Product_IDs [i]
 LO[i].Logistics_kind = kind
 LO[i].Logistics_createDate = time.Now()
 LO[i].Logistics_state = state
  }
for i:= 0; i < Product_IDs.Length; i++ {
  index_P:= SearchProduct_ID(Product_IDs[i]);
  index_L:= SearchLogistics_ID(Product_IDs[i]);
 LP[index_P].Product_courier_idNumber = LO[index_L].Logistics_idNumber
 LP[index_P].LP_Signature = Signature
  }
}
The LP then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r L P 1 , s L P 1 ) . The “Sign” algorithm is shown in Algorithm 2:
h L P 1 = H ( M L P _ D M )
( r L P 1 , s L P 1 ) = S i g n ( h L P 1 , k 11 , d L P )
The generated message is encrypted by the DM’s public key:
C L P 1 = E P u k D M ( M L P _ D M )
The LP then sends the ( I D L P , I D D M , C L P 1 , ( r L P 1 , s L P 1 ) ) information to the DM.
  • Step 3: When a DM receives a message from an LP at moment T 22 , it first decrypts the message using its private key:
    M L P _ D M = D p r k D M ( C L P 1 )
    Secondly, the DM verifies the validity of the timestamp:
    C h e c k ( T 22 T 21 ) Δ T
    Once the validity of the time has been verified, the DM uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
    h L P 1 = H ( M L P _ D M )
    V e r i f y ( h L P 1 , r L P 1 , s L P 1 )
    If the signature verification is valid, the DM executes the “Deliveryman_DM” function, the algorithm of which is shown in Algorithm 7. The product is then delivered.
Algorithm 7. Chain code of the product purchase and logistics distribution phase.
DM_Num = 0
func Deliveryman_DM(ID_DM_1 string, ID_DM_2 string, Location string, Logistics_IDs []string, state string, Signature string) {
for i:= 0; i < Logistics_IDs.Length; i++ {
  index_L:= SearchLogistics_ID(Logistics_IDs[i]);
  index_P:= SearchLogistics_Product_ID(Logistics_IDs[i])
 LO[index_L].Logistics_inf[DM_Num].Shipper_idNumber = ID_DM_1
 LO[index_L].Logistics_inf[DM_Num].Recipient_idNumber = ID_DM_2
 LO[index_L].Logistics_inf[DM_Num].Recipient_Location = Location
 LO[index_L].Logistics_inf[DM_Num].Recipient_time = time.Now()
 LO[index_L].Logistics_state = state
 LP[index_P].DM_Signature[DM_num] = Signature
  }
  DM_Num += 1
}
func Receiver (ID_DM string,ID_CO string, Location string, Logistics_ID string, state string, Signature string) {
  index_L:= SearchLogistics_ID(Logistics_ID);
  index_P:= SearchLogistics_Product_ID(Logistics_IDs[i])
 LO[index_L].Logistics_inf[DM_Num].Shipper_idNumber = ID_DM
 LO[index_L].Logistics_inf[DM_Num].Recipient_idNumber = ID_CO
 LO[index_L].Logistics_inf[DM_Num].Recipient_Location = Location
 LO[index_L].Logistics_inf[DM_Num].Recipient_time = time.Now()
 LO[index_L].Logistics_finishDate = time.Now()
  LO[index_L].Logistics_state = state
 LP[index_P].CO_Signature = Signature
}
  • Step 4: The distribution handover process of the products takes one of two kinds:
    (a)
    When DM A delivers the product to DM B at moment T 23 .
    • Step 1: DM_A randomly selects a number k 12 and generates the information related to the logistics order M DM_DM :
      M D M _ D M = ( I D D M _ 1 | | I D D M _ 2 | | L i s t < logistics _ ID i > | | T 23 )
      DM_A then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r D M 1 , s D M 1 ) . The “Sign” algorithm is shown in Algorithm 2:
      h D M 1 = H ( M D M _ D M )
      ( r D M 1 , s D M 1 ) = S i g n ( h D M 1 , k 12 , d D M _ A )
      The generated message is encrypted by DM_B’s public key:
      C D M 1 = E P u k D M _ B ( M D M _ D M )
      DM_A then sends the ( I D D M _ A , I D D M _ B , C D M 1 , ( r D M 1 , s D M 1 ) ) information to DM_B.
    • Step 2: When DM_B receives a message from DM_A at a moment T 24 , it first decrypts the message using its private key:
      M D M _ D M = D p r k D M _ B ( C D M 1 )
      Secondly, DM_B verifies the validity of the timestamp:
      C h e c k ( T 24 T 23 ) Δ T
      Once the validity of the time has been verified, DM_B uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
      h D M 1 = H ( M D M _ D M )
      V e r i f y ( h D M 1 , r D M 1 , s D M 1 )
      If the signature verification is valid, DM_B executes the “Deliveryman_DM” function using Algorithm 7 and proceeds with the delivery of the product.
    (b)
    When the DM hands over the product he has delivered to the CO at moment T 25 .
    • Step 1: The DM randomly selects a number k 13 and generates the information related to the logistics order M DM _ CO :
      M DM_CO = ( I D D M | | I D C O | | logistics _ ID i | | T 25 )
      The DM then calculates the message hash and executes the “Sign” algorithm to generate the signature ( r D M 2 , s D M 2 ) . The “Sign” algorithm is shown in Algorithm 2:
      h D M 2 = H ( M D M _ C O )
      ( r D M 2 , s D M 2 ) = S i g n ( h D M 2 , k 13 , d D M )
      The generated message is encrypted by the CO public key:
      C D M 2 = E P u k C O ( M D M _ C O )
      The DM then sends the ( I D D M , I D C O , C D M 2 , ( r D M 2 , s D M 2 ) ) information to the CO.
    • Step 2: When a CO receives a message from a DM at moment T 26 , it first decrypts the message using its private key:
      M D M _ C O = D p r k C O ( C D M 2 )
      Secondly, the CO verifies the validity of the timestamp:
      C h e c k ( T 26 T 25 ) Δ T
      Once the validity of the time has been verified, the CO uses the “Verify” function in Algorithm 2 to calculate a hash value to verify the message:
      h D M 2 = H ( M D M _ C O )
      V e r i f y ( h D M 2 , r D M 2 , s D M 2 )
      If the signature verification is valid, the CO executes the “Receiver” function, the algorithm of which is shown in Algorithm 7, and updates the local ledger with the information to complete the product purchase and logistic distribution phase.

4. Analysis

In this study, we have carried out system characterization and also important security analysis to propose solutions to the problems of system vulnerabilities and system attacks.

4.1. Dispersive and Transparent

In this system, we have built a Hyperledger Fabric-based blockchain network. The roles in the system correspond to organizations and peer nodes in the consortium chain. These organizations and peer nodes must first register with the blockchain center and be approved by a certification authority before they can join the blockchain network and the corresponding channels. Where peer nodes within the same organization can trust each other, trust between different organizations is achieved by the certification of the Certificate Authority. Entities can join the same channel to share open and transparent information, as well as be able to segregate information through the channel. With this model, we have created a decentralized, transparent system where multiple organizations may trust one another.

4.2. Unforgeable, Traceable Data

First, we analyze the system’s forgery prevention and traceability. In this system, we use Hyperledger Fabric-based blockchain technology, which raises the difficulty of forging the data stored in the blockchain compared to traditional database systems. At each stage of the system design, all participants must update the relevant data to the blockchain center via a chaincode. When a participant calls a function in the chaincode, the Hyperledger Fabric mechanism presents it to all peer nodes in the chain, and when the transaction is verified, each peer node signs and responds to the transaction. Afterward, the ledger of each peer node will be updated by sorting nodes. The above mechanism ensures that the data at the center of the blockchain cannot be falsified since the transactions and records stored in the ledger of all peer nodes in the blockchain are duplicated and the information in the ledger can only be updated through pre-written chain codes. In addition, each transaction record on the blockchain is stored as a “chain” in the ledger of each peer node; these records can be traced through the ledger to achieve the goal of traceability.

4.3. Data Integrity

Secondly, we analyze the integrity of the data. In this system, the ECDSA signature algorithm is used to ensure the integrity of messages passed between roles. When a role needs to transmit data to another role, a calculation must be performed on the data to be transmitted. A hash value is calculated, a set of signatures is generated, and the hash value is transmitted to the recipient along with the signature and the message. Once the receiver receives the message, they need to verify the validity of the message in terms of the hash and signature by using the “Verify” function in Algorithm 2.
For example, in the product design and development phase, the sender BP sends the message M B P _ D E S to the receiver PM. The BP needs to generate h B P 1 . The “Sign” function in Algorithm 2 is used to calculate ( r B P 1 , s B P 1 ) . The BP then sends the message M B P _ D E S with a signature ( r B P 1 , s B P 1 ) to the PM, who receives the message and decrypts it, generating h B P 1 based on the message M B P _ D E S . The “Verify” function in Algorithm 2 is used to verify the hash h B P 1 with the signature ( r B P 1 , s B P 1 ) . Table 3 shows all the details of each phase.

4.4. Non-Repudiation

Next, we analyze the non-repudiation of the message. We use the ECDSA signature algorithm to ensure that the message comes from the correct sender. The sender needs to generate a signature based on the message before sending it, and the receiver verifies the signature by using the “Verify” function in Algorithm 2 after receiving the message. For example, in the product design and development phase, the sender uses the ECDSA “Sign” function in Algorithm 2 to generate a signature ( r B P 1 , s B P 1 ) for a random number k 1 , a hash value h B P 1 , and an ECDSA parameter d B P , which is sent to the receiver. After receiving the message, the receiver calculates a hash value h B P 1 for the message and then verifies the h B P 1 and ( r B P 1 , s B P 1 ) signatures using the “Verify” function in Algorithm 2, which proves that the message has not been tampered with if it is correct. Table 4 lists all the signatures and verifications for each phase.

4.5. Man-in-the-Middle Attack

For a man-in-the-middle attack, the system uses asymmetric encryption for defense. When the sender sends a message to the receiver, the message must be encrypted using the receiver’s public key. When the receiver receives the message, they decrypt it with their private key to obtain the message to be transmitted. In our system, both communicating parties have access to each other’s public keys in the blockchain network, meaning they do not need to send their public keys to each other. This prevents an attacker from intercepting the message and replacing the public key. So, even though an attacker may intercept the message, they do not know the receiver’s private key, so they cannot decrypt the message. Table 5 lists all the asymmetric encryptions and decryptions at each phase.

4.6. Replay Attack

During communication between two parties, a message may be captured by an attacker, who then pretends to be a legitimate sender and sends the same message to the recipient several times over. For this attack case, this system uses a mechanism of adding a timestamp between the two communicating parties for defense. The receiver needs to calculate the difference in the timestamp after receiving the message, and if the difference exceeds a threshold value, it means that a replay attack has been launched. Table 6 lists all the timestamp verifications in each phase.

5. Discussion

We tested the blockchain service’s performance through experimental simulations. The experimental simulations of the described scenario are shown in Table 7.

5.1. Throughput and Latency of Smart Contract Calling

Caliper is a blockchain performance-testing framework that allows users to test different blockchain solutions using customer use cases to obtain a set of performance test results. In this scenario, we used Caliper to test the performance of the chaincode in four phases, and the results are shown in Table 8.
We used the throughput and transaction latency as the key performance metrics in our benchmarking. Throughput is the rate at which transactions are committed to the ledger, measured in terms of the number of transactions executed per second (tps). Latency is the time it takes from the time the application sends a transaction proposal to the time the transaction is committed to the ledger. As can be seen in Table 8, the phases not only have a high success rate but also maintain an average latency of around 4 s, with a throughput rate of 95 TPS for each phase for the same transactions.

5.2. Resource Utilization

In Caliper, we also tested the utilization of the system. In the simulation experiments during the product design and development phase, we set up two organization nodes, each of which consisted of a peer node. At the same time, we set the order node. The resource utilization for the product design and development phase is shown in Table 9.

5.3. Computation Cost

In this section, we analyze the computational costs for each role in each phase of the study. We use asymmetric encryption/decryption, the ECDSA signature and verification functions, hashing operations, symmetric encryption operations, and multiplication and division operations as the basis for calculating the costs. The costs for each stage are shown in Table 10.

5.4. Communication Costs

In this section, we analyze the communication costs for each phase of the proposed scheme. For example, in the product design and development phase, the BP, PM, and MS communication data volume constitutes six ID messages, three asymmetric encryptions, and three signature messages. The communication cost for each phase is shown in Table 11.

5.5. Function Comparison

In this section, we compare some of the systems mentioned in the Related Work section regarding product anti-counterfeiting, as shown in Table 12.

6. Conclusions

To combat the proliferation of counterfeit luxury products, protect the rights of consumers, and maintain the huge consumer market for luxury products, we propose a blockchain-based anti-counterfeiting management system for traceable luxury products. A consortium blockchain is built through Hyperledger Fabric to deploy and execute smart contracts. The information related to the production of raw materials, producers, consumers, product flow, and logistics of luxury products will all be uploaded to the chain. Combined with the centralized, tamper-evidencing, and traceable features of the blockchain, the system can achieve decentralized storage of data, thus ensuring that it does not rely on other regulatory bodies and hardware facilities to store the information on the chain. Its lack of such a need makes it a complete, traceable, and credible record. The system also makes use of the characteristics of smart contracts to strictly enforce the pre-agreed rules without human intervention, and can transparently disclose the current logistics flow of products in real-time according to the execution of smart contracts. To build a more secure system, we applied ECDSA to the communication protocol and analyzed the security of the system in terms of data integrity and evidence of tampering, distributed and member access, information transparency, and traceability. In addition, we demonstrated that the protocol is resistant to man-in-the-middle and replay attacks. The proposed scheme was then discussed in terms of both computational cost and communication cost and compared with other schemes. In summary, we made the following contributions:
(1).
Anti-counterfeit traceability management of luxury products using Hyperledger Fabric technology;
(2).
ECDSA signature algorithm used to ensure data integrity;
(3).
Smart contracts designed in the process of ordering, production, sales, and logistics of luxury products, and relevant information updated in real-time;
(4).
Calculation and communication cost analysis;
(5).
Consumer or third-party verification of information about the product through the blockchain.

Author Contributions

Conceptualization, C.-L.C. and L.-H.G.; methodology, C.-L.C., L.-H.G. and M.Z.; validation, W.Z., W.-J.T., H.S., C.-T.L. and Y.-Y.D.; investigation, C.-L.C. and L.-H.G.; data analysis, W.Z., W.-J.T., Y.-Y.D. and H.S.; writing—original draft preparation, C.-L.C. and L.-H.G.; writing—review and editing, W.-J.T., Y.-Y.D., C.-T.L. and H.S.; supervision, C.-L.C. and M.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the Ministry of Science and Technology in Taiwan (nos. MOST 111-2218-E-305-001-MBK and MOST 110-2410-H-324-004-MY2), the Science and Technology Project of Jilin Provincial Department of Education (JJKH20210457KJ), the Jilin Province Science and Technology Development Plan Project (20220508038RC), the Undergraduate Training Programs for Innovation and Entrepreneurship Project of Jilin Province (J202210203JSJ02), the CERNET Innovation Project (NGII20180315), and the National Natural Science Foundation for Young Scientists of China (grant no. 51808474).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

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

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wang, Y.; Lin, J.; Choi, T.-M. Gray market and counterfeiting in supply chains: A review of the operations literature and implications to luxury industries. Transp. Res. Part E Logist. Transp. Rev. 2020, 133, 101823. [Google Scholar] [CrossRef]
  2. Dan, A.I.; Ran, W.X.; Hu, D.; Xu, X.; Pan, S.E. Study on Optimization of Anti-counterfeiting Process of Luxury Goods Based on EPC IOT. Logist. Technol. 2012, 31, 4. [Google Scholar]
  3. 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. [Google Scholar] [CrossRef]
  4. Deepa, N.; Pham, Q.-V.; Nguyen, D.C.; Bhattacharya, S.; Prabadevi, B.; Gadekallu, T.R.; Maddikunta, P.K.R.; Fang, F.; Pathirana, P.N. A survey on blockchain for big data: Approaches, opportunities, and future directions. Futur. Gener. Comput. Syst. 2022, 131, 209–226. [Google Scholar] [CrossRef]
  5. Stamatellis, C.; Papadopoulos, P.; Pitropakis, N.; Katsikas, S.; Buchanan, W.J. A Privacy-Preserving Healthcare Framework Using Hyperledger Fabric. Sensors 2020, 20, 6587. [Google Scholar] [CrossRef]
  6. Chen, C.-L.; Wang, T.; Tsaur, W.-J.; Weng, W.; Deng, Y.-Y.; Cui, J. Based on Consortium Blockchain to Design a Credit Verifiable Cross University Course Learning System. Secur. Commun. Netw. 2021, 2021, 8241801. [Google Scholar] [CrossRef]
  7. Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System. Available online: https://bitcoin.org/bitcoin.pdf (accessed on 23 September 2022).
  8. Hyperledger Fabric. Available online: https://wiki.hyperledger.org/display/Fabric (accessed on 1 June 2021).
  9. Qi, M.; Chen, J.; Chen, Y. A secure biometrics-based authentication key exchange protocol for multi-server TMIS using ECC. Comput. Methods Programs Biomed. 2018, 164, 101–109. [Google Scholar] [CrossRef] [PubMed]
  10. Puthal, D.; Ranjan, R.; Nanda, A.; Nanda, P.; Jayaraman, P.; Zomaya, A.Y. Secure authentication and load balancing of distributed edge datacenters. J. Parallel Distrib. Comput. 2019, 124, 60–69. [Google Scholar] [CrossRef]
  11. Mohit, P.; Amin, R.; Biswas, G. Design of authentication protocol for wireless sensor network-based smart vehicular system. Veh. Commun. 2017, 9, 64–71. [Google Scholar] [CrossRef]
  12. Wazid, M.; Das, A.K.; Kumari, S.; Li, X.; Wu, F. Design of an efficient and provably secure anonymity preserving three-factor user authentication and key agreement scheme for TMIS. Secur. Commun. Netw. 2016, 9, 1983–2001. [Google Scholar] [CrossRef] [Green Version]
  13. Moon, A.H.; Iqbal, U.; Bhat, G.M. Implementation of Node Authentication for WSN Using Hash Chains. Procedia Comput. Sci. 2016, 89, 90–98. [Google Scholar] [CrossRef]
  14. Internet Says, The Advantages and Disadvantages of RFID The Advantages of Electronic Tag Technology. Available online: https://www.maigoo.com/goomai/153745.html (accessed on 3 May 2022).
  15. Hochholdinger, S.; Arnoux, M.; Delémont, O.; Esseiva, P. Forensic intelligence on illicit markets: The example of watch counterfeiting. Forensic Sci. Int. 2019, 302, 109868. [Google Scholar] [CrossRef] [Green Version]
  16. Pérez, J.B.; Queiruga-Dios, A.; Martínez, V.G.; Del Rey, M. Traceability of Ready-to-Wear Clothing through Blockchain Technology. Sustainability 2020, 12, 7491. [Google Scholar] [CrossRef]
  17. Agrawal, T.K.; Kumar, V.; Pal, R.; Wang, L.; Chen, Y. Blockchain-based framework for supply chain traceability: A case example of textile and clothing industry. Comput. Ind. Eng. 2021, 154, 107130. [Google Scholar] [CrossRef]
  18. Han, W.; Zhu, Z. An ID-based mutual authentication with key agreement protocol for multiserver environment on elliptic curve cryptosystem. Int. J. Commun. Syst. 2014, 27, 1173–1185. [Google Scholar] [CrossRef]
  19. Chang, S.E.; Chen, Y.-C.; Lu, M.-F. Supply chain re-engineering using blockchain technology: A case of smart contract based tracking process. Technol. Forecast. Soc. Chang. 2019, 144, 1–11. [Google Scholar] [CrossRef]
  20. Crosby, M.; Pattanayak, P.; Verma, S.; Kalyanaraman, V. Blockchain technology: Beyond bitcoin. Appl. Innov. 2016, 2, 71. [Google Scholar]
  21. Chen, C.L.; Deng, Y.Y.; Li, C.T.; Zhu, S.; Chiu, Y.J.; Chen, P.Z. An IoT-based traceable drug anti-counterfeiting management system. IEEE Access 2020, 8, 224532–224548. [Google Scholar] [CrossRef]
  22. Schmidt, C.G.; Wagner, S.M. Blockchain and supply chain relations: A transaction cost theory perspective. J. Purch. Supply Manag. 2019, 25, 100552. [Google Scholar] [CrossRef]
  23. Androulaki, E.; Cachin, C.; De Caro, A.; Sorniotti, A.; Vukolic, M. Permissioned blockchains and hyperledger fabric. Ercim News 2017, 110, 9–10. [Google Scholar]
  24. Androulaki, E.; Barger, A.; Bortnikov, V.; Cachin, C.; Christidis, K.; De Caro, A.; Enyeart, D.; Ferris, C.; Laventman, G.; Manevich, G.; et al. Hyperledger fabric: A distributed operating system for permissioned blockchains. In Proceedings of the 13th EuroSys Conference, Porto, Portugal, 23–26 April 2018; ACM: New York, NY, USA, 2018; pp. 1–15. [Google Scholar]
  25. Nasir, Q.; Qasse, I.A.; Abu Talib, M.; Nassif, A.B. Performance Analysis of Hyperledger Fabric Platforms. Secur. Commun. Netw. 2018, 2018, 3976093. [Google Scholar] [CrossRef]
  26. A Blockchain Platform for the Enterprise-Hyperledger Fabric. Available online: https://hyperledger-fabric.readthedocs.io/en/release-2.2 (accessed on 23 September 2022).
Figure 1. System architecture diagram.
Figure 1. System architecture diagram.
Sustainability 14 12814 g001
Figure 2. Structure of the smart contract in the proposed scheme.
Figure 2. Structure of the smart contract in the proposed scheme.
Sustainability 14 12814 g002
Figure 3. Structure and enumeration of the roles of those participating in the supply chain.
Figure 3. Structure and enumeration of the roles of those participating in the supply chain.
Sustainability 14 12814 g003
Figure 4. Registration stage flow chart.
Figure 4. Registration stage flow chart.
Sustainability 14 12814 g004
Figure 5. Product design and development phase (1).
Figure 5. Product design and development phase (1).
Sustainability 14 12814 g005
Figure 6. Product design and development phase (2).
Figure 6. Product design and development phase (2).
Sustainability 14 12814 g006
Figure 7. Product evaluation and approval phase.
Figure 7. Product evaluation and approval phase.
Sustainability 14 12814 g007
Figure 8. Product production and sales phase (1).
Figure 8. Product production and sales phase (1).
Sustainability 14 12814 g008
Figure 9. Product production and sales phase (2).
Figure 9. Product production and sales phase (2).
Sustainability 14 12814 g009
Figure 10. Product production and sales phase (3).
Figure 10. Product production and sales phase (3).
Sustainability 14 12814 g010
Figure 11. Product purchase and logistics distribution phase (1).
Figure 11. Product purchase and logistics distribution phase (1).
Sustainability 14 12814 g011
Figure 12. Product purchase and logistics distribution phase (2).
Figure 12. Product purchase and logistics distribution phase (2).
Sustainability 14 12814 g012
Figure 13. Product purchase and logistics distribution phase (3).
Figure 13. Product purchase and logistics distribution phase (3).
Sustainability 14 12814 g013
Figure 14. Product purchase and logistics distribution phase (4).
Figure 14. Product purchase and logistics distribution phase (4).
Sustainability 14 12814 g014
Table 1. Comparison with existing anti-counterfeiting traceability methods.
Table 1. Comparison with existing anti-counterfeiting traceability methods.
AuthorsYearObjectiveTechnologiesMeritsDemerits
Dan et al. [2]2012Proposed a luxury anti-counterfeiting system architecture and hierarchy based on the EPC Internet of Things (IoT)EPC and IoTProposed a system architecture that can meet the demand for luxury anti-counterfeitingEncryption and decryption methods are not specific enough and need to be improved
Hochholdinger et al. [15]2019Marks or traces, from a forensic intelligence perspective, can achieve a watch anti-counterfeiting effectLink Analysis and Chemical and Physical ProfilingRevealed the links between watches that were unknown or uncertain and demonstrated the interconnection of all watches on a chemical and physical level Specialized personnel are required to conduct the identification operation, and the marks produced are sporadic and unstable
Perez et al. [16]2020Introduced the latest traceability program and recommended a framework for garmentsBlockchain and Hash FunctionsEnsures the authenticity, reliability, and integrity of clothing while ensuring the transparency of the supply chainThe specific process for garment production was not presented
Kumar et al. [17]2021Investigated and proposed a blockchain-based traceability framework for traceability in a multi-tier T&C supply chainBlockchain and Smart ContractA framework combining the blockchain and supply chain was proposedThe specific flow of data was not reflected
Table 2. Notations.
Table 2. Notations.
SymbolDescription
ID i User identification
p r o d u c t _ ID i Identification of the i-th product of the BP
o r d e r _ ID i Identification of the i-th product order
l o g i s t i c s _ ID i Identification of the i-th logistics order
L i s t < p r o d u c t _ ID i > A collection of N product representations
L i s t < o r d e r _ ID i > A collection of N product order representations
L i s t < l o g i s t i c s _ ID i > A collection of N logistics order representations
E Elliptic curves defined on a finite group
G A generated point based on an elliptic curve E
k i i-th random value on the elliptic curve
d X Private key for user X
Q X Public key for user X
( r X i , s X i ) Elliptic curve eigenvalues of X
( x X i , y X i ) ECDSA signature value for X
E PukX ( M ) Encryption of message M using the public key of user x
D Pr kX ( M ) Decryption of message M using the private key of user x
H ( M ) One-way hash function for message M
h X i i-th hash value of X
T i i-th timestamp
Δ Τ Threshold for checking the validity of timestamps
M B P _ D E S Information from the BP (product information)
M B P _ O r d e r Information from the BP (product orders)
M X _ Y Message is sent from X to Y
M M S Information from MS (type of raw material, content, source, etc.)
A 1 = ? A 2 Verify if A1 is equal to A2
Table 3. Verification of the data integrity with the proposed scheme.
Table 3. Verification of the data integrity with the proposed scheme.
PhasePartyMessageHash ValueVerification
SenderReceiver
Product Design and Development PhaseBPPM M B P _ D E S = ( I D B P | | I D P M | | L i s t < p r o d u c t _ ID i > | | T 1 ) h B P 1 = H ( M B P _ D E S ) V e r i f y ( h B P 1 , r B P 1 , s B P 1 )
PMMS M P M _ M S = ( I D P M | | I D M S | | T 3 ) h P M 1 = H ( M P M _ M S ) V e r i f y ( h P M 1 , r P M 1 , s P M 1 )
MSPM M M S = ( I D M S | | I D P M | | T 5 ) h M S 1 = H ( M M S ) V e r i f y ( h M S 1 , r M S 1 , s M S 1 )
Product Evaluation and Approval PhasePMBP M P M _ B P = ( I D P M | | I D B P | | T 7 ) h P M 2 = H ( M P M _ B P ) V e r i f y ( h P M 2 , r P M 2 , s P M 2 )
BPPM M B P _ P M = ( I D M S | | I D P M | | T 9 ) h B P 2 = H ( M B P _ P M ) V e r i f y ( h B P 2 , r B P 2 , s B P 2 )
Product Ordering and Production PhasePDBP M P D _ B P = ( I D P D | | I D B P | | L i s t < o r d e r _ ID i > | | T 11 ) h P D 1 = H ( M P D _ B P ) V e r i f y ( h P D 1 , r P D 1 , s P D 1 )
BPPM M B P _ O r d e r = ( I D B P | | I D P D | | L i s t < p r o d u c t _ ID i > | | T 13 ) h B P 3 = H ( M B P _ O r d e r ) V e r i f y ( h B P 3 , r B P 3 , s B P 3 )
PMMS M P M _ M S = ( I D P M | | I D M S | | T 15 ) h P M 1 = H ( M P M _ M S ) V e r i f y ( h P M 1 , r P M 1 , s P M 1 )
MSPM M M S = ( I D M S | | I D P M | | T 17 ) h M S 1 = H ( M M S ) V e r i f y ( h M S 1 , r M S 1 , s M S 1 )
Product Purchase and Logistics Distribution PhasePDLP M P D _ L P = ( I D P D | | I D L P | | L i s t < p r o d u c t _ ID i > | | T 19 ) h P D 2 = H ( M P D _ LP ) V e r i f y ( h P D 2 , r P D 2 , s P D 2 )
LPDM M L P _ D M = ( I D L P | | I D D M | | L i s t < logistics _ ID i > | | T 21 ) h L P 1 = H ( M L P _ D M ) V e r i f y ( h L P 1 , r L P 1 , s L P 1 )
DM_ADM_B M D M _ D M = ( I D D M _ A | | I D D M _ B | | L i s t < logistics _ ID i > | | T 23 ) h D M 1 = H ( M D M _ D M ) V e r i f y ( h D M 1 , r D M 1 , s D M 1 )
DMCO M D M _ C O = ( I D D M | | I D C O | | logistics _ ID i | | T 25 ) h D M 2 = H ( M D M _ C O ) V e r i f y ( h D M 2 , r D M 2 , s D M 2 )
Table 4. Verifying the non-repudiation of the proposed scheme.
Table 4. Verifying the non-repudiation of the proposed scheme.
PhasePartySignatureVerification
SenderReceiver
Product Design and Development PhaseBPPM ( r B P 1 , s B P 1 ) = S i g n ( h B P 1 , k 1 , d B P ) V e r i f y ( h B P 1 , r B P 1 , s B P 1 )
PMMS ( r P M 1 , s P M 1 ) = S i g n ( h P M 1 , k 2 , d P M ) V e r i f y ( h P M 1 , r P M 1 , s P M 1 )
MSPM ( r M S 1 , s M S 1 ) = S i g n ( h M S 1 , k 3 , d M S ) V e r i f y ( h M S 1 , r M S 1 , s M S 1 )
Product Evaluation and Approval PhasePMBP ( r P M 2 , s P M 2 ) = S i g n ( h P M 2 , k 4 , d P M ) V e r i f y ( h P M 2 , r P M 2 , s P M 2 )
BPPM ( r B P 2 , s B P 2 ) = S i g n ( h B P 2 , k 5 , d B P ) V e r i f y ( h B P 2 , r B P 2 , s B P 2 )
Product Ordering and Production PhasePDBP ( r P D 1 , s P D 1 ) = S i g n ( h P D 1 , k 6 , d P D ) V e r i f y ( h P D 1 , r P D 1 , s P D 1 )
BPPM ( r B P 3 , s B P 3 ) = S i g n ( h B P 3 , k 7 , d B P ) V e r i f y ( h B P 3 , r B P 3 , s B P 3 )
PMMS ( r P M 1 , s P M 1 ) = S i g n ( h P M 1 , k 2 , d P M ) V e r i f y ( h P M 1 , r P M 1 , s P M 1 )
MSPM ( r M S 1 , s M S 1 ) = S i g n ( h M S 1 , k 9 , d M S ) V e r i f y ( h M S 1 , r M S 1 , s M S 1 )
Product Purchase and Logistics Distribution PhasePDLP ( r P D 2 , s P D 2 ) = S i g n ( h P D 2 , k 10 , d P D ) V e r i f y ( h P D 2 , r P D 2 , s P D 2 )
LPDM ( r L P 1 , s L P 1 ) = S i g n ( h L P 1 , k 11 , d L P ) V e r i f y ( h L P 1 , r L P 1 , s L P 1 )
DM_ADM_B ( r D M 1 , s D M 1 ) = S i g n ( h D M 1 , k 12 , d D M _ A ) V e r i f y ( h D M 1 , r D M 1 , s D M 1 )
DMCO ( r D M 2 , s D M 2 ) = S i g n ( h D M 2 , k 13 , d D M ) V e r i f y ( h D M 2 , r D M 2 , s D M 2 )
Table 5. Encryption and decryption to prevent a man-in-the-middle attack.
Table 5. Encryption and decryption to prevent a man-in-the-middle attack.
PhasePartyEncryptionDecryption
SenderReceiver
Product Design and Development PhaseBPPM C B P 1 = E P u k P M ( M B P _ D E S ) M B P _ D E S = D p r k P M ( C B C 1 )
PMMS C P M 1 = E P u k M S ( M P M _ M S ) M P M _ M S = D p r k M S ( C P M 1 )
MSPM C M S 1 = E P u k P M ( M M S ) M M S = D p r k P M ( C M S 1 )
Product Evaluation and Approval PhasePMBP C P M 2 = E P u k B P ( M P M _ B P ) M P M _ B P = D p r k B P ( C P M 2 )
BPPM C B P 2 = E P u k P M ( M B P _ P M ) M B P _ P M = D p r k P M ( C B P 2 )
Product Ordering and Production PhasePDBP C P D 1 = E P u k B P ( M P D _ B P ) M P D _ B P = D p r k B P ( C P D 1 )
BPPM C B P 3 = E P u k P M ( M B P _ O r d e r ) M B P _ O r d e r = D p r k P M ( C B P 3 )
PMMS C P M 1 = E P u k M S ( M P M _ M S ) M P M _ M S = D p r k M S ( C P M 1 )
MSPM C M S 1 = E P u k P M ( M M S ) M M S = D p r k P M ( C M S 1 )
Product Purchase and Logistics Distribution PhasePDLP C P D 2 = E P u k L P ( M P D _ L P ) M P D _ L P = D p r k L P ( C P D 2 )
LPDM C L P 1 = E P u k D M ( M L P _ D M ) M L P _ D M = D p r k D M ( C L P 1 )
DM_ADM_B C D M 1 = E P u k D M _ B ( M D M _ D M ) M D M _ D M = D p r k D M _ B ( C D M 1 )
DMCO C D M 2 = E P u k C O ( M D M _ C O ) M D M _ C O = D p r k C O ( C D M 2 )
Table 6. Timestamp validation to prevent replay attack.
Table 6. Timestamp validation to prevent replay attack.
PhasePartySent TimeReceived TimeValidation
SenderReceiver
Product Design and Development PhaseBPPM T 1 T 2 C h e c k ( T 2 T 1 ) Δ T
PMMS T 3 T 4 C h e c k ( T 4 T 3 ) Δ T
MSPM T 5 T 6 C h e c k ( T 6 T 5 ) Δ T
Product Evaluation and Approval PhasePMBP T 7 T 8 C h e c k ( T 8 T 7 ) Δ T
BPPM T 9 T 10 C h e c k ( T 10 T 9 ) Δ T
Product Ordering and Production PhasePDBP T 11 T 12 C h e c k ( T 12 T 11 ) Δ T
BPPM T 13 T 14 C h e c k ( T 14 T 13 ) Δ T
PMMS T 15 T 16 C h e c k ( T 16 T 15 ) Δ T
MSPM T 17 T 18 C h e c k ( T 18 T 17 ) Δ T
Product Purchase and Logistics Distribution PhasePDLP T 19 T 20 C h e c k ( T 20 T 19 ) Δ T
LPDM T 21 T 22 C h e c k ( T 22 T 21 ) Δ T
DM_ADM_B T 23 T 24 C h e c k ( T 24 T 23 ) Δ T
DMCO T 25 T 26 C h e c k ( T 26 T 25 ) Δ T
Table 7. Experimental environment’s configuration.
Table 7. Experimental environment’s configuration.
ConfigurationDetail
CPUIntel(R) Core(TM) i5-8300H [email protected] GHz
Memory8 G
Network4 Gbit/s
SSD60 GB
Table 8. Summary of performance metrics.
Table 8. Summary of performance metrics.
NameSuccFailSend Rate (TPS)Max Latency (s)Min Latency (s)Avg Latency (s)Throughput (TPS)
test Product Design and Development Phase_100492198.52.700.280.8264.8
test Product Evaluation and Approval Phase_1009831192.37.270.744.0095.6
test Product Ordering and Production Phase_1009761195.47.790.344.0396.2
test Product Purchase and Logistics Distribution Phase_1009940197.98.450.203.10102.6
Table 9. Resource utilization for a test of the product design and development phase.
Table 9. Resource utilization for a test of the product design and development phase.
NameCPU%
(max)
CPU%
(avg)
Memory(max)
[MB]
Memory(avg)[MB]Traffic In
[MB]
Traffic Out
[MB]
Disc Wirte
[MB]
Disc Read
[MB]
dev-peer0.org1.example.com-alcohol-supply-contract_1.0-035019925cd56f13a2148f77f6a81fe7d139997b666c1264978d0b99d97bd8d06.801.8317.117.11.320.5660.000.00
dev-peer0.org2.example.com-alcohol-supply-contract_1.0-035019925cd56f13a2148f77f6a81fe7d139997b666c1264978d0b99d97bd8d05.791.6117.017.01.290.5270.000.00
cli0.000.0015.215.20.000.000.000.00
Peer0.org1.example.com24.069.611231224.042.363.890.00
orderer.example.com12.754.481101092.575.135.530.00
Peer0.org2.example.com22.408.881461453.982.243.890.00
Table 10. Computation costs of the proposed scheme.
Table 10. Computation costs of the proposed scheme.
PhaseParticipant 1Participant 2Participant 3Participant 4
Product Design and Development PhaseBP:
T h a s h + T E / D + T s i g + T f u n
PM:
2 T v e r + T s i g + 3 T h a s h
+ 2 T c m p + 3 T E / D + T f u n + T u p l o a d
MS:
T v e r + T s i g + 2 T h a s h
+ T c m p + 2 T E / D + T u p l o a d + T f u n
N/A
Product Evaluation and Approval PhasePM:
2 T h a s h + 2 T E / D + T s i g
+ T f u n + T u p l o a d + T c m p + T v e r
BP:
2 T h a s h + 2 T E / D + T s i g
+ T f u n + T u p l o a d + T c m p + T v e r
N/AN/A
Product Ordering and Production PhasePD:
T h a s h + T E / D + T s i g
BP:
2 T h a s h + 2 T E / D + T s i g
+ T f u n + T c m p + T v e r
PM:
3 T h a s h + 3 T E / D + T s i g
+ 3 T f u n + 2 T c m p + 2 T v e r + T u p l o a d
MS:
2 T h a s h + 2 T E / D + T s i g
+ T c m p + T v e r
Product Purchase and Logistics Distribution PhasePD:
T h a s h + T E / D + T s i g
LP:
T v e r + T s i g + 2 T h a s h
+ T c m p + 2 T E / D + T f u n + T u p l o a d
DM:
n T v e r + ( n + 1 ) T s i g + ( 2 n + 1 ) T h a s h
+ n T c m p + ( 2 n + 1 ) T E / D + n T f u n + n T u p l o a d
CO:
T h a s h + T E / D
+ T c m p + T v e r + T f u n + T u p l o a d
T s i g : Signature operation; T v e r : verify operation; T E / D : encryption/decryption operation; T h a s h : hash function operation; T c m p : comparison operation; T f u n : call chaincode function; T u p l o a d : upload data operation.
Table 11. Communication costs of the proposed scheme.
Table 11. Communication costs of the proposed scheme.
PhaseMessage Length3.5 G
(14 Mpbs)
4 G
(100 Mpbs)
5 G
(20 Gpbs)
Product Design and Development Phase4032 bits0.288 ms0.040 ms0.202 μs
Product Evaluation and Approval Phase2688 bits0.192 ms0.027 ms0.134 μs
Product Ordering and Production Phase5376 bits0.384 ms0.054 ms0.269 μs
Product Purchase and Logistics Distribution Phase5376 bits0.384 ms0.054 ms0.269 μs
Table 12. Comparison of product security systems.
Table 12. Comparison of product security systems.
AuthorsYearObjective123456
Dan et al. [2]2012Proposed a luxury anti-counterfeiting system architecture and hierarchy based on the EPC Internet of Things (IoT)NYYYNY
Hochholdinger et al. [15] 2019Marks or traces, from a forensic intelligence perspective, can achieve a watch anti-counterfeiting effectNNNNNY
Perez et al. [16]2020Introduced the latest traceability program and recommended a framework for garmentsYYNNYY
Agrawal et al. [17]2021Investigated and proposed a blockchain-based traceability framework for traceability in a multi-tier T&C supply chainYNYNYY
Our proposed method2022Proposed a blockchain-based framework for product traceability and documentation of logistics processesYYYYYY
Notes: 1: Blockchain-based architecture, 2: Internet of Things (IoT), 3: complete architecture or framework, 4: security analysis, 5: unforgeable, 6: traceable, Y: yes, N: no.
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.; Guo, L.-H.; Zhou, M.; Tsaur, W.-J.; Sun, H.; Zhan, W.; Deng, Y.-Y.; Li, C.-T. Blockchain-Based Anti-Counterfeiting Management System for Traceable Luxury Products. Sustainability 2022, 14, 12814. https://doi.org/10.3390/su141912814

AMA Style

Chen C-L, Guo L-H, Zhou M, Tsaur W-J, Sun H, Zhan W, Deng Y-Y, Li C-T. Blockchain-Based Anti-Counterfeiting Management System for Traceable Luxury Products. Sustainability. 2022; 14(19):12814. https://doi.org/10.3390/su141912814

Chicago/Turabian Style

Chen, Chin-Ling, Long-Hui Guo, Ming Zhou, Woei-Jiunn Tsaur, Hongyu Sun, Wanbing Zhan, Yong-Yuan Deng, and Chun-Ta Li. 2022. "Blockchain-Based Anti-Counterfeiting Management System for Traceable Luxury Products" Sustainability 14, no. 19: 12814. https://doi.org/10.3390/su141912814

APA Style

Chen, C. -L., Guo, L. -H., Zhou, M., Tsaur, W. -J., Sun, H., Zhan, W., Deng, Y. -Y., & Li, C. -T. (2022). Blockchain-Based Anti-Counterfeiting Management System for Traceable Luxury Products. Sustainability, 14(19), 12814. https://doi.org/10.3390/su141912814

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