Carbon emission determination method and device, computer equipment and storage medium

By obtaining electricity consumption data from the blockchain and calculating carbon emissions, the problem of insufficient transparency and credibility of data between the power grid and the power users is solved, and the safe and transparent management of electricity consumption data and carbon emissions is achieved.

CN120106643APending Publication Date: 2025-06-06GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510107670.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-06-06

Smart Images

  • Figure CN120106643A_ABST
    Figure CN120106643A_ABST
Patent Text Reader

Abstract

The invention relates to a carbon emission determination method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring power utilization data corresponding to different power sources uploaded by a power utilization party from a block chain; according to the power utilization data of different power sources, determining the carbon emission of the power utilization party; and transmitting the carbon emission to a block chain, thereby judging whether a supervisor issues supplementary resources to a power utilization party with power utilization compliance determined based on the carbon emission obtained from the block chain or not. By adopting the method, the credible recording and transparent management of the power consumption data can be realized through the block chain, the power consumption party, the supervision party and the data processing party are separated, and the safety and credibility of the power consumption data and the carbon emission are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of computer equipment, and in particular to a method, device, computer equipment and storage medium for determining carbon emissions. Background Art

[0002] As global climate change becomes increasingly serious, the monitoring and management of carbon emissions has become the key to global environmental governance. The power industry is one of the main sources of carbon emissions, so it is particularly important to accurately record electricity consumption and calculate carbon emissions.

[0003] In the existing technology, the data between the power grid and the electricity users lacks transparency and credibility, and it is difficult for regulators and data processors to supervise in real time. Electricity consumption data often involves the user's personal behavior and living habits. The leakage or abuse of electricity consumption data may infringe on the user's personal privacy. Therefore, there is a problem of high data transparency. Summary of the invention

[0004] Based on this, it is necessary to provide a carbon emissions determination method, device, computer equipment and storage medium that can reduce data transparency in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for determining carbon emissions, which is applied to a data processor, comprising:

[0006] Obtain electricity consumption data corresponding to different electricity sources uploaded by electricity users from the blockchain;

[0007] Determine the carbon emissions of electricity users based on electricity consumption data from different electricity sources;

[0008] The carbon emissions are transmitted to the blockchain so that the regulator can judge whether to issue supplementary resources to electricity users who are in compliance with the electricity regulations based on the carbon emissions obtained from the blockchain.

[0009] In one embodiment, the carbon emissions of the electricity user are determined based on the electricity consumption data of different electricity sources, including:

[0010] Determine the carbon emission weights corresponding to different electricity sources; electricity sources include thermal power sources, wind power sources, photovoltaic sources and hydropower sources;

[0011] For each electricity source, the product of the carbon emission weight of the electricity source and the electricity consumption data is taken as the carbon emission of the electricity source;

[0012] The sum of the carbon emissions from all electricity sources is taken as the carbon emissions of the electricity user.

[0013] In one embodiment, the method further comprises:

[0014] Determine the electricity value data corresponding to different electricity sources;

[0015] For each power source, the product of the power value data and the power data of the power source is used as the power resource of the power source;

[0016] The sum of the electricity consumption resources of all electricity sources is taken as the electricity consumption resources of the electricity user.

[0017] In one embodiment, the method further comprises:

[0018] The electricity resources of the electricity users are uploaded to the blockchain so that the regulator can supervise the issuance of supplementary resources to the electricity users whose electricity usage compliance is compliant based on the electricity resources.

[0019] In the second aspect, the present application provides a method for determining carbon emissions, which is applied to regulators, including:

[0020] Obtain the carbon emissions and electricity resources corresponding to different electricity users from the blockchain;

[0021] Determine the electricity compliance of each electricity user based on the carbon emissions corresponding to different electricity users and the preset carbon emission thresholds of the corresponding electricity users;

[0022] For each electricity user whose electricity usage compliance is compliant, determine whether to issue supplementary resources to the electricity user based on the electricity resources corresponding to the electricity user.

[0023] In one embodiment, determining whether to issue supplementary resources to the electricity user according to the carbon emissions and electricity resources corresponding to the electricity user includes:

[0024] Obtain the power resource threshold corresponding to the power user;

[0025] When the power consumption resources are greater than the power consumption resource threshold, it is determined to issue supplementary resources to the power user.

[0026] In a third aspect, the present application further provides a carbon emission determination device, which is applied to a data processing party, comprising:

[0027] The data acquisition module is used to obtain the electricity consumption data corresponding to different electricity sources uploaded by the electricity user from the blockchain;

[0028] The emission acquisition module is used to determine the carbon emissions of electricity users based on electricity consumption data from different electricity sources;

[0029] The data transmission module is used to transmit carbon emissions to the blockchain so that the regulator can judge whether to issue supplementary resources to electricity users who comply with electricity regulations based on the carbon emissions obtained from the blockchain.

[0030] In a fourth aspect, the present application also provides a carbon emission determination device, which is applied to a regulator, including:

[0031] The data receiving module is used to obtain the carbon emissions and electricity resources corresponding to different electricity users from the blockchain;

[0032] A compliance determination module, used to determine the electricity compliance of each electricity user according to the carbon emissions corresponding to different electricity users and the preset carbon emission threshold of the corresponding electricity user;

[0033] The issuance judgment module is used to determine whether to issue supplementary resources to each electricity user whose electricity usage compliance is compliant, based on the electricity resources corresponding to the electricity user.

[0034] In a fifth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0035] Obtain electricity consumption data corresponding to different electricity sources uploaded by electricity users from the blockchain;

[0036] Determine the carbon emissions of electricity users based on electricity consumption data from different electricity sources;

[0037] The carbon emissions are transmitted to the blockchain so that the regulator can judge whether to issue supplementary resources to electricity users who are in compliance with the electricity regulations based on the carbon emissions obtained from the blockchain.

[0038] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0039] Obtain electricity consumption data corresponding to different electricity sources uploaded by electricity users from the blockchain;

[0040] Determine the carbon emissions of electricity users based on electricity consumption data from different electricity sources;

[0041] The carbon emissions are transmitted to the blockchain so that the regulator can judge whether to issue supplementary resources to electricity users who are in compliance with the electricity regulations based on the carbon emissions obtained from the blockchain.

[0042] In a seventh aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0043] Obtain electricity consumption data corresponding to different electricity sources uploaded by electricity users from the blockchain;

[0044] Determine the carbon emissions of electricity users based on electricity consumption data from different electricity sources;

[0045] The carbon emissions are transmitted to the blockchain so that the regulator can judge whether to issue supplementary resources to electricity users who are in compliance with the electricity regulations based on the carbon emissions obtained from the blockchain.

[0046] The above-mentioned carbon emission determination method, device, computer equipment and storage medium obtain the electricity consumption data corresponding to different electricity sources uploaded by the electricity user from the blockchain; determine the carbon emissions of the electricity user based on the electricity consumption data of different electricity sources; transmit the carbon emissions to the blockchain for the regulator to judge whether to issue supplementary resources to the electricity user who is determined to be compliant with the electricity consumption based on the carbon emissions obtained from the blockchain. This embodiment realizes the credible recording and transparent management of electricity consumption data through the blockchain, separates the electricity user, the regulator and the data processor, and ensures the security and credibility of the electricity consumption data and carbon emissions. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 An application environment diagram of a carbon emission determination method provided in this embodiment;

[0049] Figure 2 A schematic flow chart of a first method for determining carbon emissions provided in this embodiment;

[0050] Figure 3 A schematic flow chart of a second method for determining carbon emissions provided in this embodiment;

[0051] Figure 4 A structural block diagram of a first carbon emission determination device provided in this embodiment;

[0052] Figure 5 A structural block diagram of a second carbon emission determination device provided in this embodiment;

[0053] Figure 6 This is a diagram of the internal structure of a computer device provided in this embodiment. DETAILED DESCRIPTION

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

[0055] The carbon emission determination method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the data processor 100 is used to determine the carbon emissions based on the electricity consumption data of different electricity sources on the blockchain. The regulator 101 is used to supervise the compliance of electricity consumption data and monitor carbon emissions. The electricity user 102 is used to upload electricity consumption data corresponding to different electricity sources. The data processor 100 obtains the electricity consumption data corresponding to different electricity sources uploaded by the electricity user 102 from the blockchain; determines the carbon emissions of the electricity user based on the electricity consumption data of different electricity sources; and transmits the carbon emissions to the blockchain for the regulator 101 to judge whether to issue supplementary resources to the electricity user 102 who is determined to be compliant with the electricity consumption based on the carbon emissions obtained from the blockchain.

[0056] In an exemplary embodiment, Figure 2 As shown, a method for determining carbon emissions is provided, which is applied to Figure 1 The data processing side in the example is used to illustrate, including the following steps 201 to 203. Among them:

[0057] Step 201, obtaining electricity consumption data corresponding to different electricity sources uploaded by the electricity user from the blockchain.

[0058] Specifically, the way for the electricity user to collect electricity consumption data can be: the power grid collects the electricity consumption data of the electricity user in real time through the smart meter, and the electricity consumption data is encrypted by running the Advanced Encryption Standard (AES) algorithm through the symmetric key, and the electricity user uploads the encrypted electricity consumption data to the blockchain. At this time, the blockchain can ensure that multiple nodes confirm the electricity consumption data through the consensus algorithm to avoid tampering or falsification of data. After the electricity user submits the electricity consumption data to the blockchain, multiple verification nodes in the blockchain (including regulators, data processors, etc.) verify it through the consensus mechanism to ensure that the data is authentic and reliable.

[0059] Step 202, determining the carbon emissions of the electricity user based on the electricity consumption data of different electricity sources.

[0060] Among them, the sources of electricity include thermal power, wind power, photovoltaic power and hydropower.

[0061] In one embodiment, the carbon emissions of the electricity user are determined based on the electricity consumption data of different electricity sources, including: determining the carbon emission weights corresponding to the different electricity sources; for each electricity source, taking the product of the carbon emission weight of the electricity source and the electricity consumption data as the carbon emissions of the electricity source; and taking the sum of the carbon emissions of all electricity sources as the carbon emissions of the electricity user.

[0062] Specifically, the data processor calls the carbon emission calculation smart contract to decrypt the ciphertext of the electricity consumption data. After obtaining the electricity consumption data, the carbon emissions of each electricity user are determined by the following formula (1-1). (1-1)

[0063] Where i represents the number of the power source, i=1 represents thermal power, i=2 represents wind power, i=3 represents photovoltaic power, i=4 represents hydropower, E i represents the power consumption data corresponding to power source i, F i Represents the carbon emission weight of electricity consumption corresponding to electricity source i.

[0064] Step 203, the carbon emissions are transmitted to the blockchain so that the regulator can judge whether to issue supplementary resources to the electricity users who comply with the electricity regulations based on the carbon emissions obtained from the blockchain.

[0065] Specifically, the data processor uses the AES encryption algorithm to calculate the carbon emissions ciphertext, stores the carbon emissions ciphertext and transmits it to the blockchain; the regulator can obtain the carbon emissions from the blockchain and issue supplementary resources to the electricity users who are in compliance with the regulations based on the carbon emissions.

[0066] The above-mentioned method for determining carbon emissions obtains electricity consumption data corresponding to different electricity sources uploaded by electricity users from the blockchain; determines the carbon emissions of electricity users based on the electricity consumption data of different electricity sources; and transmits the carbon emissions to the blockchain for the regulator to judge whether to issue supplementary resources to electricity users who are in compliance with electricity consumption based on the carbon emissions obtained from the blockchain. This embodiment realizes the credible recording and transparent management of electricity consumption data through the blockchain, separates the electricity users, regulators and data processors, and ensures the security and credibility of electricity consumption data and carbon emissions.

[0067] In one embodiment, the method also includes: determining electricity consumption value data corresponding to different electricity sources; for each electricity source, taking the product of the electricity consumption value data and the electricity consumption data of the electricity source as the electricity consumption resources of the electricity source; and taking the sum of the electricity consumption resources of all electricity sources as the electricity consumption resources of the electricity user.

[0068] Specifically, this embodiment can also determine the electricity consumption value data corresponding to different electricity sources; for each electricity source, determine the product between the electricity consumption value data and the electricity consumption data under the electricity source, and use the product as the electricity consumption resources of the electricity source; sum up the electricity consumption resources of all power sources to obtain the electricity consumption resources of the electricity user.

[0069] In one embodiment, the method further includes: uploading the electricity consumption resources of the electricity user to the blockchain, so that the regulator can supervise the issuance of supplementary resources corresponding to the electricity users whose electricity consumption compliance is compliant based on the electricity consumption resources.

[0070] Specifically, this embodiment can also use the AES encryption algorithm to calculate the electricity resource ciphertext of the electricity resource of the electricity user, store the electricity resource ciphertext and upload it to the blockchain; the regulator can obtain the electricity resources of each electricity user, and then determine the electricity compliance of each electricity user, and supervise the issuance of supplementary resources corresponding to the electricity users whose electricity compliance is compliant.

[0071] This embodiment determines the electricity value data corresponding to different electricity sources; for each electricity source, the product of the electricity value data and the electricity data of the electricity source is used as the electricity resource of the power source; the sum of the electricity resources of all electricity sources is used as the electricity resource of the electricity user. This embodiment can make the determined electricity resources safe and reliable.

[0072] In an exemplary embodiment, Figure 3 As shown, a method for determining carbon emissions is provided, which is applied to Figure 1 Taking the supervisor in as an example, the following steps 301 to 303 are included. Among them:

[0073] Step 301, obtaining the carbon emissions and electricity resources corresponding to different electricity users from the blockchain.

[0074] Among them, the AES symmetric keys saved by the regulator, data processor and electricity user, the regulator can query and download the ciphertext of electricity data, carbon emissions and electricity resources on the blockchain, and obtain electricity data, carbon emissions and electricity resources by calling the AES decryption algorithm.

[0075] Specifically, the regulator obtains the ciphertext of carbon emissions and electricity resources corresponding to different electricity users on the blockchain, and obtains the carbon emissions and electricity resources by calling the AES decryption algorithm.

[0076] Step 302: Determine the electricity compliance of each electricity user according to the carbon emissions corresponding to different electricity users and the preset carbon emission threshold of the corresponding electricity user.

[0077] Specifically, for each electricity user, the regulator calls the audit smart contract to conduct compliance checks based on the corresponding carbon emissions of the electricity user and generates an audit report. If there is an abnormality in electricity consumption or the carbon emissions are inconsistent with the electricity consumption data, a warning will be issued.

[0078] For example, if the relationship between the carbon emissions corresponding to the electricity user and the preset carbon emission threshold of the corresponding electricity user is determined, if the carbon emissions corresponding to the electricity user are greater than the preset carbon emission threshold of the corresponding electricity user, then it is proved that the electricity usage compliance of the electricity user is non-compliant; if the carbon emissions corresponding to the electricity user are not greater than the preset carbon emission threshold of the corresponding electricity user, then it is proved that the electricity usage compliance of the electricity user is compliant.

[0079] Step 303: for each electricity user whose electricity usage compliance is compliant, determine whether to issue supplementary resources to the electricity user according to the electricity resources corresponding to the electricity user.

[0080] In one embodiment, determining whether to issue supplementary resources to the electricity user is based on the electricity user's corresponding carbon emissions and electricity resources, including: obtaining an electricity resource threshold corresponding to the electricity user; and determining to issue supplementary resources to the electricity user when the electricity resources are greater than the electricity resource threshold.

[0081] Specifically, for each electricity user, the corresponding electricity resource threshold is determined; when the electricity resources are greater than the electricity resource threshold, it is determined that supplementary resources are to be issued to the electricity user; when the electricity resources are not greater than the electricity resource threshold, it is determined that there is no need to issue supplementary resources to the electricity user.

[0082] This embodiment obtains the carbon emissions and electricity resources corresponding to different electricity users from the blockchain; determines the electricity compliance of each electricity user based on the carbon emissions corresponding to different electricity users and the preset carbon emission threshold of the corresponding electricity user; for each electricity user with compliant electricity compliance, determines whether to issue supplementary resources to the electricity user based on the electricity resources corresponding to the electricity user. The blockchain realizes the credible recording and transparent management of carbon emissions and electricity resources, separates electricity users, regulators and data processors, and ensures the security and credibility of carbon emissions and electricity resources.

[0083] 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 does not have a strict order restriction, 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 to be 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.

[0084] Based on the same inventive concept, the embodiment of the present application also provides a carbon emission determination device for implementing the carbon emission determination method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more carbon emission determination device embodiments provided below can refer to the limitations of the carbon emission determination method above, and will not be repeated here.

[0085] In an exemplary embodiment, Figure 4 As shown, a carbon emission determination device is provided, comprising: a data acquisition module 10, an emission acquisition module 11 and a data transmission module 12, wherein:

[0086] The data acquisition module 10 is used to obtain the electricity consumption data corresponding to different electricity sources uploaded by the electricity user from the blockchain;

[0087] The emission acquisition module 11 is used to determine the carbon emissions of the electricity user based on the electricity consumption data of different electricity sources;

[0088] The data transmission module 12 is used to transmit the carbon emissions to the blockchain so that the regulator can judge whether to issue supplementary resources to the electricity users who comply with the electricity regulations based on the carbon emissions obtained from the blockchain.

[0089] In one embodiment, the emission acquisition module 11 is also used to determine the carbon emission weights corresponding to different electricity sources; the electricity sources include thermal power sources, wind power sources, photovoltaic sources and hydropower sources; for each electricity source, the product of the carbon emission weight of the electricity source and the electricity consumption data is used as the carbon emissions of the electricity source; the sum of the carbon emissions of all electricity sources is used as the carbon emissions of the electricity user.

[0090] In one embodiment, the carbon emission determination device also includes: a resource determination module, which is used to determine the electricity value data corresponding to different electricity sources; for each electricity source, the product of the electricity value data and the electricity data of the electricity source is used as the electricity resource of the electricity source; and the sum of the electricity resources of all electricity sources is used as the electricity resource of the electricity user.

[0091] In one embodiment, the resource determination module is also used to upload the electricity consumption resources of the electricity user to the blockchain, so that the regulator can supervise the issuance of supplementary resources corresponding to the electricity users with compliant electricity consumption based on the electricity consumption resources.

[0092] In an exemplary embodiment, Figure 5 As shown, a carbon emission determination device is provided, comprising: a data receiving module 20, a compliance determination module 21 and a release judgment module 22, wherein:

[0093] The data receiving module 20 is used to obtain the carbon emissions and electricity resources corresponding to different electricity users from the blockchain;

[0094] A compliance determination module 21 is used to determine the electricity compliance of each electricity user according to the carbon emissions corresponding to different electricity users and the preset carbon emission threshold of the corresponding electricity user;

[0095] The issuance judgment module 22 is used to determine whether to issue supplementary resources to each electricity user whose electricity usage compliance is compliant, based on the electricity resources corresponding to the electricity user.

[0096] In one embodiment, the issuance determination module 22 is further used to obtain the power resource threshold corresponding to the power user; when the power resource is greater than the power resource threshold, determine to issue supplementary resources to the power user.

[0097] Each module in the above-mentioned carbon emission determination device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0098] 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 6 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 data. 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 method for determining carbon emissions is implemented.

[0099] Those skilled in the art will understand that Figure 6 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.

[0100] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0101] Obtain electricity consumption data corresponding to different electricity sources uploaded by electricity users from the blockchain;

[0102] Determining the carbon emissions of the electricity user according to the electricity consumption data of the different electricity sources;

[0103] The carbon emissions are transmitted to the blockchain so that the regulator can judge whether to issue supplementary resources to electricity users who comply with electricity regulations based on the carbon emissions obtained from the blockchain.

[0104] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0105] Determine the carbon emission weights corresponding to different electricity sources; the electricity sources include thermal power sources, wind power sources, photovoltaic sources and hydropower sources;

[0106] For each electricity source, the product of the carbon emission weight of the electricity source and the electricity consumption data is used as the carbon emission of the electricity source;

[0107] The sum of the carbon emissions from all electricity sources is taken as the carbon emissions of the electricity user.

[0108] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0109] Determine the electricity value data corresponding to different electricity sources;

[0110] For each power source, the product of the power value data and the power data of the power source is used as the power resource of the power source;

[0111] The sum of the electricity consumption resources of all electricity sources is taken as the electricity consumption resources of the electricity user.

[0112] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0113] The electricity consumption resources of the electricity user are uploaded to the blockchain so that the supervisory party can supervise the issuance of supplementary resources corresponding to the electricity users whose electricity consumption compliance is compliant based on the electricity consumption resources.

[0114] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0115] Obtain the carbon emissions and electricity resources corresponding to different electricity users from the blockchain;

[0116] Determining the electricity compliance of each electricity user according to the carbon emissions corresponding to the different electricity users and the preset carbon emission thresholds of the corresponding electricity users;

[0117] For each electricity user whose electricity usage compliance is compliant, determine whether to issue supplementary resources to the electricity user based on the electricity resources corresponding to the electricity user.

[0118] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0119] Obtaining a power resource threshold corresponding to the power user;

[0120] In a case where the power consumption resources are greater than the power consumption resource threshold, it is determined to issue supplementary resources to the power user.

[0121] In one 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.

[0122] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0123] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0124] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods 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 this application can include at least one of non-volatile 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), magnetoresistive 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, etc., but are not limited to this.

[0125] 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 specification.

[0126] 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 method for determining carbon emissions, characterized in that: The method comprises: Obtain electricity consumption data corresponding to different electricity sources uploaded by electricity users from the blockchain; Determining the carbon emissions of the electricity user according to the electricity consumption data of the different electricity sources; The carbon emissions are transmitted to the blockchain so that the regulator can judge whether to issue supplementary resources to electricity users who comply with electricity regulations based on the carbon emissions obtained from the blockchain.

2. The method according to claim 1, characterized in that The determining the carbon emissions of the electricity user according to the electricity consumption data of the different electricity sources includes: Determine the carbon emission weights corresponding to different electricity sources; the electricity sources include thermal power sources, wind power sources, photovoltaic sources and hydropower sources; For each electricity source, the product of the carbon emission weight of the electricity source and the electricity consumption data is used as the carbon emission of the electricity source; The sum of the carbon emissions from all electricity sources is taken as the carbon emissions of the electricity user.

3. The method according to claim 1, characterized in that The method further comprises: Determine the electricity value data corresponding to different electricity sources; For each power source, the product of the power value data and the power data of the power source is used as the power resource of the power source; The sum of the electricity consumption resources of all electricity sources is taken as the electricity consumption resources of the electricity user.

4. The method according to claim 3, characterized in that: The method further comprises: The electricity consumption resources of the electricity user are uploaded to the blockchain so that the supervisory party can supervise the issuance of supplementary resources corresponding to the electricity users whose electricity consumption compliance is compliant based on the electricity consumption resources.

5. A method for determining carbon emissions, characterized in that: Applied to a regulator, the method comprises: Obtain the carbon emissions and electricity resources corresponding to different electricity users from the blockchain; Determining the electricity compliance of each electricity user according to the carbon emissions corresponding to the different electricity users and the preset carbon emission thresholds of the corresponding electricity users; For each electricity user whose electricity usage compliance is compliant, determine whether to issue supplementary resources to the electricity user based on the electricity resources corresponding to the electricity user.

6. The method according to claim 5, characterized in that The determining whether to issue supplementary resources to the electricity user according to the carbon emissions and electricity resources corresponding to the electricity user includes: Obtaining a power resource threshold corresponding to the power user; In a case where the power consumption resources are greater than the power consumption resource threshold, it is determined to issue supplementary resources to the power user.

7. A device for determining carbon emissions, characterized in that: Applied to a data processor, the device comprises: The data acquisition module is used to obtain the electricity consumption data corresponding to different electricity sources uploaded by the electricity user from the blockchain; An emission acquisition module, used to determine the carbon emissions of the electricity user according to the electricity consumption data of the different electricity sources; A data transmission module is used to transmit the carbon emissions to the blockchain so that the regulator can judge whether to issue supplementary resources to the electricity users who comply with the electricity regulations based on the carbon emissions obtained from the blockchain.

8. A device for determining carbon emissions, characterized in that: Applied to a supervisory party, the device comprises: The data receiving module is used to obtain the carbon emissions and electricity resources corresponding to different electricity users from the blockchain; A compliance determination module, used to determine the electricity compliance of each electricity user according to the carbon emissions corresponding to the different electricity users and the preset carbon emission threshold of the corresponding electricity user; The issuance judgment module is used to determine whether to issue supplementary resources to each electricity user whose electricity usage compliance is compliant, based on the electricity resources corresponding to the electricity user.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.