Skip Content
You are currently on the new version of our website. Access the old version .
Future InternetFuture Internet
  • Article
  • Open Access

13 October 2017

Collaborative Web Service Discovery and Recommendation Based on Social Link

and
1
School of Computer, Hubei University of Education, No. 129, Gaoxin Second Road, Wuhan 430205, China
2
School of Information Engineering, Hubei University of Economics, No. 8, Yangqiaohu Ave., Jiangxia Dist., Wuhan 430205, China
*
Author to whom correspondence should be addressed.

Abstract

With the increasing application of web services in varying fields, the demand of effective Web service discovery approaches is becoming unprecedentedly strong. To improve the performance of service discovery, this paper proposes a collaborative Web service discovery and recommendation mechanism based on social link by extracting the latent relationships behind users and services. The presented approach can generate a set of candidate services through a complementary manner, in which service discovery and service recommendation could collaborate according to the formalized social link. The experimental results reveal that the proposed mechanism can effectively improve the efficiency and precision of Web service discovery.

1. Introduction

Web service can realize interoperable interactions between different machines via standard interfaces and communication protocols without the aid of additional third-party software or hardware. As an important innovation in service computing, more and more Web services are developed and published to the Internet. Therefore, service discovery is becoming a critical problem in service application. According to a survey [1], although there are a huge number of services advertised on the Web, about 75% of them have not been used, and only 16% of these services have been discovered or invoked. The main reasons are: most existing discovery methods only consider services as isolated functional islands with no links to related services, and they usually deal with each user and each request in isolation instead of mining and utilizing the latent social relationship among them [2].
To address these problems, in this paper, we propose a new method that differs from existing approaches in that: (1) we pay more attention to the potential social relations between users and services in the whole process of Web service discovery; (2) we redefine and formalize the social link through mining and defining typical link factors; and (3) we present a collaborative mechanism with high flexibility and satisfied performance. In this way, our proposal tackles the opportunity of exploiting social links to improve the performance of service discovery. Experimental results show that compared with similar methods, the proposed method has higher efficiency and precision.
The rest of this paper is organized as follows. Section 2 discusses the application and significance of social information in service discovery. Section 3 details our definitions about link factors and the formalization of social link. A collaborative discovery and recommendation mechanism based on social link is described in Section 4 before conducting the experimental evaluations in Section 5. The conclusion is given in Section 6.

5. Experiment and Analysis

To evaluate the performances of CSDRM, we conducted following experiments, in which we considered three comparison partners: Ant-Algorithm-Based Service Discovery Algorithm (ABSDA) [12], Trustworthy Service Discovery based on Trust and Recommendation relationships (TRTSD) [10] and Random Ergodic Matching (REM) [16]. ABSDA adopts recommendation mechanism in service discovery, TRTSD can reduce the searching path and search trusted services by exploiting trust and recommendation relationships, and they are partly similar to CSDRM on the principles of algorithms. REM is actually a flooding algorithm, and we select it to highlight the comparison effect.

5.1. Experimental Setup

We constructed the same experiment environment with [16], namely, we created 10 different requests, and performed the experiments with service number being [300, 400, 500, 600, 700, 800, 900, 1000] respectively. Eventually, we adopted the average efficiency (ACT) and the average precision (AP) that were defined in [16] as the metrics to compare the four methods. The average completion time refers to the time from matching the service according to the parsed request to returning the list of results, and the average precision can be described as Equation (12):
P a v g = n T n T + n F ¯
where, nT is the number of services that meet user’s requirements in the returned results, and nF is the number of services that cannot fully meet the user’s requirements.

5.2. Parameters Evaluation

From the above analysis, it can be found that the specific values of some parameters will affect the performance of our proposed algorithm. Furthermore, since ω1 is the weight of service name and ω2 is the weight of service operation, in our previous study [2], we have drawn a conclusion that ω1 = 0.3 and ω2 = 0.7 is reasonable. Thus, in order to evaluate the influence and decide the suitable value of these parameters, we compared the average efficiency and the average precision of CSDRM with different values of the key parameters in it. Here, we set RSim0 = 0.4 and k = 5.
Table 1 provides the results of the average efficiency and the average precision of CSDRM with different values of the key parameters. We can observe that the greater the values of parameter SSim0 and parameter USim0, the lower the efficiency and the higher the precision of the algorithm, and in the case of invariant parameter SSim0 and parameter USim0, the higher the value of parameter TDgr0, the higher the efficiency and the less change in precision. On the whole, when SSim0 = 0.5, USim0 = 0.5 and TDgr0 = 0.2, the algorithm can achieve a better balance between efficiency and precision.
Table 1. Comparison with different values of the key parameters in CSDRM.

5.3. Top-k Analysis

To analyze the effect of parameter k on the performance of the algorithms, we define a new precision metric:
P @ k = n k k
where, k is the concrete value of Top-k, and nk is the number of services that meet the user’s requirements in the Top-k services.
In this experiment, we set SSim0 = 0.5, USim0 = 0.5, TDgr0 = 0.2 and RSim0 = 0.4, use the same requests and candidate services, and compare the average precision of the four approaches in the conditions of k = 5, 8 and 10.
Table 2 shows the results of the average precision of the four approaches with different values of k. It can be seen that our proposed method achieves the best precision results among these four approaches from beginning to end. For the synthetic precision, CSDRM achieves 5.05~71.39% improvements. It is also clear that the methods work best when k = 5.
Table 2. Precision comparison of Top-k effect.

5.4. Efficiency and Precision Comparison

We conducted this experiment to compare the efficiency and precision of these four methods, and based on the above analysis, we set ω1 = 0.3, ω2 = 0.7, SSim0 = USim0 = 0.5, e0 = 3, TDgr0 = 0.2, RSim0 = 0.4 and k = 5.
Figure 6 shows the average efficiency. It is obvious that the completion time is getting longer as the number of services increases. Among these four methods, CSDRM costs the shortest completion time from beginning to end. Specifically, compared with the flooding algorithm REM, the completion time of CSDRM is improved by 50.53% on average; compared with the Ant-Algorithm-Based algorithm ABSDA, the completion time is increased by 33.58% on average; and compared with the trust and recommendation based algorithm TRTSD, and the completion time is increased by 29.91% on average. This is because CSDRM can rapidly narrow the scope of matching based on SL, discard irrelevant services. Comparing with the others, it has the minimum number of services required to be matched. The results indicate that CSDRM can improve the efficiency of Web service discovery effectively.
Figure 6. Comparison of efficiency.
Figure 7 describes the result of comparing the average precision of the four approaches. In the best case, CSDRM can achieve the precision of 72.23%. Meanwhile, the best Success Rates of TRTSD and ABSDA are 70.32% and 56.52% respectively, and the highest precision in REM is only 46.52%. Furthermore, when the service quantity is over 500, CSDRM is always the best one in the precision performing. On average, CSDRM improves the percentage of Success Rate by nearly 22% compared to REM. The results reveal that SL can also benefit the precision in Web service discovery.
Figure 7. Comparison of precision.

6. Conclusions

In this paper, we present a collaborative web service discovery and recommendation mechanism grounded on the latent social relationships behind users and services. By defining four link factors, we formalize the social link. Based on it, we further propose two algorithms, which can collaborate to select or recommend a subset of services to meet the requirements of users. The experiment results have demonstrated that our proposed approach is capable of improving the efficiency and precision of Web service discovery. In the future, we plan to extend SL by taking into consideration more specific link factors, so as to make the mechanism more flexible and effective.

Acknowledgments

This work is supported by the Science Research Key Project of the Department of Education in Hubei Province, China under Grant No. D20162202.

Author Contributions

Lijun Duan and Hao Tian conceived and designed the experiments; Lijun Duan performed the experiments; Hao Tian analyzed the data; Lijun Duan contributed analysis tools; Hao Tian wrote the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Jiang, W.; Lee, D.; Hu, S. Large-scale longitudinal analysis of soap-based and restful web services. In Proceedings of the 2012 IEEE 19th International Conference On Web Services (ICWS), Honolulu, HI, USA, 24–29 June 2012; pp. 218–225. [Google Scholar]
  2. Tian, H. Research on User-Centered Web Service Discovery and Its Application in Financial Services; Wuhan University: Wuhan, China, 2014. [Google Scholar]
  3. Yahyaoui, H.; Maamar, Z.; Lim, E.; Thiran, P. Towards a community-based, social network-driven framework for Web services management. Future Gener. Comput. Syst. 2013, 29, 1363–1377. [Google Scholar] [CrossRef]
  4. Maamar, Z.; Faci, N.; Sheng, Q.; Yao, L. Towards a user-centric social approach to Web services composition, execution, and monitoring. In Proceedings of the 13th International Conference on Web Information Systems Engineering, Paphos, Cyprus, 28–30 November 2012; pp. 72–86. [Google Scholar]
  5. Wu, D.; Yan, J.; Wang, H.; Wang, R.Y. Service demand discovery mechanism for mobile social networks. Sensors 2016, 16, 1982. [Google Scholar] [CrossRef] [PubMed]
  6. Chen, W.; Paik, I.; Hung, P.C. Constructing a global social service network for better quality of Web service discovery. IEEE Trans. Serv. Comput. 2015, 8, 284–298. [Google Scholar] [CrossRef]
  7. Kalai, A.; Zayani, C.A.; Amous, I. User’s social profile-based web services discovery. In Proceedings of the IEEE 8th International Conference on Service-Oriented Computing and Applications, Rome, Italy, 19–21 October 2015; pp. 2–9. [Google Scholar]
  8. Kravari, K.; Bassiliades, N. DISARM: A social distributed agent reputation model based on defeasible logic. J. Syst. Softw. 2016, 117, 130–152. [Google Scholar] [CrossRef]
  9. Liu, F.; Wang, L.; Gao, L.; Li, H.; Zhao, H.; Men, S. A Web service trust evaluation model based on small-world networks. Knowl.-Based Syst. 2014, 57, 161–167. [Google Scholar] [CrossRef]
  10. Liu, Y.; Zheng, X.; Chen, D. Trustworthy services discovery based on trust and recommendation relationships. Syst. Eng. Theory Pract. 2012, 32, 2789–2795. [Google Scholar]
  11. Zheng, Z.; Ma, H.; Lyu, M.; King, I. Collaborative Web service QoS prediction via neighborhood integrated matrix factorization. IEEE Trans. Serv. Comput. 2013, 6, 289–299. [Google Scholar] [CrossRef]
  12. Xie, X.; Song, C.; Zhang, Z. A service discovery method based on referral network and ant-colony algorithm. Chin. J. Comput. 2010, 33, 2093–2103. [Google Scholar] [CrossRef]
  13. Zhu, Q.; Sun, Y.Q. Collaborative filtering recommender method based on trust. J. Tsinghua Univ. (Sci. Technol.) 2014, 54, 360–365. [Google Scholar]
  14. Duan, Q. Modeling and delay analysis for converged network-cloud service provisioning systems. In Proceedings of the 2013 International Conference on Computing, Networking, and Communications, San Diego, CA, USA, 28–31 January 2013; pp. 66–70. [Google Scholar]
  15. Pirro, G.; Talia, D.; Trunfio, P. A DHT-based semantic overlay network for service discovery. Future Gener. Comput. Syst. 2012, 28, 689–707. [Google Scholar] [CrossRef]
  16. Tian, H.; Fan, H.; Du, W. Research on Web service discovery based on user community relations. J. Commun. 2015, 36, 28–36. [Google Scholar]

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.