• No results found

Learning-Based Trust Model for Optimization of Selecting Web Services

N/A
N/A
Protected

Academic year: 2021

Share "Learning-Based Trust Model for Optimization of Selecting Web Services"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)

Selecting Web Services

Janarbek Matai1,2 and Dong Soo Han1, 1

Information and Communications University, P.O.Box 77, Yusong, Daejeon 305-600, Korea

2 Electronics and Telecommunications Research Institute

161 Gajeong-dong, Yuseong-Gu, Daejeon Korea {janarbek,dshan}@icu.ac.kr

Abstract. As the deployment of Web services increases in complex busi-ness application integration, it is becoming inevitable that several Web services may have the same or similar functionalities each holds different Quality of Services(QoS). In this context, it is becoming a challenge for Web services developers to select most pertinent services for their busi-nesses. In this paper, we suggest a novel method so called Trust Model for selecting provider Web services among several similar providers but with different QoS. Our Trust Model is a function of historically gathered and learned QoS values, references or feedbacks from other services and honesty degree of this service. Client Web services satisfaction degree function was devised for checking the satisfaction degree when using our Trust Model. The proposed model is validated with initial result by com-paring two cases: when using our Trust Model for selecting Web services and when not using our Trust Model.

1

Introduction

Web services standards and technologies are expected to contribute in reduc-ing the cost and complexity of application integration within an enterprise and across enterprise boundaries. As the deployment of Web services increases in complex business application integration, it becomes inevitable that several Web services may have the same or similar functionalities each holds different Qual-ity of Services(QoS) [2],[7],[3],[4],[8],[5]. Due to the increasing number of Web services with the same or similar functionalities, it is getting difficult for web services consumers to find most pertinent services for their businesses. When selecting services in either dynamic or static environment, there are some issues Web service clients have to consider such as input-output dependency, semantics of services and QoS requirements of services. Among these issues the last one, QoS requirements of clients, is essential for clients to select their providers wisely [10], [11]. Since the nature of web services is very dynamic, it is hard to predict providers’ QoS without testing. It leads Web services clients to face a question

Corresponding author.

G. Dong et al. (Eds.): APWeb/WAIM 2007, LNCS 4505, pp. 642–649, 2007. c

(2)

of how to select provider web service among the same or similar providers which can able to provide required services that satisfying QoS requirements of client. Moreover, clients, which request the same services may have different perspective on each required QoS of provider Web services. For instance, for the time-critical applications response time of provider is critical for clients regardless of cost of service. On the other hand, in some cases, response time is not so important but cost of service is essential. In other words, clients requiring the same type of service may request different requirements for QoS factos such as response time, availability, cost,...etc. Many researches on selecting services based on QoS met-rics have been performed either in static or in dynamic environments[2],[7],[6]. However, most of the works are still in their immature state. Three approaches such as QoS broker approach, UDDIe and QoS-model are main trends so for. But none of the approaches are able to handle problem of selecting services in dynamic environment where dynamic nature of web services are fully exposed. Proposed approaches for selection of services up to today are lack of follow-ing points: Usfollow-ing reliable historical data, incorporatfollow-ing reliable feedbacks from other services, a technique for motivating client Web services to give feedbacks to their providers and user-preference-awareness feature. Furthermore, there is no universally accepted method for specifying QoS of Web services fully taking into account of dynamic nature of Web services. It incurs additional coding and cost for specifying QoS of Web services with current suggested ways. Currently, QoS can be specified by WSDL file of Web services with additional coding of providers. Specifying QoS in WSDL file has several disadvantages: Firstly, in dy-namic selection of provider Web services, it requires additional WSDL parser for extracting QoS. Secondly, providers needed to update the QoS of their services frequently in order to provide reliable QoS for their consumers.

In this paper, we suggest a mechanism for specifying QoS value of Web ser-vices. The mechanism is based on a model called Trust Model and implemented as QoS Broker Web services. Proposed Trust Model is based on learning expe-riences of past actions of individual Web services and reliable feedbacks from other services to this certain provider Web service. Feedbacks from other clients are checked in order to gather only honest and useful information for later use. In this way, we can collect up to date information about QoS values of provider Web services in reliable manner. In proposed model, each client Web service supposed to give feedback to its providers by our QoS Broker Web services. If client gives really honest and useful feedback its reputation increases otherwise decreases. This technique can be a way to motivate client Web services to give reliable feedbacks to their providers. The usage of QoS Broker Web service is up to clients either to use or not to use. Since our model is independent from other applications it will be easy to use our model with existing approaches as suggested [6]. This paper is organized as follows:

The next section addresses three trends of researches related to proposed ap-proach. Section 3 describes proposed Trust Model in detail. Section 4 illustrates validation method, case study and result of validation. Finally, Section 5 and Section 6 concludes our work and proposes some discussions.

(3)

2

Related Work

QoS Broker based approaches:Yutu et al.,[2] introduced open, fair and dy-namic QoS computation model by means of central QoS registery. Their Broker architecture is human-oriented which means every time a consumer Web ser-vices should give feedback to provider web serser-vices which leads to not collecting reliable feedback data. Gao et al.,[7] used ANN to predict dynamic performance of web services using historically collected data. However, they collected data for evaluating performance of providers which makes the data unreliable. This paper can be good solution only performance evaluation, but still there are holes like customers don’t given a chance to contribute their providers performance. UDDIe based approaches: Ali et al.,[12] introduced UDDIe, extension of UDDI, which has ability to express QoS information by means of blue pages in UDDI. This information allows other Web services to discover Web services based on QoS values. Although, it solves limitation of UDDI their work is missing two points: updating QoS values in blue page and guaranteeing the reliability of QoS values in blue page.

QoS-Model based approaches:Mou et al.,[14] defined extensible QoS model in which authors suggested multifaceted, fuzzy, dynamic and configurable QoS metrics for Web services. They tried to incorporate above characteristics of QoS of Web services with the description language. However, their model requires extra parser for dynamic Web service selection or dynamic web service coor-dination for extracting QoS metrics. Le et al.,[15] presented Quality of Service based service selection and ranking method with reputation management. Al-though they present the idea of discovering dishonest provider which is similar to our idea in come sense, their method is obscure in presenting detailed framework and identifying honest clients from dishonest ones.

3

Learning-Based Trust Model

Our Trust Model,T(x), is a combination of three sub function such asQTM(), MTM()andDH(). T(x,y) ={QTM(x,y), MTM(x,y). ±DH(x)}

QTM(S1,S2) is the function for evaluatingS1 Web services abilities in order to identify how S1 satisfy QoS requirements of requester service S2 based on historically gathered data

MTM(S1,S2) is the function which evaluates how S1 is suitable for the requirements of serviceS2 according to other clients ofS1.

DH(S1) is the function for evaluating reputation of service S1. Basically, DH(S1) calculates the number of honest feedbacks given by S1 to its providers. By incorporating DH(S1) into our Trust Model, web services are motivated to give honest feedbacks.

In general, our Trust Model is defined by following equation 1. T(s1, s2) =ws21 ∗QT M n (s1, s2) +ws22 ∗M T M n (s1, s2) +ws23 ∗DH n (s1) (1)

(4)

When usingT(), users can give weights for requested QoS values from provi-ders. In this way, our framework can provideuser-preference-aware feature.

3.1 QoS Trust Matrix: QTM

Construction of QTM matrix is composed of three steps: In first step, Web services that have similar or same functionalities are grouped. In second step, the quality of service factors for each group are identified. The last step is to construct QTM matrix for each group of Web services. let’s make following two assumptions: First, there are three groups of web services such as A, B and

C. Second, Web service group A has two QoS factors, B group has four QoS factors,C group has three QoS factors. If we construct QTM Matrix for Web services groupB it looks like in figure 1(a). Values of QTM matrix is collected periodically by automatic QoS Broker from provider Web services. Thus, we can make QoS repository for QoS of Web services which is collected historically. For instance, let’s assumeS1 is provider Web service andS2 is requester Web service. ThenQTM function value is calculated as in equation 2.

QT M(S1, S2) = ws2rt RTn r −RTpn RTn p +wcs2∗ Cn r −Cpn Cn p +ws2a An p−Anr An p +ws2r Rn p −Rnr RTn p (2) Where ws2

rt, wcs2, was2, ws2r are respectively weight values for required response time, cost, availability and reliability of requester serviceS2. Meanwhile,RTn

rCrn, An

r, Rnr are normalized response time, cost, availability and reliability of of re-quester serviceS2 andRTn

pCpn, Anp, Rnp are normalized response time, cost, avail-ability and reliavail-ability of serviceS1 in QTM matrix.

3.2 Mutual Trust Matrix: MTM

Each Web service has MTM matrix which is constructed by feedbacks from its client Web services. MTM construction has two steps: In first step, all Web services connected to that specific Web services is identified. In second step, based on client Web services feedback and QoS factors of that Web service MTM matrix is constructed. In general, we collect feedbacks for each provider Web service from its clients. Collected feedbacks are stored in feedback repository or in MTM database. After a some time, our Feedback Manager module which we implemented in QoS Broker, updates MTM matrix with only honest feedbacks. For example, let’s assume that we have identifiedSb1 has four client Web services such asSa1, Sa2, Sc1 andSc2..

Then, all feedbacks given to Sb1 are checked by Feedback Manager module and only honest feedbacks are used to construct MTM matrix or update MTM matrix of Sb1. The MTM matrix for above example is shown in figure 1(b). Following equation evaluates data in MTM matrix for provider Web serviceS1

(5)

Fig. 1. QTM matrix forWSG B and MTM matrix for Web servicesB M T M(S1, S2) = =ws2rt∗RT n r −RTren RTn re +ws2c ∗C n r −Cren Cn re +ws2a ∗A n re−Anr An re +ws2r ∗R n re−Rnr RTn re (3) 3.3 DH: Degree of Honesty

Degree of HonestyDH()is used for evaluating client Web services feedback when constructing MTM Matrix or updating MTM Matrix. DH() function in this work was proposed to identify reputation of Web services based on their honesty de-gree. Identifying reputation and truthfulness in distributed environment is vital research on its own [9], [13]. To simplify our research, we used a normal distri-bution with historically gathered data for identifying truthfulness of feedbacks.

DH()can be(+)or(-)which meansDH()can be a function encouraging client Web services to give only honest feedbacks. TheDH()function for serviceS1 is given in equation 4. DH(S1) =N h RT Nf +N h A Nf +N h R Nf +N h C Nf (4) whereNf is the number of feedbacks given by serviceS1 to other services, and Nh

rt, Nah, Nrh, Nch are number of honest feedbacks given byS1 to response time, availability, reliability and cost of other services.

3.4 QoS Broker Architecture

The proposed architecture in figure 2 has three different phases. In phase one, constructing QTM matrices is the vital task. The first task in phase 1 is to get all available Web services information from UDDI and making WSGs based on their QoS metrics values and functional similarities. The second task in phase 1 is to construct QTM matrices for each group. The third task in phase 1 is to gather QoS values for available Web services by automated Web services monitoring tool. In phase two, there are also three tasks: First, Web services Manager module identifies all interactions between any two Web services. Secondly, Mutual Trust Evaluation module gathers feedbacks from clients for each provider Web services and constructs MTM matrix for each provider Web services. Finally, Trust check module identifies truthfulness of feedback gathered by Mutual Trust Evaluation

(6)

Fig. 2.QoS-broker Architecture

Module. According to feedbacks from clients the MTM matrix updated by only honest feedbacks. At the same time, the clients giving honest feedbacks are rewarded by increasing their value ofDH() function. In phase three, there are two tasks: In first task, client Web service’s required QoS is evaluated and most pertinent provider Web services is returned based on Trust Model. Secondly, any requests from clients(give feedback or to calculate T()) should be handled in phase three. All the functions in our architecture are implemented as Web services. In this way, our approach can be easily used by Web services developer.

4

Validation

In order to show applicability of our method in real life case we have taken a four groups of Web services such as Tour, Ticketing, Banking and Delivering for a case study. Each group may or may not have ten or more than ten member Web services each holding different response time, availability, reliability and cost. Following sequences of tasks performed for each Web services selected from each Web services group(WSG)1.

Client→T our→T icket;T our→Bank→T icket→Delivery→T our. Validation method:Validation was done by comparing two cases: when us-ing our Trust model and when not usus-ing our Trust model. Conventionally, provider Web services is selected among candidate provider Web services based on promised QoS of providers. In our Trust Model, provider Web services is selected based on value calculated byT(x)function. We have applied both con-ventional way and our Trust Model for the case study and identified satisfaction of client Web services by following satisfaction degree equation.

Satisfaction Degree(SD(n)) = n− n i=1 |QoSi required−QoS i provided| QoSi provided (5) 1

(7)

where QoSrequiredi is the ith required QoS factor and QoSprovidedi is provided QoS value forithrequired QoS. IfQoSi

providedapproaches toQoS i

required SD(n) converges ton.

Validation results: We had obtained average satisfaction degree for conven-tional way is 0.61 and the average satisfaction rate when using our Trust Model is 0.701. Although, there are pros and cons in our validation, the initial result is good enough to motivate us to move next step. We consider 0.701 is reasonable result for initial step.

Fig. 3.Graph 1.Satisfaction rate. Conventional way vs. Trust Model

5

Discussion

In this work, we considered dynamic nature of Web services and tried to suggest a novel method for selecting Web services which we consider more trustable than other methods. However, still our work is in its infancy and there are several issues should be discussed in this research.

First issue is the dynamic nature of Web services. Web services may be newly be published or disappeared from UDDI or entirely from the net. Some re-searchers suggested to use Web services monitoring and testing tool for handling this issue. However, if the number of Web services increases to be monitored it decreases the reliability of the tool. Our work suggests to use historically gath-ered data by Web services monitoring tool, feedback andDH(). In this way, we can gather more reliable data and more up to date information.

Secondly, validation was done in local machine with self implemented Web services and artificially generated QoS values. Our result was obtained by taking average result of 400 experiments under different cases (increasing/decreasing overhead of machine).

Thirdly, we used only response time for the validation. Although response time is critical factor, there is also need to consider other QoS factors for our validation. However, our initial validation motivates us to do next validation with multiple QoS factors. Finally, honest feedbacks are identified by historically gathered data which is not wise way. However, for initial research our way to identify honest feedbacks supports our approach.

(8)

6

Conclusion

In this paper, we suggested a mechanism for specifying QoS(Quality of Services) for Web services based on so-called Trust Model. Trust Model is a functionT(x)

where it consists of three sub functions such as QTM(), MTM() and DH().

QTM(), which is a function for evaluating history of certain Web services by using data gathered by Web services monitoring tool.MTM()is a function for evaluating other services references to certain provider Web services. DH() is a function for encouraging and forcing client Web services to give honest feed-backs to their providers. Automatic, learning, dynamic QoS Broker Web services framework is suggested in detail and implemented with some essential functions. Our suggested model is implemented as a Web service and validated with ini-tial result which is showing and supporting our approach. Also, a method for identifying client Web services satisfaction degree in Web services environment is suggested. Finally, proposed approach was validated using client Web services satisfaction degree function with initial feasible result.

References

1. Adel Serhani, Rachida Dissouli, Hafid, Houari Sahraoui, A QoS Broker based ar-chitecture for efficient web services selection, IEEE, Vol.1 (2005), 113- 120. 2. Yutu Liu, Anne .H, Liangzhao Zeng, QoS computation and Policing in Dynamic

web services selection, WWW2004, NY, May, 2004. USA, May 17–20, 2004. pp. 3. Tao You and Kwei-Jay Lin, The Design of QoS Broker Algorithms for QoS-Capable

Web Services, 2004 IEEE, IC on e-Commerce and e-Service, Pages: 17 - 24 4. Tao You and Kwei-Jay Lin, Service Selection Algorithms for Web Services with

End-to-end QoS Constraints, IS and E-Business Management, 3.2(2005): 103-126 5. Dong-Soo Han, Sung Joon, Park, Exception based Dynamic Service Coordination

Framework for Web Services, Florida, Lighthouse Point, 2006.

6. Dong-Soo Han, Sungdoke Lee, Inyoung Ko, A Feedback Based Framework for Semi-Automatic Composition of Web Services, LNCS Vol. 3841,2006

7. Zhengdong Gao; Gengfeng Wu, Combining QoS-based service selection with per-formance prediction, e-Business Engineering, ICEBE 2005. Page(s):611 - 614 8. L. Zeng, B. Boualem, Ngu, A.H.H. Dumas, M. Kalagnanam, J. Chang, H,

QoS-Aware Middleware for Web Services Composition, IEEE, SWE, 30(5): 311-327, 2004 9. Li Xiong Ling Liu , PeerTrust: Supporting Reputation-Based Trust for Peer-to-Peer

Electronic Communities, IEEE Transactions on KDE,Vol. 16, No. 7, 2004 10. Marco Comerio, Flavio De Paoli, Simone Grega, ”Quality Composition in

Web-Service Design,” icdcsw, p. 72, 26th IEEE (ICDCSW’06), 2006.

11. M. Tian, A. Gramm, H. Ritter, J. Schiller: Efficient Selection and Monitoring of QoS-aware Web services with the WS-QoS Framework.(WI’04), Sep.2004, Beijing. 12. Ali ShaikhAli, Omer F. Rana, Rashid Al-Ali, David W. Walker, ”UDDIe: An Ex-tended Registry for Web Services,” saint-w, p. 85, (SAINT’03 Workshops), 2003. 13. Li Xiong, Ling Liu, A Reputation-Based Trust Model For Peer-To-Peer Ecommerce

Communities, IEEE Conference on E-Commerce (CEC’03)”, 2003

14. Mou Yu-jie Cao Jian Zhang Shen-sheng Zhang Jian-hong , Interactive Web service choice-making based on extended QoS model, 5th ICCIT, pp 1130 - 1134 , 2005 15. Le, Hauswirth, Manfred, Aberer, Karl, QoS-based Service Selection and Ranking

References

Related documents

A defendant who can show, with respect to each subsection under section A, that he suffered extreme environmental interference with the ordinary functions of behavioral

The richness of features in the BlueBox architecture such as state maintenance mechanisms, checks on other system calls combined with the checks on file system objects make

We combined the cultivation conditions of nitrogen depletion and dif- ferent phosphorus concentrations with the addition of sodium acetate as the organic carbon source, to increase

This technique can be used with a mutual-capacitance type sensor, typically using a spring as part of the sensor (see Section 4.3.3 “Spring Method” on page 4-12), although

Another goal will be to identify key actors who participate in European projects in order to draw a rough picture of all the potential cooperation possibilities between

The approach used in this analysis differs from previous studies in at least three important respects: (1) vacancy is treated as part of the dependent variable, (2)

Third, the now famous cloud is reducing the time and expense associated with the introduction of innovation (and we still are seeing only the tip of the iceberg), mainly

This research project aims to create an efficient machine learning algorithm for wide-field surveys that can distinguish between microlensing events and other type of stars that