# US 2020/0394555 A1 · Data Structure Tool

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

- Number: US 2020/0394555 A1
- Document ID: US20200394555A1
- Status: Published application
- Kind: A1
- Application number: 16/442,221
- Filed: 2019-06-14
- Published: 2020-12-17
- Earliest claimed: 2019-06-14
- Assignees: Bank of America Corporation
- Applicants: Bank of America Corporation
- Inventors: Sandeep Kumar Chauhan; Srinivasa Rao Dakshinyam
- Web page: https://patentgrep.com/patent/US20200394555A1

## CPC

- G06F 16/355: Creation or modification of classes or clusters
- G06N 20/00: Machine learning
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An apparatus includes a database and a processor. The database stores a set of services, each of which produces outputs when provided inputs. The processor determines a machine learning policy that can be applied to a first service to determine a descriptor file assigned to the service. The first service can produce a first output when provided a first input. The descriptor file includes the first output type and the first input type. The processor applies the machine learning policy to the set of services to determine a set of descriptor files. The processor receives a request from a user for a second service that produces a second output given a second input. The processor then locates a second descriptor file that includes the second output type and the second input type, determines a third service assigned to the descriptor file, and sends the third service to the user.

## Claims

### Claim 1

An apparatus comprising:
a first database configured to store a set of services, each service of the set of services:
comprising a source code file and a piece of metadata, the source code file and the piece of metadata defining a set of input parameters and a set of output parameters; and
configured to produce the set of output parameters in response to receiving the set of input parameters;
a second database; and
a hardware processor configured to:
use a first subset of the set of services to determine a machine learning policy that can be applied to a first service of the set of services to determine a descriptor file assigned to the first service, wherein:
the first service is configured to produce a first output parameter in response to receiving a first input parameter; and
applying the machine learning policy to the first service comprises:
determining a first output type assigned to the first output parameter;
determining a first input type assigned to the first input parameter; and
the descriptor file comprises the first output parameter type and the first input parameter type;
apply the machine learning policy to the set of services to determine a set of descriptor files, each descriptor file of the set of descriptor files assigned to a service of the set of services;
store the set of descriptor files in the second database;
receive a request from a user for a second service configured to produce a second output parameter assigned to a second output type, given a second input parameter assigned to a second input type;
in response to receiving the request from the user for the second service:
locate a second descriptor file of the set of descriptor files comprising the second output type and the second input type;
determine a third service assigned to the second descriptor file; and
send the third service to the user.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein:
each descriptor file of the set of descriptor files further comprises a version number; and
the processor is further configured to:
determine that a fourth set of input parameters and/or a fourth set of output parameters of a fourth service of the set of services have changed, based on a first change to a second source code file and/or a second change to a second piece of metadata of the fourth service, the fourth service assigned to a fourth descriptor file, the fourth descriptor file comprising a first version number;
in response to determining that the fourth set of input parameters and/or the fourth set of output parameters have changed:
apply the machine learning policy to the fourth service to determine a new descriptor file comprising a new set of descriptor information; and
store the new set of descriptor information in the fourth descriptor file under a new version number different from the first version number.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the processor is further configured to:
receive a second request from the user for a fifth service configured to produce a fifth output parameter assigned to a fifth output type, given a fifth input parameter assigned to a fifth input type;
locate a fifth descriptor file of the set of descriptor files comprising the fifth output type and the fifth input type, the fifth output type and the fifth input type located below a second version number;
determine a sixth service assigned to the fifth descriptor file; and
send a second version of the sixth service to the user, the second version of the sixth service assigned to the second version number.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein the processor is further configured to:
determine that a sixth set of input parameters and a sixth set of output parameters of a third version of a seventh service of the set of services have not changed and that a sixth source code file and/or a sixth piece of metadata of the seventh service have changed; and
in response to determining that the sixth set of input parameters and the sixth set of output parameters have not changed and that the sixth source code file and/or the sixth piece of metadata have changed:
determine that the third version of the seventh service was sent to a second user; and
in response to determining that the third version of the seventh service was sent to the second user:
resend the third version of the seventh service to the second user;

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein determining the machine learning policy further comprises implementing a natural language processor to parse each source code file and each piece of metadata of the subset of services to identify potential input parameter language and potential output parameter language.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein determining the machine learning policy further comprises implementing a machine learning classification algorithm to classify the potential input parameter language into a set of input types and to classify the potential output parameter language into a set of output types, the set of input types comprising the first input type and the second input type, the set of output types comprising the first output type and the second output type.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein each service of the set of services is assigned to a producer and sending an eighth service of the set of services to the user comprises creating a contract between the user and a first producer assigned to the eighth service.

### Claim 8

A method comprising:
using a first subset of a set of services to determine a machine learning policy that can be applied to a first service of the set of services to determine a descriptor file assigned to the first service, wherein:
each service of the set of services comprises a source code file and a piece of metadata, the source code file and the piece of metadata defining a set of input parameters and a set of output parameters and each service of the set of services is configured to produce the set of output parameters in response to receiving the set of input parameters;
the first service is configured to produce a first output parameter in response to receiving a first input parameter;
applying the machine learning policy to the first service comprises:
determining a first output type assigned to the first output parameter; and
determining a first input type assigned to the first input parameter; and
the descriptor file comprises the first output parameter type and the first input parameter type;
applying the machine learning policy to the set of services to determine a set of descriptor files, each descriptor file of the set of descriptor files assigned to a service of the set of services;
storing the set of descriptor files in a database;
receiving a request from a user for a second service configured to produce a second output parameter assigned to a second output type, given a second input parameter assigned to a second input type;
in response to receiving the request from the user for the second service:
locating a second descriptor file of the set of descriptor files comprising the second output type and the second input type;
determining a third service assigned to the second descriptor file; and
sending the third service to the user.

### Claim 9 (depends on 8)

The method of claim 8, wherein:
each descriptor file of the set of descriptor files further comprises a version number; and
the method further comprises:
determining that a fourth set of input parameters and/or a fourth set of output parameters of a fourth service of the set of services have changed, based on a first change to a second source code file and/or a second change to a second piece of metadata of the fourth service, the fourth service assigned to a fourth descriptor file, the fourth descriptor file comprising a first version number;
in response to determining that the fourth set of input parameters and/or the fourth set of output parameters have changed:
applying the machine learning policy to the fourth service to determine a new descriptor file comprising a new set of descriptor information; and
storing the new set of descriptor information in the fourth descriptor file under a new version number different from the first version number.

### Claim 10 (depends on 9)

The method of claim 9, wherein the method further comprises:
receiving a second request from the user for a fifth service configured to produce a fifth output parameter assigned to a fifth output type, given a fifth input parameter assigned to a fifth input type;
locating a fifth descriptor file of the set of descriptor files comprising the fifth output type and the fifth input type, the fifth output type and the fifth input type located below a second version number;
determining a sixth service assigned to the fifth descriptor file; and
sending a second version of the sixth service to the user, the second version of the sixth service assigned to the second version number.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
determining that a sixth set of input parameters and a sixth set of output parameters of a third version of a seventh service of the set of services have not changed and that a sixth source code file and/or a sixth piece of metadata of the seventh service have changed; and
in response to determining that the sixth set of input parameters and the sixth set of output parameters have not changed and that the sixth source code file and/or the sixth piece of metadata have changed:
determining that the third version of the seventh service was sent to a second user; and
in response to determining that the third version of the seventh service was sent to the second user:
resending the third version of the seventh service to the second user;

### Claim 12 (depends on 8)

The method of claim 8, wherein determining the machine learning policy further comprises implementing a natural language processor to parse each source code file and each piece of metadata of the subset of services to identify potential input parameter language and potential output parameter language.

### Claim 13 (depends on 12)

The method of claim 12, wherein determining the machine learning policy further comprises implementing a machine learning classification algorithm to classify the potential input parameter language into a set of input types and to classify the potential output parameter language into a set of output types, the set of input types comprising the first input type and the second input type, the set of output types comprising the first output type and the second output type.

### Claim 14 (depends on 8)

The method of claim 8, wherein each service of the set of services is assigned to a producer and sending an eighth service of the set of services to the user comprises creating a contract between the user and a first producer assigned to the eighth service.

### Claim 15

A system comprising:
a first storage element operable to store a set of services, each service of the set of services:
comprising a source code file and a piece of metadata, the source code file and the piece of metadata defining a set of input parameters and a set of output parameters;
configured to produce the set of output parameters in response to receiving the set of input parameters; and
assigned to a producer;
a second storage element; and
a processing element operable to:
use a first subset of the set of services to determine a machine learning policy that can be applied to a first service of the set of services to determine a descriptor file assigned to the first service, wherein:
the first service is configured to produce a first output parameter in response to receiving a first input parameter; and
applying the machine learning policy to the first service comprises:
determining a first output type assigned to the first output parameter;
determining a first input type assigned to the first input parameter; and
the descriptor file comprises the first output parameter type and the first input parameter type;
apply the machine learning policy to the set of services to determine a set of descriptor files, each descriptor file of the set of descriptor files assigned to a service of the set of services;
store the set of descriptor files in the second storage element;
receive a request from a user for a second service configured to produce a second output parameter assigned to a second output type, given a second input parameter assigned to a second input type;
in response to receiving the request for the user for the second service:
locate a second descriptor file of the set of descriptor files comprising the second output type and the second input type;
determine a third service assigned to the second descriptor file; and
send the third service to the user, wherein sending the third service to the user comprises creating a contract between the user and a first producer assigned to the third service.

### Claim 16 (depends on 15)

The system of claim 15, wherein:
each descriptor file of the set of descriptor files further comprises a version number; and
the processing element is further operable to:
determine that a fourth set of input parameters and/or a fourth set of output parameters of a fourth service of the set of services have changed, based on a first change to a second source code file and/or a second change to a second piece of metadata of the fourth service, the fourth service assigned to a fourth descriptor file, the fourth descriptor file comprising a first version number;
in response to determining that the fourth set of input parameters and/or the fourth set of output parameters have changed:
apply the machine learning policy to the fourth service to determine a new descriptor file comprising a new set of descriptor information; and
store the new set of descriptor information in the fourth descriptor file under a new version number different from the first version number.

### Claim 17 (depends on 16)

The system of claim 16, wherein the processing element is further operable to:
receive a second request from the user for a fifth service configured to produce a fifth output parameter assigned to a fifth output type, given a fifth input parameter assigned to a fifth input type;
locate a fifth descriptor file of the set of descriptor files comprising the fifth output type and the fifth input type, the fifth output type and the fifth input type located below a second version number;
determine a sixth service assigned to the fifth descriptor file; and
send a second version of the sixth service to the user, the second version of the sixth service assigned to the second version number.

### Claim 18 (depends on 16)

The system of claim 16, wherein the processing element is further operable to:
determine that a sixth set of input parameters and a sixth set of output parameters of a third version of a seventh service of the set of services have not changed and that a sixth source code file and/or a sixth piece of metadata of the seventh service have changed; and
in response to determining that the sixth set of input parameters and the sixth set of output parameters have not changed and that the sixth source code file and/or the sixth piece of metadata have changed:
determine that the third version of the seventh service was sent to a second user; and
in response to determining that the third version of the seventh service was sent to the second user:
resend the third version of the seventh service to the second user;

### Claim 19 (depends on 15)

The system of claim 15, wherein determining the machine learning policy further comprises implementing a natural language processor to parse each source code file and each piece of metadata of the subset of services to identify potential input parameter language and potential output parameter language.

### Claim 20 (depends on 19)

The system of claim 19, wherein determining the machine learning policy further comprises implementing a machine learning classification algorithm to classify the potential input parameter language into a set of input types and to classify the potential output parameter language into a set of output types, the set of input types comprising the first input type and the second input type, the set of output types comprising the first output type and the second output type.
