Next Article in Journal
The Influence of a Brand’s Visual Content on Consumer Trust in Social Media Community Groups
Next Article in Special Issue
Evolutionary Game Analysis of Blockchain Technology Preventing Supply Chain Financial Risks
Previous Article in Journal
Research on the Impact of Online Promotions on Consumers’ Impulsive Online Shopping Intentions
Previous Article in Special Issue
Blockchain-Based Address Alias System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

T-Smart: Trust Model for Blockchain Based Smart Marketplace

1
Department of Computer Science, COMSATS University Islamabad, Islamabad 45550, Pakistan
2
College of Computer and Information Sciences, Prince Sultan University, Riyadh 11586, Saudi Arabia
3
School of Electrical Engineering and Computer Science, National University of Sciences and Technology (NUST), Islamabad 44000, Pakistan
*
Author to whom correspondence should be addressed.
J. Theor. Appl. Electron. Commer. Res. 2021, 16(6), 2405-2423; https://doi.org/10.3390/jtaer16060132
Submission received: 29 July 2021 / Revised: 10 September 2021 / Accepted: 13 September 2021 / Published: 17 September 2021
(This article belongs to the Special Issue Blockchain Commerce Ecosystem)

Abstract

:
With the innovation of embedded devices, the concept of smart marketplace came into existence. A smart marketplace is a platform on which participants can trade multiple resources, such as water, energy, bandwidth. Trust is an important factor in the trading platform, as the participants would prefer to trade with those peers who have a high trust rating. Most of the existing trust management models for smart marketplace only provide a single aggregated trust score for a participant. However, they lack the mechanism to gauge the level of commitment shown by a participant while trading a particular resource. This work aims to provide a fine-grained trust score for a participant with respect to each resource that it trades. Several parameters, such as resource availability, success rate, and turnaround time are used to gauge the participant’s level of commitment, specific to the resource being traded. Moreover, the effectiveness of the proposed model is validated through security analysis against ballot-stuffing and bad-mouthing attacks, along with simulationbased analysis and a comparison in terms of accuracy, false positive, false negative, computational cost and latency. The results indicate that the proposed trust model has 7% better accuracy, 30.13% lower computational cost and 31.74% less latency compared to the existing benchmark model.

1. Introduction

The evolution of sensor-enabled smart gateways in smart homes has led to creative collaboration practices among participants of smart communities [1]. Such collaborations involve the exchange of resources (such as water, internet bandwidth, energy) in the form of trading, where a participant may request resources from other participants in exchange of a digital currency, such as ether [1,2]. This type of trading platform is also known as a smart marketplace (SMP) [1,3]. SMP, as a resource trading platform, faces a range of privacy- and security-related challenges, such as vulnerability and controller compromise, which are addressed through authentication- and cryptography-based solutions in the literature [4,5,6].
In SMP, a participant node can act dishonestly, either to promote itself or to malign the reputation of other nodes [7,8]. Through this, a dishonest participant can maneuver requester participants to trade resources with it instead of the honest participants and dominate the trade by carrying out attacks, such as bad-mouthing and ballot-stuffing. In a bad-mouthing attack, the malicious participant tries to lower the trust score of an honest participant by providing false reviews and, therefore, reducing their chance of being selected as a service provider. This attack can also be carried out by group of dishonest participants to defame an honest participant. In a ballot-stuffing attack, the malicious participant tries to boost the trustworthiness of other malicious participants by providing false favorable recommendations. This can increase their chance of being selected as a trustworthy participant. This attack can also be carried out by a group of dishonest participants to support each other. In order to handle these attacks and maintain the true reputation of the participating nodes, there is a need for a better trust management scheme.
A number of trust management schemes have been proposed for the smart marketplace (SMP), such as [9,10,11,12], where trust calculation is based on the direct observations of each participant with respect to others during peer-to-peer (P2P) interactions, such as trading activities, and the indirect feedback obtained from other participants. For example, to accurately measure the trust of a resource seller, a participant must share their trust score with multiple other SMP participants [13,14,15,16]. Similarly, other works such as [8,17,18,19] propose to strengthen the trust computing mechanism and refine the properties of participants using a number of other techniques, such as unified trust management. Ref. [20] utilized commitment as a measure to gauge resource provider’s honesty towards a resource.
Most of the existing trust management schemes for SMP are designed considering the fact that the participants can trade only one type of resource, such as energy or internet bandwidth. Hence, such schemes are not suitable for a participant who tends to trade multiple resources at a time [7]. Besides, these schemes suffer from issues of unfair trust calculation based on unreliable information shared by dishonest participants [20]. Additionally, trust information (direct observation and indirect feedback) is exchanged in a manner that decelerates the process of trust computing and produces inconsistent results [7,8,15,16]. Moreover, other trust models typically assume third party controllers to be a pre-trusted entity [21], which is often not feasible for most SMP implementations [7].
The goal of this research is to present a trust management model that can provide a detailed trust profile (separate trust score per individual resource) of a participant in the role of a seller or buyer of various resources. Moreover, the model is resilient to various types of bad-mouthing and ballot-stuffing attacks and provides a fair trust score of the participants.
Our Contribution: In this paper, we have presented a trust management model for detailed trust profiling of SMP participants as follows:
  • The model computes separate trust score per resource for a participant to ensure fair and genuine trust management.
  • Trust of a participant is calculated based on past experiences, feedback provided by other participants and the level of commitment a participant has shown to carrying out the transactions.
  • Ethereum Blockchain is used to ensure the security, validation, and trust for all the participants within the smart marketplace.
The proposed work has been implemented using Solidity and Python. Simulations were performed with trustworthy and dishonest participants in a smart marketplace. Our results have shown that the proposed framework comprehensively captures the trust of the participants and helps to improve trading among honest participants, and also identify dishonest participants.

2. Related Work

Advancements in digital technology have substantially changed the pace of operations by enabling business to business (B2B) to efficiently handle huge amounts of data and manage transactions [22], especially in e-commerce smart marketplaces [23]. To enhance the profitability and efficiency of e-commerce firms, blockchain technology is incorporated in SMP. Blockchain technology has helped enhance the payment speed and data transmission dependability and transparency of data transmission [24,25]. Blockchain helps to ensure that the information involved is anonymized and immutable. The exchanging of data among different participants gives rise to security issues, especially when trading participants have interchangeable roles in SMP [26]. The major advantage of utilising blockchain is that it provides a secure decentralised database. Additionally, the importance of trust management in e-commerce businesses cannot be overstated, as each participant would always prefer to transact with a party with a good reputation to prevent being victimized by less reputable parties.
Trust and credibility mechanisms have been extensively researched to support the activities of participants in the SMP [17,20]. In a particular context, trust and credibility structures aim to estimate the trustworthiness of prospective participants, to minimize risk due to their likely unreliability. In fact, the importance of trust-based schemes is shown by their adoption in virtually every decision-making and trading interaction in SMP activities [19,20]. For instance [27,28,29] have classified trust management components into five main components, namely: trust composition, trust spread, trust aggregation, trust update, and trust creation. Similarly, Study [30,31] sets out the key characteristics of an efficient reputation scheme consisting of three main properties, including, first, the use of past experience of participants to detect potential future behavior of other participants in the system. Second, decisions on new experiences can be guided by previous experiences. Third, ratings on existing experiences need to be obtained, including planning rewards to persuade participants to release feedback that needs to be disseminated to the population. Other work, such as [32], have examined and addressed the importance of feedback in trustworthiness models to develop trust management framework.
To address issues related to trust management in an SMP environments, many works, such as [7,33,34], suggested a trust management mechanism based on a central controller that is responsible for distributing the trust obtained across the network. However, these trust models can have many limitations, such as latency issues, central point of failure, and other computational complexities [28,32,35]. Similarly, two trustworthiness computational models have been presented by [36]; they are used to distribute trust evaluations in a shared Hash table managed by a group of trusted participants. These models comprise, first, a subjective model consisting of local trust matrix (direct observation) and the indirect feedback received and, second, an objective model. However, options are also constrained and only applicable to social-based participants [7,35].
Additionally, models such as [37,38] use recommendations to compute trust based on information gathered from a neighbouring participant, where trust is computed by the pre-selected participant. Such approaches help with cost reduction by assuming a participant as an intermediary; however, such models lead to unreliable information due to their reliance on a single SMP data source for computing trust.
Other models, such as [36,39], have based their trust assessment on direct observations, and the history of interactions and recommendations from other system participants. In addition, the studies considered different classes of trust properties, such as commitment, honesty and co-operation, depending on the social relationship between the participants. However, the solutions are not feasible enough, since each participant must store all the trust pieces of information, including the history and recommendations of the other participants in the lookup table [7,28,35].
The concept of grouping was also used in many approaches, such as [8,13], to address trust management issues. These approaches combine individuals with a comparable trust score and allow trade amongst them, avoiding the selection of an untrustworthy trading partner. However, these solutions usually demand high computational resources and may lead to double spending issues [35]. When groups are formed based only on how similar the profiles of the potential group members are, then it is not guaranteed that groups will remain homogeneous over time [40]. This, and other similar group challenges, are usually referred as group recommendation (affiliation problems) [29].
To make trading decisions, the existing work uses an aggregated trust score for participants rather than a resource-specific (separate trust score for each unique resource) and role-specific (seller/buyer) trust score for each participant. Such techniques are incapable of determining a participant’s fair and genuine trust score. Additionally, current models are vulnerable to attacks such as bad-mouthing and ballot stuffing, since participants may behave dishonestly to advance their own careers or to smear the reputations of others. Moreover, the computation of the trust score in SMP may result in cost and latency problems.

3. System Model

This section discusses our system model, including network model, trading model, and the threat model.

3.1. Network Model

Our network model for SMP is derived from [1], where the SMP consists of a tamper-proof smart gateway known as the Smart Market Gateway (SmGW). Each smart home has a sensor-enabled smart gateway that is used to connect with SmGW in SMP. A given set of smart home participants P = { p 1 , p 2 , p 3 , p q } , A smart home in SMP can engage in a resource trade, either as a seller or a buyer, as shown in Figure 1. Resource Distributor (RD) represents the resource providing entities to smart homes, such as electricity and telecommunication companies. The SMP is built on z semi-centralized private Ethereum blockchain technology, as transactions performed on Ethereum blockhain are much faster than those performed on bitcoin. All participating smart homes are computationally capable and have full access to the shared ledger where all transactions are registered. Moreover, all SMP participants have a separate Ethereum Account (EA) and can directly access blockchain Smart Contracts across the network.

3.2. Trade Model

The stakeholders engaged in the execution of a transaction include: a set of smart home participants P (sellers and buyers) and the Smart Market Gateway (SmGW). A seller participant might become a buyer participant at a given time t, and vice versa. The seller sends the offer to the SmGW, to be placed on the auction board. The offer contains the price, quantity, type of resource being sold, and the resource ownership ID. SmGW verifies the resource by sending the i d of a seller along with the resource ownership ID to RD before placing the bid on the auction board. After a successful negotiation between the potential buyer and the seller, the buyer surrenders the payment and the seller surrenders the resource by executing their respective Smart Contracts, completing the trading activity. Moreover, SMP allows a participant to trade a variety of resources, such as energy, internet bandwidth, nd water. Additional information regarding the trading model can be found in [1].

3.3. Threat Model

In this work, the following features are considered for Adversary A:
  • Adversary A can carry out a variety of attacks, such as ballot-stuffing and bad-mouthing attacks in the SMP.
  • It is presumed that smart gateway is tamper-proof, and thus cannot be breached.
  • It is presumed that the adversary does not compromise the blockchain.

4. The Trust Management Model

This section presents the proposed trust model that can be utilized to gauge the trust of participants in the SMP.

4.1. Trust Computation and Modeling

The proposed trust model is designed to record the trust of each participant separately as a seller and a buyer for each of the traded resource, such as water, energy, and bandwidth. Given a set of all type of resources R * = { r 1 , r 2 , r 3 , … , r n } and r x is a given resource in R * , then the trust can be computed based on participants’ previous trust, participants’ commitment ( C p r x ) [20], and their feedback ( f b p r x ( t ) ). Hence, the trust score for a given participant is computed as,
T S p r x ( t ) = α ( T S p r x ( t 1 ) ) + β ( C p r x ) + φ ( f b p r x ( t ) )
where α , β , φ are weights with values ranging from 0 to 1. n is the number of resources (energy, water and bandwidth) and p is the participant for which trust is being computed. Once the trust score is computed, it is then stored in blockchain. The process of calculating trust score is illustrated in Algorithm 1.
Algorithm 1: Computing trust score for SMP participants.
Jtaer 16 00132 i001

4.1.1. Commitment ( C p r x )

Three distinct parameters were considered when computing the C p r x of a given participant. These include the resource integrity, success rate and turnaround time. The C p r x of a given participant is evaluated by the system when bids are received in the auction board, as described in lines 1–10 of Algorithm 1. This is performed based on the trading history of the concerned participant. The evaluation process is further explained in the following subsections.
Resource Availability: Resource Availability plays an important role in calculating trust for a participant. A resource must be available before it is broadcast onto the auction board. SmGW verifies the availability of a resource by taking into account the i d of a seller participant along with the resource ownership ID and confirming it with RD before allowing a participant to broadcast their bids on the auction board. In this model, a resource is unavailable even if a seller participant has broadcast their bids and yet not agreed to sell them. Let N r x be the number of times a single resource was requested to be listed over a time and A r x be the number of times the resource was available out of N r x . Hence, the availability of a resource is computed as given in Equation (2). Therefore, once a buyer participant requests a given resource, the system computes the provider’s resource availability (RA) according to line 5 of Algorithm 1.
R A r x = A r x / N r x
Success Rate: Success rate is the number of successful trades concluded for a resource r x s . Let S r x be the number of successful trades conducted out of A r x . The success rate can be calculated as given in Equation (3).
S R r x = S r x / A r x
Turn Around Time: Turnaround time is the delay in responding to a request either from a seller or buyer perspective. The turnaround time can be calculated depending on the state of the participant (seller or buyer). These processes are explained in the following subsections.
a. For participant as seller: In this regard, the turnaround time ( T A r x ) for a given resource is the difference between the time of delivery ( t d e v ) and time of request ( t r e q ) for a resource. It is defined as the time difference when a buyer participant has requested a particular resource from seller participant up to the time the resource is successfully delivered by the seller participant. Hence, turnaround time can be calculated as
T A r x = ( t d e v t r e q ) / ( t d e v + t r e q )
b. For participant as buyer: In this regard, the turnaround time ( T A r x ) for a given resource is the time that the payment is given by the buyer ( t p a y ) when the seller participant agrees to sell the resource, after receiving acknowledgement of buyer participant ( t a c k ) . It is defined as the time difference when a seller participant has acknowledged as selling the resource up to the time of release of payment by the buyer participant. Hence, the turnaround time for buyer participant can be calculated as
T A r x = ( t p a y t a c k ) / ( t p a y + t a c k )
Different weights w have been assigned depending upon the turnaround time for a participant.
w = 0.4 T A r x < 0.5 s e c 0.3 T A r x > 0.51 a n d < 1 s e c 0.2 T A r x > 1.01 a n d < 1.5 s e c 0.1 T A r x > 1.51 s e c
From the above Equations (2)–(5), the ( C p r x ) for seller participant can be computed as:
C p r x = α ( R A r x ) + τ ( S R r x ) + ε ( T A r x )
For the buyer participant, ( C p r x ) can be computed as:
C p r x = δ ( S R r x ) + μ ( T A r x )
where τ and δ β , ε and μ γ . And α , β , γ represents the weights. The availability of a resource is given the highest priority, whereas turnaround time is given the lowest priority: α = 0.5 , β = 0.2 , γ = 0.1 .

4.1.2. Feedback f b p r x ( t )

Participants’ feedback f b p r x ( t ) represents the feedback a participant (buyer or seller) provides regarding other participant after the completion of trade at time t. The system collects f b p r x of each participant based on their experience. Hence, the participant feedback determines the integrity of the resource delivered to a given participant. For given participants { p * , p }, f b p * p r x represents the behavior of p * towards p during trading activities, where p * , p P . Genuine feedback provided by a participant (seller or buyer) adds to the trust calculation of other participants. In the case of dispute or false feedback from a dishonest participant, the SmGW resolves the dispute and the dishonest participant’s trust score will be negatively impacted. For this, we assumed that both the buyer participant and seller participant can open a dispute to SmGW in case they behave honestly and still receive false feedback, to claim back their feedback trust.
Additionally, f b p r x ( t ) represents the aggregated feedback that the whole SMP community perceives for a single participant specific to a given resource. It is computed by taking the average of the individual feedback provided by various participants to a given participant with respect to a specific resource, based on their experience when traded in SMP.
Given the state of the participant (buyer, seller), the individual feedback of the participant, whether a buyer or seller, with respect to a given resource r x R * , at time t ranging from [ 0 , 1 ] , is given as f b p * p r x , where p * , p and both can act as a seller and buyer or vice versa.
Participants’ feedback helps to evaluate other participant that behave dishonestly by providing a good or bad reputation each time, as described in line 15 of Algorithm 1. The feedback provided by individual participant is verified by the feedback score of other participants for the same resource, which helps to identity the activity of an honest and dishonest participant and prevent attacks. Thus participants’ feedback can be aggregated and computed as:
f b p r x ( t ) = n = 1 k f b p * p r x / k
where k is the number of participants that provided feedback.

5. Security Analysis

This section provides the security analysis of the resilience of our proposed model to bad-mouthing and ballot-stuffing attacks. For this analysis, we provide the lower and upper bounds of trust values gained from our proposed model and prove that our proposed model is highly resistant against such types of attacks. A list of symbols used in security analysis are mentioned in Table 1.
In our model, the trust score T S p r x is updated after each transaction has occurred. The interaction time is defined as { t 1 , t 2 . . t n } , when a buyer participant requests a seller participant.
Lemma 1.
Let an SMP contain several participants. For each honest participant p h , where p * , p , p h 1 , , N , then
0.5 m T S p h f b p * p r x ( t ) 1
Proof. 
Given the individual feedback, f b p * p r x ( t ) , and p * and p P are participants, the satisfaction value S V p ( t ) at a time t is in a range of 0.5 m T S p h 1 . Then, we can deduce that
m T S p h f b p * p r x ( t ) 1 .
Lemma 2.
Let an SMP with several participants, along with a certain number of honest participants, be σ, where σ > 0 .
For bad-mouthing attacks against honest participants σ, p , p , p h 1 , , N , such that
f b p h r x ( t ) σ m T S p h × T z 1 m i n
where
m T S p h 0.5
T z m i n = m i n [ T z r p h r , p h { 1 , , N } , p h H , z N ]
 Case 1: An SMP with N number of participants, along with a certain number of honest participants σ , where σ > 0 . Under a bad-mouthing attack for each honest participant p h in σ , p h 1 , , N , where 0 m T S p h 1 , we derive:
T H = lim z T S p h z ( m T S p h × β × φ ) / ( 1 α γ × φ )
Proof. 
From the above, we can deduce that
T S p h z T z m i n
From the results obtained from lemmas 1 and 2
T z m i n ( α × T z m i n + β × m T S p h + γ × σ m T S p h × φ × T z m i n ) * φ
Thus,
lim z T z m i n ( α + γ × σ m T S p h × φ ) × lim z T z m i n + β × m T S p h × φ
Hence,
lim z T z m i n ( β × m T S p h × φ ) / ( 1 α γ × σ m T S p h × φ )
Given Equation (13), we have
T H = lim z T S p h z ( β × m T S p h × φ ) / ( 1 α γ × σ m T S p h × φ )
 Case 2: An SMP with N number of participants, along with a certain number of honest participants σ , where σ > 0 . Under a ballot-stuffing attack for each dishonest participant p d , p d { 1 , , N } , we derive
T D = lim z T S p d z 1 ( β × m T S p d × φ ) / ( 1 α γ × σ m T S p d × φ )
where 0 m T S p d 1   z N
Proof is as in Case 1.
Theorem 3.
AN SMP with N number of participants containing a certain number of honest participants σ, where σ > 0 . Under a bad-mouthing attack the mean trust M h ( T S σ ) for a honest participant is measured as:
M h ( T S σ ) σ × T S p h [ ( σ × β × m T S p h × φ ) / ( 1 α γ × σ m T S p h × φ ) ]
Proof. 
Let S be the set of honest participants; then,
M h ( T S σ ) = lim z 1 / S i = 1 S T S p h z = lim z 1 / S i = 1 S P ( p h ) × T S p h z + P ( p d ) × T S p d z = lim z σ × T S p h z + ( 1 σ ) × ϵ
ϵ 0 is the worst value given by a bad-mouthing attack for ϵ is as 0. Therefore, by using these values, we have
M h ( T S σ ) lim z σ × T S p h z + ( 1 σ ) × 0 σ × T S h ( σ × β × m T S p h × φ ) / ( 1 α γ × σ m T S p h × φ )
Theorem 4.
An SMP with N number of participants containing a certain number of honest participants σ, where σ > 0 . Under a ballot-stuffing attack, the mean trust M d ( T S d ) for a dishonest participant is measured as:
M d ( T S d ) σ × T S p d + 1 σ 2 σ [ ( σ × β × m T S p h × φ ) / ( 1 α γ × σ m T S p h × φ ) ]
Proof. 
Let d be dishonest participants in SMP
M d ( T S d ) = lim z 1 / N i = 1 N T S p d z = lim z 1 / N i = 1 N P ( p h ) × T S p h z + P ( p d ) × T S p d z = lim z σ × T S p d z + ( 1 σ ) × ϵ
ϵ 1 , so the best value given by ballot-stuffing attack for ϵ is as 1. Therefore, using these values, we have
M d ( T S d ) lim z σ × T S p d z + ( 1 σ ) × 1 σ × T S p d + 1 σ 2 σ ( σ × β × m T S p h × φ ) / ( 1 α γ × σ m T S p h × φ )

6. Performance Analysis

This section presents the simulation setup adopted for the implementation of our proposed model (T-smart) as well as the performance parameters used.

6.1. Simulation Setup

T-smart is implemented using Solidity and Python. Metamask [41] was used as an Ethereum wallet. Simulations used a proof-of-authority (POA) consensus mechanism under Rinkeby testnet [42]. A PC with Intel(R) Core(TM) i5-3230M CPU @ 2.60 GHz was used for the experiments. Transaction details for our contract deployment are available on Etherscan: https://rinkeby.etherscan.io accessed on 28 April 2021. Models were implemented in the same setup scenario to avoid bias and to achieve the best observation and results. The same weights were applied for both models, as described in Section 4.1. In addition, the following parameter settings were adopted in the simulations:
  • The SMP population was kept to 30 participants (both sellers and buyers).
  • Each trading interaction involved two participants (buyer and seller) chosen in random way. Interactions were conducted in minutes and 60 interactions were carried out in 60 min so that each of the 30 participants acted as a seller or buyer in different cases.
  • Percentage of dishonest participants is varied between 10 % , 20 % , 30 % , 40 % , and 50 % .
  • Model is also assessed by varying the number of participants from 10, 20 and 30 participants with 30 % dishonest participants.
Furthermore, we programmed the dishonest participants in four different categories. Category A contains dishonest participants that lack certain resources and yet claim to have them. Category B contains dishonest participants that have all the resources they claim but a lower success rate in their tradings due to back-off and aborting trading interactions before completion. Category C contains dishonest participants that have both resource availability and a high success rate but have a high delay, leading to a high turnaround time during their trading. Category D contains dishonest participants that might have a high success rate, resource availability, low turnaround time during their trading activities but provide bad feedback to other participants that they trade with. In line with this, the dishonest participants can belong to one or more categories at a time. For example, a dishonest participant can belong to a single category, two categories, three categories or even all four categories.

6.2. Performance Parameters

To evaluate the performance of the T-smart, different parameters have been used, such as trust scores, detection accuracy, computational cost, transaction latency and satisfaction level. Detection accuracy is defined as the proportion of true positive and true negative participants detected and it is computed as:
D A = ( T P + T N ) / ( T P + T N + F P + F N )
where TP = true positive, TN = true negative, FP = false positive and FN = false negative. Computational cost comprises the transaction cost and execution cost consumed by the smart contract during trading activities. Transaction cost is defined as the gas consumed during the deployment and implementation of smart contract into the blockchain. Execution cost is the gas consumed in the implementation of the smart contract. Satisfaction is defined as the perceived level of pleasure obtained with respect to cost.
Using the above parameters, the effectiveness of T-smart can be tested against the benchmark model. The results obtained for these performance parameters are shown in Section 7.

7. Results and Evaluation

Simulation-based experiments were carried out to determine the performance of T-smart and compare it with [8], in terms of commitment, trust score, detection accuracy, false positive, false negative, computational overhead, and transaction latency. Initially, 30 participants were studied, of which 30 % remained as dishonest and remaining as trustful (trust value ≥ 0.5).

7.1. Trust Score Comparison

Figure 2 represents the results for both models in terms of trust score, which clearly indicates that the trust score of T-smart is much higher then the model presented in [8]. Simulation results shows that T-smart achieved more than 8.74 % trust score as compared to the benchmark model. A truthful participant is always seen to be more trustworthy. T-smart is able to compute a fair trust score in the presence of dishonest participants, utilizing factors listed in Section 4. However, the benchmark model is not able to compute fair trust scores for participants. This is due to the false recommendations received by dishonest participants, which the benchmark model failed to accurately detect. As a result, participants’ trust scores are miscalculated using the benchmark model, especially while calculating the trust score of dishonest nodes. T-smart is capable of calculating the trust of a participant, depending upon the previous trust score, feedback, and the performance in terms of commitment to fulfilling the requests made by various participants.

7.2. Increasing Number of Dishonest Participants 10–50%

The effectiveness of T-smart is evaluated under an increasing number of dishonest participants 10 % , 20 % , 30 % , 40 % , and 50 % , with respect to the total number of participants in the SMP, i.e., 30. The results obtained for accuracy, false positive, and false negative, for both T-smart and [8] are discussed in the following.

7.2.1. Detection Accuracy

Figure 3 illustrates the detection accuracy of dishonest nodes for the proposed trust model in comparison with [8]. Our results show that T-smart achieved more than 90 % accuracy under 10 % dishonest nodes, with an increase in the number of dishonest nodes that the detection accuracy degrades; however, even at 50 % dishonest nodes T-smart achieves 63.33 % detection accuracy. Moreover, T-smart managed to achieve 7 % better detection accuracy compared to [8] under varying dishonest nodes.

7.2.2. False Positive and False Negative

The results shown in Figure 4 and Figure 5 illustrate that the proposed trust model managed to achieve low false positives and false negatives at 10 % dishonest participants and, even with 50 % dishonest participants in SMP, the results are within the acceptable range. Moreover, irrespective of the percentage of dishonest nodes, T-smart performs better for both false positives and false negatives compared to [8]. This is due to the ability of T-smart to tackle false information provided by other participants based on the factors described in Section 4.

7.3. Increasing Number of Participants

The effectiveness of T-smart is evaluated under an increasing number of participants 10, 20 and 30, while keeping the percentage of dishonest nodes fixed at 30 % . The results obtained for accuracy, false positive, and false negative for both T-smart and [8] are discussed in the following.

7.3.1. Detection Accuracy

Figure 6 illustrates the detection accuracy of dishonest nodes for the proposed trust model in comparison with [8]. The results show that T-smart achieved more than 80 % accuracy under 10 participants; with an increase in the number of participants, the detection accuracy degrades slightly. However, even at 30 participants, T-smart achieves 76.66 % detection accuracy. Moreover, on average, T-smart managed to achieve 3.9 % better detection accuracy compared to [8] under 30 % dishonest nodes.

7.3.2. False Positive and False Negative

The results shown in Figure 7 and Figure 8 illustrate that, for a small number of participants, i.e., 10, both the T-smart and [8] record only one false positive and false negative. However, with an increase in the number of participants, i.e., 20 and 30, the performance of [8] degrades at higher rate compared to the proposed model.

7.4. Average Computational Cost

The average computational cost for both models is presented in Figure 9. Both the execution and transaction costs are part of the computational cost. The results in Figure 9 show that the cost of T-smart is significantly lower than [8]. The average computational cost of 30 participants in our model is 30.13 % lower than the benchmark model. Generally, the increase in computational cost with an increase in the number of participants is least effected as compared to [8]. This iis due to the elimination of clustering algorithms, which consume more computations and thus increase the gas consumption in [8].

7.5. Average Transaction Latency

The average transaction latency for both models is presented in Figure 10. It can be observed that the T-smart has much lower latency as compared to the benchmark model. Besides this, latency in the T-smart was slightly changed with an increase in the number of participants, whereas that of benchmark model faced a dramatic change. The average latency of 30 participants in our model is 31.74 % lower than the benchmark model. This is because the PoA consensus mechanism is maintained by selected trusted entities, whereas the benchmark model uses proof-of-work (POW), where a miner needed to be selected to add transactions to the blockchain, slowing down the entire process and contributing to a higher latency.

7.6. Satisfaction Level with Respect to Cost

Figure 11 shows the level of satisfaction of the participant (buyer) with respect to the cost (prize) of an individual resource. The simulation results show that, using the T-smart, the buyer participant achieves a higher level of satisfaction compared to the benchmark model. In addition, a seller with a higher trust score in a given resource type(s) (e.g., bandwidth and energy) might not have a good trust score in another resource type e.g., water. However, due to its good reputation in bandwidth and energy, the seller can achieve a high overall trust score and a higher profit. Figure 11 shows that the level of satisfaction increases with the increase in resource costs (prize). This is due to a higher tendency that a high-trust scored seller in a particular resource would tend to maximize its profit while maintaining a higher level of satisfaction. This is due to its high level of satisfaction, which has led to the attraction of a high number of buyers. While selling the same resources at cheaper rates may not provide better satisfaction.

8. Discussions

This section emphasizes our model’s contribution to theory and the business world. Additionally, it discusses how traders can utilize the study findings to enhance and protect their business. Furthermore, the section discusses how academics can incorporate a conceptual model into theory creation and how the findings contribute to theory development.

8.1. Business Environment

Proposed model is focused on aligning the decentralized business model and blockchain-related technologies with the requirements of various business problems in the domain of trust and security. It has been shown that the basic business processes underlying different smart markets and IoT-based smart environments can be readily implemented utilizing blockchain technology, which can then assist in managing trust while guaranteeing fairness and dependability. The work is relevant to the developing area of blockchain applications and may be of interest to academics and theorists interested in studying blockchain processes for value creation. Additionally, this will influence how traders interact during trading operations. Besides, this will have a long-term transformative effect on the market’s structure and trust management. While researching new rules that may alleviate the burden of utilizing and supporting two distinct trust management systems, traders and officials can leverage them to their advantage and work to increase the profits and capabilities during trading cycles.

8.2. Useability

SMPs should transition away from information sharing and data management throughout the trading cycle and toward commodity-based, resource-specific trust ratings and participant assistance during the trading cycle. Due to the difficulty of developing trust-based trading systems with complex algorithms, new SMPs based on trust management must prioritize providing participants with reliable trading opportunities or technological advancements in efficient trading processes. This work demonstrated how blockchain technology can be used to provide a realistic solution for trust-management-based trade cycles by using participants’ unique trust ratings for each resource. Additionally, the study demonstrates blockchain’s potential contribution to trust management and its associated benefits. As smart market participants are always on the lookout for more effective means of managing trust, this innovation transformation makes sense from an SMP perspective.

8.3. Limitations

This research has two fundamental scalability constraints. The first is that the suggested model was evaluated on a small sample size. The second relates to the architectural design of the blockchain. Additional constraints include the model’s limited consideration of dishonest attacks.
Malicious conduct in the context of resource trade is complicated and is influenced by a variety of variables. Thus, in the future, it will be subject to more thorough research on participant behavior linked to trust during the trading cycle in a blockchain network environment. Another area of future study that has been explored is determining the variables that affect user behavior on blockchain-based trading platforms. Besides, the proposed model’s effect on human behavior in a large trading environment can only be proven via the model’s fundamental functions and components being technically feasible.
Scalability is the primary constraint on blockchain technology. As general solutions for enhancing the scalability of blockchain technology are being developed, it is reasonable to anticipate that these solutions might be applicable to the trust management area as well. Thus, future research should prioritize addressing the problem of scalability.

9. Conclusions

This work proposes a blockchain-based, semi-distributed trust management mechanism for participants in a smart marketplace SMP. In the considered environment, participants can trade multiple resources with each other by considering their trust scores. T-smart helps to determine the trust score of participants based on several factors, such as previous trust score, feedback and commitment. In addition, the T-smart provides a resource-specific trust-score-computing mechanism that reveals the level of satisfaction each participant has recorded in a given resource type. In comparison, T-smart provides a scalable solution for SMP using blockchain technology with a PoA consensus mechanism that is effectively contrary to the benchmark model. Besides this, we have demonstrated the resilience and robustness of T-smart against bad-mouthing and ballot-stuffing attacks through security analysis. The results indicate that T-smart achieved 7% better accuracy, 30.13% lower computational cost and 31.74% less latency as compared to the benchmark model. The model is more effective than other models in establishing a participant’s trust during trading activities. Each participant is able to ascertain which party is more trustworthy before deciding on a transaction. Additionally, the model is resilient against bad-mouthing and ballot-stuffing attacks. In future we aim to extend the scalability of our model to a higher number of participants and develop a countermeasure strategy by designing more effective algorithms for other dishonest attacks using multiple machine-learning techniques.

Author Contributions

Conceptualization, M.W. and M.I.K.; Data curation, B.M.Y.; Formal analysis, B.M.Y.; Support acquisition, R.L.; Investigation, M.W. and B.M.Y.; Methodology, M.W. and B.M.Y.; Project administration, B.M.Y., M.I.K. and S.L.; Resources, M.W., R.L. and M.I.K.; Software, M.W. and B.M.Y.; Supervision, M.I.K.; Validation, M.W. and B.M.Y.; Writing—original draft, M.W., B.M.Y. and S.L.; Writing—review & editing, R.L., M.I.K. and S.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

https://github.com/MuhammadWaleed77/T-Smart accessed on 1 September 2021.

Acknowledgments

This work was supported by the Artificial Intelligence and Data Analytics Lab (AIDA) CCIS, Prince Sultan University, Riyadh, Saudi Arabia. Authors are thankful for the support.

Conflicts of Interest

The authors declare no conflict of interest. Similarly, the supporters had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Yakubu, B.M.; Khan, M.I.; Javaid, N.; Khan, A. Blockchain-based secure multi-resource trading model for smart marketplace. Computing 2021, 103, 379–400. [Google Scholar] [CrossRef]
  2. Buterin, V. Ethereum White Paper. Etherum. 2014. Available online: http://buyxpr.com/build/pdfs/EthereumWhitePaper.pdf (accessed on 2 February 2021).
  3. Krishnamachari, B.; Power, J.; Kim, S.H.; Shahabi, C. I3: An IoT Marketplace for Smart Communities. 2018, pp. 9–10. Available online: https://dl.acm.org/doi/10.1145/3210240.3223573 (accessed on 7 February 2021).
  4. Aitzhan, N.Z.; Svetinovic, D. Security and Privacy in Decentralized Energy Trading Through Multi-Signatures, Blockchain and Anonymous Messaging Streams. IEEE Trans. Dependable Secur. Comput. 2018, 15, 840–852. [Google Scholar] [CrossRef]
  5. Khan, M.A.; Salah, K. IoT security: Review, blockchain solutions, and open challenges. Futur. Gener. Comput. Syst. 2018, 82, 395–411. [Google Scholar] [CrossRef]
  6. Yu, Y.; Li, Y.; Tian, J.; Liu, J. Blockchain-Based Solutions to Security and Privacy Issues in the Internet of Things. IEEE Wirel. Commun. 2018, 25, 12–18. [Google Scholar] [CrossRef]
  7. Kouicem, D.E.; Imine, Y.; Bouabdallah, A.; Lakhlef, H. A Decentralized Blockchain-Based Trust Management Protocol for the Internet of Things. IEEE Trans. Dependable Secur. Comput. 2020, 5971, 1–14. [Google Scholar] [CrossRef]
  8. Fortino, G.; Messina, F.; Rosaci, D.; Sarne, G.M.L. Using Blockchain in a Reputation-Based Model for Grouping Agents in the Internet of Things. IEEE Trans. Eng. Manag. 2019, 67, 1231–1243. [Google Scholar] [CrossRef]
  9. Chen, I.-R.; Guo, J.; Bao, F. Trust Management for SOA-Based IoT and Its Application to Service Composition. IEEE Trans. Serv. Comput. 2016, 9, 482–495. [Google Scholar] [CrossRef] [Green Version]
  10. Guo, L.; Zhang, C.; Fang, Y. A Trust-Based Privacy-Preserving Friend Recommendation Scheme for Online Social Networks. IEEE Trans. Dependable Secur. Comput. 2014, 12, 413–427. [Google Scholar] [CrossRef]
  11. Meng, X.; Liu, D. GeTrust: A Guarantee-Based Trust Model in Chord-Based P2P Networks. IEEE Trans. Dependable Secur. Comput. 2018, 15, 54–68. [Google Scholar] [CrossRef]
  12. Su, Z.; Liu, L.; Li, M.; Fan, X.; Zhou, Y. ServiceTrust: Trust management in service provision networks. In Proceedings of the IEEE 10th International Conference on Services Computing, SCC 2013, Santa Clara, CA, USA, 28 June–3 July 2013. [Google Scholar]
  13. Fortino, G.; Messina, F.; Rosaci, D.; Sarné, G.L. Using trust and local reputation for group formation in the Cloud of Things. Future Gener. Comput. Syst. 2018, 89, 804–815. [Google Scholar] [CrossRef]
  14. Fotia, L.; Messina, F.; Rosaci, D.; Sarné, G.M. Using Local Trust for Forming Cohesive Social Structures in Virtual Communities. Comput. J. 2017, 60, 1–11. [Google Scholar] [CrossRef]
  15. Di Pietro, R.; Salleras, X.; Signorini, M.; Waisbard, E. A blockchain-based trust system for the internet of things. In Proceedings of the ACM Symposium on Access Control Models and Technologies, SACMAT, Indianapolis, IN, USA, 13–15 June 2018. [Google Scholar]
  16. Alexopoulos, N.; Daubert, J.; Muhlhauser, M.; Habib, S.M. Beyond the hype: On using blockchains in trust management for authentication. In Proceedings of the IEEE International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom), Sydney, NSW, Australia, 1–4 August 2017; pp. 546–553. [Google Scholar]
  17. Yang, Z.; Yang, K.; Lei, L.; Zheng, K.; Leung, V.C.M. Blockchain-Based Decentralized Trust Management in Vehicular Networks. IEEE Internet Things J. 2019, 6, 1495–1505. [Google Scholar] [CrossRef]
  18. Shaikh, R.A.; Jameel, H.; d’Auriol, B.J.; Lee, H.; Lee, S.; Song, Y.J. Group-based trust management scheme for clustered wireless sensor networks. IEEE Trans. Parallel Distrib. Syst. 2009, 20, 1698–1712. [Google Scholar] [CrossRef]
  19. Guo, J.; Chen, I.-R.; Tsai, J.J.P. A Mobile Cloud Hierarchical Trust Management Protocol for IoT Systems. In Proceedings of the 5th IEEE International Conference on Mobile Cloud Computing, Services, and Engineering, MobileCloud 2017, San Francisco, CA, USA, 6–8 April 2017. [Google Scholar]
  20. Hassan, H.; El-Desouky, A.I.; Ibrahim, A.; El-Kenawy, E.S.M.; Arnous, R. Enhanced QoS-Based Model for Trust Assessment in Cloud Computing Environment. IEEE Access 2020, 8, 43752–43763. [Google Scholar] [CrossRef]
  21. Bordel, B.; Alcarria, R.; Martín, D.; Sánchez-Picot, Á. Trust provision in the internet of things using transversal blockchain networks. Intell. Autom. Soft Comput. 2019, 25, 155–170. [Google Scholar] [CrossRef]
  22. Afonasova, M.; Panfilova, E.; Galichkina, M.A.; Ślusarczyk, B. Digitalization in Economy and Innovation: The Effect on Social and Economic Processes. Pol. J. Manag. Stud. 2019, 19, 22–32. [Google Scholar] [CrossRef]
  23. Nathan, R.J.; Victor, V.; Gan, C.L.; Kot, S. Electronic commerce for home-based businesses in emerging and developed economy. Eurasian Bus. Rev. 2019, 9, 463–483. [Google Scholar] [CrossRef]
  24. Lahkani, M.J.; Wang, S.; Urbański, M.; Egorova, M. Sustainable B2B E-Commerce and Blockchain-Based Supply Chain Finance. Sustainability 2020, 12, 3968. [Google Scholar] [CrossRef]
  25. Longo, R.; Podda, A.S.; Saia, R. Analysis of a Consensus Protocol for Extending Consistent Subchains on the Bitcoin Blockchain. Computing 2020, 8, 67. [Google Scholar] [CrossRef]
  26. Saia, R.; Carta, S.; Recupero, D.R.; Fenu, G. Internet of entities (IoE): A blockchain-based distributed paradigm for data exchange between wireless-based devices. In Proceedings of the SENSORNETS 2019—Proceedings 8th International Conference Sensor Networks, Prague, Czech Republic, 26–27 February 2019; pp. 77–84. [Google Scholar] [CrossRef]
  27. Rosaci, D.; Sarné, G.M.; Garruzzo, S. Integrating trust measures in multiagent systems. Int. J. Intell. Syst. 2012, 27, 1–15. [Google Scholar] [CrossRef]
  28. Guo, J.; Chen, I.-R.; Tsai, J.J. A survey of trust computation models for service management in internet of things systems. Comput. Commun. 2017, 97, 1–14. [Google Scholar] [CrossRef]
  29. Ahmed, A.I.A.; Ab Hamid, S.H.; Gani, A.; Khan, S.; Khan, M.K. Trust and reputation for Internet of Things: Fundamentals, taxonomy, and open research challenges. J. Netw. Comput. Appl. 2019, 145. [Google Scholar] [CrossRef]
  30. Resnick, P.; Zeckhauser, R.; Friedman, E.; Kuwabara, K. Reputation systems. Commun. ACM 2000, 43, 45–48. [Google Scholar] [CrossRef]
  31. Hendrikx, F.; Bubendorfer, K.; Chard, R. Reputation systems: A survey and taxonomy. J. Parallel Distrib. Comput. 2015, 75, 184–197. [Google Scholar] [CrossRef]
  32. Nitti, M.; Girau, R.; Atzori, L.; Pilloni, V. Trustworthiness management in the IoT: The importance of the feedback. In Proceedings of the 2017 20th Conference on Innovations in Clouds, Internet and Networks, ICIN 2017, Paris, France, 7–9 March 2017. [Google Scholar]
  33. Ben Saied, Y.; Olivereau, A.; Zeghlache, D.; Laurent, M. Trust management system design for the Internet of Things: A context-aware and multi-service approach. Comput. Secur. 2013, 39, 351–365. [Google Scholar] [CrossRef]
  34. Al-Hamadi, H.; Chen, I.-R.; Cho, J.-H. Trust Management of Smart Service Communities. IEEE Access 2019, 7, 26362–26378. [Google Scholar] [CrossRef]
  35. Yu, B.; Wright, J.; Nepal, S.; Zhu, L.; Liu, J.; Ranjan, R. Trust chain: Establishing trust in the iot-based applications ecosystem using blockchain. IEEE Cloud Comput. 2018, 5, 12–23. [Google Scholar] [CrossRef]
  36. Nitti, M.; Girau, R.; Atzori, L. Trustworthiness Management in the Social Internet of Things. IEEE Trans. Knowl. Data Eng. 2014, 26, 1253–1266. [Google Scholar] [CrossRef]
  37. Kim, T.-H.; Goyat, R.; Rai, M.K.; Kumar, G.; Buchanan, W.J.; Saha, R.; Thomas, R. A Novel Trust Evaluation Process for Secure Localization Using a Decentralized Blockchain in Wireless Sensor Networks. IEEE Access 2019, 7, 184133–184144. [Google Scholar] [CrossRef]
  38. Kochovski, P.; Gec, S.; Stankovski, V.; Bajec, M.; Drobintsev, P.D. Trust management in a blockchain based fog computing platform with trustless smart oracles. Futur. Gener. Comput. Syst. 2019, 101, 747–759. [Google Scholar] [CrossRef] [Green Version]
  39. Chen, I.-R.; Bao, F.; Guo, J. Trust-Based Service Management for Social Internet of Things Systems. IEEE Trans. Dependable Secur. Comput. 2016, 13, 684–696. [Google Scholar] [CrossRef] [Green Version]
  40. Breban, S.; Vassileva, J. Using Inter-agent Trust Relationships for Efficient Coalition Formation. In Advances in Artificial Intelligence. Canadian AI 2002; Cohen, R., Spencer, B., Eds.; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2002; Volume 2338. [Google Scholar] [CrossRef]
  41. Metamask. Brings Ethereum to Your Browser. Metamask Chrome Extention. 2019. Available online: https://metamask.io/ (accessed on 28 April 2021).
  42. Rinkeby Transaction Details. 2020. Available online: https://rinkeby.etherscan.io (accessed on 15 March 2020).
Figure 1. System model.
Figure 1. System model.
Jtaer 16 00132 g001
Figure 2. Participants trust value.
Figure 2. Participants trust value.
Jtaer 16 00132 g002
Figure 3. Detection Accuracy with 10–50% dishonest participants.
Figure 3. Detection Accuracy with 10–50% dishonest participants.
Jtaer 16 00132 g003
Figure 4. FP with 10–50% dishonest participants.
Figure 4. FP with 10–50% dishonest participants.
Jtaer 16 00132 g004
Figure 5. FN with 10–50% dishonest participants.
Figure 5. FN with 10–50% dishonest participants.
Jtaer 16 00132 g005
Figure 6. Accuracy with 10–30 participants.
Figure 6. Accuracy with 10–30 participants.
Jtaer 16 00132 g006
Figure 7. FP with 10–30 participants.
Figure 7. FP with 10–30 participants.
Jtaer 16 00132 g007
Figure 8. FN with 10–30 participants.
Figure 8. FN with 10–30 participants.
Jtaer 16 00132 g008
Figure 9. Average Computational Cost.
Figure 9. Average Computational Cost.
Jtaer 16 00132 g009
Figure 10. Average transaction latency.
Figure 10. Average transaction latency.
Jtaer 16 00132 g010
Figure 11. Satisfaction level with respect to cost.
Figure 11. Satisfaction level with respect to cost.
Jtaer 16 00132 g011
Table 1. Symbols with Description.
Table 1. Symbols with Description.
SymbolDescription
N Total number of participant in SMP
zMember of N
σ Percentage of honest participants
m T S p Minimum trust score given to participant p by another participant.
T S p t Trust score given to p by another participant at time t
H , D Subset of honest and dishonest participants.
S Set of honest participants
α Weight of previous trust score
β Weight of individual feedback trust score
γ Weight of aggregated feedback trust score
φ Weight of commitment-based trust
P Predication for a participant
M h ( T S σ ) The mean trust value of an honest participant σ , measured by all participants
M d ( T S d ) The mean trust value of a dishonest participant, measured by all participants
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Waleed, M.; Latif, R.; Yakubu, B.M.; Khan, M.I.; Latif, S. T-Smart: Trust Model for Blockchain Based Smart Marketplace. J. Theor. Appl. Electron. Commer. Res. 2021, 16, 2405-2423. https://doi.org/10.3390/jtaer16060132

AMA Style

Waleed M, Latif R, Yakubu BM, Khan MI, Latif S. T-Smart: Trust Model for Blockchain Based Smart Marketplace. Journal of Theoretical and Applied Electronic Commerce Research. 2021; 16(6):2405-2423. https://doi.org/10.3390/jtaer16060132

Chicago/Turabian Style

Waleed, Muhammad, Rabia Latif, Bello Musa Yakubu, Majid Iqbal Khan, and Seemab Latif. 2021. "T-Smart: Trust Model for Blockchain Based Smart Marketplace" Journal of Theoretical and Applied Electronic Commerce Research 16, no. 6: 2405-2423. https://doi.org/10.3390/jtaer16060132

APA Style

Waleed, M., Latif, R., Yakubu, B. M., Khan, M. I., & Latif, S. (2021). T-Smart: Trust Model for Blockchain Based Smart Marketplace. Journal of Theoretical and Applied Electronic Commerce Research, 16(6), 2405-2423. https://doi.org/10.3390/jtaer16060132

Article Metrics

Back to TopTop