CN117635145B - Block chain-based carbon transaction method and device, electronic equipment and storage medium - Google Patents

Block chain-based carbon transaction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117635145B
CN117635145B CN202410108136.8A CN202410108136A CN117635145B CN 117635145 B CN117635145 B CN 117635145B CN 202410108136 A CN202410108136 A CN 202410108136A CN 117635145 B CN117635145 B CN 117635145B
Authority
CN
China
Prior art keywords
carbon
transaction
party
selling
purchasing
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
CN202410108136.8A
Other languages
Chinese (zh)
Other versions
CN117635145A (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.)
China Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
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 China Academy of Information and Communications Technology CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN202410108136.8A priority Critical patent/CN117635145B/en
Publication of CN117635145A publication Critical patent/CN117635145A/en
Application granted granted Critical
Publication of CN117635145B publication Critical patent/CN117635145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the disclosure discloses a blockchain-based carbon transaction method and device, an electronic device and a storage medium, wherein the method comprises the following steps: acquiring carbon purchasing information issued by at least one carbon purchasing party through an intelligent contract through a block chain, and acquiring carbon selling information issued by at least one carbon selling party through the block chain; performing a carbon transaction match between the at least one carbon purchasing party and the at least one carbon selling party based on the carbon purchase information and the carbon selling information, and a transaction constraint of the smart contract; generating a carbon trade contract order based on a carbon trade match result between the at least one carbon purchasing party and the at least one carbon selling party; and conducting carbon transaction based on the carbon transaction contract order, and storing carbon transaction results to the blockchain. The embodiment of the disclosure realizes tamper resistance of the carbon transaction data and improves the transaction matching efficiency of the carbon transaction.

Description

Block chain-based carbon transaction method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a blockchain-based carbon transaction method and apparatus, an electronic device, and a storage medium.
Background
The effects of global climate change are increasingly challenging for all human survival and development, moving toward carbon neutralization to full sphere consensus. Carbon removal and carbon reduction through carbon trading is an important path for achieving carbon neutralization.
The existing carbon transaction method has the defects that the data of carbon transaction are easy to tamper and an effective carbon transaction optimizing means is lacked.
Disclosure of Invention
The embodiment of the disclosure provides a blockchain-based carbon transaction method and device, electronic equipment and a storage medium, so as to solve the problem that carbon transaction data are easy to tamper.
In a first aspect of embodiments of the present disclosure, there is provided a blockchain-based carbon transaction method, including:
Acquiring carbon purchase information issued by at least one carbon purchasing party through an intelligent contract through a blockchain, and acquiring carbon selling information issued by at least one carbon selling party through the blockchain, wherein the carbon purchase information comprises an identity mark, a carbon collecting quotation and a purchase demand of each carbon purchasing party in the at least one carbon purchasing party, and the carbon selling information comprises a carbon selling quotation and a carbon selling quantity of each carbon selling party in the at least one carbon purchasing party;
Performing a carbon transaction match between the at least one carbon purchasing party and the at least one carbon selling party based on the carbon purchase information and the carbon selling information, and a transaction constraint of the smart contract;
Generating a carbon trade contract order based on a carbon trade match result between the at least one carbon purchasing party and the at least one carbon selling party;
And conducting carbon transaction based on the carbon transaction contract order, and storing carbon transaction results to the blockchain.
In some embodiments of the present disclosure, the transaction constraints of the smart contract include at least one of a credit condition of the carbon seller, an enterprise information condition of the carbon seller, a transaction time condition, and a transaction payment condition.
In some embodiments of the present disclosure, prior to the storing the carbon transaction results to the blockchain, comprising:
Determining a second credit value of the carbon seller based on the contracted carbon transaction amount and the actual carbon transaction amount of the carbon transaction and the first credit value of the carbon seller, wherein the first credit value of the carbon seller is the credit value of the carbon seller before the carbon transaction is carried out, and the second credit value of the carbon seller is the credit value of the carbon seller after the carbon transaction is completed;
and if the second credit value of the carbon seller is lower than the first credit value threshold, prohibiting the carbon seller from carrying out carbon transaction after the carbon transaction is completed.
In some embodiments of the present disclosure, prior to the storing the carbon transaction results to the blockchain, comprising:
Determining a second credit value of the carbon purchasing party based on the first credit value and the evaluation grade of the carbon purchasing party, wherein the first credit value of the carbon purchasing party is a credit value of the carbon purchasing party before the carbon transaction is carried out, and the second credit value of the carbon purchasing party is a credit value of the carbon purchasing party after the carbon transaction is completed;
And if the second credit value of the carbon purchasing party is lower than a second credit value threshold, prohibiting the carbon purchasing party from carrying out carbon transaction after the carbon transaction is completed.
In some embodiments of the present disclosure, after the conducting the carbon trade based on the carbon trade contract order and storing carbon trade results to the blockchain, further comprising:
And adjusting at least one of credit information of a carbon purchasing party of the carbon transaction and credit information of a carbon selling party of the carbon transaction based on the transaction evaluation information of the carbon transaction, wherein the transaction evaluation information of the carbon transaction comprises at least one of the evaluation information of the carbon purchasing party of the carbon transaction and the evaluation information of the carbon selling party of the carbon transaction.
In some embodiments of the present disclosure, the performing carbon transaction matching between the at least one carbon purchasing party and the at least one carbon selling party based on the carbon purchasing information and the carbon selling information, and the transaction constraints of the smart contract, comprises:
and carrying out carbon transaction matching between the at least one carbon purchasing party and the at least one carbon selling party based on the transaction constraint condition of the intelligent contract, the identity of each carbon purchasing party in the at least one carbon purchasing party, the credit information, the carbon collecting quotation and the purchasing demand, and the credit information, the carbon selling quotation and the carbon selling quantity of each carbon selling party in the at least one carbon purchasing party.
In a second aspect of embodiments of the present disclosure, there is provided a blockchain-based carbon transaction device, comprising:
The information acquisition module is used for acquiring carbon purchase information issued by at least one carbon purchasing party through an intelligent contract through a blockchain, and acquiring carbon selling information issued by at least one carbon selling party through the blockchain, wherein the carbon purchase information comprises an identity mark, a carbon collecting quotation and a purchase demand of each carbon purchasing party in the at least one carbon purchasing party, and the carbon selling information comprises a carbon selling quotation and a carbon selling quantity of each carbon selling party in the at least one carbon purchasing party;
a transaction matching module for performing carbon transaction matching between the at least one carbon purchasing party and the at least one carbon selling party based on the carbon purchasing information and the carbon selling information, and a transaction constraint condition of the smart contract;
An order generation module for generating a carbon trade contract order based on a carbon trade matching result between the at least one carbon purchasing party and the at least one carbon selling party;
And the transaction storage module is used for carrying out carbon transaction based on the carbon transaction contract order and storing a carbon transaction result to the blockchain.
In some embodiments of the present disclosure, the transaction constraints of the smart contract include at least one of a credit condition of the carbon seller, an enterprise information condition of the carbon seller, a transaction time condition, and a transaction payment condition.
In some embodiments of the present disclosure, further comprising:
A carbon seller information processing module, configured to determine a second credit value of the carbon seller based on a contract carbon transaction amount and an actual carbon transaction amount of the carbon transaction, and a first credit value of the carbon seller, where the first credit value of the carbon seller is a credit value of the carbon seller before the carbon transaction is performed, and the second credit value of the carbon seller is a credit value of the carbon seller after the carbon transaction is completed; the carbon seller information processing module is further configured to prohibit the carbon seller from conducting the carbon transaction after the carbon transaction is completed if the second credit value of the carbon seller is lower than the first credit value threshold.
In some embodiments of the present disclosure, further comprising:
The carbon purchasing side information processing module is used for determining a second credit value of the carbon purchasing side based on the first credit value and the evaluation level of the carbon purchasing side, wherein the first credit value of the carbon purchasing side is a credit value of the carbon purchasing side before the carbon transaction is carried out, and the second credit value of the carbon purchasing side is a credit value of the carbon purchasing side after the carbon transaction is completed; the carbon purchasing party information processing module is further configured to prohibit the carbon selling party from performing the carbon transaction after the carbon transaction is completed if the second credit value of the carbon selling party is lower than the first credit value threshold.
In some embodiments of the present disclosure, further comprising:
And the credit information adjustment module is used for adjusting at least one of credit information of a carbon purchasing party of the carbon transaction and credit information of a carbon selling party of the carbon transaction based on the transaction evaluation information of the carbon transaction, wherein the transaction evaluation information of the carbon transaction comprises at least one of the evaluation information of the carbon purchasing party of the carbon transaction and the evaluation information of the carbon selling party of the carbon transaction.
In some embodiments of the present disclosure, the transaction matching module is configured to perform a carbon transaction match between the at least one carbon purchasing party and the at least one carbon selling party based on the transaction constraints of the smart contract, the identity of each of the at least one carbon purchasing party, the credit information, the carbon pick up price, and the purchase demand, and the credit information, the carbon sell price, and the carbon sell volume of each of the at least one carbon purchasing party.
In a third aspect of the disclosed embodiments, there is provided an electronic device, including:
A memory for storing a computer program product;
a processor for executing the computer program product stored in the memory, and when the computer program product is executed, implementing the method according to the first aspect.
In a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of the first aspect described above.
According to the blockchain-based carbon transaction method and device, the electronic equipment and the storage medium, the characteristics that the data of the blockchain is not tamperable are utilized, the carbon purchasing information and the carbon selling information are obtained based on the intelligent contract, the carbon transaction is facilitated between the carbon purchasing party and the carbon selling party by combining the transaction constraint condition of the intelligent contract, and the carbon transaction result is stored in the blockchain, so that the tamper resistance of the carbon transaction data is realized, and the transaction matching efficiency of the carbon transaction is improved.
The technical scheme of the present disclosure is described in further detail below through the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
The disclosure may be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings in which:
FIG. 1 is a flow chart of a blockchain-based carbon transaction method in an embodiment of the present disclosure;
FIG. 2 is a block diagram of a blockchain-based carbon transaction device in an embodiment of the present disclosure;
fig. 3 is a block diagram of an electronic device in one embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless it is specifically stated otherwise.
It will be appreciated by those of skill in the art that the terms "first," "second," etc. in embodiments of the present disclosure are used merely to distinguish between different steps, devices or modules, etc., and do not represent any particular technical meaning nor necessarily logical order between them.
It should also be understood that in embodiments of the present disclosure, "plurality" may refer to two or more, and "at least one" may refer to one, two or more.
It should also be appreciated that any component, data, or structure referred to in the presently disclosed embodiments may be generally understood as one or more without explicit limitation or the contrary in the context.
In addition, the term "and/or" in this disclosure is merely an association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the front and rear association objects are an or relationship.
It should also be understood that the description of the various embodiments of the present disclosure emphasizes the differences between the various embodiments, and that the same or similar features may be referred to each other, and for brevity, will not be described in detail.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Embodiments of the present disclosure may be applicable to electronic devices such as terminal devices, computer systems, servers, etc., which may operate with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with the terminal device, computer system, server, or other electronic device include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, mainframe computer systems, and distributed cloud computing technology environments that include any of the foregoing, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server may be implemented in a distributed cloud computing environment in which tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including memory storage devices.
FIG. 1 is a flow chart of a blockchain-based carbon transaction method in an embodiment of the present disclosure. As shown in fig. 1, the blockchain-based carbon transaction method includes the steps of:
s1: and acquiring carbon purchasing information issued by at least one carbon purchasing party through the intelligent contract through the block chain, and acquiring carbon selling information issued by at least one carbon selling party through the block chain. The carbon purchasing information comprises an identity mark, a carbon collecting quotation and a purchasing demand of each of the at least one carbon purchasing party, and the carbon selling information comprises a carbon selling quotation and a carbon selling quantity of each of the at least one carbon purchasing party.
The participating subjects of each carbon transaction register on the blockchain carbon trading platform prior to conducting the carbon transaction. Wherein the participating subject of the carbon transaction comprises the at least one carbon purchasing party and the at least one carbon selling party. The registration method of the participation subject of the carbon transaction in the carbon transaction platform of the blockchain can comprise the following steps: the participation main body of the carbon transaction sends a registration request through the carbon transaction platform, and the distributed identification (Blockchain-Based ID, BID) and the corresponding private key of the participation main body of the carbon transaction are acquired through the carbon transaction platform, so that the BID account number of the participation main body of the carbon transaction is acquired.
After each participant in the carbon transaction is registered on the carbon transaction platform, the carbon transaction platform grants an initial credit value to each participant. Each participating entity may then apply for release of carbon procurement information or carbon sales information on the carbon trading platform. After receiving the carbon purchase information or the carbon selling information, the carbon transaction platform verifies the authenticity of the carbon purchase information or the carbon selling information, and after verification is passed, the carbon purchase information or the carbon selling information is allowed to be issued.
And when the carbon transaction platform is used for matching carbon transaction, acquiring carbon purchase information issued by the at least one carbon purchasing party through the intelligent contract according to the matching condition, and acquiring carbon selling information issued by the at least one carbon selling party. The matching conditions may include information release time, and enterprise qualification conditions of the carbon purchasing party or the carbon selling party, etc. The carbon transaction platform can extract the identity mark, the carbon collection quotation and the purchase demand of each carbon purchasing party from the carbon purchase information issued by the at least one carbon purchasing party through the intelligent contract, and can extract the carbon selling quotation and the carbon selling quantity of each carbon selling party from the carbon selling information issued by the at least one carbon selling party.
S2: carbon trade matching is performed between the at least one carbon purchasing party and the at least one carbon selling party based on the carbon purchase information and the carbon selling information, and the trade constraints of the smart contract.
When a transaction constraint condition is set in the intelligent contract, the carbon picking quotation and the purchasing demand in the carbon purchasing information and the carbon selling quotation and the carbon selling amount in the carbon selling information need to be matched under the transaction constraint condition. Wherein the trade constraint is used to constrain the qualification, historical trade volume and credit of the trade object that the carbon buyer wants to conduct the carbon trade, etc.
S3: a carbon trade contract order is generated based on a carbon trade match between the at least one carbon purchasing party and the at least one carbon selling party.
When the carbon transaction platform is successful in matching carbon transaction, carbon transaction prompt information can be sent to the successfully matched carbon purchasing party and the successfully matched carbon selling party respectively. The carbon transaction prompt information sent to the carbon purchasing party by the carbon transaction platform may include: and under the condition that the carbon transaction matching is successful, the enterprise information, the carbon selling price and the carbon selling amount of at least one carbon seller. The carbon transaction prompt information sent to the carbon seller by the transaction platform may include: and under the condition that the carbon transaction matching is successful, at least one of enterprise information, carbon picking quotation and purchasing demand of the carbon purchasing party.
For the same carbon trade, a carbon trade contract order is generated when both the carbon purchasing party and the carbon selling party confirm that the carbon trade is ready.
S4: carbon trade is conducted based on the carbon trade contract order, and carbon trade results are stored to the blockchain.
In the embodiment, the characteristic that the data of the blockchain is not tamperable is utilized, carbon purchasing information and carbon selling information are obtained based on the intelligent contract, carbon transaction is facilitated between the carbon purchasing party and the carbon selling party by combining the transaction constraint condition of the intelligent contract, and a carbon transaction result is stored in the blockchain, so that the tamper resistance of the carbon transaction data is realized, and the transaction matching efficiency of the carbon transaction is improved.
In some embodiments of the present disclosure, the transaction constraints of the smart contract include at least one of a credit condition of the carbon seller, an enterprise information condition of the carbon seller, a transaction time condition, and a transaction payment condition.
When matching carbon transaction, the carbon transaction platform can match the credit of the carbon purchasing party, the enterprise qualification, the transaction time and the transaction payment condition of the carbon purchasing party according to the transaction constraint condition of the intelligent contract of the carbon purchasing party, besides matching the carbon purchasing quotation with the carbon selling quotation and between the too-high demand and the carbon selling quotation, so that the carbon purchasing party meeting the demand of the carbon purchasing party is quickly found, and the transaction success rate of the carbon transaction is further improved.
In this embodiment, in addition to matching between the carbon picking offer and the carbon selling offer and between the too-high demand and the carbon selling amount, credit and enterprise qualification of the carbon selling party, and transaction time and transaction payment conditions for carbon transaction can be matched, so that the carbon selling party meeting the demand of the carbon purchasing party can be quickly found, and further the transaction success rate of the carbon transaction is improved.
In some embodiments of the present disclosure, prior to storing the carbon transaction results to the blockchain, it may include:
S4-A-1: a second credit value for the carbon seller is determined based on the contracted carbon transaction amount and the actual carbon transaction amount for the carbon transaction, and the first credit value for the carbon seller. The first credit value of the carbon seller is the credit value of the carbon seller before the carbon transaction is carried out, and the second credit value of the carbon seller is the credit value of the carbon seller after the carbon transaction is completed.
The second credit value for the carbon seller may be determined by the following formula:
αn=[min(C/Cn,1)×d+αn-1]/2
Wherein α n represents the credit value after the nth transaction of the carbon seller, C represents the actual carbon transaction amount, C n represents the contract carbon transaction amount, and d is the credit value parameter (also represents the initial credit). When a first credit value for a carbon seller is denoted by α n-1, α n may represent a second credit value for the carbon seller.
S4-A-2: and if the second credit value of the carbon seller is lower than the first credit value threshold, prohibiting the carbon seller from conducting the carbon transaction after the carbon transaction is completed.
The first credit threshold is the lowest credit value of the carbon selling enterprise trading on the carbon trading platform, and when the second credit value of the carbon selling party is lower than the first credit threshold, the carbon trading platform can prohibit the carbon selling party from trading carbon.
In this embodiment, the credit value of the carbon seller after the carbon trade is performed can be adjusted according to the difference between the contract carbon trade amount and the actual carbon trade amount of the carbon trade. And when the credit value of the carbon seller is too low, namely when the second credit value of the carbon seller is lower than the first credit value threshold, prohibiting the carbon seller from carrying out carbon transaction, and ensuring the transaction credit environment of the carbon transaction.
In some embodiments of the present disclosure, prior to storing the carbon transaction results to the blockchain, it may further include:
S4-B-1: a second credit value for the carbon purchasing party is determined based on the first credit value and the rating of the carbon purchasing party. The first credit value of the carbon purchasing party is the credit value of the carbon purchasing party before the carbon transaction is carried out, and the second credit value of the carbon purchasing party is the credit value of the carbon purchasing party after the carbon transaction is completed.
The second credit value for the carbon ordering party may be determined by the following formula:
βn=[J×d+βn-1]/2,J=0.2,0.4,0.6,0.8,1
Wherein, beta n represents the credit value of the carbon purchasing party after the nth transaction, J represents the evaluation value of the carbon purchasing party, and different evaluation grades have different values. When beta n-1 is used to represent a first credit value for a carbon buyer, beta n may represent a second credit value for a carbon seller.
S4-B-2: and if the second credit value of the carbon purchasing party is lower than the second credit value threshold value, prohibiting the carbon purchasing party from carrying out the carbon transaction after the carbon transaction is completed.
The second credit threshold is the lowest credit value of the carbon purchasing enterprise for carrying out the transaction on the carbon transaction platform, and when the second credit value of the carbon purchasing party is lower than the second credit threshold, the carbon transaction platform can prohibit the carbon purchasing party from carrying out the carbon transaction.
In this embodiment, the credit value of the carbon purchasing party after the carbon transaction is performed may be adjusted according to the evaluation level of the carbon purchasing party. And when the credit value of the carbon purchasing party is too low, namely when the second credit value of the carbon selling party is lower than the second credit value threshold, prohibiting the carbon purchasing party from carrying out carbon transaction, and ensuring the transaction credit environment of the carbon transaction.
In one embodiment of the present disclosure, after step S4, it may further include:
S5: and adjusting at least one of credit information of a carbon purchasing party of the carbon transaction and credit information of a carbon selling party of the carbon transaction based on transaction evaluation information of the carbon transaction, wherein the transaction evaluation information of the carbon transaction comprises at least one of evaluation information of the carbon purchasing party of the carbon transaction and evaluation information of the carbon selling party of the carbon transaction.
After each carbon transaction is completed, the carbon transaction platform can correspondingly adjust the credit value of the two carbon transaction parties according to the transaction evaluation information of the two carbon transaction parties on each other.
In this embodiment, after each carbon transaction is completed, the credit values of the two carbon transaction parties can be adjusted according to the transaction evaluation information of the two carbon transaction parties, so as to perfect the credit evaluation system of the carbon transaction and ensure the transaction credit environment of the carbon transaction.
In one embodiment of the present disclosure, step S2 may include: and carrying out carbon transaction matching between the at least one carbon purchasing party and the at least one carbon selling party based on the transaction constraint condition of the intelligent contract, the identity mark, the credit information, the carbon collecting quotation and the purchasing demand of each carbon purchasing party in the at least one carbon purchasing party, and the credit information, the carbon selling quotation and the carbon selling quantity of each carbon selling party in the at least one carbon purchasing party.
When matching carbon transaction, the carbon transaction platform preferentially carries out matching transaction on the premise of ensuring valuation lattice matching aiming at enterprises with better credit, and can determine the ordering when the matching of the carbon transaction is successful by adopting the following formula:
γ=[(αnn)×P]/2d
wherein P represents the carbon pick-up quotation of the carbon purchasing party.
In this embodiment, when matching carbon transactions, for enterprises with better credit, the matching transactions are preferentially performed on the premise of ensuring valuation grid matching, so as to ensure the transaction credit environment of the carbon transactions.
FIG. 2 is a block diagram of a blockchain-based carbon transaction device in an embodiment of the present disclosure. As shown in fig. 2, a blockchain-based carbon transaction device includes:
the information obtaining module 100 is configured to obtain, through a blockchain, carbon purchase information that is issued by at least one carbon buyer through an intelligent contract, and obtain, through the blockchain, carbon sales information that is issued by at least one carbon seller, where the carbon purchase information includes an identity of each of the at least one carbon buyer, a carbon acquisition offer, and a purchase demand, and the carbon sales information includes a carbon sales offer and a carbon sales amount of each of the at least one carbon buyer;
a transaction matching module 200 for performing carbon transaction matching between at least one carbon purchasing party and at least one carbon selling party based on the carbon purchasing information and the carbon selling information, and the transaction constraint condition of the intelligent contract;
An order generation module 300 for generating a carbon trade contract order based on a carbon trade match between at least one carbon purchasing party and at least one carbon selling party;
The transaction storage module 400 is used for conducting carbon transaction based on the carbon transaction contract order and storing carbon transaction results to the blockchain.
In some embodiments of the present disclosure, the transaction constraints of the smart contract include at least one of a credit condition of the carbon seller, an enterprise information condition of the carbon seller, a transaction time condition, and a transaction payment condition.
In some embodiments of the present disclosure, the blockchain-based carbon transaction device further includes:
the system comprises a carbon seller information processing module, a carbon seller information processing module and a carbon seller information processing module, wherein the carbon seller information processing module is used for determining a second credit value of a carbon seller based on a contract carbon transaction amount and an actual carbon transaction amount of carbon transaction and a first credit value of the carbon seller, wherein the first credit value of the carbon seller is a credit value of the carbon seller before the carbon transaction is carried out, and the second credit value of the carbon seller is a credit value of the carbon seller after the carbon transaction is completed; the carbon seller information processing module is further configured to prohibit the carbon seller from conducting the carbon transaction after the carbon transaction is completed if the second credit value of the carbon seller is lower than the first credit value threshold.
In some embodiments of the present disclosure, the blockchain-based carbon transaction device further includes:
The carbon purchasing side information processing module is used for determining a second credit value of the carbon purchasing side based on the first credit value and the evaluation grade of the carbon purchasing side, wherein the first credit value of the carbon purchasing side is the credit value of the carbon purchasing side before the carbon purchasing side performs the carbon transaction, and the second credit value of the carbon purchasing side is the credit value of the carbon purchasing side after the carbon transaction is completed; the carbon purchasing party information processing module is further used for prohibiting the carbon selling party from carrying out the carbon transaction after the carbon transaction is completed if the second credit value of the carbon selling party is lower than the first credit value threshold.
In some embodiments of the present disclosure, the blockchain-based carbon transaction device further includes:
And the credit information adjustment module is used for adjusting at least one of credit information of a carbon purchasing party of the carbon transaction and credit information of a carbon selling party of the carbon transaction based on transaction evaluation information of the carbon transaction, wherein the transaction evaluation information of the carbon transaction comprises at least one of evaluation information of the carbon purchasing party of the carbon transaction and evaluation information of the carbon selling party of the carbon transaction.
In some embodiments of the present disclosure, the transaction matching module 200 is configured to perform carbon transaction matching between at least one carbon purchasing party and at least one carbon selling party based on the transaction constraints of the smart contract, the identity of each of the at least one carbon purchasing party, the credit information, the carbon pick up price, and the purchase demand, and the credit information, the carbon sell price, and the carbon sell amount of each of the at least one carbon purchasing party.
It should be noted that, the detailed implementation of the blockchain-based carbon transaction device in the embodiments of the present disclosure is similar to the detailed implementation of the blockchain-based carbon transaction method in the embodiments of the present disclosure, and specific reference is made to the description of the blockchain-based carbon transaction method section, and for redundancy reduction, a detailed description is omitted.
In addition, the embodiment of the disclosure also provides an electronic device, which comprises:
A memory for storing a computer program;
A processor, configured to execute a computer program stored in the memory, and when the computer program is executed, implement the blockchain-based carbon transaction method according to any of the embodiments of the present disclosure.
Next, an electronic device according to an embodiment of the present disclosure is described with reference to fig. 3. As shown in fig. 3, the electronic device includes one or more processors and memory.
The processor may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or instruction execution capabilities, and may control other components in the electronic device to perform the desired functions.
The memory may store one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or nonvolatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program products may be stored on the computer readable storage medium that can be run by a processor to implement the blockchain-based carbon transaction methods and/or other desired functions of the various embodiments of the present disclosure as described above.
In one example, the electronic device may further include: input devices and output devices, which are interconnected by a bus system and/or other forms of connection mechanisms (not shown).
In addition, the input device may include, for example, a keyboard, a mouse, and the like.
The output device may output various information including the determined distance information, direction information, etc., to the outside. The output device may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, etc.
Of course, only some of the components of the electronic device relevant to the present disclosure are shown in fig. 3 for simplicity, components such as buses, input/output interfaces, etc. being omitted. In addition, the electronic device may include any other suitable components depending on the particular application.
In addition to the methods and apparatus described above, embodiments of the present disclosure may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the blockchain-based carbon transaction methods described in the above section of the specification according to various embodiments of the present disclosure.
The computer program product may write program code for performing the operations of embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Further, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform steps in a blockchain-based carbon transaction method according to various embodiments of the present disclosure described in the above section of the present description.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The basic principles of the present disclosure have been described above in connection with specific embodiments, but it should be noted that the advantages, benefits, effects, etc. mentioned in the present disclosure are merely examples and not limiting, and these advantages, benefits, effects, etc. are not to be considered as necessarily possessed by the various embodiments of the present disclosure. Furthermore, the specific details disclosed herein are for purposes of illustration and understanding only, and are not intended to be limiting, since the disclosure is not necessarily limited to practice with the specific details described.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, so that the same or similar parts between the embodiments are mutually referred to. For system embodiments, the description is relatively simple as it essentially corresponds to method embodiments, and reference should be made to the description of method embodiments for relevant points.
The block diagrams of the devices, apparatuses, devices, systems referred to in this disclosure are merely illustrative examples and are not intended to require or imply that the connections, arrangements, configurations must be made in the manner shown in the block diagrams. As will be appreciated by one of skill in the art, the devices, apparatuses, devices, systems may be connected, arranged, configured in any manner. Words such as "including," "comprising," "having," and the like are words of openness and mean "including but not limited to," and are used interchangeably therewith. The terms "or" and "as used herein refer to and are used interchangeably with the term" and/or "unless the context clearly indicates otherwise. The term "such as" as used herein refers to, and is used interchangeably with, the phrase "such as, but not limited to.
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the apparatus, devices and methods of the present disclosure, components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered equivalent to the present disclosure.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the disclosure to the form disclosed herein. Although a number of example aspects and embodiments have been discussed above, a person of ordinary skill in the art will recognize certain variations, modifications, alterations, additions, and subcombinations thereof.

Claims (12)

1. A blockchain-based carbon transaction method, comprising:
Acquiring carbon purchase information issued by at least one carbon purchasing party through an intelligent contract through a blockchain, and acquiring carbon selling information issued by at least one carbon selling party through the blockchain, wherein the carbon purchase information comprises an identity mark, a carbon collecting quotation and a purchase demand of each carbon purchasing party in the at least one carbon purchasing party, and the carbon selling information comprises a carbon selling quotation and a carbon selling quantity of each carbon selling party in the at least one carbon purchasing party;
Performing a carbon transaction match between the at least one carbon purchasing party and the at least one carbon selling party based on the carbon purchase information and the carbon selling information, and a transaction constraint of the smart contract;
Generating a carbon trade contract order based on a carbon trade match result between the at least one carbon purchasing party and the at least one carbon selling party;
Performing carbon trade based on the carbon trade contract order and storing carbon trade results to the blockchain;
Wherein prior to said storing the carbon transaction result to the blockchain, comprising:
Determining a second credit value of the carbon seller based on the contracted carbon transaction amount and the actual carbon transaction amount of the carbon transaction and the first credit value of the carbon seller, wherein the first credit value of the carbon seller is the credit value of the carbon seller before the carbon transaction is carried out, and the second credit value of the carbon seller is the credit value of the carbon seller after the carbon transaction is completed;
and if the second credit value of the carbon seller is lower than the first credit value threshold, prohibiting the carbon seller from carrying out carbon transaction after the carbon transaction is completed.
2. The method of claim 1, wherein the transaction constraints of the smart contract include at least one of a credit condition of a carbon seller, an enterprise information condition of a carbon seller, a transaction time condition, and a transaction payment condition.
3. The method of claim 1 or 2, comprising, prior to said storing carbon transaction results to the blockchain:
Determining a second credit value of the carbon purchasing party based on the first credit value and the evaluation grade of the carbon purchasing party, wherein the first credit value of the carbon purchasing party is the credit value of the carbon purchasing party before the carbon transaction is carried out, and the second credit value of the carbon purchasing party is the credit value of the carbon purchasing party after the carbon transaction is completed;
And if the second credit value of the carbon purchasing party is lower than a second credit value threshold, prohibiting the carbon purchasing party from carrying out carbon transaction after the carbon transaction is completed.
4. The method of claim 1 or 2, further comprising, after the conducting a carbon trade based on the carbon trade contract order and storing carbon trade results to the blockchain:
And adjusting at least one of credit information of a carbon purchasing party of the carbon transaction and credit information of a carbon selling party of the carbon transaction based on the transaction evaluation information of the carbon transaction, wherein the transaction evaluation information of the carbon transaction comprises at least one of the evaluation information of the carbon purchasing party of the carbon transaction and the evaluation information of the carbon selling party of the carbon transaction.
5. The method of claim 1 or 2, wherein the conducting a carbon transaction match between the at least one carbon purchasing party and the at least one carbon selling party based on the carbon procurement information and the carbon selling information, and the transaction constraints of the smart contract, comprises:
and carrying out carbon transaction matching between the at least one carbon purchasing party and the at least one carbon selling party based on the transaction constraint condition of the intelligent contract, the identity of each carbon purchasing party in the at least one carbon purchasing party, the credit information, the carbon collecting quotation and the purchasing demand, and the credit information, the carbon selling quotation and the carbon selling quantity of each carbon selling party in the at least one carbon purchasing party.
6. A blockchain-based carbon transaction device, comprising:
The information acquisition module is used for acquiring carbon purchase information issued by at least one carbon purchasing party through an intelligent contract through a blockchain, and acquiring carbon selling information issued by at least one carbon selling party through the blockchain, wherein the carbon purchase information comprises an identity mark, a carbon collecting quotation and a purchase demand of each carbon purchasing party in the at least one carbon purchasing party, and the carbon selling information comprises a carbon selling quotation and a carbon selling quantity of each carbon selling party in the at least one carbon purchasing party;
a transaction matching module for performing carbon transaction matching between the at least one carbon purchasing party and the at least one carbon selling party based on the carbon purchasing information and the carbon selling information, and a transaction constraint condition of the smart contract;
An order generation module for generating a carbon trade contract order based on a carbon trade matching result between the at least one carbon purchasing party and the at least one carbon selling party;
A carbon seller information processing module, configured to determine a second credit value of the carbon seller based on a contract carbon transaction amount and an actual carbon transaction amount of the carbon transaction, and a first credit value of the carbon seller, where the first credit value of the carbon seller is a credit value of the carbon seller before the carbon transaction is performed, and the second credit value of the carbon seller is a credit value of the carbon seller after the carbon transaction is completed; the carbon seller information processing module is further configured to prohibit the carbon seller from performing the carbon transaction after the carbon transaction is completed if the second credit value of the carbon seller is lower than a first credit value threshold;
And the transaction storage module is used for carrying out carbon transaction based on the carbon transaction contract order and storing a carbon transaction result to the blockchain.
7. The apparatus of claim 6, wherein the transaction constraints of the smart contract include at least one of a credit condition of a carbon seller, an enterprise information condition of a carbon seller, a transaction time condition, and a transaction payment condition.
8. The apparatus according to claim 6 or 7, further comprising:
The carbon purchasing side information processing module is used for determining a second credit value of the carbon purchasing side based on the first credit value and the evaluation grade of the carbon purchasing side, wherein the first credit value of the carbon purchasing side is the credit value of the carbon purchasing side before the carbon transaction is carried out, and the second credit value of the carbon purchasing side is the credit value of the carbon purchasing side after the carbon transaction is completed; the carbon purchasing party information processing module is further configured to prohibit the carbon selling party from performing the carbon transaction after the carbon transaction is completed if the second credit value of the carbon selling party is lower than the first credit value threshold.
9. The apparatus according to claim 6 or 7, further comprising:
And the credit information adjustment module is used for adjusting at least one of credit information of a carbon purchasing party of the carbon transaction and credit information of a carbon selling party of the carbon transaction based on the transaction evaluation information of the carbon transaction, wherein the transaction evaluation information of the carbon transaction comprises at least one of the evaluation information of the carbon purchasing party of the carbon transaction and the evaluation information of the carbon selling party of the carbon transaction.
10. The apparatus of claim 6 or 7, wherein the transaction matching module is configured to perform a carbon transaction match between the at least one carbon purchasing party and the at least one carbon selling party based on the transaction constraints of the smart contract, the identity of each of the at least one carbon purchasing party, the credit information, the carbon pick up price, and the purchase demand, and the credit information, the carbon sell price, and the carbon sell price for each of the at least one carbon purchasing party.
11. An electronic device, comprising:
A memory for storing a computer program product;
A processor for executing a computer program product stored in said memory, which, when executed, implements the method of any of the preceding claims 1-5.
12. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of the preceding claims 1-5.
CN202410108136.8A 2024-01-26 2024-01-26 Block chain-based carbon transaction method and device, electronic equipment and storage medium Active CN117635145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410108136.8A CN117635145B (en) 2024-01-26 2024-01-26 Block chain-based carbon transaction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410108136.8A CN117635145B (en) 2024-01-26 2024-01-26 Block chain-based carbon transaction method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117635145A CN117635145A (en) 2024-03-01
CN117635145B true CN117635145B (en) 2024-05-10

Family

ID=90035883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410108136.8A Active CN117635145B (en) 2024-01-26 2024-01-26 Block chain-based carbon transaction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117635145B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007080299A (en) * 2006-12-25 2007-03-29 Sanyo Electric Co Ltd Method and system for carbon trade
CN113763168A (en) * 2021-08-25 2021-12-07 甘肃同兴智能科技发展有限责任公司 Block chain-based carbon asset transaction method and system
CN114140235A (en) * 2021-11-12 2022-03-04 西南林业大学 Credible forestry carbon exchange system and method based on block chain
CN116720647A (en) * 2023-05-05 2023-09-08 山西省安装集团股份有限公司 Carbon asset transaction method and system
CN116777623A (en) * 2023-06-27 2023-09-19 博雅正链(北京)科技有限公司 Carbon transaction platform based on blockchain intelligent contract

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007080299A (en) * 2006-12-25 2007-03-29 Sanyo Electric Co Ltd Method and system for carbon trade
CN113763168A (en) * 2021-08-25 2021-12-07 甘肃同兴智能科技发展有限责任公司 Block chain-based carbon asset transaction method and system
CN114140235A (en) * 2021-11-12 2022-03-04 西南林业大学 Credible forestry carbon exchange system and method based on block chain
CN116720647A (en) * 2023-05-05 2023-09-08 山西省安装集团股份有限公司 Carbon asset transaction method and system
CN116777623A (en) * 2023-06-27 2023-09-19 博雅正链(北京)科技有限公司 Carbon transaction platform based on blockchain intelligent contract

Also Published As

Publication number Publication date
CN117635145A (en) 2024-03-01

Similar Documents

Publication Publication Date Title
CN110263024B (en) Data processing method, terminal device and computer storage medium
US20190354945A1 (en) Real-time buying, selling, and/or trading blockchain-based goods using traditional currency
US10949922B2 (en) Derivative contracts that settle based on transaction data
AU2018282246A1 (en) System, method, and program product for unit transfer fee processing
US20180268483A1 (en) Programmable asset systems and methods
US7783560B2 (en) Credit event fixings
US20220164791A1 (en) Method for distributing collectables ownership based on blockchain networks and online transaction server using the same
KR102447254B1 (en) Exchange operation method and system for supporting high speed transaction execution
US20120166307A1 (en) Determination of permissibility associated with e-commerce transactions
KR102374539B1 (en) Real estate investment brokerage processing server based on security token and operating method thereof
CN114170010A (en) Matching transaction method and device, electronic equipment and storage medium
US20140379544A1 (en) Methods and systems for expedited trading account funding
US20210350366A1 (en) Application queue api with database of virtual queues for real-time processing distributed ledger system
CN110245957A (en) The method for determining trade background authenticity and assessing enterprise trade background authenticity
US6760710B1 (en) Process and products produced thereby, apparatus, and articles of manufacture, for computerized conversion of preferred-return instruments
WO2024119789A1 (en) Fund releasing method and apparatus, and computer device and readable storage medium
CN117635145B (en) Block chain-based carbon transaction method and device, electronic equipment and storage medium
KR102634818B1 (en) Method and appartus for supproting transactions of commodites
US20150149340A1 (en) Tandem Options Contracts Providing Fixed Binary Payout
US20220012807A1 (en) Dynamic Format Electronic Confirmations
US8538839B2 (en) System, method, and program product for unit transfer fee processing
KR20210080748A (en) Method for processing covering of cryptocurrency collateral and System for the same
KR102188444B1 (en) Method for mediating financial transaction based on blockchain and manager server using the same
CN112308719B (en) Virtual resource acquisition method, device, server and storage medium
US20040002911A1 (en) Method for the electronic processing of share transactions

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