CN117994031A - Enterprise carbon information asset transaction method based on RSA algorithm and blockchain - Google Patents
Enterprise carbon information asset transaction method based on RSA algorithm and blockchain Download PDFInfo
- Publication number
- CN117994031A CN117994031A CN202311597671.6A CN202311597671A CN117994031A CN 117994031 A CN117994031 A CN 117994031A CN 202311597671 A CN202311597671 A CN 202311597671A CN 117994031 A CN117994031 A CN 117994031A
- Authority
- CN
- China
- Prior art keywords
- carbon
- information asset
- data
- enterprise
- carbon information
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network 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/0442—Network 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及企业碳信息资产交易技术领域,尤其涉及一种基于RSA算法和区块链的企业碳信息资产交易方法。The present invention relates to the technical field of enterprise carbon information asset trading, and in particular to an enterprise carbon information asset trading method based on RSA algorithm and blockchain.
背景技术Background technique
面对日益突出的气候变化问题,合理控制碳排放的前提是实现碳排放的有效监测与预测。IPCC出台的国家温室气体核算指南(2019修订版)、WRI和WBCSD联合建立的《企业核算与报告标准》及基于ISO14064的标准等对企业温室气体的排放和清除制定报告和核查标准,提出从直接排放、电力产生的间接排放和其他间接排放等范围来明确企业排放源,通过收集数据、选择排放因子和应用计算工具汇总企业温室气体排放数据,为开展企业碳核查、碳交易和碳减排提供参考。In the face of the increasingly prominent climate change problem, the premise of reasonable control of carbon emissions is to achieve effective monitoring and prediction of carbon emissions. The National Greenhouse Gas Accounting Guidelines (2019 Revised Edition) issued by the IPCC, the "Corporate Accounting and Reporting Standards" jointly established by WRI and WBCSD, and the ISO14064-based standards have established reporting and verification standards for corporate greenhouse gas emissions and removals, and proposed to clarify corporate emission sources from the scope of direct emissions, indirect emissions from electricity, and other indirect emissions. By collecting data, selecting emission factors, and applying calculation tools to summarize corporate greenhouse gas emission data, it provides a reference for corporate carbon verification, carbon trading, and carbon emission reduction.
目前,申请号为202310417086.7的中国发明,公开了基于区块链的碳资产交易方法及系统,包括主管机构计算本年度碳排放的配额基础量,并根据配额基础量在区块链上发布碳排放配额对应的第一通证,将第一通证直接转入各个重点排放单位的虚拟账户;主管机构预测本年度碳排放的超标量,虽然有利于主管机构对碳排放过程的管理,可使碳排放配额更加合理,但是碳信息资产在数据传输与流动过程中容易出现人为干预,碳信息资产交易过程中企业生产经营数据的私密性和安全性不够强,而且交易流程与交易信息的不够公开透明,交易数据难以追溯。At present, the Chinese invention with application number 202310417086.7 discloses a blockchain-based carbon asset trading method and system, including the competent authority calculating the quota base amount of carbon emissions this year, and issuing the first token corresponding to the carbon emission quota on the blockchain based on the quota base amount, and directly transferring the first token to the virtual account of each key emission unit; the competent authority predicts the excess amount of carbon emissions this year. Although it is beneficial to the competent authority's management of the carbon emission process and can make the carbon emission quota more reasonable, carbon information assets are prone to human intervention during data transmission and flow. The privacy and security of the production and operation data of enterprises in the carbon information asset transaction process are not strong enough, and the transaction process and transaction information are not open and transparent enough, and the transaction data is difficult to trace.
发明内容Summary of the invention
本发明解决的技术问题是:相关技术中的碳信息资产在数据传输与流动过程中容易出现人为干预,碳信息资产交易过程中企业生产经营数据的私密性和安全性不够强,而且交易流程与交易信息的不够公开透明,交易数据难以追溯。The technical problem solved by the present invention is that carbon information assets in related technologies are prone to human intervention during data transmission and flow, the privacy and security of corporate production and operation data during carbon information asset transactions are not strong enough, and the transaction process and transaction information are not open and transparent enough, making transaction data difficult to trace.
为解决上述技术问题,本发明提供如下技术方案:一种基于RSA算法和区块链的企业碳信息资产交易方法,包括建立企业碳信息资产数据集;利用RSA算法对企业碳信息资产数据进行加密,生成加密数据和碳信息资产密匙,并存储所述加密数据;基于碳信息资产密匙在碳信息资产交易平台注册账户,获得交易资格和电子签名,生成区块链节点;碳信息资产买卖双方在交易平台开展双边协商,达成交易订单,卖方获得经济效益,买方获得碳排放企业碳信息资产密匙;碳信息资产买方通过碳信息资产密匙在第三方碳信息资产管理平台解密企业碳信息资产数据;将解密后的碳信息资产数据输入企业碳排放核算的智能合约模块,输出碳排放企业的碳排放数据;碳信息资产买方获得企业的碳排放数据。To solve the above technical problems, the present invention provides the following technical solutions: a corporate carbon information asset trading method based on RSA algorithm and blockchain, comprising establishing an enterprise carbon information asset data set; encrypting the enterprise carbon information asset data using the RSA algorithm to generate encrypted data and a carbon information asset key, and storing the encrypted data; registering an account on a carbon information asset trading platform based on the carbon information asset key, obtaining trading qualifications and electronic signatures, and generating a blockchain node; the buyer and seller of carbon information assets conduct bilateral negotiations on the trading platform to reach a transaction order, the seller obtains economic benefits, and the buyer obtains the carbon information asset key of the carbon emission enterprise; the buyer of carbon information assets decrypts the enterprise carbon information asset data on a third-party carbon information asset management platform through the carbon information asset key; the decrypted carbon information asset data is input into the smart contract module of the enterprise carbon emission accounting, and the carbon emission data of the carbon emission enterprise is output; the buyer of carbon information assets obtains the carbon emission data of the enterprise.
作为本发明所述的基于RSA算法和区块链的企业碳信息资产交易方法的一种优选方案,其中:建立企业碳信息资产数据集包括:As a preferred solution of the enterprise carbon information asset trading method based on RSA algorithm and blockchain described in the present invention, establishing an enterprise carbon information asset data set includes:
碳信息资产数据集包括企业基本信息,煤炭、石油及相关制品、天然气、电力和热力能源消耗历史数据。The carbon information asset data set includes basic enterprise information, historical data on coal, petroleum and related products, natural gas, electricity and thermal energy consumption.
收集碳排放企业在测算时段T期间的碳核算数据,生成企业碳信息资产数据集。Collect carbon accounting data of carbon emission enterprises during the measurement period T to generate enterprise carbon information asset data set.
作为本发明所述的基于RSA算法和区块链的企业碳信息资产交易方法的一种优选方案,其中:利用RSA算法对企业碳信息资产数据进行加密,生成加密数据和碳信息资产密匙,并存储所述加密数据包括:As a preferred solution of the enterprise carbon information asset trading method based on RSA algorithm and blockchain described in the present invention, wherein: using RSA algorithm to encrypt enterprise carbon information asset data, generating encrypted data and carbon information asset key, and storing the encrypted data includes:
随机选取两个不相等的素数P和Q,计算P和Q的乘积N,其数学表达式为:Randomly select two unequal prime numbers P and Q, and calculate the product N of P and Q. The mathematical expression is:
计算N的欧拉函数其数学表达式为:Calculate the Euler function of N Its mathematical expression is:
随机选取一个与互质的整数E,且满足/>计算E对于/>的乘法逆元D,其数学表达式为:Randomly select one with Coprime integers E that satisfy/> Calculate E for/> The multiplicative inverse element D of is expressed as:
从而生成数据密钥,其中数据公钥为(N,E),数据私钥(N,D);Thus, the data key is generated, where the data public key is (N, E) and the data private key is (N, D);
在数据加密过程中,碳排放核算相关原始数据为M,则加密数据的数学表达式为:In the data encryption process, the original data related to carbon emission accounting is M, and the mathematical expression of the encrypted data is:
C=MEmod NC=M E mod N
其中,C表示加密后的数据,M表示企业碳信息资产数据。Among them, C represents encrypted data, and M represents enterprise carbon information asset data.
作为本发明所述的基于RSA算法和区块链的企业碳信息资产交易方法的一种优选方案,其中:基于碳信息资产密匙在碳信息资产交易平台注册账户,获得交易资格和电子签名,生成区块链节点包括:As a preferred solution of the enterprise carbon information asset trading method based on RSA algorithm and blockchain described in the present invention, wherein: registering an account on the carbon information asset trading platform based on the carbon information asset key, obtaining transaction qualifications and electronic signatures, and generating blockchain nodes include:
碳信息资产卖方和买方在碳信息资产交易平台注册平台账户,提交交易平台审核;The seller and buyer of carbon information assets register a platform account on the carbon information asset trading platform and submit it to the trading platform for review;
碳信息资产交易平台审核用户基本信息,其中碳信息资产卖方必须持有碳信息资产数据私钥;The carbon information asset trading platform reviews the basic information of users, and the seller of carbon information assets must hold the private key of carbon information asset data;
经碳信息资产交易平台审核通过后,平台用户获得交易资质,形成区块链交易节点。After being reviewed and approved by the carbon information asset trading platform, platform users obtain trading qualifications and form blockchain trading nodes.
作为本发明所述的基于RSA算法和区块链的企业碳信息资产交易方法的一种优选方案,其中:碳信息资产买卖双方在交易平台开展双边协商,达成交易订单,卖方获得经济效益,买方获得碳排放企业碳信息资产密匙;As a preferred solution of the enterprise carbon information asset trading method based on RSA algorithm and blockchain described in the present invention, wherein: the buyer and seller of carbon information assets conduct bilateral negotiations on the trading platform to reach a transaction order, the seller obtains economic benefits, and the buyer obtains the carbon information asset key of the carbon emission enterprise;
碳信息资产卖方主体在交易平台发布交易信息,所述交易信息包括交易主体名称、碳信息资产数据类型、数据周期等基本信息;The seller of carbon information assets publishes transaction information on the trading platform, which includes basic information such as the name of the trading entity, the type of carbon information asset data, and the data period;
碳信息资产买方主体在交易平台寻找符合交易需求的交易信息;The buyer of carbon information assets searches for transaction information that meets the transaction requirements on the trading platform;
碳信息资产交易双方在交易平台进行双边协商,确定交易信息,形成交易订单智能合约,交易双方提供电子签名;The two parties to the carbon information asset transaction conduct bilateral negotiations on the trading platform to determine the transaction information, form a transaction order smart contract, and provide electronic signatures;
交易订单提交到碳信息资产交易中心审核,审核通过后,将交易订单信息广播至区块链各节点。交易平台和区块链各节点将交易数据信息进行打包,从而形成交易订单信息区块链,交易达成;The transaction order is submitted to the Carbon Information Asset Trading Center for review. After the review is passed, the transaction order information is broadcast to each node of the blockchain. The trading platform and each node of the blockchain package the transaction data information to form a transaction order information blockchain, and the transaction is completed;
在交易执行过程中,碳信息资产买方获得碳信息资产数据私钥,卖方获得经济效益。During the transaction execution process, the buyer of the carbon information asset obtains the private key of the carbon information asset data, and the seller obtains economic benefits.
作为本发明所述的基于RSA算法和区块链的企业碳信息资产交易方法的一种优选方案,其中:碳信息资产买方通过碳信息资产密匙在第三方碳信息资产管理平台解密企业碳信息资产数据;As a preferred solution of the enterprise carbon information asset trading method based on RSA algorithm and blockchain described in the present invention, wherein: the carbon information asset buyer decrypts the enterprise carbon information asset data on the third-party carbon information asset management platform through the carbon information asset key;
碳信息资产买方凭借密匙在第三方碳信息资产管理平台解密企业碳信息资产数据,其数学表达式为:The buyer of carbon information assets uses the key to decrypt the enterprise carbon information asset data on the third-party carbon information asset management platform. The mathematical expression is:
CDmod N=MC D mod N=M
其中,将密匙带入该表达式进行解密,得到企业碳信息资产数据。Among them, the key is brought into the expression for decryption to obtain the enterprise carbon information asset data.
作为本发明所述的基于RSA算法和区块链的企业碳信息资产交易方法的一种优选方案,其中:经密匙解密的碳核算数据输入企业碳排放核算的智能合约模块,输出碳排放企业的碳排放数据,其数学表达式为:As a preferred solution of the enterprise carbon information asset trading method based on RSA algorithm and blockchain described in the present invention, the carbon accounting data decrypted by the key is input into the smart contract module of the enterprise carbon emission accounting, and the carbon emission data of the carbon emission enterprise is output. The mathematical expression is:
其中,ET表示碳排放企业在数据统计周期T内的碳排放量,T表示碳核算数据的统计周期,i表示能源的种类,j表示能源的用途,Fij,t表示在时刻t第i种能源在第j种用途的消耗量,Eij表示第i种能源在第j种用途的碳排放因子系数。Among them, ET represents the carbon emissions of the carbon emitting enterprise within the data statistical period T, T represents the statistical period of carbon accounting data, i represents the type of energy, j represents the use of energy, Fij ,t represents the consumption of the i-th energy for the j-th use at time t, and Eij represents the carbon emission factor coefficient of the i-th energy for the j-th use.
作为本发明所述的基于RSA算法和区块链的企业碳信息资产交易方法的一种优选方案,其中:碳信息资产买方获得企业碳信息资产数据后交易结束,解密企业碳信息资产数据私钥失效。As a preferred solution of the enterprise carbon information asset trading method based on RSA algorithm and blockchain described in the present invention, the transaction ends after the carbon information asset buyer obtains the enterprise carbon information asset data, and the private key for decrypting the enterprise carbon information asset data becomes invalid.
本发明的有益效果:基于RSA算法实现了碳核算原始数据的加密与还原,将数据私钥作为企业碳信息资产凭证缩小了链上交易数据量,基于区块链技术的碳信息资产交易流程,应用智能合约技术实现了企业碳信息资产自动转化为企业碳排放数据,避免了数据流动过程中的人为干预,有利于提高碳信息资产交易过程中企业生产经营数据的私密性和安全性,实现了交易流程与交易信息的公开透明且不可篡改。The beneficial effects of the present invention are as follows: encryption and restoration of the original data of carbon accounting are realized based on the RSA algorithm, and the data private key is used as the certificate of the enterprise's carbon information assets to reduce the amount of transaction data on the chain. The carbon information asset transaction process based on blockchain technology and the application of smart contract technology realize the automatic conversion of enterprise carbon information assets into enterprise carbon emission data, avoiding human intervention in the data flow process, which is conducive to improving the privacy and security of the enterprise's production and operation data in the process of carbon information asset transactions, and realizing the openness, transparency and non-tamperability of the transaction process and transaction information.
将交易私钥作为企业碳信息资产凭证开展碳信息资产链上交易,避免了大体量数据上链的复杂度与高要求,实现了交易数据的可追溯,有助于相关企业或部门有效核算企业的实际碳排放量。Using the transaction private key as the enterprise's carbon information asset certificate to conduct on-chain transactions of carbon information assets avoids the complexity and high requirements of uploading large amounts of data to the chain, achieves traceability of transaction data, and helps related enterprises or departments to effectively calculate the enterprise's actual carbon emissions.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明一个实施例提供的一种基于RSA算法和区块链的企业碳信息资产交易方法的基本流程示意图。FIG1 is a schematic diagram of the basic flow of a method for trading enterprise carbon information assets based on the RSA algorithm and blockchain provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
参照图1,为本发明的一个实施例,提供了一种基于RSA算法和区块链的企业碳信息资产交易方法,包括:Referring to FIG. 1 , an embodiment of the present invention provides an enterprise carbon information asset trading method based on RSA algorithm and blockchain, including:
S1:建立企业碳信息资产数据集包括:S1: Establishing a corporate carbon information asset data set includes:
碳信息资产数据集包括企业基本信息,煤炭、石油及相关制品、天然气、电力和热力能源消耗历史数据。The carbon information asset data set includes basic enterprise information, historical data on coal, petroleum and related products, natural gas, electricity and thermal energy consumption.
收集碳排放企业在测算时段T期间的碳核算数据,生成企业碳信息资产数据集。Collect carbon accounting data of carbon emission enterprises during the measurement period T to generate enterprise carbon information asset data set.
优选从企业用户提交的碳资产账户请求表单中获取账户信息,包括用户名、密码、身份验证等。然后对这些数据进行验证,确保用户提供的信息有效和合法,通过对企业碳信息资产数据集进行审核,有利于提高交易的可信度和公正性。It is preferred to obtain account information from the carbon asset account request form submitted by the corporate user, including user name, password, identity verification, etc. Then verify these data to ensure that the information provided by the user is valid and legal. By reviewing the corporate carbon information asset data set, it is helpful to improve the credibility and fairness of the transaction.
S2:利用RSA算法对企业碳信息资产数据进行加密,生成加密数据和碳信息资产密匙,并存储所述加密数据包括:S2: Encrypting the enterprise carbon information asset data using the RSA algorithm, generating encrypted data and a carbon information asset key, and storing the encrypted data includes:
随机选取两个不相等的素数P和Q,计算P和Q的乘积N,其数学表达式为:Randomly select two unequal prime numbers P and Q, and calculate the product N of P and Q. The mathematical expression is:
N=P*QN=P*Q
计算N的欧拉函数其数学表达式为:Calculate the Euler function of N Its mathematical expression is:
随机选取一个与互质的整数E,且满足/>计算E对于/>的乘法逆元D,其数学表达式为:Randomly select one with Coprime integers E that satisfy/> Calculate E for/> The multiplicative inverse element D of is expressed as:
从而生成数据密钥,其中数据公钥为(N,E),数据私钥(N,D);Thus, the data key is generated, where the data public key is (N, E) and the data private key is (N, D);
在数据加密过程中,碳排放核算相关原始数据为M,则加密数据的数学表达式为:In the data encryption process, the original data related to carbon emission accounting is M, and the mathematical expression of the encrypted data is:
C=MEmod NC=M E mod N
其中,C表示加密后的数据,M表示企业碳信息资产数据。Among them, C represents encrypted data, and M represents enterprise carbon information asset data.
通过对企业碳信息资产进行加密,有利于保证企业碳信息资产数据的安全性。By encrypting corporate carbon information assets, it is helpful to ensure the security of corporate carbon information asset data.
S3:基于碳信息资产密匙在碳信息资产交易平台注册账户,获得交易资格和电子签名,生成区块链节点包括:S3: Register an account on the carbon information asset trading platform based on the carbon information asset key, obtain transaction qualifications and electronic signatures, and generate blockchain nodes including:
碳信息资产卖方和买方在碳信息资产交易平台注册平台账户,提交交易平台审核;The seller and buyer of carbon information assets register a platform account on the carbon information asset trading platform and submit it to the trading platform for review;
碳信息资产交易平台审核用户基本信息,其中碳信息资产卖方必须持有碳信息资产数据私钥;The carbon information asset trading platform reviews the basic information of users, and the seller of carbon information assets must hold the private key of carbon information asset data;
经碳信息资产交易平台审核通过后,平台用户获得交易资质,形成区块链交易节点。After being reviewed and approved by the carbon information asset trading platform, platform users obtain trading qualifications and form blockchain trading nodes.
S4:碳信息资产买卖双方在交易平台开展双边协商,达成交易订单,卖方获得经济效益,买方获得碳排放企业碳信息资产密匙;S4: The buyer and seller of carbon information assets conduct bilateral negotiations on the trading platform and reach a transaction order. The seller obtains economic benefits and the buyer obtains the carbon information asset key of the carbon emission enterprise;
碳信息资产卖方主体在交易平台发布交易信息,所述交易信息包括交易主体名称、碳信息资产数据类型、数据周期等基本信息;The seller of carbon information assets publishes transaction information on the trading platform, which includes basic information such as the name of the trading entity, the type of carbon information asset data, and the data period;
碳信息资产买方主体在交易平台寻找符合交易需求的交易信息;The buyer of carbon information assets searches for transaction information that meets the transaction requirements on the trading platform;
碳信息资产交易双方在交易平台进行双边协商,确定交易信息,形成交易订单智能合约,交易双方提供电子签名;The two parties to the carbon information asset transaction conduct bilateral negotiations on the trading platform to determine the transaction information, form a transaction order smart contract, and provide electronic signatures;
交易订单提交到碳信息资产交易中心审核,审核通过后,将交易订单信息广播至区块链各节点。交易平台和区块链各节点将交易数据信息进行打包,从而形成交易订单信息区块链,交易达成;The transaction order is submitted to the Carbon Information Asset Trading Center for review. After the review is passed, the transaction order information is broadcast to each node of the blockchain. The trading platform and each node of the blockchain package the transaction data information to form a transaction order information blockchain, and the transaction is completed;
在交易执行过程中,碳信息资产买方获得碳信息资产数据私钥,卖方获得经济效益;During the transaction execution process, the buyer of carbon information assets obtains the private key of carbon information asset data, and the seller obtains economic benefits;
碳信息资产数据私钥交易结束。The carbon information asset data private key transaction is completed.
S5:碳信息资产买方通过碳信息资产密匙在第三方碳信息资产管理平台解密企业碳信息资产数据包括:S5: The carbon information asset buyer uses the carbon information asset key to decrypt the enterprise carbon information asset data on the third-party carbon information asset management platform, including:
碳信息资产买方凭借密匙在第三方碳信息资产管理平台解密企业碳信息资产数据,其数学表达式为:The buyer of carbon information assets uses the key to decrypt the enterprise carbon information asset data on the third-party carbon information asset management platform. The mathematical expression is:
CDmod N=MC D mod N=M
其中,将密匙带入该表达式进行解密,得到企业碳信息资产数据。Among them, the key is brought into the expression for decryption to obtain the enterprise carbon information asset data.
S6:经密匙解密的碳核算数据输入企业碳排放核算的智能合约模块,输出碳排放企业的碳排放数据,其数学表达式为:S6: The carbon accounting data decrypted by the key is input into the smart contract module of the enterprise carbon emission accounting, and the carbon emission data of the carbon emission enterprise is output. The mathematical expression is:
其中,ET表示碳排放企业在数据统计周期T内的碳排放量,T表示碳核算数据的统计周期,i表示能源的种类,j表示能源的用途,Fij,t表示在时刻t第i种能源在第j种用途的消耗量,Eij表示第i种能源在第j种用途的碳排放因子系数。Among them, ET represents the carbon emissions of the carbon emitting enterprise within the data statistical period T, T represents the statistical period of carbon accounting data, i represents the type of energy, j represents the use of energy, Fij ,t represents the consumption of the i-th energy for the j-th use at time t, and Eij represents the carbon emission factor coefficient of the i-th energy for the j-th use.
S7:碳信息资产买方获得企业的碳排放数据包括:S7: Carbon emission data of enterprises obtained by the buyer of carbon information assets include:
碳信息资产买方获得企业碳信息资产数据后交易结束,解密企业碳信息资产数据私钥失效。避免密钥被多次使用,导致被破解。After the buyer of carbon information assets obtains the enterprise's carbon information asset data, the transaction ends and the private key for decrypting the enterprise's carbon information asset data becomes invalid. This prevents the key from being used multiple times and being cracked.
通过对企业碳信息资产进行加密,并生成专有的成数据密钥,碳信息资产买方由碳信息资产交易平台审核通过后,平台用户获得交易资质,形成区块链交易节点,碳信息资产买卖双方在交易平台开展双边协商,达成交易订单,卖方获得经济效益,买方获得碳排放企业碳信息资产密匙,通过密匙对企业碳信息资产数据进行解密,在碳信息资产买方获得企业碳信息资产数据后交易结束,解密企业碳信息资产数据私钥失效。By encrypting the enterprise's carbon information assets and generating a proprietary data key, the buyer of the carbon information assets is reviewed and approved by the carbon information asset trading platform, and the platform user obtains the trading qualification, forming a blockchain trading node. The buyer and seller of the carbon information assets conduct bilateral negotiations on the trading platform and reach a transaction order. The seller obtains economic benefits, and the buyer obtains the carbon information asset key of the carbon emission enterprise. The key is used to decrypt the enterprise's carbon information asset data. After the carbon information asset buyer obtains the enterprise's carbon information asset data, the transaction ends and the private key for decrypting the enterprise's carbon information asset data becomes invalid.
基于RSA算法实现了碳核算原始数据的加密与还原,将数据私钥作为企业碳信息资产凭证缩小了链上交易数据量,基于区块链技术的碳信息资产交易流程,应用智能合约技术实现了企业碳信息资产自动转化为企业碳排放数据,避免了数据流动过程中的人为干预,有利于提高碳信息资产交易过程中企业生产经营数据的私密性和安全性,实现了交易流程与交易信息的公开透明且不可篡改。The encryption and restoration of the original data of carbon accounting is realized based on the RSA algorithm, and the data private key is used as the certificate of the enterprise's carbon information asset to reduce the amount of transaction data on the chain. The carbon information asset transaction process based on blockchain technology uses smart contract technology to realize the automatic conversion of enterprise carbon information assets into enterprise carbon emission data, avoiding human intervention in the data flow process, which is conducive to improving the privacy and security of enterprise production and operation data in the process of carbon information asset transactions, and realizing the openness, transparency and non-tamperability of transaction processes and transaction information.
将交易私钥作为企业碳信息资产凭证开展碳信息资产链上交易,避免了大体量数据上链的复杂度与高要求,实现了交易数据的可追溯,有助于相关企业或部门有效核算企业的实际碳排放量。Using the transaction private key as the enterprise's carbon information asset certificate to conduct on-chain transactions of carbon information assets avoids the complexity and high requirements of uploading large amounts of data to the chain, achieves traceability of transaction data, and helps related enterprises or departments to effectively calculate the enterprise's actual carbon emissions.
应当认识到,本发明的实施例可以由计算机硬件、硬件和软件的组合、或者通过存储在非暂时性计算机可读存储器中的计算机指令来实现或实施。所述方法可以使用标准编程技术-包括配置有计算机程序的非暂时性计算机可读存储介质在计算机程序中实现,其中如此配置的存储介质使得计算机以特定和预定义的方式操作——根据在具体实施例中描述的方法和附图。每个程序可以以高级过程或面向对象的编程语言来实现以与计算机系统通信。然而,若需要,该程序可以以汇编或机器语言实现。在任何情况下,该语言可以是编译或解释的语言。此外,为此目的该程序能够在编程的专用集成电路上运行。It should be appreciated that embodiments of the present invention may be implemented or implemented by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable memory. The method may be implemented in a computer program using standard programming techniques, including a non-transitory computer-readable storage medium configured with a computer program, wherein the storage medium so configured causes the computer to operate in a specific and predefined manner, according to the methods and drawings described in the specific embodiments. Each program may be implemented in a high-level procedural or object-oriented programming language to communicate with a computer system. However, if desired, the program may be implemented in assembly or machine language. In any case, the language may be a compiled or interpreted language. In addition, the program may be run on a programmed dedicated integrated circuit for this purpose.
应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,其均应涵盖在本发明的权利要求范围当中。It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311597671.6A CN117994031A (en) | 2023-11-27 | 2023-11-27 | Enterprise carbon information asset transaction method based on RSA algorithm and blockchain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311597671.6A CN117994031A (en) | 2023-11-27 | 2023-11-27 | Enterprise carbon information asset transaction method based on RSA algorithm and blockchain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117994031A true CN117994031A (en) | 2024-05-07 |
Family
ID=90898286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311597671.6A Pending CN117994031A (en) | 2023-11-27 | 2023-11-27 | Enterprise carbon information asset transaction method based on RSA algorithm and blockchain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117994031A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119155319A (en) * | 2024-11-14 | 2024-12-17 | 工业信息安全(四川)创新中心有限公司 | Block chain-based information management method and system for Internet of things |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114531245A (en) * | 2022-01-17 | 2022-05-24 | 山东大学 | Carbon emission trading method based on block chain |
CN116308355A (en) * | 2023-03-19 | 2023-06-23 | 广西师范大学 | A blockchain-based carbon emissions trading and auditing method |
CN116668167A (en) * | 2023-06-26 | 2023-08-29 | 云南财经大学 | Intelligent contract method for data communication based on block chain |
CN117011039A (en) * | 2023-05-10 | 2023-11-07 | 上海祺鲲信息科技有限公司 | Block chain-based carbon asset transaction method |
-
2023
- 2023-11-27 CN CN202311597671.6A patent/CN117994031A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114531245A (en) * | 2022-01-17 | 2022-05-24 | 山东大学 | Carbon emission trading method based on block chain |
CN116308355A (en) * | 2023-03-19 | 2023-06-23 | 广西师范大学 | A blockchain-based carbon emissions trading and auditing method |
CN117011039A (en) * | 2023-05-10 | 2023-11-07 | 上海祺鲲信息科技有限公司 | Block chain-based carbon asset transaction method |
CN116668167A (en) * | 2023-06-26 | 2023-08-29 | 云南财经大学 | Intelligent contract method for data communication based on block chain |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119155319A (en) * | 2024-11-14 | 2024-12-17 | 工业信息安全(四川)创新中心有限公司 | Block chain-based information management method and system for Internet of things |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021175023A1 (en) | Electronic warehouse receipt source tracing method and apparatus, computer device, and storage medium | |
EP3828800A1 (en) | Method for recording data block in block chain network, accounting node, and medium | |
US20220414809A1 (en) | Property Right Confirmation and Transfer Methods and Systems, Electronic Device, and Storage Medium | |
CN110909383A (en) | An electronic invoice management method, device, electronic device and storage medium | |
WO2021139075A1 (en) | Contract encryption and decryption method and apparatus, and device and storage medium | |
CN113420049B (en) | Data circulation method, device, electronic equipment and storage medium | |
CN113347008B (en) | Loan information storage method adopting addition homomorphic encryption | |
CN114491636A (en) | A transaction method based on scenario-based data usage results | |
CN115085917A (en) | Data fusion computing method, device, device and medium of trusted execution environment | |
CN114417374A (en) | Blockchain-based smart contract business card method, device, device and storage medium | |
CN117994031A (en) | Enterprise carbon information asset transaction method based on RSA algorithm and blockchain | |
CN117216786A (en) | On-demand sharing method of statistical data on crowdsourcing platform based on blockchain and differential privacy | |
CN115865960A (en) | A blockchain-based carbon verification and power data fusion system and server | |
CN114997867A (en) | Data element multi-mode delivery system and method based on block chain and privacy calculation | |
CN110365730A (en) | Air quality information sharing method and device | |
CN118821202A (en) | Method and system for privacy protection and privacy intersection of power data based on blockchain | |
CN118445855A (en) | Private data processing method, device, equipment and medium based on blockchain | |
CN118013559A (en) | Seal data encryption security system based on blockchain data user role model | |
CN117035777A (en) | Account checking storage method, device and equipment for order payment and storage medium | |
CN116737702A (en) | Block chain-based data management method and device, electronic equipment and storage medium | |
CN112765668B (en) | Zero-knowledge proof privacy protection method, system, storage medium and equipment | |
CN111859409B (en) | Data processing method, device, equipment and storage medium for financial system | |
CN111682934B (en) | Method and system for storing, accessing and sharing comprehensive energy metering data | |
CN115834078A (en) | Block chain account model privacy transaction protection method based on zero knowledge proof | |
CN114629663A (en) | Blockchain-based digital commodity transaction method and device |
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 |