Page 49 - 《软件学报》2025年第5期
P. 49
软件学报 ISSN 1000-9825, CODEN RUXUEW E-mail: jos@iscas.ac.cn
2025,36(5):1949−1973 [doi: 10.13328/j.cnki.jos.007185] [CSTR: 32375.14.jos.007185] http://www.jos.org.cn
©中国科学院软件研究所版权所有. Tel: +86-10-62562563
*
融合潜在联合词与异质关联兼容的 Web API 推荐
胡 强 1,2 , 綦浩泉 1 , 李浩杰 1 , 杜军威 1
1
(青岛科技大学 信息科学技术学院, 山东 青岛 266061)
2
(云南省服务计算重点实验室, 云南 昆明 650221)
通信作者: 杜军威, E-mail: dujunwei@qust.edu.cn
摘 要: 服务描述中包含的应用场景信息有限, 使得以功能相似度计算为主的 Mashup 服务组件 Web API 推荐与
需求预期常存在差异, 功能匹配精确度有待进一步提高. 部分研究者虽利用 Web API 的协作关联提升推荐兼容性,
但忽视了功能关联对 Mashup 服务创建的负反馈影响, 从而限制了推荐多样性的提升. 为此, 提出一种融合潜在联
合词与异质关联兼容的 Mashup 服务的组件 Web API 推荐方法. 该方法为 Mashup 需求和 Web API 提取潜在应用
场景联合词并融入到功能向量的生成中, 进而提高二者功能相似度的匹配精确度, 以获得高质量的候选组件 Web
API 集合. 将功能关联与协作关联建模为异质服务关联, 并利用异质关联兼容替代传统方法中的协作兼容, 以提升
Web API 的推荐多样性. 相较于对比方法, 所提方法在评价指标 Recall、Precision 和 NDCG 上分别提升了
4.17%–16.05%, 4.46%–16.62% 与 5.57%–17.26%, 多样性指标 ILS 降低了 8.22%–15.23%. 冷启动 Web API 推荐的
Recall 与 Precision 指标值分别为非冷启动 Web API 推荐的 47.71% 和 46.58%. 实验结果表明所提方法不仅提升
了 Web API 推荐质量, 而且对冷启动 Web API 具有很好的推荐效果.
关键词: Mashup 服务; 异质关联; Web API 推荐; 多样性
中图法分类号: TP311
中文引用格式 胡强, 綦浩泉, 李浩杰, 杜军威. 融合潜在联合词与异质关联兼容的Web API推荐. 软件学报, 2025,
36(5): 1949–1973. http://www.jos.org.cn/1000-9825/7185.htm
英文引用格式: Hu Q, Qi HQ, Li HJ, Du JW. Web API Recommendation by Fusing Latent Related Words and Heterogeneous
Association Compatibility. Ruan Jian Xue Bao/Journal of Software, 2025, 36(5): 1949–1973 (in Chinese). http://www.jos.org.cn/1000-
9825/7185.htm
Web API Recommendation by Fusing Latent Related Words and Heterogeneous Association
Compatibility
1,2
1
1
HU Qiang , QI Hao-Quan , LI Hao-Jie , DU Jun-Wei 1
1
(College of Information Science and Technology, Qingdao University of Science and Technology, Qingdao 266061, China)
2
(Yunnan Key Laboratory of Service Computing, Kunming 650221, China)
Abstract: The service descriptions provide limited information about application scenarios, creating a gap between Mashup service
component Web API recommendations based on functional similarity calculation and desired expectations. Consequently, there is a need to
enhance the accuracy of function matching. While some researchers utilize collaborative associations among Web APIs to enhance
recommendation compatibility, they overlook the adverse effects of functional associations on Mashup service creation, thereby limiting the
enhancement of recommendation diversity. To address this issue, this study proposes a Web API recommendation method for Mashup
service components that integrates latent related words and heterogeneous association compatibility. The study extracts latent related words
associated with application scenarios for both Mashup requirements and Web APIs, integrating them into the generation of function
* 基金项目: 国家自然科学基金 (61973180); 国家重点研发计划 (2023YFF0612100); 山东省自然科学基金 (ZR2021MF092); 山东省重点
研发计划 (软科学)(2023RKY01009); 云南省服务计算重点实验室开放课题 (YNSC23116)
收稿时间: 2023-09-17; 修改时间: 2023-11-30; 采用时间: 2024-03-27; jos 在线出版时间: 2024-09-11
CNKI 网络首发时间: 2024-09-12