• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (10): 182-185.

• 论文 • Previous Articles     Next Articles

The Weighted Space Distance and Quantitative Selection of Web Services

LI Zhen1,2,WANG Hongbing2   

  1. (1.School of Information Engineering,Jiangsu Maritime Institute,Nanjing 211170;2.School of Computer Science and Engineering,Southeast University,Nanjing 211100,China)
  • Received:2010-04-30 Revised:2010-08-27 Online:2011-10-25 Published:2011-10-25

Abstract:

A web service has many different QoS attributes. Different customers have different preferences on different QoS attributes of a web service. For getting a service which can best fit the customer’s desire, this paper gives a quantitative selection algorithm based on the weighted space distance in the n dimensions. Using the preferences, the algorithm calculates the firstorder weighted space distance of every service, and selects the best service named “a”; If the relative dispersion is greater than or equal to the threshold value, it returns service “a” to the customer. Or else, the algorithm calculates the secondorder weighted space distance of every service, and selects the best service named “b”; if the relative dispersion is greater than or equal to the threshold value, it returns service “b” to the customer. Otherwise the service returns to the customer is the one that has the large relative dispersion. This algorithm can select the best one from web services with the same performance, which sufficiently indicates the preferences, and thus has its obvious advantage.

Key words: QoS;space distance;web service;selection