Carbon footprint accounting system, method, computer device, computer readable storage medium and computer program product

Through the automated information extraction of the carbon footprint accounting system and the application of large language models, the problem of low carbon footprint accounting efficiency in the existing technology is solved, fast and accurate carbon footprint calculation is achieved, and the reliance on expert analysis is reduced.

CN118536717AInactive Publication Date: 2024-08-23南方电网能源发展研究院有限责任公司

Patent Information

Application Number
CN202410885405.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The carbon footprint accounting efficiency in the existing technology is low and highly dependent on manual analysis by experts, resulting in low efficiency.

Method used

Provide a carbon footprint accounting system, including a carbon footprint accounting request input module, a target carbon text determination module, a carbon footprint information acquisition module and an intelligent carbon accounting conflict resolution module, using a large language model to extract carbon footprint information, perform carbon footprint accounting, and Improve carbon footprint accounting efficiency without relying on expert analysis.

Benefits of technology

Through the automated carbon footprint information extraction and accounting process, the efficiency of carbon footprint accounting is significantly improved, reducing the reliance on manual analysis by experts, and achieving fast and accurate carbon footprint calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536717A
    Figure CN118536717A
Patent Text Reader

Abstract

The invention relates to a carbon footprint accounting system and method, computer equipment, a computer readable storage medium and a computer program product, and relates to the technical field of accounting systems. The system comprises a footprint accounting request input module which is used for receiving a carbon footprint accounting request which is input by a user and aims at a to-be-accounted object; the target carbon text determination module is used for determining a target carbon text for carbon footprint information extraction; the carbon footprint information acquisition module is used for extracting carbon footprint information from the target carbon text when the length of the target carbon text is relatively short, and extracting the carbon footprint information through cutting, vectorization and correlation degree calculation of the target carbon text when the length of the target carbon text is relatively long; the carbon footprint accounting processing module is used for carrying out carbon footprint accounting on the to-be-accounting object based on the carbon footprint information; and the intelligent carbon accounting conflict resolution module is used for providing an intelligent carbon accounting conflict resolution strategy for the user. By adopting the system, the efficiency of carbon footprint accounting can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of accounting systems, and in particular to a carbon footprint accounting system, method, computer device, computer-readable storage medium, and computer program product. Background Art

[0002] In the relevant technologies, the carbon footprint information needed in the carbon footprint accounting process mainly relies on experts to analyze carbon-related laws, policies, academic papers, industry reports and other materials, extract the required carbon footprint information from these materials, and then perform carbon footprint accounting. Since the relevant technologies are highly dependent on manual analysis by experts, the efficiency of carbon footprint accounting is low. Summary of the invention

[0003] Based on this, it is necessary to provide a carbon footprint accounting system, method, computer device, computer readable storage medium and computer program product that can improve the efficiency of carbon footprint accounting in response to the above technical problems.

[0004] In a first aspect, the present application provides a carbon footprint accounting system, the system comprising a carbon footprint accounting request input module, a target carbon text determination module, a carbon footprint information acquisition module, a carbon footprint accounting processing module and an intelligent carbon accounting conflict resolution module;

[0005] The carbon footprint calculation request input module is used to receive a carbon footprint calculation request for an object to be calculated input by a user;

[0006] The target carbon text determination module is used to use the carbon text uploaded by the user as the target carbon text for extracting carbon footprint information when the user uploads the carbon text locally, or use the carbon text in the carbon text database provided by the system by default as the target carbon text when the user does not upload the carbon text locally; the carbon text is a text associated with the carbon industry;

[0007] The carbon footprint information acquisition module is used to determine multiple carbon footprint information extraction requirements for the target carbon text based on the carbon footprint calculation request;

[0008] The carbon footprint information acquisition module is further configured to extract the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement from the target carbon text for each carbon footprint information extraction requirement when the text length of the target carbon text is less than the preset text length;

[0009] The carbon footprint information acquisition module is also used to, when the text length of the target carbon text is greater than or equal to the preset text length, perform text segmentation processing on the target carbon text to obtain multiple text segments; for each carbon footprint information extraction requirement, perform vectorization processing on the carbon footprint information extraction requirement to obtain an extraction requirement vector corresponding to the carbon footprint information extraction requirement, and perform vectorization processing on each text segment to obtain a text segment vector corresponding to each text segment; based on the extraction requirement vector and each text segment vector, determine the correlation between the extraction requirement vector and each text segment; sort the multiple text segments in descending order of correlation; according to the sorting order of the multiple text segments, screen out a preset number of text segments from the multiple text segments as associated text segments of the carbon footprint information extraction requirement; extract the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement from the associated text segments of the carbon footprint information extraction requirement;

[0010] The carbon footprint calculation processing module is used to perform carbon footprint calculation on the object to be calculated based on the carbon footprint information to obtain the carbon footprint calculation result of the object to be calculated;

[0011] The intelligent carbon accounting conflict resolution module is used to obtain the reference carbon footprint accounting result of the object to be accounted for through the carbon footprint information acquisition module and the carbon text database provided by the system by default when the target carbon text is the carbon text uploaded locally by the user; perform difference analysis on the carbon footprint accounting result and the reference carbon footprint accounting result to obtain difference information between the carbon footprint accounting result and the reference carbon footprint accounting result; and return the carbon footprint accounting result, the reference carbon footprint accounting result, and the difference information between the carbon footprint accounting result and the reference carbon footprint accounting result to the user;

[0012] The intelligent carbon accounting conflict resolution module is also used to, upon receiving a conflict resolution request sent by the user, perform a credibility assessment on the carbon footprint accounting result and the reference carbon footprint accounting result to obtain a credibility score of the carbon footprint accounting result and a credibility score of the reference carbon footprint accounting result; if the credibility score of the carbon footprint accounting result is greater than or equal to the credibility score of the reference carbon footprint accounting result, return the carbon footprint accounting result to the user, and update the carbon text database based on the carbon footprint accounting result and the target carbon text; if the credibility score of the reference carbon footprint accounting result is greater than the credibility score of the carbon footprint accounting result, return the reference carbon footprint accounting result to the user.

[0013] In one of the embodiments, the carbon footprint information acquisition module is implemented by a large language model;

[0014] The carbon footprint information acquisition module is further used to, for each carbon footprint information extraction requirement, form the carbon footprint information extraction requirement and the associated text fragments of the carbon footprint information extraction requirement into an input sequence of the large language model; the large language model is used to vector encode the input sequence to obtain an input sequence vector corresponding to the input sequence, generate each output element through the input sequence vector until a preset output termination condition is reached, and obtain the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement based on the each output element; each output element is obtained according to the input sequence vector and the vector corresponding to the preceding output element of each output element, and the preceding output element is an output element obtained before each output element.

[0015] In one embodiment, the carbon footprint information includes at least one life cycle stage corresponding to the object to be accounted for, at least one unit process corresponding to the object to be accounted for in each life cycle stage, activity data of the object to be accounted for in each unit process, and a carbon emission factor corresponding to each activity data; the carbon footprint information acquisition module is implemented by a large language model;

[0016] The carbon footprint information acquisition module is further used to determine the system boundary of the carbon footprint accounting for the object to be accounted for based on the target carbon text and the large language model, and obtain at least one life cycle stage corresponding to the object to be accounted for; based on the target carbon text and the large language model, perform a life cycle inventory analysis on the object to be accounted for, obtain at least one unit process corresponding to the object to be accounted for in each life cycle stage, and obtain the activity data of the object to be accounted for in each unit process; based on the target carbon text and the large language model, obtain the carbon emission factor corresponding to each activity data.

[0017] In one of the embodiments, the carbon footprint accounting processing module is further used to perform the carbon footprint accounting on the object to be accounted for based on each of the activity data and the carbon emission factor corresponding to each of the activity data, so as to obtain the carbon footprint accounting result of the object to be accounted for.

[0018] In one of the embodiments, the system further includes a carbon text database update module for updating the carbon text database based on newly added carbon texts in the carbon industry.

[0019] In one of the embodiments, the carbon text database update module is also used to obtain newly added carbon texts in the carbon industry at preset time intervals.

[0020] In a second aspect, the present application provides a carbon footprint accounting method, which is applied to a carbon footprint accounting system, including:

[0021] Receiving a carbon footprint calculation request for an object to be calculated input by a user;

[0022] In the case where the user uploads a carbon text locally, the carbon text uploaded by the user is used as the target carbon text for extracting carbon footprint information, or, in the case where the user does not upload a carbon text locally, the carbon text in the carbon text database provided by the system by default is used as the target carbon text; the carbon text is a text associated with the carbon industry;

[0023] Determining a plurality of carbon footprint information extraction requirements for the target carbon text based on the carbon footprint calculation request;

[0024] When the text length of the target carbon text is less than the preset text length, for each carbon footprint information extraction requirement, the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement is extracted from the target carbon text; or

[0025] In the case where the text length of the target carbon text is greater than or equal to the preset text length, the target carbon text is subjected to text segmentation processing to obtain a plurality of text segments; for each carbon footprint information extraction requirement, the carbon footprint information extraction requirement is vectorized to obtain an extraction requirement vector corresponding to the carbon footprint information extraction requirement, and each text segment is vectorized to obtain a text segment vector corresponding to each text segment; based on the extraction requirement vector and each text segment vector, the correlation between the extraction requirement vector and each text segment is determined; the plurality of text segments are sorted in descending order of correlation; according to the sorting order of the plurality of text segments, a preset number of text segments are screened out from the plurality of text segments as associated text segments of the carbon footprint information extraction requirement; from the associated text segments of the carbon footprint information extraction requirement, the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement is extracted;

[0026] Based on the carbon footprint information, carbon footprint accounting is performed on the object to be accounted for, and a carbon footprint accounting result of the object to be accounted for is obtained;

[0027] The method further comprises:

[0028] In the case where the target carbon text is the carbon text uploaded locally by the user, the reference carbon footprint accounting result of the object to be accounted is obtained through the carbon text database provided by the system by default; the carbon footprint accounting result and the reference carbon footprint accounting result are analyzed for differences to obtain the difference information between the carbon footprint accounting result and the reference carbon footprint accounting result; the carbon footprint accounting result, the reference carbon footprint accounting result and the difference information between the carbon footprint accounting result and the reference carbon footprint accounting result are returned to the user; upon receiving a conflict resolution request sent by the user, the carbon footprint accounting result is analyzed for differences between the reference carbon footprint accounting result and the reference carbon footprint accounting result. The accounting result and the reference carbon footprint accounting result are subjected to credibility evaluation to obtain a credibility score of the carbon footprint accounting result and a credibility score of the reference carbon footprint accounting result; when the credibility score of the carbon footprint accounting result is greater than or equal to the credibility score of the reference carbon footprint accounting result, the carbon footprint accounting result is returned to the user, and the carbon text database is updated based on the carbon footprint accounting result and the target carbon text; when the credibility score of the reference carbon footprint accounting result is greater than the credibility score of the carbon footprint accounting result, the reference carbon footprint accounting result is returned to the user.

[0029] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements a carbon footprint accounting method when executing the computer program.

[0030] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements a carbon footprint accounting method when executed by a processor.

[0031] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements a carbon footprint accounting method when executed by a processor.

[0032] The above-mentioned carbon footprint accounting system, method, computer device, computer-readable storage medium and computer program product receive a carbon footprint accounting request input by a user for an object to be accounted for through a carbon footprint accounting request input module; through a target carbon text determination module, when a user uploads a carbon text locally, the carbon text uploaded by the user is used as a target carbon text for extracting carbon footprint information; or, when a user does not upload a carbon text locally, a carbon text in a carbon text database provided by the system by default is used as a target carbon text; the carbon text is a text associated with a carbon industry; through a carbon footprint information acquisition module, a target carbon text is determined based on the carbon footprint accounting request. The target carbon text has multiple carbon footprint information extraction requirements; when the text length of the target carbon text is greater than or equal to the preset text length, for each carbon footprint information extraction requirement, the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement is extracted from the associated text segment of the carbon footprint information extraction requirement in the target carbon text; when the text length of the target carbon text is less than the preset text length, for each carbon footprint information extraction requirement, the target carbon text is cut, vectorized and screened to extract the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement from the target carbon text; through the carbon footprint accounting processing module, Based on the carbon footprint information, the carbon footprint of the object to be accounted is calculated to obtain the carbon footprint calculation result of the object to be accounted; wherein, through the intelligent carbon accounting conflict resolution module, when the target carbon text is the carbon text uploaded by the user locally, the reference carbon footprint calculation result of the object to be accounted can be obtained through the carbon footprint information acquisition module and the carbon text database provided by the system by default; the carbon footprint calculation result and the reference carbon footprint calculation result are analyzed to obtain the difference information between the carbon footprint calculation result and the reference carbon footprint calculation result; the carbon footprint calculation result, the reference carbon footprint calculation result and the difference between the carbon footprint calculation result and the reference carbon footprint calculation result are compared and compared. The information of the difference is returned to the user; when receiving the conflict resolution request sent by the user, the credibility of the carbon footprint accounting result and the reference carbon footprint accounting result is evaluated to obtain the credibility score of the carbon footprint accounting result and the credibility score of the reference carbon footprint accounting result; when the credibility score of the carbon footprint accounting result is greater than or equal to the credibility score of the reference carbon footprint accounting result, the carbon footprint accounting result is returned to the user, and the carbon text database is updated based on the carbon footprint accounting result and the target carbon text; when the credibility score of the reference carbon footprint accounting result is greater than the credibility score of the carbon footprint accounting result, the reference carbon footprint accounting result is returned to the user. Based on the above process, based on each module in the carbon footprint accounting system, the carbon footprint information corresponding to the object to be accounted can be obtained without relying on the manual analysis of experts, and the carbon footprint accounting for the object to be accounted can be realized based on the carbon footprint information, thereby improving the efficiency of carbon footprint accounting. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0034] Figure 1 A structural block diagram of a carbon footprint accounting system in one embodiment;

[0035] Figure 2 A schematic diagram of calculating the correlation between the carbon footprint information extraction requirement and each text segment in one embodiment;

[0036] Figure 3 A schematic diagram of a life cycle analysis method followed by a carbon footprint accounting system in one embodiment;

[0037] Figure 4 A schematic diagram of a carbon footprint calculation method in one embodiment;

[0038] Figure 5 A flowchart diagram of steps for providing a user with a smart carbon accounting conflict resolution strategy in one embodiment;

[0039] Figure 6 A flowchart of the steps of extracting carbon footprint information from a target carbon text in one embodiment;

[0040] Figure 7 A schematic diagram of a process of a carbon footprint calculation method based on a large language model in one embodiment;

[0041] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0043] In one embodiment, Figure 1As shown, a carbon footprint accounting system is provided, which can be mounted on a server or a terminal; wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers; the terminal can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. In this embodiment, the carbon footprint accounting system includes a carbon footprint accounting request input module 102, a target carbon text determination module 104, a carbon footprint information acquisition module 106, a carbon footprint accounting processing module 108 and an intelligent carbon accounting conflict resolution module 110, wherein:

[0044] The carbon footprint calculation request input module 102 is used to receive a carbon footprint calculation request for an object to be calculated input by a user.

[0045] In actual applications, the carbon footprint calculation request input module 102 has a corresponding input component, such as a text input box, on the front-end page of the carbon footprint calculation system.

[0046] Among them, the objects to be accounted for refer to products that have carbon emissions during the production process, such as raw aluminum.

[0047] The carbon footprint calculation request is a request input into the input component corresponding to the carbon footprint calculation request input module 102 when the user needs to perform carbon footprint calculation on the object to be calculated.

[0048] The target carbon text determination module 104 is used to use the carbon text uploaded by the user as the target carbon text for extracting carbon footprint information when the user uploads the carbon text locally, or to use the carbon text in the carbon text database provided by the system by default as the target carbon text when the user does not upload the carbon text locally.

[0049] Among them, carbon text refers to the text related to the carbon industry.

[0050] Among them, carbon texts related to the carbon industry include but are not limited to regulatory documents, policy documents, academic papers, industry reports and other materials related to the carbon industry.

[0051] In actual applications, the target carbon text determination module 104 has a corresponding selection component on the front-end page of the carbon footprint accounting system, such as a drop-down selection box, to facilitate users to select the target carbon text; there are at least two options in the drop-down selection box, one corresponding to selecting local upload, and the other corresponding to selecting the carbon text database provided by the system by default; when the user selects the option corresponding to selecting local upload, the system will connect to the user's local folder for the user to select the carbon text for upload.

[0052] In actual application, the target carbon text determination module 104 allows the user to select and upload one or more carbon texts.

[0053] Specifically, the front-end page of the carbon footprint accounting system has at least an input component corresponding to the target carbon text determination module 104, and a selection component corresponding to the target carbon text determination module 104. Specifically, when the user needs to perform carbon footprint accounting for the object to be accounted for, the user inputs a carbon footprint accounting request in the input component corresponding to the target carbon text determination module 104, and selects the source of the target carbon text in the selection component corresponding to the target carbon text determination module 104 to trigger the system's carbon footprint information extraction and carbon footprint accounting processing.

[0054] For example, when a user needs to calculate the carbon footprint of a certain aluminum plant's primary aluminum production within a year, the user enters the carbon footprint calculation request "Calculate the carbon footprint of a certain aluminum plant's primary aluminum production within a year" in the input component corresponding to the carbon footprint calculation request input module 102, and selects to upload the carbon text related to the aluminum plant's primary aluminum production within a year from the local computer in the selection component corresponding to the target carbon text determination module 104.

[0055] The carbon footprint information acquisition module 106 is used to determine multiple carbon footprint information extraction requirements for the target carbon document based on the carbon footprint calculation request.

[0056] In practical applications, the carbon footprint information acquisition module 106 is implemented by a large language model. The large language model can be a currently open-source large language model used as a benchmark model, or a large language model obtained by updating or fine-tuning the open-source large language model used as a benchmark model for the carbon industry.

[0057] The carbon footprint information acquisition module 106 is also used to extract the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement from the target carbon text for each carbon footprint information extraction requirement when the text length of the target carbon text is less than the preset text length.

[0058] Specifically, the carbon footprint information acquisition module 106 determines the text length of the target carbon text. When the text length of the target carbon text is less than the preset text length, it indicates that the target carbon text is ordinary text. The carbon footprint information acquisition module 106 uses a large language model to directly extract the carbon footprint information of the object to be accounted for under each carbon footprint information extraction requirement from the target carbon text.

[0059] Among them, the text length of the target carbon text refers to the total text length of the target carbon text, that is, if there are multiple target carbon texts, then the text length of the target carbon text is the sum of the text lengths of multiple target carbon texts.

[0060] The carbon footprint information acquisition module 106 is also used to perform text segmentation processing on the target carbon text when the text length of the target carbon text is greater than or equal to the preset text length to obtain multiple text segments; for each carbon footprint information extraction requirement, perform vectorization processing on the carbon footprint information extraction requirement to obtain an extraction requirement vector corresponding to the carbon footprint information extraction requirement, and perform vectorization processing on each text segment to obtain a text segment vector corresponding to each text segment; based on the extraction requirement vector and each text segment vector, determine the correlation between the extraction requirement vector and each text segment; sort the multiple text segments in order of correlation from large to small; according to the sorting order of the multiple text segments, select a preset number of text segments from the multiple text segments as associated text segments of the carbon footprint information extraction requirement; extract the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement from the associated text segments of the carbon footprint information extraction requirement.

[0061] Among them, correlation is used to characterize the degree of correlation between two things, such as similarity.

[0062] Specifically, for a target carbon text that is an overlong text, the carbon footprint information acquisition module 106 first performs a segmentation process on the target carbon text to obtain multiple text segments. In practical applications, text segmentation can be performed based on semantics or paragraphs.

[0063] Then, for each carbon footprint information extraction requirement, the carbon footprint information acquisition module 106 vectorizes the carbon footprint information extraction requirement and each text segment through the pre-trained vectorization model BERT (Bidirectional Encoder Representations from Transformers) to obtain an extraction requirement vector corresponding to the carbon footprint information extraction requirement and a text segment vector corresponding to each text segment.

[0064] For example, the carbon footprint information acquisition module 106 extracts the carbon footprint information and each text fragment Through the encoder of the vectorized model BERT respectively and Mapped to a vector representation in the same semantic space:

[0065]

[0066] Next, the carbon footprint information acquisition module 106 calculates the distance between the extraction requirement vector and each text segment vector to obtain the correlation between the carbon footprint information extraction requirement at this stage and each text segment; it is easy to understand that the closer the distance, the greater the corresponding correlation, that is, the more similar. In practical applications, the carbon footprint information acquisition module 106 can use the dot product or cosine Calculates the distance between two vectors.

[0067] like Figure 2 A schematic diagram showing the correlation between the carbon footprint information extraction requirement and each text segment is shown; see Figure 2 Although words with similar meanings have different forms of expression, when they are converted into vector representations in a high-dimensional vector space, their distances are close, while words with completely different meanings are far away.

[0068] Then, the carbon footprint information acquisition module 106 sorts the multiple text segments in descending order of relevance, and selects a preset number of text segments from the sorted text segments as the associated text segments required for the carbon footprint information extraction, for example:

[0069]

[0070] in, Indicates that the collection Sort in descending order and select the first K elements.

[0071] Next, the carbon footprint information acquisition module 106 takes the carbon footprint information extraction requirement and the associated text fragments as input information of the large language model, and inputs them into the large language model, and performs semantic analysis, semantic understanding and text generation on the input information through the large language model; the large language model takes the carbon footprint information extraction requirement as a question, extracts the corresponding key information from the associated text fragments, generates a corresponding answer based on the key information and outputs it as output information; the carbon footprint information acquisition module 106 takes the output information output by the large language model as the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement.

[0072] For example, the carbon footprint accounting system follows the following Figure 3 The Life Cycle Assessment (LCA) method shown in the figure is used to calculate the carbon footprint. Figure 3 ,The life cycle analysis method mainly includes three stages ,of objective and scope definition, life cycle inventory analysis and life cycle ,impact assessment.

[0073] Therefore, corresponding to the life cycle analysis method, the carbon footprint information of the object to be accounted for includes at least one life cycle stage corresponding to the object to be accounted for, at least one unit process corresponding to the object to be accounted for in each life cycle stage, the activity data of the object to be accounted for in each unit process, and the carbon emission factor corresponding to each activity data.

[0074] Furthermore, the carbon footprint information extraction needs include the carbon footprint information extraction needs corresponding to determining the life cycle stages in determining the system boundaries (in the definition of objectives and scope), the carbon footprint information extraction needs corresponding to determining the unit processes in the life cycle inventory analysis, and the carbon footprint information extraction needs corresponding to obtaining activity data, as well as the carbon footprint information extraction needs corresponding to obtaining carbon emission factors in the environmental impact assessment.

[0075] Assuming that the carbon footprint accounting requirement is "the carbon footprint of primary aluminum production in a certain aluminum plant within one year", the carbon footprint information acquisition module 106 first takes "determining the life cycle stages involved in primary aluminum production" as the carbon footprint information extraction requirement, and determines the various life cycle stages involved in primary aluminum production; then, the carbon footprint information acquisition module 106 takes "determining the unit process involved in each life cycle stage" as the carbon footprint information extraction requirement, and determines the unit process involved in each life cycle stage; then, the carbon footprint information acquisition module 106 takes "obtaining the activity data corresponding to each unit process of primary aluminum production" as the carbon footprint information extraction requirement, and obtains the activity data corresponding to each unit process of primary aluminum production; finally, the carbon footprint information acquisition module 106 takes "obtaining the carbon emission factor corresponding to each activity data" as the carbon footprint information extraction requirement, and obtains the carbon emission factor corresponding to each activity data.

[0076] The easy-to-understand associated text fragments and carbon footprint information extraction requirements together constitute the new prompt words of the large language model, thereby realizing the prompt engineering function of the large language model, enabling the large language model to generate high-quality, accurate and targeted outputs for the carbon industry.

[0077] It is also easy to understand that, firstly, the carbon footprint information acquisition module can use the powerful semantic understanding and information extraction capabilities of the large language model to capture key information and subtle connections in unstructured data such as carbon emission accounting standard documents, carbon accounting methods, carbon accounting related policy documents, industry process flow, process technology and carbon emission related documents in each link, so as to extract carbon footprint information such as carbon emission accounting standards, methods, policies, process technology, etc. corresponding to the object to be accounted. Secondly, the carbon footprint information acquisition module takes different technical routes to extract information from the target carbon text based on the text length of the target carbon text. When the length of the target carbon text is long, it can realize the prompt engineering of the large language model by cutting, vectorizing, calculating and screening the relevance of the target carbon text, thereby broadening the knowledge coverage of the large language model and improving the information extraction ability of the large language model, that is, improving the efficiency and accuracy of the large language model in extracting information. Based on the improvement of the efficiency and accuracy of the large language model in extracting information, the efficiency and accuracy of carbon footprint accounting can be further improved. Again, it is also easy to understand that the training cost and inference cost of a large language model will increase with the length of the text input into the large language model. Therefore, the prompt engineering implemented in this embodiment based on the cutting, vectorization, and relevance calculation and screening of the target carbon text can also reduce the inference cost of the large language model.

[0078] The carbon footprint calculation processing module 108 is used to perform carbon footprint calculation on the object to be calculated based on the carbon footprint information to obtain the carbon footprint calculation result of the object to be calculated.

[0079] Specifically, the carbon footprint accounting system performs carbon footprint accounting on the object to be accounted for based on the carbon footprint information acquired by the carbon footprint information acquisition module 106 , determines the carbon emissions of the object to be accounted for throughout its life cycle, and obtains the carbon footprint accounting result of the object to be accounted for.

[0080] The intelligent carbon accounting conflict resolution module 110 is used to obtain the reference carbon footprint accounting result of the object to be accounted for through the carbon footprint information acquisition module and the carbon text database provided by the system by default when the target carbon text is the carbon text uploaded locally by the user; perform difference analysis on the carbon footprint accounting result and the reference carbon footprint accounting result to obtain the difference information between the carbon footprint accounting result and the reference carbon footprint accounting result; and return the carbon footprint accounting result, the reference carbon footprint accounting result, and the difference information between the carbon footprint accounting result and the reference carbon footprint accounting result to the user.

[0081] Specifically, when the target carbon text is a carbon text uploaded locally by the user, the intelligent carbon accounting conflict resolution module will, at the same time as the carbon footprint information acquisition module 106 acquires the carbon footprint information from the target carbon text, extract the reference carbon footprint accounting result of the object to be accounted for from the carbon text database provided by default by the system through the carbon footprint information acquisition module 106 (the information extraction process is the same as the process of extracting carbon footprint information from the target carbon text, which will not be repeated here); then compare the carbon footprint accounting result with the reference carbon footprint accounting result to obtain the difference information between the two, including the document source agency, citation volume, credibility, related information fragments, etc. that cause the difference between the two, and return the carbon footprint accounting result, the reference carbon footprint accounting result, and the difference information between the carbon footprint accounting result and the reference carbon footprint accounting result to the user for reference.

[0082] It is easy to understand that the intelligent carbon accounting conflict resolution module can obtain comparative answers based on the carbon text database provided by the system by default when the target carbon text is the carbon text uploaded by the user locally. It can also perform difference analysis on the comparative answers and the answers obtained from the target carbon text and visualize them to the user, so that the user can flexibly choose between the two according to the differences between the two.

[0083] The intelligent carbon accounting conflict resolution module 110 is also used to, upon receiving a conflict resolution request sent by a user, perform a credibility assessment on the carbon footprint accounting result and the reference carbon footprint accounting result, and obtain a credibility score of the carbon footprint accounting result and a credibility score of the reference carbon footprint accounting result; when the credibility score of the carbon footprint accounting result is greater than or equal to the credibility score of the reference carbon footprint accounting result, return the carbon footprint accounting result to the user, and update the carbon text database based on the carbon footprint accounting result and the target carbon text; when the credibility score of the reference carbon footprint accounting result is greater than the credibility score of the carbon footprint accounting result, return the reference carbon footprint accounting result to the user.

[0084] In this embodiment, on the one hand, the intelligent carbon accounting conflict resolution module returns a higher corresponding credibility score through expert scoring, that is, a more accurate answer from the expert assessment to the user, which can ensure that the accounting results obtained by the user are more reliable and accurate accounting results; on the other hand, the intelligent carbon accounting conflict resolution module is based on the storage and comparison of higher-scoring accounting results, related texts, related information, and the carbon text database, which can help to provide users with more accurate carbon footprint accounting results in the future and improve the accuracy of the system's carbon footprint accounting.

[0085] Specifically, if the user cannot determine which of the carbon footprint accounting result and the reference carbon footprint accounting result is more reliable, the user can initiate a conflict resolution request to the system; the intelligent carbon accounting conflict resolution module, upon receiving the conflict resolution request sent by the user, sends the carbon footprint accounting result and the reference carbon footprint accounting result to experts in the carbon field, and has the experts score the credibility of the carbon footprint accounting result and the reference carbon footprint accounting result to obtain the credibility score of the carbon footprint accounting result and the credibility score of the reference carbon footprint accounting result; then, the intelligent carbon accounting conflict resolution module returns the result with a higher credibility score to the user; in addition, if the credibility score of the carbon footprint accounting result is greater than the credibility score of the reference carbon footprint accounting result, the intelligent carbon accounting conflict resolution module updates the carbon text database based on the carbon footprint accounting result and the target carbon text, and re-vectorizes the relevant information.

[0086] In addition, the intelligent carbon accounting conflict resolution module can also store the target carbon text uploaded by the user, the obtained carbon footprint information and carbon footprint accounting results, expert scores and comments, so that when encountering similar conflicts in the future, the results with higher expert scores can be directly returned to the user.

[0087] In this embodiment, the intelligent carbon accounting conflict resolution module returns a higher corresponding credibility score to the user through expert scoring, that is, a more accurate answer from the expert, to ensure that the accounting result obtained by the user is more reliable and accurate.

[0088] In the above-mentioned carbon footprint accounting system, a carbon footprint accounting request input module is used to receive a carbon footprint accounting request for an object to be accounted for input by a user; a target carbon text determination module is used to use the carbon text uploaded by the user as the target carbon text for extracting carbon footprint information when the user uploads a carbon text locally, or to use the carbon text in the carbon text database provided by the system by default as the target carbon text when the user does not upload a carbon text locally; the carbon text is a text associated with the carbon industry; a carbon footprint information acquisition module is used to determine multiple carbon footprint information extraction requirements for the target carbon text based on the carbon footprint accounting request; When the text length of the target carbon text is greater than or equal to the preset text length, for each carbon footprint information extraction requirement, the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement is extracted from the associated text segment of the carbon footprint information extraction requirement in the target carbon text; when the text length of the target carbon text is less than the preset text length, for each carbon footprint information extraction requirement, the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement is extracted from the target carbon text by cutting, vectorizing and screening the target carbon text; through the carbon footprint accounting processing module, based on the carbon footprint information, the carbon footprint information of the object to be accounted for is extracted. The carbon footprint accounting of the object to be accounted is performed to obtain the carbon footprint accounting result of the object to be accounted; wherein, through the intelligent carbon accounting conflict resolution module, when the target carbon text is the carbon text uploaded by the user locally, the reference carbon footprint accounting result of the object to be accounted can be obtained through the carbon footprint information acquisition module and the carbon text database provided by the system by default; the carbon footprint accounting result and the reference carbon footprint accounting result are analyzed to obtain the difference information between the carbon footprint accounting result and the reference carbon footprint accounting result; the carbon footprint accounting result, the reference carbon footprint accounting result and the difference information between the carbon footprint accounting result and the reference carbon footprint accounting result are returned to the user User; when receiving the conflict resolution request sent by the user, the carbon footprint accounting result and the reference carbon footprint accounting result are evaluated for credibility, and the credibility score of the carbon footprint accounting result and the credibility score of the reference carbon footprint accounting result are obtained; when the credibility score of the carbon footprint accounting result is greater than or equal to the credibility score of the reference carbon footprint accounting result, the carbon footprint accounting result is returned to the user, and the carbon text database is updated based on the carbon footprint accounting result and the target carbon text, and when the credibility score of the reference carbon footprint accounting result is greater than the credibility score of the carbon footprint accounting result, the reference carbon footprint accounting result is returned to the user. Based on the above process, based on each module in the carbon footprint accounting system, the carbon footprint information corresponding to the object to be accounted can be obtained without relying on the manual analysis of experts, and the carbon footprint accounting for the object to be accounted can be realized based on the carbon footprint information, thereby improving the efficiency of carbon footprint accounting.

[0089] In an exemplary embodiment, before extracting the target carbon text, the carbon footprint information acquisition module 106 may first classify the target carbon text and convert it into a format that can be understood by a machine learning model, such as a structured JSON or XML document.

[0090] In an exemplary embodiment, the carbon footprint information acquisition module is implemented by a large language model.

[0091] The carbon footprint information acquisition module 106 is also used to form an input sequence of the large language model with the carbon footprint information extraction requirement and the associated text fragments of the carbon footprint information extraction requirement for each carbon footprint information extraction requirement; the large language model is used to vector encode the input sequence to obtain an input sequence vector corresponding to the input sequence, generate each output element through the input sequence vector until a preset output termination condition is reached, and obtain the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement based on each output element; each output element is obtained according to the input sequence vector and the vector corresponding to the preceding output element of each output element; the preceding output element is the output element obtained before each output element.

[0092] For example, the knowledge fragment retrieved by the carbon footprint information acquisition module 106 and carbon footprint information extraction requirements Together as the enhanced input, forming the enhanced input sequence , and feed it into a large language model.

[0093] The large language model internally encodes this input sequence into a series of vectors to obtain an input sequence vector. Each vector in the input sequence vector represents a word in the input sequence. The encoding process covers the understanding and processing of the entire input sequence. Then, the large language model generates outputs step by step based on these vectors. In each step of generation, the large language model adopts the autoregressive property to predict the next most likely output element based on the input sequence vector and all previous output elements. The above process is repeated until a complete answer is generated or other stopping conditions are reached (such as generating a specific number of words or reaching a certain logical end).

[0094] Specifically, in each generation step, the enhanced input sequence Through large language models , get input The probability distribution of ; From the probability distribution The output is sampled ; Then the output generated by this step Add to input sequence middle.

[0095] In an exemplary embodiment, see Figure 3 The carbon footprint information acquisition module 106 is also used to determine the system boundary of the carbon footprint accounting for the object to be accounted for based on the target carbon text and the large language model, and obtain at least one life cycle stage corresponding to the object to be accounted for; based on the target carbon text and the large language model, perform a life cycle inventory analysis on the object to be accounted for, obtain at least one unit process corresponding to the object to be accounted for in each life cycle stage, and obtain the activity data of the object to be accounted for in each unit process; based on the target carbon text and the large language model, obtain the carbon emission factor corresponding to each activity data.

[0096] Among them, determining the system boundary refers to the process of determining which life cycle stages (raw material collection, production, transportation, use, waste disposal, etc.) will be taken into consideration and which processes will be excluded.

[0097] Among them, each life cycle stage includes at least one unit process.

[0098] Among them, activity data refers to the input and output data of the object to be accounted for under the unit process.

[0099] Among them, the carbon footprint information acquisition module is implemented through a large language model.

[0100] Specifically, the carbon footprint information acquisition module 106 first determines the system boundary of the carbon footprint accounting for the object to be accounted for from the target carbon text based on the large language model, and determines which life cycle stages of the object to be accounted for need to be included in the consideration of carbon footprint accounting, and obtains at least one life cycle stage corresponding to the object to be accounted for. For example, a user inputs a carbon footprint accounting request for the primary aluminum production of a certain aluminum plant within one year. The carbon footprint information acquisition module 106 first determines the various life cycle stages corresponding to the primary aluminum production of the aluminum plant within one year based on the large language model, such as raw material mining, manufacturing and processing, distribution and transportation, use, and waste disposal.

[0101] Then, based on the large language model, the carbon footprint information acquisition module 106 determines at least one unit process involved in the object to be accounted for in the life cycle stage from the target carbon text for each life cycle stage, and obtains the activity data of the object to be accounted for in each unit process. For example, the life cycle stage manufacturing and processing includes the unit process raw material input and finished product delivery. For the unit process of raw material input, the activity data corresponding to the object to be accounted for includes the consumed materials and energy. For the unit process of finished product delivery, the activity data corresponding to the object to be accounted for includes the finished product or semi-finished product obtained by production, as well as the exhaust gas, wastewater and solid waste discharged.

[0102] Finally, the carbon footprint information acquisition module 106 acquires the carbon emission factor defined for each activity data in the carbon industry from the target carbon text based on the large language model.

[0103] In practical applications, the large language model can be the currently open source large language model used as a benchmark model, or it can be a large language model obtained by updating or fine-tuning the open source large language model used as a benchmark model for the carbon industry.

[0104] In practical applications, the carbon footprint information acquisition module 106 can also determine the functional units in the life cycle analysis method based on the large language model.

[0105] In this embodiment, the carbon footprint accounting system follows the life cycle analysis method and can extract the carbon footprint information corresponding to the object to be accounted for in the entire life cycle.

[0106] In an exemplary embodiment, the carbon footprint accounting processing module 108 is further used to perform carbon footprint accounting on the object to be accounted for based on each activity data and the carbon emission factor corresponding to each activity data, and obtain the carbon footprint accounting result of the object to be accounted for.

[0107] See also Figure 3 , Figure 3 The rule-based calculation model in represents the calculation formula of carbon emissions. Therefore, the carbon footprint calculation processing module 108 substitutes the carbon footprint information into the calculation model, calculates the carbon emissions of the object to be calculated throughout its life cycle through the calculation formula, and obtains the carbon emissions of the object to be calculated throughout its life cycle, that is, the carbon footprint calculation result of the object to be calculated.

[0108] In this embodiment, the carbon footprint accounting system follows the life cycle analysis method, and can perform a systematic carbon footprint accounting on the object to be accounted for, and obtain the carbon emissions of the object to be accounted for throughout its entire life cycle.

[0109] In an exemplary embodiment, the carbon footprint accounting processing module is also used to calculate, for each activity data, the product of the activity data and the carbon emission factor corresponding to the activity data to obtain the carbon emissions corresponding to the activity data; and accumulate the carbon emissions corresponding to each activity data to obtain the carbon footprint accounting result of the object to be accounted for.

[0110] Specifically, see Figure 3 For each activity data, the carbon footprint accounting processing module 108 calculates the product between the activity data and its corresponding carbon emission factor to obtain the carbon emissions corresponding to the activity data, and takes the sum of the carbon emissions corresponding to each activity data as the life cycle carbon emissions of the object to be accounted for in the entire life cycle, thereby obtaining the carbon footprint accounting result of the object to be accounted for.

[0111] In an exemplary embodiment, the system further includes a carbon text database update module for updating the carbon text database based on newly added carbon texts in the carbon industry.

[0112] Specifically, the carbon text database update module obtains externally updated carbon texts based on crawlers, and when the external carbon texts are updated, adds the externally updated carbon texts to the carbon text database provided by the system by default.

[0113] In this embodiment, it is easy to understand that the training cost of a large language model is relatively high, so low-frequency update training is usually adopted for the large language model; by updating the Carbon Text provided by default through the crawler, and cutting, vectorizing, calculating relevance and screening the text in real time, the large language model can acquire the ability to process high-frequency update information, which greatly saves the high cost of real-time update training of the large language model.

[0114] In an exemplary embodiment, the carbon text database update module is also used to obtain newly added carbon texts in the carbon industry at preset time intervals.

[0115] Specifically, the carbon text database update module crawls and obtains externally updated carbon texts at preset time intervals.

[0116] In an exemplary embodiment, the large language model is a large language model based on the Transformer architecture; the model adopts a multi-head attention mechanism, which can deeply understand complex texts and accurately capture the subtle connections between key information. Combined with the cutting, vectorization, and correlation calculation and screening of the target carbon text, the model can dynamically retrieve relevant information, which not only improves the model accuracy, but also broadens the knowledge coverage, reduces dependence on manpower and experience, and facilitates efficient and reliable accounting of carbon footprint information.

[0117] In an exemplary embodiment, the carbon footprint accounting system updates and trains the large language model at preset time intervals using normal length texts of the carbon industry and the relevant carbon footprint information therein as training sets.

[0118] Each module in the above-mentioned carbon footprint accounting system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules. Based on the same inventive concept, the embodiment of the present application also provides a carbon footprint accounting method applied to the above-mentioned carbon footprint accounting system. The implementation solution for solving the problem provided by the method is similar to the implementation solution recorded in the above-mentioned carbon footprint accounting system, so the specific limitations in one or more carbon footprint accounting method embodiments provided below can refer to the limitations on the carbon footprint accounting system above, and will not be repeated here.

[0119] In an exemplary embodiment, if Figure 4 As shown, a carbon footprint calculation method is provided, which includes the following steps:

[0120] Step S402, receiving a carbon footprint calculation request for an object to be calculated input by a user;

[0121] Step S404, when the user uploads a carbon text locally, the carbon text uploaded by the user is used as the target carbon text for extracting carbon footprint information, or, when the user does not upload a carbon text locally, the carbon text in the carbon text database provided by the system by default is used as the target carbon text; the carbon text is a text associated with the carbon industry.

[0122] Among them, carbon text refers to the text related to the carbon industry.

[0123] Step S406: determining multiple carbon footprint information extraction requirements for the target carbon document based on the carbon footprint calculation request.

[0124] Step S408: when the text length of the target carbon text is less than the preset text length, for each carbon footprint information extraction requirement, the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement is extracted from the target carbon text.

[0125] or,

[0126] Step S410: When the text length of the target carbon text is greater than or equal to the preset text length, text segmentation processing is performed on the target carbon text to obtain multiple text segments.

[0127] Step S412, for each carbon footprint information extraction requirement, vectorize the carbon footprint information extraction requirement to obtain an extraction requirement vector corresponding to the carbon footprint information extraction requirement, and vectorize each text segment to obtain a text segment vector corresponding to each text segment.

[0128] Step S414: determining the correlation between the extraction requirement vector and each text segment based on the extraction requirement vector and each text segment vector.

[0129] Step S416, sorting the multiple text segments in descending order of relevance; and selecting a preset number of text segments from the multiple text segments according to the sorting order of the multiple text segments as associated text segments required for carbon footprint information extraction.

[0130] Step S418: extracting the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement from the associated text segment of the carbon footprint information extraction requirement.

[0131] Step S420: Based on the carbon footprint information, carbon footprint accounting is performed on the object to be accounted for, and a carbon footprint accounting result of the object to be accounted for is obtained.

[0132] like Figure 5 As shown, the carbon footprint accounting method provided by this application also includes the following steps to provide users with an intelligent carbon accounting conflict resolution strategy:

[0133] Step S502, when the target carbon text is a carbon text uploaded by the user locally, a reference carbon footprint calculation result of the object to be calculated is obtained through the carbon text database provided by the system by default.

[0134] Step S504: performing a difference analysis on the carbon footprint calculation result and the reference carbon footprint calculation result to obtain difference information between the carbon footprint calculation result and the reference carbon footprint calculation result.

[0135] Step S506: Return the carbon footprint calculation result, the reference carbon footprint calculation result, and the difference information between the carbon footprint calculation result and the reference carbon footprint calculation result to the user.

[0136] Step S508, upon receiving the conflict resolution request sent by the user, a credibility assessment is performed on the carbon footprint calculation result and the reference carbon footprint calculation result to obtain a credibility score of the carbon footprint calculation result and a credibility score of the reference carbon footprint calculation result.

[0137] Step S510, when the credibility score of the carbon footprint accounting result is greater than or equal to the credibility score of the reference carbon footprint accounting result, the carbon footprint accounting result is returned to the user, and the carbon text database is updated based on the carbon footprint accounting result and the target carbon text; when the credibility score of the reference carbon footprint accounting result is greater than the credibility score of the carbon footprint accounting result, the reference carbon footprint accounting result is returned to the user.

[0138] In an exemplary embodiment, the carbon footprint accounting method provided by the present application also includes the following contents: for each carbon footprint information extraction requirement, the carbon footprint information extraction requirement and the associated text fragments of the carbon footprint information extraction requirement are composed into an input sequence of a large language model; the large language model is used to vector encode the input sequence to obtain an input sequence vector corresponding to the input sequence, and each output element is generated through the input sequence vector until a preset output termination condition is reached, and the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement is obtained based on each output element; each output element is obtained according to the input sequence vector and the vector corresponding to the preceding output element of each output element; the preceding output element is the output element obtained before each output element.

[0139] In an exemplary embodiment, the carbon footprint information includes at least one life cycle stage corresponding to the object to be accounted for, at least one unit process corresponding to the object to be accounted for in each life cycle stage, activity data of the object to be accounted for in each unit process, and the carbon emission factor corresponding to each activity data.

[0140] like Figure 6 As shown, the carbon footprint calculation method provided by the present application also includes the following steps for extracting carbon footprint information from the target carbon text:

[0141] Step S602: Based on the target carbon text and the large language model, determine the system boundary of the carbon footprint accounting for the object to be accounted for, and obtain at least one life cycle stage corresponding to the object to be accounted for.

[0142] Step S604: Based on the target carbon text and the large language model, a life cycle inventory analysis is performed on the object to be accounted for, and at least one unit process corresponding to each life cycle stage of the object to be accounted for is obtained, and activity data of the object to be accounted for in each unit process is obtained.

[0143] Step S606: Based on the target carbon text and the large language model, obtain the carbon emission factor corresponding to each activity data.

[0144] In an exemplary embodiment, the above step S420, based on the carbon footprint information, performs carbon footprint accounting on the object to be accounted for, and obtains the carbon footprint accounting result of the object to be accounted for, and specifically also includes the following contents: based on each activity data and the carbon emission factor corresponding to each activity data, performs carbon footprint accounting on the object to be accounted for, and obtains the carbon footprint accounting result of the object to be accounted for.

[0145] In an exemplary embodiment, the carbon footprint accounting method provided in the present application also includes the following contents: for each activity data, calculating the product between the activity data and the carbon emission factor corresponding to the activity data to obtain the carbon emissions corresponding to the activity data; accumulating the carbon emissions corresponding to each activity data to obtain the carbon footprint accounting result of the object to be accounted for.

[0146] In an exemplary embodiment, the carbon footprint accounting method provided by the present application also includes the following content: based on the newly added carbon text in the carbon industry, the carbon text database is updated.

[0147] In an exemplary embodiment, the carbon footprint accounting method provided by the present application also includes the following content: obtaining newly added carbon texts in the carbon industry at preset time intervals.

[0148] In order to more clearly illustrate the carbon footprint calculation method provided in the embodiment of the present application, the carbon footprint calculation method is specifically described below with a specific embodiment, but it should be understood that the embodiment of the present application is not limited to this.

[0149] like Figure 7 As shown, in one exemplary embodiment, the present application also provides a carbon footprint accounting method based on a large language model applied to a carbon footprint accounting system, which specifically includes the following steps:

[0150] Step S702: receiving a carbon footprint calculation request for an object to be calculated input by a user, and receiving a target carbon text uploaded by the user.

[0151] Step S704, when the text length of the target carbon text is greater than or equal to the preset text length, based on the cutting, vectorization, relevance calculation and screening of the target carbon text and the large language model, at least one life cycle stage corresponding to the object to be accounted for is determined from the target carbon text.

[0152] Step S706, based on the cutting, vectorization, correlation calculation and screening of the target carbon text and the large language model, at least one unit process corresponding to the object to be accounted for in each life cycle stage is determined from the target carbon text.

[0153] Step S708, based on the cutting, vectorization, correlation calculation and screening of the target carbon text and the large language model, the activity data of the object to be accounted for in each unit process is obtained from the target carbon text.

[0154] Step S710, based on the cutting, vectorization, correlation calculation and screening of the target carbon text and the large language model, the carbon emission factor corresponding to each activity data is obtained from the target carbon text.

[0155] Step S712: when the text length of the target carbon text is less than the preset text length, at least one life cycle stage corresponding to the object to be accounted for is determined from the carbon text based on the large language model.

[0156] Step S714: Based on the large language model, determine from the target carbon text at least one unit process corresponding to the object to be accounted for in each life cycle stage.

[0157] Step S716: Based on the large language model, the activity data of the object to be accounted for in each unit process is obtained from the target carbon text.

[0158] Step S718: Based on the large language model, the carbon emission factor corresponding to each activity data is obtained from the target carbon text.

[0159] Step S720: Based on each activity data and the carbon emission factor corresponding to each activity data, a carbon footprint accounting is performed on the object to be accounted for, and a carbon footprint accounting result of the object to be accounted for is obtained.

[0160] It is easy to understand that carbon footprint accounting usually follows the LCA method, which is to first determine the system boundary of the carbon footprint accounting, and then conduct a life cycle inventory analysis on the object to be accounted for, obtain all the input and output data of the object to be accounted in each unit process at each life cycle stage, and the carbon emission factor corresponding to each input and output data, so as to calculate the total carbon emissions of the object to be accounted for and evaluate the environmental impact of the object to be accounted for.

[0161] Therefore, see Figure 3 The carbon footprint accounting system first determines the system boundary of carbon footprint accounting, that is, determines the various life cycle stages corresponding to the object to be accounted for, and then conducts a life cycle inventory analysis on the object to be accounted for, that is, determines the various unit processes corresponding to each life cycle stage, and obtains the activity data of the object to be accounted for in each unit process, and then obtains the carbon emission factor corresponding to each activity data, and substitutes the activity data and carbon emission factor into the rule-based calculation model to calculate the total carbon emissions of the object to be accounted for and evaluate the environmental impact of the object to be accounted for.

[0162] See also Figure 3 The target carbon text in this embodiment can be a text selected by the user to upload or a text provided by the system by default, and can be a long text or a short text. For long text, the carbon footprint accounting system extracts carbon footprint information through a large language model and cutting, vectorization, correlation calculation and screening of the target carbon text. For short text, the carbon footprint accounting system extracts carbon footprint information through a large language model.

[0163] In this embodiment, firstly, the extraction of carbon footprint information based on the large language model improves the efficiency of carbon footprint accounting. Secondly, in the face of normal length text, semantic understanding and information extraction are realized based on the large language model. In the face of super long text, the most relevant corpus is obtained by cutting, vectorizing, calculating and screening the text of the target carbon text, and the query statement is used as a supplementary input of the large language model, which can efficiently utilize the super long text information. Therefore, the cost of extracting carbon footprint information from the super long text by the large language model can be greatly saved. The scheme based on the above process combines the advantages of cutting, vectorizing, calculating and screening the target carbon text and the large language model, and reduces the economic cost of the large language model for real-time updates and super long text sources. In addition, by distinguishing the scenarios into facing normal length text and super long text, carbon footprint information in different scenarios can be efficiently extracted.

[0164] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0165] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store carbon texts. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a carbon footprint accounting method is implemented.

[0166] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0167] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0168] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0169] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0170] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0171] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0172] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A carbon footprint accounting system, It is characterized in that The system includes a carbon footprint accounting request input module, a target carbon text determination module, a carbon footprint information acquisition module, a carbon footprint accounting processing module and an intelligent carbon accounting conflict resolution module; The carbon footprint calculation request input module is used to receive a carbon footprint calculation request for an object to be calculated input by a user; The target carbon text determination module is used to use the carbon text uploaded by the user as the target carbon text for extracting carbon footprint information when the user uploads the carbon text locally, or use the carbon text in the carbon text database provided by the system by default as the target carbon text when the user does not upload the carbon text locally; the carbon text is a text associated with the carbon industry; The carbon footprint information acquisition module is used to determine multiple carbon footprint information extraction requirements for the target carbon text based on the carbon footprint calculation request; The carbon footprint information acquisition module is further configured to extract the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement from the target carbon text for each carbon footprint information extraction requirement when the text length of the target carbon text is less than the preset text length; The carbon footprint information acquisition module is also used to, when the text length of the target carbon text is greater than or equal to the preset text length, perform text segmentation processing on the target carbon text to obtain multiple text segments; for each carbon footprint information extraction requirement, perform vectorization processing on the carbon footprint information extraction requirement to obtain an extraction requirement vector corresponding to the carbon footprint information extraction requirement, and perform vectorization processing on each text segment to obtain a text segment vector corresponding to each text segment; based on the extraction requirement vector and each text segment vector, determine the correlation between the extraction requirement vector and each text segment; sort the multiple text segments in descending order of correlation; according to the sorting order of the multiple text segments, screen out a preset number of text segments from the multiple text segments as associated text segments of the carbon footprint information extraction requirement; extract the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement from the associated text segments of the carbon footprint information extraction requirement; The carbon footprint calculation processing module is used to perform carbon footprint calculation on the object to be calculated based on the carbon footprint information to obtain the carbon footprint calculation result of the object to be calculated; The intelligent carbon accounting conflict resolution module is used to obtain the reference carbon footprint accounting result of the object to be accounted for through the carbon footprint information acquisition module and the carbon text database provided by the system by default when the target carbon text is the carbon text uploaded by the user locally; Performing a difference analysis on the carbon footprint calculation result and the reference carbon footprint calculation result to obtain difference information between the carbon footprint calculation result and the reference carbon footprint calculation result; Returning the carbon footprint calculation result, the reference carbon footprint calculation result, and the difference information between the carbon footprint calculation result and the reference carbon footprint calculation result to the user; The intelligent carbon accounting conflict resolution module is further configured to, upon receiving a conflict resolution request sent by the user, perform a credibility assessment on the carbon footprint calculation result and the reference carbon footprint calculation result to obtain a credibility score of the carbon footprint calculation result and a credibility score of the reference carbon footprint calculation result; In the case where the credibility score of the carbon footprint accounting result is greater than or equal to the credibility score of the reference carbon footprint accounting result, the carbon footprint accounting result is returned to the user, and the carbon text database is updated based on the carbon footprint accounting result and the target carbon text. In the case where the credibility score of the reference carbon footprint accounting result is greater than the credibility score of the carbon footprint accounting result, the reference carbon footprint accounting result is returned to the user.

2. The system according to claim 1, It is characterized in that The carbon footprint information acquisition module is implemented by a large language model; The carbon footprint information acquisition module is further used to, for each carbon footprint information extraction requirement, form the carbon footprint information extraction requirement and the associated text fragments of the carbon footprint information extraction requirement into an input sequence of the large language model; the large language model is used to vector encode the input sequence to obtain an input sequence vector corresponding to the input sequence, generate each output element through the input sequence vector until a preset output termination condition is reached, and obtain the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement based on the each output element; each output element is obtained according to the input sequence vector and the vector corresponding to the preceding output element of each output element, and the preceding output element is an output element obtained before each output element.

3. The system according to claim 1, It is characterized in that The carbon footprint information includes at least one life cycle stage corresponding to the object to be accounted for, at least one unit process corresponding to each life cycle stage of the object to be accounted for, activity data of the object to be accounted for in each unit process, and a carbon emission factor corresponding to each activity data; the carbon footprint information acquisition module is implemented by a large language model; The carbon footprint information acquisition module is further used to determine the system boundary of the carbon footprint accounting for the object to be accounted for based on the target carbon text and the large language model, and obtain at least one life cycle stage corresponding to the object to be accounted for; Based on the target carbon text and the large language model, a life cycle inventory analysis is performed on the object to be accounted for, and at least one unit process corresponding to the object to be accounted for in each life cycle stage is obtained, and the activity data of the object to be accounted for in each unit process is obtained; based on the target carbon text and the large language model, the carbon emission factor corresponding to each activity data is obtained.

4. The system according to claim 3, It is characterized in that The carbon footprint accounting processing module is further used to perform the carbon footprint accounting on the object to be accounted for based on each of the activity data and the carbon emission factor corresponding to each of the activity data, so as to obtain the carbon footprint accounting result of the object to be accounted for.

5. A system according to any one of claims 1 to 4, It is characterized in that The system also includes a carbon text database update module, which is used to update the carbon text database based on newly added carbon texts in the carbon industry.

6. The system according to claim 5, It is characterized in that The carbon text database updating module is also used to obtain newly added carbon texts in the carbon industry at preset time intervals.

7. A carbon footprint accounting method, It is characterized in that Applied to the carbon footprint accounting system according to any one of claims 1 to 5, the method comprises: Receiving a carbon footprint calculation request for an object to be calculated input by a user; In the case where the user uploads a carbon text locally, the carbon text uploaded by the user is used as the target carbon text for extracting carbon footprint information, or, in the case where the user does not upload a carbon text locally, the carbon text in the carbon text database provided by the system by default is used as the target carbon text; the carbon text is a text associated with the carbon industry; Determining a plurality of carbon footprint information extraction requirements for the target carbon text based on the carbon footprint calculation request; When the text length of the target carbon text is less than the preset text length, for each carbon footprint information extraction requirement, the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement is extracted from the target carbon text; or In the case where the text length of the target carbon text is greater than or equal to the preset text length, the target carbon text is subjected to text segmentation processing to obtain a plurality of text segments; for each carbon footprint information extraction requirement, the carbon footprint information extraction requirement is vectorized to obtain an extraction requirement vector corresponding to the carbon footprint information extraction requirement, and each text segment is vectorized to obtain a text segment vector corresponding to each text segment; based on the extraction requirement vector and each text segment vector, the correlation between the extraction requirement vector and each text segment is determined; the plurality of text segments are sorted in descending order of correlation; according to the sorting order of the plurality of text segments, a preset number of text segments are screened out from the plurality of text segments as associated text segments of the carbon footprint information extraction requirement; from the associated text segments of the carbon footprint information extraction requirement, the carbon footprint information of the object to be accounted for under the carbon footprint information extraction requirement is extracted; Based on the carbon footprint information, carbon footprint accounting is performed on the object to be accounted for, and a carbon footprint accounting result of the object to be accounted for is obtained; The method further comprises: In the case where the target carbon text is the carbon text uploaded locally by the user, the reference carbon footprint accounting result of the object to be accounted is obtained through the carbon text database provided by the system by default; the carbon footprint accounting result and the reference carbon footprint accounting result are analyzed for differences to obtain the difference information between the carbon footprint accounting result and the reference carbon footprint accounting result; the carbon footprint accounting result, the reference carbon footprint accounting result and the difference information between the carbon footprint accounting result and the reference carbon footprint accounting result are returned to the user; upon receiving a conflict resolution request sent by the user, the carbon footprint accounting result is analyzed for differences between the reference carbon footprint accounting result and the reference carbon footprint accounting result. The accounting result and the reference carbon footprint accounting result are subjected to credibility evaluation to obtain a credibility score of the carbon footprint accounting result and a credibility score of the reference carbon footprint accounting result; when the credibility score of the carbon footprint accounting result is greater than or equal to the credibility score of the reference carbon footprint accounting result, the carbon footprint accounting result is returned to the user, and the carbon text database is updated based on the carbon footprint accounting result and the target carbon text; when the credibility score of the reference carbon footprint accounting result is greater than the credibility score of the carbon footprint accounting result, the reference carbon footprint accounting result is returned to the user.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to claim 7 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to claim 7 are implemented.

10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to claim 7 are implemented.

Citation Information

Patent Citations

  • Information processing and obtaining method and device, equipment and storage medium

    CN117033590A

  • Industrial product carbon footprint accounting method and device

    CN117808315A

  • Power battery carbon footprint accounting method, system and device and storage medium

    CN117980932A

  • Computerized carbon footprint inventory of products and computng device for inventorying carbon footprint of the products

    US20140032380A1

Cited By

  • Carbon footprint analysis method and system, electronic equipment and storage medium

    CN118822575A

  • Product carbon footprint information visualization system and method

    CN119336965A

  • Online car-hailing carbon footprint tracking and compensating device and method and storage medium

    CN120317885A

  • Bus carbon efficiency intervention evaluation method and device driven by large model semantics, and medium

    CN120806748A

  • Bus carbon efficiency intervention evaluation method and device driven by large model semantics, medium

    CN120806748B