# US 2020/0401447 A1 · Application building in a distributed computing environment

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

- Number: US 2020/0401447 A1
- Document ID: US20200401447A1
- Status: Published application
- Kind: A1
- Application number: 16/446,180
- Filed: 2019-06-19
- Published: 2020-12-24
- Earliest claimed: 2019-06-19
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Ping Xiao; Peng Hui Jiang; Xin Peng Liu; Guang Han Sui
- Web page: https://patentgrep.com/patent/US20200401447A1

## CPC

- G06F 8/60: Software deployment
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- G06F 8/20: Software design
- G06F 8/30: Creation or generation of source code
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 9/468: {Specific access rights for resources, e.g. using capability register}
- G06F 9/44526: {Plug-ins; Add-ons}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present disclosure relate to a method for building an application. According to the method, a request is received from a building environment to acquire at least one component for executing at least one function of at least one feature of the application. The at least one feature is to be deployed to at least one target node in a distributed service platform comprising a plurality of nodes. The at least one target node and the at least one component are determined based on the request. The at least one component is acquired from the at least one target node. The at least one component is sent to the building environment for building the at least one feature.

## Claims

### Claim 1

A computer-implemented method for building an application comprising:
receiving, by one or more processing units, a request from a building environment to acquire at least one component for executing at least one function of at least one feature of the application, wherein the at least one feature is to be deployed to at least one target node in a distributed service platform comprising a plurality of nodes;
determining, by one or more processing units, the at least one target node and the at least one component based on the request;
acquiring, by one or more processing units, the at least one component from the at least one target node; and
sending, by one or more processing units, the at least one component to the building environment for building the at least one feature.

### Claim 2 (depends on 1)

The method of claim 1, wherein the request comprises building information related to the at least one feature.

### Claim 3 (depends on 2)

The method of claim 2, wherein the building information includes identification information of the application, identification information of the at least one feature, identification information of at least one function of the at least one feature, identification information of the at least one component for executing the at least one function, and identification information of at least one target node.

### Claim 4 (depends on 3)

The method of claim 3, wherein the acquiring the at least one component from the at least one target node comprises:
acquiring, by one or more processing units, a plurality of path records, each respective path record of the plurality of path records including a respective unique identifier (UID) of a respective function of a respective feature of the application and at least one potential runtime path of at least one component for executing the respective function;
generating a UID of the at least one function based on the building information;
searching, by one or more processing units, the UID of the at least one function in the plurality of path records.

### Claim 5 (depends on 4)

The method of claim 4, wherein the acquiring the at least one component from the at least one target node further comprises:
acquiring, by one or more processing units, at least one potential runtime path of the at least one component from at least one path record of the plurality of path records in response to the UID of the at least one function being retrieved from the at least one path record; and
acquiring, by one or more processing units, the at least one component from the at least one target node in response to the at least one component being located under the at least one potential runtime path in the at least one target node.

### Claim 6 (depends on 4)

The method of claim 4, further comprising:
acquiring, by one or more processing units, at least one potential runtime path of the at least one component from at least one path record of the plurality of path records in response to the UID of the at least one function being retrieved from the at least one path record; and
acquiring, by one or more processing units, the at least one component from a predefined storage path in response to the at least one component not being located under the at least one potential runtime path in the at least one target node.

### Claim 7 (depends on 4)

The method of claim 4, wherein the acquiring the at least one component from the at least one target node comprises:
determining, by one or more processing units and in response to the UID of the at least one function not being retrieved from the plurality of path records, that the at least one function has been deployed in the at least one target node;
triggering, by one or more processing units and in response to determining that the at least one function has been deployed in the at least one target node, a path analyzer in the at least one target node to trace and record all runtime paths of at least one process during an execution of the at least one function; and
acquiring, by one or more processing units, the at least one component.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
generating, by one or more processing units, at least one path record based on at least one runtime path of the recorded runtime paths, each of the at least one path record including the UID of the at least one function and the at least one runtime path of the at least one component.

### Claim 9 (depends on 7)

The method of claim 7, wherein the acquiring the at least one component further comprises:
acquiring, by one or more processing units, the at least one component from a predefined storage path in response to the at least one component being not located under the all runtime paths in the at least one target node.

### Claim 10

A computer-implemented system for building an application comprising:
one or more processors; and
a memory communicatively coupled to the one or more processors,
wherein the memory comprises instructions which, when executed by the one or more processors, cause the one or more processors to perform a method comprising:
receiving a request from a building environment to acquire at least one component for executing at least one function of at least one feature of the application, wherein the at least one feature being is to be deployed to at least one target node in a distributed service platform comprising a plurality of nodes;
determining the at least one target node and the at least one component based on the request;
acquiring the at least one component from the at least one target node; and
sending the at least one component to the building environment for building the at least one feature.

### Claim 11 (depends on 10)

The system of claim 10, wherein the request comprises building information related to the at least one feature.

### Claim 12 (depends on 11)

The system of claim 11, wherein the acquiring the at least one component from the at least one target node comprises:
acquiring, by one or more processing units, a plurality of path records, each respective path record of the plurality of path records including a respective unique identifier (UID) of a respective function of a respective feature of the application and at least one potential runtime path of at least one component for executing the respective function;
generating a UID of the at least one function based on the building information;
searching, by one or more processing units, the UID of the at least one function in the plurality of path records.

### Claim 13 (depends on 12)

The system of claim 12, wherein the acquiring the at least one component from the at least one target node further comprises:
acquiring at least one potential runtime path of the at least one component from at least one path record of the plurality of path records in response to the UID of the at least one function being retrieved from the at least one path record; and
acquiring the at least one component from the at least one target node in response to the at least one component being located under the at least one potential runtime path in the at least one target node.

### Claim 14 (depends on 12)

The system of claim 12, the method further comprising:
acquiring, by one or more processing units, at least one potential runtime path of the at least one component from at least one path record of the plurality of path records in response to the UID of the at least one function being retrieved from the at least one path record; and
acquiring the at least one component from a predefined storage path in response to the at least one component not being located under the at least one potential runtime path in the at least one target node.

### Claim 15 (depends on 12)

The system of claim 12, wherein the acquiring the at least one component from the at least one target node comprises:
determining, in response to the UID of the at least one function not being retrieved from the plurality of path records, whether the at least one function has been deployed in the at least one target node;
triggering, in response to a determination that the at least one function has been deployed in the at least one target node, a path analyzer in the at least one target node to trace and record all runtime paths of at least one process during an execution of the at least one function; and
acquiring the at least one component.

### Claim 16 (depends on 15)

The system of claim 15, the method further comprising:
generating at least one path record based on at least one runtime path of the recorded runtime paths, each of the at least one path record including the UID of the at least one function and the at least one runtime path of the at least one component.

### Claim 17

A computer program product for building an application, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a computer to perform a method comprising:
receiving a request from a building environment to acquire at least one component for executing at least one function of at least one feature of the application, the at least one feature being to be deployed to at least one target node in a distributed service platform comprising a plurality of nodes;
determining the at least one target node and the at least one component based on the request;
acquiring the at least one component from the at least one target node; and
sending the at least one component to the building environment for building the at least one feature.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the request comprises building information related to the at least one feature.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the acquiring the at least one component from the at least one target node comprises:
acquiring, by one or more processing units, a plurality of path records, each respective path record of the plurality of path records including a respective unique identifier (UID) of a respective function of a respective feature of the application and at least one potential runtime path of at least one component for executing the respective function;
generating a UID of the at least one function based on the building information;
searching, by one or more processing units, the UID of the at least one function in the plurality of path records.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the acquiring the at least one component from the at least one target node further comprises:
acquiring at least one potential runtime path of the at least one component from at least one path record of the plurality of path records in response to the UID of the at least one function of the at least one feature being retrieved from the at least one path record; and
acquiring the at least one component from the at least one target node in response to the at least one component being located under the at least one potential runtime path in the at least one target node.
