# US 2016/0253215 A1 · Resource consumption optimization

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

- Number: US 2016/0253215 A1
- Document ID: US20160253215A1
- Status: Published application
- Kind: A1
- Application number: 14/655,407
- Filed: 2014-04-24
- Published: 2016-09-01
- Earliest claimed: 2014-04-24
- Assignees: Jun FANG; Empire Technology Development LLC
- Applicants: Empire Technology Development LLC
- Inventors: Jun FANG; Daqi LI
- Web page: https://patentgrep.com/patent/US20160253215A1

## CPC

- G06F 9/5055: {considering software capabilities, i.e. software resources associated or available to the machine}
- G06F 1/3203: Power management, i.e. event-based initiation of a power-saving mode
- G06F 1/329: by task scheduling
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- G06F 9/5038: {considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups)}
- G06F 9/5072: {Grid computing}
- G06F 11/30: Monitoring
- G06F 11/3442: {for planning or managing the needed capacity}
- H04L 67/1008: based on parameters of servers, e.g. available memory or workload (monitoring of computer activity G06F11/30)
- G06F 2209/5019: Workload prediction
- G06F 2209/503: Resource availability
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- 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)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

In some examples, in a supply-and-demand system, e.g., a cloud computing environment or an electrical grid, a coordinator may collect resource consumption data from one or more consuming entities. Based on the collected resource consumption data, the coordinator may be configured to predict resource consumption requirement of each consuming entity in a subsequent time period. Further, in accordance with the prediction, the coordinator may allocate the resources to the consuming entities or recycle the resources currently consumed by the consuming entities.

## Claims

### Claim 1

A method for optimizing resource consumption comprising:
collecting historic resource consumption data of an application executing on one or more computing nodes;
generating a historic resource consumption pattern based on the historic resource consumption data;
generating one or more reference patterns based on the historic resource consumption data;
predicting resource consumption requirements of the application during a subsequent execution time period based on the historic resource consumption pattern and the one or more reference patterns; and
allocating computing resources of the one or more computing nodes for execution of the application in the subsequent execution time period based on the predicted resource consumption requirements.

### Claim 2 (depends on 1)

The method of claim 1, wherein the generating of reference patterns comprises: sampling the collected historic resource consumption data at different sampling rates; and selecting a subset of the sampled historic resource consumption data to generate one of the one or more reference patterns.

### Claim 3 (depends on 1)

The method of claim 1, wherein the predicting comprises:
calculating multiple inertial vectors for the historic resource consumption pattern and each of the one or more reference patterns; and
generating a summed vector by combining the multiple inertial vectors to indicate a resource consumption variation in the subsequent execution time period.

### Claim 4 (depends on 3)

The method of claim 3, wherein the generating the summed vector comprises:
calculating an affinity value for each of the multiple inertial vectors calculated for the one or more reference patterns; and
mapping the multiple inertial vectors calculated for the one or more reference patterns to the historic resource consumption pattern based on the calculated affinity value.

### Claim 5 (depends on 1)

The method of claim 1, wherein the allocating comprises:
determining, for each of the one or more computing nodes, total computing resources including presently consumed computing resources and available computing resources;
determining a current resource consumption of the application;
allocating the available computing resources to the application when the predicted resource consumption requirements are greater than the determined current resource consumption; and
recycling one or more of the computing resources allocated to the application when the predicted resource consumption requirements are less than the determined current resource consumption.

### Claim 6 (depends on 5)

The method of claim 5, wherein the allocating of the available computing resources comprises:
arranging the one or more computing nodes in an ascending order of respective amounts of available computing resources; and
sequentially allocating the available computing resources of the one or more computing nodes in the ascending order until the allocated computing resources equal a difference between the predicted resource consumption requirements and the determined current resource consumption.

### Claim 7 (depends on 5)

The method of claim 5, wherein the recycling comprises:
identifying, for each of the computing nodes, the one or more computing resources allocated to the application;
arranging the computing nodes in descending order of respective amounts of the allocated computing recourses; and
sequentially recycling the allocated computing resources in accordance with the descending order until the recycled allocated computing resources equal a difference between the predicted resource consumption requirements and the determined current resource consumption.

### Claim 8

A non-transitory computer-readable medium that stores executable-instructions that, when executed, cause one or more processors to perform operations comprising:
collecting historic power consumption data by a consuming entity that consumes power from one or more power providers;
generating a historic power consumption pattern based on the collected historic power consumption data;
generating one or more reference patterns based on the generated historic power consumption data;
predicting power consumption requirements of the consuming entity during a subsequent time period based on the historic power consumption pattern and the one or more reference patterns; and
allocating power from the one or more power providers to the consuming entity in the subsequent time period based on the predicted power consumption requirements.

### Claim 9 (depends on 8)

The computer-readable medium of claim 8, wherein the generating of the reference patterns comprises:
sampling the collected historic power consumption data at different sampling rates; and selecting a subset of the sampled historic power consumption data to generate one of the one or more reference patterns.

### Claim 10 (depends on 8)

The computer-readable medium of claim 8, wherein the estimating comprises:
calculating multiple inertial vectors for the historic power consumption pattern and each of the one or more reference patterns; and
generating a summed vector by combining the multiple inertial vectors to indicate a power consumption variation in the subsequent time period.

### Claim 11 (depends on 10)

The computer-readable medium of claim 10, wherein the generating comprises:
calculating an affinity value for each of the multiple inertial vectors calculated for the one or more reference patterns; and
mapping the multiple inertial vectors calculated for the one or more reference patterns to the historic power consumption pattern based on the calculated affinity value.

### Claim 12 (depends on 8)

The computer-readable medium of claim 8, wherein the allocating comprises:
determining, for each of the power providers, total power including presently consumed power and available power;
determining a current power consumption by the consuming entity;
allocating the available power to the consuming entity when the predicted power consumption requirements are greater than the current power consumption; and
reallocating power allocated to the consuming entity to other consuming entities when the predicted power consumption requirements are less than the current power consumption.

### Claim 13 (depends on 12)

The computer-readable medium of claim 12, wherein the allocating the available power comprises:
arranging the one or more power providers in an ascending order of the available power; and sequentially allocating the power of the one or more power providers in the ascending order
until the allocated power equals a difference between the predicted power consumption requirements and the determined current power consumption.

### Claim 14 (depends on 12)

The computer-readable medium of claim 12, wherein the reallocating comprises: identifying, for each of the power providers, the power allocated to the consuming entity; arranging the power providers in descending order of respective amounts of the allocated power;
sequentially reallocating the allocated power in accordance with the descending order until the reallocated power equals a difference between the predicted power consumption requirements and the determined current power consumption.

### Claim 15

A system, comprising:
a data collector configured to collect historic resource consumption data of an application that executes on one or more computing nodes;
a pattern generator configured to:
generate a historic resource consumption pattern based on the collected historic resource consumption data, and
generate one or more reference patterns based on the collected historic resource consumption data;
a consumption estimator configured to predict resource consumption requirements of the application in a subsequent execution time period based on the historic resource consumption pattern and the one or more reference patterns; and
a resource allocator configured to allocate computing resources of the one or more computing nodes for execution of the application in the subsequent execution time period based on the predicted consumption requirements.

### Claim 16 (depends on 15)

The system of claim 15, wherein the pattern generator is further configured to:
sample the collected historic resource consumption data at different sampling rates; and
select a subset of the sampled historic resource consumption data to generate one of the one or more reference patterns.

### Claim 17 (depends on 15)

The system of claim 15, wherein the consumption estimator is further configured to:
calculate multiple inertial vectors for the historic resource consumption pattern and each of the one or more reference patterns; and
generate a summed vector by combining the multiple inertial vectors, wherein the summed vector indicates a consumption variation in the subsequent time period.

### Claim 18 (depends on 17)

The system of claim 17, wherein the consumption estimator is further configured to:
calculate an affinity value for each of the multiple inertial vectors calculated for the one or more reference patterns; and
map the multiple inertial vectors calculated for the one or more reference patterns to the historic resource consumption pattern based on the affinity value.

### Claim 19 (depends on 15)

The system of claim 15, wherein the resource allocator is further configured to:
determine, for each of the one or more computing nodes, total computing resources including presently consumed computing resources and available computing resources;
determine a current resource consumption of the application;
allocate the available computing resources to the application when the predicted resource consumption requirements are greater than the determined current resource consumption; and
recycle one or more computing resources previously allocated to the application when the predicted resource consumption requirements area less than the determined current resource consumption.

### Claim 20 (depends on 19)

The system of claim 19, wherein the resource allocator is further configured to:
arrange the one or more computing nodes in an ascending order of respective amounts of the available computing resources; and
sequentially allocate the computing resources of the one or more computing nodes in accordance with the ascending order until the allocated computing resources equal a difference between the predicted resource consumption requirements and the determined current consumption.

### Claim 21 (depends on 19)

The system of claim 19, wherein the resource allocator is further configured to:
identify, for each of the computing nodes, the one or more computing resources allocated to the application;
arrange the computing nodes in a descending order of respective amounts of the allocated computing recourses; and
sequentially recycle the allocated one or more computing resources in accordance with the descending order until the recycled allocated computing resources equal a difference between the predicted resource consumption requirements and the determined current consumption.
