Construction method and device of carbon calculation model, equipment and medium

Through the construction and integration of the agent set, the problems of high investment in the construction of carbon computing models in the existing technology, long cycles and poor adaptability are solved, and efficient and applicable carbon computing models are realized to meet different scenarios and complex needs.

CN118940541APending Publication Date: 2024-11-12SUNGROW ICARBON TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411124256.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

When building carbon computing models in the prior art, artificial methods have high investment, long cycles, poor adaptability, and cannot meet the needs of different scenarios and complex and diverse carbon computing.

Method used

By obtaining modeling requirements parameters, a set of agents is generated, including framework agents and process agents, and based on these agents, a model construction is achieved for different scenarios and needs is achieved.

Benefits of technology

It improves the pertinence and universality of carbon computing models, reduces manual investment, shortens the construction cycle, and meets the complex and diverse modeling needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940541A_ABST
    Figure CN118940541A_ABST
Patent Text Reader

Abstract

The invention discloses a construction method and device of a carbon calculation model, equipment and a medium. The method comprises the following steps: acquiring modeling demand parameters; according to the modeling demand parameters, an agent set for executing modeling tasks corresponding to the modeling demand parameters is generated, and the agent set comprises at least one frame agent and at least one process agent; generating a corresponding process carbon calculation model according to the process agent; and integrating the process carbon calculation model according to the framework agent to obtain a final carbon calculation model. A final carbon calculation model is obtained by generating a framework agent for comprehensively understanding modeling demand parameters, generating a process agent and a corresponding process carbon calculation model through guidance of the framework agent and integrating the process agent and the corresponding process carbon calculation model. The intelligent agent division and cooperation mode can better understand the model construction requirements, so that the pertinence of the final carbon calculation model is improved, the universality of the model construction method is improved, and the complex and diversified modeling requirements in different scenes are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Reducing carbon emissions is a complex and long-term task that requires collaboration from all parties. It requires a digital and intelligent system as a collaborative platform to coordinate and optimize management to meet the various tasks involving carbon emissions and the multi-level and multi-dimensional carbon calculation needs of all parties.

[0003] Existing technologies usually use artificially constructed carbon calculation models, or construct carbon calculation models through a combination of preset modules, and complete multi-level and multi-dimensional carbon calculation needs through the constructed carbon calculation models.

[0004] However, the manual method of building carbon calculation models is generally implemented by people or teams who understand carbon emission-related businesses (such as production processes, equipment management, energy management and supply chain) and carbon calculation. It has high requirements for personnel and teams, requires a large amount of manpower, and has a long cycle. The method of generating carbon calculation models based on modules and algorithms is generally pre-set by business experts. Modules or templates have poor adaptability and cannot be used for carbon calculations with large differences. Summary of the invention

[0005] The present invention provides a method, device, equipment and medium for constructing a carbon calculation model to realize the construction of carbon calculation models for different scenarios and requirements.

[0006] According to a first aspect of the present invention, a method for constructing a carbon calculation model is provided, comprising:

[0007] Obtain modeling requirement parameters;

[0008] According to the modeling requirement parameters, generating an agent set for executing the modeling task corresponding to the modeling requirement parameters, wherein the agent set includes at least one framework agent and at least one process agent;

[0009] generating a corresponding process carbon calculation model according to the process agent;

[0010] The process carbon calculation model of the process agent is integrated according to the framework agent to obtain a final carbon calculation model.

[0011] According to a second aspect of the present invention, there is provided a device for constructing a carbon calculation model, comprising:

[0012] Information acquisition module, used to obtain modeling requirement parameters;

[0013] An agent determination module, used to generate an agent set for executing a modeling task corresponding to the modeling requirement parameters according to the modeling requirement parameters, wherein the agent set includes at least one framework agent and at least one process agent;

[0014] A model determination module, used to generate a corresponding process carbon calculation model according to the process agent;

[0015] The model integration module is used to integrate the process carbon calculation model of the process agent according to the framework agent to obtain a final carbon calculation model.

[0016] According to a third aspect of the present invention, there is provided an electronic device, the electronic device comprising:

[0017] at least one processor; and

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

[0019] 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 that the at least one processor can execute the method for constructing a carbon calculation model described in any embodiment of the present invention.

[0020] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for enabling a processor to implement the method for constructing a carbon calculation model as described in any embodiment of the present invention when the computer instructions are executed.

[0021] According to a fifth aspect of the present invention, an embodiment of the present invention further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the method for constructing a carbon calculation model of any embodiment of the present invention is implemented.

[0022] The technical solution of the embodiment of the present invention obtains the model task to be constructed, the requirement description information and the input data information of the model construction object; generates a set of intelligent agents that execute the model task to be constructed according to the requirement description information, and the intelligent agent set includes at least one framework intelligent agent and at least one process intelligent agent; generates a corresponding process carbon calculation model based on the input data information by each process intelligent agent; integrates the process carbon calculation models of each process intelligent agent according to the framework intelligent agent to obtain the final carbon calculation model. By analyzing the requirement description information input by the model construction object, an intelligent agent set for the model task to be constructed is generated, and the final carbon calculation model is generated by the intelligent agent set. The pertinence of the final carbon calculation model is improved, the universality of the model construction method is improved, and the modeling needs of different scenarios and complex and diverse are met.

[0023] 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

[0024] 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.

[0025] Figure 1 is a flow chart of a method for constructing a carbon calculation model provided according to Embodiment 1 of the present invention;

[0026] Figure 2 is a flow chart of a method for constructing a carbon calculation model provided according to Embodiment 2 of the present invention;

[0027] Figure 3 is an example block diagram of an intelligent agent of a method for constructing a carbon calculation model provided in Embodiment 2 of the present invention;

[0028] Figure 4 is a structural schematic diagram of a carbon calculation model construction device provided according to Embodiment 3 of the present invention;

[0029] Figure 5 It is a schematic diagram of the structure of an electronic device implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0030] 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.

[0031] 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.

[0032] Embodiment 1

[0033] Figure 1 A flowchart of a method for constructing a carbon calculation model is provided for the first embodiment of the present invention. This embodiment is applicable to the construction of a carbon calculation model. The method can be executed by a device for constructing a carbon calculation model. The device for constructing a carbon calculation model can be implemented in the form of hardware and / or software. The device for constructing a carbon calculation model can be configured in an electronic device. Figure 1 As shown, the method includes:

[0034] S110, obtaining modeling requirement parameters.

[0035] In the embodiment, the modeling requirement parameters can be understood as parameters used to describe the attributes and requirements of the object to be modeled, such as the task type corresponding to the business to be completed by the model, the variables and parameters included in the business, etc.

[0036] Specifically, a visualization interface displayed to the user may be pre-designed, and the user may input the required parameters for modeling through the visualization interface by setting a required parameter template, etc. The processor may receive the modeling required parameters input by the user through the visualization interface.

[0037] S120. Generate, based on the modeling requirement parameters, an agent set for executing the modeling task corresponding to the modeling requirement parameters, wherein the agent set includes at least one framework agent and at least one process agent.

[0038] In this embodiment, the modeling task can be understood as the task to be completed by the constructed model. The agent set can be understood as the collection of agents corresponding to the modeling task, wherein the agent is a software module, algorithm or an independent software entity with specific functions. The framework agent can be understood as an agent used to determine the framework of the modeling task, which can be understood as an agent in the form of a directory or index. The process agent can be understood as an agent used to execute the specific steps or processes corresponding to the model task to be constructed. Among them, the functions of each agent can be developed using appropriate programming languages ​​and technologies, which may involve coding work in aspects such as data processing, machine learning and database operations.

[0039] Specifically, the processor can parse the modeling requirement parameters to determine the modeling task and the modeling parameters and requirement parameters corresponding to the modeling task, wherein the modeling task can be taken as a whole, or the modeling task can be split into multiple subtasks, etc., which can be set according to actual requirements. The processor can first build a framework agent based on the requirement parameters and modeling parameters, and then generate a process agent that completes the modeling task through the framework agent, and generate an agent set that executes the modeling task through the framework agent and the process agent.

[0040] S130. Generate a corresponding process carbon calculation model according to the process agent.

[0041] In this embodiment, the process carbon calculation model can be understood as a calculation model used to complete the tasks corresponding to the intelligent agent.

[0042] Specifically, the process agent can generate a process carbon calculation model to complete its corresponding modeling task based on model training or preset rule models.

[0043] S140. Integrate the process carbon calculation model of the process agent according to the framework agent to obtain a final carbon calculation model.

[0044] In this embodiment, the final carbon calculation model can be understood as an integrated model used to complete the task of the model building object.

[0045] Specifically, the processor can determine the execution order and data flow path of each process agent based on the overall process defined by the framework agent, and determine the data interaction order between each process agent. In order to ensure that each process agent can exchange data smoothly and integrate the intermediate results generated by each process agent, the data of each process agent needs to be standardized, converted and matched, and the final carbon calculation model needs to be verified based on the demand parameters in the demand description information to ensure that it meets the requirements and constraints of the model, thereby obtaining the final carbon calculation model that meets the requirements and constraints.

[0046] The technical solution of the embodiment of the present invention obtains modeling requirement parameters; generates an intelligent agent set for executing the modeling task corresponding to the modeling requirement parameters according to the modeling requirement parameters, and the intelligent agent set includes at least one framework intelligent agent and at least one process intelligent agent; generates a corresponding process carbon calculation model according to the process intelligent agent; integrates the process carbon calculation model according to the framework intelligent agent to obtain the final carbon calculation model. By generating a framework intelligent agent that fully understands the modeling requirement parameters, the modeling task is planned and coordinated as a whole, the process intelligent agent that executes the modeling task is guided by the framework intelligent agent, and the process carbon calculation model corresponding to the modeling task is generated and integrated by the process intelligent agent to obtain the final carbon calculation model. This mode of division of labor and collaboration among intelligent agents can more accurately understand the model building requirements through the framework intelligent agent, thereby improving the pertinence of the final carbon calculation model. By respectively executing the corresponding modeling tasks through the process intelligent agents, the efficiency of completing the tasks is improved, the universality of the model building method is improved, and the modeling requirements of different scenarios and complex and diverse are met.

[0047] As a first optional embodiment of the first embodiment, after the process carbon calculation model of the process agent is integrated according to the framework agent to obtain the final carbon calculation model, it also includes:

[0048] Feedback the final carbon calculation model and the model output results relative to the input data information to the model building object, and receive the model feedback results from the model building object.

[0049] In this embodiment, the model building object can be understood as the user who issues the modeling requirements. The model output result can be understood as the carbon calculation result generated by the final carbon calculation model. The input data information can be understood as the information pre-entered by the model building object to verify the model effect. The feedback result is used to characterize whether the final carbon calculation model meets its construction requirements.

[0050] Specifically, in order to ensure the accuracy of the final carbon calculation model generated, the processor can feedback the generated final carbon calculation model to the model building object, and the model building object can see the framework agent in the final carbon calculation model and the process carbon calculation model corresponding to each process agent through the visual interface. Since the input data information may include input parameters for verifying the effect of the final carbon calculation model, the input parameters are input into the final carbon calculation model, and the final carbon calculation model determines and transmits the intermediate results through each process agent in sequence, and then generates the final model output result. The processor can feedback the model output result to the model building object in the form of a visual interface, and the model building object can determine whether it meets its model building requirements, and then input the feedback result in the visual interface. The processor can receive the feedback result to determine whether to adjust the final carbon calculation model and the content of the adjustment.

[0051] As a second optional embodiment of the first embodiment, after the process carbon calculation model of the process agent is integrated according to the framework agent to obtain the final carbon calculation model, it also includes:

[0052] When executing business tasks, the execution progress of each process agent is monitored. When the execution progress does not meet the preset progress conditions, the task is scheduled for the process agent that does not meet the preset progress conditions.

[0053] In this embodiment, the business task can be understood as the task actually performed by the process agent. The execution progress can be understood as a condition used to reflect the completion of the task by each process agent. The preset progress condition can be understood as a condition used to determine the abnormality of the execution progress of the process agent, such as setting the expected completion time or resource amount, or errors and abnormalities.

[0054] Specifically, in the process of interaction between various process agents, a process control mechanism can be designed in advance to ensure that the entire process is executed smoothly as expected, and the process execution process can be monitored and adjusted, for example, through a process engine or task scheduler, and considering the errors and abnormalities that may occur in a distributed system, a corresponding error handling and fault tolerance mechanism can be designed in advance. When executing a business task, the processor can determine the execution progress of each process agent through a process control mechanism. The processor can compare each execution progress with a preset progress condition. When there is a process agent that does not meet the preset progress condition, the processor can first check the errors and abnormalities of the process agent through a preset error handling mechanism. If errors and abnormalities occur, the processor can handle the situation according to the corresponding error handling and fault tolerance mechanism, such as feedback errors to relevant personnel, to ensure the normal execution of business tasks by the process agent. If there are no errors or abnormal situations, the processor can schedule tasks for the resources corresponding to the process agent in accordance with the process engine or task scheduler, for example, by synchronizing the resources and the process carbon calculation model of the process agent to the idle process agent, or through task queues, distributed computing frameworks and scheduling algorithms, to ensure that each subtask can be completed in a timely manner and meet quality requirements.

[0055] As a third optional embodiment of the first embodiment, after the process carbon calculation model of the process agent is integrated according to the framework agent to obtain the final carbon calculation model, it also includes:

[0056] When it is detected that the model data that meets the update conditions has changed, the final carbon calculation model is updated according to the model data.

[0057] In this embodiment, the update condition can be understood as a condition for determining whether the model meets the requirements. The model data can be understood as data that causes the model to be updated, such as the model business structure, model standards, and collected data.

[0058] Specifically, the final carbon calculation model can change dynamically. When the user adds a new data channel, inputs a new model standard, or adds a new business structure, these situations constitute the model data that causes the model to change, that is, meets the update conditions. The processor can iteratively upgrade the final carbon calculation model based on the model data.

[0059] Embodiment 2

[0060] Figure 2 This is a flow chart of a method for constructing a carbon calculation model provided in the second embodiment of the present invention. This embodiment is a further refinement of the above embodiment. Figure 2 As shown, the method includes:

[0061] S201. Obtain modeling requirement parameters.

[0062] S202: Decompose the modeling task into at least one modeling subtask according to modeling requirement parameters.

[0063] In this embodiment, the modeling subtasks can be understood as tasks of a smaller level that constitute the modeling task, wherein each modeling subtask should be processed relatively independently, and the subtasks can be processed in parallel and / or serially.

[0064] Specifically, the processor may divide the modeling task into one or more modeling subtasks by matching the modeling type corresponding to the modeling requirement parameters in the preset division criteria, or by analyzing through a preset algorithm, or by division by professionals.

[0065] For example, if the modeling requirement parameter corresponds to the carbon inventory requirement, the preset classification basis for the carbon inventory requirement is the type of emission source. If the modeling requirement parameter corresponds to the product carbon footprint requirement, the corresponding basis is the life cycle corresponding to raw materials, transportation, production process, use and treatment.

[0066] S203: Analyze the modeling requirement parameters by analyzing the intelligent agent to determine the modeling parameters, requirement parameters and related training data corresponding to each modeling subtask.

[0067] In this embodiment, the analysis agent can be understood as an agent used to perform demand analysis. The modeling parameter can be understood as a parameter used to describe the attributes or characteristics of the modeling object. The demand parameter refers to a parameter used to describe the demand constraints, goals or conditions.

[0068] In this embodiment, the relevant training data can be understood as training data used to generate a model. These data can be collected in association with user needs and related data. These data may involve objects, boundaries, carbon calculation purposes, carbon calculation standards, energy use, carbon emissions and production processes. The sources of data may include user interfaces, databases, sensors and third-party systems. The processor can collect and prepare data related to the Life Cycle Assessment (LCA) process, process flow and emission sources in advance. This may involve extracting and collating data from multiple data sources related to LCA, and cleaning and converting them for subsequent processing and analysis.

[0069] Specifically, by analyzing the demand description information and the model task to be constructed by the analysis agent, it can include the understanding of the structure, function and behavior of the modeling object, and can identify and disassemble the parameters related to modeling and the parameters related to the demand by analyzing the characteristics of the modeling object and the demand, as well as the clear definition and description of the demand, and can extract key information from the description of the modeling object and the demand by natural language processing, text analysis, information extraction and other technical methods, and summarize it into modeling parameters and demand parameters. The processor can use pattern matching, syntactic analysis or entity recognition and other technologies to assist in the extraction and identification of parameters, and classify and organize the parameters according to the characteristics of the modeling object and the demand. And search for relevant training data matching the model to be constructed based on the pre-stored training database. For example, the parameters can be classified according to the type, function, hierarchical relationship, etc. This helps to better understand and organize the parameters for subsequent use and processing. Modeling parameters, demand parameters and relevant training data matching the model task to be constructed are obtained. After generating the modeling parameters and demand parameters, the modeling parameters and demand parameters can be fed back to the user, and the next step is performed after the model construction object confirms that it meets the requirements.

[0070] S204: Determine the framework agent of the modeling subtask according to the modeling parameters, requirement parameters, relevant training data and the framework model.

[0071] In this embodiment, the framework model can be understood as a model used to determine the execution framework of the modeling subtask, such as a machine learning algorithm or model such as a decision tree, a neural network, or a support vector machine.

[0072] Before establishing the framework agent, the processor can perform feature engineering on the relevant training data. The steps of feature engineering can include feature selection, feature transformation, and feature scaling to extract and construct effective features related to the LCA process. The processor can train the framework model based on the effective features after feature extraction. After completing the model training, the processor can evaluate and optimize the model. This may involve using cross-validation or a reserved test set for performance evaluation, and adjusting and optimizing the model based on the evaluation results to improve the performance and accuracy of the model, and obtain the final framework model for the parameters required for this modeling.

[0073] Specifically, the processor can input the modeling parameters and requirement parameters into the final framework model after the above training and combine it with the template or generative model for generating the framework intelligent agent to obtain the framework intelligent agent corresponding to the modeling subtask. For ease of use, the model can be encapsulated into an interface that can be called by the system to realize the functions of the framework intelligent agent.

[0074] S205. Generate process agents that execute modeling subtasks based on the framework agent and form an agent subset.

[0075] In this embodiment, the agent subset can be understood as a collection of agents used to complete the modeling subtask, including process agents and framework agents.

[0076] Specifically, since the framework agent can be in the form of a directory or index, etc., which records framework scopes such as physical boundary scopes, time boundary scopes and life cycle process scopes, the corresponding process agent can be generated based on the different boundary scopes determined in the framework agent in combination with the corresponding life cycle assessment process flow, or the process agent that completes different types of business can be pre-set and matched with the life cycle assessment process flow (the steps and conditions experienced by the modeling object in the entire life cycle from production to destruction) or boundary scope in the framework agent to obtain an agent subset.

[0077] Exemplarily, preset agents can be set in advance for different types of businesses, corresponding modeling parameters and demand parameters can be assigned to each preset agent, and a mapping relationship between parameters and preset agents can be established. Multi-parameter search can be performed based on the mapping relationship through the framework agent, and preset agents that meet the life cycle assessment process conditions can be determined in turn among the preset agents as process agents. All process agents can be combined with the corresponding framework agents to generate a subset of agents that perform modeling subtasks. Process agents can also be generated based on the boundary range or life cycle assessment process flow in the framework agent.

[0078] For example, taking a specific carbon inventory demand as an example, the modeling demand parameters are used to divide the modeling task into two modeling subtasks, namely the fuel emission subtask and the grid power emission subtask. For the fuel emission subtask, according to the demand parameters, modeling parameters and framework model, the framework agent includes four carbon inventory scopes, including carbon emissions from fossil fuels, coal, natural gas and gasoline, and four process agents are constructed. Taking the carbon footprint determination demand of a certain product as an example, the modeling demand parameters are used to divide the modeling task into four modeling subtasks, namely the raw material carbon footprint subtask, the production welding process carbon footprint subtask, the product transportation carbon footprint subtask, the use carbon footprint subtask and the scrap recycling carbon footprint subtask. Then, the framework agent determines the boundary scope and life cycle assessment process flow of each subtask, and then determines the process agent corresponding to each subtask.

[0079] S206: Determine the set of agents that execute the modeling task based on each agent subset.

[0080] Specifically, the processor may determine each agent subset as an agent set that performs a corresponding modeling task.

[0081] S207: receiving input data, and preprocessing the input data to determine the data to be input under different categories.

[0082] In this embodiment, input data can be understood as data for result confirmation. Data to be input can be understood as data classified according to different input sources or interfaces, such as: emission sources, natural gas consumption, gasoline consumption, electricity consumption, sulfur hexafluoride emission from high-voltage switch cabinets, etc. for carbon inventory; raw materials, raw material transportation, raw material packaging and processing, production process, etc. for product carbon footprint.

[0083] Specifically, since the input data may be input through databases, network interfaces, external files, etc., the processor can pre-process the input data, including data cleaning, format conversion, feature extraction, etc., to facilitate subsequent analysis and processing. The analyzed and processed data are divided into categories to obtain the input data under different categories. For example, according to the emission sources of carbon inventory, natural gas consumption, gasoline consumption, electricity consumption, sulfur hexafluoride emission from high-voltage switch cabinets, etc.; the raw materials, raw material transportation, raw material packaging and processing, production process, etc. of the product carbon footprint are classified.

[0084] S208. Determine a process agent that matches the data category to which the input data belongs.

[0085] Specifically, the processor may determine a process agent that matches the data category to which the input data belongs.

[0086] Exemplarily, the carbon inventory includes two investigation scopes. Scope 1 is the natural gas emission process agent, and the data to be input is the carbon emission data of burning natural gas. Coal emission process agent, the data to be input is the carbon emission data of burning coal. Gasoline emission process agent, the data to be input is the carbon emission data of burning gasoline. Different data have different forms, so different process agents are needed to process them. Scope 2 uses the power grid electricity emission agent, etc. In the carbon footprint of a certain product, there are raw material copper parts carbon footprint process agents, production of a certain workpiece welding process agents, product transportation process agents, use process agents, and scrap recycling process agents, etc.

[0087] S209, constructing a process carbon calculation model according to the input data that matches the corresponding modeling parameters and data categories of the process agent.

[0088] Specifically, the process carbon calculation model is constructed and trained through the modeling parameters corresponding to the process agent and the corresponding input data. The model training can be based on the machine learning algorithm, or the model generation can be based on the rules, so as to obtain the process carbon calculation model for the subtask corresponding to the process agent. After the process carbon calculation model is generated, the process carbon calculation model can be fed back to the model construction object, and the next step can be performed after the model construction object confirms that it meets the requirements.

[0089] S210. Determine the execution order of each process agent and the data transfer relationship of each process carbon calculation model according to the framework agent.

[0090] In this embodiment, the execution order can be understood as the order for defining the data transmission of the process agents. The data transmission relationship can be understood as the transmission order for indicating the results processed by the process carbon calculation model.

[0091] Specifically, for each subset of intelligent agents, the processor can define the overall process according to the process sequence in the framework intelligent agent through process modeling tools or process maps, and then determine the execution order corresponding to each process intelligent agent and the data transfer relationship between each process carbon calculation model according to the defined overall process.

[0092] S211. Integrate the carbon calculation models of each process according to the execution order and / or data transfer relationship to obtain a final carbon calculation model.

[0093] Specifically, the processor can determine the order or parallel order corresponding to the process carbon calculation model according to the execution order and / or data transmission relationship. During integration, the communication and collaboration mechanism between intelligent agents can be realized through message transmission, API calls, shared databases, etc., so that they can jointly complete the entire modeling task. Intelligent agents need to be able to transmit data, status information, and coordinate their respective work progress.

[0094] The technical solution of the embodiment of the present invention, by decomposing the modeling task into at least one modeling subtask according to the modeling requirement parameters, splits the modeling task in a finer dimension, and provides a basis for the accuracy of subsequent modeling. By analyzing the modeling requirement parameters through the analysis agent, the modeling parameters, requirement parameters and related training data corresponding to each modeling subtask are determined, and the parameters required for building the model are better understood and organized, which provides a basis for subsequent model construction. According to the framework agent, a process agent that executes the modeling subtask is generated, and an agent subset is formed, which realizes the construction of the process agent that executes each modeling subtask, improves the pertinence of the tasks completed by each process agent, and provides a guarantee for the integration of subsequent models. Through the process agent, a process carbon calculation model is constructed based on the data information to be input and the modeling parameters, and the construction of the process carbon calculation model of the task of each process agent is realized. Then, through the execution order and data transmission relationship of the framework agent, the process carbon calculation model of the process agent is integrated to obtain the final carbon calculation model. The overall modeling task is broken down into modeling subtasks and assigned to different process agents for model building, so that each generated process carbon calculation model completes different modeling subtasks and is integrated through the framework agent to ensure the calculation accuracy of the final carbon calculation model. This framework agent is responsible for overall planning, while the process agent focuses on the collaborative working mode of specific task execution, enabling the agent to meet different scenarios and complex and diverse modeling needs, improving the pertinence of the final carbon calculation model and the universality of the model building method.

[0095] For example, in order to facilitate understanding of the relationship between the various agents in the present invention, a specific block diagram is used for display. Figure 3 This is an example block diagram of an intelligent agent of a method for constructing a carbon calculation model provided in the second embodiment of the present invention. Figure 3 As shown, it includes an agent set 31 and a preset model 32. The agent set 31 includes multiple agents 311, which can be analysis agents, framework agents, process agents, etc., and their corresponding numbers can be determined according to actual needs. The preset model 32 can provide a model for a large model, a generative model, or a controller, etc., and the preset model 32 provides support for the determination of the agent set.

[0096] Embodiment 3

[0097] Figure 4 This is a schematic diagram of a device for constructing a carbon calculation model provided in the third embodiment of the present invention. Figure 4 As shown, the device comprises:

[0098] The information acquisition module 41 is used to obtain modeling requirement parameters;

[0099] An agent determination module 42, configured to generate, according to the modeling requirement parameters, an agent set for executing the modeling task corresponding to the modeling requirement parameters, wherein the agent set includes at least one framework agent and at least one process agent;

[0100] A model determination module 43, used to generate a corresponding process carbon calculation model according to the process agent;

[0101] The model integration module 44 is used to integrate the process carbon calculation model of the process agent according to the framework agent to obtain a final carbon calculation model.

[0102] The technical solution of the embodiment of the present invention obtains modeling requirement parameters; generates an intelligent agent set for executing the modeling task corresponding to the modeling requirement parameters according to the modeling requirement parameters, and the intelligent agent set includes at least one framework intelligent agent and at least one process intelligent agent; generates a corresponding process carbon calculation model according to the process intelligent agent; integrates the process carbon calculation model according to the framework intelligent agent to obtain the final carbon calculation model. By generating a framework intelligent agent that fully understands the modeling requirement parameters, the modeling task is planned and coordinated as a whole, the process intelligent agent that executes the modeling task is guided by the framework intelligent agent, and the process carbon calculation model corresponding to the modeling task is generated and integrated by the process intelligent agent to obtain the final carbon calculation model. This mode of division of labor and collaboration among intelligent agents can more accurately understand the model building requirements through the framework intelligent agent, thereby improving the pertinence of the final carbon calculation model. By respectively executing the corresponding modeling tasks through the process intelligent agents, the efficiency of completing the tasks is improved, the universality of the model building method is improved, and the modeling requirements of different scenarios and complex and diverse are met.

[0103] Furthermore, the agent determination module 42 is specifically used for:

[0104] Decomposing the modeling task into at least one modeling subtask according to the modeling requirement parameter;

[0105] Analyzing the modeling requirement parameters through an analysis agent to determine the modeling parameters, requirement parameters and related training data corresponding to each of the modeling subtasks;

[0106] Determine the framework agent of the modeling subtask according to the modeling parameters, the demand parameters, the relevant training data and the framework model;

[0107] According to the framework agent, a process agent for executing the modeling subtask is generated to form an agent subset;

[0108] According to each of the agent subsets, an agent set for executing the modeling task is determined.

[0109] Furthermore, the model determination module 43 is specifically used for:

[0110] Receiving input data, and preprocessing the input data to determine data to be input under different categories;

[0111] Determine the process agent that matches the data category to which the to-be-input data belongs;

[0112] A process carbon calculation model is constructed according to the input data that matches the corresponding modeling parameters and data categories of the process agent.

[0113] Furthermore, the model integration module 44 is specifically used for:

[0114] According to the framework agent, determining the execution order of each process agent and the data transmission relationship of each process carbon calculation model;

[0115] The process carbon calculation models are integrated according to the execution order and / or the data transfer relationship to obtain a final carbon calculation model.

[0116] Optionally, the device also includes: a result receiving module.

[0117] The result receiving module is used to feedback the final carbon calculation model and the model output result relative to the input data information to the model building object after integrating the process carbon calculation model of the process agent according to the framework agent to obtain the final carbon calculation model, and receive the model feedback result of the model building object.

[0118] Optionally, the device also includes: a task scheduling module.

[0119] The task scheduling module is used to monitor the execution progress of each process agent when executing business tasks after integrating the process carbon calculation model of the process agent according to the framework agent to obtain the final carbon calculation model. When the execution progress does not meet the preset progress conditions, the task scheduling is performed on the process agent that does not meet the preset progress conditions.

[0120] Optionally, the device also includes: a model updating module.

[0121] The model updating module is used to update the final carbon calculation model according to the model data when it is detected that the model data meeting the update condition has changed.

[0122] The method for constructing a carbon calculation model provided in the embodiment of the present invention can execute the method for constructing a carbon calculation model provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0123] Embodiment 4

[0124] Figure 5 A schematic diagram of an electronic device 50 that can be used to implement an embodiment of the present invention is shown. 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 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) 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 required herein.

[0125] like Figure 5 As shown, the electronic device 50 includes at least one processor 51, and a memory connected to the at least one processor 51 in communication, such as a read-only memory (ROM) 52, a random access memory (RAM) 53, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 51 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 52 or the computer program loaded from the storage unit 58 to the random access memory (RAM) 53. In the RAM 53, various programs and data required for the operation of the electronic device 50 can also be stored. The processor 51, the ROM 52, and the RAM 53 are connected to each other via a bus 54. An input / output (I / O) interface 55 is also connected to the bus 54.

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

[0127] The processor 51 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 51 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special 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 51 executes the various methods and processes described above, such as the method for constructing a carbon computing model.

[0128] In some embodiments, the method for constructing a carbon calculation model may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 58. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 50 via the ROM 52 and / or the communication unit 59. When the computer program is loaded into the RAM 53 and executed by the processor 51, one or more steps of the method for constructing a carbon calculation model described above may be performed. Alternatively, in other embodiments, the processor 51 may be configured to execute the method for constructing a carbon calculation model in any other appropriate manner (e.g., by means of firmware).

[0129] 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.

[0130] 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.

[0131] 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.

[0132] 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).

[0133] 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.

[0134] 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.

[0135] In one embodiment, the embodiment of the present invention further includes a computer program product, the computer program product includes a computer program, and when the computer program is executed by a processor, the method for constructing the X-carbon calculation model of any embodiment of the present invention is implemented.

[0136] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0137] 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.

[0138] 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 method for constructing a carbon calculation model, characterized in that: include: Obtain modeling requirement parameters; According to the modeling requirement parameters, generating an agent set for executing the modeling task corresponding to the modeling requirement parameters, wherein the agent set includes at least one framework agent and at least one process agent; generating a corresponding process carbon calculation model according to the process agent; The process carbon calculation model of the process agent is integrated according to the framework agent to obtain a final carbon calculation model.

2. The method according to claim 1, characterized in that The step of generating, according to the modeling requirement parameters, a set of agents that execute the modeling tasks corresponding to the modeling requirement parameters comprises: Decomposing the modeling task into at least one modeling subtask according to the modeling requirement parameter; Analyzing the modeling requirement parameters through an analysis agent to determine the modeling parameters, requirement parameters and related training data corresponding to each of the modeling subtasks; Determine the framework agent of the modeling subtask according to the modeling parameters, the demand parameters, the relevant training data and the framework model; According to the framework agent, a process agent for executing the modeling subtask is generated to form an agent subset; According to each of the agent subsets, an agent set for executing the modeling task is determined.

3. The method according to claim 1, characterized in that The generating a corresponding process carbon calculation model according to the process agent comprises: Receiving input data, and preprocessing the input data to determine data to be input under different categories; Determine the process agent that matches the data category to which the to-be-input data belongs; A process carbon calculation model is constructed according to the input data that matches the corresponding modeling parameters and data categories of the process agent.

4. The method according to claim 1, characterized in that The step of integrating the process carbon calculation model of the process agent to obtain a final carbon calculation model includes: According to the framework agent, determining the execution order of each of the process agents and the data transfer relationship of each of the process carbon calculation models; The process carbon calculation models are integrated according to the execution order and / or the data transfer relationship to obtain a final carbon calculation model.

5. The method according to claim 1, characterized in that After integrating the process carbon calculation model of the process agent according to the framework agent to obtain a final carbon calculation model, the method further includes: The final carbon calculation model and the model output result relative to the input data information are fed back to the model building object, and the model feedback result of the model building object is received.

6. The method according to claim 1, characterized in that After integrating the process carbon calculation model of the process agent according to the framework agent to obtain a final carbon calculation model, the method further includes: When executing a business task, the execution progress of each process agent is monitored. When the execution progress does not meet a preset progress condition, task scheduling is performed on the process agent that does not meet the preset progress condition.

7. The method according to claim 1, characterized in that After integrating the process carbon calculation model of the process agent according to the framework agent to obtain a final carbon calculation model, the method further includes: When it is detected that the model data satisfying the update condition has changed, the final carbon calculation model is updated according to the model data.

8. A device for constructing a carbon calculation model, characterized in that: include: Information acquisition module, used to obtain modeling requirement parameters; An agent determination module, used to generate an agent set for executing a modeling task corresponding to the modeling requirement parameters according to the modeling requirement parameters, wherein the agent set includes at least one framework agent and at least one process agent; A model determination module, used to generate a corresponding process carbon calculation model according to the process agent; The model integration module is used to integrate the process carbon calculation model of the process agent according to the framework agent to obtain a final carbon calculation model.

9. 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 that the at least one processor can execute the method for constructing a carbon calculation model according to any one of claims 1 to 7.

10. 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 method for constructing a carbon calculation model according to any one of claims 1 to 7 when executed.

Citation Information

Cited By

  • Method for realizing large-scale language model training through computing power of intelligent computing center

    CN119179901A

  • Product carbon footprint analysis method based on intelligent agent

    CN121094348A

  • Hierarchical decoupling multi-agent lca accounting method, system and readable storage medium

    CN122736639A