# US 9,355,377 B2 · Carbon dioxide emissions optimized secure cloud computing

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

- Number: US 9,355,377 B2
- Document ID: US9355377B2
- Status: Granted
- Kind: B2
- Application number: 13/926,926
- Filed: 2013-06-25
- Published: 2014-12-25
- Granted: 2016-05-31
- Earliest claimed: 2013-06-25
- Assignees: Sap SE
- Applicants: Axel Schroepfer
- Inventors: Axel Schroepfer
- Web page: https://patentgrep.com/patent/US9355377B2

## CPC

- G06Q 10/0631: Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Systems and method for deploying CO2 emission and financial cost optimized secured algorithms to cloud computing environments are disclosed. Algorithms are converted into a single state assignment representation that includes a combination of statements that represent sub operations of the algorithm. Runtime and power consumption cost values associated with executing the statements in the cloud are calibrated by executing the statements in a particular configuration of a cloud some number of time with multiple security protocols and then analyzing the results. CO2 emission and financial cost values are mapped to the calibrated runtime and power consumption cost values. The mapped CO2 emission and financial cost values and the calibrated runtime and power consumption cost values are used by a linear program to optimize a partitioning vector of indicators that define which security protocol will be used to execute each statement in the cloud when the algorithm is deployed.

## Claims

### Claim 1

A method for reducing carbon dioxide emissions during secure execution of an application in a cloud computing environment, the method comprising:
determining, in a computer system, a cloud computing category identifier corresponding to a number of processing cores in the cloud computing environment;
determining, in the computer system, a plurality of calibration parameters that define a statistical methodology for producing a plurality of cost values, wherein the calibration parameters include a number of times the application or portion thereof is to be executed in the cloud computing environment;
transmitting the cloud computing category identifier and the plurality of calibration parameters from the computer system to a cloud computing service provider associated with the cloud computing environment;
receiving, in the computer system, the plurality of cost values based on the cloud computing category identifier and the plurality of calibration parameters from the cloud computing service provider;
partitioning, by a optimizer component of the computer system, the application into a plurality of single state assignment (SSA) statements to optimize execution of the application as a whole, wherein the plurality of cost values describes the cost of executing the plurality of SSA statements in the cloud computing environment;
mapping, in the computer system, the plurality of cost values to a plurality of corresponding carbon dioxide (CO2) emissions values to generate a cost value to CO2 emission calibration, wherein the plurality of CO2 emissions values describe the amount of CO2 produced during the execution of each of the plurality of SSA statements in the cloud computing environment;
iteratively evaluating each of the plurality of SSA statements based on each of a plurality of security protocols, wherein the plurality of security protocols comprises at least a garbled circuit security protocol and a homomorphic security protocol;
assigning at least one security protocol of the plurality of security protocols to each of the plurality of SSA statements to minimize CO2 emissions values during execution of the application;
generating a partitioning vector representing the assignment of each of the security protocols to each of the corresponding SSA statements; and
sending the SSA statements to the cloud computing environment for execution using the security protocols defined by the partitioning vector.

### Claim 2 (depends on 1)

The method of claim 1 wherein the plurality of cost values comprises a plurality of runtime values and a plurality of power consumption values corresponding to execution of a plurality of single state assignment (SSA) statements according to the plurality of calibration parameters.

### Claim 3 (depends on 2)

The method of claim 2 wherein the plurality of calibration parameters comprise an iteration value and a statistical method identifier.

### Claim 4 (depends on 1)

The method of claim 1 further comprising:
determining, in the computer system, an algorithm corresponding to a task to be completed in the cloud computing environment;
generating, in the computer system, a single state assignment (SSA) representation of the algorithm comprising a combination of the plurality of SSA statements;
generating, in the computer system, a linear program comprising the SSA representation of the algorithm, the plurality of cost values, and the CO2 emission calibration; and
solving, in the computer system, the linear program to minimize a total CO2 value associated with executing the SSA representation of the algorithm in the cloud computing environment.

### Claim 5 (depends on 4)

The method of claim 4 wherein solving the linear program comprises iteratively evaluating each of the plurality of SSA statements based on each of the secure computing protocols.

### Claim 6

A non-transitory computer readable medium comprising instructions, that when executed by a computer processor, cause the computer processor to be configured for reducing carbon dioxide emissions during secure execution of an application in a cloud computing environment, the instructions operable to perform operations comprising:
determining a cloud computing category identifier corresponding to a number of processing cores in the cloud computing environment;
determining a plurality of calibration parameters that define a statistical methodology for producing a plurality of cost values, wherein the calibration parameters include a number of times the application or portion thereof is to be executed in the cloud computing environment;
transmitting the cloud computing category identifier and the plurality of calibration parameters from the computer system to a cloud computing service provider associated with the cloud computing environment;
receiving the plurality of cost values based on the cloud computing category identifier and the plurality of calibration parameters from the cloud computing service provider;
partitioning, by a optimizer component of the computer system, the application into a plurality of single state assignment (SSA) statements to optimize execution of the application as a whole, wherein the plurality of cost values describes the cost of executing the plurality of SSA statements in the cloud computing environment;
mapping the plurality of cost values to a plurality of corresponding carbon dioxide (CO2) emissions values to generate a cost value to CO2 emission calibration, wherein the plurality of CO2 emissions values describe the amount of CO2 produced during the execution of each of the plurality of SSA statements in the cloud computing environment;
iteratively evaluating each of the plurality of SSA statements based on each of a plurality of security protocols, wherein the plurality of security protocols comprises at least a garbled circuit security protocol and a homomorphic security protocol;
assigning at least one security protocol of the plurality of security protocols to each of the plurality of SSA statements to minimize CO2 emissions values during execution of the application;
generating a partitioning vector representing the assignment of each of the security protocols to each of the corresponding SSA statements; and
sending the SSA statements to the cloud computing environment for execution using the security protocols defined by the partitioning vector.

### Claim 7 (depends on 6)

The non-transitory computer readable medium of claim 6 wherein the plurality of cost values comprises a plurality of runtime values and a plurality of power consumption values corresponding to execution of a plurality of single state assignment (SSA) statements according to the plurality of calibration parameters.

### Claim 8 (depends on 7)

The non-transitory computer readable medium of claim 7 wherein the plurality of calibration parameters comprises an iteration value and a statistical method identifier.

### Claim 9 (depends on 6)

The non-transitory computer readable medium of claim 6 further comprising instructions, that when executed by the computer processor, cause the computer processor to be configured for:
determining an algorithm corresponding to a task to be completed in the cloud computing environment;
generating a single state assignment (SSA) representation of the algorithm comprising a combination of the plurality of SSA statements;
generating a linear program comprising the SSA representation of the algorithm, the plurality of cost values, and the CO2 emission calibration; and
solving the linear program to minimize a total CO2 value associated with executing the SSA representation of the algorithm in the cloud computing environment.

### Claim 10

A system comprising:
a computer processor;
a non-transitory computer readable medium coupled to the processor and comprising instructions, that when executed by the computer processor, cause the computer processor to be configured to reduce carbon dioxide emissions during secure execution of an application in a cloud computing environment, wherein the computer processor is configured to:
determine a cloud computing category identifier corresponding to a number of processing cores in the cloud computing environment;
determine a plurality of calibration parameters that define a statistical methodology for producing a plurality of cost values, wherein the calibration parameters include a number of times the application or portion thereof is to be executed in the cloud computing environment;
transmit the cloud computing category identifier and the plurality of calibration parameters to a cloud computing service provider associated with the cloud computing environment;
receive the plurality of cost values based on the cloud computing category identifier and the plurality of calibration parameters from the cloud computing service provider;
partition, by a optimizer component of the computer system, the application into a plurality of single state assignment (SSA) statements to optimize execution of the application as a whole, wherein the plurality of cost values describes the cost of executing the plurality of SSA statements in the cloud computing environment;
map the plurality of cost values to a plurality of corresponding carbon dioxide (CO2) emissions values to generate a cost value to CO2 emission calibration, wherein the plurality of CO2 emissions values describe the amount of CO2 produced during the execution of each of the plurality of SSA statements in the cloud computing environment;
iteratively evaluate each of the plurality of SSA statements based on each of a plurality of security protocols, wherein the plurality of security protocols comprises at least a garbled circuit security protocol and a homomorphic security protocol;
assign at least one security protocol of the plurality of security protocols to each of the plurality of SSA statements to minimize CO2 emissions values during execution of the application;
generate a partitioning vector representing the assignment of one of the security protocols to each one of the corresponding SSA statements; and
send the SSA statements to the cloud computing environment for execution using the security protocols defined by the partitioning vector.

### Claim 11 (depends on 10)

The system of claim 10 wherein the plurality of cost values comprises a plurality of runtime values and a plurality of power consumption values corresponding to execution of a plurality of single state assignment (SSA) statements according to the plurality of calibration parameters.

### Claim 12 (depends on 11)

The system of claim 11 wherein the plurality of calibration parameters comprises an iteration value and a statistical method identifier.

### Claim 13 (depends on 10)

The system of claim 10 wherein the instructions further cause the computer processor to be configured to:
determine an algorithm corresponding to a task to be completed in the cloud computing environment;
generate a single state assignment (SSA) representation of the algorithm comprising a combination of the plurality of SSA statements;
generate a linear program comprising the SSA representation of the algorithm, the plurality of cost values, and the CO2 emission calibration; and
solve the linear program to minimize a total CO2 value associated with executing the SSA representation of the algorithm in the cloud computing environment.
