A carbon emission data processing system based on a charging network
Patent Information
- Application Number
- CN202410110371.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-25
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2044-01-25
AI Technical Summary
通过本发明可以解决目前大多数充电网络没有专用碳排放数据处理系统的问题,可以在充电网络运行过程中对其产生的碳排放量进行持续采集和跟踪
[0030] This invention provides a carbon emission data processing system based on a charging network, comprising: an authorization management module, multiple concentrators, multiple charging networks, multiple customer query terminals, and a carbon emission evidence blockchain. Each charging network includes one or more charging piles, each continuously metering its total electricity consumption and updating its total carbon emissions. Each concentrator corresponds one-to-one with a charging network, periodically collecting the total carbon emissions of all charging piles within the network and calculating the corresponding total network carbon emissions, which are then transmitted to the carbon emission evidence blockchain for storage. Customer query terminals assigned to different customers can obtain carbon emission information for each charging network by querying the carbon emission evidence blockchain. This invention solves the problem that most charging networks currently lack dedicated carbon emission data processing systems, enabling continuous collection and tracking of carbon emissions generated during network operation.
Smart Images

Figure CN117931949B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to a carbon emission data processing system based on a charging network. Background Technology
[0002] As a fundamental energy infrastructure for new energy vehicles, the carbon emissions generated during the operation of charging networks need to be continuously collected and accurately monitored. However, most charging networks currently lack dedicated carbon emission data processing systems and cannot collect targeted data, thus making accurate monitoring impossible. Summary of the Invention
[0003] The purpose of this invention is to address the shortcomings of existing technologies by providing a carbon emission data processing system based on charging networks. This system includes: an authorization management module, multiple concentrators, multiple charging networks, multiple customer query terminals, and a carbon emission verification blockchain. Each charging network comprises one or more charging piles, each continuously metering its total electricity consumption and updating its total carbon emissions. Each concentrator corresponds one-to-one with a charging network, periodically collecting the total carbon emissions of all charging piles within the network and calculating the corresponding total network carbon emissions, which are then transmitted to the carbon emission verification blockchain for verification. Customer query terminals assigned to different customers can obtain carbon emission information for each charging network by querying the carbon emission verification blockchain. This invention solves the problem that most charging networks currently lack dedicated carbon emission data processing systems, enabling continuous collection and tracking of carbon emissions generated during network operation.
[0004] To achieve the above objectives, embodiments of the present invention provide a carbon emission data processing system based on a charging network. The system includes: an authorization management module, multiple concentrators, multiple charging networks, multiple customer query terminals, and a carbon emission evidence storage blockchain.
[0005] The authorization management module is connected to each of the concentrators, each of the customer query terminals, and the carbon emission record blockchain; the access nodes of the carbon emission record blockchain include all the concentrators and all the customer query terminals; each concentrator is connected to a corresponding charging network; each charging network includes one or more charging piles; each charging network corresponds to a unique first network identifier; each customer query terminal corresponds to a first authorized customer; each first authorized customer corresponds to a unique first customer identifier.
[0006] The authorization management module is used to periodically update the first module public key and the first module private key stored internally, and send the latest first module public key to each of the concentrators and each of the client query terminals; the authorization management module is also used to update the first network detail list stored internally according to the first network public key update data sent by each of the concentrators; the authorization management module is also used to update the first customer detail list stored internally according to the first customer public key update data sent by each of the client query terminals;
[0007] Each concentrator is used to receive and store the latest public key of the first module; each concentrator is also used to periodically update the first network public key and the first network private key stored internally, and send a corresponding first network public key update data composed of the corresponding first network identifier and the latest first network public key to the authorization management module; each concentrator is also used to periodically send carbon emission query instructions to each charging pile of the corresponding charging network, and calculate the corresponding first network carbon emission total by summing the first pile carbon emission total returned by all the charging piles, and use the current time as the corresponding first timestamp, and perform evidence storage data encapsulation processing based on the first network identifier, the first timestamp, the first network carbon emission total, the first network private key and the first module public key to obtain the corresponding first evidence storage data and send it to the carbon emission evidence storage blockchain;
[0008] Each of the charging piles is used to track and measure its own total electricity consumption and continuously update the first total electricity consumption stored internally based on the measurement results; each of the charging piles is also used to calculate the total carbon emissions of the first charging pile based on the preset three-level electricity-carbon conversion coefficient and the latest first total electricity consumption when it receives the carbon emission query instruction, and send the corresponding total carbon emissions of the first charging pile back to the corresponding concentrator.
[0009] Each client query terminal is used to receive and store the first module's public key; each client query terminal is also used to periodically update the first client public key and the first client private key stored internally, and send corresponding first client public key update data composed of the corresponding first client identifier and the latest first client public key to the authorization management module; each client query terminal is also used to receive the first query client identifier and the first blockchain query instruction input by the client, and encapsulate the query data according to the first query client identifier, the first blockchain query instruction, the first client private key and the first module public key to obtain the corresponding first query data and send it to the carbon emission evidence storage blockchain, and parse the first query feedback data sent back by the carbon emission evidence storage blockchain according to the first client private key and the first module public key to obtain the corresponding first query plaintext and display it;
[0010] The carbon emission evidence storage blockchain is used to create evidence storage blocks based on the first evidence storage data and the authorization management module when the first evidence storage data is received; the carbon emission evidence storage blockchain is also used to query the evidence storage blocks based on the first query data and the authorization management module when the first query data is received to obtain the corresponding first query feedback data and send it back to the corresponding client query terminal.
[0011] Preferably, the first network detail list includes multiple first network detail records; the first network detail record includes a first network identifier field, a first network name field, a first home customer identifier field, a first authorized customer set field, and a first network public key field; the first network detail record corresponds one-to-one with the charging network; when the first authorized customer set field is not empty, it consists of one or more first authorized customer identifiers;
[0012] The first customer details list includes multiple first customer details records; each first customer details record includes a first customer identifier field, a first customer name field, a first customer basic information field, and a first customer public key field.
[0013] The three-level electro-carbon conversion coefficient includes a regional coefficient a1, a network coefficient a2, and a charging pile coefficient a3;
[0014] The first evidence storage data includes the first network identifier, the first evidence storage ciphertext, and the first evidence storage signature;
[0015] The first query data includes the first query customer identifier, the first query ciphertext, and the first query signature;
[0016] The first query feedback data includes the first query customer identifier, the first feedback encrypted text, and the first feedback signature.
[0017] Preferably, the authorization management module is specifically used to, when updating the internally stored first network detail list according to the first network public key update data sent by each of the concentrators, extract the corresponding first network identifier and first network public key from the first network public key update data received at this time as the corresponding current network identifier and current network public key; and update the first network public key field of the first network detail record in the first network detail list that matches the current network identifier to the corresponding current network public key.
[0018] Preferably, the authorization management module is specifically used to, when updating the internally stored first customer detail list according to the first customer public key update data sent by each of the customer query terminals, extract the corresponding first customer identifier and first customer public key from the first customer public key update data received at that time as the corresponding current customer identifier and current customer public key; and update the first customer public key field of the first customer detail record in the first customer detail list that matches the current customer identifier to the corresponding current customer public key.
[0019] Preferably, the concentrator is specifically used to send the corresponding first evidence data obtained by encapsulating the evidence data based on the first network identifier, the first timestamp, the total carbon emissions of the first network, the first network private key, and the first module public key to the carbon emission evidence blockchain. Specifically, when the first evidence data is sent to the carbon emission evidence blockchain, the first timestamp and the total carbon emissions of the first network constitute the corresponding first plaintext; the first network private key is used to encrypt the first plaintext, and the encryption result is used as the corresponding first evidence ciphertext; a hash calculation is performed on the first plaintext based on a specified first hash algorithm to obtain the corresponding first hash code; the first module public key is used to encrypt the first hash code, and the encryption result is used as the corresponding first evidence signature; and the first network identifier, the first evidence ciphertext, and the first evidence signature constitute the corresponding first evidence data, which is then sent to the carbon emission evidence blockchain.
[0020] Preferably, the charging pile is specifically used to calculate the corresponding carbon conversion factor A based on the regional coefficient a1, network coefficient a2, and charging pile coefficient a3 of the three-level carbon conversion coefficient when the carbon emission total of the first charging pile is calculated based on the preset three-level carbon conversion coefficient and the latest first total electricity consumption and sent back to the corresponding concentrator. 1≤i≤3, w i=1 w i=2 w i=3 The three preset weighting parameters are used; and the product of the carbon conversion factor A and the first total electricity consumption is sent back to the corresponding concentrator as the total carbon emissions of the first electric pile.
[0021] Preferably, the client query terminal is specifically used to send the first query data obtained by encapsulating the query data according to the first query client identifier, the first blockchain query instruction, the first client private key, and the first module public key to the carbon emission evidence storage blockchain. Specifically, the first blockchain query instruction serves as the corresponding second plaintext; the first client private key encrypts the second plaintext and uses the encryption result as the corresponding first query ciphertext; a hash calculation is performed on the second plaintext based on a specified first hash algorithm to obtain the corresponding second hash code; the first module public key encrypts the second hash code and uses the encryption result as the corresponding first query signature; and the first query client identifier, the first query ciphertext, and the first query signature together form the corresponding first query data, which is then sent to the carbon emission evidence storage blockchain.
[0022] Preferably, the client query terminal is specifically configured to, when parsing and processing the first query feedback data sent back from the carbon emission evidence storage blockchain according to the first client private key and the first module public key to obtain and display the corresponding first query plaintext, extract the corresponding first query client identifier, the first feedback ciphertext, and the first feedback signature from the first query feedback data as the corresponding current query client identifier, current feedback ciphertext, and current feedback signature; and when the current query client identifier matches its own corresponding first client identifier, decrypt the current feedback ciphertext based on the first client private key and use the decryption result as the corresponding first decrypted plaintext; and decrypt the current feedback signature based on the first module public key and use the decryption result as the corresponding second decrypted plaintext; and perform hash calculation on the first decrypted plaintext based on a specified first hash algorithm to obtain the corresponding third hash code; and when the third hash code matches the second decrypted plaintext, use the first decrypted plaintext as the corresponding first query plaintext and display it.
[0023] Preferably, the carbon emission evidence storage blockchain is specifically used to: extract the corresponding first network identifier, first evidence storage ciphertext, and first evidence storage signature from the first evidence storage data when performing evidence storage block creation processing based on the first evidence storage data and the authorization management module; send a first evidence storage processing application carrying the first network identifier and the first evidence storage signature to the authorization management module; receive the first signature plaintext and the second network public key returned by the authorization management module; when neither the first signature plaintext nor the second network public key is empty, decrypt the first evidence storage ciphertext based on the second network public key and use the decryption result as the corresponding third decrypted plaintext; perform hash calculation on the third decrypted plaintext based on a specified first hash algorithm to obtain the corresponding fourth hash code; when the fourth hash code matches the first signature plaintext, extract the corresponding first timestamp and the first network carbon emission total from the third decrypted plaintext; and generate a new evidence storage block based on the first network identifier, the first timestamp, and the first network carbon emission total and perform the corresponding block on-chain operation.
[0024] Preferably, the authorization management module is further configured to, upon receiving the first evidence processing application sent by the carbon emission evidence storage blockchain, extract the corresponding first network identifier and the first evidence signature as the corresponding current network identifier and current evidence signature; record the first network detail record in the first network detail list whose first network identifier field matches the current network identifier as the corresponding current matching record; and identify whether the current matching record is empty; if the current matching record is empty, set the corresponding first signature plaintext and the second network public key to empty; if the current matching record is not empty, extract the first network public key field of the current matching record as the corresponding second network public key, and decrypt the current evidence signature using the first module private key and use the decryption result as the corresponding first signature plaintext; and send the first signature plaintext and the second network public key obtained this time back to the carbon emission evidence storage blockchain.
[0025] Preferably, the carbon emission evidence storage blockchain is specifically used to extract the corresponding first query customer identifier, the first query ciphertext, and the first query signature from the first query data when the first query feedback data is obtained by performing evidence storage block query processing based on the first query data and the authorization management module and sent back to the corresponding customer query terminal.
[0026] The system sends a first query processing application carrying the first query customer identifier and the first query signature to the authorization management module; receives the second signature plaintext and the second customer public key returned by the authorization management module; and when neither the second signature plaintext nor the second customer public key is empty, decrypts the first query ciphertext based on the second customer public key and uses the decryption result as the corresponding fourth decrypted plaintext; performs a hash calculation on the fourth decrypted plaintext based on a specified first hash algorithm to obtain the corresponding fifth hash code; and when the fifth hash code matches the second signature plaintext, uses the fourth decrypted plaintext as the corresponding first blockchain query instruction.
[0027] When the first blockchain query instruction is not empty, the corresponding blockchain query operation is executed based on the first blockchain query instruction to obtain the corresponding first query result; the first query result is used as the corresponding first query plaintext; the first query plaintext is encrypted using the second client public key and the encryption result is used as the corresponding first feedback ciphertext; the first query plaintext is hashed based on the specified first hash algorithm to obtain the corresponding sixth hash code; the first signature processing application carrying the sixth hash code is sent to the authorization management module; the first feedback signature sent back by the authorization management module is received; and the first query feedback data composed of the first query client identifier, the first feedback ciphertext, and the first feedback signature is sent back to the corresponding client query terminal.
[0028] Preferably, the authorization management module is further configured to, upon receiving the first query processing application sent by the carbon emission evidence storage blockchain, extract the corresponding first query customer identifier and the first query signature as the corresponding current customer identifier and current query signature; record the first customer detail record in the first customer detail list that matches the first customer identifier field with the current customer identifier as the corresponding current matching record; and identify whether the current matching record is empty; if the current matching record is empty, set the corresponding second signature plaintext and the second customer public key to empty; if the current matching record is not empty, extract the first customer public key field of the current matching record as the corresponding second customer public key, and decrypt the current query signature using the first module private key and use the decryption result as the corresponding second signature plaintext; and send the obtained second signature plaintext and the second customer public key back to the carbon emission evidence storage blockchain.
[0029] Preferably, the authorization management module is further configured to extract the corresponding sixth hash code from the first signature processing application sent by the carbon emission evidence storage blockchain when it receives the first signature processing application; and encrypt the sixth hash code based on the first module private key and send the encryption result back to the carbon emission evidence storage blockchain as the corresponding first feedback signature.
[0030] This invention provides a carbon emission data processing system based on a charging network, comprising: an authorization management module, multiple concentrators, multiple charging networks, multiple customer query terminals, and a carbon emission evidence blockchain. Each charging network includes one or more charging piles, each continuously metering its total electricity consumption and updating its total carbon emissions. Each concentrator corresponds one-to-one with a charging network, periodically collecting the total carbon emissions of all charging piles within the network and calculating the corresponding total network carbon emissions, which are then transmitted to the carbon emission evidence blockchain for storage. Customer query terminals assigned to different customers can obtain carbon emission information for each charging network by querying the carbon emission evidence blockchain. This invention solves the problem that most charging networks currently lack dedicated carbon emission data processing systems, enabling continuous collection and tracking of carbon emissions generated during network operation. Attached Figure Description
[0031] Figure 1 This is a schematic diagram of a carbon emission data processing system based on a charging network, provided as an embodiment of the present invention. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0033] This invention provides a carbon emission data processing system based on a charging network 3, such as... Figure 1 The schematic diagram of a carbon emission data processing system based on a charging network provided in an embodiment of the present invention is shown. The system mainly includes: an authorization management module 1, multiple concentrators 2, multiple charging networks 3, multiple customer query terminals 4, and a carbon emission evidence storage blockchain 5.
[0034] like Figure 1The connection relationships between the modules of this system are as follows: the authorization management module 1 is connected to each concentrator 2, each customer query terminal 4, and the carbon emission record blockchain 5; the access nodes of the carbon emission record blockchain 5 include all concentrators 2 and all customer query terminals 4; each concentrator 2 is connected to a corresponding charging network 3; each charging network 3 includes one or more charging piles 31; each charging network 3 corresponds to a unique first network identifier; each customer query terminal 4 corresponds to a first authorized customer; each first authorized customer corresponds to a unique first customer identifier.
[0035] Here, the authorization management module 1 in this embodiment of the invention is a device, terminal device, server, or system capable of implementing the corresponding operation steps in this embodiment of the invention, or it can be a service interface, server, or cloud platform capable of implementing the corresponding operation steps in this embodiment of the invention; the concentrator 2 in this embodiment of the invention is a device, terminal device, server, system, or platform for implementing the corresponding operation steps in this embodiment of the invention, or it can be a smart meter in the power grid capable of implementing the corresponding operation steps in this embodiment of the invention; the customer query terminal 4 in this embodiment of the invention is a client program, device, terminal device, server, or system capable of implementing the corresponding operation steps in this embodiment of the invention; and the carbon emission evidence storage blockchain 5 in this embodiment of the invention is a blockchain processing device, server, system, or platform capable of implementing the corresponding operation steps in this embodiment of the invention.
[0036] (I) Authorization Management Module 1:
[0037] The authorization management module 1 is used to periodically update the first module public key and the first module private key stored internally, and send the latest first module public key to each concentrator 2 and each client query terminal 4.
[0038] The authorization management module 1 is also used to update the first network details list stored internally based on the first network public key update data sent by each concentrator 2;
[0039] The first network details list includes multiple first network details records; each first network details record includes a first network identifier field, a first network name field, a first home customer identifier field, a first authorized customer set field, and a first network public key field; each first network details record corresponds one-to-one with charging network 3; when the first authorized customer set field is not empty, it consists of one or more first authorized customer identifiers.
[0040] Here, each first network detail record corresponds to a charging network 3; the first network identifier field is the first network identifier of the corresponding charging network, and the first network name field is the name of the corresponding charging network; each charging network 3 has an owner (individual or organization), and each charging network owner is considered a first authorized customer, so the first owner customer identifier field is the first authorized customer of the corresponding charging network owner; the carbon emission data of each charging network can be queried not only by the owner, but also by one or more other authorized customers, and the first authorized customer set field stores the first customer identifiers of all authorized first authorized customers; the first network public key field is the latest public key published by the collector 2 connected to the corresponding charging network.
[0041] The authorization management module 1 is also used to update the internally stored first customer details list based on the first customer public key update data sent by each customer query terminal 4;
[0042] The first customer details list includes multiple first customer details records; each first customer details record includes a first customer identifier field, a first customer name field, a first customer basic information field, and a first customer public key field.
[0043] Here, the first customer detail record corresponds one-to-one with customer query terminal 4, that is, one-to-one with the first authorized customer. The first customer identifier field is the first customer identifier of the corresponding customer; the first customer name field is the name of the corresponding customer; the first customer basic information field is a series of basic information of the corresponding customer, such as address, business registration information, contact person, contact information, etc.; the first customer public key field is the latest public key published by customer query terminal 4 of the corresponding customer.
[0044] The authorization management module 1 is also used to extract the corresponding first network identifier and first evidence signature as the corresponding current network identifier and current evidence signature when it receives the first evidence processing application sent by the carbon emission evidence storage blockchain 5; and to record the first network detail record in the first network detail list that matches the current network identifier as the corresponding current matching record; and to identify whether the current matching record is empty; if the current matching record is empty, then the corresponding first signature plaintext and second network public key are both set to empty; if the current matching record is not empty, then the first network public key field of the current matching record is extracted as the corresponding second network public key, and the first module private key is used to decrypt the current evidence signature and the decryption result is used as the corresponding first signature plaintext; and the first signature plaintext and second network public key obtained this time are sent back to the carbon emission evidence storage blockchain 5; wherein, the first evidence processing application carries the first network identifier and the first evidence signature.
[0045] The authorization management module 1 is also used to extract the corresponding first query customer identifier and first query signature as the corresponding current customer identifier and current query signature when it receives the first query processing application sent by the carbon emission evidence storage blockchain 5; and to record the first customer detail record in the first customer detail list whose first customer identifier field matches the current customer identifier as the corresponding current matching record; and to identify whether the current matching record is empty; if the current matching record is empty, then the corresponding second signature plaintext and second customer public key are both set to empty; if the current matching record is not empty, then the first customer public key field of the current matching record is extracted as the corresponding second customer public key, and the first module private key is used to decrypt the current query signature and the decryption result is used as the corresponding second signature plaintext; and the second signature plaintext and second customer public key obtained this time are sent back to the carbon emission evidence storage blockchain 5; wherein, the first query processing application carries the first query customer identifier and first query signature.
[0046] The authorization management module 1 is also used to extract the corresponding sixth hash code from the first signature processing application sent by the carbon emission evidence storage blockchain 5 when it receives the first signature processing application; and to encrypt the sixth hash code based on the private key of the first module and send the encryption result back to the carbon emission evidence storage blockchain 5 as the corresponding first feedback signature; wherein the first signature processing application carries the sixth hash code.
[0047] The authorization management module 1 is also used to extract the corresponding first query customer identifier and first query network identifier set when receiving the first authorization verification application sent by the carbon emission evidence storage blockchain 5; to traverse the first query network identifiers in the first query network identifier set; and during the traversal, to take the currently traversed first query network identifier as the corresponding current network identifier; and to take the first network detail record in the first network detail list that matches the current network identifier as the corresponding current matching record; and to identify whether the current matching record is empty; if the current matching record is empty, to set the corresponding first check status to failure; if the current matching record is not empty, to confirm whether there is a customer identifier matching the first query customer identifier in the first owner customer identifier field and the first authorized customer set field of the current matching record; if it is confirmed to exist, to set the corresponding first check status to success; if it is confirmed not to exist, to set the corresponding first check status to failure; and at the end of the traversal, to identify whether all the obtained first check statuses are successful; if so, to set the corresponding first verification result to authorized; otherwise, to set the corresponding first verification result to unauthorized; and to send the obtained first verification result back to the carbon emission evidence storage blockchain 5.
[0048] In a specific implementation of this invention, the authorization management module 1 is specifically used to, when updating the internally stored first network detail list according to the first network public key update data sent by each concentrator 2, extract the corresponding first network identifier and first network public key from the first network public key update data received at the current time as the corresponding current network identifier and current network public key; and update the first network public key field of the first network detail record in the first network detail list that matches the current network identifier to the corresponding current network public key; wherein, the first network public key update data includes the first network identifier and the first network public key.
[0049] In another specific implementation of this invention, the authorization management module 1 is specifically used to, when updating the internally stored first customer detail list according to the first customer public key update data sent by each customer query terminal 4, extract the corresponding first customer identifier and first customer public key from the first customer public key update data received at the current time as the corresponding current customer identifier and current customer public key; and update the first customer public key field of the first customer detail record in the first customer detail list that matches the current customer identifier to the corresponding current customer public key; wherein, the first customer public key update data includes the first customer identifier and the first customer public key.
[0050] (II) Concentrator 2:
[0051] Each concentrator 2 is used to receive and store the latest public key of the first module.
[0052] Each concentrator 2 is also used to periodically update the first network public key and the first network private key stored internally, and send a corresponding first network public key update data consisting of the corresponding first network identifier and the latest first network public key to the authorization management module 1.
[0053] Each concentrator 2 is also used to periodically send carbon emission query instructions to each charging pile 31 of the corresponding charging network 3, and to sum up the total carbon emissions of the first charging pile sent back by all charging piles 31 to obtain the corresponding total carbon emissions of the first network, and to use the current time as the corresponding first timestamp, and to encapsulate the evidence data based on the first network identifier, the first timestamp, the total carbon emissions of the first network, the first network private key and the first module public key to obtain the corresponding first evidence data and send it to the carbon emission evidence blockchain 5;
[0054] The first evidence storage data includes a first network identifier, a first evidence storage ciphertext, and a first evidence storage signature.
[0055] In another specific implementation of this invention, the concentrator 2 is specifically used to send the corresponding first evidence-stored data to the carbon emission evidence-stored blockchain 5 when the evidence-stored data is encapsulated based on the first network identifier, the first timestamp, the first network carbon emission total, the first network private key, and the first module public key. Specifically, the first plaintext is composed of the first timestamp and the first network carbon emission total; the first plaintext is encrypted using the first network private key, and the encryption result is used as the corresponding first evidence-stored ciphertext; the first plaintext is hashed using a specified first hash algorithm to obtain the corresponding first hash code; the first hash code is encrypted using the first module public key, and the encryption result is used as the corresponding first evidence-stored signature; and the corresponding first evidence-stored data, composed of the first network identifier, the first evidence-stored ciphertext, and the first evidence-stored signature, is sent to the carbon emission evidence-stored blockchain 5.
[0056] (III) Charging Network 3:
[0057] Each charging pile 31 is used to track and measure its own total power consumption and continuously update the first total power consumption stored internally based on the measurement results.
[0058] Each charging pile 31 is also used to calculate the total carbon emissions of the first charging pile based on the preset three-level electric carbon conversion coefficient and the latest first total electricity consumption when a carbon emission query command is received, and then send the total carbon emissions of the first charging pile back to the corresponding concentrator 2.
[0059] The three-level electro-carbon conversion coefficients include the regional coefficient a1, the network coefficient a2, and the electric pile coefficient a3.
[0060] In another specific implementation of this invention, the charging pile 31 is specifically used to calculate the corresponding carbon conversion factor A based on the regional coefficient a1, network coefficient a2, and charging pile coefficient a3 of the three-level carbon conversion coefficient when the carbon emission total is calculated based on the preset three-level carbon conversion coefficient and the latest first total electricity consumption and transmitted back to the corresponding concentrator 2. 1≤i≤3, w i=1 w i=2 w i=3 The three preset weight parameters are used; and the product of the carbon conversion factor A and the first total electricity consumption is used as the corresponding first pile carbon emission total and sent back to the corresponding concentrator 2.
[0061] Here, in this embodiment of the invention, the carbon conversion factor A is calculated by weighted summation of the three-level carbon conversion coefficients, which can be used to customize the conversion factor for charging piles 31 of different equipment types in different charging networks in different regions (or areas).
[0062] (iv) Customer Inquiry Terminal 4:
[0063] Each client query terminal 4 is used to receive and save the public key of the first module.
[0064] Each client query terminal 4 is also used to periodically update the first client public key and the first client private key stored internally, and send a corresponding first client public key update data consisting of the corresponding first client identifier and the latest first client public key to the authorization management module 1.
[0065] Each customer query terminal 4 is also used to receive the first query customer identifier and the first blockchain query instruction input by the customer, and encapsulate the query data according to the first query customer identifier, the first blockchain query instruction, the first customer private key and the first module public key to obtain the corresponding first query data and send it to the carbon emission storage blockchain 5. It also parses the first query feedback data sent back by the carbon emission storage blockchain 5 according to the first customer private key and the first module public key to obtain the corresponding first query plaintext and display it.
[0066] The first query data includes the first query customer identifier, the first query encrypted text, and the first query signature; the first query feedback data includes the first query customer identifier, the first feedback encrypted text, and the first feedback signature.
[0067] In another specific implementation of this invention, the client query terminal 4 is specifically used to send the corresponding first query data to the carbon emission evidence storage blockchain 5 after processing the query data encapsulation based on the first query client identifier, the first blockchain query instruction, the first client private key, and the first module public key. Specifically, the first blockchain query instruction serves as the corresponding second plaintext; the first client private key encrypts the second plaintext and uses the encryption result as the corresponding first query ciphertext; the second plaintext is hashed based on a specified first hash algorithm to obtain the corresponding second hash code; the first module public key encrypts the second hash code and uses the encryption result as the corresponding first query signature; and the first query client identifier, the first query ciphertext, and the first query signature together form the corresponding first query data, which is then sent to the carbon emission evidence storage blockchain 5.
[0068] In another specific implementation of this invention, the client query terminal 4 is specifically used to, when parsing and processing the first query feedback data sent back by the carbon emission evidence storage blockchain 5 according to the first client private key and the first module public key to obtain and display the corresponding first query plaintext, extract the corresponding first query client identifier, first feedback ciphertext, and first feedback signature from the first query feedback data as the corresponding current query client identifier, current feedback ciphertext, and current feedback signature; and when the current query client identifier matches its own corresponding first client identifier, decrypt the current feedback ciphertext based on the first client private key and use the decryption result as the corresponding first decrypted plaintext; and decrypt the current feedback signature based on the first module public key and use the decryption result as the corresponding second decrypted plaintext; and perform hash calculation on the first decrypted plaintext based on the specified first hash algorithm to obtain the corresponding third hash code; and when the third hash code matches the second decrypted plaintext, use the first decrypted plaintext as the corresponding first query plaintext and display it.
[0069] (V) Blockchain 5 for Carbon Emission Evidence Recording:
[0070] The carbon emission evidence storage blockchain 5 is used to create evidence storage blocks based on the first evidence storage data and the authorization management module 1 when the first evidence storage data is received.
[0071] The carbon emission evidence storage blockchain 5 is also used to process the evidence storage block query based on the first query data and the authorization management module 1 when the first query data is received, and then send the corresponding first query feedback data back to the corresponding client query terminal 4.
[0072] In another specific implementation of this invention, the carbon emission evidence storage blockchain 5 is specifically used to extract the corresponding first network identifier, first evidence storage ciphertext, and first evidence storage signature from the first evidence storage data when performing evidence storage block creation processing based on the first evidence storage data and the authorization management module 1; send the first evidence storage processing application carrying the first network identifier and the first evidence storage signature to the authorization management module 1; receive the first signature plaintext and the second network public key returned by the authorization management module 1; when the first signature plaintext and the second network public key are not empty, decrypt the first evidence storage ciphertext based on the second network public key and use the decryption result as the corresponding third decrypted plaintext; perform hash calculation on the third decrypted plaintext based on the specified first hash algorithm to obtain the corresponding fourth hash code; when the fourth hash code matches the first signature plaintext, extract the corresponding first timestamp and the first network carbon emission total from the third decrypted plaintext; and generate a new evidence storage block based on the first network identifier, the first timestamp, and the first network carbon emission total and perform the corresponding block on-chain operation.
[0073] Here, the carbon emission evidence storage blockchain 5 of this invention can be implemented based on various commonly used blockchain specifications, the most common being the Ethereum blockchain specification. These commonly used blockchain specifications all provide standard block on-chain operation interfaces, which will not be elaborated here. However, the data formats of the corresponding block headers and block bodies also differ depending on the blockchain specification used. Therefore, the specific positions of the first network identifier, first timestamp, and first network carbon emission total in the block header and / or block body for each on-chain operation depend on the specific blockchain specification used and can be configured according to the specific implementation. If it is the Ethereum blockchain specification, the first network identifier and first timestamp will be placed in the block header, while the first network carbon emission total will be placed in the block body.
[0074] In another specific implementation of this invention, the carbon emission evidence storage blockchain 5 is specifically used to extract the corresponding first query customer identifier, first query ciphertext and first query signature from the first query data when the corresponding first query feedback data is obtained by performing evidence storage block query processing based on the first query data and the authorization management module 1 and sent back to the corresponding customer query terminal 4.
[0075] The system sends a first query processing application, carrying the first query client identifier and the first query signature, to the authorization management module 1; receives the second signature plaintext and the second client public key returned by the authorization management module 1; and when both the second signature plaintext and the second client public key are not empty, it decrypts the first query ciphertext based on the second client public key and uses the decryption result as the corresponding fourth decrypted plaintext; it performs a hash calculation on the fourth decrypted plaintext based on the specified first hash algorithm to obtain the corresponding fifth hash code; and when the fifth hash code matches the second signature plaintext, it uses the fourth decrypted plaintext as the corresponding first blockchain query instruction.
[0076] When the first blockchain query instruction is not empty, the corresponding blockchain query operation is executed based on the first blockchain query instruction to obtain the corresponding first query result; the first query result is used as the corresponding first query plaintext; the first query plaintext is encrypted with the second client public key and the encryption result is used as the corresponding first feedback ciphertext; the first query plaintext is hashed based on the specified first hash algorithm to obtain the corresponding sixth hash code; the first signature processing application carrying the sixth hash code is sent to the authorization management module 1; the first feedback signature sent back by the authorization management module 1 is received; and the first query customer identifier, the first feedback ciphertext and the first feedback signature are combined to form the corresponding first query feedback data and sent back to the corresponding client query terminal 4.
[0077] Here, the first blockchain query instruction in this embodiment of the invention includes a first query network identifier set, a first query type, and a first query parameter; the first query network identifier set includes multiple first query network identifiers; the first query type includes at least a first type and a second type; when the first query type is the first type, the corresponding first query parameter is empty; when the first query type is the second type, the corresponding first query parameter is a specified time period.
[0078] In another specific implementation of this invention, the carbon emission evidence storage blockchain 5 is specifically used to extract the corresponding first query network identifier set, first query type, and first query parameters from the first blockchain query instruction when the corresponding blockchain query operation is executed based on the first blockchain query instruction to obtain the corresponding first query result; and to send the first permission verification application carrying the first query customer identifier and the first query network identifier set to the authorization management module 1; and to receive the first verification result returned by the authorization management module 1; and to identify the first verification result; if the first verification result is no permission, then the corresponding first query result is set to a preset query permission not satisfied prompt message; if the first verification result is authorized, then the first query type is identified; if the first query type is a first type, then the evidence storage blocks on the blockchain corresponding to each first query network identifier of the first query network identifier set and with the latest on-chain time are extracted to form the corresponding first query result; if the first query type is a second type, then the evidence storage blocks on the blockchain corresponding to each first query network identifier of the first query network identifier set and with the on-chain time satisfying the first query parameters within a specified period are extracted to form the corresponding first query result; wherein, the first verification result includes authorized and unauthorized.
[0079] In summary, this invention provides a carbon emission data processing system based on a charging network, comprising: an authorization management module, multiple concentrators, multiple charging networks, multiple customer query terminals, and a carbon emission evidence blockchain. Each charging network includes one or more charging piles, each continuously measuring its total electricity consumption and updating its total carbon emissions. Each concentrator corresponds one-to-one with a charging network, periodically collecting the total carbon emissions of all charging piles within the network and calculating the corresponding total network carbon emissions, which are then transmitted to the carbon emission evidence blockchain for storage. Customer query terminals assigned to different customers can obtain carbon emission information for each charging network by querying the carbon emission evidence blockchain. This invention solves the problem that most charging networks currently lack dedicated carbon emission data processing systems, enabling continuous collection and tracking of carbon emissions generated during network operation.
[0080] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0081] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A carbon emission data processing system based on a charging network, characterized in that, The system includes: an authorization management module, multiple concentrators, multiple charging networks, multiple customer query terminals, and a carbon emission record-keeping blockchain; The authorization management module is connected to each of the concentrators, each of the customer query terminals, and the carbon emission record blockchain; the access nodes of the carbon emission record blockchain include all the concentrators and all the customer query terminals; each concentrator is connected to a corresponding charging network; each charging network includes one or more charging piles; each charging network corresponds to a unique first network identifier; each customer query terminal corresponds to a first authorized customer; each first authorized customer corresponds to a unique first customer identifier. The authorization management module is used to periodically update the first module public key and the first module private key stored internally, and send the latest first module public key to each of the concentrators and each of the client query terminals; the authorization management module is also used to update the first network detail list stored internally according to the first network public key update data sent by each of the concentrators; the authorization management module is also used to update the first customer detail list stored internally according to the first customer public key update data sent by each of the client query terminals; Each concentrator is used to receive and store the latest public key of the first module; each concentrator is also used to periodically update the first network public key and the first network private key stored internally, and send a corresponding first network public key update data composed of the corresponding first network identifier and the latest first network public key to the authorization management module; each concentrator is also used to periodically send carbon emission query instructions to each charging pile of the corresponding charging network, and calculate the corresponding first network carbon emission total by summing the first pile carbon emission total returned by all the charging piles, and use the current time as the corresponding first timestamp, and perform evidence storage data encapsulation processing based on the first network identifier, the first timestamp, the first network carbon emission total, the first network private key and the first module public key to obtain the corresponding first evidence storage data and send it to the carbon emission evidence storage blockchain; Each charging pile is used to track and measure its own total electricity consumption and continuously update the first total electricity consumption stored internally based on the measurement results; each charging pile is also used to calculate the corresponding total carbon emission of the first charging pile based on the preset three-level electricity-carbon conversion coefficient and the latest first total electricity consumption when it receives the carbon emission query command, and send it back to the corresponding concentrator; wherein, the three-level electricity-carbon conversion coefficient includes a regional coefficient a1, a network coefficient a2 and a charging pile coefficient a3. Each client query terminal is used to receive and store the first module's public key; each client query terminal is also used to periodically update the first client public key and the first client private key stored internally, and send corresponding first client public key update data composed of the corresponding first client identifier and the latest first client public key to the authorization management module; each client query terminal is also used to receive the first query client identifier and the first blockchain query instruction input by the client, and encapsulate the query data according to the first query client identifier, the first blockchain query instruction, the first client private key and the first module public key to obtain the corresponding first query data and send it to the carbon emission evidence storage blockchain, and parse the first query feedback data sent back by the carbon emission evidence storage blockchain according to the first client private key and the first module public key to obtain the corresponding first query plaintext and display it; The carbon emission evidence storage blockchain is used to create evidence storage blocks based on the first evidence storage data and the authorization management module when the first evidence storage data is received; the carbon emission evidence storage blockchain is also used to query the evidence storage blocks based on the first query data and the authorization management module when the first query data is received to obtain the corresponding first query feedback data and send it back to the corresponding client query terminal.
2. The carbon emission data processing system based on a charging network according to claim 1, characterized in that, The first network detail list includes multiple first network detail records; each first network detail record includes a first network identifier field, a first network name field, a first home customer identifier field, a first authorized customer set field, and a first network public key field; each first network detail record corresponds one-to-one with the charging network; when the first authorized customer set field is not empty, it consists of one or more first authorized customer identifiers; The first customer details list includes multiple first customer details records; each first customer details record includes a first customer identifier field, a first customer name field, a first customer basic information field, and a first customer public key field. The first evidence storage data includes the first network identifier, the first evidence storage ciphertext, and the first evidence storage signature; The first query data includes the first query customer identifier, the first query ciphertext, and the first query signature; The first query feedback data includes the first query customer identifier, the first feedback encrypted text, and the first feedback signature.
3. The carbon emission data processing system based on a charging network according to claim 2, characterized in that, The authorization management module is specifically used to extract the corresponding first network identifier and first network public key from the first network public key update data received at the current time as the corresponding current network identifier and current network public key when updating the first network detail list stored internally according to the first network public key update data sent by each of the concentrators. Then, update the first network public key field of the first network detail record that matches the first network identifier field in the first network detail list with the current network identifier to the corresponding current network public key.
4. The carbon emission data processing system based on a charging network according to claim 2, characterized in that, The authorization management module is specifically used to extract the corresponding first customer identifier and first customer public key from the first customer public key update data received at the current time as the corresponding current customer identifier and current customer public key when updating the first customer detail list stored internally according to the first customer public key update data sent by each of the customer query terminals. Then, update the first customer public key field of the first customer detail record that matches the first customer identifier field in the first customer detail list to the corresponding current customer public key.
5. The carbon emission data processing system based on a charging network according to claim 2, characterized in that, The concentrator is specifically used to send the first evidence data obtained by encapsulating the evidence data based on the first network identifier, the first timestamp, the total carbon emissions of the first network, the first network private key, and the first module public key to the carbon emission evidence blockchain. The first plaintext is composed of the first timestamp and the total carbon emissions of the first network. The first plaintext is then encrypted with the first network private key, and the encryption result is used as the corresponding first evidence ciphertext. The first plaintext is hashed using the specified first hash algorithm to obtain the corresponding first hash code; The first hash code is encrypted using the public key of the first module, and the encryption result is used as the corresponding first evidence signature. The first evidence data, consisting of the first network identifier, the first evidence ciphertext, and the first evidence signature, is sent to the carbon emission evidence blockchain.
6. The carbon emission data processing system based on a charging network according to claim 2, characterized in that, Specifically, when the total carbon emissions of the first charging pile are calculated based on the preset three-level carbon conversion coefficient and the latest total first electricity consumption and transmitted back to the corresponding concentrator, the charging pile is used to calculate the corresponding carbon conversion factor A based on the regional coefficient a1, network coefficient a2, and charging pile coefficient a3 of the three-level carbon conversion coefficient. , 1≤i≤3, w i=1 w i=2 w i=3 The three preset weighting parameters are used; and the product of the carbon conversion factor A and the first total electricity consumption is sent back to the corresponding concentrator as the total carbon emissions of the first electric pile.
7. The carbon emission data processing system based on a charging network according to claim 2, characterized in that, Specifically, when the client query terminal sends the first query data obtained by encapsulating and processing the query data according to the first query client identifier, the first blockchain query instruction, the first client private key, and the first module public key to the carbon emission storage blockchain, the first blockchain query instruction is used as the corresponding second plaintext; and the first client private key is used to encrypt the second plaintext and the encryption result is used as the corresponding first query ciphertext. The second plaintext is hashed using the specified first hash algorithm to obtain the corresponding second hash code; The second hash code is then encrypted using the public key of the first module, and the encryption result is used as the corresponding first query signature. The first query data, consisting of the first query customer identifier, the first query ciphertext, and the first query signature, is sent to the carbon emission storage blockchain.
8. The carbon emission data processing system based on a charging network according to claim 2, characterized in that, Specifically, when the client query terminal parses and processes the first query feedback data sent back from the carbon emission evidence storage blockchain according to the first client private key and the first module public key to obtain and display the corresponding first query plaintext, it extracts the corresponding first query client identifier, the first feedback ciphertext, and the first feedback signature from the first query feedback data as the corresponding current query client identifier, current feedback ciphertext, and current feedback signature; and when the current query client identifier matches its own corresponding first client identifier, it decrypts the current feedback ciphertext based on the first client private key and uses the decryption result as the corresponding first decrypted plaintext. The current feedback signature is decrypted based on the public key of the first module, and the decryption result is used as the corresponding second decrypted plaintext. The first decrypted plaintext is hashed based on the specified first hash algorithm to obtain the corresponding third hash code; When the third hash code matches the second decrypted plaintext, the first decrypted plaintext is used as the corresponding first query plaintext and displayed.
9. The carbon emission data processing system based on a charging network according to claim 2, characterized in that, The carbon emission evidence storage blockchain is specifically used to extract the corresponding first network identifier, first evidence storage ciphertext and first evidence storage signature from the first evidence storage data when the evidence storage block creation process is performed based on the first evidence storage data and the authorization management module. The first evidence storage processing application, carrying the first network identifier and the first evidence storage signature, is sent to the authorization management module; and the first signature plaintext and the second network public key are received back from the authorization management module. When neither the first signature plaintext nor the second network public key is empty, the first evidence-stored ciphertext is decrypted based on the second network public key and the decryption result is used as the corresponding third decrypted plaintext; and the third decrypted plaintext is hashed based on the specified first hash algorithm to obtain the corresponding fourth hash code. And when the fourth hash code matches the first signature plaintext, the corresponding first timestamp and the first network carbon emission total are extracted from the third decrypted plaintext; A new evidence storage block is generated based on the first network identifier, the first timestamp, and the total carbon emissions of the first network, and the corresponding block on-chain operation is performed.
10. The carbon emission data processing system based on a charging network according to claim 9, characterized in that, The authorization management module is also used to extract the corresponding first network identifier and first evidence signature as the corresponding current network identifier and current evidence signature when it receives the first evidence processing application sent by the carbon emission evidence blockchain; and to record the first network detail record in the first network detail list that matches the first network identifier field with the current network identifier as the corresponding current matching record; and to identify whether the current matching record is empty. If the current matching record is empty, then the corresponding first signature plaintext and the second network public key are both set to empty; if the current matching record is not empty, then the first network public key field of the current matching record is extracted as the corresponding second network public key, and the current evidence signature is decrypted by the first module private key and the decryption result is used as the corresponding first signature plaintext; then the first signature plaintext and the second network public key obtained this time are sent back to the carbon emission evidence blockchain.
11. The carbon emission data processing system based on a charging network according to claim 2, characterized in that, The carbon emission evidence storage blockchain is specifically used to extract the corresponding first query customer identifier, the first query ciphertext, and the first query signature from the first query data when the first query feedback data is obtained by performing evidence storage block query processing based on the first query data and the authorization management module and sent back to the corresponding customer query terminal. The system sends a first query processing application, carrying the first query customer identifier and the first query signature, to the authorization management module; and receives the second signature plaintext and the second customer public key sent back by the authorization management module. When neither the second signature plaintext nor the second client public key is empty, the first query ciphertext is decrypted based on the second client public key and the decryption result is used as the corresponding fourth decrypted plaintext; and the fourth decrypted plaintext is hashed based on the specified first hash algorithm to obtain the corresponding fifth hash code. And when the fifth hash code matches the second signature plaintext, the fourth decrypted plaintext is used as the corresponding first blockchain query instruction; And when the first blockchain query instruction is not empty, the corresponding blockchain query operation is executed based on the first blockchain query instruction to obtain the corresponding first query result; And the first query result is used as the corresponding first query plaintext; The first query plaintext is then encrypted using the second client's public key, and the encryption result is used as the corresponding first feedback ciphertext. The first query plaintext is hashed based on the specified first hash algorithm to obtain the corresponding sixth hash code; The first signature processing application carrying the sixth hash code is sent to the authorization management module; the first feedback signature sent back by the authorization management module is received; and the first query feedback data composed of the first query customer identifier, the first feedback ciphertext and the first feedback signature is sent back to the corresponding customer query terminal.
12. The carbon emission data processing system based on a charging network according to claim 11, characterized in that, The authorization management module is also used to extract the corresponding first query customer identifier and the first query signature as the corresponding current customer identifier and current query signature when it receives the first query processing application sent by the carbon emission evidence blockchain. The first customer detail record in the first customer detail list that matches the first customer identifier field with the current customer identifier is recorded as the corresponding current matching record; and it is identified whether the current matching record is empty. If the current matching record is empty, then the corresponding second signature plaintext and the second client public key are both set to empty; if the current matching record is not empty, then the first client public key field of the current matching record is extracted as the corresponding second client public key, and the current query signature is decrypted by the first module private key and the decryption result is used as the corresponding second signature plaintext; then the second signature plaintext and the second client public key obtained this time are sent back to the carbon emission evidence storage blockchain.
13. The carbon emission data processing system based on a charging network according to claim 11, characterized in that, The authorization management module is also used to extract the corresponding sixth hash code from the first signature processing application sent by the carbon emission evidence storage blockchain when it receives the first signature processing application; and to encrypt the sixth hash code based on the private key of the first module and send the encryption result back to the carbon emission evidence storage blockchain as the corresponding first feedback signature.
Citation Information
Patent Citations
Data processing method and system based on block chain
CN113283775A
Block chain charging system, charging pile and electricity consumption cashing node
CN210666863U