A carbon emission calculation method, device and machine readable storage medium

CN116151654BActive Publication Date: 2026-11-03ANT BLOCKCHAIN TECHNOLOGY (SHANGHAI) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211609226.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-14
Publication Date
2026-11-03
Estimated Expiration
2042-12-14

AI Technical Summary

Technical Problem

现有技术中,碳排放量计算需要用户具备较高的技术水平,了解不同碳排放源的计算方法,导致人力成本高且容易出现配置错误,数据可维护性差。

Method used

By pre-configuring the correspondence between carbon emission sources, activity data statistical standards, and calculation formulas for cloud applications, users submit activity data values ​​on the client side, and the cloud applications calculate carbon emissions based on the configured relationships.

Benefits of technology

It lowers the technical barrier for users, improves computing efficiency, reduces the possibility of configuration errors, and ensures the accuracy and reliability of calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116151654B_ABST
    Figure CN116151654B_ABST
Patent Text Reader

Abstract

The one or more embodiments of the specification provide a carbon emission calculation method, device and machine readable storage medium. The method is applied to a client; the method comprises: obtaining activity data values submitted by a user for a service instance corresponding to a target carbon emission source according to target activity data statistical caliber corresponding to the target carbon emission source; submitting instance information of the service instance and the activity data values to a cloud application deployed on a cloud server, so that the cloud application determines a target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber according to a pre-configured corresponding relationship between carbon emission sources, activity data statistical caliber and calculation formulas, and calculates a carbon emission of the target carbon emission source based on the target calculation formula, a value of an emission factor contained in the target calculation formula and the activity data values; and obtaining the carbon emission of the target carbon emission source calculated by the cloud application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of carbon emission technology, and more particularly to a method, apparatus and machine-readable storage medium for calculating carbon emissions. Background Technology

[0002] To advance these goals, enterprises urgently need to achieve low-carbon digital transformation. Enterprise management processes can include carbon inventory, carbon emission calculation, carbon reduction, and carbon asset management.

[0003] In the process of calculating carbon emissions, it is necessary to identify the carbon emission sources and the applicable calculation methods so that the carbon emissions of the carbon emission sources can be calculated according to the calculation methods.

[0004] In practical applications, due to the large variety of carbon emission sources and the significant differences in the methodologies applicable to different carbon emission sources, determining the calculation method for carbon emissions from different sources usually requires users to have a high level of technical expertise and understand the calculation methods used for different carbon emission sources, resulting in high human costs for calculating carbon emissions. Summary of the Invention

[0005] This application provides a method for calculating carbon emissions, applied to a client corresponding to a cloud application deployed on a cloud server for calculating carbon emissions; wherein the cloud application is pre-configured with a correspondence between carbon emission sources, activity data statistical standards, and calculation formulas; the method includes:

[0006] Obtain the activity data values ​​submitted by users for service instances corresponding to the target carbon emission sources, according to the target activity data statistical caliber corresponding to the target carbon emission sources;

[0007] The instance information of the service instance and the activity data value are submitted to the cloud application, so that the cloud application can determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber according to the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas, and calculate the carbon emission of the target carbon emission source based on the target calculation formula, the value of the emission factor included in the target calculation formula and the activity data value; wherein, the instance information of the service instance is used to indicate the target carbon emission source and the target activity data statistical caliber;

[0008] Obtain the carbon emissions of the target carbon emission source calculated by the cloud application.

[0009] Optionally, the cloud application is also pre-configured with at least one carbon emission source;

[0010] Before obtaining the activity data value submitted by the user for the service instance corresponding to the target carbon emission source, according to the target activity data statistical caliber corresponding to the target carbon emission source, the method further includes:

[0011] Obtain the target carbon emission source selected by the user from the at least one carbon emission source;

[0012] Obtain the target activity data statistical caliber selected by the user from at least one activity data statistical caliber corresponding to the target carbon emission source;

[0013] Based on the target carbon emission source and the statistical criteria for the target activity data, a service instance corresponding to the target carbon emission source is generated.

[0014] Optionally, the cloud application is also pre-configured with the correspondence between carbon emission sources, activity data statistical calibers, and additional parameters;

[0015] Before generating a service instance corresponding to the target carbon emission source based on the target carbon emission source and the statistical caliber of the target activity data, the method further includes:

[0016] Obtain additional parameter values ​​submitted by the user for additional parameters corresponding to the target carbon emission source and the target activity data statistical caliber;

[0017] The step of generating a service instance corresponding to the target carbon emission source based on the target carbon emission source and the statistical caliber of the target activity data includes:

[0018] Based on the target carbon emission source, the statistical caliber of the target activity data, and the additional parameter value, a service instance corresponding to the target carbon emission source is generated; wherein, the instance information of the service instance is also used to indicate the additional parameter value;

[0019] The step of submitting the instance information of the service instance and the activity data value to the cloud application allows the cloud application to determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers, and calculation formulas. Then, based on the target calculation formula, the values ​​of the emission factors included in the target calculation formula, and the activity data value, the cloud application calculates the carbon emissions of the target carbon emission source, including:

[0020] The instance information of the service instance and the activity data value are submitted to the cloud application, so that the cloud application can determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber according to the pre-configured correspondence between carbon emission sources, activity data statistical caliber and calculation formula, and determine the value of the emission factor included in the target calculation formula based on the additional parameter value, and calculate the carbon emission of the target carbon emission source based on the target calculation formula, the value of the emission factor included in the target calculation formula and the activity data value.

[0021] Optionally, submitting the instance information of the service instance and the activity data value to the cloud application allows the cloud application to determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers, and calculation formulas. It also determines the value of the emission factor included in the target calculation formula based on the additional parameter value, and calculates the carbon emission of the target carbon emission source based on the target calculation formula, the value of the emission factor included in the target calculation formula, and the activity data value. This includes:

[0022] The service instance information and the activity data value are submitted to the cloud application, so that the cloud application determines the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas, and determines the value of the emission factor included in the target calculation formula based on the additional parameter value. Based on the target calculation formula and the value of the emission factor included in the target calculation formula, a calculation instance corresponding to the service instance is generated, and the activity data value is used as the calculation parameter to execute the calculation instance to calculate the carbon emission of the target carbon emission source.

[0023] Optionally, obtaining the target carbon emission source selected by the user from the at least one carbon emission source includes:

[0024] In response to a service instance creation request initiated by a user, a first query request for available carbon emission sources is sent to a cloud application deployed on a cloud service, so that the cloud application, in response to the first query request, identifies at least a portion of the pre-configured at least one carbon emission source as an available carbon emission source.

[0025] Obtain the available carbon emission sources returned by the cloud application and display the available carbon emission sources on the service instance creation page;

[0026] In response to the user's selection of the available carbon emission sources on the service instance creation page, the available carbon emission source selected by the user is determined as the target carbon emission source.

[0027] Optionally, obtaining the target activity data statistical caliber selected by the user from at least one activity data statistical caliber corresponding to the target carbon emission source includes:

[0028] In response to identifying the available carbon emission source selected by the user as the target carbon emission source, a second query request for the available activity data statistical caliber is sent to the cloud application, so that the cloud application, in response to the second query request, identifies at least one pre-configured activity data statistical caliber corresponding to the target carbon emission source as the available activity data statistical caliber.

[0029] Obtain the statistical criteria of available activity data returned by the cloud application, and display the statistical criteria of available activity data on the service instance creation page;

[0030] In response to the user's selection of the available activity data statistical caliber on the service instance creation page, the user's selected available activity data statistical caliber is determined as the target activity data statistical caliber.

[0031] Optionally, obtaining the additional parameter values ​​submitted by the user for additional parameters corresponding to the target carbon emission source and the statistical caliber of the activity data includes:

[0032] In response to determining the available activity data statistical caliber selected by the user as the target activity data statistical caliber, a third query request for additional parameters is sent to the cloud application, so that the cloud application responds to the third query request and returns the pre-configured additional parameters corresponding to the target carbon emission source and the target activity data statistical caliber to the client.

[0033] Obtain the additional parameters returned by the cloud application and display the additional parameters on the service instance creation page;

[0034] In response to the user's input of the additional parameters on the service instance creation page, the value of the additional parameters submitted by the user is obtained.

[0035] Optionally, the cloud application is a SaaS application; the client is a SaaS client; and the user is an enterprise user of the SaaS client.

[0036] This application also provides a carbon emission calculation device, applied to a client corresponding to a cloud application deployed on a cloud server for calculating carbon emissions; wherein, the cloud application is pre-configured with a correspondence between carbon emission sources, activity data statistical standards, and calculation formulas; the device includes:

[0037] The first obtaining unit is used to obtain the activity data value submitted by the user for the service instance corresponding to the target carbon emission source, according to the target activity data statistical caliber corresponding to the target carbon emission source.

[0038] The submission unit is used to submit the instance information of the service instance and the activity data value to the cloud application, so that the cloud application can determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber according to the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas, and calculate the carbon emission of the target carbon emission source based on the target calculation formula, the value of the emission factor included in the target calculation formula and the activity data value; wherein, the instance information of the service instance is used to indicate the target carbon emission source and the target activity data statistical caliber;

[0039] The second obtaining unit is used to obtain the carbon emissions of the target carbon emission source calculated by the cloud application.

[0040] This application also provides an electronic device, including a communication interface, a processor, a memory, and a bus, wherein the communication interface, the processor, and the memory are interconnected via the bus;

[0041] The memory stores machine-readable instructions, and the processor executes the above method by invoking the machine-readable instructions.

[0042] This application also provides a machine-readable storage medium storing machine-readable instructions, which, when called and executed by a processor, implement the above-described method.

[0043] Through the above embodiments, since the cloud application used to calculate carbon emissions is pre-configured with the correspondence between carbon emission sources, activity data statistical calibers and calculation formulas, the user only needs to submit the activity data value for the service instance corresponding to the target carbon emission source on the client of the cloud application. The client can then submit the instance information of the service instance and the activity data value to the cloud application deployed on the cloud server to obtain the carbon emissions of the target carbon emission source calculated by the cloud application.

[0044] In this way, on the one hand, ordinary users do not need to customize emission sources and the methodological elements such as the applicable activity data statistical caliber, calculation formula, and emission factor. They only need to focus on which emission sources are the target emission sources to be calculated and obtain the activity data value of the target emission sources according to the target activity data statistical caliber in the service instance corresponding to the target carbon emission source. This lowers the user threshold and improves the efficiency of carbon emission calculation. On the other hand, since the activity data value is submitted by the user according to the target activity data statistical caliber in the service instance corresponding to the target carbon emission source, and the target calculation formula and emission factor used to calculate carbon emissions are determined by the cloud application deployed on the cloud server according to the pre-configured correspondence between carbon emission sources, activity data statistical caliber, and calculation formula, compared with the implementation method where the methodological elements applicable to emission sources are completely customized by the user, the possibility of configuration errors is reduced, ensuring the accuracy and reliability of the cloud application in calculating carbon emissions. Attached Figure Description

[0045] To more clearly illustrate the technical solutions of the embodiments in this specification, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0046] Figure 1 This is a schematic diagram illustrating a service instance as an exemplary embodiment;

[0047] Figure 2 This is a flowchart illustrating a method for calculating carbon emissions, as shown in an exemplary embodiment.

[0048] Figure 3 This is a schematic diagram illustrating a service instance creation page, as shown in an exemplary embodiment.

[0049] Figure 4 This is a schematic diagram illustrating another service instance creation page as an exemplary embodiment;

[0050] Figure 5 This is a schematic diagram illustrating another service instance creation page as an exemplary embodiment;

[0051] Figure 6 This is a schematic diagram of a carbon emissions calculation page shown in an exemplary embodiment;

[0052] Figure 7 This is an exemplary embodiment illustrating a multi-party interaction diagram of a carbon emission calculation method;

[0053] Figure 8This is a schematic diagram of the structure of an electronic device containing a carbon emission calculation device, as shown in an exemplary embodiment.

[0054] Figure 9 This is a block diagram illustrating a carbon emission calculation device as an exemplary embodiment. Detailed Implementation

[0055] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.

[0056] It should be noted that the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification in other embodiments. In some other embodiments, the methods may include more or fewer steps than described in this specification. Furthermore, a single step described in this specification may be broken down into multiple steps in other embodiments; and multiple steps described in this specification may be combined into a single step in other embodiments.

[0057] Carbon emissions refer to the emissions of various greenhouse gases. Specifically, greenhouse gases included in carbon emission calculations may include, but are not limited to, CO2 (carbon dioxide), CH4 (methane), N2O (nitrous oxide), SF6 (sulfur hexafluoride), HFCs (hydrofluorocarbons), PFCs (perfluorocarbons), and NF3 (nitrogen trifluoride).

[0058] In calculating carbon emissions, it is necessary to clearly define the carbon emission sources and the applicable calculation methods so that the carbon emissions from those sources can be calculated according to the defined methods. In this specification, methodology refers to the methods used to calculate carbon emissions; within the methodology, it is necessary to clearly define methodological elements such as the statistical scope of activity data used to calculate carbon emissions, calculation formulas, and emission factors.

[0059] The term "activity data" can refer to the operational data of carbon emission sources collected for calculating carbon emissions, such as raw material consumption, product output, and traffic mileage. The term "activity data statistical scope" refers to the statistical methods and ranges used to collect the activity data; for example, natural gas consumption is a statistical category of activity data when calculating carbon emissions from natural gas combustion. The term "emission factors" refers to the inactive data and constant parameters included in the formula used to calculate carbon emissions, such as fuel density and carbon oxidation. The term "carbon emission source" refers to the source of greenhouse gas emissions.

[0060] In addition, additional parameters can refer to parameters used to determine the value of the emission factor; for example, when calculating the carbon emissions generated during the operation of a "bus" emission source, it may be necessary to obtain additional parameters such as vehicle model, fuel type, and emission standard to further determine the value of the emission factor.

[0061] In practical applications, there are many types of carbon emission sources, and the methodologies applicable to different carbon emission sources vary considerably. Specifically, different carbon emission sources can correspond to different statistical calibers for activity data, and the same carbon emission source can also correspond to multiple different statistical calibers for activity data. Among these, different statistical calibers require different types and quantities of activity data items to be collected; different statistical calibers can correspond to different calculation formulas; in addition, different carbon emission sources can correspond to different additional parameters, so the values ​​of the same emission factor included in the same calculation formula can be different.

[0062] In related technologies, the ability to define carbon emission sources and related methodological elements can be opened to users; that is, users can first define carbon emission sources, as well as methodological elements such as activity data statistical caliber, calculation formula, and emission factors used to calculate the carbon emissions of the carbon emission sources. Then, the client can calculate the carbon emissions of the carbon emission sources based on the user-defined carbon emission sources and related methodological elements.

[0063] Therefore, in the embodiments shown above, on the one hand, users are required to have a high level of technical expertise and understand which methodological elements are applicable to different emission sources, resulting in high human costs for calculating carbon emissions; on the other hand, since the emission sources and the methodological elements applicable to each emission source are all customized and managed by the user, the data maintainability of the relevant content is poor, and if some content is misconfigured, problems such as the inability to correctly fill in the calculation parameters required for calculating carbon emissions and incorrect carbon emission calculation results may occur later.

[0064] In view of this, this specification aims to propose a technical solution that pre-configures the correspondence between carbon emission sources, activity data statistical standards, and calculation formulas for cloud applications used to calculate carbon emissions. Ordinary users only need to submit activity data values ​​on the client side of the cloud application according to the target activity data statistical standards corresponding to the target carbon emission sources to obtain the carbon emissions calculated by the cloud application.

[0065] In implementation, the client of the cloud application can first obtain the activity data value submitted by the user for the service instance corresponding to the target carbon emission source, according to the target activity data statistical caliber corresponding to the target carbon emission source; further, the client can submit the instance information of the service instance and the activity data value to the cloud application deployed on the cloud server; so that the cloud application can determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber according to the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas, and calculate the carbon emission of the target carbon emission source based on the target calculation formula, the value of the emission factor included in the target calculation formula and the activity data value; wherein, the instance information of the service instance can be used to indicate the target carbon emission source and the target activity data statistical caliber; further, the client can obtain the carbon emission of the target carbon emission source calculated by the cloud application.

[0066] For example, see Figure 1 , Figure 1 This is a schematic diagram illustrating a service instance as an exemplary embodiment. (As shown) Figure 1 As shown, the target carbon emission source can be a "bus," and the statistical caliber of the target activity data corresponding to the target carbon emission source can be "G2"; the cloud application client can first obtain user information regarding, for example... Figure 1 The service instance shown submits the activity data value "AD1 = 10000km" according to the target activity data statistics caliber "G2", which means the activity data "mileage" is 10000km; furthermore, the client can... Figure 1 The instance information of the service instance shown and the activity data value "AD1 = 10000km" are submitted to the cloud application deployed on the cloud server.

[0067] Further, please refer to Table 1, which is an exemplary embodiment illustrating the correspondence between carbon emission sources, activity data statistical calibers, and calculation formulas.

[0068] Carbon emission sources Activity data statistics criteria Calculation formula natural gas G1 <![CDATA[CO2:AD1*EF*GWP]]> bus G1 <![CDATA[CO2:AD1*EF*GWP]]> bus G2 <![CDATA[CO2:AD1*FM*p*NCV*OF*CC*44 / 12*GWP]]> bus G2 <![CDATA[CH4:AD1*EF*GWP]]>

[0069] Table 1

[0070] The cloud application can determine the target calculation formulas corresponding to the target carbon emission source "bus" and the target activity data statistical caliber "G2" as "CO2: AD1*FM*p*NCV*OF*CC*44 / 12*GWP" and "CH4: AD1*EF*GWP" based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas shown in Table 1.

[0071] The meanings and exemplary values ​​of each emission factor included in the target calculation formula are shown in Table 2:

[0072] Emission factors meaning Value FM fuel consumption per 100 kilometers FM [bus] = 8.9L / 100km p fuel density p = 0.73 g / L NCV Low heating value NCV [Gasoline] = 43.07 GJ / t OF carbon oxidation rate OF [gasoline] = 0.0189 t / GJ CC Low calorific value and carbon content CC [gasoline] = 0.98 GWP Global warming potential of greenhouse gases <![CDATA[GWP[CO2]=1,GWP[CH4]=28]]> EF EF [car, gasoline, China V emission standard] = 6 mg / km

[0073] Table 2

[0074] Furthermore, the cloud application can calculate the carbon emissions of the target carbon emission source based on the target calculation formula, the values ​​of the emission factors included in the target calculation formula, and the activity data values. That is, the values ​​of each emission factor shown in Table 2 and the activity data values ​​submitted by the user can be substituted into the target calculation formula to obtain the carbon emissions of the target carbon emission source "bus" as "CO2 emissions + CH4 emissions", where...

[0075]

[0076] Furthermore, the client can obtain the carbon emissions of the target carbon emission source "bus" calculated by the cloud application.

[0077] Therefore, in the technical solution described in this specification, since the cloud application used to calculate carbon emissions is pre-configured with the correspondence between carbon emission sources, activity data statistical calibers, and calculation formulas, the user only needs to submit the activity data value for the service instance corresponding to the target carbon emission source on the client side of the cloud application. The client can then submit the instance information of the service instance and the activity data value to the cloud application deployed on the cloud server to obtain the carbon emissions of the target carbon emission source calculated by the cloud application.

[0078] In this way, on the one hand, ordinary users do not need to customize emission sources and the methodological elements such as the applicable activity data statistical caliber, calculation formula, and emission factor. They only need to focus on which emission sources are the target emission sources to be calculated and obtain the activity data value of the target emission sources according to the target activity data statistical caliber in the service instance corresponding to the target carbon emission source. This lowers the user threshold and improves the efficiency of carbon emission calculation. On the other hand, since the activity data value is submitted by the user according to the target activity data statistical caliber in the service instance corresponding to the target carbon emission source, and the target calculation formula and emission factor used to calculate carbon emissions are determined by the cloud application deployed on the cloud server according to the pre-configured correspondence between carbon emission sources, activity data statistical caliber, and calculation formula, compared with the implementation method where the methodological elements applicable to emission sources are completely customized by the user, the possibility of configuration errors is reduced, ensuring the accuracy and reliability of the cloud application in calculating carbon emissions.

[0079] The present application will now be described through specific embodiments and in conjunction with specific application scenarios.

[0080] In this specification, the cloud application used to calculate carbon emissions can be deployed on a cloud server without requiring local deployment on the client side.

[0081] In one embodiment shown, the cloud application can specifically be a SaaS (Software-as-a-Service) application; the client can specifically be a SaaS client; and the user can specifically be an enterprise user of the SaaS client.

[0082] For example, enterprise users can obtain carbon emission calculation services provided by SaaS applications deployed on cloud servers through SaaS clients (such as browsers) and the Internet on mobile terminals, computers and other electronic devices with network capabilities.

[0083] In this specification, the cloud application may be pre-configured with the correspondence between carbon emission sources, activity data statistical calibers, and calculation formulas.

[0084] For example, professional methodology managers (as opposed to "ordinary users") can pre-configure the correspondence between carbon emission sources, activity data statistical standards, and calculation formulas for the cloud application, as shown in Table 1.

[0085] It should be noted that in the embodiments shown above, by having professional methodology managers pre-configure the correspondence between carbon emission sources, activity data statistical standards and calculation formulas for the cloud application, ordinary users do not need to customize carbon emission sources and the methodological elements applicable to the carbon emission sources. Therefore, for ordinary users, the usage threshold for calculating carbon emissions using the cloud application is lowered, that is, the technical requirements for ordinary users are reduced.

[0086] In one embodiment shown, the cloud application may be pre-configured with at least one carbon emission source.

[0087] For example, professional methodology managers can pre-configure carbon emission sources such as "buses," "natural gas combustion," "purchased electricity," "air conditioning," and "fire extinguisher emissions" for the cloud application.

[0088] Accordingly, the cloud application can also be pre-configured with methodological elements such as activity data calibers and calculation formulas corresponding to each of the at least one carbon emission sources. Table 1 only shows a portion of these as examples, and they will not be listed in detail here. For example, the activity data statistical caliber corresponding to the carbon emission source "natural gas combustion" can be "G1: Natural gas consumption (Nm³)". 3 The statistical caliber for the activity data corresponding to the carbon emission source "air conditioning" can be "G1: filler filling amount (kg)", and the statistical caliber for the activity data corresponding to the carbon emission source "purchased electricity" can be "G1: electricity consumption (kWh)".

[0089] In one embodiment shown, the cloud application may be pre-configured with a correspondence between carbon emission sources, activity data statistical calibers, and additional parameters.

[0090] For example, please refer to Table 3, which is an exemplary embodiment illustrating the correspondence between carbon emission sources, activity data statistical calibers, and additional parameters.

[0091] Carbon emission sources Activity data statistics criteria Additional parameters bus G2 Equipment type, fuel type, emission standards air conditioner G1 Equipment type Purchased electricity G1 Electricity area

[0092] Table 3

[0093] It should be noted that, in one or more embodiments shown above, each methodological element can be first split into multiple related database tables for storage according to carbon emission sources, activity data statistical caliber, calculation formulas, emission factor libraries for calculation formulas, and additional parameters, so as to ensure the scalability of the configuration content; furthermore, some or all of the data can be maintained and managed by professional methodologists; in addition, the ability to define some data can also be made available to ordinary users, which is not limited in this specification.

[0094] Please see Figure 2 , Figure 2 This is a flowchart illustrating an exemplary embodiment of a method for calculating carbon emissions. The method can be applied to a client corresponding to the cloud application deployed on a cloud server, and the method can perform the following steps:

[0095] Step 202: Obtain the activity data value submitted by the user for the service instance corresponding to the target carbon emission source, according to the target activity data statistical caliber corresponding to the target carbon emission source.

[0096] For example, such as Figure 1 As shown, the user can obtain the activity data value "AD1=10000km" submitted by the user for the service instance corresponding to the target carbon emission source "bus", according to the target activity data statistical caliber "G2: mileage (km)".

[0097] In this specification, before obtaining the activity data value submitted by the user for the service instance corresponding to the target carbon emission source, the client may first generate the service instance corresponding to the target carbon emission source.

[0098] In one embodiment shown, the cloud application may be pre-configured with at least one carbon emission source; prior to step 202, the method may further include: obtaining the target carbon emission source selected by the user from the at least one carbon emission source; obtaining the target activity data statistical caliber selected by the user from at least one activity data statistical caliber corresponding to the target carbon emission source; and generating a service instance corresponding to the target carbon emission source based on the target carbon emission source and the target activity data statistical caliber.

[0099] For example, the cloud application can be pre-configured with carbon emission sources such as "bus," "natural gas combustion," "purchased electricity," "air conditioning," and "fire extinguisher emissions." The client can obtain the carbon emission source "bus" selected by the user as the target carbon emission source. Further, as shown in Table 1, at least one activity data statistical caliber corresponding to the target carbon emission source "bus" can include "G1" and "G2." The client can obtain the activity data statistical caliber "G2" selected by the user as the target activity data statistical caliber. Further, the client can generate data based on the target carbon emission source "bus" and the target activity data statistical caliber "G2." Figure 1 The example shown corresponds to the target carbon emission source, "bus".

[0100] It should be noted that, in the embodiments shown above, since the cloud application is pre-configured with at least one selectable carbon emission source and a pre-configured correspondence between carbon emission sources and activity data statistical standards, ordinary users only need to select the target carbon emission source from the pre-configured carbon emission sources to calculate the carbon emissions, and select the target activity data statistical standard from the pre-configured activity data statistical standards corresponding to the target carbon emission source that matches the available activity data value, so as to easily and quickly create a service instance corresponding to the target carbon emission source.

[0101] In another embodiment shown, when a user has specific computing needs, the user can also submit a service instance generation request to the client. The service instance generation request includes a carbon emission source specified by the user and an activity data statistical caliber specified by the user for the carbon emission source. Further, the client can submit the user-specified carbon emission source and the corresponding activity data statistical caliber to a cloud application deployed on a cloud server for legality verification. If the legality verification passes, a service instance corresponding to the user-specified carbon emission source and the corresponding activity data statistical caliber is generated.

[0102] In one possible embodiment, the cloud application may also be pre-configured with a correspondence between carbon emission sources, activity data statistical standards, and additional parameters. Before generating a service instance corresponding to the target carbon emission source based on the target carbon emission source and the target activity data statistical standards, the method may further include: obtaining additional parameter values ​​submitted by the user for the additional parameters corresponding to the target carbon emission source and the target activity data statistical standards. In this case, generating a service instance corresponding to the target carbon emission source based on the target carbon emission source and the target activity data statistical standards may specifically include: generating a service instance corresponding to the target carbon emission source based on the target carbon emission source, the target activity data statistical standards, and the additional parameter values.

[0103] For example, after obtaining the user's selected target carbon emission source "bus" and target activity data statistical caliber "G2", according to Table 3, the additional parameters corresponding to the target carbon emission source "bus" and target activity data statistical caliber "G2" are "equipment type, fuel type, emission standard". The client can obtain the additional parameter values ​​submitted by the user for these additional parameters: "equipment type = passenger car, fuel type = gasoline, emission standard = China V". Furthermore, the client can generate, based on the target carbon emission source "bus", target activity data statistical caliber "G2", and additional parameter values ​​"equipment type = passenger car, fuel type = gasoline, emission standard = China V", as shown in Table 3. Figure 1The example shown corresponds to the target carbon emission source, "bus".

[0104] It should be noted that in the embodiments shown above, since the cloud application is pre-configured with the correspondence between carbon emission sources, activity data statistical standards and additional parameters, ordinary users only need to select the target carbon emission source, select the target activity data statistical standard, and submit the additional parameter values ​​to easily and quickly create a service instance corresponding to the target carbon emission source.

[0105] Additionally, it should be noted that in the embodiments shown above, if the user submits additional parameter values ​​for the additional parameters corresponding to the target carbon emission source and the target activity data statistical caliber, the actual value of the emission factor included in the target calculation formula can be determined based on the additional parameter values, and the carbon emission amount can be calculated based on the actual value of the emission factor; if the user does not submit additional parameter values, the carbon emission amount can be calculated based on the default value of the emission factor.

[0106] In one possible embodiment, the user can generate a service instance corresponding to the target carbon emission source through the service instance creation page provided by the client.

[0107] First, during the creation of a service instance corresponding to a specific carbon emission source, the user can select the target carbon emission source through the service instance creation page. In implementation, obtaining the target carbon emission source selected by the user from the at least one carbon emission source can specifically include: in response to a service instance creation request initiated by the user, sending a first query request for available carbon emission sources to a cloud application deployed on the cloud server, so that the cloud application, in response to the first query request, identifies at least a portion of the pre-configured at least one carbon emission source as available carbon emission sources; obtaining the available carbon emission sources returned by the cloud application and displaying the available carbon emission sources on the service instance creation page; and in response to the user's selection operation for the available carbon emission sources on the service instance creation page, identifying the available carbon emission source selected by the user as the target carbon emission source.

[0108] For example, see Figure 3 , Figure 3 This is a schematic diagram illustrating a service instance creation page, as shown in an exemplary embodiment. Figure 3As shown, the service instance creation page may include a "Select Carbon Emission Source" option. In response to a trigger operation on the "Select Carbon Emission Source" option on the service instance creation page, it can be considered that the user has initiated a service instance creation request and can send a first query request for available carbon emission sources to the cloud application deployed on the cloud server. In response to the first query request, the cloud application can identify at least a portion of the pre-configured at least one carbon emission source as available carbon emission sources. Further, the client can obtain the available carbon emission sources "bus," "natural gas combustion," and "air conditioning" returned by the cloud application and can display these available carbon emission sources on the service instance creation page. Further, in response to the user's selection operation for the available carbon emission source "bus" on the service instance creation page, the client can determine the target carbon emission source as "bus."

[0109] The step of determining at least a portion of the pre-configured carbon emission sources as available carbon emission sources can be understood as follows: when the cloud application has a large number of pre-configured emission sources, at least a portion of the carbon emission sources that the user may be involved with can be selected as available carbon emission sources based on user information, instead of directly returning all pre-configured carbon emission sources to the user. This reduces the time spent by the user in selecting target carbon emission sources, improves the efficiency of creating service instances, and thus improves the efficiency of calculating carbon emissions.

[0110] Furthermore, during the creation of a service instance corresponding to a specific carbon emission source, the user can also select a target activity data statistical caliber corresponding to the target carbon emission source through the service instance creation page. In implementation, obtaining the target activity data statistical caliber selected by the user from at least one activity data statistical caliber corresponding to the target carbon emission source can specifically include: in response to determining the available carbon emission source selected by the user as the target carbon emission source, sending a second query request for available activity data statistical calibers to the cloud application, so that the cloud application, in response to the second query request, determines at least one pre-configured activity data statistical caliber corresponding to the target carbon emission source as an available activity data statistical caliber; obtaining the available activity data statistical caliber returned by the cloud application and displaying the available activity data statistical caliber on the service instance creation page; and in response to the user's selection operation for the available activity data statistical caliber on the service instance creation page, determining the available activity data statistical caliber selected by the user as the target activity data statistical caliber.

[0111] For example, see Figure 4 , Figure 4 This is a schematic diagram illustrating another service instance creation page, as shown in an exemplary embodiment. Figure 4As shown, in response to determining that the target carbon emission source is "bus", the client can send a second query request to the cloud application regarding the available activity data statistical caliber; in response to the second query request, the cloud application can determine at least one pre-configured activity data statistical caliber corresponding to the target carbon emission source "bus" as the available activity data statistical caliber; the client can obtain the available activity data statistical caliber returned by the cloud application as "G1: Turnover (pkm)" and "G2: Mileage (km)", and can display the available activity data statistical caliber on the service instance creation page; furthermore, in response to the user's selection operation for the available activity data statistical caliber "G2: Mileage (km)" on the service instance creation page, the client can determine that the target activity data statistical caliber is "G2: Mileage (km)".

[0112] Furthermore, during the creation of a service instance corresponding to a specific carbon emission source, the user can also fill in additional parameter values ​​through the service instance creation page. In implementation, obtaining the additional parameter values ​​submitted by the user for the additional parameters corresponding to the target carbon emission source and the activity data statistical caliber can specifically include: in response to determining the available activity data statistical caliber selected by the user as the target activity data statistical caliber, sending a third query request for the additional parameters to the cloud application, so that the cloud application, in response to the third query request, returns the pre-configured additional parameters corresponding to the target carbon emission source and the target activity data statistical caliber to the client; obtaining the additional parameters returned by the cloud application and displaying the additional parameters on the service instance creation page; and in response to the user's entry operation for the additional parameters on the service instance creation page, obtaining the additional parameter values ​​submitted by the user for the additional parameters.

[0113] For example, see Figure 5 , Figure 5 This is a schematic diagram illustrating another service instance creation page, as shown in an exemplary embodiment. Figure 5As shown, in response to determining the target activity data statistical caliber as "G2: Mileage (km)", the client can send a third query request for additional parameters to the cloud application. The cloud application, in response to the third query request, returns the pre-configured additional parameters "Equipment Type, Fuel Type, Emission Standard" corresponding to the target carbon emission source "bus" and the target activity data statistical caliber "G2: Mileage (km)" to the client. The client can obtain the additional parameters returned by the cloud application and display them on the service instance creation page. Furthermore, in response to the user's input of the additional parameters on the service instance creation page, the client can obtain the additional parameter values ​​submitted by the user: "Equipment Type = Passenger Car, Fuel Type = Gasoline, Emission Standard = China V".

[0114] It should be noted that, in the embodiments shown above, when such as Figure 5 The service instance creation page shown can display additional parameters corresponding to the target carbon emission source and the target activity data statistical caliber, as well as the value range of the additional parameters, to help users fill in additional parameter values ​​that conform to the value range.

[0115] Furthermore, after generating a service instance corresponding to the target carbon emission source, the user can fill in the activity data value through the carbon emission calculation page corresponding to the service instance.

[0116] For example, see Figure 6 , Figure 6 This is a schematic diagram illustrating a carbon emissions calculation page, as shown in an exemplary embodiment. Figure 6 As shown, in response to the user's input of the "mileage" option on the carbon emission calculation page, the client can obtain the activity data value "AD1=10000km" submitted by the user for the service instance corresponding to the target carbon emission source "bus" according to the target activity data statistical caliber "G2: mileage (km)".

[0117] Step 204: Submit the instance information of the service instance and the activity data value to the cloud application deployed on the cloud service, so that the cloud application determines the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber according to the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas, and calculates the carbon emission of the target carbon emission source based on the target calculation formula, the value of the emission factor included in the target calculation formula and the activity data value; wherein, the instance information of the service instance is used to indicate the target carbon emission source and the target activity data statistical caliber.

[0118] For example, such as Figure 1 As shown, after obtaining the user's activity data value "AD1 = 10000km" submitted according to the target activity data statistical caliber "G2: Mileage (km)" for the service instance corresponding to the target carbon emission source "bus", it can be used as follows: Figure 1 The instance information of the service instance shown and the activity data value "AD1 = 10000km" are submitted to the cloud application deployed on the cloud server. The instance information of the service instance can at least indicate the target carbon emission source "bus" and the target activity data statistical caliber "G2: mileage (km)". The cloud application can determine the target calculation formula corresponding to the target carbon emission source "bus" and the target activity data statistical caliber "G2" as "CO2: AD1*FM*p*NCV*OF*CC*44 / 12*GWP" and "CH4: AD1*EF*GWP" according to the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas shown in Table 1. The cloud application can also substitute the values ​​of each emission factor shown in Table 2 and the activity data value submitted by the user into the target calculation formula to obtain the carbon emission of the target carbon emission source "bus" as "CO2 emission + CH4 emission".

[0119] In step 204, the cloud application determines the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas. This can also be understood as the cloud application determining the target calculation formula to be used based on the target carbon emission source and the target activity data statistical caliber according to the decision paths between the pre-configured methodological elements, and deciding the emission factors contained in the target calculation formula as the emission factors to be used.

[0120] In one embodiment shown, during the process of calculating carbon emissions by the cloud application, in addition to automatically determining the target calculation formula based on the target carbon emission source and the statistical caliber of the target activity data, the values ​​of the emission factors included in the target calculation formula can also be automatically determined based on the additional parameter values. In implementation, in step 204, submitting the instance information of the service instance and the activity data value to the cloud application allows the cloud application to determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers, and calculation formulas. The cloud application then calculates the carbon emissions of the target carbon emission source based on the target calculation formula, the emission factor values ​​included in the target calculation formula, and the activity data value. Specifically, this may include: submitting the instance information of the service instance and the activity data value to the cloud application, allowing the cloud application to determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers, and calculation formulas; determining the emission factor values ​​included in the target calculation formula based on the additional parameter values; and calculating the carbon emissions of the target carbon emission source based on the target calculation formula, the emission factor values ​​included in the target calculation formula, and the activity data value. The instance information of the service instance is also used to indicate the additional parameter values.

[0121] For example, such as Figure 1 As shown, after obtaining the user's activity data value "AD1 = 10000km" submitted according to the target activity data statistical caliber "G2: Mileage (km)" for the service instance corresponding to the target carbon emission source "bus", and obtaining the user's additional parameter values ​​"Equipment Type = Passenger Car, Fuel Type = Gasoline, Emission Standard = China V" for the additional parameters corresponding to the target carbon emission source "bus" and the target activity data statistical caliber "G2", the following can be used: Figure 1The instance information of the service instance shown and the activity data value "AD1 = 10000km" are submitted to the cloud application deployed on the cloud server. The instance information of the service instance can be used to indicate the target carbon emission source "bus", the target activity data statistical caliber "G2: mileage (km)", and the additional parameter values ​​"equipment type = sedan, fuel type = gasoline, emission standard = China V". This allows the cloud application to determine the target carbon emission source "bus" based on the pre-configured correspondence between the carbon emission source, activity data statistical caliber, and calculation formula shown in Table 1. The target calculation formulas corresponding to "vehicle" and the target activity data statistical caliber "G2" are "CO2: AD1*FM*p*NCV*OF*CC*44 / 12*GWP" and "CH4: AD1*EF*GWP". The values ​​of emission factors included in the target calculation formula can be determined based on the additional parameter values ​​in Table 2. Furthermore, the values ​​of each emission factor shown in Table 2 and the activity data values ​​submitted by the user can be substituted into the target calculation formula to obtain the carbon emission amount of the target carbon emission source "bus" as "CO2 emission amount + CH4 emission amount".

[0122] In one embodiment, during the cloud application's calculation of carbon emissions, a calculation instance corresponding to the service instance can be generated first, and then the calculation instance can be executed to obtain the calculation result. In implementation, the instance information of the service instance and the activity data value are submitted to the cloud application so that the cloud application, based on a pre-configured correspondence between carbon emission sources, activity data statistical standards, and calculation formulas, determines the target calculation formula corresponding to the target carbon emission source and the target activity data statistical standard, and determines the value of the emission factor included in the target calculation formula based on the additional parameter values. Based on the target calculation formula, the value of the emission factor included in the target calculation formula, and the activity data value, the carbon emissions of the target carbon emission source are calculated. Specifically, this may include: submitting the instance information of the service instance... The information and the activity data value are submitted to the cloud application, so that the cloud application can determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber according to the pre-configured correspondence between carbon emission sources, activity data statistical caliber and calculation formula, and determine the value of the emission factor included in the target calculation formula based on the additional parameter value, and generate a calculation instance corresponding to the service instance based on the target calculation formula and the value of the emission factor included in the target calculation formula, and execute the calculation instance with the activity data value as the calculation parameter to calculate the carbon emission of the target carbon emission source.

[0123] It should be noted that, in the above-described embodiments, by generating a computing instance corresponding to the service instance, when it is necessary to calculate carbon emissions for the same carbon emission source and the same activity data statistical caliber, the client can send the activity data value provided by the user for the service instance corresponding to the target carbon emission source to the cloud application deployed on the cloud server. This allows the cloud application to directly use the activity data value as a calculation parameter and execute the computing instance corresponding to the service instance, without having to repeatedly decide on the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber, thereby reducing the performance pressure on the cloud application deployed on the cloud server.

[0124] Step 206: Obtain the carbon emissions of the target carbon emission source calculated by the cloud application.

[0125] For example, in the case of Figure 1 After the instance information and activity data value "AD1 = 10000km" of the service instance shown are submitted to the cloud application, the client can obtain the carbon emissions of the target carbon emission source "bus" calculated by the cloud application as "CO2 emissions + CH4 emissions", where,

[0126]

[0127] As can be seen from the above technical solutions, since the cloud application used to calculate carbon emissions is pre-configured with the correspondence between carbon emission sources, activity data statistical standards and calculation formulas, users only need to submit activity data values ​​for the service instance corresponding to the target carbon emission source on the client of the cloud application. The client can then submit the instance information of the service instance and the activity data values ​​to the cloud application deployed on the cloud server to obtain the carbon emissions of the target carbon emission source calculated by the cloud application.

[0128] In this way, on the one hand, ordinary users do not need to customize emission sources and the methodological elements such as the applicable activity data statistical caliber, calculation formula, and emission factor. They only need to focus on which emission sources are the target emission sources to be calculated and obtain the activity data value of the target emission sources according to the target activity data statistical caliber in the service instance corresponding to the target carbon emission source. This lowers the user threshold and improves the efficiency of carbon emission calculation. On the other hand, since the activity data value is submitted by the user according to the target activity data statistical caliber in the service instance corresponding to the target carbon emission source, and the target calculation formula and emission factor used to calculate carbon emissions are determined by the cloud application deployed on the cloud server according to the pre-configured correspondence between carbon emission sources, activity data statistical caliber, and calculation formula, compared with the implementation method where the methodological elements applicable to emission sources are completely customized by the user, the possibility of configuration errors is reduced, ensuring the accuracy and reliability of the cloud application in calculating carbon emissions.

[0129] To facilitate understanding of the multi-party interactions involved in implementing the carbon emission calculation method, the following section combines... Figure 7 The technical solutions in this specification are described.

[0130] Please see Figure 7 , Figure 7 This is an exemplary embodiment illustrating a multi-party interaction diagram of a carbon emission calculation method. The method can be applied to a client and can perform the following steps:

[0131] Step 701: The client obtains the target carbon emission source selected by the user from the at least one carbon emission source;

[0132] Step 702: The client obtains the target activity data statistical caliber selected by the user from at least one activity data statistical caliber corresponding to the target carbon emission source;

[0133] Step 703: The client obtains the additional parameter values ​​submitted by the user for the additional parameters corresponding to the target carbon emission source and the target activity data statistical caliber;

[0134] Step 704: The client generates a service instance corresponding to the target carbon emission source based on the target carbon emission source, the target activity data statistical caliber, and the additional parameter value;

[0135] Step 705: The client obtains the activity data value submitted by the user for the service instance corresponding to the target carbon emission source, according to the target activity data statistical caliber corresponding to the target carbon emission source;

[0136] Step 706: The client submits the instance information of the service instance and the activity data value to the cloud application deployed on the cloud server; wherein, the instance information of the service instance is used to indicate the target carbon emission source, the target activity data statistical caliber, and the additional parameter value;

[0137] Step 707: The cloud application determines the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical caliber and calculation formula;

[0138] Step 708: The cloud application determines the value of the emission factor included in the target calculation formula based on the additional parameter value;

[0139] Step 709: The cloud application calculates the carbon emissions of the target carbon emission source based on the target calculation formula, the values ​​of the emission factors included in the target calculation formula, and the activity data values;

[0140] Step 710: The client obtains the carbon emissions of the target carbon emission source calculated by the cloud application.

[0141] In this specification, the specific implementation of steps 701-710 is similar to that of steps 202-206, and will not be repeated here.

[0142] Corresponding to the embodiments of the carbon emission calculation method described above, this specification also provides an embodiment of a carbon emission calculation device.

[0143] Please see Figure 8 , Figure 8 This is an exemplary embodiment illustrating the hardware structure of an electronic device housing a carbon emission calculation device. At the hardware level, the device includes a processor 802, an internal bus 804, a network interface 806, memory 808, and non-volatile memory 810, and may also include other hardware required for business operations. One or more embodiments of this specification can be implemented in software, for example, the processor 802 reads the corresponding computer program from the non-volatile memory 810 into memory 808 and then runs it. Of course, besides software implementation, one or more embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution entity of the following processing flow is not limited to individual logic units, but can also be hardware or logic devices.

[0144] Please see Figure 9 , Figure 9 This is a block diagram illustrating an exemplary embodiment of a carbon emission calculation device. This carbon emission calculation device can be applied to, for example... Figure 8The electronic device shown implements the technical solution of this specification. The carbon emission calculation device may include:

[0145] The first obtaining unit 902 is used to obtain the activity data value submitted by the user for the service instance corresponding to the target carbon emission source, according to the target activity data statistical caliber corresponding to the target carbon emission source.

[0146] The submission unit 904 is used to submit the instance information of the service instance and the activity data value to the cloud application, so that the cloud application can determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber according to the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas, and calculate the carbon emission of the target carbon emission source based on the target calculation formula, the value of the emission factor included in the target calculation formula and the activity data value; wherein, the instance information of the service instance is used to indicate the target carbon emission source and the target activity data statistical caliber;

[0147] The second obtaining unit 906 is used to obtain the carbon emissions of the target carbon emission source calculated by the cloud application.

[0148] In this embodiment, the cloud application is also pre-configured with at least one carbon emission source; the device further includes:

[0149] The third obtaining unit is used to obtain the target carbon emission source selected by the user from the at least one carbon emission source;

[0150] The fourth obtaining unit is used to obtain the target activity data statistical caliber selected by the user from at least one activity data statistical caliber corresponding to the target carbon emission source;

[0151] The generation unit is used to generate a service instance corresponding to the target carbon emission source based on the target carbon emission source and the statistical caliber of the target activity data.

[0152] In this embodiment, the cloud application is also pre-configured with the correspondence between carbon emission sources, activity data statistical standards, and additional parameters; the device further includes:

[0153] The fifth obtaining unit is used to obtain the additional parameter values ​​submitted by the user for additional parameters corresponding to the target carbon emission source and the target activity data statistical caliber;

[0154] The generation unit is specifically used for:

[0155] Based on the target carbon emission source, the statistical caliber of the target activity data, and the additional parameter value, a service instance corresponding to the target carbon emission source is generated; wherein, the instance information of the service instance is also used to indicate the additional parameter value;

[0156] The submission unit 904 is specifically used for:

[0157] The instance information of the service instance and the activity data value are submitted to the cloud application, so that the cloud application can determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber according to the pre-configured correspondence between carbon emission sources, activity data statistical caliber and calculation formula, and determine the value of the emission factor included in the target calculation formula based on the additional parameter value, and calculate the carbon emission of the target carbon emission source based on the target calculation formula, the value of the emission factor included in the target calculation formula and the activity data value.

[0158] In this embodiment, the submission unit 904 is specifically used for:

[0159] The service instance information and the activity data value are submitted to the cloud application, so that the cloud application determines the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas, and determines the value of the emission factor included in the target calculation formula based on the additional parameter value. Based on the target calculation formula and the value of the emission factor included in the target calculation formula, a calculation instance corresponding to the service instance is generated, and the activity data value is used as the calculation parameter to execute the calculation instance to calculate the carbon emission of the target carbon emission source.

[0160] In this embodiment, the third obtaining unit is specifically used for:

[0161] In response to a service instance creation request initiated by a user, a first query request for available carbon emission sources is sent to a cloud application deployed on a cloud service, so that the cloud application, in response to the first query request, identifies at least a portion of the pre-configured at least one carbon emission source as an available carbon emission source.

[0162] Obtain the available carbon emission sources returned by the cloud application and display the available carbon emission sources on the service instance creation page;

[0163] In response to the user's selection of the available carbon emission sources on the service instance creation page, the available carbon emission source selected by the user is determined as the target carbon emission source.

[0164] In this embodiment, the fourth obtaining unit is specifically used for:

[0165] In response to identifying the available carbon emission source selected by the user as the target carbon emission source, a second query request for the available activity data statistical caliber is sent to the cloud application, so that the cloud application, in response to the second query request, identifies at least one pre-configured activity data statistical caliber corresponding to the target carbon emission source as the available activity data statistical caliber.

[0166] Obtain the statistical criteria of available activity data returned by the cloud application, and display the statistical criteria of available activity data on the service instance creation page;

[0167] In response to the user's selection of the available activity data statistical caliber on the service instance creation page, the user's selected available activity data statistical caliber is determined as the target activity data statistical caliber.

[0168] In this embodiment, the fifth obtaining unit is specifically used for:

[0169] In response to determining the available activity data statistical caliber selected by the user as the target activity data statistical caliber, a third query request for additional parameters is sent to the cloud application, so that the cloud application responds to the third query request and returns the pre-configured additional parameters corresponding to the target carbon emission source and the target activity data statistical caliber to the client.

[0170] Obtain the additional parameters returned by the cloud application and display the additional parameters on the service instance creation page;

[0171] In response to the user's input of the additional parameters on the service instance creation page, the value of the additional parameters submitted by the user is obtained.

[0172] In this embodiment, the cloud application is a SaaS application; the client is a SaaS client; and the user is an enterprise user of the SaaS client.

[0173] The specific implementation process of the functions and roles of each unit in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.

[0174] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the solution in this specification according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0175] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.

[0176] In a typical configuration, a computer includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0177] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0178] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0179] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0180] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

[0181] The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of one or more embodiments of this specification. The singular forms “a,” “described,” and “the” as used in one or more embodiments of this specification and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0182] It should be understood that although the terms first, second, third, etc., may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first information may also be referred to as second information without departing from the scope of one or more embodiments of this specification, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "in response to a determination," or "when," or "in the event of a determination."

[0183] The above description is merely a preferred embodiment of one or more embodiments of this specification and is not intended to limit the scope of one or more embodiments of this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments of this specification should be included within the protection scope of one or more embodiments of this specification.

Claims

1. A method for calculating carbon emissions, applied to a client corresponding to a cloud application deployed on a cloud server for calculating carbon emissions; wherein, The cloud application is pre-configured with the correspondence between carbon emission sources, activity data statistical standards, and calculation formulas; the method includes: Obtain the activity data values ​​submitted by users for service instances corresponding to the target carbon emission sources, according to the target activity data statistical caliber corresponding to the target carbon emission sources; The service instance's instance information and the activity data value are submitted to the cloud application, enabling the cloud application to determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers, and calculation formulas. The cloud application then calculates the carbon emissions of the target carbon emission source based on the target calculation formula, the values ​​of emission factors included in the target calculation formula, and the activity data value. The service instance's instance information indicates the target carbon emission source and the target activity data statistical caliber; different activity data statistical calibers correspond to different calculation formulas; and the values ​​of the same emission factor included in the same calculation formula can be different. Obtain the carbon emissions of the target carbon emission source calculated by the cloud application.

2. The method according to claim 1, wherein the cloud application is further pre-configured with at least one carbon emission source; Before obtaining the activity data value submitted by the user for the service instance corresponding to the target carbon emission source, according to the target activity data statistical caliber corresponding to the target carbon emission source, the method further includes: Obtain the target carbon emission source selected by the user from the at least one carbon emission source; Obtain the target activity data statistical caliber selected by the user from at least one activity data statistical caliber corresponding to the target carbon emission source; Based on the target carbon emission source and the statistical criteria for the target activity data, a service instance corresponding to the target carbon emission source is generated.

3. The method according to claim 2, wherein the cloud application is further pre-configured with the correspondence between carbon emission sources, activity data statistical calibers, and additional parameters; Before generating a service instance corresponding to the target carbon emission source based on the target carbon emission source and the statistical caliber of the target activity data, the method further includes: Obtain additional parameter values ​​submitted by the user for additional parameters corresponding to the target carbon emission source and the target activity data statistical caliber; The step of generating a service instance corresponding to the target carbon emission source based on the target carbon emission source and the statistical caliber of the target activity data includes: Based on the target carbon emission source, the statistical caliber of the target activity data, and the additional parameter value, a service instance corresponding to the target carbon emission source is generated; wherein, the instance information of the service instance is also used to indicate the additional parameter value; The step of submitting the instance information of the service instance and the activity data value to the cloud application allows the cloud application to determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers, and calculation formulas. Then, based on the target calculation formula, the values ​​of the emission factors included in the target calculation formula, and the activity data value, the cloud application calculates the carbon emissions of the target carbon emission source, including: The instance information of the service instance and the activity data value are submitted to the cloud application, so that the cloud application can determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber according to the pre-configured correspondence between carbon emission sources, activity data statistical caliber and calculation formula, and determine the value of the emission factor included in the target calculation formula based on the additional parameter value, and calculate the carbon emission of the target carbon emission source based on the target calculation formula, the value of the emission factor included in the target calculation formula and the activity data value.

4. The method according to claim 3, wherein submitting the instance information of the service instance and the activity data value to the cloud application, so that the cloud application determines the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas, and determines the value of the emission factor included in the target calculation formula based on the additional parameter value, and calculates the carbon emission of the target carbon emission source based on the target calculation formula, the value of the emission factor included in the target calculation formula and the activity data value, includes: The service instance information and the activity data value are submitted to the cloud application, so that the cloud application determines the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber based on the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas, and determines the value of the emission factor included in the target calculation formula based on the additional parameter value. Based on the target calculation formula and the value of the emission factor included in the target calculation formula, a calculation instance corresponding to the service instance is generated, and the activity data value is used as the calculation parameter to execute the calculation instance to calculate the carbon emission of the target carbon emission source.

5. The method according to claim 3, wherein obtaining the target carbon emission source selected by the user from the at least one carbon emission source comprises: In response to a service instance creation request initiated by a user, a first query request for available carbon emission sources is sent to a cloud application deployed on a cloud service, so that the cloud application, in response to the first query request, identifies at least a portion of the pre-configured at least one carbon emission source as an available carbon emission source. Obtain the available carbon emission sources returned by the cloud application and display the available carbon emission sources on the service instance creation page; In response to the user's selection of the available carbon emission sources on the service instance creation page, the available carbon emission source selected by the user is determined as the target carbon emission source.

6. The method according to claim 5, wherein obtaining the target activity data statistical caliber selected by the user from at least one activity data statistical caliber corresponding to the target carbon emission source comprises: In response to identifying the available carbon emission source selected by the user as the target carbon emission source, a second query request for the available activity data statistical caliber is sent to the cloud application, so that the cloud application, in response to the second query request, identifies at least one pre-configured activity data statistical caliber corresponding to the target carbon emission source as the available activity data statistical caliber. Obtain the statistical criteria of available activity data returned by the cloud application, and display the statistical criteria of available activity data on the service instance creation page; In response to the user's selection of the available activity data statistical caliber on the service instance creation page, the user's selected available activity data statistical caliber is determined as the target activity data statistical caliber.

7. The method according to claim 6, wherein obtaining the additional parameter values ​​submitted by the user for additional parameters corresponding to the target carbon emission source and the statistical caliber of the activity data includes: In response to determining the available activity data statistical caliber selected by the user as the target activity data statistical caliber, a third query request for additional parameters is sent to the cloud application, so that the cloud application responds to the third query request and returns the pre-configured additional parameters corresponding to the target carbon emission source and the target activity data statistical caliber to the client; Obtain the additional parameters returned by the cloud application and display the additional parameters on the service instance creation page; In response to the user's input of the additional parameters on the service instance creation page, the value of the additional parameters submitted by the user is obtained.

8. The method according to claim 1, wherein the cloud application is a SaaS application; the client is a SaaS client; and the user is an enterprise user of the SaaS client.

9. A carbon emission calculation device, applied to a client corresponding to a cloud application deployed on a cloud server for calculating carbon emissions; wherein, The cloud application is pre-configured with the correspondence between carbon emission sources, activity data statistical standards and calculation formulas; The device includes: The first obtaining unit is used to obtain the activity data value submitted by the user for the service instance corresponding to the target carbon emission source, according to the target activity data statistical caliber corresponding to the target carbon emission source. The submission unit is used to submit the instance information of the service instance and the activity data value to the cloud application, so that the cloud application can determine the target calculation formula corresponding to the target carbon emission source and the target activity data statistical caliber according to the pre-configured correspondence between carbon emission sources, activity data statistical calibers and calculation formulas, and calculate the carbon emission of the target carbon emission source based on the target calculation formula, the values ​​of emission factors included in the target calculation formula and the activity data value; wherein, the instance information of the service instance is used to indicate the target carbon emission source and the target activity data statistical caliber; different activity data statistical calibers correspond to different calculation formulas; the values ​​of the same emission factor included in the same calculation formula can be different; The second obtaining unit is used to obtain the carbon emissions of the target carbon emission source calculated by the cloud application.

10. A machine-readable storage medium storing machine-readable instructions that, when invoked and executed by a processor, implement the method of any one of claims 1 to 8.

Citation Information

Patent Citations

  • Carbon emission quantification platform and carbon emission quantification system

    CN114417255A