Instructing the use of application programming interface commands in a runtime environment

US10956232B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10956232-B2
Application numberUS-201916547689-A
CountryUS
Kind codeB2
Filing dateAug 22, 2019
Priority dateJun 7, 2018
Publication dateMar 23, 2021
Grant dateMar 23, 2021

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.

A method, computer system, and a computer program product for instructing the use of application programming interface (API) commands in a runtime environment is provided. The present invention may include receiving, by a computer processor, a source code with a high level language API command. The present invention may include accessing, by a computer processor, metadata for the source code and determining whether the metadata includes an instruction to be applied to the high level language API command, and applying, by a computer processor, the instruction to the high level language API command. The present invention may include processing, by a computer processor, the high level language API command to a low level code using a command translator, wherein the processing occurs after the applying the instruction.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for instructing the use of application programming interface (API) commands in a runtime environment, the method comprising: receiving, by a computer processor, a source code with a high level language API command; accessing, by a computer processor, metadata for the source code; applying, by a computer processor, an instruction included in the metadata to the high level language API command, wherein the instruction applied to the high level language API command includes issuing a warning message relating to some, but not all, parameters of the high level language API command; and processing, by a computer processor, the high level language API command to a low level code using a command translator based, at least in part, on the metadata. 2. The method of claim 1 , wherein disallowing the high level language API command instructs the command translator not to translate the high level language API command resulting in no valid code in the runtime environment for the API command, and wherein allowing the high level language API command instructs the command translator to activate a switched oft API command in the source code resulting in a valid code in the runtime environment for the high level language API command. 3. The method of claim 1 , wherein issuing a warning message relating to some, but not all, parameters of the high level language API command instructs the command translator to process the high level language API command as normal resulting in a valid code in the runtime environment, for the high level language API command. 4. The method of claim 1 , wherein the instruction provides an alert relating to the high level language API command when processing the high level language API command. 5. The method of claim 1 , wherein the metadata comprises an instruction keyword followed by details of the high level language API command, and determining whether the metadata includes an instruction to be applied to the high level language API command, comprising scanning the metadata to determine whether a keyword identified in the metadata matches the instruction keyword. 6. The method of claim 3 , wherein a command name is a verb and a specified parameter is an adverb or a keyword on which the verb acts. 7. The method of claim 1 , wherein the instruction applied to the high level language API command includes an instruction keyword identifying the instruction in relation to an identified API command. 8. The method of claim 1 , wherein processing the high level language API command further comprises translating the high level language API command to a statement call in a runtime environment language. 9. The method of claim 1 , further comprising: generating metadata relating to the high level language API command in the source code by specifying an instruction for the high level language API command with a selected parameter. 10. The method of claim 9 , wherein the generated metadata is generated by an owner of a runtime environment in which the instructions are applied to control a granularity of the high level language API command used in the runtime environment. 11. A computer system for instructing the use of application programming interface (API) commands in a runtime environment, comprising: one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage medium, and program instructions stored on at least one of the one or more tangible storage medium for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising: receiving, by a computer processor, a source code with a high level language API command; accessing, by a computer processor, metadata for the source code; applying, by a computer processor, an instruction included in the metadata to the high level language API command, wherein the instruction applied to the high level language API command includes issuing a warning message relating to some, but not all, parameters of the high level language API command; and processing, by a computer processor, the high level language API command to a low level code using a command translator based, at least in part, on the metadata. 12. The computer system of claim 11 , further comprising a metadata store of metadata provided for the source code including instructions to be applied to API commands. 13. The computer system of claim 11 , wherein disallowing the high level language API command instructs the command translator not to translate the high level language API command resulting in no valid code in the runtime environment for the API command, and wherein allowing the high level language API command instructs the command translator to activate a switched off API command in the source code resulting in a valid code in the runtime environment for the high level language API command. 14. The computer system of claim 11 , wherein issuing a warning message relating to some, but not all, parameters of the high level language API command instructs the command translator to process the high level language API command as normal resulting in a valid code in the runtime environment for the high level language API command. 15. The computer system of claim 11 , wherein the instruction provides an alert relating to the high level language API command when processing the high level language API command. 16. The computer system of claim 11 , further comprising: generating metadata relating to the high level language API command in the source code by specifying an instruction for the high level language API command with a selected parameter. 17. The computer system of claim 11 , wherein a command processing component translates an API command to a statement call in a runtime environment language. 18. A computer program product for instructing the use of application programming interface (API) commands in a runtime environment, comprising: one or more computer-readable storage media and program instructions stored on at least one of the one or more tangible storage media, the program instructions executable by a processor to cause the processor to perform a method comprising: receiving, by a computer processor, a source code with a high level language API command; accessing, by a computer processor, metadata for the source code; applying, by a computer processor, an instruction included in the metadata to the high level language API command, wherein the instruction applied to the high level language API command includes issuing a warning message relating to some, but not all, parameters of the high level language API command; and processing, by a computer processor, the high level language API command to a low level code using a command translator based, at least in part, on the metadata.

Assignees

Inventors

Classifications

  • G06F9/54Primary

    Interprogram communication · CPC title

  • G06F9/541Primary

    via adapters, e.g. between incompatible applications · 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 US10956232B2 cover?
A method, computer system, and a computer program product for instructing the use of application programming interface (API) commands in a runtime environment is provided. The present invention may include receiving, by a computer processor, a source code with a high level language API command. The present invention may include accessing, by a computer processor, metadata for the source code an…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F9/54. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 23 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).