IP Library › Granted Patent US 12,198,050
Granted Patent B2
US 12,198,050 · App. 17/304,407 · Granted Jan 14, 2025

Artificial intelligence driven identification of application programming interface relationships

Inventors: Wei Shan (Beijing, CN); Wei Chuan Liu (Beijing, CN); Na Lv (Beijing, CN); Jing Quan (Beijing, CN); Hui Qiu (Beijing, CN); Gu Juan (Beijing, CN)
Assignee: International Business Machines Corporation
G06N3/08G06F9/541G06N3/04
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,198,050
App. No.
17/304,407
Granted
Jan 14, 2025
Kind
B2
Abstract

A computer-implemented method, system, and computer program product for identifying application programming interface relationships of a product. Entity information for the product is generated. The entity information identifies a plurality of entities of the product, attributes of the entities, and relationships between the entities. The plurality of entities include application programming interfaces of the product and other entities of the product. The entity information is processed by a graph attention network to identify degrees of relationships between the application programming interfaces and the entities of the product.

Claims (38)

1. A computer-implemented method of identifying application programming interface relationships of a product, comprising:

generating entity information for the product, wherein the entity information identifies a plurality of entities of the product, attributes of the entities, and relationships between the entities, wherein the plurality of entities comprise application programming interfaces of the product and other entities of the product; and

processing the entity information by a graph attention network to identify degrees of relationships between the application programming interfaces and the entities of the product.

2. The computer-implemented method of claim 1 , wherein the other entities of the product comprise entities selected from the group of entities consisting of functions of the product, users of the product, and business requirements of the product.

3. The computer-implemented method of claim 1 , wherein generating the entity information for the product comprises automatically generating the entity information for the product using an entity builder tool selected from the group of tools consisting of a code scanner, a definition parser, and a natural language processing tool.

4. The computer-implemented method of claim 1 , wherein:

processing the entity information by the graph attention network comprises processing the entity information by the graph attention network to generate an application programming interface relationship network; and

generating correlation values from the application programming interface relationship network, wherein the correlation values indicate the degrees of relationships between the application programming interfaces and the entities of the product.

5. The computer-implemented method of claim 1 , wherein:

the degrees of relationships comprise a first degree of relationship between an application programming interface and a first entity of the product and a second degree of relationship between the first entity of the product and a second entity of the product; and

further comprising using the first degree of relationship and the second degree of relationship to identify a relationship between the application programming interface and the second entity of the product.

6. The computer-implemented method of claim 1 further comprising training the graph attention network using a known relationship between an application programming interface and an entity of the product.

7. The computer-implemented method of claim 1 further comprising using the degrees of relationships between the application programming interfaces and the entities of the product to select test parameters for testing the product.

8. A system for identifying application programming interface relationships of a product, comprising:

an entity builder configured to generate entity information for the product, wherein the entity information identifies a plurality of entities of the product, attributes of the entities, and relationships between the entities, wherein the plurality of entities comprise application programming interfaces of the product and other entities of the product; and

a graph attention network configured to process the entity information to identify degrees of relationships between the application programming interfaces and the entities of the product.

9. The system of claim 8 , wherein the other entities of the product comprise entities selected from the group of entities consisting of functions of the product, users of the product, and business requirements of the product.

10. The system of claim 8 further comprising an entity builder tool configured to generate the entity information for the product automatically.

11. The system of claim 8 , wherein:

the graph attention network is configured to process the entity information to generate an application programming interface relationship network; and

further comprising a relationship extractor configured to generate correlation values from the application programming interface relationship network, wherein the correlation values indicate the levels of relationships between the application programming interfaces and the entities of the product.

12. The system of claim 8 , wherein:

the levels of relationships comprise a first level of relationship between an application programming interface and a first entity of the product and a second level of relationship between the first entity of the product and a second entity of the product; and

further comprising a relationship explorer configured to use the first level of relationship and the second level of relationship to identify a relationship between the application programming interface and the second entity of the product.

13. The system of claim 8 further comprising a trainer configured to train the graph attention network using a known relationship between an application programming interface and an entity of the product.

14. The computer-implemented method of claim 1 further comprising a testing system configured to use the levels of relationships between the application programming interfaces and the entities of the product to select test parameters for testing the product.

15. A computer program product for identifying application programming interface relationships of a product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a device to cause the device to:

generate entity information for the product, wherein the entity information identifies a plurality of entities of the product, attributes of the entities, and relationships between the entities, wherein the plurality of entities comprise application programming interfaces of the product and other entities of the product; and

process the entity information by a graph attention network to identify degrees of relationships between the application programming interfaces and the entities of the product.

16. The computer program product of claim 15 , wherein the other entities of the product comprise entities selected from the group of entities consisting of functions of the product, users of the product, and business requirements of the product.

17. The computer program product of claim 15 , wherein the program instructions are executable by the device to cause the device to:

process the entity information by the graph attention network to generate an application programming interface relationship network; and

generate correlation values from the application programming interface relationship network, wherein the correlation values indicate the degrees of relationships between the application programming interfaces and the entities of the product.

18. The computer program product of claim 15 , wherein:

the degrees of relationships comprise a first degree of relationship between an application programming interface and a first entity of the product and a second degree of relationship between the first entity of the product and a second entity of the product; and

the program instructions are executable by the device to cause the device to use the first degree of relationship and the second degree of relationship to identify a relationship between the application programming interface and the second entity of the product.

19. The computer program product claim 15 , wherein the program instructions are executable by the device to cause the device to train the graph attention network using a known relationship between an application programming interface and an entity of the product.

20. The computer program product of claim 15 , wherein the program instructions are executable by the device to cause the device to use the degrees of relationships between the application programming interfaces and the entities of the product to select test parameters for testing the product.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 21, 2021
From: SHAN, WEI; LIU, WEI CHUAN; LV, NA; QUAN, JING; QIU, HUI; JUAN, GU
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 056603/0416 →
Continuity (1)
Related Publication 20220405567A1 · Dec 22, 2022
References Cited (8)
US 9396046B2 · Laredo · 2016 [cited by examiner]
US 9720812B2 · Rajamanicham et al. · 2017 [cited by applicant]
US 10423519B2 · Andrejko et al. · 2019 [cited by applicant]
US 10853150B1 · Bahrami et al. · 2020 [cited by applicant]
US 20190332667A1 · Williams et al. · 2019 [cited by applicant]
US 20200065160A1 · Park et al. · 2020 [cited by applicant]
US 20210089375A1 · Ghafourifar · 2021 [cited by examiner]
Velickovic et al., “Graph Attention Networks”, Sixth International Conference on Learing Representations (ICLR) 2018, Vancouver, Canada, Apr. 30-May 3, 2018, 12 pages. [cited by applicant]