Carbon calculation method and device, equipment and storage medium

By constructing an intelligent connection between the current level carbon computing object module and the next level carbon computing object module, the problem of large workload and long cycle in carbon computing model construction is solved, and efficient model construction and rapid modeling are achieved.

CN119006010APending Publication Date: 2024-11-22SUNGROW ICARBON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411083493.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Existing carbon calculation models suffer from problems such as large workload, long cycle, and low modeling efficiency.

Method used

By constructing the current level carbon computing object module, intelligently connecting it with the next level carbon computing object module, establishing model connection relationships, and constructing a carbon computing model adapted to the carbon computing object and parameters.

Benefits of technology

The carbon computation model construction process has been optimized, reducing workload, improving modeling efficiency and speed, shortening the modeling cycle, and enhancing the aggregation flexibility of the next-level carbon computation object module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119006010A_ABST
    Figure CN119006010A_ABST
Patent Text Reader

Abstract

The invention discloses a carbon calculation method, device and equipment and a storage medium. The method comprises the steps of obtaining carbon calculation related data related to a carbon calculation task target; according to the carbon calculation related data, constructing a current-level carbon calculation object module for performing carbon calculation on the carbon calculation object; connecting at least one next-level carbon calculation object module matched with the current-level carbon calculation object module through the current-level carbon calculation object module to obtain a model connection relationship; and according to the model connection relationship, connecting the current-level carbon calculation object module with the matched at least one next-level carbon calculation object module, and constructing a carbon calculation model matched with the carbon calculation object and the carbon calculation parameters. According to the method, the workload of model construction is reduced, the modeling period is shortened, and the modeling efficiency of carbon calculation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of energy carbon technology, and in particular to a carbon calculation method, device, equipment and storage medium. Background Art

[0002] As energy conservation and carbon reduction gradually gain attention, various energy users and product manufacturers are also responding to green, environmentally friendly, and low-carbon production methods. Among them, carbon calculation can quantify carbon reduction results, so carbon calculation has become an important aspect of energy conservation and carbon reduction practice. Due to the complexity of the carbon calculation process, the construction of the carbon calculation model has the problems of large workload, long cycle, and low modeling efficiency. Summary of the invention

[0003] The present invention provides a carbon calculation method, device, equipment and storage medium to reduce the workload of model construction, shorten the modeling cycle and improve the modeling efficiency of carbon calculation.

[0004] According to one aspect of the present invention, there is provided a carbon calculation method, comprising:

[0005] Acquire carbon calculation related data related to a carbon calculation task target, wherein the carbon calculation related data includes a carbon calculation object and a carbon calculation parameter representing a limitation on the carbon calculation task target;

[0006] According to the carbon calculation related data, construct a current level carbon calculation object module for performing carbon calculation on the carbon calculation object;

[0007] By means of the current-level carbon calculation object module, at least one next-level carbon calculation object module matching the current-level carbon calculation object module is connected to obtain a model connection relationship; wherein the carbon calculation boundary of the current-level carbon calculation object module is greater than the carbon calculation boundary of the next-level carbon calculation object module;

[0008] According to the model connection relationship, the current-level carbon calculation object module and the matched at least one next-level carbon calculation object module are connected to construct a carbon calculation model adapted to the carbon calculation object and the carbon calculation parameters.

[0009] Optionally, the step of connecting at least one next-level carbon calculation object module that matches the current-level carbon calculation object module through the current-level carbon calculation object module to obtain a model connection relationship includes:

[0010] Searching all the carbon calculation object modules at the next level by broadcasting or polling through the carbon calculation object module at the current level, and obtaining information returned by all the carbon calculation object modules at the next level;

[0011] According to the returned information, matching the next-level carbon calculation object module with the current-level carbon calculation object module;

[0012] Respond to each of the next-level carbon calculation object modules according to the matching results to establish the model connection relationship.

[0013] Optionally, the step of connecting at least one next-level carbon calculation object module that matches the current-level carbon calculation object module through the current-level carbon calculation object module to obtain a model connection relationship includes:

[0014] Search all model directories storing information of the carbon calculation object modules of the next level by broadcasting or polling through the carbon calculation object module of the current level, and obtain all information returned by the carbon calculation object modules of the next level;

[0015] According to the returned information, matching the next-level carbon calculation object module with the current-level carbon calculation object module;

[0016] The model catalog of each of the next-level carbon calculation object modules is responded to according to the matching result, and the model connection relationship is established.

[0017] Optionally, matching the next-level carbon calculation object module with the current-level carbon calculation object module according to the returned information includes:

[0018] Extracting a first feature vector and a second feature vector from the returned information and the information of the carbon calculation object module at the current level respectively;

[0019] According to the extracted first feature vector and the second feature vector, a similarity calculation method is used to determine whether the next-level carbon calculation object module matches the current-level carbon calculation object module.

[0020] Optionally, before matching the next-level carbon calculation object module with the current-level carbon calculation object module according to the returned information, the method further includes:

[0021] The returned information includes classification information;

[0022] According to the classification information, screening out the next-level carbon calculation object modules that match the type of the current-level carbon calculation object module from the next-level carbon calculation object modules;

[0023] When the carbon calculation object module of the next level is matched with the carbon calculation object module of the current level according to the returned information, it includes:

[0024] According to the returned information, the filtered next-level carbon calculation object module is matched with the current-level carbon calculation object module.

[0025] Optionally, matching the next-level carbon calculation object module with the current-level carbon calculation object module according to the returned information includes:

[0026] The carbon calculation object module at the current level calls the carbon calculation object module at the next level to be matched, and passes the carbon calculation parameter to the carbon calculation object module at the next level;

[0027] receiving a carbon calculation response result generated by the carbon calculation object module at the next level performing carbon calculation according to the carbon calculation parameters;

[0028] Feedback the carbon calculation response result to the user or the system associated with the carbon calculation object, and obtain matching effect feedback;

[0029] According to the matching effect feedback, the collaborative relationship between the current-level carbon calculation object module and the next-level carbon calculation object module is optimized.

[0030] Optionally, the model connection relationship includes: the relationship between the current-level carbon calculation object module and the next-level carbon calculation object module and the relationship between each of the next-level carbon calculation object modules.

[0031] Optionally, the relationship between the carbon calculation object module at the current level and the carbon calculation object module at the next level includes: at least one of a containment relationship, a dependency relationship and an input-output relationship;

[0032] And / or, the relationship between each of the next-level carbon calculation object modules includes: at least one of a dependency relationship and an input-output relationship.

[0033] Optionally, after constructing the carbon calculation model adapted to the carbon calculation object and the carbon calculation parameter, the method further includes:

[0034] Construct at least two of the current-level carbon calculation object modules, and connect the at least two current-level carbon calculation object modules to the upper-level carbon calculation object module; wherein the carbon calculation boundary of the upper-level carbon calculation object module is greater than the carbon calculation boundary of the current-level carbon calculation object module.

[0035] Optionally, after constructing the carbon calculation model adapted to the carbon calculation object and the carbon calculation parameter, the method further includes:

[0036] Acquire carbon calculation source data related to the carbon calculation object through the carbon calculation model;

[0037] The carbon calculation source data is calculated by the current level carbon calculation object module to obtain a carbon calculation result.

[0038] Optionally, the calculating the carbon calculation source data by the current-level carbon calculation object module includes:

[0039] Splitting the carbon calculation source data through the current-level carbon calculation object module and sending it to different next-level carbon calculation object modules according to the model connection relationship;

[0040] Perform carbon calculations respectively through different carbon calculation object modules of the next level to obtain at least two sub-carbon emission results, and return them to the carbon calculation object module of the current level;

[0041] At least two of the sub-carbon emission results are summarized according to logic control by the current level carbon calculation object module.

[0042] Optionally, the obtaining of carbon calculation related data related to the carbon calculation task target includes:

[0043] Acquire original data, wherein the original data includes at least one of user input data obtained through interaction with a user and system call data associated with the carbon calculation object; wherein the system call data includes at least one of energy consumption data, transportation mode data, and production process data;

[0044] The raw data is subjected to at least one of natural language processing, text parsing and data extraction to obtain the carbon calculation related data.

[0045] According to another aspect of the present invention, there is provided a carbon calculation device, comprising:

[0046] A task target acquisition module, used to acquire carbon calculation related data related to the carbon calculation task target, wherein the carbon calculation related data includes a carbon calculation object and a carbon calculation parameter representing a limitation on the carbon calculation task target;

[0047] A model architecture module, used to construct a current-level carbon calculation object module for performing carbon calculation on a carbon calculation object according to the carbon calculation related data;

[0048] A connection module, used to connect at least one next-level carbon calculation object module matching the current-level carbon calculation object module through the current-level carbon calculation object module to obtain a model connection relationship; wherein the carbon calculation boundary of the current-level carbon calculation object module is greater than the carbon calculation boundary of the next-level carbon calculation object module;

[0049] The model improvement module is used to connect the current-level carbon calculation object module and the matched at least one next-level carbon calculation object module according to the model connection relationship, and construct a carbon calculation model adapted to the carbon calculation object and the carbon calculation parameters.

[0050] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0051] at least one processor; and

[0052] a memory communicatively connected to the at least one processor; wherein,

[0053] The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can perform the carbon calculation method according to any embodiment of the present invention.

[0054] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the carbon calculation method described in any embodiment of the present invention when executed.

[0055] The embodiment of the present invention aims at the problems of large workload, long cycle and low modeling efficiency in building a carbon calculation model, sorts out and summarizes the data flow and business flow of the carbon calculation model construction, and provides a method for building a carbon calculation model using active construction technology. Specifically, first, according to the carbon calculation related data, a current-level carbon calculation object module for carbon calculation of the carbon calculation object is constructed; then, through the current-level carbon calculation object module, at least one next-level carbon calculation object module matching the current-level carbon calculation object module is intelligently connected to obtain a model connection relationship; finally, according to the model connection relationship, the current-level carbon calculation object module and the matching at least one next-level carbon calculation object module are connected to build a carbon calculation model adapted to the carbon calculation object and carbon calculation parameters. It can be seen that the embodiment of the present invention can automatically complete the construction of the carbon calculation model, thereby optimizing the construction process of the carbon calculation model, reducing the workload, improving the modeling efficiency and speed, and shortening the modeling cycle. Furthermore, the embodiment of the present invention uses the connection relationship between the current-level carbon calculation object module and each next-level carbon calculation object module to build the model, so that the aggregation of the next-level carbon calculation object module is flexible.

[0056] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0058] Figure 1 A schematic diagram of a carbon calculation method provided by an embodiment of the present invention;

[0059] Figure 2 A schematic diagram of another carbon calculation method provided by an embodiment of the present invention;

[0060] Figure 3 A schematic diagram of another carbon calculation method provided by an embodiment of the present invention;

[0061] Figure 4 A flowchart of a specific method for obtaining a model connection relationship provided by an embodiment of the present invention;

[0062] Figure 5 A flowchart of another specific method for obtaining a model connection relationship provided by an embodiment of the present invention;

[0063] Figure 6 A flowchart of another specific method for obtaining a model connection relationship provided by an embodiment of the present invention;

[0064] Figure 7 A flowchart of another specific method for obtaining a model connection relationship provided by an embodiment of the present invention;

[0065] Figure 8 A structural schematic diagram of a carbon calculation device provided by an embodiment of the present invention;

[0066] Fig. 9 A schematic diagram of the structure of another carbon calculation device provided by an embodiment of the present invention;

[0067] Fig.10 A schematic diagram of the structure of another carbon calculation device provided by an embodiment of the present invention;

[0068] Fig.11 A schematic diagram of the structure of another carbon calculation device provided by an embodiment of the present invention;

[0069] Fig.12 A schematic diagram of the structure of another carbon calculation device provided by an embodiment of the present invention;

[0070] Fig.13 A structural diagram of a carbon calculation object module provided by an embodiment of the present invention;

[0071] Fig.14 A schematic diagram of the structure of a connection module provided by an embodiment of the present invention;

[0072] Fig.15 A schematic diagram of the structure of another connection module provided by an embodiment of the present invention;

[0073] Fig.16 A schematic diagram of the structure of another carbon calculation device provided by an embodiment of the present invention;

[0074] Fig.17 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0075] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0076] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0077] The embodiment of the present invention provides a carbon calculation method, which can be applied to application scenarios that require carbon calculation, such as product carbon footprint, organizational carbon, activity carbon, and carbon inventory. The carbon calculation method can be executed by a carbon calculation device, which can be implemented by software and / or hardware, and can be configured in electronic devices such as mobile phones, computers, tablet computers, intelligent robots, hosts of energy-carbon systems, and servers.

[0078] Figure 1 A schematic diagram of a carbon calculation method provided by an embodiment of the present invention. Figure 1 , the carbon calculation method includes the following steps:

[0079] S110, obtaining carbon calculation related data related to the carbon calculation task target, where the carbon calculation related data includes a carbon calculation object and a carbon calculation parameter that characterizes and defines the carbon calculation task target.

[0080] The carbon calculation task target refers to the construction target of the final carbon calculation model. For example, the task target is to build a carbon calculation model for carbon inventory or a carbon calculation model for product carbon footprint. The carbon calculation object corresponds to the carbon calculation task target. If the carbon calculation task target is to build a carbon calculation model for carbon inventory, the carbon calculation object is the object of carbon inventory, for example, a factory; if the carbon calculation task target is to build a carbon calculation model for product carbon footprint, the carbon calculation object is a product corresponding to the product carbon footprint.

[0081] Taking the task objective of carbon inventory as an example, the corresponding carbon calculation parameters can be: organization name, organization boundary, coverage period, industry and standard, etc. Among them, the boundary refers to the coverage range, for example, if the organization name is a workshop, the organization boundary is the coverage range of the workshop.

[0082] Taking the task objective of product carbon footprint as an example, the corresponding carbon calculation parameters can be: product name, life cycle boundary, data cycle, standard, process flow, product net weight, packaging weight and size, etc.

[0083] Optionally, in the obtained carbon calculation related data, the carbon calculation object is the carbon calculation object corresponding to the final target; or, the carbon calculation object includes at least two levels of objects, for example, the final target carbon calculation object and the partial objects constituting the final target carbon calculation object, which are called sub-target carbon calculation objects. Exemplarily, the carbon calculation object is a factory, and the carbon calculation task goal is to build a carbon calculation object model for carbon inventory of the factory. The sub-target carbon calculation objects of the factory include scope 1, scope 2 and scope 3, wherein scope 1 can be a private vehicle, scope 2 can be an air conditioner, and scope 3 can be a transportation service. In other embodiments, the sub-target carbon calculation objects can also be divided according to the various processes of the factory.

[0084] Optionally, the method of obtaining the carbon calculation related data may be that the user actively inputs data into an electronic device equipped with the carbon calculation device, or the electronic device interacts with the user to obtain the carbon calculation object related data.

[0085] S120. Constructing a current-level carbon calculation object module for performing carbon calculation on a carbon calculation object according to the carbon calculation related data.

[0086] Wherein, the carbon calculation object module includes at least two levels, for example, the current level carbon calculation object module and the next level carbon calculation object module. In this step, the current level carbon calculation object module is constructed, and in subsequent steps, the next level carbon calculation object module is also involved. In some embodiments, the carbon calculation object module also includes the previous level carbon calculation object module. The current level carbon calculation object module is a submodel of the previous level carbon calculation object module, and the next level carbon calculation object module is a submodel of the current level carbon calculation object module.

[0087] The carbon calculation object module can complete the carbon calculation of a specific carbon calculation object. Specifically, it can aggregate related sub-models to the carbon calculation object module, thereby providing necessary input and support for carbon calculation. Specifically, it can be used to process carbon emission data, perform carbon calculation analysis and other operations. In other words, the current level carbon calculation object module can call and integrate different next-level carbon calculation object modules according to different scenario needs, and can summarize the calculation results of the next-level carbon calculation object module. The carbon calculation object module can be implemented using front-end and back-end programming technology, or it can be implemented using intelligent agent technology.

[0088] Optionally, the structural setting mode of each level of the carbon calculation object module is the same, and the carbon calculation object module includes an intelligent connection component, a control component, and a data component, etc. Among them, the intelligent connection component is used to connect the carbon calculation object modules of different levels; the control component is used to perform calculation control, connection control, and display control, etc.; the data component is used for data collection, data processing and calculation, and data storage, etc.

[0089] S130. Connect at least one next-level carbon calculation object module that matches the current-level carbon calculation object module through the current-level carbon calculation object module to obtain a model connection relationship; wherein the carbon calculation boundary of the current-level carbon calculation object module is greater than the carbon calculation boundary of the next-level carbon calculation object module.

[0090] Among them, the model connection relationship can also be called a collaborative relationship. Exemplarily, by starting or activating the intelligent connection component in the current level carbon calculation object module, the carbon calculation model can be automatically constructed, specifically, the matching next level carbon calculation object module is automatically aggregated to the current level carbon calculation object module, and a connection relationship is automatically established. This step may include a data preparation step and a connection relationship establishment step, and the data preparation step is specifically to prepare carbon calculation related data and data of all next level carbon calculation object modules associated therewith. In some embodiments, the matching relationship of the next level carbon calculation object module matching the current level carbon calculation object module is unclear, so it is necessary to prepare all next level carbon calculation object modules related to or unrelated to the carbon calculation object. After the next level carbon calculation object module is aggregated to the current level carbon calculation object module, it is necessary to establish an association relationship between these modules to ensure that they can work together and share information. Optionally, by defining relationship rules, using graph theory algorithms and other methods, the current level carbon calculation object module and each next level carbon calculation object module can be connected to each other and work together effectively.

[0091] S140. Connect the carbon calculation object module at the current level and at least one matching carbon calculation object module at the next level according to the model connection relationship, and construct a carbon calculation model that is compatible with the carbon calculation object and the carbon calculation parameters.

[0092] Among them, in S130, all the next-level carbon calculation object modules that match the current-level carbon calculation object module have been determined, and the model connection relationship has been obtained, which is equivalent to the next-level carbon calculation object module being aggregated to the current-level carbon calculation object module to form a carbon calculation model. The carbon calculation model can complete the carbon calculation of the specified carbon calculation object. Further, the constructed carbon calculation model is saved, specifically, it can be saved to a suitable storage medium for subsequent use and query.

[0093] The embodiment of the present invention aims at the problems of large workload, long cycle and low modeling efficiency in building a carbon calculation model, sorts out and summarizes the data flow and business flow of the carbon calculation model construction, and provides a method for building a carbon calculation model using active construction technology. Specifically, first, according to the carbon calculation related data, a current-level carbon calculation object module for carbon calculation of the carbon calculation object is constructed; then, through the current-level carbon calculation object module, at least one next-level carbon calculation object module matching the current-level carbon calculation object module is intelligently connected to obtain a model connection relationship; finally, according to the model connection relationship, the current-level carbon calculation object module and the matching at least one next-level carbon calculation object module are connected to build a carbon calculation model adapted to the carbon calculation object and carbon calculation parameters. It can be seen that the embodiment of the present invention can automatically complete the construction of the carbon calculation model, thereby optimizing the construction process of the carbon calculation model, reducing the workload, improving the modeling efficiency and speed, and shortening the modeling cycle. Furthermore, the embodiment of the present invention uses the connection relationship between the current-level carbon calculation object module and each next-level carbon calculation object module to build the model, so that the aggregation of the next-level carbon calculation object module is flexible.

[0094] On the basis of the above embodiments, optionally, S110, obtaining carbon calculation related data related to the carbon calculation task target, specifically includes: a step of obtaining original data and a step of processing the original data.

[0095] The raw data includes at least one of user input data obtained through interaction with the user and system call data associated with the carbon calculation object; the system call data includes at least one of energy consumption data, transportation mode data and production process data. The raw data is processed by at least one of natural language processing (NLP), text parsing and data extraction to obtain carbon calculation related data. By natural language processing of the raw data, the raw data can be converted into a machine-understandable format for subsequent processing; by parameter parsing and data extraction of the raw data, key information in the raw data, such as carbon calculation objects, carbon calculation parameters, etc., can be identified, which may require the use of text parsing, data extraction and other technologies.

[0096] Figure 2 A flow chart of another carbon calculation method provided by an embodiment of the present invention. Figure 2 The carbon calculation method is applied to carbon inventory, and specifically includes the following steps:

[0097] S210: Acquire carbon calculation related data related to carbon inventory, where the carbon calculation related data includes a carbon inventory object and carbon calculation parameters that characterize and limit the carbon inventory.

[0098] S220. Construct a current-level carbon inventory object module for performing carbon calculation on a carbon inventory object according to carbon calculation related data.

[0099] S230. Connect at least one next-level carbon inventory object module that matches the current-level carbon inventory object module through the current-level carbon inventory object module to obtain a model connection relationship.

[0100] S240. Connect the current-level carbon inventory object module and at least one matching next-level carbon inventory object module according to the model connection relationship, and construct a carbon calculation model that is compatible with the carbon inventory object and the carbon calculation parameters.

[0101] Through S210-S240, the construction of the carbon calculation model for carbon inventory is realized.

[0102] Figure 3 A flow chart of another carbon calculation method provided by an embodiment of the present invention. Figure 3 , the carbon calculation method is applied to the product carbon footprint, specifically including the following steps:

[0103] S310: Acquire carbon calculation related data related to the product carbon footprint, where the carbon calculation related data includes a product carbon footprint object and carbon calculation parameters that characterize and limit the product carbon footprint.

[0104] S320. Construct a current-level product carbon footprint object module for performing carbon calculation on the product carbon footprint object according to the carbon calculation related data.

[0105] S330. Connect at least one next-level product carbon footprint object module that matches the current-level product carbon footprint object module through the current-level product carbon footprint object module to obtain a model connection relationship.

[0106] S340. Connect the current-level product carbon footprint object module and at least one matching next-level product carbon footprint object module according to the model connection relationship, and construct a carbon calculation model that is compatible with the product carbon footprint object and carbon calculation parameters.

[0107] Through S310-S340, the construction of the carbon calculation model of the product carbon footprint is realized.

[0108] On the basis of the above embodiments, optionally, the embodiments of the present invention further limit the establishment of the model connection relationship, which is described in detail below, but is not intended to limit the present invention.

[0109] Figure 4 A flowchart of a specific method for obtaining a model connection relationship provided by an embodiment of the present invention. Figure 4In one embodiment, optionally, by connecting at least one next-level carbon calculation object module that matches the current-level carbon calculation object module through the current-level carbon calculation object module to obtain a model connection relationship, the following steps are included:

[0110] S1311. Search all carbon calculation object modules at the next level by broadcasting or polling through the carbon calculation object module at the current level, and obtain information returned by all carbon calculation object modules at the next level.

[0111] The returned information may be, for example, the name, type, applicable scope, source and status of the next-level carbon calculation object module.

[0112] In some embodiments, the current-level carbon calculation object module and the next-level carbon calculation object module are in a hierarchical relationship based on the process. For example, the current-level carbon calculation object module is used to perform carbon calculation of the carbon footprint of a product. The product requires m processes, and each process can be calculated by a next-level carbon calculation object module. The information returned by the next-level carbon calculation object module is used by the current-level carbon calculation object module to identify the specific matching process. If there are n next-level carbon calculation object modules, the current-level carbon calculation object module can obtain n returned information and select the next-level carbon calculation object module that matches each process.

[0113] In other embodiments, the relationship between the current level carbon calculation object module and the next level carbon calculation object module is a hierarchical relationship based on boundaries and time. For example, the current level carbon calculation object module is used to conduct a carbon inventory of the XX factory in XXXX, and the XX factory has carbon emissions in scope 1 (direct emissions), scope 2 (indirect emissions) and scope 3 (other indirect emissions). Each carbon emission type can be calculated by a next level carbon calculation object module. The information returned by the next level carbon calculation object module is used by the current level carbon calculation object module to identify the matching carbon emission type.

[0114] Furthermore, the carbon emissions for calculating scope 1 are calculated by different next-level carbon calculation object modules according to different types, the carbon emissions for calculating scope 2 are calculated by different next-level carbon calculation object modules according to different types, and the carbon emissions for calculating scope 3 are calculated by different next-level carbon calculation object modules according to different types. At this time, the information returned by each next-level carbon calculation object module may also include type information, and when matching with the current-level carbon calculation object module, the next-level carbon calculation object module may also be classified, screened, and clustered to ensure that each next-level carbon calculation object is correctly aggregated into the corresponding current-level carbon calculation object module.

[0115] S1312. According to the returned information, the carbon calculation object module of the next level is matched with the carbon calculation object module of the current level.

[0116] Taking the m processes of a product in S1311 as an example, the input of the first next-level carbon calculation object module is a number of parts, electricity consumption, steam consumption, etc., and its output is the solid waste generated, etc., for carbon calculation; the input of the second next-level carbon calculation object module is the solid waste output by the first previous-level carbon calculation object module; ...; and so on, until the next-level carbon calculation object module corresponding to the mth process.

[0117] Taking the carbon inventory of XX factory in XXXX in S1311 as an example, the input of the first next-level carbon calculation object module is the fossil fuel burned by XX factory, and its output is the carbon emissions corresponding to these greenhouse gases; the input of the second next-level carbon calculation object module is the electricity purchased by XX factory from the public power grid or other suppliers, and its output is the carbon emissions corresponding to this electricity; the input of the third next-level carbon calculation object module is the logistics transportation of XX factory, and its output is the carbon emissions corresponding to the logistics transportation.

[0118] S1313. Respond to each next-level carbon calculation object module according to the matching results and establish a model connection relationship.

[0119] The embodiment of the present invention realizes the automatic establishment of model connection relationship through the search, return and interaction between the current level carbon calculation object module and each next level carbon calculation object module. The model connection relationship can be used for the current level carbon calculation object module to call and interact with the next level carbon calculation object module.

[0120] Figure 5 A flowchart of another specific method for obtaining a model connection relationship provided by an embodiment of the present invention. Figure 5 In another embodiment, optionally, at least one next-level carbon calculation object module matching the current-level carbon calculation object module is connected through the current-level carbon calculation object module to obtain a model connection relationship, including the following steps:

[0121] S1321. Search all model directories storing information of carbon calculation object modules at the next level by broadcasting or polling through the carbon calculation object module at the current level, and obtain information returned by all carbon calculation object modules at the next level.

[0122] Among them, different from the above-mentioned embodiment, the next-level carbon calculation object module in the embodiment of the present invention has a model directory, that is, a mapping is established for each next-level carbon calculation object module. Specifically, compared with the next-level carbon calculation object module, the model directory has the advantages of not needing to store all the module data and a small amount of data, which is conducive to data interconnection between different systems through the model directory. For example, XX Factory has branches in multiple different areas, each of which corresponds to a different next-level carbon calculation object module. Through the form of a model directory, each branch and XX Factory exchange data, without the need to directly connect the systems of each branch, which is conducive to avoiding problems caused by large-scale data copying.

[0123] S1322. According to the returned information, the carbon calculation object module of the next level is matched with the carbon calculation object module of the current level.

[0124] S1323. Respond to the model catalog of each next-level carbon calculation object module according to the matching result and establish a model connection relationship.

[0125] Among them, carbon calculation model data may be stored in multiple discrete systems, which is conducive to the rapid construction of carbon calculation models across multiple systems.

[0126] The embodiment of the present invention realizes the automatic establishment of model connection relationship through the search, return and interaction between the current level carbon calculation object module and each next level carbon calculation object module through the model directory, and is conducive to cross-system connection. The model connection relationship can be used for the current level carbon calculation object module to call and interact with the next level carbon calculation object module.

[0127] On the basis of the above embodiments, optionally, according to the returned information, the next-level carbon calculation object module is matched with the current-level carbon calculation object module, specifically including the following steps: extracting the first feature vector and the second feature vector from the returned information and the information of the current-level carbon calculation object module respectively; based on the extracted first feature vector and second feature vector, using a similarity calculation method to determine whether the next-level carbon calculation object module matches the current-level carbon calculation object module.

[0128] Among them, there are multiple types of information of the carbon calculation object module at the current level, and its content name and the like can be expressed in different forms, which can be summarized and aggregated by feature extraction for comparison and matching. Exemplarily, a similarity calculation method can be used to match content names in different forms of expression, and the similarity calculation method includes: at least one of a cosine similarity calculation method, an Euclidean distance calculation method, a Jaccard similarity coefficient, a Boolean model similarity, and an inner product method. An attribute matching method can also be used to match content names in different forms of expression.

[0129] Optionally, the next-level carbon calculation object module is automatically aggregated to the current-level carbon calculation object module by similarity calculation method, clustering algorithm, correlation analysis, or learning model thereof. Exemplarily, the algorithm in each of the above embodiments is used to match the current-level carbon calculation object module and the next-level carbon calculation object module, and determine which next-level carbon calculation object modules can be associated with the current-level carbon calculation object module, so as to aggregate one or more related next-level carbon calculation object modules together, and aggregate them to the current-level carbon calculation object module to form a carbon calculation model.

[0130] It should be noted that, in the above-mentioned embodiments, it is exemplified that when the next-level carbon calculation object module and the current-level carbon calculation object module are matched, the current-level carbon calculation object module broadcasts or polls the next-level carbon calculation object module. This is not a limitation of the present invention. In other embodiments, the next-level carbon calculation object module can also actively recommend to the current-level carbon calculation object module.

[0131] On the basis of the above embodiments, optionally, before matching the next-level carbon calculation object module with the current-level carbon calculation object module according to the returned information, it further includes: the returned information includes classification information; according to the classification information, the next-level carbon calculation object module that matches the type of the current-level carbon calculation object module is screened out from the next-level carbon calculation object module. Accordingly, when matching the next-level carbon calculation object module with the current-level carbon calculation object module according to the returned information, it includes: matching the screened next-level carbon calculation object module with the current-level carbon calculation object module according to the returned information.

[0132] Taking the carbon inventory of XX factory in XXXX as an example, the XX factory has carbon emissions in scope 1 (direct emissions), scope 2 (indirect emissions) and scope 3 (other indirect emissions), and each type of carbon emissions can be calculated by multiple next-level carbon calculation object modules. Specifically, the carbon emissions used to calculate scope 1 are calculated by different next-level carbon calculation object modules according to different types, the carbon emissions used to calculate scope 2 are calculated by different next-level carbon calculation object modules according to different types, and the carbon emissions used to calculate scope 3 are calculated by different next-level carbon calculation object modules according to different types. At this time, it is necessary to first filter out the next-level carbon calculation object modules of scope 1, scope 2, and scope 3 in each next-level carbon calculation object module, and then match each filtered next-level carbon calculation object module to ensure that each next-level carbon calculation object is correctly aggregated into the corresponding current-level carbon calculation object module.

[0133] On the basis of the above-mentioned embodiments, the embodiments of the present invention can further optimize the next-level carbon calculation object module. Specifically, according to the returned information, the next-level carbon calculation object module is matched with the current-level carbon calculation object module, including: calling the next-level carbon calculation object module for matching through the current-level carbon calculation object module, and passing the carbon calculation parameters to the next-level carbon calculation object module; receiving the carbon calculation response result generated by the next-level carbon calculation object module according to the carbon calculation parameters; feeding back the carbon calculation response result to the user or the system associated with the carbon calculation object, and obtaining matching effect feedback; according to the matching effect feedback, optimizing the collaborative relationship between the current-level carbon calculation object module and the next-level carbon calculation object module.

[0134] Among them, after the matching next-level carbon calculation object module is determined, when the carbon calculation is performed subsequently, the current-level carbon calculation object module will initiate a call request, call the matching next-level carbon calculation object module, and pass the input carbon calculation parameters to the corresponding next-level carbon calculation object module; the next-level carbon calculation object module performs corresponding processing after receiving the carbon calculation parameters, and then generates a response result; the current-level carbon calculation object module receives the response of the next-level carbon calculation object module, and returns the response result to the user or the system associated with the carbon calculation object to obtain matching effect feedback; or in the processing process of the next-level carbon calculation object and the current-level carbon calculation object module, the current-level carbon calculation object module can determine the optimal next-level carbon calculation object module by recording and analyzing the interaction process; through multiple calls and feedback, it is beneficial to improve the collaborative relationship between the current-level carbon calculation object module and the next-level carbon calculation object module to optimize the matching and calling process.

[0135] It should be noted that, in the above-mentioned embodiments, it is exemplified that when the next-level carbon calculation object module and the current-level carbon calculation object module are matched, the current-level carbon calculation object module broadcasts or polls the next-level carbon calculation object module. This is not a limitation of the present invention. In other embodiments, the next-level carbon calculation object module can also actively recommend to the current-level carbon calculation object module.

[0136] On the basis of the above embodiments, optionally, the model connection relationship includes: the relationship between the current level carbon calculation object module and the next level carbon calculation object module and the relationship between each next level carbon calculation object module. Optionally, the relationship between the current level carbon calculation object module and the next level carbon calculation object module includes: at least one of a containment relationship, a dependency relationship and an input-output relationship; the relationship between each next level carbon calculation object module includes: at least one of a dependency relationship and an input-output relationship.

[0137] The inclusion relationship refers to the hierarchical relationship of carbon calculation objects. For example, the carbon inventory of XX factory includes carbon emissions in scope 1 (direct emissions), scope 2 (indirect emissions) and scope 3 (other indirect emissions). Dependency refers to the connection and dependency between different processes, which is especially applicable to product carbon footprint. Input-output relationship refers to the output of one carbon calculation module as the input of another carbon calculation module, for example, the product after processing of one raw material is used as the raw material of another product.

[0138] Figure 6 A flowchart of another specific method for obtaining a model connection relationship provided by an embodiment of the present invention. Figure 6 Based on the above embodiments, optionally, after S140, building a carbon calculation model adapted to the carbon calculation object and the carbon calculation parameters, the method further includes:

[0139] S150, construct at least two current-level carbon calculation object modules, and connect the at least two current-level carbon calculation object modules to the upper-level carbon calculation object module; wherein the carbon calculation boundary of the upper-level carbon calculation object module is greater than the carbon calculation boundary of the current-level carbon calculation object module.

[0140] Among them, the current level carbon calculation object module can be used as a submodule of the previous level carbon calculation object module, and can be connected to the previous level carbon calculation object module or higher level carbon calculation object module through the aggregation and connection of the current level carbon calculation object. For example, the XX factory carbon inventory module is aggregated to the XX group carbon inventory module; for another example, a tire carbon footprint module is aggregated to a certain vehicle carbon footprint module, etc.

[0141] It can be seen that the carbon calculation method provided by the embodiment of the present invention can realize the connection of the next-level carbon calculation object module to the current-level carbon calculation object module, the current-level carbon calculation object module to the previous-level carbon calculation object module, the previous-level carbon calculation object module to the higher-level carbon calculation object module, etc., to realize multi-level carbon calculation. Among them, each level carbon calculation object module can realize one or more connection points, for example, one connection point connects to the next-level carbon calculation module, and one connection point connects to the previous-level carbon calculation object module.

[0142] Figure 7 A flowchart of another specific method for obtaining a model connection relationship provided by an embodiment of the present invention. Figure 7 Based on the above embodiments, optionally, after S140, building a carbon calculation model adapted to the carbon calculation object and the carbon calculation parameters, the method further includes:

[0143] S160. Acquire carbon calculation source data related to the carbon calculation object through the carbon calculation model.

[0144] The collection of carbon calculation source data can be the relevant data obtained by the current level carbon calculation object module from the user input or the system associated with the carbon calculation object, such as carbon emission factors, energy consumption, transportation methods and production processes. Carbon calculation source data can be obtained through various sensors, application programming interface (API) interface or user manual input.

[0145] S170. Calculate the carbon calculation source data through the current level carbon calculation object module to obtain a carbon calculation result.

[0146] Optionally, the carbon calculation source data is split through the current-level carbon calculation object module, and sent to different next-level carbon calculation object modules according to the model connection relationship; carbon calculations are performed separately through different next-level carbon calculation object modules to obtain at least two sub-carbon emission results, and returned to the current-level carbon calculation object module; the at least two sub-carbon emission results are summarized according to logical control through the current-level carbon calculation object module.

[0147] Among them, after obtaining the carbon calculation source data, the carbon calculation model needs to process and calculate these data in order to obtain the corresponding carbon emissions. For example, in the process of calculating carbon emissions, the carbon calculation model needs to make judgments and controls according to the set logical rules and parameters. For example, different energy consumption methods have different effects on carbon emissions, and the carbon calculation model needs to calculate the final carbon emissions according to these rules.

[0148] Optionally, after obtaining the carbon calculation results, the results can also be displayed, specifically, the calculated carbon emissions and other information are displayed to the user. Exemplarily, the display format is text (e.g., digital data), chart or other visual format to help users understand and analyze.

[0149] In summary, the embodiment of the present invention first constructs a current-level carbon calculation object module for performing carbon calculation on a carbon calculation object based on carbon calculation related data; then, through the current-level carbon calculation object module, at least one next-level carbon calculation object module that matches the current-level carbon calculation object module is intelligently connected to obtain a model connection relationship; finally, according to the model connection relationship, the current-level carbon calculation object module and at least one matching next-level carbon calculation object module are connected to construct a carbon calculation model that is adapted to the carbon calculation object and carbon calculation parameters. It can be seen that the embodiment of the present invention can automatically complete the construction of the carbon calculation model, thereby optimizing the construction process of the carbon calculation model, reducing the workload, improving the modeling efficiency and modeling speed, and shortening the modeling cycle. Furthermore, the embodiment of the present invention uses the connection relationship between the current-level carbon calculation object module and each next-level carbon calculation object module to construct the model, so that the aggregation of the next-level carbon calculation object module is flexible.

[0150] An embodiment of the present invention also provides a carbon calculation device, which can be implemented by software and / or hardware, and can be configured in electronic devices such as mobile phones, computers, tablet computers, intelligent robots, hosts of energy-carbon systems, servers, etc. Figure 8 A schematic diagram of a carbon calculation device provided by an embodiment of the present invention is shown in FIG. Figure 8 , the carbon calculation device comprises:

[0151] The task target acquisition module 810 is used to acquire carbon calculation related data related to the carbon calculation task target, and the carbon calculation related data includes a carbon calculation object and a carbon calculation parameter representing the limitation of the carbon calculation task target;

[0152] A model architecture module 820, for constructing a current-level carbon calculation object module for performing carbon calculation on a carbon calculation object according to carbon calculation related data;

[0153] The connection module 830 is used to connect at least one next-level carbon calculation object module that matches the current-level carbon calculation object module through the current-level carbon calculation object module to obtain a model connection relationship; wherein the carbon calculation boundary of the current-level carbon calculation object module is greater than the carbon calculation boundary of the next-level carbon calculation object module;

[0154] The model improvement module 840 is used to connect the current level carbon calculation object module and at least one matching next level carbon calculation object module according to the model connection relationship, and build a carbon calculation model that is adapted to the carbon calculation object and carbon calculation parameters.

[0155] The connection module 830 is a part of the current level carbon calculation object module, and the connection module 830 can also be called an intelligent connection component. Optionally, the intelligent connection component is a technical component used to promote efficient, intelligent communication and collaborative work between elements, systems, or intelligent entities of different models (the next level carbon calculation object module and / or the previous level carbon calculation object module). It can be ensured that the existing intelligent connection component can receive input and output corresponding results by redeveloping or using it.

[0156] The carbon calculation device provided in the embodiment of the present invention can execute the carbon calculation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0157] Fig. 9 A schematic diagram of another carbon calculation device provided by an embodiment of the present invention is shown in FIG. Fig. 9 Optionally, the connection module 830 includes:

[0158] A search unit, used to search all next-level carbon calculation object modules by broadcasting or polling, and obtain information returned by all next-level carbon calculation object modules;

[0159] A matching unit, used to match the carbon calculation object module of the next level with the carbon calculation object module of the current level according to the returned information;

[0160] The connection relationship establishment unit is used to respond to each next-level carbon calculation object module according to the matching result and establish a model connection relationship.

[0161] Among them, the connection module 830 generates m information units according to the carbon calculation related data, namely information unit 831, information unit 832, ..., information unit 83m, and each information unit is used to match different next-level carbon calculation object modules. The model library 900 stores n next-level carbon calculation object modules, respectively for the next-level carbon calculation object module 910, the next-level carbon calculation object module 920, ..., and the next-level carbon calculation object module 9n0. The connection module 830 searches for all the next-level carbon calculation object modules by broadcasting or polling, and each next-level carbon calculation object module returns information. Once the connection relationship is determined, the connection module 830 can call each matching next-level carbon calculation object module so that each next-level carbon calculation object module interacts with the connection module 830.

[0162] Optionally, a connection module is also provided in each next-level carbon calculation object module, and carbon calculation object modules at different levels are connected via the connection module.

[0163] Fig.10 A schematic diagram of another carbon calculation device provided by an embodiment of the present invention is shown in FIG. Fig.10 Optionally, different from the above-mentioned embodiment, the next-level carbon calculation object module actively recommends to the connection module 830; the connection module 830 returns information to the next-level carbon calculation object module.

[0164] Fig.11 A schematic diagram of another carbon calculation device provided by an embodiment of the present invention is shown in FIG. Fig.11 Optionally, the connection module 830 includes:

[0165] A search unit is used to search all model directories storing information of carbon calculation object modules of the next level by broadcasting or polling through the carbon calculation object module of the current level, and obtain all information returned by the carbon calculation object module of the next level;

[0166] A matching unit, used to match the carbon calculation object module of the next level with the carbon calculation object module of the current level according to the returned information;

[0167] The connection relationship establishing unit is used to respond to the model directory of each next-level carbon calculation object module according to the matching result and establish the model connection relationship.

[0168] Among them, the connection module 830 generates m information units according to the carbon calculation related data, namely information unit 831, information unit 832, ..., information unit 83m, and each information unit is used to match different next-level carbon calculation object modules. The model library 900 stores n next-level carbon calculation object modules, respectively for the next-level carbon calculation object module 910, the next-level carbon calculation object module 920, ..., and the next-level carbon calculation object module 9n0. And the model library 900 stores n next-level carbon calculation object module information units, respectively for the next-level carbon calculation object module information unit 9011, the next-level carbon calculation object module information unit 9012, ..., and the next-level carbon calculation object module information 901n. The connection module 830 searches all the next-level carbon calculation object module information units by broadcasting or polling, and each next-level carbon calculation object module information unit returns information. Once the connection relationship is determined, the connection module 830 can call the next-level carbon calculation object module corresponding to each matching next-level carbon calculation object module information unit, so that each next-level carbon calculation object module interacts with the connection module 830. The embodiment of the present invention realizes the automatic establishment of the model connection relationship through the search, return and interaction between the current-level carbon calculation object module and each next-level carbon calculation object module through the model directory, and is conducive to cross-system connection.

[0169] Fig.12 A schematic diagram of another carbon calculation device provided by an embodiment of the present invention is shown in FIG. Fig.12Optionally, different from the above-mentioned embodiment, the next-level carbon calculation object module information unit actively recommends to the connection module 830; the connection module 830 returns information to the next-level carbon calculation object module information unit.

[0170] Optionally, the matching unit includes:

[0171] A feature extraction subunit, used to extract a first feature vector and a second feature vector from the returned information and the information of the carbon calculation object module at the current level;

[0172] The matching subunit is used to determine whether the next-level carbon calculation object module matches the current-level carbon calculation object module by using a similarity calculation method according to the extracted first feature vector and second feature vector.

[0173] Optionally, the connection module further includes:

[0174] A classification unit, configured to screen out a next-level carbon calculation object module that matches the type of the current-level carbon calculation object module from the next-level carbon calculation object modules according to the returned information including the classification information;

[0175] The screening unit is used to match the screened next-level carbon calculation object module with the current-level carbon calculation object module according to the returned information.

[0176] Optionally, the matching unit includes:

[0177] A calling subunit is used to call the next-level carbon calculation object module for matching and pass the carbon calculation parameters to the next-level carbon calculation object module;

[0178] A receiving subunit, used to receive a carbon calculation response result generated by a carbon calculation object module at a next level performing carbon calculation according to carbon calculation parameters;

[0179] A feedback subunit is used to feed back the carbon calculation response result to the user or the system associated with the carbon calculation object, and obtain matching effect feedback;

[0180] The optimization subunit is used to optimize the collaborative relationship between the carbon calculation object module at the current level and the carbon calculation object module at the next level according to the matching effect feedback.

[0181] Optionally, the model connection relationship includes: the relationship between the current level carbon calculation object module and the next level carbon calculation object module and the relationship between each next level carbon calculation object module. Optionally, the relationship between the current level carbon calculation object module and the next level carbon calculation object module includes: at least one of a containment relationship, a dependency relationship and an input-output relationship; and / or, the relationship between each next level carbon calculation object module includes: at least one of a dependency relationship and an input-output relationship.

[0182] Optionally, the model architecture module 820 is further used to construct at least two current-level carbon calculation object modules;

[0183] The connection module 830 is further used to connect at least two current-level carbon calculation object modules to a previous-level carbon calculation object module; wherein the carbon calculation boundary of the previous-level carbon calculation object module is greater than the carbon calculation boundary of the current-level carbon calculation object module.

[0184] Optionally, the carbon calculation device further comprises:

[0185] A source data acquisition module is used to acquire carbon calculation source data related to a carbon calculation object through a carbon calculation model;

[0186] The calculation module is used to calculate the carbon calculation source data through the current level carbon calculation object module to obtain the carbon calculation result.

[0187] Optionally, the calculation module includes:

[0188] A splitting unit is used to split the carbon calculation source data and send it to different next-level carbon calculation object modules according to the model connection relationship;

[0189] A carbon emission result acquisition unit, used to perform carbon calculations through different next-level carbon calculation object modules respectively, obtain at least two sub-carbon emission results, and return them to the current-level carbon calculation object module;

[0190] The summarizing unit is used to summarize at least two sub-carbon emission results according to logic control through the current level carbon calculation object module.

[0191] Optionally, the task target acquisition module 810 includes:

[0192] A raw data unit, used to obtain raw data, the raw data including at least one of user input data obtained through interaction with a user and system call data associated with a carbon calculation object; wherein the system call data includes at least one of energy consumption data, transportation mode data and production process data;

[0193] The processing unit is used to perform at least one of natural language processing, text parsing and data extraction on the original data to obtain carbon calculation related data.

[0194] Fig.13 A structural diagram of a carbon calculation object module provided by an embodiment of the present invention, see Fig.13Optionally, the carbon calculation object module may be a carbon calculation object module at the current level, a carbon calculation object module at the next level, a carbon calculation object module at the next level, a carbon calculation object module at the previous level, or a carbon calculation object module at the next level. The carbon calculation object module includes: a connection module (or intelligent connection component) 830, a control module (or control component) 850, and a data module (or data component) 860. Among them, the intelligent connection component is used to connect carbon calculation object modules at different levels; the control component is used to perform calculation control, connection control, and display control; the data component is used to perform data acquisition, data processing and calculation, and data storage.

[0195] Fig.14 A schematic diagram of the structure of a connection module provided by an embodiment of the present invention. Fig.14 Optionally, the connection module 830 includes a connection sending unit 8311, a connection processing unit 8312 and a connection receiving unit 8313. The connection sending unit 8311 is used to send the information of the carbon calculation object module to other carbon calculation object modules; the connection processing unit 8312 is used to process and connect the received information; and the connection receiving unit 8313 is used to receive the information of other carbon calculation object modules.

[0196] Fig.15 A schematic diagram of another connection module provided by an embodiment of the present invention. Fig.15 Optionally, the connection module 830 includes a connection sending unit 8311, a connection processing unit 8312, a connection receiving unit 8313 and a data interface 8314. The connection sending unit 8311 is used to send the information of the carbon calculation object module to other carbon calculation object modules; the connection processing unit 8312 is used to process and connect the received information; the connection receiving unit 8313 is used to receive the information of other carbon calculation object modules; the data interface 8314 is used to send the received and sent information to the relevant system or receive the data sent by the relevant system.

[0197] Fig.16 A schematic diagram of another carbon calculation device provided by an embodiment of the present invention. Fig.16 On the basis of the above embodiments, optionally, the carbon calculation device includes multiple systems, namely system 1, system 2, ..., system p. The embodiment of the present invention can realize the connection of multiple related systems, which can be connected through a connection module. Please refer to the above embodiments, which will not be repeated here.

[0198] Fig.17A schematic diagram of the structure of an electronic device provided for an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0199] like Fig.17 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0200] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0201] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the carbon computing method.

[0202] In some embodiments, the carbon calculation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the carbon calculation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the carbon calculation method in any other appropriate manner (e.g., by means of firmware).

[0203] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0204] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0205] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0206] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0207] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0208] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0209] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0210] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A carbon calculation method, characterized in that: include: Acquire carbon calculation related data related to a carbon calculation task target, wherein the carbon calculation related data includes a carbon calculation object and a carbon calculation parameter representing a limitation on the carbon calculation task target; According to the carbon calculation related data, construct a current level carbon calculation object module for performing carbon calculation on the carbon calculation object; By means of the current-level carbon calculation object module, at least one next-level carbon calculation object module matching the current-level carbon calculation object module is connected to obtain a model connection relationship; wherein the carbon calculation boundary of the current-level carbon calculation object module is greater than the carbon calculation boundary of the next-level carbon calculation object module; According to the model connection relationship, the current-level carbon calculation object module and the matched at least one next-level carbon calculation object module are connected to construct a carbon calculation model adapted to the carbon calculation object and the carbon calculation parameters.

2. The carbon calculation method according to claim 1, characterized in that: The step of connecting at least one next-level carbon calculation object module that matches the current-level carbon calculation object module through the current-level carbon calculation object module to obtain a model connection relationship includes: Searching all the carbon calculation object modules at the next level by broadcasting or polling through the carbon calculation object module at the current level, and obtaining information returned by all the carbon calculation object modules at the next level; According to the returned information, matching the next-level carbon calculation object module with the current-level carbon calculation object module; Respond to each of the next-level carbon calculation object modules according to the matching results to establish the model connection relationship.

3. The carbon calculation method according to claim 1, characterized in that: The step of connecting at least one next-level carbon calculation object module that matches the current-level carbon calculation object module through the current-level carbon calculation object module to obtain a model connection relationship includes: Search all model directories storing information of the carbon calculation object modules of the next level by broadcasting or polling through the carbon calculation object module of the current level, and obtain all information returned by the carbon calculation object modules of the next level; According to the returned information, matching the next-level carbon calculation object module with the current-level carbon calculation object module; The model catalog of each of the next-level carbon calculation object modules is responded to according to the matching result, and the model connection relationship is established.

4. The carbon calculation method according to claim 2 or 3, characterized in that: The step of matching the next-level carbon calculation object module with the current-level carbon calculation object module according to the returned information includes: Extracting a first feature vector and a second feature vector from the returned information and the information of the carbon calculation object module at the current level respectively; According to the extracted first feature vector and the second feature vector, a similarity calculation method is used to determine whether the next-level carbon calculation object module matches the current-level carbon calculation object module.

5. The carbon calculation method according to claim 2 or 3, characterized in that: Before matching the next-level carbon calculation object module with the current-level carbon calculation object module according to the returned information, the method further includes: The returned information includes classification information; According to the classification information, screening out the next-level carbon calculation object modules that match the type of the current-level carbon calculation object module from the next-level carbon calculation object modules; When the carbon calculation object module of the next level is matched with the carbon calculation object module of the current level according to the returned information, it includes: According to the returned information, the filtered next-level carbon calculation object module is matched with the current-level carbon calculation object module.

6. The carbon calculation method according to claim 2 or 3, characterized in that: The step of matching the next-level carbon calculation object module with the current-level carbon calculation object module according to the returned information includes: The carbon calculation object module at the current level calls the carbon calculation object module at the next level to be matched, and passes the carbon calculation parameter to the carbon calculation object module at the next level; receiving a carbon calculation response result generated by the carbon calculation object module at the next level performing carbon calculation according to the carbon calculation parameters; Feedback the carbon calculation response result to the user or the system associated with the carbon calculation object, and obtain matching effect feedback; According to the matching effect feedback, the collaborative relationship between the current-level carbon calculation object module and the next-level carbon calculation object module is optimized.

7. The carbon calculation method according to claim 1, characterized in that: The model connection relationship includes: the relationship between the current-level carbon calculation object module and the next-level carbon calculation object module and the relationship between each of the next-level carbon calculation object modules.

8. The carbon calculation method according to claim 7, characterized in that: The relationship between the carbon calculation object module at the current level and the carbon calculation object module at the next level includes: at least one of a containment relationship, a dependency relationship, and an input-output relationship; And / or, the relationship between each of the next-level carbon calculation object modules includes: at least one of a dependency relationship and an input-output relationship.

9. The carbon calculation method according to claim 1, characterized in that: After constructing the carbon calculation model adapted to the carbon calculation object and the carbon calculation parameter, the method further includes: Construct at least two of the current-level carbon calculation object modules, and connect the at least two current-level carbon calculation object modules to the upper-level carbon calculation object module; wherein the carbon calculation boundary of the upper-level carbon calculation object module is greater than the carbon calculation boundary of the current-level carbon calculation object module.

10. The carbon calculation method according to claim 1, characterized in that: After constructing the carbon calculation model adapted to the carbon calculation object and the carbon calculation parameter, the method further includes: Acquire carbon calculation source data related to the carbon calculation object through the carbon calculation model; The carbon calculation source data is calculated by the current level carbon calculation object module to obtain a carbon calculation result.

11. The carbon calculation method according to claim 10, characterized in that: The calculating the carbon calculation source data by the current level carbon calculation object module includes: Splitting the carbon calculation source data through the current-level carbon calculation object module and sending it to different next-level carbon calculation object modules according to the model connection relationship; Perform carbon calculations respectively through different carbon calculation object modules of the next level to obtain at least two sub-carbon emission results, and return them to the carbon calculation object module of the current level; At least two of the sub-carbon emission results are summarized according to logic control by the current level carbon calculation object module.

12. The carbon calculation method according to claim 1, characterized in that: The obtaining of carbon calculation related data related to the carbon calculation task target includes: Acquire original data, wherein the original data includes at least one of user input data obtained through interaction with a user and system call data associated with the carbon calculation object; wherein the system call data includes at least one of energy consumption data, transportation mode data, and production process data; The raw data is subjected to at least one of natural language processing, text parsing and data extraction to obtain the carbon calculation related data.

13. A carbon calculation device, characterized in that: include: A task target acquisition module, used to acquire carbon calculation related data related to the carbon calculation task target, wherein the carbon calculation related data includes a carbon calculation object and a carbon calculation parameter representing a limitation on the carbon calculation task target; A model architecture module, used to construct a current-level carbon calculation object module for performing carbon calculation on a carbon calculation object according to the carbon calculation related data; A connection module, used to connect at least one next-level carbon calculation object module matching the current-level carbon calculation object module through the current-level carbon calculation object module to obtain a model connection relationship; wherein the carbon calculation boundary of the current-level carbon calculation object module is greater than the carbon calculation boundary of the next-level carbon calculation object module; The model improvement module is used to connect the current-level carbon calculation object module and the matched at least one next-level carbon calculation object module according to the model connection relationship, and construct a carbon calculation model adapted to the carbon calculation object and the carbon calculation parameters.

14. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so as to enable the at least one processor to perform the carbon calculation method according to any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the carbon calculation method according to any one of claims 1 to 12 when executed.