Carbon-aware code optimization

US11803375B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11803375-B2
Application numberUS-202117346388-A
CountryUS
Kind codeB2
Filing dateJun 14, 2021
Priority dateJun 14, 2021
Publication dateOct 31, 2023
Grant dateOct 31, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present invention provide a computer system, a computer program product, and a method that comprises identifying a plurality of code datasets prior to a data migration; analyzing the identified code datasets for a plurality of parameters; dynamically predicting a carbon footprint associated with the analyzed code datasets based on the plurality of parameters for each analyzed code dataset; and automatically optimizing the analyzed code datasets based on the predicted carbon footprint for data migration.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method comprising: identifying a plurality of code datasets prior to a data migration; analyzing the identified plurality of code datasets for a plurality of parameters; identifying carbon emission constraints associated with a type of code dataset; performing a simulation analysis on the identified plurality of code datasets based on the identified carbon emission constraints; comparing at least one analyzed code dataset with an identified carbon emission constraint using machine learning algorithms and artificial intelligence algorithms based on the performed simulation analysis; dynamically predicting a carbon footprint associated with the analyzed plurality of code datasets based on the plurality of parameters for each analyzed code dataset within the analyzed plurality of code datasets; generating a query notification within an integrated development environment that provides recommendations for a user based on the dynamically predicted carbon footprint; and automatically optimizing the analyzed plurality of code datasets based on the dynamically predicted carbon footprint for data migration. 2. The computer-implemented method of claim 1 , wherein identifying the plurality of code datasets comprises scanning a legacy system for stored data for the data migration from an external database to a computing device. 3. The computer-implemented method of claim 1 , wherein dynamically predicting the carbon footprint comprises: estimating a total carbon footprint for each analyzed code dataset within the analyzed plurality of code datasets; and predicting the total carbon footprint associated with each analyzed code dataset within the analyzed plurality of code datasets meets or exceeds a predetermined carbon emission threshold based on a comparison to the estimated total carbon footprint. 4. The computer-implemented method of claim 3 , wherein estimating the total carbon footprint comprises: calculating a carbon emission footprint for each analyzed code dataset within the analyzed plurality of code datasets; and summing the calculated carbon emission footprint for each analyzed code datasets within the analyzed plurality of code datasets. 5. The computer-implemented method of claim 1 , wherein automatically optimizing the analyzed plurality of code datasets comprises: determining a carbon emission range associated with the analyzed plurality of code datasets, wherein the determined carbon emission range is based on a predetermined threshold of carbon emission associated with a computing device; modifying an arrangement of analyzed plurality of code datasets that does not fall within the determined carbon emission range; and automatically optimizing the modified arrangement of analyzed plurality of code datasets by removing modified code datasets of the modified arrangement of analyzed plurality of code datasets that did not fall within the determined carbon emission range based on a carbon footprint associated with each modified code dataset of the modified arrangement of analyzed plurality of code datasets that has been removed. 6. The computer-implemented method of claim 5 , wherein modifying the arrangement of analyzed plurality of code datasets comprises rearranging each analyzed code dataset within the arrangement of analyzed plurality of code datasets based on the determined carbon emission range using a microservice algorithm. 7. A computer program product comprising: one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising: program instructions to identify a plurality of code datasets prior to a data migration; program instructions to analyze the identified plurality of code datasets for a plurality of parameters; program instructions to identify carbon emission constraints associated with a type of code dataset; program instructions to perform a simulation analysis on the identified plurality of code datasets based on the identified carbon emission constraints; program instructions to compare at least one analyzed code dataset with an identified carbon emission constraint using machine learning algorithms and artificial intelligence algorithms based on the performed simulation analysis; program instructions to dynamically predict a carbon footprint associated with the analyzed plurality of code datasets based on the plurality of parameters for each analyzed code dataset within the analyzed plurality of code datasets; program instructions to generate a query notification within an integrated development environment that provides recommendations for a user based on the dynamically predicted carbon footprint; and program instructions to automatically optimize the analyzed plurality of code datasets based on the dynamically predicted carbon footprint for data migration. 8. The computer program product of claim 7 , wherein the program instructions to identify the plurality of code datasets comprise program instructions to scan a legacy system for stored data for the data migration from an external database to a computing device. 9. The computer program product of claim 7 , wherein the program instructions to dynamically predict the carbon footprint comprise: program instructions to estimate a total carbon footprint for each analyzed code dataset within the analyzed plurality of code datasets; and program instructions to predict the total carbon footprint associated with each analyzed code dataset within the analyzed plurality of code datasets meets or exceeds a predetermined carbon emission threshold based on a comparison to the estimated total carbon footprint. 10. The computer program product of claim 9 , wherein the program instructions to estimate the total carbon footprint comprise: program instructions to calculate a carbon emission footprint for each analyzed code dataset within the analyzed plurality of code datasets; and program instructions to sum the calculated carbon emission footprint for each analyzed code datasets within the analyzed plurality of code datasets. 11. The computer program product of claim 7 , wherein the program instructions to automatically optimize the analyzed plurality of code datasets comprise: program instructions to determine a carbon emission range associated with the analyzed plurality of code datasets, wherein the determined carbon emission range is based on a predetermined threshold of carbon emission associated with a computing device; program instructions to modify an arrangement of analyzed plurality of code datasets that does not fall within the determined carbon emission range; and program instructions to automatically optimize the modified arrangement of analyzed plurality of code datasets by removing modified code datasets of the modified arrangement of analyzed plurality of code datasets that did not fall within the determined carbon emission range based on a carbon footprint associated with each modified code dataset of the modified arrangement of analyzed plurality of code datasets that has been removed. 12. The computer program product of claim 11 , wherein the program instructions to modify the arrangement of analyzed plurality of code datasets comprise program instructions to rearrange each analyzed code dataset within the arrangement of analyzed plurality of code datasets based on the determined carbon emission range using a microservice algorithm. 13. A computer system comprising: one or more computer processors; one or more computer readable storage media; and program instructions stored on the one or more co

Assignees

Inventors

Classifications

  • G06F8/76Primary

    Adapting program code to run in a different environment; Porting · CPC title

  • resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence) · CPC title

  • Machine learning · CPC title

  • Greenhouse gas [GHG] management systems · CPC title

  • Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11803375B2 cover?
Embodiments of the present invention provide a computer system, a computer program product, and a method that comprises identifying a plurality of code datasets prior to a data migration; analyzing the identified code datasets for a plurality of parameters; dynamically predicting a carbon footprint associated with the analyzed code datasets based on the plurality of parameters for each analyzed…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F8/76. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 31 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).