Carbon-aware code optimization

US2022398095A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2022398095-A1
Application numberUS-202117346388-A
CountryUS
Kind codeA1
Filing dateJun 14, 2021
Priority dateJun 14, 2021
Publication dateDec 15, 2022
Grant date

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 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. 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 analyzing the identified code datasets comprises: 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; and 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. 4 . The computer-implemented method of claim 1 , wherein dynamically predicting the carbon footprint comprises: estimating a total carbon footprint for each analyzed code dataset; and predicting the total carbon footprint associated with each analyzed code dataset meets or exceeds a predetermined carbon threshold based on a comparison to the estimated, total carbon footprint. 5 . The computer-implemented method of claim 4 , wherein estimating the total carbon footprint comprises: calculating a carbon emission footprint for each analyzed code dataset within the plurality of analyzed code datasets; and summing the calculated carbon emission footprint for each analyzed code datasets within the plurality of analyzed code datasets. 6 . The computer-implemented method of claim 1 , wherein automatically optimizing the analyzed code datasets comprises: determining a carbon emission range associated with the analyzed code datasets, wherein the carbon emission range is the predetermined threshold of carbon emission associated with the computing device; modifying an arrangement of analyzed code datasets that does not fall within the determined carbon emission range; and automatically optimizing the modified code datasets by removing modified code datasets of the modified code datasets that did not fall within the determined carbon emission range based on the carbon footprint associated with each modified code dataset that has been removed. 7 . The computer-implemented method of claim 6 , wherein modifying the arrangement of analyzed code datasets comprises rearranging each analyzed code dataset based on the calculated carbon emission range using a microservice algorithm. 8 . The computer-implemented method of claim 1 , further comprising generating a query notification that provides recommendations for a user based on the predicted carbon footprint. 9 . 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 code datasets for a plurality of parameters; program instructions to dynamically predict a carbon footprint associated with the analyzed code datasets based on the plurality of parameters for each analyzed code dataset; and program instructions to automatically optimize the analyzed code datasets based on the predicted carbon footprint for data migration. 10 . The computer program product of claim 9 , wherein the program instructions to identify the plurality of code datasets comprises program instructions to scan a legacy system for stored data for the data migration from an external database to a computing device. 11 . The computer program product of claim 9 , wherein the program instructions to analyze the identified code datasets comprise: 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; and 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. 12 . The computer program product of claim 9 , wherein the program instructions to dynamically predict the carbon footprint comprise: program instructions to estimate a total carbon footprint for each analyzed code dataset; and program instructions to predict the total carbon footprint associated with each analyzed code dataset meets or exceeds a predetermined carbon threshold based on a comparison to the estimated, total carbon footprint. 13 . The computer program product of claim 12 , 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 plurality of analyzed code datasets; and program instructions to sum the calculated carbon emission footprint for each analyzed code datasets within the plurality of analyzed code datasets. 14 . The computer program product of claim 9 , wherein the program instructions to automatically optimize the analyzed code datasets comprise: program instructions to determine a carbon emission range associated with the analyzed code datasets, wherein the carbon emission range is the predetermined threshold of carbon emission associated with the computing device; program instructions to modify an arrangement of analyzed code datasets that does not fall within the determined carbon emission range; and program instructions to automatically optimize the modified code datasets by removing modified code datasets of the modified code datasets that did not fall within the determined carbon emission range based on the carbon footprint associated with each modified code dataset that has been removed. 15 . The computer program product of claim 14 , wherein the program instructions to modify the arrangement of analyzed code datasets comprise program instructions to rearrange each analyzed code dataset based on the calculated carbon emission range using a microservice algorithm. 16 . 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 computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising: program instructions to identify a plurality of code datasets prior to a data migration; program instructions to analyze the identified code datasets for a plurality of parameters; program instructions to dynamically predict a carbon footprint associated with the analyzed code datasets based on the plurality of parameters for each analyzed code dataset; and program instructions to automatically optimize the analyzed code datasets based on the predicted carbon footprint for data migration. 17 . The computer system of claim 16 , wherein the program instructions to identify the plurality of code data

Assignees

Inventors

Classifications

  • Greenhouse gas [GHG] management systems · CPC title

  • Machine learning · CPC title

  • 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

  • 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 US2022398095A1 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 Thu Dec 15 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).