# Introduction rust is a well-known concept in everyday life and often serves as a basis for making decisions in complex situations. There are numerous approaches for modeling trust concept in different research fields of computer science, e.g., virtual organizations, mobile and P2P networks, and E-Commerce. The sociologist Diego Gambetta has provided a definition, which is currently shared or at least adopted by many researchers. According to him "Trust is a particular level of the subjective probability with which an agent assesses that another agent or group of agents will perform a particular action, both before he can monitor such action and in a context in which it affects its own action" [1]. E-commerce is seen as an extension of mail and phone order transactions and is gaining popularity. In Ecommerce, business transactions are no longer bound to physical existence, geographic boundaries, time differences or distance barriers. Han and Noh [2] found that several critical failure factors of E-commerce need to be addressed seriously by the industry to ensure that E-commerce usage will continue to grow. The findings are mainly on the dissatisfaction of customers on the unstable E-commerce systems, a low level of personal data security, inconvenience systems, disappointing purchases, unwillingness to provide personal details and mistrust of the technology. Indeed, customers may doubt the quality of the goods as they may find it difficult to engage in a transaction without proper testing, seeing and touching the products. To succeed in the fiercely competitive ecommerce marketplace, businesses must become fully aware of Internet security threats, take advantage of the technology that overcomes them, and win customers' trust. Eighty-five percent of Web users surveyed reported that a lack of security made them uncomfortable sending credit card numbers over the Internet. The merchants who can win the confidence of these customers will gain their loyalty-and an enormous opportunity for expanding market share [3]. In person-to-person transactions, security is based on physical cues. Consumers accept the risks of using credit cards in places like department stores because they can see and touch the merchandise and make judgments about the store. On the Internet, without those physical cues, it is much more difficult to assess the safety of a business. Also, serious security threats have emerged. By becoming aware of the risks of Internet-based transactions, businesses can acquire technology solutions that overcome those risks: Spoofing, Unauthorized Disclosure, Unauthorized Action, Eavesdropping and Data Alteration. In this paper, we are going to propose a newer trust model which is based on fuzzy logic and probabilistic logic. Many trust model developers used "Subjective Logic" for their trust mode. But this subjective model has some problems like: fail to work with uncertain values, lacks of clear mathematical results, etc. Proposed model will solve the problems with "Subjective Logic". In this paper, the mathematical equations are designed such a way that clients and customers can easily understand the output of the model and can take their decision easily, because humans can easily understand fuzzy model's output. The whole paper is divided in following sections: section II describes the related E-Commerce work of the proposed model, Section III describes the proposed model and its output for different modules, section IV # Related Work Several number of ways are there for modeling uncertainty of trust values in the field of trust modeling in Cloud computing and internet based marketing system. [4] But, these models have less capability to derive trustworthiness of a system which are based on knowledge about its components and subsystems. Fuzzy logic was used to provide trust in Cloud computing. Different types of attacks and trust models in service oriented systems, distributed system and so on are designed based on fuzzy logic system [5]. But it models different type of uncertainty known as linguistical uncertainty or fuzziness. In paper [6], a very good model for E-commerce, which is based on fuzzy logic, is presented. But, this model also works with uncertain behavior. Belief theory such as Dempster-Shafer theory was used to provide trust in Cloud computing [7]. But the main drawback of this model is that the parameters for belief, disbelief and uncertainty are dependent on each other. It is possible to model uncertainty using Bayesian probabilities [8] which lead to probability density functions e.g., Beta probability density function. It is also possible to apply the propositional standard operators to probability density functions. But this leads to complex mathematical operations and multidimensional distributions which are also hard to interpret and to visualize. An enhanced model recently being developed for using in Cloud computing is known as Certain Trust. This model evaluates propositional logic terms that are subject to uncertainty using the propositional logic operators AND, OR and NOT [1]. Manchala [9] proposes a model for the measurement of trust variables and the fuzzy verification of E-Commerce transactions. He highlights the fact that trust can be determined by evaluating the factors that influence it, namely risk. He defines cost of transaction, transaction history, customer loyalty, indemnity and spending patterns as the trust variables. But he fails to solve the following problems of E-Commerce: -Suitable variables for outputs, establish relations between variables and fails to support theoretical logics for E-Commerce trust models. Jøsang [10] also works with trust models and work with "Subjective Logic", but this model is fully depended with uncertainty. S. Nefti proposed a model which solves the problem of Manchala and Jøsang, but fails to solves problems related with uncertainty and can't show behavioral probability of a E-Commerce based company. # III. # Proposed Trust Model For E-Commerce Certain Trust Model was constructed for modeling those probabilities, which are subject to uncertainty. This model was designed with a goal of evidence based trust model. Moreover, it has a graphical, intuitively interpretable interface [1] which helps the users to understand the model (Figure 1). The representational model focuses on two crucial issues: a) How trust can be derived from evidence considering context-dependent parameters? b) How trust can be represented to software agents and human users? For the first one, a relationship between trust and evidence is needed. For this, they had chosen a Bayesian approach. It is because it provides means for deriving a subjective probability from collected evidence and prior information [1]. At developing a representation of trust, it is necessary to consider to whom trust is represented. It is easy for a software component or a software agent to handle mathematical representations of trust. For it, Bayesian representation of trust is appropriate. The computational model of Certain Trust proposes a new approach for aggregating direct evidence and recommendations. In general, recommendations are collected to increase the amount of information available about the candidates in order to improve the estimate of their trustworthiness. This recommendation system needs to be integrated carefully for the candidates and for the users and owner of cloud servers. This is called robust integration of recommendations. In order to improve the estimate of the trustworthiness of the candidates, it is needed to develop recommendation system carefully. This is called robust integration of recommendations [1]. A expectation f expresses the assumption about the truth of a proposition in absence of evidence [1]. The equations for these parameters are given below: -Equation for average rating (1) Here, r represents number of positive evidence and s represents number of negative evidence defined by the users or third person review system. Equation for certainty, C = Here, w represents dispositional trust which influences how quickly the final trust value of an entity shifts from base trust value to the relative frequency of positive outcomes and N represents the maximum number of evidence for modeling trust. Using these parameters the expectation value of an opinion E(t, c, f) can be defined as follows: (3) The parameters for an opinion o = (t, c, f) can be assessed in the following two ways: direct access and Indirect access. Certain Trust evaluates the logical operators of propositional logic that is AND, OR and NOT. In this model these operators are defined in a way that they are compliant with the evaluation of propositional logic terms in the standard probabilistic approach. However, when combining opinions, those operators will especially take care of the uncertainty that is assigned to its input parameters and reflect this (un)certainty in the result. The definitions of the operators as defined in the CTM are given in the Table I. # Table 1 : Definition of Operators With the help of these parameters and operators derived from Certain Trust, we have defined two new parameters, Trust T and behavioral probability, P [11]. Trust T is calculated from certainty c and average rating t. the equation is: Trust, T =(4) Here, High scaling value of rating means the upper value of the range of rating. Calculating T, we have applied FAM rule of fuzzy logic for creating a relation between certainty c and average rating t. Trust T represents this relation in percentage such a way that the quality of the product can easily be understood. Another parameter, behavioral probability, P, represents how the present behavior of the system varies from its initially expected value and it is proposed with the help of probabilistic logic. It may be less, equal or higher than the initial expectation given by the system developer or the manager of the office. The equation for P is: Behavioral probability, P =(5) If Tf, higher probability to show expected behavior. If T=f, balanced with the expected behavior. According to Gaussian, the membership function for fuzzy input sets depends on two types of parameter, standard deviation ? and mean c. The equation for membership function is:- f(x; ?; c)= exp(6) Fuzzy inference is the process of formulating the mapping from a given input to an output using fuzzy logic. The mapping then provides a basis from which decisions can be made, or patterns discerned. There are two concepts of fuzzy logic systems. They are:linguistic variables and fuzzy if then else rule. The linguistic variables' values are words and sentences where if then else rule has two parts; antecedents and consequent parts which contain propositions of linguistic variables. Numerical values of inputs are fuzzified into linguistic values, F1, F2??Fn. Here F i denotes the universe of discourse U = U1 * U2 *??.*Un. The output linguistic variables are G1, G2?..Gn. The if-then-else rule can be defined as: - The trust relationships among customers and vendors are hard to assess due to the uncertainties involved. Two advantages of using fuzzy-logic to quantify trust in E-commerce applications are: (1) Fuzzy inference is capable of quantifying imprecise data and quantifying uncertainty in measuring the trust index of the vendors. (2). Fuzzy inference can deal with variable dependencies in the system by decoupling dependable variables. The general trust model proposed by s.nemfi [12] is composed of five modules. Four modules will be used to quantify the trust measure of the four factors identified in our trust model (Existence, Affiliation, Policy and Fulfilment). The fifth module will be the final decision ???? + ????????????? 1 cA?B (c A t A + c B t B -c A c B t A t B ) if c A?B ? 0 t A?B = 0.5 else f A?B = f A + f B -f A f B AN D c A?B = c A + c B -c A c B - (1?????)????(1?????)????+????(1?????)(1?????)???? 1 ????????? t A?B = 1 cA?B (c A c B t A t B + ????(1?????)(1?????)???????? + (1?????)???????? (1?????)???? 1 ????????? )if c A?B ? 0 0.5 else f A?B = f A f B N OT t A = 1 -t A , c A = 1 -c A and f A = 1 -f A © 2013 Global Journals Inc. (US) # Global Journal of Computer Science and Technology Volume XIII Issue II Version I # Experimental Result In this section we are going to show the effects of Fuzzy Based Certain Trust model in the field of E-Commerce Architecture. We have run this model in our lab for several times and have got different types of trust values for different environments. We are going to show two scenarios consisting 100 people each and trying to show the evaluating process of our proposed model. # a) Case Study 1 Let us consider a company, name A, running an online business following our E-Commerce structure. According to Certain Trust Model's operators defined in equation 3, 4, and 5, we know that, the input for this model is r, s, f and w . Let, for any time the input values are r=5, s=2, f=0.5 and w=1 where, number of evidences are N=7. Then, the output values are:average rating t = 0.714 and c=0.724 and then, E = 0.65. Now, for mapping it to our proposed model, we need to modify t. Here, (8) Usually, the scale of rating is 5. Now, the new average rating is t = 0.714*5 = 3.57. Then, the value of parameter Trust, T = ((3.57*0.724)/5)*100 = 51.69%. Let, considering a customer has come to buy some products form Company A website. After completing all his prerequisites for completing a full transaction with this company, he needs to give his recommendation for different steps of 4 modules. Again, considering the previous states of Certain Trust Model, the present condition of Trust Values of the company are given in Table II. V. # Conclusion In this paper, we presented a system based on fuzzy logic based certain trust model to support the evaluation and the quantification of trust in E-commerce. As stated in many trust models, there are other aspects that contribute to the completion of online transactions. This includes the price, the rarity of the item and the experience of the customer. In this paper, we mainly concentrate on the structure of the E-commerce companies and different elements of it. With the help of proposed model, one can easily distinguish between companies and other elements of trust model will also be considered by the clients rating for the companies and for different transactions. We have some new idea to imply in our proposed model in future. Firstly, we want to apply evolutionary algorithm with this model to optimize and design the rules. We want to apply price comparison as a parameter for a product in our model for ensuring accurate trust measuring model for a normal ecommerce website. Secondly, more development of behavioral probability parameter so that it can directly prohibit different types of security breaking questions like Sybil attack, false rating, etc.. At present, this parameter works indirectly with security options. Last of all, we want to work with all the points of E-Commerce architecture in ![results which are worked out in Lab and advantages of the proposed model and section V discusses about the conclusion part of the whole proposed model.II.](image-2.png "") 1![Figure 1 : Block Diagram of Trust modelsThree parameters used in certain logic: average rating t, certainty c, initial expectation f. The average rating t indicates the degree to which past observations support the truth of the proposition. The certainty c indicates the degree to which the average rating is assumed to be representative for the future. The initial](image-3.png "Figure 1 :") 52![???? ?? + ?? = 0 ??.????(??+??)?+??.(??+??) ??(??, ??, ??) = ?? * ?? + (1 ? ??) * ?? O R c A?B = c A + c B -c A c B -????(1?????)????(1?????)+(1?????)???????? (1?????)](image-4.png "??= 0. 5 2 .") 2![??????????(?? = 1,2 ? . ??) R (j) : IF x i ?F 1 j and??and x n ?F n j THEN y ? G j .maker. Figure II describes general trust model for Ecommerce.](image-5.png "2?? 2 ?") 34![Figure 3 : Mapping Surface for Existence Module After getting fuzzy outputs from 4 modules of trust model, we have used them as input for our final module, Merchant trust and have got the membership functions shown in Figure 5 and outputs for different variables shown in Figure 4.](image-6.png "Figure 3 :AFigure 4 :") 5![Figure 5 : Membership Functions for Final Output Merchant Trust](image-7.png "Figure 5 :") ![Journals Inc. (US) Global Journal of Computer Science and Technology Volume XIII Issue II Version I](image-8.png "") ![so that only our proposed model can fulfill all the requirements of customers who rely on online transactions for their business.](image-9.png "") 3AffiliationMembership c=0.9,86.4%70%Now, the Trust Values for Merchant Trust for thist=4.8transaction is T= ((57+39+50.5+42.55)/4) = 47.26%.Portal Deliveryc=0.8, t=4.5 c=0.5,72% 43.5%P = (Now, Behavioral probability of company A is )*100% = 16% Up than base. Consideringt=4.35Base f=1.5. And Behavioral Probability of company B isModule 3 FulfillmentPayment Community Customer Customer Satisfactionc=0.8, t=4.30 c=0.7, t=4.7 c=0.8. t=4.669% 66% 73.6%59.5%P = ( newer client can easily distinguish between these two )*100% = 6% lower than Base. Now, the companies and can take decision easily with which company he will start his deal. The advantages of proposed model over S.NeftiPolicy Module 4Statement Privacy Policyt=4.5 c=0.7,63%61%are given below:Warrantyc=0.5,46%Policyt=4.6Now, the Trust Values for Merchant Trust for thistransaction is T= ((43+70+59.5+61)/4) = 58.375%. So,considering other recommendation systems' trustvalues and previous trust values, the Trust of thecompany will be clustered in medium trust values class.b) Case Studies 2ModuleVariablesValuesTrustFinalNo.ValuesTrustPhysicalc=0.5,38%Existencet=3.8Module 1Peoplec=0.76,64.6%57%ExistencesExistencet=4.25Mandatoryc=0.72,68.4%Existencet=4.75Third Partyc=0.5,45%Endorsementt=4.5Module 2Membershipc=0.9,86.4%39%Affiliationt=4.8Portalc=0.75,63.75%t=4.25Deliveryc=0.46,41%t=4.45Module 3Paymentc=0.6,56.4%50.5Fulfillmentt=4.7%Communityc=0.56,54%Customert=4.86Customerc=0.42.40%Satisfactiont=4.8Module 4 PolicyPolicy Statement Privacyt=3.95 c=0.65,51.65%% 42.55Warrantyc=0.55,36%Policyt=3.26 4Points ofS.Nefti ModelProposed ModelDiscussion5 MembershipNumber of Fuzzy Classes2-3 Membership function, So, lower specificationfunctions, So, classification and specification isHigherDepends onDepends onDependencyUncertain FuzzyCertain FuzzySystemSystemPresent, so presentBehavioral ProbabilityNot Presentcondition can easilyunderstandableMapping in Cloud ArchitectureNot ApplicableFully Applicable E-Commerce Model based on Fuzzy Based Certain Trust Model ## Acknowledgment The authors wish to thank Sebastian Ries, Sheikh MahbubHabib, Max Mühlhäuser and Vijay Varadharajan for their renownable work and thinking. Again, want to thank all the researchers and developers of Trust models for their excellent work which make authors work easier to accomplish. Fuzzy specification rules, according to equation 8, used for Existence module are given below:- With the help of fuzzy linguistic variables, we get the final output of Existence modules given in Figure 3. * Trust in Ubiquitous Computing SRies 2009 Technische University at Darmstadt PhD thesis * Critical Failure Factors that Discourage the Growth of Electronic Commerce KSHan MHNoh International Journal of Electronic Commerce 4 2 1999 * Building an E-Commerce Trust Infrastructure SSL Server Certificates and Online Payment Services Verisign * MohammedAlhamad TharamDillon ElizabethChang ATrust Evaluation Metric for Cloud applications International Journal of Machine Learning and Computing 1 4 October 2011 * A survey of trust and reputation systems for online service Provision AJøsang RIsmail CBoyd Decision Support Systems 43 2 2007 * Learning and Soft computing Vojislav Kecman Google online library 2001 * Smart cheaters do prosper: defeating trust and reputation systems RKerr RCohen AAMAS '09: Proceedings of The 8th International Conference on Autonomous Agents and Multiagent Systems 2009 * Fuzzy sets LZadeh Journal of Information and Control 8 1965 * E-Commerce Trust Metrics and Models DWManchala IEEE Internet Computing March-April 2000 * Modelling Trust in Information Society AJøsang 1998 Trondheim, Norway Department of Telematics, Norwegian University of Science and Technology Ph.D. Thesis * An Advanced Certain Trust Model Using Fuzzy Logic and Probabilistic Logic theory TonnyKawser Wazed Nafi MdShekha Kar MM AHossain Hashem IJACSA 3 11 2012 * NeftiSamia Faridmeziane Khairudinkasiran Fuzzy 2004 Trust Model for E-Commerce