# US 2022/0283789 A1 · Methods and apparatuses for providing a function as a service platform

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283789 A1
- Document ID: US20220283789A1
- Status: Published application
- Kind: A1
- Application number: 17/637,261
- Filed: 2019-08-23
- Published: 2022-09-08
- Earliest claimed: 2019-08-23
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Vinay YADHAV; Joacim HALÉN; Amardeep MEHTA
- Web page: https://patentgrep.com/patent/US20220283789A1

## CPC

- G06F 8/36: Software reuse
- G06F 9/4484: {Executing subprograms}
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments described herein provide methods and apparatuses for enabling use of functions in a function as a service platform by third party developers. A method comprises storing in a function catalogue one or more function descriptions associated with one or more respective functions available for use by third party developers, wherein each function description comprises an intent and a function name of the respective function; receiving a function call from a first function developer comprising an indication of a first intent; and selecting a first function description from the function catalog that matches the first intent.

## Claims

### Claim 1

A method for enabling use of functions in a function as a service platform by third party developers, the method comprising:
storing in a function catalogue one or more function descriptions associated with one or more respective functions available for use by third party developers, wherein each function description comprises an intent and a function name of the respective function;
receiving a function call from a first function developer comprising an indication of a first intent; and
selecting a first function description from the function catalog that matches the first intent.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
calling the first function using a first function name in the first function description and one or more input parameters indicated in the function call;
receiving an output from the first function; and
transmitting the output to the first function developer.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving function source code of a second function from a second function developer, wherein the function source code comprises a second intent of the second function and a function name;
extracting the second intent from the function source code; and
storing a second function description comprising the second intent and the function name in the function catalogue.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
searching for a keyword in the function source code indicating that the second function is to be made available to other function developers; and
performing the steps of extracting and storing in response to the function source code comprising the keyword.

### Claim 5 (depends on 3)

The method of claim 3, wherein
function source code further comprises an indication of one or more input parameter types for the second function and one or more output parameter types of the second function, and
the method further comprises:
extracting one or more input parameter types for the second function and one or more output parameter types of the second function; and
adding the one or more input parameter types for the second function and one or more output parameter types of the second function to the second function description before storing the second function description.

### Claim 6

(canceled)

### Claim 7 (depends on 3)

The method of claim 3, further comprising:
extracting metadata from the function source code relating to use of the second function; and
adding the metadata to the second function description before storing the second function description.

### Claim 8 (depends on 3)

The method of claim 3, wherein the step of storing the second function description comprises:
determining whether the function catalogue already comprises a third function description comprising the second intent;
responsive to determining that the function catalogue comprises a third function description comprising the second intent, storing the second function description alongside the third function description associated with the second intent; and
responsive to determining that the function catalogue does not comprise a third function description comprising the second intent, storing the second function description associated with the second intent.

### Claim 9 (depends on 3)

The method of claim 3, wherein the second intent is expressed according to one or more intent levels of increasingly fine granularity.

### Claim 10 (depends on 1)

The method of claim 1, wherein
the step of selecting the first function comprises: i) finding one or more candidate function descriptions from the function catalogue that match the first intent and ii) selecting the first function description from the one or more candidate function descriptions,
the step of selecting the first function description from the one or more candidate function descriptions comprises testing the one or more candidate function descriptions to check for expected functionality of the one or more candidate function descriptions, and
the step of selecting the first function description from the one or more candidate function descriptions comprises selecting from the first candidate description based on i) metadata in the one or more candidate function descriptions relating to use of the respective functions and ii) one or more constraints in the function call.

### Claim at position 11

11-12. (canceled)

### Claim 13

A function as a service (FaaS) platform for enabling use of functions by third party developers, the FaaS platform comprising processing circuitry configured to:
store in a function catalogue one or more function descriptions associated with one or more respective functions available for use by third party developers, wherein each function description comprises an intent and a function name of the respective function;
receive a function call from a first function developer comprising an indication of a first intent; and
select a first function description from the function catalog that matches the first intent.

### Claim 14 (depends on 13)

The FaaS platform of claim 13, wherein the processing circuitry is further configured to:
call the first function using a first function name in the first function description and one or more input parameters indicated in the function call;
receive an output from the first function; and
transmit the output to the first function developer.

### Claim 15 (depends on 13)

The FaaS platform of claim 13, wherein the processing circuitry is further configured to:
receive function source code of a second function from a second function developer, wherein the function source code comprises a second intent of the second function and a function name;
extract the second intent from the function source code; and
store a second function description comprising the second intent and the function name in the function catalogue.

### Claim 16 (depends on 15)

The FaaS platform of claim 15, wherein the processing circuitry is further configured to:
search for a keyword in the function source code indicating that the second function is to be made available to other function developers; and
perform the steps of extracting and storing in response to the function source code comprising the keyword.

### Claim 17 (depends on 15)

The FaaS platform of claim 15, wherein function source code further comprises an indication of one or more input parameter types for the second function and one or more output parameter types of the second function.

### Claim 18

(canceled)

### Claim 19 (depends on 15)

The FaaS platform as of claim 15, wherein the processing circuitry is further configured to:
extract metadata from the function source code relating to use of the second function; and
add the metadata to the second function description before storing the second function description.

### Claim 20 (depends on 15)

The FaaS platform of claim 15, wherein the processing circuitry is configured to perform the step of storing the second function description by:
determining whether the function catalogue already comprises a third function description comprising the second intent;
responsive to determining that the function catalogue comprises a third function description comprising the second intent, storing the second function description alongside the third function description associated with the second intent; and
responsive to determining that the function catalogue does not comprise a third function description comprising the second intent, storing the second function description associated with the second intent.

### Claim 21 (depends on 15)

The FaaS platform of claim 15, wherein the second intent is expressed according to one or more intent levels of increasingly fine granularity.

### Claim 22 (depends on 13)

The FaaS platform of claim 13, wherein the processing circuitry is configured to perform the step of selecting the first function by:
finding one or more candidate function descriptions from the function catalogue that match the first intent; and
selecting the first function description from the one or more candidate function descriptions.

### Claim 23 (depends on 2)

The FaaS platform of claim 2Z wherein the processing circuitry is configured to perform the step of selecting the first function description from the one or more candidate function descriptions by:
testing the one or more candidate function descriptions to check for expected functionality of the one or more candidate function descriptions.

### Claim 24

(canceled)

### Claim 25 (depends on 1)

A non-transitory computer readable medium storing a computer program comprising instructions which, when executed on at least one processor, cause the at least one processor to carry out the method of claim 1.

### Claim at position 25

26-27. (canceled)
