CN113240380A - System and method for distributed power management - Google Patents

System and method for distributed power management Download PDF

Info

Publication number
CN113240380A
CN113240380A CN202110395188.4A CN202110395188A CN113240380A CN 113240380 A CN113240380 A CN 113240380A CN 202110395188 A CN202110395188 A CN 202110395188A CN 113240380 A CN113240380 A CN 113240380A
Authority
CN
China
Prior art keywords
identity
consumption
user
certificate
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110395188.4A
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 Corp of China SGCC
State Grid Hebei Electric Power Co Ltd
Cangzhou Power Supply Co of State Grid Hebei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Hebei Electric Power Co Ltd
Cangzhou Power Supply Co of State Grid Hebei Electric Power 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 Corp of China SGCC, State Grid Hebei Electric Power Co Ltd, Cangzhou Power Supply Co of State Grid Hebei Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202110395188.4A priority Critical patent/CN113240380A/en
Publication of CN113240380A publication Critical patent/CN113240380A/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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention is suitable for the technical field of power supply, and provides a system and a method for distributed power supply management, wherein the system for distributed power supply management comprises the following steps: the registration admission module is used for authenticating the user identity information and generating an identity certificate after the authentication is successful; the consumption voucher module is used for verifying the identity voucher of the user, issuing the consumption voucher for the user, and recording the consumption voucher issuing record; and the contract gateway module is used for verifying the identity certificates of the seller and the buyer of the order according to the identity certificate contract, verifying the consumption certificates of the seller and the buyer according to consumption certificate derived contracts, establishing a bilateral order according to a confirmation contract and recording the bilateral order under the condition that all the verifications are passed. The invention realizes the operation on the transaction chain, ensures the transparency and high efficiency of the transaction, improves the consensus efficiency, ensures that the data can not be forged or falsified and improves the safety of the data.

Description

System and method for distributed power management
Technical Field
The invention belongs to the technical field of power supply, and particularly relates to a system and a method for distributed power supply management.
Background
At present, the relevant policies of encouraging the development of distributed energy sources, particularly roof photovoltaic power generation, are continuously issued in China, and the distributed photovoltaic power generation is rapidly developed in China. The construction of energy systems increasingly develops towards the direction of multi-energy complementation, source-network-load-storage integrated control, energy local consumption and the like. Energy management gradually introduces the technology of the internet of things, and particularly, the power system more and more widely introduces the technology of the internet of things to construct a power supply internet of things system so as to provide more convenient and flexible power operation management. The optimization scheduling problem of the power management system mainly composed of the photovoltaic system and the energy storage system is widely researched.
However, in the process of implementing the embodiment of the present invention, it is found that at least the following problems exist in the related art:
in the existing power management scheme, a central node uniformly organizes transaction of a consumption certificate, so that the consensus efficiency is low and the data security is poor.
Disclosure of Invention
In view of this, the present invention provides a system and a method for distributed power supply management, which can improve the consensus efficiency of each node in a power management system and improve data security.
A first aspect of an embodiment of the present invention provides a system for distributed power supply management, including:
the registration admission module is used for authenticating the user identity information and generating an identity certificate after the authentication is successful;
the consumption voucher module is used for verifying the identity voucher of the user, issuing the consumption voucher for the user, and recording the consumption voucher issuing record;
and the contract gateway module is used for verifying the identity certificates of the seller and the buyer of the order according to the identity certificate contract, verifying the consumption certificates of the seller and the buyer according to consumption certificate derived contracts, establishing a bilateral order according to a confirmation contract and recording the bilateral order under the condition that all the verifications are passed.
A second aspect of an embodiment of the present invention provides a method for distributed power supply management, including:
under the condition of receiving order information, analyzing and determining a seller and a buyer of the order;
calling an identity certificate contract and a consumption certificate derivation contract, verifying identity certificates of a seller and a buyer according to the identity certificate contract, and verifying consumption certificates of the seller and the buyer according to the consumption certificate derivation contract;
and under the condition that all the verifications pass, establishing a bilateral order according to a confirmation contract, and recording the bilateral order.
Compared with the prior art, the invention has the following beneficial effects:
the system for distributed power supply management is set based on the block chain, user authentication admission, consumption certificate issuing and power transaction are respectively completed through the registration admission module, the consumption certificate module and the contract gateway module, information self-verification, transmission and management are realized through distributed operation of each node, operation on a transaction chain is realized, the transaction transparency and efficiency are guaranteed, the consensus efficiency is improved, meanwhile, the data cannot be counterfeited or tampered, and the data safety is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a system for distributed power supply management according to an embodiment of the present invention;
fig. 2 is a flowchart of an implementation of a method for distributed power management according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following description is made by way of specific embodiments with reference to the accompanying drawings.
The distributed photovoltaic power generation advocates the principle of nearby power generation, nearby grid connection, nearby conversion and nearby use, is built near a user site, and is operated in a mode of self-generation and self-use at the user side, surfing the internet with redundant electric quantity and balanced and adjusted by a power distribution system. The distributed photovoltaic power generation fully utilizes local solar energy resources, replaces and reduces fossil energy consumption, and effectively solves the problem of loss of electric power in boosting and long-distance transportation. Therefore, distributed photovoltaic power generation is widely popularized, and in order to increase the popularization force, distributed photovoltaic power generation subsidies policies are issued in parts of domestic areas one after another.
In the existing distributed photovoltaic management method, when the distributed photovoltaic sells electric energy to the power distribution system, the power distribution system firstly confirms, generates a corresponding 'virtual token' according to an intelligent contract after the confirmation is successful, and provides the token to the greenhouse. When an electric utility desires photovoltaic energy, payment is made using a "virtual token". Distributed photovoltaics can utilize a decentralized control method to realize 'virtual storage' of electric energy, and for a power grid, electric energy is subjected to a certain amount of 'virtual storage' in each photovoltaic, and the electric energy is digitally represented as a numerical value of a block chain 'virtual token'. In the existing scheme, a power distribution system is used as a central node, consumption certificate transactions are uniformly organized by the central node, the certificate transactions cannot be matched in time, and the management and control method is opaque, so that the trust problem of both transaction parties is easily caused. In addition, in the prior art, after the centralized data storage mechanism is attacked maliciously, data may be tampered or lost, which results in serious consequences. Namely, the existing power distribution system has the problems of low consensus efficiency and poor data safety.
Embodiments of the present invention are directed to building a system for distributed power management based on a blockchain. The block chain is used as a core technology for supporting the bitcoin operation, and has the characteristics of decentralized structure, transparent data disclosure and non-tampering. According to the embodiment of the invention, a set of block chain platform is established based on the national network link stack chain, the block chain platform is in butt joint with the subsidy fund control system according to the public letter intelligent contract of the stack chain, the system data is subjected to chain sinking and chaining in real time, and the user system inquires the block chain account book data. The method is characterized in that a power grid enterprise, a rural happiness department and a income carrying mechanism are arranged to participate in data calculation chaining as a node on a chain, all accounts of the whole chain are stored, and a distributed photovoltaic user and a government supervision department are used as witness nodes, can supervise the data on the chain, and fully exert the characteristics of tamper resistance, traceability and high reliability of a block chain technology.
Referring to fig. 1, a system for distributed power supply management according to an embodiment of the present invention is shown, including: a registration admission module 101, a consumption credentials module 102, and a contract gateway module 103.
The registration admission module 101 is configured to authenticate user identity information, and generate an identity credential after the authentication is successful.
In some embodiments, the registration admission module comprises: the identity information verifying device comprises an identity information obtaining unit, an authentication unit, a secret key unit and an identity certificate issuing unit.
The identity information acquisition unit is used for acquiring user identity information;
the authentication unit is used for carrying out real-name authentication according to the user identity information;
the key unit is used for generating a public and private key pair for a user according to a key generation mechanism;
and the identity certificate issuing unit is used for binding the public key with the user identity information to generate the identity certificate.
In various embodiments, the users include: individual users and business users. When the user is an individual user, the user identity information includes: name, identification card number and bank card; when the user is an enterprise user, the user identity information comprises: company type, company operating range, registered capital, and registered address. When the registration admission module issues the identity voucher, the authentication is completed according to the three identity factors of the individual user, and the authentication is completed according to the four identity factors of the enterprise user.
In some embodiments, the registration admission module further comprises:
the request acquisition unit is used for acquiring an effective identity verification request sent by a user node;
and the calling unit is used for calling the identity certificate of the user to be verified under the condition of receiving the verification receiving response sent by the user node to be verified, and sending the identity certificate to the corresponding user node to meet the requirement of the user on identity verification.
The request acquisition unit and the calling unit meet the requirement that the checking user applies for verifying the effective identity of the market main body of the checking user to the certified user. Of course, if the certified user refuses the verification application, the verification fails; if the user node to be verified passes the request, the calling unit calls the electronic certificate with the signature of the certificate issuing organization, and the verification user broadcasts the verification record to other nodes in the whole network after encrypting the electronic certificate with the public key. And verifying the signature of the issuing mechanism of the identity certificate of the user to be verified by the verification user, and decrypting and mechanically using the private key to verify the identity by using the template. And comparing the identity information of the user to be verified with the chain, and confirming the identity of the user to be verified by adopting a public and private key pair matching method after the identity information is correct, so that high-reliability identity authentication is realized.
In the above embodiment, the registration admission module binds the user identity information with the public key to generate the identity credential based on the multi-party endorsement advantage of the block chain, which ensures that the user registration information is trustable and traceable, allows the user information to have higher credibility, and can avoid the problems of unclear metering, fraudulent supplementation and the like caused by inaccurate main registration and verification of the user compared with the conventional method.
And the consumption certificate module 102 is configured to verify the identity certificate of the user, issue the consumption certificate for the user verification, and record a consumption certificate issuance record.
In some embodiments, the consumption credential module comprises: the device comprises a verification unit, a power information acquisition unit and a consumption certificate issuing unit.
The verification unit is used for verifying the identity certificate of the user;
the electric power information acquisition unit is used for acquiring electric power transaction information;
and the consumption certificate issuing unit is used for issuing the consumption certificate according to the electric power transaction information under the condition that the identity certificate passes the verification.
In some embodiments, the power transaction information includes one or more of vendor signature information, purchaser signature information, transaction time, amount of power, price of power, and lane information.
The traditional mode of certificate issuance is to issue a consumption certificate for each user through a centralized node. In the mode, the time and the labor are consumed for verifying the voucher, the problems of counterfeit and fake, opaque transaction and the like can exist in each process node, the issued voucher record is not easy to trace, and when errors occur in the verification and issuance process, the loss of benefits of related users is easily caused.
In the above embodiment, the block chain technique is used to optimize the consumption voucher issuing process, the application chain records the historical power consumption of the user, and the consumption voucher module calculates the power consumption of each user on the chain by using the intelligent contract and records the power consumption on the block chain. The consumption certificate module verifies the identity certificate of the user by applying an electronic signature technology and issues the consumption certificate for the user. The voucher is provided with electric power transaction information which comprises one or more of seller signature information, buyer signature information, transaction time, electric quantity, electricity price and a channel, and the generated whole flow record chain stores the voucher, so that the traceability and statistics are facilitated, and the problems of multiple, less and wrong issues in the voucher verification and issue process are solved. The consumption voucher issuing mode based on the block chain changes the traditional central node control mode, a consumption voucher issuing system realized through distributed consensus is established, and the correctness and the uniqueness of the consumption voucher can be ensured.
And the contract gateway module 103 is used for verifying the identity certificates of the seller and the buyer of the order according to the identity certificate contract, verifying the consumption certificates of the seller and the buyer according to the consumption certificate derived contract, establishing a bilateral order according to the confirmation contract and recording the bilateral order under the condition that all the verifications are passed.
The bilateral transaction generally requires that transaction negotiation is performed first when both transaction parties are offline, and after agreement is reached, order information is created first by a seller and is signed by using a private key. Optionally, in the bilateral transaction, the two parties complete the transaction on line, the seller establishes the order, and the buyer confirms and transacts the order content on line.
The certificate trading system submits the order information and the signature information to the intelligent contract gateway, the intelligent contract gateway calls the identity certificate contract to verify the signature information of the seller, the consumption is verified, and a bilateral trading order is created after verification is successful. The verification of the allowance guarantees that the electric power allowance of the user can meet the order content, and malicious sending of wrong electric quantity data or tampering of the electric quantity data of the photovoltaic power generation user is avoided, so that the behavior of cheating subsidies is avoided. After the order is created, the purchaser inquires the information of the order to be processed, confirms the order and signs the order information confirmed by the user. And similarly, the intelligent contract gateway is used for verifying the signature information of the purchasing party, the consumption certificate derivation contract is called for balance verification, derivation and transaction of the consumption certificate after the identity is determined, and the confirmation contract is called for confirming the bilateral order transaction. In the bilateral transaction process, bilateral order transaction is completed based on the identity voucher contract, the consumption voucher derived contract and the confirmation contract, so that the credibility is improved, the transparency and the high efficiency of transaction are guaranteed, and the consensus efficiency is improved.
In some embodiments, the system for distributed power management further comprises:
the transaction voucher module is used for generating a transaction voucher according to the bilateral order;
and the consumption voucher module is also used for updating the consumption vouchers of the seller and the buyer according to the transaction voucher. Wherein the transaction credentials include: seller signature, buyer signature, transaction time, electricity quantity, electricity price and channel.
After the bilateral transaction is completed, the power consumption of the seller and the power consumption of the buyer are changed, the consumption certificates of the seller and the consumption certificates of the buyer are updated in real time according to the transaction certificate, and the full life cycle traceability management of the power consumption certificates is realized.
The system for distributed power supply management is set based on the block chain, user authentication admission, consumption certificate issuing and transaction are respectively completed through the registration admission module, the consumption certificate module and the contract gateway module, information self-verification, transmission and management are realized through each node through distributed operation, operation on a transaction chain is realized, the transaction transparency and efficiency are guaranteed, the consensus efficiency is improved, meanwhile, the data cannot be counterfeited or tampered, and the data safety is improved.
In the above embodiments, the application of the blockchain is mainly introduced to solve the complete transaction process, including the links of registration admission, identity verification, contract formation, transaction execution, transaction settlement, information disclosure and the like of the market subject, and the security and trust problems involved in the electric power transaction process are effectively solved based on the area columns. The system for distributed power supply management provided by the embodiment of the invention not only can complete bilateral transaction of electric quantity, but also can realize production link and market supervision of the electric quantity.
In some embodiments, the system for distributed power management further comprises: and the data storage module is used for storing the electric power information of the user, wherein the electric power information comprises generated energy, on-line electricity price and subsidy data.
In the embodiment of the invention, a front-end service system is used as a unique data source, monthly electric quantity data, internet-surfing electricity price, subsidy electricity price and subsidy data of rural happy users related to distributed photovoltaic power generation in a province or city region are collected through system integration, and the data of a service platform is consistent with the data of the service system in real time. Each item of original data is stored in a data storage module by adopting a block chain, so that the traceability of the data on the chain is ensured.
The system for distributed power supply management records the electric quantity, the supply time and the like of a product from the beginning of a production process, and distributed photovoltaic power generation users record the product information of a batch into a local production database at specific time, and simultaneously generate a processing batch code and link the information.
In some embodiments, the system for distributed power management further comprises: and the rechecking module is used for rechecking the power information of the user according to a set period and generating error prompt information under the condition that the information is inconsistent.
Wherein the set period is 1-3 months. Optionally, the set period is 1 month, 2 months or 3 months. The system is internally provided with a post electric charge and a subsidy fund price, and automatically rechecks the system every month according to the integrated electric quantity, the electric charge and the subsidy fund information, and reminds business personnel to correct and push the front-end business system according to inconsistent condition identification.
A system for distributed power management establishes power market regulatory nodes. When the distributed photovoltaic users are subsidized and carbon emission reduction of enterprises is checked, the power market supervision department scans the processing batch codes to check whether the related data conform to the information of the cleaning energy so as to complete monitoring of the whole life cycle of the cleaning power supply chain and control the whole tracing process.
On the basis of the above embodiment, after the selling link is completed, and after the photovoltaic electric quantity reaches the power utilization enterprise through the power transmission line, the receiving time and the enterprise information of the purchaser are recorded and uploaded to the block chain system, and the power utilization enterprise scans the two-dimensional code to obtain all circulation information of the power consumption, including carbon emission and policy subsidy data of the whole link, so that the product can be clearly and accurately known.
Referring to fig. 2, a method for distributed power management according to an embodiment of the present invention is shown, including the following steps:
s201, under the condition that the order information is received, the seller and the buyer of the order are analyzed and determined.
S202, calling an identity certificate contract and a consumption certificate derivation contract, verifying the identity certificates of the seller and the buyer according to the identity certificate contract, and verifying the consumption certificates of the seller and the buyer according to the consumption certificate derivation contract.
And S203, under the condition that all the verifications pass, establishing a bilateral order according to the confirmed contract, and recording the bilateral order.
In different embodiments, the identity and the order of verification of the voucher for both the seller and the buyer are different in step S202.
In some embodiments, step S202 includes:
calling an identity certificate contract, and verifying the identity certificates of the seller and the buyer according to the identity certificate contract;
and under the condition that the identity verification is passed, calling a consumption certificate derivation contract, and verifying the consumption certificates of the seller and the buyer according to the consumption certificate derivation contract.
In some embodiments, step S202 includes:
calling an identity certificate contract and a consumption certificate derivative contract, and verifying the identity certificate of the seller according to the identity certificate contract;
under the condition that the identity certificate of the seller passes the verification, verifying the consumption certificate of the seller according to the consumption certificate derivation contract;
under the condition that the consumption certificate of the seller passes the verification, the identity certificate of the buyer is verified according to the identity certificate contract;
and in the case that the identity certificate of the buyer passes the verification, verifying the absorption certificate of the community according to the absorption certificate derivation contract.
In some embodiments, step S202 includes:
calling an identity certificate contract and a consumption certificate derivative contract, and verifying the identity certificate of the seller according to the identity certificate contract;
under the condition that the identity certificate of the seller passes the verification, verifying the consumption certificate of the seller according to the consumption certificate derivation contract;
under the condition that the customer passes the consumption certificate verification, verifying the consumption certificate of the buyer according to the consumption certificate derivation contract;
and under the condition that the customer passes the verification of the consumption certificate of the buyer, verifying the identity certificate of the seller according to the identity certificate contract.
In the above embodiments, the identity certificate of the seller is first verified, and in some embodiments, the consumption certificate of the seller is verified.
In some embodiments, before invoking the identity credential contract at step 202, further comprising: acquiring user identity information under the condition of receiving a registration admission request; performing real-name authentication according to the user identity information; under the condition of finishing real-name authentication, generating a public and private key pair for a user according to a key generation mechanism; and binding the user identity information with the public key to generate an identity certificate.
In various embodiments, the users include: individual users and business users. When the user is an individual user, the user identity information includes: name, identification card number and bank card; when the user is an enterprise user, the user identity information comprises: company type, company operating range, registered capital, and registered address. When the registration admission module issues the identity voucher, the authentication is completed according to the three identity factors of the individual user, and the authentication is completed according to the four identity factors of the enterprise user.
In some embodiments, a method for distributed power management, further comprises: obtaining an effective identity verification request sent by a user node; and under the condition of receiving a verification acceptance response sent by the user node to be verified, calling the identity certificate of the user to be verified, and sending the identity certificate to the corresponding user node to meet the requirement of the user on identity verification.
The embodiment meets the requirement that the checking user applies for checking the effective identity of the market subject to the certified user. Of course, if the certified user refuses the verification application, the verification fails; if the user node to be verified passes the request, the electronic certificate with the signature of the issuing authority is called, and the verification user broadcasts the verification record to other nodes in the whole network after encrypting the electronic certificate with the public key. And verifying the signature of the issuing mechanism of the identity certificate of the user to be verified by the verification user, and decrypting and mechanically using the private key to verify the identity by using the template. And comparing the identity information of the user to be verified with the chain, and confirming the identity of the user to be verified by adopting a public and private key pair matching method after the identity information is correct, so that high-reliability identity authentication is realized.
In the above embodiment, the registration admission module binds the user identity information with the public key to generate the identity credential based on the multi-party endorsement advantage of the block chain, which ensures that the user registration information is trustable and traceable, allows the user information to have higher credibility, and can avoid the problems of unclear metering, fraudulent supplementation and the like caused by inaccurate main registration and verification of the user compared with the conventional method.
In the embodiment of the invention, a front-end service system is used as a unique data source, monthly electric quantity data, internet-surfing electricity price, subsidy electricity price and subsidy data of rural happy users related to distributed photovoltaic power generation in a province or city region are collected through system integration, and the data of a service platform is consistent with the data of the service system in real time. Each item of original data is stored in a data storage module by adopting a block chain, so that the traceability of the data on the chain is ensured.
In some embodiments, after establishing the bilateral order according to the confirmed contract, further comprising: and generating a transaction voucher, and updating the consumption vouchers of the seller and the buyer according to the transaction voucher. Wherein the transaction credentials include: seller signature, buyer signature, transaction time, electricity quantity, electricity price and channel.
After the bilateral transaction is completed, the power consumption of the seller and the power consumption of the buyer are changed, the consumption certificates of the seller and the consumption certificates of the buyer are updated in real time according to the transaction certificate, and the full life cycle traceability management of the power consumption certificates is realized.
The system for distributed power supply management is set based on the block chain, user authentication admission, consumption certificate issuing and transaction are respectively completed through the registration admission module, the consumption certificate module and the contract gateway module, information self-verification, transmission and management are realized through each node through distributed operation, operation on a transaction chain is realized, the transaction transparency and efficiency are guaranteed, the consensus efficiency is improved, meanwhile, the data cannot be counterfeited or tampered, and the data safety is improved.
In a specific application embodiment, a power grid enterprise, a distributed photovoltaic power generation management department (rural happiness department) and a income transfer mechanism are used as nodes on a chain to participate in data calculation chaining and store all accounts of the whole chain, and distributed photovoltaic power generation users (residents) and government supervision departments are used as witness nodes to supervise the data on the chain and fully exert the characteristics of tamper resistance, traceability and high reliability of a block chain technology. Because the system for distributed power supply management in the embodiment of the present invention is set up based on the block chain, the system may not be able to communicate due to network fluctuation, and the master node generally has two error situations: the main node does not respond due to failure; the main node is a Byzantine node and maliciously tampers with the message sent by the client. The embodiment of the present disclosure dynamically adjusts the master node based on a Dynamic Practical Byzantine Fault Tolerance (DPBFT) algorithm.
The DPBFT algorithm sets a scoring mechanism with an initial score of 0 for each node, a first unresponsive master node withholding 5 points, and a second rogue master node withholding 10 points. And if the node is honest, adding 1 point to the node if the consensus process is successfully completed. When all the node scores are the same, randomly extracting one node as a main node; and when the scores are different, selecting the master node with the highest score.
In the specific embodiment, a power grid enterprise, a distributed photovoltaic power generation management department (rural happiness department), a income transfer institution distributed photovoltaic power generation user (resident) and a government supervision department are used as nodes. The specific host node adjustment process is as follows:
all the replica nodes participate in voting, and one main node is selected. The initial score of each node is 0, the probability that each node is selected as the master node is equal, and the voting determines the master node. Subsequently selecting a main node to preferentially extract from the nodes with the highest scores;
after the system sends a request for selecting the master node, the states of the master node are classified into 3 types: the main node sends an error message, the main node does not respond, and the main node is honest;
if the master node does not respond, 5 points are deducted from the node and a view switching protocol is triggered, wherein the view switching message format is 'Viewchange, n, C, P, i';
if the master node sends an error message, namely after receiving a request, the master node broadcasts the error message to other slave nodes, the format of the broadcast message is < < Pre, V, n, d >, M >, an error serial number is maliciously distributed, and other slave nodes cannot pass verification, 10 points are deducted from the master node, and a view switching protocol is entered, and a view switching message is sent;
if the main node is an honest node and successfully completes a consensus process, adding 1 point to each node in the consensus process, and verifying, recording and writing the message confirmed by each node into a block;
and selecting the node with the highest score as the main node according to the scores of all the nodes.
In order to prevent the honest consensus nodes from changing or going down after the system normally operates, new main nodes are periodically reselected according to the main node adjusting process, and are selected according to the real-time node scores every time, so that the probability that the malicious nodes become the main nodes is reduced. In a specific application process, a malicious cheating subsidy behavior of an enterprise or a user in the power transaction process can be restrained.
Fig. 3 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in fig. 3, the terminal 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32 stored in said memory 31 and executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps in the various method embodiments for carbon emission prediction described above, such as the steps S201 to S203 shown in fig. 2. Alternatively, the processor 30, when executing the computer program 32, implements the functions of each module/unit in the above-mentioned device embodiments, for example, the functions of the modules 101 to 104 shown in fig. 1.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 32 in the terminal 3. For example, the computer program 32 may be divided into a linear processing module, a computing module, a non-linear processing module and an output module, and the specific functions of each module are as follows:
the registration admission module is used for authenticating the user identity information and generating an identity certificate after the authentication is successful;
the consumption voucher module is used for verifying the identity voucher of the user, issuing the consumption voucher for the user, and recording the consumption voucher issuing record;
and the contract gateway module is used for verifying the identity certificates of the seller and the buyer of the order according to the identity certificate contract, verifying the consumption certificates of the seller and the buyer according to consumption certificate derived contracts, establishing a bilateral order according to a confirmation contract and recording the bilateral order under the condition that all the verifications are passed.
The terminal 3 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal may include, but is not limited to, a processor 30, a memory 31. It will be appreciated by those skilled in the art that fig. 3 is only an example of a terminal 3 and does not constitute a limitation of the terminal 3 and may comprise more or less components than those shown, or some components may be combined, or different components, e.g. the terminal may further comprise input output devices, network access devices, buses, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the terminal 3, such as a hard disk or a memory of the terminal 3. The memory 31 may also be an external storage device of the terminal 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the terminal 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal 3. The memory 31 is used for storing the computer program and other programs and data required by the terminal. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described apparatus/terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A system for distributed power management, comprising:
the registration admission module is used for authenticating the user identity information and generating an identity certificate after the authentication is successful;
the consumption voucher module is used for verifying the identity voucher of the user, issuing the consumption voucher for the user, and recording the consumption voucher issuing record;
and the contract gateway module is used for verifying the identity certificates of the seller and the buyer of the order according to the identity certificate contract, verifying the consumption certificates of the seller and the buyer according to consumption certificate derived contracts, establishing a bilateral order according to a confirmation contract and recording the bilateral order under the condition that all the verifications are passed.
2. The system of claim 1, wherein the registration admission module comprises:
the identity information acquisition unit is used for acquiring the identity information of the user;
the authentication unit is used for carrying out real-name authentication according to the user identity information;
the key unit is used for generating a public and private key pair for a user according to a key generation mechanism;
and the identity certificate issuing unit is used for binding the public key with the user identity information to generate the identity certificate.
3. The system of claim 1, wherein the consumption credential module comprises:
the verification unit is used for verifying the identity certificate of the user;
the electric power information acquisition unit is used for acquiring electric power transaction information;
and the consumption certificate issuing unit is used for issuing the consumption certificate according to the electric power transaction information under the condition that the identity certificate passes the verification.
4. The system of claim 3, wherein the power transaction information comprises one or more of vendor signature information, purchaser signature information, transaction time, amount of power, price of power, and lane information.
5. The system of any one of claims 1 to 4, further comprising:
the transaction voucher module is used for generating a transaction voucher according to the bilateral order;
the consumption voucher module is also used for updating the consumption vouchers of the seller and the buyer according to the transaction voucher.
6. The system of any one of claims 1 to 4, further comprising:
the data storage module is used for storing electric power information of a user, wherein the electric power information comprises generated energy, internet electricity price and subsidy data.
7. The system of claim 6, further comprising:
and the rechecking module is used for rechecking the power information of the user according to a set period and generating information error prompt information under the condition that the information is inconsistent.
8. A method for distributed power management, comprising:
under the condition of receiving order information, analyzing and determining a seller and a buyer of the order;
calling an identity certificate contract and a consumption certificate derivation contract, verifying identity certificates of a seller and a buyer according to the identity certificate contract, and verifying consumption certificates of the seller and the buyer according to the consumption certificate derivation contract;
and under the condition that all the verifications pass, establishing a bilateral order according to a confirmation contract, and recording the bilateral order.
9. The method of claim 8, further comprising, prior to said invoking an identity credential contract:
acquiring user identity information under the condition of receiving a registration admission request;
performing real-name authentication according to the user identity information;
under the condition of finishing real-name authentication, generating a public and private key pair for a user according to a key generation mechanism;
and binding the user identity information with the public and private key pair to generate the identity certificate.
10. The method of claim 8, after establishing the bilateral order according to the confirmed contract, further comprising:
and generating a transaction certificate, and updating the consumption certificates of the seller and the buyer according to the transaction certificate.
CN202110395188.4A 2021-04-13 2021-04-13 System and method for distributed power management Pending CN113240380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110395188.4A CN113240380A (en) 2021-04-13 2021-04-13 System and method for distributed power management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110395188.4A CN113240380A (en) 2021-04-13 2021-04-13 System and method for distributed power management

Publications (1)

Publication Number Publication Date
CN113240380A true CN113240380A (en) 2021-08-10

Family

ID=77128077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110395188.4A Pending CN113240380A (en) 2021-04-13 2021-04-13 System and method for distributed power management

Country Status (1)

Country Link
CN (1) CN113240380A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114417424A (en) * 2022-01-27 2022-04-29 成都质数斯达克科技有限公司 Block chain identity privacy protection method, block chain identity privacy protection device, block chain identity privacy protection equipment and readable storage medium
CN116128489A (en) * 2023-04-18 2023-05-16 河北中废通网络技术有限公司 Article recycling transaction processing method, device, terminal and medium based on blockchain
CN118428947A (en) * 2024-07-05 2024-08-02 国网浙江省电力有限公司诸暨市供电公司 Block chain electric power transaction and settlement platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112200533A (en) * 2020-09-22 2021-01-08 国网电力科学研究院有限公司 Block chain-based consumption voucher full-life-cycle management method and device
CN112232813A (en) * 2020-10-12 2021-01-15 国网上海市电力公司 Renewable energy power consumption voucher management method and device based on block chain

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112200533A (en) * 2020-09-22 2021-01-08 国网电力科学研究院有限公司 Block chain-based consumption voucher full-life-cycle management method and device
CN112232813A (en) * 2020-10-12 2021-01-15 国网上海市电力公司 Renewable energy power consumption voucher management method and device based on block chain

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114417424A (en) * 2022-01-27 2022-04-29 成都质数斯达克科技有限公司 Block chain identity privacy protection method, block chain identity privacy protection device, block chain identity privacy protection equipment and readable storage medium
CN114417424B (en) * 2022-01-27 2024-09-13 成都质数斯达克科技有限公司 Block chain identity privacy protection method, device and equipment and readable storage medium
CN116128489A (en) * 2023-04-18 2023-05-16 河北中废通网络技术有限公司 Article recycling transaction processing method, device, terminal and medium based on blockchain
CN118428947A (en) * 2024-07-05 2024-08-02 国网浙江省电力有限公司诸暨市供电公司 Block chain electric power transaction and settlement platform

Similar Documents

Publication Publication Date Title
CN106530088B (en) Method for trading certificate products based on blockchain security nodes
Andoni et al. Blockchain technology in the energy sector: A systematic review of challenges and opportunities
CN109615510B (en) Supply chain finance multistage letter increasing method based on block chain
CN113240380A (en) System and method for distributed power management
CN109345194A (en) A kind of electronic bill flow system
CN108830490A (en) A method of dynamic enterprise credit scoring is managed using publicly-owned block chain
CN112488778A (en) Bill processing method and related device
WO2021143081A1 (en) Digital operation method and apparatus for blockchain supply chain financial platform
CN103870983A (en) Electronic invoice safety management service system based on cloud computing and cryptographic technology
CN112232813B (en) Renewable energy power consumption certificate management method and device based on block chain
CN107784750A (en) A kind of loan done by oneself machine terminal management system and method
Honesti et al. Smart contract-based gamification scheme for college in higher education
CN112053271B (en) Public service platform data evidence management method and system based on block chain
CN112488777A (en) Bill processing method and related device
CN112288213A (en) High-reliability demand response system and method based on block chain
CN111179113A (en) Power demand response method based on block chain technology
CN112200646A (en) Material contract fund payment approval management system and method
CN112232828A (en) Power grid data transaction method and system
CN113919938A (en) Domestic buyer&#39;s warranty financing method, device, equipment and medium based on block chain
CN112487491A (en) Control method and related device for block chain system
WO2022237581A1 (en) Blockchain application method and blockchain application terminal apparatus
CN113065960A (en) Transaction system based on block chain
CN111222963A (en) Bidding information processing method and device based on block chain
Goragandhi et al. The application of blockchain as a distributed ledger and smart contract for property registration
CN113034275B (en) Management system and method based on block chain network and terminal equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210810

RJ01 Rejection of invention patent application after publication