一种基于逻辑推理的高阶互补云API推荐方法

By constructing cloud API interaction graphs and call behavior graphs based on logical reasoning, noise in substitute relationships is eliminated, and higher-order complementary cloud APIs are recommended. This solves the problem of low efficiency in cloud API recommendation in existing technologies and achieves more accurate cloud API recommendation.

CN118277667BActive Publication Date: 2026-07-17YANSHAN UNIV

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
YANSHAN UNIV
Filing Date
2024-04-16
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing cloud API recommendation methods cannot effectively meet developers' needs for recommending high-level complementary cloud APIs, and lack consideration for noise in substitute relationships, resulting in low recommendation efficiency.

Method used

We employ a logic-based reasoning approach, using web crawlers to acquire cloud API ecosystem data. We construct a Mashup application-cloud API interaction graph and a cloud API-cloud API co-call behavior graph. We utilize one-hot encoding and basic logic operators to build a complementary relationship logic reasoning network, eliminating noise in substitute relationships and recommending high-order complementary cloud APIs.

Benefits of technology

By dynamically sensing the relationships between cloud APIs, a list of cloud APIs that complements the overall query set is recommended, improving the accuracy and efficiency of the recommendations and meeting the actual needs of service-oriented software development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118277667B_ABST
    Figure CN118277667B_ABST
Patent Text Reader

Abstract

本发明提供了一种基于逻辑推理的高阶互补云API推荐方法,属于智能软件工程领域,包括获得并解析Mashup应用‑云API历史交互数据及云API功能标签等信息;利用解析后的数据生成Mashup应用‑云API交互图、云API‑云API共同调用行为图。设计投影、合取及取反基本逻辑算子,基于基本逻辑算子设计互补关系逻辑推理网络和非替补关系逻辑推理网络,利用合取逻辑算子整合互补关系逻辑推理网络和非替补关系逻辑推理网络的推理结果,消除替补关系噪声对结果的影响,生成候选云API与查询集的高阶互补概率,按照高阶互补概率从高到低排序生成高阶互补云API列表。本发明通过动态感知查询集中云API之间的关系,从高阶和互补两个角度进行云API推荐,更符合面向服务软件开发实际需求。
Need to check novelty before this filing date? Find Prior Art