CN116228340A - Block chain-based energy transaction method, computing equipment and storage medium - Google Patents

Block chain-based energy transaction method, computing equipment and storage medium Download PDF

Info

Publication number
CN116228340A
CN116228340A CN202310241494.1A CN202310241494A CN116228340A CN 116228340 A CN116228340 A CN 116228340A CN 202310241494 A CN202310241494 A CN 202310241494A CN 116228340 A CN116228340 A CN 116228340A
Authority
CN
China
Prior art keywords
green
transaction
energy
node
consumer
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
Application number
CN202310241494.1A
Other languages
Chinese (zh)
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.)
State Grid Shandong Electric Power Co Ltd
Shandong Luruan Digital Technology Co Ltd
Original Assignee
State Grid Shandong Electric Power Co Ltd
Shandong Luruan Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Shandong Electric Power Co Ltd, Shandong Luruan Digital Technology Co Ltd filed Critical State Grid Shandong Electric Power Co Ltd
Priority to CN202310241494.1A priority Critical patent/CN116228340A/en
Publication of CN116228340A publication Critical patent/CN116228340A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Bioethics (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Public Health (AREA)
  • Databases & Information Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Primary Health Care (AREA)
  • Human Resources & Organizations (AREA)
  • Water Supply & Treatment (AREA)
  • Development Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the field of blockchains, in particular to an energy transaction method, computing equipment and storage medium based on blockchains, wherein the method comprises the following steps: the blockchain-based energy transaction method of the present invention is suitable for execution in a computing device, the method comprising: determining energy Internet surfing metering according to the generated energy of equipment used by a provider; issuing a green certificate to a provider according to the energy online metering; responding to the purchase of the green certificate by the consumer, and sending a transaction endorsement to the consumer according to an endorsement node; the method comprises the steps that a client side receives an ordering request sent by a transaction endorsement, orders green card transactions of the transaction endorsement corresponding to the ordering request received in a preset time period through an ordering node, generates one or more ordered data blocks, and sends the one or more ordered data blocks to a submitting node; and checking the data block according to the submitting node, and if the data block passes the check, performing green certificate transaction and issuing a green certificate to the consumer. According to the invention, the endorsement and the data inspection are carried out on the green card transaction in the green card transaction process, so that the security of the green card transaction process is improved.

Description

Block chain-based energy transaction method, computing equipment and storage medium
Technical Field
The present invention relates to the field of blockchain, and in particular, to a blockchain-based energy transaction method, a computing device, and a storage medium.
Background
The green certificate is an important certificate for checking the fulfillment of the certificate in the quota system framework. To maintain marketization, and ensure that the green license can represent the true value of sustainable power generation, the life cycle of the green license must be comprehensively planned. The three stages of circulation of the green license are respectively issuing, trading and checking.
Green license issuance is an important step prior to green license marketing, and can ensure green license standardization and circulation legitimization from the source, the whole process of verification includes qualification inspection, power generation metering, green license generation and signature verification, and first, the government will conduct qualification verification on renewable resource suppliers to determine whether renewable energy sources can be provided. On the demand side of renewable resources, part of end users will be "producers" and renewable energy suppliers meeting the green authentication requirements are distributed on both sides of the source load, and the number will be greatly increased. The manufacturer passing the audit will upgrade or replace the certificate and calculate the corresponding green certificate by the company according to the conversion requirement of 1 MW/hour. Finally, after the supervision and inspection mechanism examines and checks, the green certificate is issued.
Currently, new energy enterprises need to deal with green certificates and provide related data, such as: approval documents, electric charge invoices, bank remittance vouchers and the like. The national renewable resource management information system can audit and issue environmental protection certification monthly, has complicated procedures, time and labor waste for audit and low efficiency, and severely restricts the transaction of enterprises.
For this reason, a new energy transaction method based on a blockchain is required.
Disclosure of Invention
To this end, the present invention provides a blockchain-based energy trading method in an effort to solve or at least alleviate the above-identified problems.
According to one aspect of the present invention, there is provided a blockchain-based energy trading method adapted to be executed in a computing device, the method comprising: determining energy Internet surfing metering according to the generated energy of equipment used by a provider; issuing a green certificate to a provider according to the energy online metering; responding to the purchase of the green certificate by the consumer, and sending a transaction endorsement to the consumer according to an endorsement node; the method comprises the steps that a client side receives an ordering request sent by a transaction endorsement, orders green card transactions of the transaction endorsement corresponding to the ordering request received in a preset time period through an ordering node, generates one or more ordered data blocks, and sends the one or more ordered data blocks to a submitting node; and checking the data block according to the submitting node, and if the data block passes the check, performing green certificate transaction and issuing a green certificate to the consumer.
Optionally, in the method according to the invention, the method further comprises the step of: transmitting an authorization request in response to the provider or consumer; the provider or consumer is authorized according to the management node so that the provider or consumer can send transaction information.
Optionally, in the method according to the invention, the transaction information comprises: vendor account address, consumer account address, transaction time stamp, green license number of the transaction, and transaction price.
Optionally, in the method according to the invention, when the consumer purchases the green certificate, the purchase information is encrypted by using the private key, and the encrypted purchase information is sent; the method further comprises the steps of: in response to the consumer purchasing the green certificate, the encrypted purchase information is decrypted using the public key and the authorization legitimacy of the purchase is verified.
Optionally, in the method according to the present invention, further comprising: the submitting node adds the data block to the ledger of the blockchain of the corresponding transaction type after the data fast check passes.
Optionally, in the method according to the present invention, the computing device includes a plurality of nodes, and issuing the green certificate to the provider according to the energy online metering includes: after issuing the green certificate to the consumer, the endorsement node acquires the account book added with the data block from the submitting node and stores the account book.
Optionally, in the method according to the present invention, further comprising: when issuing a green certificate to a provider according to energy internet surfing metering, broadcasting the issued green certificate information to one or more other nodes through a main node; after receiving the green certificate information, the other nodes rebroadcast the certificate information; the master node and other nodes first send information that the authentication is consistent to the provider.
Optionally, in the method according to the present invention, the data block includes energy information of energy provided by a provider corresponding to the green certificate, and the energy information includes a green electricity consumption percentage, a green electricity consumption and a green energy type.
According to another aspect of the present invention, there is provided a computing device comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the blockchain-based energy transaction method according to the invention.
According to yet another aspect of the present invention, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform a blockchain-based energy transaction method according to the present invention.
The blockchain-based energy transaction method of the present invention is suitable for execution in a computing device, the method comprising: determining energy Internet surfing metering according to the generated energy of equipment used by a provider; issuing a green certificate to a provider according to the energy online metering; responding to the purchase of the green certificate by the consumer, and sending a transaction endorsement to the consumer according to an endorsement node; the method comprises the steps that a client side receives an ordering request sent by a transaction endorsement, orders green card transactions of the transaction endorsement corresponding to the ordering request received in a preset time period through an ordering node, generates one or more ordered data blocks, and sends the one or more ordered data blocks to a submitting node; and checking the data block according to the submitting node, and if the data block passes the check, performing green certificate transaction and issuing a green certificate to the consumer. According to the invention, the endorsement and the data inspection are carried out on the green card transaction in the green card transaction process, so that the security of the green card transaction process is improved.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which set forth the various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to fall within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Like reference numerals generally refer to like parts or elements throughout the present disclosure.
FIG. 1 illustrates a schematic diagram of a blockchain-based energy trading method 100 in accordance with an exemplary embodiment of the invention;
FIG. 2 illustrates a block diagram of a computing device 200 according to an exemplary embodiment of the invention.
FIG. 3 shows a schematic diagram of an authentication process according to an exemplary embodiment of the invention;
FIG. 4 shows a schematic diagram of a transaction uplink according to an exemplary embodiment of the invention;
fig. 5 shows a schematic diagram of a green power traceability system according to an exemplary embodiment of the invention;
FIG. 6 illustrates a relationship between the bodies of the trading platform in accordance with an exemplary embodiment of the present invention;
FIG. 7 illustrates a schematic diagram of a CCER asset aggregation proxy operation system architecture within a micro-grid in accordance with one exemplary embodiment of the invention;
FIG. 8 illustrates a schematic diagram of a federated marketplace mechanism, according to one exemplary embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Like reference numerals generally refer to like parts or elements.
Fig. 1 shows a schematic diagram of a blockchain-based energy trading method 100 in accordance with an exemplary embodiment of the present invention. The blockchain-based energy transaction method 100 of the present invention is suitable for execution in a computing device.
FIG. 2 illustrates a block diagram of a computing device according to an exemplary embodiment of the invention. In a basic configuration, computing device 200 includes at least one processing unit 220 and system memory 210. According to one aspect, depending on the configuration and type of computing device, system memory 210 includes, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories. According to one aspect, system memory 210 includes an operating system 211.
According to one aspect, operating system 211 is suitable, for example, for controlling the operation of computing device 200. Further, examples are practiced in connection with a graphics library, other operating systems, or any other application program and are not limited to any particular application or system. This basic configuration is illustrated in fig. 2 by those components within dashed line 215. According to one aspect, computing device 200 has additional features or functionality. For example, according to one aspect, computing device 200 includes additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape.
As set forth hereinabove, according to one aspect, program modules 212 are stored in system memory 210. According to one aspect, program modules 212 may include one or more application programs, the invention is not limited to the type of application program, e.g., applications further include: email and contacts applications, word processing applications, spreadsheet applications, database applications, slide show applications, drawing or computer-aided application, web browser applications, etc.
According to one aspect, the examples may be practiced in a circuit comprising discrete electronic components, a packaged or integrated electronic chip containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic components or a microprocessor. For example, examples may be practiced via a system on a chip (SOC) in which each or many of the components shown in fig. 2 may be integrated on a single integrated circuit. According to one aspect, such SOC devices may include one or more processing units, graphics units, communication units, system virtualization units, and various application functions, all of which are integrated (or "burned") onto a chip substrate as a single integrated circuit. When operating via an SOC, the functionality described herein may be operated via dedicated logic integrated with other components of computing device 200 on a single integrated circuit (chip). Embodiments of the invention may also be practiced using other techniques capable of performing logical operations (e.g., AND, OR, AND NOT), including but NOT limited to mechanical, optical, fluidic, AND quantum techniques. In addition, embodiments of the invention may be practiced within a general purpose computer or in any other circuit or system.
According to one aspect, computing device 200 may also have one or more input devices 231, such as a keyboard, mouse, pen, voice input device, touch input device, or the like. Output devices 232 such as a display, speakers, printer, etc. may also be included. The foregoing devices are examples and other devices may also be used. Computing device 200 may include one or more communication connections 233 that allow communication with other computing devices 240. Examples of suitable communication connections 233 include, but are not limited to: RF transmitter, receiver and/or transceiver circuitry; universal Serial Bus (USB), parallel and/or serial ports. Computing device 200 may be communicatively connected to other computing devices 240 via communication connection 233.
Embodiments of the present invention also provide a non-transitory readable storage medium storing instructions for causing the computing device to perform a method according to embodiments of the present invention. The readable media of the present embodiments, including both permanent and non-permanent, removable and non-removable media, may be any method or technology for information storage. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of readable storage media include, but are not limited to: phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transitory readable storage medium.
According to one aspect, communication media is embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal (e.g., carrier wave or other transport mechanism) and includes any information delivery media. According to one aspect, the term "modulated data signal" describes a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio Frequency (RF), infrared, and other wireless media.
It should be noted that although the above-described computing device only shows processing unit 220, system memory 210, input device 231, output device 232, and communication connection 233, the device may include other components necessary to achieve proper operation in a particular implementation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
Returning to fig. 1, as shown in fig. 1, the blockchain-based energy transaction method of the present invention first performs step 110: and determining the energy Internet surfing metering according to the generated energy of the equipment used by the supplier. The green power certificate is called as a green certificate for short, is an electronic certificate with a unique code identifier issued by the country on the internet of non-water renewable energy sources at every megawatt hour of power generation enterprises, and is a unique certificate serving as green environmental rights.
The green certificate is an important certificate for checking the fulfillment of the certificate in the quota system framework. To maintain marketization, and ensure that the green license can represent the true value of sustainable power generation, the life cycle of the green license must be comprehensively planned. The three stages of circulation of the green license are respectively issuing, trading and checking.
Green license issuance is an important step prior to green license marketing, and can ensure green license standardization and circulation legitimization from the source, the whole process of verification includes qualification inspection, power generation metering, green license generation and signature verification, and first, the government will conduct qualification verification on renewable resource suppliers to determine whether renewable energy sources can be provided. On the demand side of renewable resources, part of end users will be "producers" and renewable energy suppliers meeting the green authentication requirements are distributed on both sides of the source load, and the number will be greatly increased. The manufacturer passing the audit will upgrade or replace the certificate and calculate the corresponding green certificate by the company according to the conversion requirement of 1 MW/hour. Finally, after the supervision and inspection mechanism examines and checks, the green certificate is issued.
Currently, new energy enterprises need to deal with green certificates and provide related data, such as: approval documents, electric charge invoices, bank remittance vouchers and the like. The national renewable resource management information system can audit and issue environmental protection certification monthly, has complicated procedures, time and labor waste for audit and low efficiency, and severely restricts the transaction of enterprises.
The invention adopts a PBFT consensus mechanism, and can ensure that the data on the chain has high tamper resistance. Specifically, a transaction platform may be deployed in a computing device. Suppliers may be implemented on renewable energy supplies. The energy source may be implemented as a renewable energy source. The energy online metering can be realized by renewable energy online metering after renewable energy suppliers use equipment to generate electricity, the transaction platform determines renewable energy online metering according to the generated electricity of the equipment,
subsequently, step 120 is performed to issue a green license to the provider based on the energy internet surfing metrics. Specifically, 1 MW/hour can correspondingly generate and issue a green syndrome. The green evidence is also recorded when issuing. When issuing a green certificate to a provider according to energy internet surfing metering, broadcasting the issued green certificate information to one or more other nodes through a main node; after receiving the green license information, other nodes rebroadcast the green license information; the master node and other nodes first send information that the authentication is consistent to the provider. A master node of a blockchain is included in a computing device, and other nodes of the blockchain may be deployed in the computing device or in other computing devices, with communicative coupling between the nodes.
Fig. 3 shows a schematic diagram of an authentication process according to an exemplary embodiment of the invention. As shown in fig. 3, when the renewable energy company applies for green certificates, a request is sent to a main node according to the specification, then the main node broadcasts to another node, and the rest nodes calculate and replay the number of green certificates proposed by the main node according to the negotiation targets, all the effective nodes agree, and the result of the agreement is fed back to the applicant, thus completing the authentication of the whole network.
Subsequently, step 130 is performed, in response to the consumer purchasing the green certificate, sending a transaction endorsement to the consumer in accordance with the endorsement node.
Subsequently, step 140 is performed, in response to the consumer purchasing the green certificate, sending a transaction endorsement to the consumer according to the endorsement node.
According to one embodiment of the invention, the computing device includes nodes, and the types of the nodes are an identity certificate management node (CA), an endorsement node (Endorser), a commit node (Committer) and an ordering node (Orderer). The function of each node is as follows.
CA node: the authorization and access of nodes in the network are performed by CA nodes, and various types of nodes are correspondingly authorized by utilizing the release and revocation of digital certificates, so that a standardized public key infrastructure (public key infrastructure, PKI) system is realized.
Endorser node: the transaction proposal is received from a client software tool development interface (software development kit, SDK), correctness checking is performed, simulation is performed, and after the success result is confirmed, the client SDK is returned.
Committer node: by obtaining the sorted blocks from the Orderer nodes, the transactions in the blocks are finally verified. Once approved, legal transactions may be conducted and recorded in a blockchain book.
Orderer node: accept those services that have been endorsed a sufficient amount and sort them into new blocks.
In the present invention, all green certificates are delivered in the form of a transaction uplink. In internal transactions, the platform is responsible for the uplink of the transaction; for off-site marketing, this is done by the party selling the green license. Whether a platform or a terminal, needs to access and run the blockchain network through the DK client.
Fig. 4 shows a schematic diagram of a transaction uplink according to an exemplary embodiment of the invention. As shown in fig. 4: the standardized green certificate transaction flow includes the following processes.
Transmitting an authorization request in response to the provider or consumer; the provider or consumer is authorized according to the management node so that the provider or consumer can send transaction information. After the CA node grants the client SDK, the renewable energy provider, the quota obligation undertaking party and each transaction platform are qualified to access the blockchain, and interact with the regional network through the SDK client. The CA node can specifically send transaction information to renewable energy suppliers, consumer ends and transaction platforms through SDK clients deployed by the CA node.
When the consumer purchases the green certificate, the private key is used for encrypting the purchase information, and the encrypted purchase information is sent; the method of the invention further comprises the following steps: in response to the consumer purchasing the green certificate, the encrypted purchase information is decrypted using the public key and the authorization legitimacy of the purchase is verified. Specific: the client SDK delivers the transaction message to the endoser node. The transaction platform and the off-site transaction send transaction information to the Endorser by the seller, including a seller account address, a purchase account address, a transaction timestamp, a transaction green certificate number and a transaction price. The seller needs to use the private key for data processing.
The endoser node sends the transaction to the client SDK interface and endorses. After the proposal is received by the endoser node, the public key is used for verifying the authorization legitimacy of the service (such as whether the node is authorized or not), then the protocol is used for verifying the rationality of the service (such as whether the provider has enough green certificates or not), after the logic verification is finished, the transaction is simulated, the service is recorded, and the record is fed back to the client. The record includes key-value pairs.
The client SDK submits the classification requirements to the Orderer node. If the client receives a large number of endorsements, a sorting request can be sent to the Orderer node, and sorting can be performed in time sequence during sorting. All unassociated transactions in the Orderer node group are ordered and encapsulated using the Paxos protocol.
The Orderer node returns the ordered result and the new block to the Committer node. In the Orderer node group, data is distributed if the number of transactions in the queue reaches a critical threshold or will begin to sell within a certain period of time. After the packet is completed, the Orderer node transmits the new block of data to the Committer.
The submitting node adds the data block to the ledger of the blockchain of the corresponding transaction type after the data fast check passes. Specific: and finally checking the Committer node, and synchronizing the account book with the Endorser node. After the Committer node receives a new data block, a final check will be made for transactions in this data block. When the audit is finished, transaction is carried out, and the local file and key value pair are updated.
Issuing a green certificate to a provider according to the energy online metering comprises: after issuing the green certificate to the consumer, the endorsement node acquires the account book added with the data block from the submitting node and stores the account book. The endoser node will periodically synchronize the local ledger on the Committer node.
The Committer node passes the results of the transaction to the client SDK. The Committer node transmits the results of the transaction back to the client SDK node after the final verification is completed. At this point, the transactor can see the delivery of the green credentials.
According to one embodiment of the invention, the data block includes energy information of energy provided by a provider corresponding to the green license, the energy information including a green electricity consumption percentage, a green electricity consumption and a green energy category.
In the electric power market, in various types of electric power supply systems such as wind power, photovoltaic, hydroelectric power and thermal power, the proportion of electric power components such as wind power, photovoltaic, hydroelectric power and thermal power is generally not determined by an electric power supplier and a user. The green electricity traceability measurement can reflect which green resource the consumer consumes in a specific time, and the proportion and value of each green energy source to the consumed electric energy. By using the micro-grid, the composition of the power system, the degree of environmental contribution, and the clean energy utilization efficiency can be directly grasped. The consumption condition of the green energy of the micro-grid is predicted by a method of real-time mining analysis and normalized comprehensive evaluation, so that the mobile sharing and consultation of the green power information are better realized for citizens, and the participation and interaction of the public are enhanced. By selecting a consensus mechanism in the blockchain technology, the transaction data is processed in real time, so that the slow running and real-time running of the system are ensured, and each participant in the whole transaction system can dynamically recognize the system.
In order to enable customers of the micro-grid to realize green power tracing, hydropower, photovoltaic, wind power and the like of the power customers can be accurately divided, and the whole structure of the green power tracing system is adopted.
Fig. 5 shows a schematic diagram of a green power traceability system according to an exemplary embodiment of the invention. The green power tracing system identifies and links objects such as green power consumption, green energy types and the like through data collection in a agreed mode, and meanwhile, relevant information is input into the blockchain database, so that a foundation is laid for tracing and tracing of green power. The functions of basic information management, information acquisition of each link, link association, inquiry and the like of the green power tracing system are the core of the green power tracing system. The consumer can trace the source through the system to obtain a return result, wherein the return result comprises node summaries of the green electricity consumption percentage data nodes in the green electricity consumption percentage database, the node summaries of the green electricity consumption nodes in the green electricity consumption percentage database and the node summaries of the green energy type nodes in the green energy type database.
The invention can also carry out carbon transaction through a platform in a mode of carbon emission right transaction, and the national evidence voluntary emission reduction (CCER). The participants in the carbon transaction are: buyers and sellers of carbon emissions, carbon emissions check consultation institutions, governments and third party platforms. Therefore, the present invention builds multiple service modes based on blockchain technology to meet various demands.
Fig. 6 illustrates a relationship between the bodies of the trading platform according to an exemplary embodiment of the present invention. All traders receive a public and private key and are monitored in real time by each individual trader with the CCER's registry to determine their carbon dioxide emissions and reduced amounts for trading. In the trading of carbon emissions rights, the trading of carbon emissions amounts will be performed in the trading platform of carbon emissions rights and the CCER, respectively. Based on the conversion of the smart contract, the CCER emissions reduction may be converted to carbon emissions and added to the market. After the transaction is completed, the modification of the property right for carbon emissions and CCER emissions reduction in the transaction should be performed according to the records, and the new property right transfer case should be registered in real time. Finally, all users' carbon emissions rights are fully retracted by the government to clear the already reduced emissions. In addition, in the blockchain system, the government and third party platforms can also be enabled to conduct carbon emission check in real time and conduct real-time monitoring on the carbon emission check, so that financial risks are prevented.
The invention aims at CCER resources scattered in the micro network, and can utilize CCER enterprises based on the blockchain technology to integrate services in the micro network. The mechanism integrates CCER resources dispersed in a micro-network and then performs the transaction in domestic carbon emission rights.
Fig. 7 shows a schematic diagram of a ccor asset aggregation proxy operation system architecture within a micro-grid according to an exemplary embodiment of the present invention. The users of each micro-grid react according to the compensation price provided by the aggregation agent of the respective region, and the enterprises integrate to the maximum extent according to the CCER resources of the respective region, so that the maximum benefit is obtained.
The blockchain in the invention can be specifically realized as a green license transaction blockchain, and the intelligent ammeter can accurately record the use condition of renewable energy sources and issue green licenses according to internal relevant regulations. All companies with green license can buy and sell in green license licensed market, renewable energy companies can obtain government subsidies by selling green license, fossil energy companies can obtain green license in green license form, limit is completed, and subsidized green power company is provided in market mode. All green certificate transactions are carried out through chains, so that not only can the reliability of the service be ensured, but also the supervision process can be reduced.
The blockchain in the present invention may also be embodied as a carbon emissions trading blockchain: the CCER is a combination of certified renewable energy sources and emission abatement programs such as agriculture, forestry and carbon emissions. While the carbon quota is calculated from its own internal law, from its historical emissions on the chain, and is public and transparent. The intelligent ammeter counts the carbon dioxide emission amount of the traditional fossil power generation station during the current week, and if the carbon dioxide emission amount in the market is less than that of the intelligent ammeter, the rest carbon dioxide can be emitted to the market; if the actual carbon dioxide emissions in the current market exceeds the total emissions of the business, the business becomes a buyer of the carbon emissions transaction. While carbon quota is generated according to internal rules, according to historical carbon emissions on the chain, and is public and transparent.
FIG. 8 illustrates a schematic diagram of a federated marketplace mechanism, according to one exemplary embodiment of the present invention. The interplay of the two transaction chains in fig. 8, because some renewable resources meet both green certificates and the ccir requirements in carbon emissions, must synchronize the issuance of green certificates with the data of carbon emissions to reduce the number of repetitions before the collaboration takes place. After the green certificate and the carbon emission rights expire, the company holding the green certificate can convert the green certificate and the carbon emission rights into balance of the carbon emission rights according to the marginal pricing of the current green certificate and the carbon emission rights, and then the green certificate and the carbon emission rights are put into the market again for transaction, so that the whole distribution of the green certificate and the carbon sources is achieved. On the basis, on the basis of market-based transactions and quotations, a general intelligent contract based on green certification and green emission is proposed. The utility company is part of the power market and must register a node account. If the buyer and the seller confirm the intelligent contract, the contract can be called to exchange the buyer and the seller.
As shown in fig. 8, green certification and carbon emission allowance determination is made by government and regulatory authorities for individual producers and consumers participating in the market prior to the start of the market quota system cycle; each market member registers an account number in the blockchain and returns a unique public key and a private key of each user to each person; the regulatory body builds a framework of intelligent contracts according to a market mechanism and a quotation mechanism.
The qualified renewable energy power generation enterprises meter the green power through the intelligent electric meter and acquire corresponding green certificates; the intelligent instrument performs detailed statistical analysis on the carbon emission of each production and consumption unit; each producing party encapsulates the data of the green certificate and the carbon emission right list according to the own requirements, including the volume of the transaction and the price. .
In the access of the user, the user can use the accessed address to call the contract, set transaction objects, deadlines, automatic execution terms and the like, sign by using own private keys to ensure the correctness of the contract, and pair the bids of various producers and consumers on the basis of continuous bi-directional auction (continuous double auction, CDA)
The implementation of the agreement is broadcast in the regional energy network in the form of P2P, while the latest contracts are integrated in the network of the trading market in the form of blocks.
The authenticated contracts are spread in the blockchain and exist in the blockchain, upon which access is made by the node on the client interface. Once the transaction begins, a request is made, the clearing contract is then mapped and cleared by the state machine, then transfers are made according to the specific circumstances of each transaction, and confirmation by certain nodes is made during the specified time period, then the running of the intelligent contract is performed.
The green certificates and the total amount of carbon emissions during one cycle of each producer and consumer are settled prior to the quota formation cycle, and green certificates exceeding the quota can compensate for carbon emissions exceeding the quota. The green certificates of the various producers and the carbon emission weights are counted to determine the quota of the next stage.
The invention is based on the Bayesian fault-tolerant mechanism to issue certificates, and adopts the PBFT consistency technology, so that the data has stronger non-tamper property, and the market security problem caused by data tampering and data errors can be furthest reduced in the authentication and transaction process; the PBFT algorithm does not depend on the token, and is free from achieving consistency through large-scale data calculation, and can shorten the consistency verification time and improve the overall execution efficiency. The delay of the PBFT protocol may reach 2-5 seconds, depending on more than 100 nodes in the network. Under the condition that 4200 ten thousand green certificates are issued annually for more than 400 renewable energy enterprises, the execution effect is not lower than that of a general issuing and trading mode.
On the basis of ensuring the reliability and safety of the transaction, the blockchain technology is adopted, and the verification of green certificates and the feasibility of the transaction are researched. The PBFT technology is subjected to demonstration analysis from three angles of safety, fairness and execution efficiency, and the PBFT protocol has no obvious negative effect on the efficiency of the whole system and has popularization and use capabilities.
According to the invention, the green power tracking mode can provide basis for issuing the green certificate and calculating the carbon quota, so that the rewarding or punishing of the submitted green certificate/carbon tax is avoided. When 'low-price surfing' is implemented, the current electric power market trading mode cannot fully reflect the environmental protection value of clean energy, and 'green evidence' is needed. The issuing of the green certificate and the accounting of the quota are required to depend on the source of the green power, and the digital certificate is also attached to the green certificate to be used as the unique number of the green certificate. At present, the national energy agency only issues green certificates for large wind power plants and solar power stations, so that distributed photovoltaic power generation, wind power, solar energy and the like which are not listed in the subsidy range do not have green certificates. However, in the load side, since the renewable energy density is continuously increased, the green electricity can be used for tracking, the green authentication is performed on a small-scale distributed power supply which is not approved by the national energy agency, and after the green certificate is issued, the electricity price of the project cannot be obtained. By tracing the green power, the correctness of green authentication can be fundamentally ensured, thereby preventing secondary use. The conclusion obtained by calculating the actual flow of the electric power flowing in the power grid has a certain guiding significance for the marketization pricing of the electric power.
Around the interrelation among the green electricity tracing method, the green card transaction platform scheme and the green card transaction uplink, the following three aspects are researched: firstly, determining which green energy is provided by the electric energy consumed by a user of the micro-grid in a certain period, and the proportion and the value of each consumed power by utilizing an integrated data integration and identification technology; secondly, on the basis, a green certificate exchange mechanism based on a blockchain technology is introduced, so that a consumer can better know the green certificate resource held by the consumer, thereby reducing the cost of purchasing the green certificate and providing support for purchasing the green certificate required by the consumer; based on the above, the present disclosure provides a process of using blockchain technology to perform the uplink of green certificates, integrating the process into the market to perform the uplink process by green certificate sellers, and using the SDK interface of the Fabric client to complete the access and operation of blockchain, thereby improving the service efficiency between each client.
In the traditional green card transaction, firstly, an off-site user bypasses an operator of a platform to perform green card conversion; in the whole green authentication process, due to the authentication characteristic, the system needs to be synchronously tracked and asynchronously upgraded by different authentication institutions. The green certificate transaction system of the blockchain technology has the following characteristics: reading and asynchronous data updating of a plurality of users can be realized; supporting asynchronous updating of a database; and ensuring the safety and consistency of the data.
The carbon trading system based on the blockchain technology integrates carbon sources in the scattered micro-grid, so that the carbon sources are added into the domestic carbon right market, the whole trading process is quickened, and the trading efficiency among all users is improved. And secondly, establishing a combined market of green license and carbon right exchange, and converting the residual green license resource into a carbon asset through the exchange of the green license and the carbon asset, thereby providing a certain reference for the carbon emission capacity of a user. Finally, according to the common green and low-carbon targets, a green certificate and carbon combined market trading mechanism design is provided, and the overall optimal distribution of green certificates and carbon emission is utilized to promote sustainable development and reduce carbon dioxide emission of conventional fossil fuels, so that fuel consumption and energy conversion are promoted.
For small-scale CCER users of the CCER in the micro-network, the invention provides a new way for the carbon emission of enterprises, thereby improving the comprehensive benefits of the enterprises. Before the integration of micro-grid CCER assets, agents can utilize their own information to make predictions, thereby reducing uncertainty in decisions of companies, and thus obtaining assets of CCER available for transaction, and forming a more reasonable purchasing scheme. After the prediction of the resource information is completed, the aggregation proxy may integrate the assets of the CCER into the domestic carbon trade market, thereby capturing benefits.
On the basis of the common goal of green and low carbon, the invention provides a combined market trading mechanism of green certificates and carbon, which can stimulate the development of renewable energy sources through the optimal distribution of green certificates and carbon emission, and can limit the emission amount of conventional fossil energy sources. Meanwhile, in order to ensure the safety, high efficiency, information disclosure and transparency of the green power and carbon combined market, an intelligent contract-based method is also provided, namely, a green power company and a traditional fossil energy company are connected together, green certificates and carbon emission are optimally distributed on the whole, so that the development of renewable energy sources is promoted, and the emission of the traditional fossil energy sources is restrained.
The blockchain-based energy transaction method of the present invention is suitable for execution in a computing device, the method comprising: determining energy Internet surfing metering according to the generated energy of equipment used by a provider; issuing a green certificate to a provider according to the energy online metering; responding to the purchase of the green certificate by the consumer, and sending a transaction endorsement to the consumer according to an endorsement node; the method comprises the steps that a client side receives an ordering request sent by a transaction endorsement, orders green card transactions of the transaction endorsement corresponding to the ordering request received in a preset time period through an ordering node, generates one or more ordered data blocks, and sends the one or more ordered data blocks to a submitting node; and checking the data block according to the submitting node, and if the data block passes the check, performing green certificate transaction and issuing a green certificate to the consumer. According to the invention, the endorsement and the data inspection are carried out on the green card transaction in the green card transaction process, so that the security of the green card transaction process is improved.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
Those skilled in the art will appreciate that the modules or units or groups of devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into a plurality of sub-modules.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or groups of embodiments may be combined into one module or unit or group, and furthermore they may be divided into a plurality of sub-modules or sub-units or groups. Any combination of all features disclosed in this specification, as well as all processes or units of any method or apparatus so disclosed, may be employed, except that at least some of such features and or processes or units are mutually exclusive. Each feature disclosed in this specification may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the embodiments are described herein as methods or combinations of method elements that may be implemented by a processor of a computer system or by other means of performing the functions. Thus, a processor with the necessary instructions for implementing the described method or method element forms a means for implementing the method or method element. Furthermore, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is for carrying out the functions performed by the elements for carrying out the objects of the invention.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions of the methods and apparatus of the present invention, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the blockchain-based energy transaction method of the present invention in accordance with instructions in the program code stored in the memory.
By way of example, and not limitation, computer readable media comprise computer storage media and communication media. Computer-readable media include computer storage media and communication media. Computer storage media stores information such as computer readable instructions, data structures, program modules, or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
As used herein, unless otherwise specified the use of the ordinal terms "first," "second," "third," etc., to describe a general object merely denote different instances of like objects, and are not intended to imply that the objects so described must have a given order, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of the above description, will appreciate that other embodiments are contemplated within the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention.

Claims (10)

1. A blockchain-based energy trading method, adapted for execution in a computing device, the method comprising:
determining energy Internet surfing metering according to the generated energy of equipment used by a provider;
issuing a green certificate to a provider according to the energy online metering;
responding to the purchase of the green certificate by the consumer, and sending a transaction endorsement to the consumer according to an endorsement node;
the method comprises the steps that a client side receives an ordering request sent by a transaction endorsement, orders green card transactions of the transaction endorsement corresponding to the ordering request received in a preset time period through an ordering node, generates one or more ordered data blocks, and sends the one or more ordered data blocks to a submitting node;
And checking the data block according to the submitting node, and if the data block passes the check, performing green certificate transaction and issuing a green certificate to the consumer.
2. The method of claim 1, wherein the method further comprises the step of:
transmitting an authorization request in response to the provider or consumer;
and authorizing the provider or the consumer according to the management node so that the provider or the consumer can send transaction information.
3. The method of claim 2, wherein the transaction information comprises:
vendor account address, consumer account address, transaction time stamp, green license number of the transaction, and transaction price.
4. The method of claim 1, wherein the consumer side encrypts the purchase information using a private key and transmits the encrypted purchase information when purchasing the green license;
the method further comprises the steps of:
in response to the consumer purchasing the green certificate, the encrypted purchase information is decrypted using the public key and the authorization legitimacy of the purchase is verified.
5. The method of claim 1, wherein the method further comprises: and after the data quick inspection is passed, the submitting node adds the data block into the account book of the blockchain corresponding to the transaction type.
6. The method of claim 5, wherein the computing device includes a plurality of nodes therein, issuing a green license to a vendor according to the energy internet metrics includes:
after issuing the green certificate to the consumer, the endorsement node acquires the account book added with the data block from the submitting node and stores the account book.
7. The method of any one of claims 1-6, wherein the method further comprises:
when issuing a green certificate to a provider according to the energy internet surfing metering, broadcasting the issued green certificate information to one or more other nodes through a main node;
after receiving the green certificate information, other nodes rebroadcast the green certificate information;
the master node and other nodes first send information that the authentication is consistent to the provider.
8. The method of any of claims 1-7, wherein the data block includes energy information corresponding to energy provided by a provider of green certificates, the energy information including a green electricity usage percentage, a green electricity usage, and a green energy category.
9. A computing device, comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the method of any of claims 1-8.
10. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform the method of any of claims 1-8.
CN202310241494.1A 2023-03-09 2023-03-09 Block chain-based energy transaction method, computing equipment and storage medium Pending CN116228340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310241494.1A CN116228340A (en) 2023-03-09 2023-03-09 Block chain-based energy transaction method, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310241494.1A CN116228340A (en) 2023-03-09 2023-03-09 Block chain-based energy transaction method, computing equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116228340A true CN116228340A (en) 2023-06-06

Family

ID=86584316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310241494.1A Pending CN116228340A (en) 2023-03-09 2023-03-09 Block chain-based energy transaction method, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116228340A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117474531A (en) * 2023-12-27 2024-01-30 他山互联网科技(三明)有限公司 Renewable resource industry service system based on block chain

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117474531A (en) * 2023-12-27 2024-01-30 他山互联网科技(三明)有限公司 Renewable resource industry service system based on block chain
CN117474531B (en) * 2023-12-27 2024-03-19 他山互联网科技(三明)有限公司 Renewable resource industry service system based on block chain

Similar Documents

Publication Publication Date Title
Liu et al. Electric vehicle power trading mechanism based on blockchain and smart contract in V2G network
Andoni et al. Blockchain technology in the energy sector: A systematic review of challenges and opportunities
He et al. Joint operation mechanism of distributed photovoltaic power generation market and carbon market based on cross-chain trading technology
CN107909358B (en) Energy settlement method, device and system
Nour et al. Review of blockchain potential applications in the electricity sector and challenges for large scale adoption
CN107480987A (en) Green electric power supply certificate core hair based on block chain technology subscribes method and system
CN112053152B (en) Distributed energy grid-connected authentication and transaction method based on green rights and interests consensus mechanism
CN111177758A (en) Distributed photovoltaic settlement method and system based on block chain
CN112465320A (en) Virtual power plant transaction management method based on block chain technology
Teng et al. A comprehensive review of energy blockchain: Application scenarios and development trends
CN110717832A (en) Clean energy trading method, system, device and storage medium based on block chain
Dzobo et al. Proposed framework for blockchain technology in a decentralised energy network
Zhang et al. Smart contract design and process optimization of carbon trading based on blockchain: The case of China's electric power sector
Tesfamicael et al. A design for a secure energy market trading system in a national wholesale electricity market
CN111178887A (en) Distributed photovoltaic power generation and sale system and method based on block chain
KR20220036814A (en) System for distributing profits of renewable energy to residents
Junaidi et al. Blockchain-based management of demand response in electric energy grids: A systematic review
Zuo Tokenizing renewable energy certificates (recs)—a blockchain approach for rec issuance and trading
CN113379485A (en) Demand response bidding trading method and system based on Hash algorithm and secondary quotation
CN113065960A (en) Transaction system based on block chain
CN113643131A (en) Microgrid distributed energy trading method and system based on block chain
Debe et al. Blockchain-based energy trading in electric vehicles using an auctioning and reputation scheme
Demir et al. Utility blockchain for transparent disaster recovery
CN116228340A (en) Block chain-based energy transaction method, computing equipment and storage medium
Golosova et al. Review of the blockchain technology in the energy sector

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