Affiliation:
1. School of Information Science and Engineering, Yanshan University, Qinhuangdao 066004, China
2. The Key Laboratory for Software Engineering of Hebei Province, Yanshan University, Qinhuangdao 066004, China
Abstract
Mashups, which combine various web application programming interfaces (APIs) to implement some complex requirements, have grown to be a popular technique for developing service-oriented software. However, recommending suitable cloud APIs for mashup creation is challenging due to the rapidly increasing number of comparable APIs. Many existing mashup-oriented cloud API recommendations focus on functional similarity and ignore functional complementarity, which significantly impacts the accuracy of the recommendation results. Therefore, this paper proposed a feature representation and recommendation method for cloud APIs that fuses both similarity and complementarity. A heterogeneous information network of the cloud API ecosystem was constructed, and the neighbors, based on metapaths, were aggregated using a self-attention mechanism to generate the features of similarity and complementarity for the cloud APIs. Then, the mashup-related attention was utilized to fuse the two features, taking into consideration the varying preferences of different mashups towards similarity and complementarity features of cloud APIs. This fusion resulted in features that align cloud APIs with mashup requirements, which were employed to predict the probability of the mashup invoking a particular candidate cloud API. The proposed method was evaluated on a real dataset, and the results showed that it outperforms the baseline method and enhances the performance of mashup-oriented cloud API recommendations.
Funder
National Natural Science Foundation of China
Natural Science Foundation of Hebei Province China
Science and Technology Research Project of Hebei University
Project of Hebei Key Laboratory of Software Engineering
Subject
Electrical and Electronic Engineering,Computer Networks and Communications,Hardware and Architecture,Signal Processing,Control and Systems Engineering
Reference35 articles.
1. Service-oriented architecture design for small and medium enterprises with infrastructure and cost optimization;Rojas;Procedia Comput. Sci.,2021
2. HyOASAM: A Hybrid Open API Selection Approach for mashup Development;Jiang;Math. Probl. Eng.,2020
3. Zhou, J., Jiang, B., Yang, J., Yang, J., Li, H., Wang, N., and Wang, J. (2022). Service Discovery Method Based on Knowledge Graph and Word2vec. Electronics, 11.
4. Geographic-aware collaborative filtering for web service recommendation;Botangen;Expert Syst. Appl.,2020
5. A Service Recommendation Algorithm Based on Knowledge Graph and Collaborative Filtering;Jiang;IEEE Access,2021