CN112270550B - New energy power tracing method and system based on blockchain - Google Patents

New energy power tracing method and system based on blockchain Download PDF

Info

Publication number
CN112270550B
CN112270550B CN202011133993.1A CN202011133993A CN112270550B CN 112270550 B CN112270550 B CN 112270550B CN 202011133993 A CN202011133993 A CN 202011133993A CN 112270550 B CN112270550 B CN 112270550B
Authority
CN
China
Prior art keywords
data
green
new energy
blockchain
key field
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011133993.1A
Other languages
Chinese (zh)
Other versions
CN112270550A (en
Inventor
高原
石可馨
杨映日
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Electric Chain Technology Co ltd
Original Assignee
Beijing Electric Chain Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Electric Chain Technology Co ltd filed Critical Beijing Electric Chain Technology Co ltd
Priority to CN202011133993.1A priority Critical patent/CN112270550B/en
Publication of CN112270550A publication Critical patent/CN112270550A/en
Application granted granted Critical
Publication of CN112270550B publication Critical patent/CN112270550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a new energy power tracing method and system based on a blockchain, which stores a power purchase transaction contract, a new energy scheduling plan curve and a new energy power consumption order in the blockchain and analyzes the power purchase transaction contract, the new energy scheduling plan curve and the new energy power consumption order, acquires key field information format data, scheduling curve hash data and order information format data and correlates the key field information format data, so as to generate a green power certificate with a unique identifier, store the green power certificate on the blockchain and trace the source by a method of tracing digital identifiers; the invention opens the information barriers of the transaction center, the dispatching and electricity utilization side based on the mechanisms of distributed account book, data privacy security, data accurate right and the like of the blockchain, and promotes data sharing and cooperation; the work efficiency is improved through the distributed data account book, the storage safety and the transmission reliability of data are guaranteed through the non-falsifiability of the blockchain, and the generation and the distribution of large-scale green evidence at a user side are effectively supported through a high-availability blockchain bottom layer platform; the transparency of the business execution process is ensured by the smart contracts.

Description

New energy power tracing method and system based on blockchain
Technical Field
The invention relates to the technical field of new energy power tracing, in particular to a new energy power tracing method and system based on a block chain.
Background
Blockchains are a kind of chained data structures that combine blocks of data in a sequential manner in time order, and cryptographically guaranteed, non-tamperable and non-counterfeitable distributed ledgers. In broad terms, blockchain technology is a completely new distributed infrastructure and computing paradigm that utilizes blockchain data structures to validate and store data, distributed node consensus algorithms to generate and update data, cryptography to secure data transfer and access, and intelligent contracts composed of automated script code to program and manipulate data. The data stored on the blockchain needs to be commonly maintained by the nodes of the whole network, so that the value can be effectively transferred between the nodes which lack trust. Compared with the existing database technology, the blockchain has the characteristics of multi-center, automation and trust.
An intelligent contract is a contract that replaces legal language with computer language to record terms. The smart contract may be automatically executed by a computing system. If the blockchain is a database, the intelligent contract is an application layer that enables blockchain technology to be applied to reality. Traditionally, contracts have not generally been directly tied to the computer code executing the contents of the contract. Paper contracts are in most cases archived, and software will execute the contract terms written in computer code. Potential benefits of smart contracts include reduced costs in contracting, executing, and supervising; thus, this is a significant reduction in labor costs for many low value transaction related contracts.
In the power field, there is a physical tracing mode for power, such as calculating and counting power flow, but the tracing difficulty of that form is large and the effect is not ideal, so the power industry is more to match power through economy. Therefore, for this scenario, a power tracing system based on a blockchain is needed to provide a system function guarantee for each link of power tracing.
Disclosure of Invention
The invention provides a new energy power tracing method and system based on a block chain, which aim to solve the problem of how to trace new energy power.
In order to solve the above problems, according to an aspect of the present invention, there is provided a new energy power tracing method based on a blockchain, the method including:
acquiring a purchase electricity trade contract and at least one new energy scheduling plan curve, and storing the purchase electricity trade contract and the new energy scheduling plan curve in a blockchain;
capturing key field information in the electricity purchase transaction contract through an intelligent contract, and determining key field information format data according to a preset first data format based on the key field information;
determining a corresponding new energy scheduling plan curve according to the key field information, and hashing the determined corresponding new energy scheduling plan curve to obtain scheduling curve hash data;
acquiring a new energy electricity consumption order matched with the electricity purchase transaction contract, storing the new energy electricity consumption order on a blockchain, analyzing the new energy electricity consumption order, acquiring order information, and determining order information format data according to a preset second data format based on the order information;
and correlating the key field information format data, the dispatching curve hash data and the order information format data through an intelligent contract to obtain a green evidence, storing the green evidence on a blockchain, and feeding back a green traceability certificate comprising the green evidence to a user side.
Preferably, the key field information includes: transaction number, power generation area name, power receiving area name, and power type; the data format of the key field information format data is transaction number, power generation area name, power receiving area name and power type.
Preferably, wherein the order information includes: order number and current charge amount information; the data format of the order information format data is "order number+present charge amount information".
Preferably, the associating the key field information format data, the scheduling curve hash data and the order information format data by the smart contract to obtain a green license for storage on a blockchain includes:
and carrying out field matching through the intelligent contract, orderly combining the key field information format data, the dispatching curve hash data and the order information format data according to the sequence of arranging the key field information format data, the dispatching curve hash data and the order information format data in sequence so as to obtain a green electricity passing certificate, and storing the green electricity passing certificate on a block chain.
Preferably, wherein the method further comprises:
performing format and integrity verification on the green evidence; if the verification is passed, the green electricity passing certificate is stored on a block chain; if the verification is not passed, the error information is fed back, and the green electricity through certificate is regenerated until the verification is passed, and the green electricity through certificate is stored on the blockchain.
According to another aspect of the present invention, there is provided a new energy power tracing system based on a blockchain, wherein the system includes:
the data storage module is used for acquiring a power purchase transaction contract and at least one new energy scheduling plan curve and storing the power purchase transaction contract and the new energy scheduling plan curve in a blockchain;
the key field information format data determining module is used for capturing key field information in the electricity purchase transaction contract through an intelligent contract and determining key field information format data according to a preset first data format based on the key field information;
the scheduling curve hash data acquisition module is used for determining a corresponding new energy scheduling plan curve according to the key field information and carrying out hash on the determined corresponding new energy scheduling plan curve so as to acquire scheduling curve hash data;
the order information format data acquisition module is used for acquiring new energy electricity consumption orders, storing the new energy electricity consumption orders on a blockchain, analyzing the new energy electricity consumption orders, acquiring order information, and determining order information format data according to a preset second data format based on the order information;
and the green electricity evidence obtaining module is used for associating the key field information format data, the dispatching curve hash data and the order information format data through the intelligent contract so as to obtain the green electricity evidence which is stored on the blockchain, and feeding back a green electricity tracing evidence comprising the green electricity evidence to the user side.
Preferably, the key field information includes: transaction number, power generation area name, power receiving area name, and power type; the data format of the key field information format data is transaction number, power generation area name, power receiving area name and power type.
Preferably, wherein the order information includes: order number and current charge amount information; the data format of the order information format data is "order number+present charge amount information".
Preferably, the green license obtaining module performs field matching through an intelligent contract, associates the key field information format data, the scheduling curve hash data and the order information format data to obtain a green license, and stores the green license on a blockchain, and includes:
and carrying out field matching through the intelligent contract, orderly combining the key field information format data, the dispatching curve hash data and the order information format data according to the sequence of arranging the key field information format data, the dispatching curve hash data and the order information format data in sequence so as to obtain a green electricity passing certificate, and storing the green electricity passing certificate on a block chain.
Preferably, the green license acquisition module further includes:
performing format and integrity verification on the green evidence; if the verification is passed, the green electricity passing certificate is stored on a block chain; if the verification is not passed, the error information is fed back, and the green electricity through certificate is regenerated until the verification is passed, and the green electricity through certificate is stored on the blockchain.
The invention provides a new energy power tracing method and system based on a blockchain, which stores a power purchase transaction contract, a new energy scheduling plan curve and a new energy point consumption order in the blockchain and analyzes the power purchase transaction contract, the new energy scheduling plan curve and the new energy point consumption order, acquires and correlates key field information format data, scheduling curve hash data and order information format data to acquire a green electricity certificate with a unique identifier, stores the green electricity certificate on the blockchain, and traces the source of the green electricity by a method of tracing digital identifiers; the invention is based on the distributed account book, the data privacy security, the data precision right and other mechanisms of the blockchain, opens up the information barriers of the transaction center, the dispatching and the electricity utilization side, promotes the data sharing and the cooperation, and realizes the data mutual trust and the secure transmission among all the mechanisms through the core technologies of an asymmetric encryption algorithm, a consensus mechanism and the like; the work efficiency is improved through the distributed data account book, the storage safety and the transmission reliability of data are guaranteed through the non-falsifiability of the blockchain, and the generation and the distribution of large-scale green evidence at a user side are effectively supported through a high-availability blockchain bottom layer platform; ensuring the transparency of the service execution process through intelligent contracts; the invention can realize the standardized and normalized management of clean energy consumption statistics, and can effectively integrate the electric power market resources and reduce the actual requirements of power generation cost.
Drawings
Exemplary embodiments of the present invention may be more completely understood in consideration of the following drawings:
FIG. 1 is a flowchart of a new energy power tracing method 100 based on blockchain according to an embodiment of the invention;
FIG. 2 is an exemplary diagram of a new energy power trace based on blockchain in accordance with an embodiment of the present invention;
FIG. 3 is a new energy point service flow chart for a new energy vehicle according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a green traceability certificate according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a new energy power traceability platform based on blockchain according to an embodiment of the invention;
FIG. 6 is a technical architecture diagram of a blockchain-based green electric traceability platform according to an embodiment of the invention;
fig. 7 is a schematic structural diagram of a new energy power tracing system 700 based on a blockchain according to an embodiment of the invention.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the examples described herein, which are provided to fully and completely disclose the present invention and fully convey the scope of the invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, like elements/components are referred to by like reference numerals.
Unless otherwise indicated, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. In addition, it will be understood that terms defined in commonly used dictionaries should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
Fig. 1 is a flowchart of a new energy power tracing method 100 based on a blockchain according to an embodiment of the invention. As shown in fig. 1, in the new energy power tracing method based on the blockchain provided by the embodiment of the invention, a power purchase transaction contract, a new energy scheduling plan curve and a new energy point consumption order are stored in the blockchain and analyzed, key field information format data, scheduling curve hash data and order information format data are acquired and correlated, so that a green electricity certificate with a unique identifier is stored in the blockchain, and the green electricity is traced by a method of tracing digital identifiers; the invention is based on the distributed account book, the data privacy security, the data precision right and other mechanisms of the blockchain, opens up the information barriers of the transaction center, the dispatching and the electricity utilization side, promotes the data sharing and the cooperation, and realizes the data mutual trust and the secure transmission among all the mechanisms through the core technologies of an asymmetric encryption algorithm, a consensus mechanism and the like; the work efficiency is improved through the distributed data account book, the storage safety and the transmission reliability of data are guaranteed through the non-falsifiability of the blockchain, and the generation and the distribution of large-scale green evidence at a user side are effectively supported through a high-availability blockchain bottom layer platform; ensuring the transparency of the service execution process through intelligent contracts; the invention can realize the standardized and normalized management of clean energy consumption statistics, and can effectively integrate the electric power market resources and reduce the actual requirements of power generation cost. The new energy power tracing method 100 based on the blockchain provided by the embodiment of the invention starts from step 101, acquires a power purchase transaction contract and at least one new energy scheduling plan curve in step 101, and stores the power purchase transaction contract and the new energy scheduling plan curve in the blockchain.
In step 102, capturing key field information in the electricity purchase transaction contract through an intelligent contract, and determining key field information format data according to a preset first data format based on the key field information.
Preferably, the key field information includes: transaction number, power generation area name, power receiving area name, and power type; the data format of the key field information format data is transaction number, power generation area name, power receiving area name and power type.
The green electricity tracing is to map the physical electricity digitally onto the blockchain by opening up all links of transaction and scheduling, so that the digital traceable commodity is changed, and the purpose of precisely tracing renewable energy electricity is achieved. As shown in fig. 2 and fig. 3, in the embodiment of the present invention, the roles involved include a beijing electric power transaction center, a national dispatching center and a platform order center of the internet of vehicles, and each main body respectively provides own data fields to combine to generate a unique green electricity passing certificate, so as to implement tracing of new energy electricity usage for new energy vehicles.
The power transaction center uploads the power purchase transaction contract to the blockchain, and the scheduling center uploads the scheduling plan curve of the new energy power to the blockchain. Then, key field information in the contract is captured through the intelligent contract, wherein the key field information comprises transaction bulletin numbers, power generation provinces, power receiving provinces and power type information of transactions, the captured information is converted into corresponding format identifiers to be orderly combined, and partial pass is formed. In the figure, the transaction number is 10001, the power generation province is Qinghai, the power receiving province is Beijing, the power type is 02 and represents wind power (the representative number of each new energy power is preset), and the key field information format data can be determined according to the data format of the key field information format data: 10001QHBJ02 (i.e., universal fragment 1).
In step 103, a corresponding new energy scheduling plan curve is determined according to the key field information, and the determined corresponding new energy scheduling plan curve is hashed to obtain scheduling curve hash data.
In the embodiment of the invention, the corresponding scheduling curve is determined according to the power generation province, the power receiving province and the power type information extracted from the power purchase transaction contract, the determined scheduling curve is hashed, and the acquired hash data is added to the key field information format data through the intelligent contract to form the first half part of the content of the pass. As shown in fig. 2 and 3, the key field information format data is: 10001QHBJ02 (i.e., pass-through fragment 1) generates a scheduling curve hash of 0X … C7 (i.e., pass-through fragment 2,0X is used to represent that the acquired scheduling curve hash data is hexadecimal), then the first half of generating a green electricity tracing credential by performing field matching through an intelligent contract is: 10001QHBJ020X … C7.
In this case, the green license may be directly determined after the key field information format data, the scheduling curve hash data, and the order information format data are acquired, instead of generating the first half of the license.
In an embodiment of the present invention, the schedule plan curve may be a daily schedule plan curve. When a dispatching center determines a day dispatching plan curve, if a numerical value is taken every 15 minutes, the curve corresponds to a string of indefinite length numerical value strings containing 96 point numerical values, the string is converted into a 16-system character string, the character string is set as m, hash transformation is carried out on the character string through an SHA256 secure Hash function algorithm, and Hash data Hash (m) with a fixed length of 256b is obtained after grouping, filling and encryption processing. The basic calculation thought of the SHA256 secure hash function algorithm is as follows: dividing the message m into N512-bit data blocks, obtaining H (1) by the hash initial value H (0) through a first data block, obtaining H (2) by the H (1) through a second data block, sequentially processing, finally obtaining H (N), connecting 8 32 bits of the H (N) into a 256-bit message abstract, and representing according to hexadecimal format to obtain the obtained hash data.
In step 104, a new energy electricity consumption order matched with the electricity purchase transaction contract is acquired and stored on a blockchain, the new energy electricity consumption order is analyzed, order information is acquired, and order information format data is determined according to a preset second data format based on the order information.
Preferably, wherein the order information includes: order number and current charge amount information; the data format of the order information format data is "order number+present charge amount information".
In the embodiment of the invention, after a new energy electricity consumption order of a charging pile user is generated at the front end, an order center immediately uploads the order to a blockchain, and according to the new energy electricity consumption order, the order number and the current charge amount information of the user are analyzed, and the order number and the current charge amount information are converted into corresponding format identifiers for ordered combination, so that order information format data are obtained. As shown in fig. 2 and 3, the smart contract captures the order number and the electricity consumption field, and generates order information format data as follows: x … XX00100 (i.e. pass-through fragment 3).
In the embodiment of the invention, the bit numbers of the key field information format data, the scheduling curve hash data and the order information format data are set according to actual requirements.
In step 105, the key field information format data, the scheduling curve hash data and the order information format data are associated through the intelligent contract, so as to obtain a green evidence, and the green evidence is stored on the blockchain, and a green traceability certificate including the green evidence is fed back to the user side.
Preferably, the associating the key field information format data, the scheduling curve hash data and the order information format data by the smart contract to obtain a green license for storage on a blockchain includes:
and carrying out field matching through the intelligent contract, orderly combining the key field information format data, the dispatching curve hash data and the order information format data according to the sequence of arranging the key field information format data, the dispatching curve hash data and the order information format data in sequence so as to obtain a green electricity passing certificate, and storing the green electricity passing certificate on a block chain.
Preferably, wherein the method further comprises:
performing format and integrity verification on the green evidence; if the verification is passed, the green electricity passing certificate is stored on a block chain; if the verification is not passed, the error information is fed back, and the green electricity through certificate is regenerated until the verification is passed, and the green electricity through certificate is stored on the blockchain.
In an embodiment of the present invention, the key field information format data, the scheduling curve hash data and the order information format data are associated by an intelligent contract, and the key field information format data, the scheduling curve hash data and the order information format data are sequentially combined in the order of sequentially arranging the key field information format data, the scheduling curve hash data and the order information format data, thereby determining the completed green license. As shown in fig. 2 and 3, the generated green electricity is verified as: 00001SXBJ020X … C7X … XX00100.
In addition, the smart contract specifies the order of field combinations and verifies the certification format, including: performing format and integrity verification on the green evidence; if the verification is passed, the green electricity passing certificate is stored on a block chain; if the verification is not passed, the error information is fed back, and the green electricity through certificate is regenerated until the verification is passed, and the green electricity through certificate is stored on the blockchain.
Finally, the green power tracing certificate shown in fig. 4 is determined according to the green power certificate and fed back to the user side. The complete green electricity tracing certificate is fed back to the Internet of vehicles service system, and after the charging is completed, the user can receive the corresponding green electricity tracing certificate on the front-end page, so that the electricity used by the user is proved to be new energy electricity.
As shown in fig. 5, the green traceability platform based on block chain according to the embodiment of the present invention includes:
1. scheduling plan management system: the service mainly obtains power transaction contract data through authorization of a power transaction center system, models and generates a new energy characteristic curve through contract information and data support of a scheduling plan management system, and adjusts and optimizes a model according to historical data and daily operation data. Meanwhile, the system hashes the predicted new energy characteristic curve on the chain, the hash value and the purchase electricity contract analysis field form a supply side part of the green electricity passing certificate, and the new energy characteristic curve is uplink through the intelligent contract. And finally, matching the relevant data on the new energy characteristic curve graph with a specific order through a matching rule generated by 'green electricity passing license' through an intelligent contract.
2. Government regulatory platform: the service provides a government-related department with a presentation of global statistics for green electricity transactions, while the blockchain provides a trusted data endorsement for the platform.
3. Blockchain visualization service: the service provides a visual monitoring service of the blockchain for the system, helps a system administrator to provide blockchain information and provides a global business information display service.
4. And (3) modifying a power transaction center system: the service mainly relates to a power transaction center providing contract file transmission service and standard interfaces for a blockchain platform, and comprises fields of power contract, contract announcement number, originating terminal, receiving terminal, power type and the like; and meanwhile, the contract source file is pushed to the blockchain system and a file server of the same, and the original contract hash is synchronously stored on the blockchain.
5. And (3) modifying a vehicle networking platform: the module is mainly based on the existing internet of vehicles platform, and has the functions of green electricity contract management, dispatch service docking management, contract electricity consumption management, green electricity dispatch management, charging information real-time management, green electricity traceability management and the like of an administrator terminal; and generating and checking green license block chain on the newly added green license chain at the C end (APP end).
6. Building a block chain bottom layer platform: the module is to use a high-performance blockchain bottom layer platform, and takes a vehicle networking platform, a scheduling plan management system, a power transaction system and a government supervision department as system participants to allocate blockchain nodes.
7. Intelligent contract service: matching of intelligent closed system scheduling curves based on block chains provides support; meanwhile, the generation rule of the green electricity license is stored on the blockchain through intelligent contracts, and each green electricity license is generated through intelligent contracts which are automatically triggered and executed and is permanently recorded on the chain.
The technical architecture of the system is shown in fig. 6, and according to the bottom-up method, the platform can be divided into a bottom resource layer, a basic service layer, a middle service layer, a business service layer, a system docking layer and an organization interconnection layer.
The system bottom layer resource layer mainly refers to storage, calculation and network resources for supporting the whole service operation. The system basic service layer mainly refers to a blockchain technical service (blockchain node), a message queue service, a cache service, a database service and the like. The middle platform service layer comprises a block data middle platform, an intelligent contract middle platform and a service aggregation middle platform. The business service layer comprises a dispatch plan management system, a transformation of an electric power center transaction system, a government supervision platform, a block chain visualization and an Internet of vehicles platform; the butt joint mode of the service system is that a mobile terminal and a browser are accessed; API interface and file transmission; the system is accessed to the Internet of vehicles platform through the transformation of the mobile terminal and the browser terminal, has the management function of the system, and synchronizes information to the monitoring terminal of the government supervision mechanism; the power transaction center and the dispatch plan management system are communicated with the blockchain and business system through an AP I interface and a file transmission service, and data is transmitted to the platform through a standard interface.
In order to complete the automatic execution of the green electricity traceability logic and clear and transparent process, the invention needs to develop corresponding intelligent contracts on the blockchain. And analyzing the contract number through the intelligent contract, finding a corresponding new energy characteristic matching curve in the scheduling plan management system, hashing the curve, and then uploading the curve, and filling the hash value serving as a field of the green electricity pass into the pass corresponding to the contract number. After the business rules are transformed, the blockchain platform supports dynamic contract upgrading and data migration under the condition that specific business data are not affected, and all operations are transparent to upper-layer applications.
When a plurality of participants are added into the block chain green electricity tracing service in the future, the services of each province are required to be mutually independent under the condition of ensuring the reduction of the node deployment workload as much as possible, and in order to improve the data security privacy protection and support flexible independent service scenes, the invention realizes the physical level partition consensus of the internal transaction of the block chain network by designing a partition consensus mechanism on the block chain platform. The privacy protection of transaction granularity can be supported, the related party of the transaction is appointed when the transaction is sent, the transaction detail is stored only in the related party, and the hash of the privacy transaction is stored in the public account book after the whole network is commonly known, so that the effective isolation of the privacy data is ensured, and the authenticity of the privacy transaction can be verified.
In the block chain network, the nodes are divided into two types of consensus nodes and non-verification synchronous nodes according to different node types. The consensus nodes participate in the consensus of the whole blockchain network, and each node has the consensus total account data, namely all the consensus nodes are mutually backed up. If the BFT algorithm is adopted by the block chain platform, the number of the nodes which participate in the consensus is not less than four, so that the whole system at least has four backup data, any node downtime which is not more than the prescribed number of the algorithm does not influence the operation of the whole system, the whole system has no problem of single-point failure, and the data disaster recovery capability is extremely strong. The non-verification synchronous node can be connected with the appointed consensus node to carry out data synchronization, namely, the non-verification synchronous node has all account book data of the whole blockchain network, and plays a role in data redundancy backup. The non-verification node can meet the high-concurrency query requirement of multiple orders, can be used as a hot backup of the consensus node, and can be upgraded to the consensus node when the consensus node goes wrong and down, so that the stability of the system is ensured.
According to the invention, the construction of the green electricity tracing system is used as a starting point for effectively counting clean energy consumption, multiparty data are stored in the block chain to perform efficient and safe data collaboration, standardized and normalized management of clean energy consumption statistics is realized, and the actual requirements of electricity market resources and power generation cost are effectively integrated. Compared with the traditional tracing mode, the green electricity tracing scheme based on the blockchain has the advantages that the working efficiency is improved through the distributed data account book, the storage safety and the transmission reliability of data are guaranteed through the non-falsifiability of the blockchain, and the generation and the distribution of the large-scale green electricity evidence at the user side are effectively supported through the high-availability blockchain bottom layer platform. The green electricity on the chain is traced to the source and closed, so that the clean energy consumption and the quantity, price and time of transmission are matched, the tracing precision and reliability are improved, the benign interaction of the clean energy production-distribution-consumption ecological platform is promoted, the whole-society power supply structure is optimized, the peak regulation and frequency modulation pressure of the system is relieved, and the new energy utilization benefit of the whole society is improved. The clean electricity for the electric automobile is beneficial to exerting the energy-saving and environment-friendly benefits of the electric automobile. The thermal power duty ratio in the current electric energy source is still higher, so that the energy-saving and environment-friendly effects of the electric automobile are limited. The thermal power accounting for 70 percent is calculated, clean electric energy is obtained by polymerizing electric automobile loads to participate in electric power transaction, and the carbon dioxide emission reduction and energy saving equivalent of the electric automobile consuming 1kwh electric energy are respectively improved by 4.2 times and 1.8 times compared with the prior art. The invention can integrate data resources of new energy industry, strengthen government supervision of new energy automobile industry, and provide data support for government policy making, subsidy issuing and scientific decision making.
Fig. 7 is a schematic structural diagram of a new energy power tracing system 700 based on a blockchain according to an embodiment of the invention. As shown in fig. 7, the new energy power tracing system 700 based on blockchain according to the embodiment of the present invention includes: a data storage module 701, a key field information format data determination module 702, a scheduling curve hash data acquisition module 703, an order information format data acquisition module 704, and a green license acquisition module 705.
Preferably, the data storage module 701 is configured to obtain a power purchase transaction contract and at least one new energy scheduling plan curve, and store the power purchase transaction contract and the new energy scheduling plan curve in a blockchain.
Preferably, the key field information format data determining module 702 is configured to capture key field information in the electricity purchase transaction contract through an intelligent contract, and determine key field information format data according to a preset first data format based on the key field information.
Preferably, the key field information includes: transaction number, power generation area name, power receiving area name, and power type; the data format of the key field information format data is transaction number, power generation area name, power receiving area name and power type.
Preferably, the scheduling curve hash data obtaining module 703 is configured to determine a corresponding new energy scheduling plan curve according to the key field information, and hash the determined corresponding new energy scheduling plan curve to obtain scheduling curve hash data.
Preferably, the order information format data obtaining module 704 is configured to obtain a new energy electricity consumption order, store the new energy electricity consumption order on a blockchain, parse the new energy electricity consumption order, obtain order information, and determine order information format data according to a preset second data format based on the order information.
Preferably, wherein the order information includes: order number and current charge amount information; the data format of the order information format data is "order number+present charge amount information".
Preferably, the green license obtaining module 705 is configured to correlate the key field information format data, the scheduling curve hash data, and the order information format data through an intelligent contract, so as to obtain a green license stored on a blockchain, and feed back a green traceability certificate including the green license to a user side.
Preferably, the green license obtaining module performs field matching through an intelligent contract, associates the key field information format data, the scheduling curve hash data and the order information format data to obtain a green license, and stores the green license on a blockchain, and includes:
and carrying out field matching through the intelligent contract, orderly combining the key field information format data, the dispatching curve hash data and the order information format data according to the sequence of arranging the key field information format data, the dispatching curve hash data and the order information format data in sequence so as to obtain a green electricity passing certificate, and storing the green electricity passing certificate on a block chain.
Preferably, the green license acquisition module further includes:
performing format and integrity verification on the green evidence; if the verification is passed, the green electricity passing certificate is stored on a block chain; if the verification is not passed, the error information is fed back, and the green electricity through certificate is regenerated until the verification is passed, and the green electricity through certificate is stored on the blockchain.
The new energy power tracing system 700 based on the blockchain in the embodiment of the present invention corresponds to the new energy power tracing method 100 based on the blockchain in another embodiment of the present invention, and will not be described herein.
The invention has been described with reference to a few embodiments. However, as is well known to those skilled in the art, other embodiments than the above disclosed invention are equally possible within the scope of the invention, as defined by the appended patent claims.
Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise therein. All references to "a/an/the [ means, component, etc. ]" are to be interpreted openly as referring to at least one instance of said means, component, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical aspects of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those of ordinary skill in the art that: modifications and equivalents may be made to the specific embodiments of the invention without departing from the spirit and scope of the invention, which is intended to be covered by the claims.

Claims (10)

1. The new energy power tracing method based on the block chain is characterized by comprising the following steps of:
acquiring a purchase electricity trade contract and at least one new energy scheduling plan curve, and storing the purchase electricity trade contract and the new energy scheduling plan curve in a blockchain;
capturing key field information in the electricity purchase transaction contract through an intelligent contract, and determining key field information format data according to a preset first data format based on the key field information;
determining a corresponding new energy scheduling plan curve according to the key field information, and hashing the determined corresponding new energy scheduling plan curve to obtain scheduling curve hash data;
acquiring a new energy electricity consumption order matched with the electricity purchase transaction contract, storing the new energy electricity consumption order on a blockchain, analyzing the new energy electricity consumption order, acquiring order information, and determining order information format data according to a preset second data format based on the order information;
and correlating the key field information format data, the dispatching curve hash data and the order information format data through an intelligent contract to obtain a green evidence, storing the green evidence on a blockchain, and feeding back a green traceability certificate comprising the green evidence to a user side.
2. The method of claim 1, wherein the key field information comprises: transaction number, power generation area name, power receiving area name, and power type; the data format of the key field information format data is transaction number, power generation area name, power receiving area name and power type.
3. The method of claim 1, wherein the order information comprises: order number and current charge amount information; the data format of the order information format data is "order number+present charge amount information".
4. The method of claim 1, wherein associating the key field information format data, the scheduling curve hash data, and the order information format data by a smart contract to obtain a green license for storage on a blockchain comprises:
and carrying out field matching through the intelligent contract, orderly combining the key field information format data, the dispatching curve hash data and the order information format data according to the sequence of arranging the key field information format data, the dispatching curve hash data and the order information format data in sequence so as to obtain a green electricity passing certificate, and storing the green electricity passing certificate on a block chain.
5. The method according to claim 1, wherein the method further comprises:
performing format and integrity verification on the green evidence; if the verification is passed, the green electricity passing certificate is stored on a block chain; if the verification is not passed, the error information is fed back, and the green electricity through certificate is regenerated until the verification is passed, and the green electricity through certificate is stored on the blockchain.
6. New energy power traceability system based on block chain, characterized in that the system comprises:
the data storage module is used for acquiring a power purchase transaction contract and at least one new energy scheduling plan curve and storing the power purchase transaction contract and the new energy scheduling plan curve in a blockchain;
the key field information format data determining module is used for capturing key field information in the electricity purchase transaction contract through an intelligent contract and determining key field information format data according to a preset first data format based on the key field information;
the scheduling curve hash data acquisition module is used for determining a corresponding new energy scheduling plan curve according to the key field information and carrying out hash on the determined corresponding new energy scheduling plan curve so as to acquire scheduling curve hash data;
the order information format data acquisition module is used for acquiring new energy electricity consumption orders, storing the new energy electricity consumption orders on a blockchain, analyzing the new energy electricity consumption orders, acquiring order information, and determining order information format data according to a preset second data format based on the order information;
and the green electricity evidence obtaining module is used for associating the key field information format data, the dispatching curve hash data and the order information format data through the intelligent contract so as to obtain the green electricity evidence which is stored on the blockchain, and feeding back a green electricity tracing evidence comprising the green electricity evidence to the user side.
7. The system of claim 6, wherein the key field information comprises: transaction number, power generation area name, power receiving area name, and power type; the data format of the key field information format data is transaction number, power generation area name, power receiving area name and power type.
8. The system of claim 6, wherein the order information comprises: order number and current charge amount information; the data format of the order information format data is "order number+present charge amount information".
9. The system of claim 6, wherein the green license acquisition module, field matching by smart contracts, correlates the key field information format data, the scheduling curve hash data, and the order information format data to acquire a green license for storage on a blockchain, comprises:
and carrying out field matching through the intelligent contract, orderly combining the key field information format data, the dispatching curve hash data and the order information format data according to the sequence of arranging the key field information format data, the dispatching curve hash data and the order information format data in sequence so as to obtain a green electricity passing certificate, and storing the green electricity passing certificate on a block chain.
10. The system of claim 6, wherein the green license acquisition module further comprises:
performing format and integrity verification on the green evidence; if the verification is passed, the green electricity passing certificate is stored on a block chain; if the verification is not passed, the error information is fed back, and the green electricity through certificate is regenerated until the verification is passed, and the green electricity through certificate is stored on the blockchain.
CN202011133993.1A 2020-10-21 2020-10-21 New energy power tracing method and system based on blockchain Active CN112270550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011133993.1A CN112270550B (en) 2020-10-21 2020-10-21 New energy power tracing method and system based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011133993.1A CN112270550B (en) 2020-10-21 2020-10-21 New energy power tracing method and system based on blockchain

Publications (2)

Publication Number Publication Date
CN112270550A CN112270550A (en) 2021-01-26
CN112270550B true CN112270550B (en) 2024-04-16

Family

ID=74341286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011133993.1A Active CN112270550B (en) 2020-10-21 2020-10-21 New energy power tracing method and system based on blockchain

Country Status (1)

Country Link
CN (1) CN112270550B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112508707B (en) * 2021-02-03 2021-05-07 国网电子商务有限公司 New energy data aggregation method and transaction system based on identification and block chain
CN113010605A (en) * 2021-03-19 2021-06-22 阳光电源股份有限公司 Green power source tracing method and device based on block chain
CN113438084B (en) * 2021-06-23 2022-11-29 国网北京市电力公司 Green power source tracing method and system based on R-PBFT consensus algorithm and timestamp
CN113505336B (en) * 2021-07-01 2022-10-21 昆明电力交易中心有限责任公司 Renewable energy power consumption tracing system and method based on block chain technology
CN113554359B (en) * 2021-09-22 2021-12-17 国网区块链科技(北京)有限公司 Green power authentication method, device and system based on block chain
CN113672637B (en) * 2021-10-21 2022-09-06 北京清能互联科技有限公司 Block chain-based product supply chain green electricity consumption accounting method, device and platform
CN114726548B (en) * 2022-05-19 2022-11-11 国网数字科技控股有限公司 Cross-chain-supported green electricity tracing method and system
CN115049084B (en) * 2022-08-16 2022-11-08 中国工业互联网研究院 Fault equipment tracing method, device, equipment and storage medium based on block chain
CN115630046B (en) * 2022-12-22 2023-03-21 国网数字科技控股有限公司 Block chain migration method and device
CN117411885B (en) * 2023-12-15 2024-03-15 广东欢联电子科技有限公司 Data center-based network information data transmission method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423978A (en) * 2017-06-16 2017-12-01 郑州大学 A kind of distributed energy business confirmation method based on alliance's block chain
CN107480987A (en) * 2017-07-25 2017-12-15 浙江大学 Green electric power supply certificate core hair based on block chain technology subscribes method and system
CN110689398A (en) * 2019-08-29 2020-01-14 合肥工业大学 Residential micro-grid power transaction management system based on block chain
CN110717832A (en) * 2019-10-21 2020-01-21 腾讯科技(深圳)有限公司 Clean energy trading method, system, device and storage medium based on block chain
CN110956344A (en) * 2020-02-24 2020-04-03 华北电力大学 Source-load coordinated optimization scheduling method considering green certificate and carbon trading system
CN111008795A (en) * 2020-03-09 2020-04-14 国网电子商务有限公司 Block chain-based power dispatching system data processing method and device
CN111080421A (en) * 2020-03-24 2020-04-28 国网电子商务有限公司 Green power certificate transaction method and device based on block chain
CN111090890A (en) * 2020-03-19 2020-05-01 国网电子商务有限公司 New energy power utilization data processing method and device based on block chain and participating node
CN111177253A (en) * 2019-11-26 2020-05-19 南方电网传媒有限公司 Power big data protection method and system based on identity digital authentication
CN111680865A (en) * 2020-04-26 2020-09-18 中化现代农业有限公司 Agricultural product control traceability platform based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11130042B2 (en) * 2016-02-02 2021-09-28 Bao Tran Smart device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423978A (en) * 2017-06-16 2017-12-01 郑州大学 A kind of distributed energy business confirmation method based on alliance's block chain
CN107480987A (en) * 2017-07-25 2017-12-15 浙江大学 Green electric power supply certificate core hair based on block chain technology subscribes method and system
CN110689398A (en) * 2019-08-29 2020-01-14 合肥工业大学 Residential micro-grid power transaction management system based on block chain
CN110717832A (en) * 2019-10-21 2020-01-21 腾讯科技(深圳)有限公司 Clean energy trading method, system, device and storage medium based on block chain
CN111177253A (en) * 2019-11-26 2020-05-19 南方电网传媒有限公司 Power big data protection method and system based on identity digital authentication
CN110956344A (en) * 2020-02-24 2020-04-03 华北电力大学 Source-load coordinated optimization scheduling method considering green certificate and carbon trading system
CN111008795A (en) * 2020-03-09 2020-04-14 国网电子商务有限公司 Block chain-based power dispatching system data processing method and device
CN111090890A (en) * 2020-03-19 2020-05-01 国网电子商务有限公司 New energy power utilization data processing method and device based on block chain and participating node
CN111080421A (en) * 2020-03-24 2020-04-28 国网电子商务有限公司 Green power certificate transaction method and device based on block chain
CN111680865A (en) * 2020-04-26 2020-09-18 中化现代农业有限公司 Agricultural product control traceability platform based on block chain

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
区块链在绿色能源证书交易方面的应用与实践;张元星;刁晓虹;李涛永;蒋林洳;张晶;刘永相;李康;;电力信息与通信技术;20200625(06);全文 *
区块链技术在区域能源微网中的应用;王惠,李义强,潘俊;太阳能;20180430(第4期);59-63 *
区块链技术在电力辅助服务领域的应用综述;李彬;曹望璋;祁兵;孙毅;郭乃网;苏运;崔高颖;;电网技术;20170305(03);全文 *
区块链技术在绿证交易市场中的应用;石欣;电力通信技术研究及应用;20190430;164-167 *
基于区块链的绿色证书交易平台: 概念与实践;蔡元纪;电力系统自动化;20200525;第44卷(第15期);1-9 *
跨国电力交易的区块链存证技术;陈爱林;田伟;耿建;杨争林;冯树海;;全球能源互联网;20200125(01);全文 *

Also Published As

Publication number Publication date
CN112270550A (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN112270550B (en) New energy power tracing method and system based on blockchain
CN107395353B (en) block chain consensus method and device
CN108428141B (en) Food traceability information management system based on ERP system and block chain
CN114065283A (en) Lightweight block chain storage method and device capable of cyclic regeneration
CN112307501B (en) Big data system based on block chain technology, storage method and using method
CN103218574A (en) Hash tree-based data dynamic operation verifiability method
CN110599095A (en) Dangerous waste treatment method based on block chain network and node of block chain network
CN113438084A (en) Green power source tracing method and system based on R-PBFT consensus algorithm and timestamp
CN111459461A (en) Energy use right verification and transaction system and method based on Internet of things and block chain technology
CN113570479B (en) Block chain transmission method, system and storage medium for real estate transaction data
CN114006920B (en) Geological disaster emergency command system based on alliance chain
CN111932250A (en) Method for realizing power grid information sharing based on block chain technology
Cui et al. Protecting vaccine safety: An improved, blockchain-based, storage-efficient scheme
CN113111125B (en) Business evidence-storing method based on block chain
Liu et al. Using blockchain technology in IoT manufacture environment for intelligence prediction
CN113256470A (en) Weapon equipment management system and method based on block chain
CN113315753A (en) Block data credibility recovery method based on coding technology
CN116910820A (en) Data report processing method, device, computer equipment and storage medium
CN112187909B (en) Financing information generation system and method based on block chain
Zhang et al. Research on Lightweight Blockchain Technology Based on Edge Computing
CN113014556B (en) Bank-enterprise communication system, communication method and electronic terminal
CN111953546B (en) Internet of things equipment management method based on block chain system and intelligent home system
CN114298694A (en) Block chain service platform management method and device, computer equipment and storage medium
CN111274323A (en) Intelligent automatic monitoring method based on periodicity
Liang et al. Architecture design for market-oriented transaction of distributed generation based on blockchain

Legal Events

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