# US 2017/0293504 A1 · Dynamically provisioning, managing, and executing tasks

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

- Number: US 2017/0293504 A1
- Document ID: US20170293504A1
- Status: Published application
- Kind: A1
- Application number: 15/630,784
- Filed: 2017-06-22
- Published: 2017-10-12
- Earliest claimed: 2015-08-18
- Assignees: Pantheon, Inc.
- Applicants: Pantheon, Inc.
- Inventors: Rajesh Maramana Purushothaman; Anin Kurishummoottil Mathen
- Web page: https://patentgrep.com/patent/US20170293504A1

## CPC

- G06F 9/5011: {the resources being hardware resources other than CPUs, Servers and Terminals}
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 9/44521: {Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments relate to systems, devices, and computer-implemented methods for provisioning, managing, and executing tasks. An agent program can be configured to receive task data, determine a task definition corresponding to the task data, retrieve the task definition, and execute the task definition using the task data. The agent program can additionally be configured to set a time-to-live for the task definition and locally delete the task definition when the time-to-live elapses.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving task data;
determining a task definition corresponding to the task data;
determining that the task definition is not locally stored;
requesting a location of the task definition;
receiving the location of the task definition in response to requesting the location;
obtaining the task definition from the location;
executing, using a processor and at a client device, the task definition; and
while executing the task definition:
determining a class or a library to be used for executing the task definition based on a type specification associated with the client device;
retrieving the class or the library that was determined; and
retrieving an input used to perform instructions of the task definition.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the client device comprises one or more of a personal computer, a mobile device, a tablet computer, or a specialized device that is part of a mission critical environment.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the location of the task definition comprises a location of a database in a distributed network of servers.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the client device runs a virtual machine, and the virtual machine runs an agent program that executes the task definition, the method further comprising:
creating a sandbox for running the agent program, whereby actions performed by the agent program are controlled using the sandbox.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising, while executing the task definition, executing instructions in the task definition to adapt a function of the task definition.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein:
retrieving the class or the library that was determined comprises retrieving the class; and
executing instructions in the task definition to adapt a function of the task definition comprises executing instructions in the task definition to adapt a function provided by the class that was retrieved.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, further comprising, prior to executing the task definition:
instantiating a classloader;
retrieving, using the classloader, the task definition from a non-volatile memory;
loading, using the classloader, the task definition into a cache memory or a volatile memory; and
verifying that the task definition was loaded correctly using a checksum.

### Claim 8

A system comprising:
a processing system of a device comprising a processor; and
a memory system comprising a computer-readable medium, wherein the computer-readable medium contains instructions that, when executed by the processing system, cause the processing system to perform operations comprising:
receiving task data;
determining a task definition corresponding to the task data;
determining that the task definition is not locally stored;
requesting a location of the task definition;
receiving the location of the task definition in response to requesting the location;
obtaining the task definition from the location;
executing, at a client device, the task definition; and
while executing the task definition:
determining a class or a library to be used for executing the task definition based on a type specification associated with the client device;
retrieving the class or the library that was determined; and
retrieving an input used to perform instructions of the task definition.

### Claim 9 (depends on 8)

The system of claim 8, wherein the client device comprises one or more of a personal computer, a mobile device, a tablet computer, or a specialized device that is part of a mission critical environment.

### Claim 10 (depends on 8)

The system of claim 8, wherein the location of the task definition comprises a location of a database in a distributed network of servers.

### Claim 11 (depends on 8)

The system of claim 8, wherein the client device runs a virtual machine, and the virtual machine runs an agent program that executes the task definition, the operations further comprising:
creating a sandbox for running the agent program, whereby actions performed by the agent program are controlled using the sandbox.

### Claim 12 (depends on 8)

The system of claim 8, the operations further comprising, while executing the task definition, executing instructions in the task definition to adapt a function of the task definition.

### Claim 13 (depends on 12)

The system of claim 12, wherein:
retrieving the class or the library that was determined comprises retrieving the class; and
executing instructions in the task definition to adapt a function of the task definition comprises executing instructions in the task definition to adapt a function provided by the class that was retrieved.

### Claim 14 (depends on 8)

The system of claim 8, the operations further comprising, prior to executing the task definition:
instantiating a classloader;
retrieving, using the classloader, the task definition from a non-volatile memory;
loading, using the classloader, the task definition into a cache memory or a volatile memory; and
verifying that the task definition was loaded correctly using a checksum.

### Claim 15

A non-transitory computer readable storage medium comprising instructions for causing a processor to perform operations comprising:
receiving task data;
determining a task definition corresponding to the task data;
determining that the task definition is not locally stored;
requesting a location of the task definition;
receiving the location of the task definition in response to requesting the location;
obtaining the task definition from the location;
executing, at a client device, the task definition; and
while executing the task definition:
determining a class or a library to be used for executing the task definition based on a type specification associated with the client device;
retrieving the class or the library that was determined; and
retrieving an input used to perform instructions of the task definition.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the client device comprises one or more of a personal computer, a mobile device, a tablet computer, or a specialized device that is part of a mission critical environment.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the location of the task definition comprises a location of database in a distributed network of servers.

### Claim 18 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the client device runs a virtual machine, and the virtual machine runs an agent program that executes the task definition, the operations further comprising:
creating a sandbox for running the agent program, whereby actions performed by the agent program are controlled using the sandbox.

### Claim 19 (depends on 15)

The non-transitory computer readable storage medium of claim 15, the operations further comprising, while executing the task definition, executing instructions in the task definition to adapt a function of the task definition.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium of claim 19, wherein:
retrieving the class or the library that was determined comprises retrieving the class; and
executing instructions in the task definition to adapt a function of the task definition comprises executing instructions in the task definition to adapt a function provided by the class that was retrieved.
