Recommendation engine for application programming interface (api) in a multi-cloud environment

US2022012118A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2022012118-A1
Application numberUS-202016924992-A
CountryUS
Kind codeA1
Filing dateJul 9, 2020
Priority dateJul 9, 2020
Publication dateJan 13, 2022
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The multiplicity of APIs that existing in a multi-cloud environment creates significant complexity for users. It can be unclear which API call should be made for a specific layer. Also, given the different API calls used by different cloud providers, they can be easily confused. Accordingly, embodiments help to reduce this complexity and simplify multi-cloud environments from a developer/user perspective. In one or more embodiments, an API with an error and its error message are captured and used as context-based information to suggest one or more recommendations to a user about how their API call should be made (e.g., to another API, to an alternative cloud provider, or by changing syntax).

First claim

Opening claim text (preview).

What is claimed is: 1 . A computer-implemented method for recommending an application programming interface (API) query, the method comprising: intercepting an error message related to an API query that includes an error that results in the error message being generated following an attempt to execute the API query; responsive to the error message for the API query identifying a field within the API query that contains the error, performing at least one of: using the identified field in the error message to search an API datastore for possible API matches as potential recommendations; and using at least one or more of the non-identified fields in the error message to search the API datastore for possible API matches as potential recommendations; responsive to the error message for the API query not identifying a field within the API query that contains the error, using one or more fields of the API query to search the API datastore for possible API matches as potential recommendations; supplementing the error message with a set of API recommendations from the potential recommendations; and sending the supplemented error message comprising the set of API recommendations for displaying to a user. 2 . The computer-implemented method of claim 1 wherein the set of API recommendations comprises an indicator that there are no API recommendations 3 . The computer-implemented method of claim 1 wherein the step of searching an API datastore for possible API matches as potential recommendations comprising: using text matching to match at least a portion of the API query with the error to one or more other API queries; using a representation of at least a portion of the API and one or more similarity methods to identify one or more API queries that are the same or similar as the API query with the error; or both. 4 . The computer-implemented method of claim 3 wherein the step using a representation of at least a portion of the API and one or more similarity methods to identify one or more API queries that are the same or similar as the API query with the error comprises: converting at least a portion of the API query into one or more representations; and using a similarity comparison to compare one or more of the representations of the API query with representations corresponding to valid APIs stored in the datastore. 5 . The computer-implemented method of claim 1 wherein the set of API recommendations comprises the possible API matches that exceed a threshold level of similarity, that are a top set of matches, or both. 6 . The computer-implemented method of claim 1 wherein the step of intercepting an error message related to an API query that includes an error that results in the error message being generated following an attempt to execute the API query is performed at a proxy layer. 7 . The computer-implemented method of claim 5 wherein the API interface is a cloud API interface and the proxy layer is functionally positioned to intercept the error message before being received by the cloud API interface. 8 . A system comprising: a proxy component that intercepts an error message related to an API query that includes an error that results in the error message being generated following an attempt to execute the API query, passes the error message to recommendation engine, and that sends a supplemented error message comprising a set of API recommendations to a user; and the recommendation engine that received the error message and: responsive to the error message for the API query identifying a field within the API query that contains the error, performing at least one of: using the identified field in the error message to search an API datastore for possible API matches as potential recommendations; and using at least one or more of the non-identified fields in the error message to search the API datastore for possible API matches as potential recommendations; responsive to the error message for the API query not identifying a field within the API query that contains the error, using one or more fields of the API query to search the API datastore for possible API matches as potential recommendations; and wherein the proxy component or the recommendation engine supplements the error message with the set of API recommendations from the potential recommendations. 9 . The system of claim 8 wherein selecting the set of API recommendations includes considering frequency of usage of an API. 10 . The system of claim 8 wherein the step of searching an API datastore for possible API matches as potential recommendations comprising: using text matching to match at least a portion of the API query with the error to one or more other API queries; using a representation of at least a portion of the API and one or more similarity methods to identify one or more API queries that are the same or similar as the API query with the error; or both. 11 . The system of claim 10 wherein the step of using a representation of at least a portion of the API and one or more similarity methods to identify one or more API queries that are the same or similar as the API query with the error comprises: converting at least a portion of the API query into one or more representations; and using a similarity comparison to compare one or more of the representations of the API query with representations corresponding to valid APIs stored in the datastore. 12 . The system of claim 8 wherein the set of API recommendations comprises the possible API matches that exceed a threshold level of similarity, that are a top set of matches, or both. 13 . The system of claim 8 wherein the step of using a representation of at least a portion of the API and one or more similarity methods to identify one or more API queries that are the same or similar as the API query with the error comprises: converting at least a portion of the API query into the representation; and inputting the representation into a trained neural model that using the representation as an input and outputs a set of similar APIs. 14 . A non-transitory computer-readable medium or media comprising one or more sequences of instructions which, when executed by at least one processor, causes steps to be performed comprising: intercepting an error message related to an API query that includes an error that results in the error message being generated following an attempt to execute the API query; responsive to the error message for the API query identifying a field within the API query that contains the error, performing at least one of: using the identified field in the error message to search an API datastore for possible API matches as potential recommendations; and using at least one or more of the non-identified fields in the error message to search the API datastore for possible API matches as potential recommendations; responsive to the error message for the API query not identifying a field within the API query that contains the error, using one or more fields of the API query to search the API datastore for possible API matches as potential recommendations; supplementing the error message with a set of API recommendations from the potential recommendations; and sending the supplemented error message comprising the set of API recommendations for displaying to a user. 15 . The non-transitory computer-readable medium or media of claim 14 wherein the set of API recommendations comprises an indicator that there are no API recommendations 16 . The non-transitory computer-readable medium or media of claim 1

Assignees

Inventors

Classifications

  • Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers · CPC title

  • Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40) · CPC title

  • Presentation of query results · CPC title

  • Grid computing · CPC title

  • Event management; Broadcasting; Multicasting; Notifications · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2022012118A1 cover?
The multiplicity of APIs that existing in a multi-cloud environment creates significant complexity for users. It can be unclear which API call should be made for a specific layer. Also, given the different API calls used by different cloud providers, they can be easily confused. Accordingly, embodiments help to reduce this complexity and simplify multi-cloud environments from a developer/user p…
Who is the assignee on this patent?
Dell Products Lp
What technology area does this patent fall under?
Primary CPC classification G06F11/0772. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Jan 13 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).