CN112288579B - Block chain-based carbon emission reduction treatment method, device, equipment and storage medium - Google Patents

Block chain-based carbon emission reduction treatment method, device, equipment and storage medium Download PDF

Info

Publication number
CN112288579B
CN112288579B CN202011542619.7A CN202011542619A CN112288579B CN 112288579 B CN112288579 B CN 112288579B CN 202011542619 A CN202011542619 A CN 202011542619A CN 112288579 B CN112288579 B CN 112288579B
Authority
CN
China
Prior art keywords
emission reduction
carbon
user
agent
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011542619.7A
Other languages
Chinese (zh)
Other versions
CN112288579A (en
Inventor
荆博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202011542619.7A priority Critical patent/CN112288579B/en
Publication of CN112288579A publication Critical patent/CN112288579A/en
Application granted granted Critical
Publication of CN112288579B publication Critical patent/CN112288579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption

Abstract

The application discloses a block chain-based carbon emission reduction processing method, device, equipment and storage medium, relates to the technical field of block chains, and can be used for cloud computing and cloud services. The specific implementation scheme is as follows: acquiring a low-carbon traffic behavior data ciphertext of a user; the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting a low-carbon traffic behavior data original text of the user; acquiring a carbon emission reduction ciphertext of a user; the carbon emission reduction ciphertext of the user is obtained by determining a carbon emission reduction original text of the user according to the low-carbon traffic behavior data ciphertext of the user and encrypting the carbon emission reduction original text of the user; and checking according to the carbon emission reduction ciphertext of the user to obtain a carbon emission reduction checking result of the user. The method and the device can improve the data security in the carbon emission reduction treatment process.

Description

Block chain-based carbon emission reduction treatment method, device, equipment and storage medium
Technical Field
The application relates to the technical field of computers, in particular to the technical field of block chains, and specifically relates to a carbon emission reduction processing method, device, equipment and storage medium based on block chains.
Background
Once the greenhouse gas exceeds the atmospheric standard, the greenhouse effect can be caused, the global temperature rises, and the survival of human beings is threatened. Therefore, controlling greenhouse gas emissions has become a major problem facing all humans. Automobile exhaust is an important emission source of greenhouse gases.
In order to reduce greenhouse gas emission, the block chain technology can be used for preventing tampering, being traceable and the like, and the carbon emission reduction amount of a user in the trip process is processed based on the block chain technology, so that the user is guided to select more green low-carbon trip modes.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device, and a storage medium for block chain based carbon emission reduction processing.
According to an aspect of the disclosure, a block chain-based carbon emission reduction treatment method is provided, including:
acquiring a low-carbon traffic behavior data ciphertext of a user; the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting a low-carbon traffic behavior data original text of the user;
acquiring a carbon emission reduction ciphertext of a user; the carbon emission reduction ciphertext of the user is obtained by determining a carbon emission reduction original text of the user according to the low-carbon traffic behavior data ciphertext of the user and encrypting the carbon emission reduction original text of the user;
checking according to the carbon emission reduction ciphertext of the user to obtain a carbon emission reduction checking result of the user
According to another aspect of the present disclosure, there is provided a block chain-based carbon emission reduction processing apparatus, including:
the traffic behavior acquisition module is used for acquiring a low-carbon traffic behavior data ciphertext of the user; the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting a low-carbon traffic behavior data original text of the user;
the carbon emission reduction obtaining module is used for obtaining a carbon emission reduction ciphertext of a user; the carbon emission reduction ciphertext of the user is obtained by determining a carbon emission reduction original text of the user according to the low-carbon traffic behavior data ciphertext of the user and encrypting the carbon emission reduction original text of the user;
and the carbon emission reduction amount checking module is used for checking according to the carbon emission reduction amount ciphertext of the user to obtain a carbon emission reduction checking result of the user.
According to a third aspect, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a blockchain based carbon abatement treatment method as described in any one of the embodiments of the present application.
According to a fourth aspect, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to execute the method of blockchain-based carbon abatement treatment according to any one of the embodiments of the present application.
According to a fifth aspect, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the blockchain-based carbon abatement treatment method of any one of the embodiments of the present application.
According to the technology of the application, the data security in the carbon emission reduction treatment process can be improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a schematic flow chart of a block chain-based carbon abatement treatment method provided according to an embodiment of the present application;
FIG. 2a is a schematic flow chart of another block chain-based carbon abatement treatment method provided in accordance with an embodiment of the present application;
FIG. 2b is a schematic diagram of an interactive process for a carbon abatement process provided in accordance with an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram of another block chain-based carbon abatement treatment method provided in accordance with an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram of yet another block chain-based carbon abatement treatment method provided in accordance with an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a block chain-based carbon abatement treatment apparatus provided in accordance with an embodiment of the present application;
fig. 6 is a block diagram of an electronic device for implementing the blockchain-based carbon abatement treatment method of an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic flow chart of a block chain-based carbon emission reduction treatment method according to an embodiment of the present application. The present embodiment may be applied to the case where the carbon reduction amount of the user is determined based on the blockchain. The block chain-based carbon emission reduction processing method disclosed in this embodiment may be executed by an electronic device, and specifically, may be executed by a block chain-based carbon emission reduction processing apparatus, which may be implemented by software and/or hardware and configured in the electronic device. Referring to fig. 1, the block chain-based carbon emission reduction processing method provided in this embodiment includes:
s110, obtaining a low-carbon traffic behavior data ciphertext of the user; and the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting the low-carbon traffic behavior data original text of the user.
S120, obtaining a carbon emission reduction ciphertext of the user; and the carbon emission reduction ciphertext of the user is obtained by determining a carbon emission reduction original text of the user according to the low-carbon traffic behavior data ciphertext of the user and encrypting the carbon emission reduction original text of the user.
S130, checking according to the carbon emission reduction ciphertext of the user to obtain a carbon emission reduction checking result of the user.
In the embodiment of the application, the user can authorize the transaction agent to participate in carbon emission reduction, carbon transaction and carbon general activities, and the user refers to a social individual participating in green travel, namely a transaction main body. Specifically, the user can authorize by registering personal identification information such as a mobile phone number, a bus card and the like. The transaction agent may be a travel service platform, such as a map service platform. Specifically, low-carbon traffic behavior data of the user, such as public transportation, tracks, walking, riding, ride-sharing, stopping and the like, can be collected through the transaction agent, and the user is acted to participate in carbon emission reduction processing according to the collected low-carbon traffic behavior data.
In the embodiment of the application, the carbon emission reduction amount of the user can be determined by the carbon emission reduction party according to the low-carbon traffic behavior data of the user. Specifically, the carbon reduction party can be a carbon popularization system entrusted to research by an environment management party. The carbon emission reduction amount calculated by the carbon emission reduction party can be checked by the environment management party. Specifically, the environment management party can be an environment administration department such as an ecological environment bureau.
Moreover, the low-carbon traffic behavior data ciphertext can be obtained by encrypting the low-carbon traffic behavior data original text of the user through the transaction agent party, and the low-carbon traffic behavior data ciphertext is written into the block chain, so that other transaction agent parties cannot check the low-carbon traffic behavior data original text, and the data privacy of the transaction agent party is protected.
In the embodiment of the application, the carbon emission reduction party can check the low-carbon traffic behavior data ciphertext of the user, calculate the carbon emission reduction amount original text according to the low-carbon traffic behavior data ciphertext, encrypt the carbon emission reduction amount original text to obtain the carbon emission reduction amount ciphertext, and write the carbon emission reduction amount ciphertext into the block chain, so that other transaction agent parties cannot check the carbon emission reduction amount original text through the block chain, and the data privacy of the transaction agent parties is further protected. And the environment management party can check the low-carbon traffic behavior data ciphertext of the user and the carbon emission reduction ciphertext of the user and check the low-carbon traffic behavior data ciphertext and the carbon emission reduction ciphertext.
The low-carbon traffic behavior data ciphertext of the user is checked through the carbon emission reduction party, the original carbon emission reduction amount text of the user is calculated according to the low-carbon traffic behavior data ciphertext of the user, the environment management party checks the carbon emission reduction amount ciphertext of the user and checks the carbon emission reduction amount ciphertext, the carbon emission reduction amount calculation and the carbon emission reduction amount check can be carried out, encrypted data cannot be checked among different transaction agents, the data content of the transaction agents can be protected from being leaked, and the user data safety of the transaction agents is improved.
According to the technical scheme provided by the embodiment of the application, the low-carbon traffic behavior data ciphertext and the carbon emission reduction ciphertext of the user are stored in an uplink mode, so that the encrypted data cannot be checked among different transaction agent parties in the carbon emission reduction processing process, and the data content of the transaction agent parties can be protected from being leaked.
Fig. 2a is a schematic flow chart of another block chain-based carbon emission reduction treatment method provided in an embodiment of the present application. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 2a, the block chain-based carbon emission reduction processing method provided in this embodiment includes:
s210, obtaining a low-carbon traffic behavior data ciphertext of the user; and the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting the low-carbon traffic behavior data original text of the user by adopting the agent sub public key of the transaction agent party.
S220, determining the proxy child private key of the transaction agent according to the emission reduction parent private key, the emission reduction parent key chain code and the proxy child public key of the transaction agent.
And S230, decrypting the low-carbon traffic behavior data ciphertext of the user by adopting the agent sub private key of the transaction agent party to obtain the low-carbon traffic behavior data plaintext of the user.
S240, determining the carbon emission reduction original text of the user according to the low-carbon traffic behavior data original text of the user based on the set carbon emission reduction calculation rule.
S250, obtaining a carbon emission reduction ciphertext of the user; and encrypting the carbon emission reduction volume original text of the user by adopting an emission reduction sub public key of a carbon emission reduction party to obtain the carbon emission reduction volume ciphertext of the user.
And S260, checking according to the carbon emission reduction ciphertext of the user to obtain a carbon emission reduction checking result of the user.
In the embodiment of the application, the agent sub public key can be generated for the low-carbon traffic behavior data original text of the user through the transaction agent party, and the low-carbon traffic behavior data original text of the user is encrypted by adopting the agent sub public key to obtain the low-carbon traffic behavior data ciphertext of the user.
And the low-carbon traffic behavior data ciphertext of the user can be checked through the carbon emission reduction party, the original carbon emission reduction amount text of the low-carbon traffic behavior data ciphertext is calculated, an emission reduction sub public key is further generated for the original carbon emission reduction amount text, the original carbon emission reduction amount text is encrypted by the emission reduction sub public key to obtain the carbon emission reduction amount ciphertext, the carbon emission reduction amount ciphertext is written into the block chain, so that other transaction agent parties cannot check the original carbon emission reduction amount text through the block chain, and the data privacy of the transaction agent parties is further protected. And the environment management party can check the low-carbon traffic behavior data ciphertext of the user and the carbon emission reduction ciphertext of the user and check the low-carbon traffic behavior data ciphertext and the carbon emission reduction ciphertext. The low-carbon traffic behavior data ciphertext of the user is checked through the carbon emission reduction party, the original carbon emission reduction text of the user is calculated according to the low-carbon traffic behavior data ciphertext of the user, the environment management party checks the carbon emission reduction ciphertext of the user and checks the carbon emission reduction ciphertext, encrypted data cannot be checked among different transaction agent parties, accordingly, the data content of the transaction agent parties can be protected from being leaked, and the user data safety of the transaction agent parties is improved.
In an alternative embodiment, the method further comprises: determining an emission reduction sub-private key of a carbon emission reduction party according to an environment parent private key, an environment parent key chain code and an emission reduction sub-public key of the carbon emission reduction party; decrypting the carbon emission reduction ciphertext of the user by adopting the emission reduction sub private key of the carbon emission reduction party to obtain the carbon emission reduction ciphertext of the user; and checking the original text of the carbon emission reduction amount of the user to obtain a checking result based on a set carbon emission reduction amount checking rule.
In the embodiment of the application, the proxy parent key combination of the transaction agent party comprises a proxy parent key (namely, a proxy parent private key and a proxy parent public key), a proxy parent key chain code and a proxy parent key number, the emission reduction parent key combination of the carbon emission reduction party comprises an emission reduction parent key (namely, an emission reduction parent private key and an emission reduction parent public key), an emission reduction parent key chain code and an emission reduction parent key number, and the environment parent key combination of the environment management party comprises an environment parent key (namely, an environment parent private key and an environment parent public key), an environment parent key chain code and an environment parent key number. Wherein, the emission reduction parent key combination can be distributed by an environment management party, and the agent parent key combination can be distributed by a carbon emission reduction party.
Fig. 2b is a schematic diagram of an interactive process of a carbon abatement process provided in accordance with an embodiment of the present application. Referring to fig. 2b, an environment parent key chain code, and an environment parent key number of the environment manager may be determined based on a hierarchical deterministic key derivation technique through the electronic authentication service, that is, an environment parent key combination may be distributed to the environment manager through the electronic authentication service; the emission reduction parent key number can be determined by the environment management party, and the emission reduction parent key chain code of the carbon emission reduction party are determined according to the environment parent key, the environment parent key chain code and the emission reduction parent key number, namely, the emission reduction parent key combination can be distributed to the carbon emission reduction party by the environment management party; the proxy parent key number of the transaction agent party can be determined by the carbon emission reduction party, and the proxy parent key chain code of the transaction agent party are determined according to the emission reduction parent key, the emission reduction parent key chain code and the proxy parent key number, that is, a proxy parent key combination can be distributed to the transaction agent party by the carbon emission reduction party. It is to be noted that the emission reduction parent keys of different carbon emission reduction parties have different numbers, that is, the emission reduction parent keys of different carbon emission reduction parties have different combinations; the proxy parent keys of different transaction proxy parties are different in number, namely, the proxy parent keys of different transaction proxy parties are different in combination. The encrypted data of the carbon emission reduction party and the encrypted data of the transaction agent party can be checked by the environment management party through different data checking authorities of the transaction agent party, the carbon emission reduction party and the environment management party, the encrypted data of the transaction agent party can be checked by the carbon emission reduction party, the encrypted data cannot be checked by different transaction agent parties, and the safety protection of user data of the transaction agent party is realized.
In an optional implementation manner, the obtaining of the low-carbon traffic behavior data ciphertext of the user includes: acquiring a behavior record transaction request comprising an agent sub public key of the transaction agent party and a low-carbon traffic behavior data ciphertext of the user; the agent sub public key is generated according to an agent father public key, an agent father key chain code and an agent sub key number of a transaction agent party; executing the behavior recording transaction request to enable the low-carbon traffic behavior data cipher text and the agent sub public key to correspond to the user for uplink storage.
Specifically, aiming at each low-carbon traffic behavior data original text, an agent sub-key number can be generated for the low-carbon traffic behavior data original text by a transaction agent party; generating a proxy sub public key for the low-carbon traffic behavior data original text according to a proxy parent private key, a proxy parent key chain code and a proxy sub key number of the transaction proxy party; and encrypting the low-carbon traffic behavior data original text by adopting the agent sub public key to obtain a low-carbon traffic behavior data ciphertext of the low-carbon traffic behavior data original text. By adopting different agent sub public keys to encrypt different low-carbon traffic behavior data originals, compared with the method of adopting the same agent sub public key to encrypt different low-carbon traffic behavior data originals, the method can further improve the security of the low-carbon traffic behavior data ciphertext.
In an alternative embodiment, obtaining a carbon reduction ciphertext of a user comprises: acquiring a emission reduction record transaction request comprising an emission reduction sub public key of the emission reduction party and a carbon emission reduction ciphertext of the user; the emission reduction sub public key is generated according to an emission reduction parent public key, an emission reduction parent key chain code and an emission reduction sub key number of an emission reduction party; executing the reduced emissions record transaction request to uplink the carbon reduced emissions cipher text and the emission reduction sub-public key to the user.
Specifically, for each carbon emission reduction original text, an emission reduction sub-key number can be generated for the carbon emission reduction original text by a carbon emission reduction party; generating an emission reduction sub public key for the carbon emission reduction volume original text according to the emission reduction father public key, the emission reduction father key chain code and the emission reduction sub key number of the carbon emission reduction party; and the carbon emission reduction rate original text is encrypted by adopting the emission reduction sub public key to obtain a carbon emission reduction rate ciphertext of the carbon emission reduction rate original text. Different carbon emission reduction amount original texts are encrypted by adopting different emission reduction sub public keys, and compared with the method that the same carbon emission reduction amount original texts are encrypted, the method can further improve the security of the carbon emission reduction amount ciphertext.
In this embodiment of the application, determining the proxy child private key of the transaction agent according to the emission reduction parent private key, the emission reduction parent keychain code, and the proxy child public key of the transaction agent may include: analyzing the agent sub public key to obtain an agent parent key number and an agent sub key number of the transaction agent party; determining an agent father private key according to the emission reduction father private key, the emission reduction father private key chain code and the agent father private key number; and determining the proxy child private key according to the proxy parent private key and the proxy child private key number. And determining the emission reduction sub-private key of the carbon emission reduction party according to the environment parent private key, the environment parent key chain code and the emission reduction sub-public key of the carbon emission reduction party may include: analyzing the emission reduction sub public key to obtain an emission reduction parent key number and an emission reduction sub key number of the carbon emission reduction party; determining an emission reduction parent private key according to the environment parent private key, the chain code of the environment parent private key and the emission reduction parent key number; and determining the emission reduction child private key according to the emission reduction parent private key and the emission reduction child private key. Through the cooperation of the layered deterministic key derivation technology and the encryption technology, the carbon emission reduction party can determine the agent sub-private key, and the environment management party can determine the emission reduction sub-private key, so that the carbon emission reduction party can check the low-carbon traffic behavior data ciphertext of the user, and the environment management party can check the carbon emission reduction capacity ciphertext of the user.
Specifically, the carbon emission reduction amount of the original texts of the different types of low-carbon traffic behavior data can be calculated by a carbon emission reduction method based on a low-carbon trip carbon emission reduction methodology; the method can be used for carrying out multi-source data identification, duplication removal, fake identification, inspection and other modes on the carbon emission reduction amount of the low-carbon traffic behavior data original text through an environment manager to obtain the carbon emission reduction inspection result after inspection. The environmental management party can also send the carbon emission reduction checking result to the transaction agent party. In the process of sending data to the transaction agent by the environment management party, the sent data can be encrypted by adopting the agent father public key of the transaction agent, so that the sent data is further protected from being leaked.
According to the technical scheme provided by the embodiment of the application, the carbon emission reduction party checks the low-carbon traffic behavior data ciphertext of the user and the environment management party checks the carbon emission reduction capacity ciphertext of the user through the cooperation of the layered deterministic key derivation technology and the encryption technology.
Fig. 3 is a schematic flow chart of another block chain-based carbon emission reduction treatment method provided in an embodiment of the present application. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 3, the block chain-based carbon emission reduction processing method provided in this embodiment includes:
and S310, carrying out identity anonymization processing on the user to which the low-carbon traffic behavior data original text belongs.
S320, obtaining a low-carbon traffic behavior data ciphertext of the user; and the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting the low-carbon traffic behavior data original text of the user.
S330, obtaining a carbon emission reduction ciphertext of the user; and the carbon emission reduction ciphertext of the user is obtained by determining a carbon emission reduction original text of the user according to the low-carbon traffic behavior data ciphertext of the user and encrypting the carbon emission reduction original text of the user.
S340, checking according to the carbon emission reduction ciphertext of the user to obtain a carbon emission reduction checking result of the user.
If the low-carbon traffic behavior data of the user are reported by directly using the blockchain address and the blockchain account public key of the user, along with the increase of the number of the low-carbon traffic behavior data, the probability that the attacker can analyze the real identity of the user is increased, so that the real identity of the user is revealed, and the traffic behavior of the user is exposed, namely the track of the user is exposed.
In the embodiment of the application, in the process of sending the low-carbon traffic behavior data text of the user to the blockchain network, the identity of the user to which the low-carbon traffic behavior data text belongs can be processed anonymously, so that the identity of the user is prevented from being revealed, and the track of the user is prevented from being exposed. It should be noted that, the identity anonymization manner is not particularly limited in the embodiment of the present application, and for example, identity anonymization may be performed through a zero-knowledge proof mechanism or a ring signature mechanism.
In an optional implementation manner, the identity anonymization processing is performed on the user to which the low-carbon traffic behavior data original text belongs, and includes: generating a random number for the low-carbon traffic behavior data original text; generating a target public key array according to the random number, a user public key to which the low-carbon traffic behavior data original text belongs and a public key array of a transaction agent; and performing ring signature on the data sent by the transaction agent by adopting the target public key array so as to perform anonymous processing on the user identity.
The public key array of the transaction agent side is a public key array used by the transaction agent side in the ring signature process, and is different from the agent father public key of the transaction agent side. The user public key may be the user's blockchain account public key. Taking the size of the public key array P0 of the transaction agent as L, the random number r may range from [0, L-1 ]. Specifically, the transaction agent may place the user public key to which the low-carbon traffic behavior data original text belongs at the position of the random number r of the public key array of the transaction agent to obtain the target public key array. And performing ring signature on the data sent by the transaction agent by adopting the target public key array, for example, performing ring signature on a behavior record transaction request including the low-carbon traffic behavior data ciphertext of the user by adopting the target public key array. The user public key is randomly added into the public key array of the transaction agent side to obtain the target public key array, so that the user identity can be anonymized, the target public key array comprises the user public key, the carbon emission reduction amount and the carbon emission reduction reward of the user can be verified according to the incidence relation between the target public key array comprising the user public key and the low-carbon traffic behavior data ciphertext of the user, and the carbon emission reduction amount and the carbon emission reduction reward distribution error are avoided.
In an alternative embodiment, the method further comprises: performing carbon transaction according to the carbon emission reduction checking result of the user; distributing the reward to the user according to the carbon transaction result.
Specifically, after the carbon emission reduction checking result of the user is obtained, carbon transaction can be carried out through a carbon transaction platform; and distributing rewards to the users according to the carbon trading results so as to encourage the users to go out in a low-carbon and green way. The reward mode in the embodiment of the present application is not particularly limited, and may be at least one of a voucher, a software member, an item redemption ticket, and a reward point.
In an optional embodiment, after the distributing the reward to the user, the method further comprises: and if the target public key array adopted for performing the ring signature on any recorded transaction request is detected to comprise the user public key, determining that the low-carbon traffic behavior data ciphertext comprised in the recorded transaction request belongs to the user, and checking the carbon emission reduction or reward of the user according to the low-carbon traffic behavior data ciphertext belonging to the user.
According to the technical scheme provided by the embodiment of the application, the identity of the user to which the low-carbon traffic behavior data original text belongs is processed anonymously, so that the identity of the user is prevented from being revealed. And the user public key is randomly carried in the target public key array for carrying out ring signature on the sending data, so that the carbon emission reduction amount and the carbon emission reduction reward of the user can be verified, and the carbon emission reduction amount and the carbon emission reduction reward distribution error can be avoided.
Fig. 4 is a schematic flow chart of another block chain-based carbon emission reduction treatment method according to an embodiment of the present application. The embodiment is a specific implementation scheme provided on the basis of the above embodiment. Referring to fig. 4, the block chain-based carbon emission reduction processing method provided in this embodiment includes:
s410, encrypting the low-carbon traffic behavior data original text of the user by the transaction agent side through the agent sub public key to obtain a low-carbon traffic behavior data cipher text of the user, and generating a behavior recording transaction request comprising the low-carbon traffic behavior data cipher text of the user and the agent sub public key.
Specifically, the proxy sub-public key can be generated for the low-carbon traffic behavior data text of the user by the transaction agent according to the proxy parent public key, the proxy parent key chain code and the proxy sub-key number of the transaction agent.
And S420, generating a target public key array for the low-carbon traffic behavior data original text of the user through the transaction agent, performing ring signature on the behavior recording transaction request by adopting the target public key array to obtain a ring signature result, and sending the ring signature result to the block chain network.
Specifically, a random number is generated for a low-carbon traffic behavior data original text of a user through a transaction agent party; and generating a target public key array according to the random number, the user public key to which the low-carbon traffic behavior data original text belongs and the public key array of the transaction agent. It should be noted that, in order to facilitate the user to view the low-carbon traffic behavior data of the user, a linkable ring signature may be used.
And S430, checking the ring signature result through the node in the block chain network, and if the ring signature result passes the checking, performing uplink storage on the low-carbon traffic behavior data ciphertext and the agent sub public key corresponding to the user.
S440, obtaining the low-carbon traffic behavior data ciphertext and the agent sub public key from the block chain through the carbon emission reduction party, and decrypting the low-carbon traffic behavior data ciphertext according to the low-carbon traffic behavior data ciphertext and the agent sub public key to obtain a low-carbon traffic behavior data original text.
Specifically, determining an agent child private key of a transaction agent party by a carbon emission reduction party according to an emission reduction parent private key, an emission reduction parent key chain code and an agent child public key of the transaction agent party; and the carbon emission reduction party decrypts the low-carbon traffic behavior data ciphertext of the user by adopting the agent sub private key of the transaction agent party to obtain the low-carbon traffic behavior data plaintext of the user.
S450, determining a carbon emission reduction amount original text of the user according to the low-carbon traffic behavior data original text of the user by the carbon emission reduction party based on a set carbon emission reduction calculation rule, and encrypting the carbon emission reduction amount original text of the user by adopting an emission reduction sub public key of the carbon emission reduction party to obtain a carbon emission reduction amount ciphertext.
And S460, initiating a emission reduction record transaction request comprising an emission reduction sub public key and a carbon reduction cipher text of a user through a carbon emission reduction direction block chain network.
S470, executing the emission reduction record transaction request through a node in a block chain network so as to enable the carbon reduction cipher text and the emission reduction sub public key to correspond to the user for uplink storage.
S480, obtaining the carbon emission reduction capacity ciphertext and the emission reduction sub public key from the block chain through the environment management party, and decrypting the carbon emission reduction capacity ciphertext according to the emission reduction sub public key to obtain the carbon emission reduction capacity original text.
Specifically, an environment management party determines an emission reduction sub-private key of a carbon emission reduction party according to an environment parent private key, an environment parent key chain code and an emission reduction sub-public key of the carbon emission reduction party; and decrypting the carbon emission reduction ciphertext of the user by adopting the emission reduction sub private key of the carbon emission reduction party to obtain the carbon emission reduction original text of the user.
And S490, checking the carbon emission reduction original text of the user to obtain a checking result through an environment manager based on a set carbon emission reduction checking rule.
Specifically, the environment management party can also return the checking result to the transaction agent party, and the transaction agent party gives the user a reward according to the user reduced displacement checking result.
The intelligent contract is used for recording which transaction agent each piece of low-carbon traffic behavior data of the user is reported by and whether the low-carbon traffic behavior data is processed by the carbon emission reduction party, and if the low-carbon traffic behavior data is processed, whether the low-carbon traffic behavior data passes the check of the environment management party. And whether the transaction is completed at the carbon emission rights electronic trading platform and whether a corresponding reward has been issued to the user. Through this intelligent contract, can track the in service behavior of the data of green trip. The problems of missed report, false report and wrong report are prevented.
In addition, in the process of inquiring the navigation message by the user, the transaction agent side also contrasts and shows the reduced carbon emission compared with the car travel mode aiming at the low-carbon traffic travel mode such as walking, riding, public transportation and rail transit, and guides the user to participate in the carbon-general activity. Specifically, the transaction agent side responds to a low-carbon traffic travel navigation request of a user, determines the carbon emission amount of a low-carbon travel mode of the navigation route, which is reduced compared with a car travel mode, and performs relevance display on the reduced carbon emission amount and the low-carbon travel mode in a navigation interface.
According to the technical scheme of the embodiment of the application, the data viewing permission is different layer by layer based on the layered deterministic key derivation and encryption technology, all levels of data below the layer can be processed by each layer, the data generated after data processing is carried out on the layer is encrypted, a carbon emission reduction party with the permission like a pyramid structure can view the data of a transaction agent party, and an environment management party can view the data of the carbon emission reduction party and the transaction agent party. Therefore, a closed loop of the carbon emission reduction process is formed, the functions of each link are effectively exerted, the carbon emission reduction is favorably promoted, and the low-carbon green trip is realized.
Fig. 5 is a schematic structural diagram of a block chain-based carbon emission reduction processing apparatus according to an embodiment of the present application. Referring to fig. 5, the block chain-based carbon emission reduction processing apparatus 500 provided in the embodiment of the present application may include:
the traffic behavior obtaining module 501 is configured to obtain a low-carbon traffic behavior data ciphertext of a user; the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting a low-carbon traffic behavior data original text of the user;
a carbon reduction capacity obtaining module 502, configured to obtain a carbon reduction capacity ciphertext of the user; the carbon emission reduction ciphertext of the user is obtained by determining a carbon emission reduction original text of the user according to the low-carbon traffic behavior data ciphertext of the user and encrypting the carbon emission reduction original text of the user;
and a carbon emission reduction amount checking module 503, configured to check the user carbon emission reduction amount ciphertext to obtain a carbon emission reduction checking result of the user.
In an optional implementation manner, the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting the low-carbon traffic behavior data plaintext of the user by using an agent sub public key of a transaction agent party;
and the carbon emission reduction ciphertext of the user is obtained by encrypting the carbon emission reduction original text of the user by adopting an emission reduction sub public key of a carbon emission reduction party.
The carbon reduction amount acquisition module 502 includes:
the agent child private key unit is used for determining an agent child private key of the transaction agent according to the emission reduction parent private key, the emission reduction parent key chain code and an agent child public key of the transaction agent;
the traffic behavior decryption unit is used for decrypting the low-carbon traffic behavior data ciphertext of the user by adopting the agent sub private key of the transaction agent party to obtain the low-carbon traffic behavior data ciphertext of the user;
and the carbon emission reduction determining unit is used for determining the carbon emission reduction original text of the user according to the low-carbon traffic behavior data original text of the user based on the set carbon emission reduction calculation rule.
In an alternative embodiment, the block chain-based carbon abatement treatment apparatus 500 further comprises a verification module determination module comprising:
the emission reduction sub private key unit is used for determining an emission reduction sub private key of the carbon emission reduction party according to the environment parent private key, the environment parent key chain code and an emission reduction sub public key of the carbon emission reduction party;
the emission reduction data decryption unit is used for decrypting the carbon emission reduction ciphertext of the user by adopting an emission reduction sub private key of the carbon emission reduction party to obtain the carbon emission reduction ciphertext of the user;
and the checking module determining unit is used for checking the carbon emission reduction original text of the user to obtain a checking result based on the set carbon emission reduction checking rule.
In an alternative embodiment, the traffic behavior acquisition module 501 includes:
the behavior request acquisition unit is used for acquiring a behavior record transaction request comprising the agent sub public key of the transaction agent party and the low-carbon traffic behavior data ciphertext of the user; the agent sub public key is generated according to an agent father public key, an agent father key chain code and an agent sub key number of a transaction agent party;
and the behavior request executing unit is used for executing the behavior recording transaction request so as to enable the low-carbon traffic behavior data ciphertext and the agent sub public key to correspond to the user for uplink storage.
In an alternative embodiment, the carbon emission reduction acquisition module 502 includes:
a emission reduction request acquisition unit, configured to acquire an emission reduction record transaction request including an emission reduction sub public key of the emission reduction party and a carbon emission reduction ciphertext of the user; the emission reduction sub public key is generated according to an emission reduction parent public key, an emission reduction parent key chain code and an emission reduction sub key number of an emission reduction party;
a reduced emissions request execution unit, configured to execute the reduced emissions recording transaction request to uplink the carbon reduced emissions cipher text and the emission reduction sub-public key to the user.
In an alternative embodiment, the blockchain-based carbon abatement processing apparatus 500 further comprises an identity anonymization module for:
and carrying out identity anonymization processing on the user to which the low-carbon traffic behavior data original text belongs.
In an optional embodiment, the identity anonymization module is specifically configured to:
generating a random number for the low-carbon traffic behavior data original text;
generating a target public key array according to the random number, a user public key to which the low-carbon traffic behavior data original text belongs and a public key array of a transaction agent;
and performing ring signature on the data sent by the transaction agent by adopting the target public key array so as to perform anonymous processing on the user identity.
In an alternative embodiment, the blockchain-based carbon abatement treatment apparatus 500 further comprises a reward distribution module comprising:
the carbon transaction unit is used for performing carbon transaction according to the carbon emission reduction checking result of the user;
and the reward distribution unit is used for distributing rewards to the users according to the carbon transaction result.
According to the technical scheme of the embodiment of the application, the data viewing permission is different layer by layer based on the layered deterministic key derivation and encryption technology, all levels of data below the layer can be processed by each layer, the data generated after data processing is carried out on the layer is encrypted, a carbon emission reduction party with the permission like a pyramid structure can view the data of a transaction agent party, and an environment management party can view the data of the carbon emission reduction party and the transaction agent party. Therefore, a closed loop of the carbon emission reduction process is formed, the functions of each link are effectively exerted, the carbon emission reduction is favorably promoted, and the low-carbon green trip is realized.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 6 illustrates a schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, a mouse, or the like; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 performs the various methods and processes described above, such as a blockchain-based carbon abatement treatment method. For example, in some embodiments, the blockchain-based carbon abatement treatment method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When loaded into RAM 603 and executed by the computing unit 601, may perform one or more of the steps of the above-described blockchain-based carbon emission reduction treatment method. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the blockchain-based carbon abatement treatment method by any other suitable means (e.g., by way of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (18)

1. The block chain-based carbon emission reduction treatment method comprises the following steps:
acquiring a low-carbon traffic behavior data ciphertext of a user; the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting a low-carbon traffic behavior data original text of the user;
acquiring a carbon emission reduction ciphertext of a user; the carbon emission reduction ciphertext of the user is obtained by determining a carbon emission reduction original text of the user according to the low-carbon traffic behavior data ciphertext of the user and encrypting the carbon emission reduction original text of the user;
checking according to the carbon emission reduction ciphertext of the user to obtain a carbon emission reduction checking result of the user;
the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting a low-carbon traffic behavior data original text of the user by adopting an agent sub public key of a transaction agent party;
the carbon emission reduction ciphertext of the user is obtained by encrypting the carbon emission reduction original text of the user by adopting an emission reduction sub public key of a carbon emission reduction party;
wherein, the agent sub public key of the transaction agent is determined by the following method: determining an agent parent key and an agent parent key chain code of a transaction agent party according to the emission reduction parent key, the emission reduction parent key chain code and the agent parent key number; determining an agent sub public key of the transaction agent according to the agent parent key, the agent parent key chain code and the agent sub key number of the transaction agent;
wherein the emission reduction sub-public key of the carbon emission reduction party is determined as follows: determining an emission reduction parent key and an emission reduction parent key chain code of a carbon emission reduction party according to the environment parent key, the environment parent key chain code and the emission reduction parent key number; and determining the emission reduction sub public key of the carbon emission reduction party according to the emission reduction parent key, the emission reduction parent key chain code and the emission reduction sub key number of the carbon emission reduction party.
2. The method of claim 1, wherein the determining a user's carbon reduction volume plaintext from the user's low carbon traffic behavior data ciphertext comprises:
determining an agent sub-private key of a transaction agent according to an emission reduction parent private key, an emission reduction parent key chain code and an agent sub-public key of the transaction agent;
decrypting the low-carbon traffic behavior data ciphertext of the user by adopting an agent sub-private key of the transaction agent party to obtain a low-carbon traffic behavior data ciphertext of the user;
and determining the carbon emission reduction original text of the user according to the low-carbon traffic behavior data original text of the user based on the set carbon emission reduction calculation rule.
3. The method of claim 1, further comprising:
determining an emission reduction sub-private key of a carbon emission reduction party according to an environment parent private key, an environment parent key chain code and an emission reduction sub-public key of the carbon emission reduction party;
decrypting the carbon emission reduction ciphertext of the user by adopting the emission reduction sub private key of the carbon emission reduction party to obtain the carbon emission reduction ciphertext of the user;
and checking the original text of the carbon emission reduction amount of the user to obtain a checking result based on a set carbon emission reduction amount checking rule.
4. The method of claim 1, wherein the obtaining of the low-carbon traffic behavior data ciphertext of the user comprises:
acquiring a behavior record transaction request comprising an agent sub public key of the transaction agent party and a low-carbon traffic behavior data ciphertext of the user; the agent sub public key is generated according to an agent father public key, an agent father key chain code and an agent sub key number of a transaction agent party;
executing the behavior recording transaction request to enable the low-carbon traffic behavior data cipher text and the agent sub public key to correspond to the user for uplink storage.
5. The method of claim 1, wherein obtaining a carbon reduction capacity ciphertext of the user comprises:
acquiring a emission reduction record transaction request comprising an emission reduction sub public key of the emission reduction party and a carbon emission reduction ciphertext of the user; the emission reduction sub public key is generated according to an emission reduction parent public key, an emission reduction parent key chain code and an emission reduction sub key number of an emission reduction party;
executing the reduced emissions record transaction request to uplink the carbon reduced emissions cipher text and the emission reduction sub-public key to the user.
6. The method of any of claims 1-5, further comprising:
and carrying out identity anonymization processing on the user to which the low-carbon traffic behavior data original text belongs.
7. The method of claim 6, wherein the anonymous processing of the identity of the user to which the low-carbon traffic behavior data plaintext belongs comprises:
generating a random number for the low-carbon traffic behavior data original text;
generating a target public key array according to the random number, a user public key to which the low-carbon traffic behavior data original text belongs and a public key array of a transaction agent;
and performing ring signature on the data sent by the transaction agent by adopting the target public key array so as to perform anonymous processing on the user identity.
8. The method of any of claims 1-5, further comprising:
performing carbon transaction according to the carbon emission reduction checking result of the user;
distributing the reward to the user according to the carbon transaction result.
9. Carbon emission reduction processing apparatus based on block chain includes:
the traffic behavior acquisition module is used for acquiring a low-carbon traffic behavior data ciphertext of the user; the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting a low-carbon traffic behavior data original text of the user;
the carbon emission reduction obtaining module is used for obtaining a carbon emission reduction ciphertext of a user; the carbon emission reduction ciphertext of the user is obtained by determining a carbon emission reduction original text of the user according to the low-carbon traffic behavior data ciphertext of the user and encrypting the carbon emission reduction original text of the user;
the carbon emission reduction amount checking module is used for checking according to the carbon emission reduction amount ciphertext of the user to obtain a carbon emission reduction checking result of the user;
the low-carbon traffic behavior data ciphertext of the user is obtained by encrypting a low-carbon traffic behavior data original text of the user by adopting an agent sub public key of a transaction agent party;
the carbon emission reduction ciphertext of the user is obtained by encrypting the carbon emission reduction original text of the user by adopting an emission reduction sub public key of a carbon emission reduction party;
wherein, the agent sub public key of the transaction agent is determined by the following method: determining an agent parent key and an agent parent key chain code of a transaction agent party according to the emission reduction parent key, the emission reduction parent key chain code and the agent parent key number; determining an agent sub public key of the transaction agent according to the agent parent key, the agent parent key chain code and the agent sub key number of the transaction agent;
wherein the emission reduction sub-public key of the carbon emission reduction party is determined as follows: determining an emission reduction parent key and an emission reduction parent key chain code of a carbon emission reduction party according to the environment parent key, the environment parent key chain code and the emission reduction parent key number; and determining the emission reduction sub public key of the carbon emission reduction party according to the emission reduction parent key, the emission reduction parent key chain code and the emission reduction sub key number of the carbon emission reduction party.
10. The apparatus of claim 9, wherein the carbon reduction amount acquisition module comprises:
the agent child private key unit is used for determining an agent child private key of the transaction agent according to the emission reduction parent private key, the emission reduction parent key chain code and an agent child public key of the transaction agent;
the traffic behavior decryption unit is used for decrypting the low-carbon traffic behavior data ciphertext of the user by adopting the agent sub private key of the transaction agent party to obtain the low-carbon traffic behavior data ciphertext of the user;
and the carbon emission reduction determining unit is used for determining the carbon emission reduction original text of the user according to the low-carbon traffic behavior data original text of the user based on the set carbon emission reduction calculation rule.
11. The apparatus of claim 9, further comprising a verification module determination module comprising:
the emission reduction sub private key unit is used for determining an emission reduction sub private key of the carbon emission reduction party according to the environment parent private key, the environment parent key chain code and an emission reduction sub public key of the carbon emission reduction party;
the emission reduction data decryption unit is used for decrypting the carbon emission reduction ciphertext of the user by adopting an emission reduction sub private key of the carbon emission reduction party to obtain the carbon emission reduction ciphertext of the user;
and the checking module determining unit is used for checking the carbon emission reduction original text of the user to obtain a checking result based on the set carbon emission reduction checking rule.
12. The apparatus of claim 9, wherein the traffic behavior acquisition module comprises:
the behavior request acquisition unit is used for acquiring a behavior record transaction request comprising the agent sub public key of the transaction agent party and the low-carbon traffic behavior data ciphertext of the user; the agent sub public key is generated according to an agent father public key, an agent father key chain code and an agent sub key number of a transaction agent party;
and the behavior request executing unit is used for executing the behavior recording transaction request so as to enable the low-carbon traffic behavior data ciphertext and the agent sub public key to correspond to the user for uplink storage.
13. The apparatus of claim 9, wherein the carbon reduction amount acquisition module comprises:
a emission reduction request acquisition unit, configured to acquire an emission reduction record transaction request including an emission reduction sub public key of the emission reduction party and a carbon emission reduction ciphertext of the user; the emission reduction sub public key is generated according to an emission reduction parent public key, an emission reduction parent key chain code and an emission reduction sub key number of an emission reduction party;
a reduced emissions request execution unit, configured to execute the reduced emissions recording transaction request to uplink the carbon reduced emissions cipher text and the emission reduction sub-public key to the user.
14. The apparatus of any of claims 9-13, further comprising an identity anonymization module to:
and carrying out identity anonymization processing on the user to which the low-carbon traffic behavior data original text belongs.
15. The apparatus of claim 14, wherein the identity anonymization module is specifically configured to:
generating a random number for the low-carbon traffic behavior data original text;
generating a target public key array according to the random number, a user public key to which the low-carbon traffic behavior data original text belongs and a public key array of a transaction agent;
and performing ring signature on the data sent by the transaction agent by adopting the target public key array so as to perform anonymous processing on the user identity.
16. The apparatus of any of claims 9-13, further comprising a reward distribution module comprising:
the carbon transaction unit is used for performing carbon transaction according to the carbon emission reduction checking result of the user;
and the reward distribution unit is used for distributing rewards to the users according to the carbon transaction result.
17. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
18. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-8.
CN202011542619.7A 2020-12-24 2020-12-24 Block chain-based carbon emission reduction treatment method, device, equipment and storage medium Active CN112288579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011542619.7A CN112288579B (en) 2020-12-24 2020-12-24 Block chain-based carbon emission reduction treatment method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011542619.7A CN112288579B (en) 2020-12-24 2020-12-24 Block chain-based carbon emission reduction treatment method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112288579A CN112288579A (en) 2021-01-29
CN112288579B true CN112288579B (en) 2021-05-04

Family

ID=74426002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011542619.7A Active CN112288579B (en) 2020-12-24 2020-12-24 Block chain-based carbon emission reduction treatment method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112288579B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037854B (en) * 2021-03-22 2024-01-23 平安国际智慧城市科技股份有限公司 Method, device, equipment and storage medium for monitoring tail gas of motor vehicle
CN113283775A (en) * 2021-06-07 2021-08-20 阳光电源股份有限公司 Data processing method and system based on block chain

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812369A (en) * 2016-03-15 2016-07-27 广东石油化工学院 Traceable anonymous authentication method based on elliptic curve
WO2019134005A1 (en) * 2017-12-26 2019-07-04 Cooner Jason Architecture, systems, and methods used in carbon credit and block chain systems
CN110020943A (en) * 2018-01-10 2019-07-16 巍乾全球技术有限责任公司 Carbon record and method of commerce, equipment, block chain node, computer media and system based on block chain
CN110032600A (en) * 2019-01-15 2019-07-19 加拿大辉莱广告公司 A kind of environmental protection behavior record system
CN110634069A (en) * 2018-06-25 2019-12-31 巍乾全球技术有限责任公司 Method, apparatus, storage medium, and program product for carbon trading
CN111340545A (en) * 2020-02-25 2020-06-26 百度在线网络技术(北京)有限公司 Block chain-based carbon transaction implementation method, device, equipment and medium
CN111464297A (en) * 2020-03-30 2020-07-28 百度国际科技(深圳)有限公司 Transaction processing method and device based on block chain, electronic equipment and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110473105B (en) * 2019-08-20 2024-01-16 深圳市迅雷网络技术有限公司 Block chain transaction settlement method, system and related equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812369A (en) * 2016-03-15 2016-07-27 广东石油化工学院 Traceable anonymous authentication method based on elliptic curve
WO2019134005A1 (en) * 2017-12-26 2019-07-04 Cooner Jason Architecture, systems, and methods used in carbon credit and block chain systems
CN110020943A (en) * 2018-01-10 2019-07-16 巍乾全球技术有限责任公司 Carbon record and method of commerce, equipment, block chain node, computer media and system based on block chain
CN110634069A (en) * 2018-06-25 2019-12-31 巍乾全球技术有限责任公司 Method, apparatus, storage medium, and program product for carbon trading
CN110032600A (en) * 2019-01-15 2019-07-19 加拿大辉莱广告公司 A kind of environmental protection behavior record system
CN111340545A (en) * 2020-02-25 2020-06-26 百度在线网络技术(北京)有限公司 Block chain-based carbon transaction implementation method, device, equipment and medium
CN111464297A (en) * 2020-03-30 2020-07-28 百度国际科技(深圳)有限公司 Transaction processing method and device based on block chain, electronic equipment and medium

Also Published As

Publication number Publication date
CN112288579A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
US11523282B2 (en) Use of geolocation to improve security while protecting privacy
Lopez et al. A multi-layered blockchain framework for smart mobility data-markets
Shi et al. Implicit authentication through learning user behavior
US20180077147A1 (en) Attributed network enabled by search and retreival of privity data from a registry and packaging of the privity data into a digital registration certificate for attributing the data of the attributed network
CN112287379B (en) Service data using method, device, equipment, storage medium and program product
KR102633230B1 (en) Anonymization Overlay Network for De-Identification of Proximity-to-Event Data
CN112288579B (en) Block chain-based carbon emission reduction treatment method, device, equipment and storage medium
Wang et al. Machine learning for mobile network payment security evaluation system
Xu et al. Blockchain-oriented privacy protection of sensitive data in the internet of vehicles
US20200193057A1 (en) Privacy enhanced data lake for a total customer view
CN113569263A (en) Secure processing method and device for cross-private-domain data and electronic equipment
Gaire et al. Crowdsensing and privacy in smart city applications
EP3176779A1 (en) Systems and methods for sensitive audio zone rearrangement
Zhao et al. Blockchain-enabled conditional decentralized vehicular crowdsensing system
Carbunar et al. A survey of privacy vulnerabilities and defenses in geosocial networks
Zhong et al. Connecting human to cyber-world: Security and privacy issues in mobile crowdsourcing networks
Farokhi et al. Private routing and ride‐sharing using homomorphic encryption
Yao et al. Internet of Things positioning technology based intelligent delivery system
Ssekibuule Mobile agent security against malicious platforms
Kaushik et al. Cybercriminal approaches in big data models for automated heavy vehicles
Iorliam Cybersecurity in Nigeria: A Case Study of Surveillance and Prevention of Digital Crime
Han et al. Information privacy of cyber transportation system: Opportunities and challenges
US20210241277A1 (en) Systems and methods for managing fraudulent operations in a plurality of computing devices
Gil Digital Contact Tracing Has Failed: Can It Be Fixed with Better Legal Design?
Zhang Application of hybrid encryption algorithm in physical layer software control

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant