CN108573438A - A kind of autonomous transaction system of custom power based on block chain - Google Patents

A kind of autonomous transaction system of custom power based on block chain Download PDF

Info

Publication number
CN108573438A
CN108573438A CN201810436503.1A CN201810436503A CN108573438A CN 108573438 A CN108573438 A CN 108573438A CN 201810436503 A CN201810436503 A CN 201810436503A CN 108573438 A CN108573438 A CN 108573438A
Authority
CN
China
Prior art keywords
transaction
seller
buyer
data
electricity
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.)
Withdrawn
Application number
CN201810436503.1A
Other languages
Chinese (zh)
Inventor
邱炎新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen United Automation Control Co Ltd
Original Assignee
Shenzhen United Automation Control 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 Shenzhen United Automation Control Co Ltd filed Critical Shenzhen United Automation Control Co Ltd
Priority to CN201810436503.1A priority Critical patent/CN108573438A/en
Publication of CN108573438A publication Critical patent/CN108573438A/en
Withdrawn legal-status Critical Current

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/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • 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/3825Use of electronic 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
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S50/00Market activities related to the operation of systems integrating technologies related to power network operation or related to communication or information technologies
    • Y04S50/10Energy trading, including energy flowing from end-user application to grid
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S50/00Market activities related to the operation of systems integrating technologies related to power network operation or related to communication or information technologies
    • Y04S50/12Billing, invoicing, buying or selling transactions or other related activities, e.g. cost or usage evaluation

Landscapes

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

Abstract

The invention discloses a kind of autonomous transaction systems of the custom power based on block chain, include:User terminal electricity transaction module can sell power capacity, electric energy unit price and vendor information for seller's publication, be additionally operable to buyer and initiate purchase request, and complete power trade by being communicated with seller;Electricity transaction management platform is used for the electricity transaction between seller and buyer and is managed, and transaction data base is written in transaction data and state;Power scheduling module is patrolled in real time for the stateful transaction to updated seller and buyer, and electric energy is carried out power scheduling from seller and buyer.The present invention realizes point-to-point transaction and transmission between regional power generation family and electric power electricity consumer, it avoids and sets up a large amount of transmission lines of electricity, huge economic cost is saved, and ensure that independence, safety and the reliability of process of exchange using block chain technology, it solves the problems, such as the transparence of electricity transaction and ensure that transaction data can not be distorted.

Description

A kind of autonomous transaction system of custom power based on block chain
Technical field
The present invention relates to power market transaction field, especially a kind of custom power based on block chain, which is independently merchandised, is System.
Background technology
Block chain (Blockchain) is a key concept of bit coin, is substantially the data of a decentralization Library, while as the Floor layer Technology of bit coin.Block chain is a string of data blocks using the associated generation of cryptography method, each The information that a bit coin network trading is contained in a data block, validity (anti-fake) for verifying its information and under generating One block.
For narrow sense, block chain is a kind of be sequentially in time combined into data block in such a way that sequence is connected one Kind linked data structure, and the distributed account book that can not be distorted He can not forge ensured in a manner of cryptography.Broadly, area Block chain technology is to verify and store data using block linked data structure, know together algorithm using distributed node to generate and more New data, utilizes the intelligence being made of automatized script code at the safety for ensureing data transmission and access in the way of cryptography Can contract program a kind of completely new distributed basis framework and calculation paradigm with operation data.
So-called block chain technology is also referred to as distributed account book technology, is a kind of internet database technology, feature It is decentralization, open and clear, everyone is allowed to each may participate in data-base recording.It is illustrated with if popular:If we are data Library assumes an account book, and read-write database can regard a kind of behavior of book keeping operation as, and the principle of block chain technology is exactly one The most fast best of book keeping operation is found out in the section time, is kept accounts by this people, this page information of account book is then issued into entire system Other owners in system.This is also equivalent to all records in change data library, issues other each nodes of the whole network, so Block chain technology is also referred to as distributed account book (distributed ledger).
Existing traditional intelligence power grid operation pattern is the power supply mode by centralization or regional center, passes through power generation Power generation of standing is being delivered to power station, by power station United Dispatching, distributes according to need to terminal user;But with distributed power generation and the sun It can be improved with the technical maturity of the clean generation mode such as wind power generation, for large-scale community or compartmentalization small towns user Ke Tong Installation photovoltaic panel, wind-driven generator or production and use of marsh gas power generating equipment are crossed to carry out independent power generation, for what is sent out Rich electricity needs to set up if merchandising the higher transmission line of electricity of cost and maintenance cost with power grid, and user's individual is sent out Power capacity is smaller, if by line transmission, electric energy loss therein is necessarily very important, therefore how to realize large-scale community or area The on-site elimination problem of domain small towns user's individual independent power generation is to need urgent problem to be solved.
Based on the above issues, if autonomous electricity transaction between user and user can be realized, and ensure in process of exchange can By property, safety, economy etc. then can be very good to solve the above problems.
Invention content
In view of the above-mentioned problems, the present invention is intended to provide a kind of autonomous transaction system of custom power based on block chain, is realized The individual consumer of power generation can realize the on-site elimination of electric energy to the autonomous sale of electricity of user nearby, and ensure that purchase user buys electricity The process of exchange of energy is safe and reliable and Transaction Information can not be distorted.
The purpose of the present invention is realized using following technical scheme:
The present invention provides a kind of autonomous transaction systems of the custom power based on block chain, include:
User terminal electricity transaction module can sell power capacity, electric energy unit price and vendor information for seller's publication, also use Purchase request is initiated in buyer, and power trade is completed by being communicated with seller.
Electricity transaction management platform, including grid build module, system data memory module and stateful transaction more New module;The grid builds module for will realize that communication connection and electric energy are defeated between multiple sellers and multiple buyers The connection sent;The data memory module is for be deposited into transaction data base the information that seller issues, and by the number User is shared to according to library;The stateful transaction update module is used to update the state of electricity transaction between seller and buyer, and will Transaction data base is written in the state.
Power scheduling module is patrolled in real time for the stateful transaction to updated seller and buyer, once inquiry Electricity transaction state to seller and buyer is updated to complete transaction, then starts electric energy carrying out electric power tune from seller and buyer Degree.
Preferably, further include central energy-accumulating power station, the electric energy multiple for storing seller, and by the vendor information of electric energy with And storage electric energy store and update on the spot being uploaded to system data memory module.
Preferably, the user terminal electricity transaction module includes user's registration/login unit, electricity transaction unit and number According to storage element;The user's registration/login unit is used for seller and buyer's registration/login user end electricity transaction module;Institute Electricity transaction unit is stated, electricity transaction receipt is requested to generate according to power purchase for buyer, and be broadcasted to electricity transaction pipe In platform, it is additionally operable to corresponding seller and receives electricity transaction receipt, broadcast trade confirmation receipt after confirming Transaction Information To buyer;The data storage element is for storing the identity information and historical transactional information of user.
Preferably, the electricity transaction unit includes transactional operation interface, transaction data enciphering/deciphering unit, data broadcasting Unit;The transactional operation interface is additionally operable to setting buyer for setting the energy data and vendor information that seller to be sold Energy data to be bought and corresponding vendor information;The transaction data enciphering/deciphering unit is used for setting or receiving Data are encrypted or decryption processing;The data broadcasting unit is used to receive transaction data from electricity transaction management platform, Or it sends in transaction data to electricity transaction management platform.
Preferably, the electricity transaction management platform further includes block packetization module, is used for the buyer in the predetermined time The trade confirmation receipt received, which is packaged, to be generated block and is broadcasted to user.
Preferably, described data to be encrypted to obtain ciphertext by signature algorithm to realize, the signature Algorithm is:
(1) data of electronic transaction receipt are subjected to Hash calculation, obtained result is compressed according to rule, compressed Obtain character string;
(2) obtained string table is shown as the point Q (x, y) that the rank on elliptic curve F is prime number k, buyer and seller Private key be it is privately owned underground, from data memory module obtain seller public key Lg;
(3) the public key Lg of the private key z and seller that first pass through buyer, which hold consultation, generates shared key m, using shared close Key and signature algorithm calculate the signature of above-mentioned character string corresponding points;
(4) ciphertext can be formed after electricity transaction receipt being encrypted by signature.
Preferably, the computational methods of the signature are:
(1) Integer n is randomly derived by random algorithm, n belongs to [1, k-1];
(2) it is n=(n Integer n to be carried out disassembly in the binary systeml-1,···n0)2, l is the item number of disassembly in the binary system, then Integer n and point Q are subjected to calculation processing and obtain the signature factor, specially:
1) pass through the sub- point Q of point Q regenerations1(x1, y1) and Q2(x2, y2), setting initial value x1=c × x;y1=1;x2= x2+1;y2=y2+d;C, d are the small change factor being manually set.
2) according to the update times i sequences successively increased and corresponding niValue to Q1And Q2Point coordinates carry out it is continuous Update;Wherein, ni∈[nl-1,···n0], i ∈ [0, l-1], i indicates update times, niIndicate that ith is newer Binary bit value;Specifically more new formula is:
When carrying out ith iteration, if niWhen=0, to Q2Point is updated, if niWhen=1, then to Q1Point is updated, more New formula is:
In formula, u is equal to 1 or 2, for selecting to Q1Point or Q2Point is updated;(xu i, yu i) indicate to pass through ith iteration Point coordinates value afterwards;(x1 i-1, y1 i-1) indicate the Q after (i-1)-th iteration1Point coordinates value;(x2 i-1, y2 i-1) indicate by the Q after i-1 iteration2Point coordinates value;
3) when iteration l times, i.e. i=l-1, iteration is completed, and the Q after final updated is obtained1And Q2Point coordinates;According to it The calculate the signature factor:
In formula, s is the signature factor;(x1′,y1') be final updated after Q1Point coordinates;(x2′,y2') for after final updated Q2Point coordinates;
(3) calculate the signature factor pair prime number k complementations, obtained remainder are that the first signature marks w0;If w0Equal to 0, then again N is selected, carries out recalculating the signature factor;
(4) by the corresponding plaintext V of character string by with put corresponding hash function on curve and handle to obtain label h;Foundation The second signature label w can be calculated in signature factor s, shared key m, label h and Integer n1
(5) if w1Equal to 0, then n is reselected to be calculated, otherwise, generates signature (w0, w1)。
Beneficial effects of the present invention are:The present invention is by devising a kind of custom power based on block chain and independently merchandising System, realizes point-to-point transaction and transmission between regional power generation family and electric power electricity consumer, solves region electric power The consumption problem of power generation, avoids and erects power transmission lines, and has saved huge economic cost, and ensure that using block chain technology Independence, safety and the reliability of process of exchange, transaction record is written in block chain, solves the saturating of electricity transaction Brightization problem and it ensure that transaction data can not be distorted.
Description of the drawings
Using attached drawing, the invention will be further described, but the embodiment in attached drawing does not constitute any limit to the present invention System, for those of ordinary skill in the art, without creative efforts, can also obtain according to the following drawings Other attached drawings.
Fig. 1 is the composition frame diagram of the autonomous transaction system of custom power of the present invention;
Specific implementation mode
In conjunction with following application scenarios, the invention will be further described.
Referring to Fig. 1, in the present embodiment, it is proposed that a kind of autonomous transaction system of custom power based on block chain includes:
User terminal electricity transaction module can sell power capacity, electric energy unit price and vendor information for seller's publication, also use Purchase request is initiated in buyer, and power trade is completed by being communicated with seller.
Electricity transaction management platform, including grid build module, system data memory module and stateful transaction more New module;The grid builds module for will realize that communication connection and electric energy are defeated between multiple sellers and multiple buyers The connection sent;The data memory module is used for the public key progress of information and participate in business buyer and seller that seller issues It is deposited into transaction data base, and by the Database vendors to user;The stateful transaction update module for update seller with The state of electricity transaction between buyer, and transaction data base is written into the state.
Power scheduling module is patrolled in real time for the stateful transaction to updated seller and buyer, once inquiry Electricity transaction state to seller and buyer is updated to complete transaction, then starts electric energy carrying out electric power tune from seller and buyer Degree.
Preferably, further include central energy-accumulating power station, the electric energy multiple for storing seller, and by the vendor information of electric energy with And storage electric energy store and update on the spot being uploaded to system data memory module.
Preferably, the user terminal electricity transaction module includes user's registration/login unit, electricity transaction unit and number According to storage element;The user's registration/login unit is used for seller and buyer's registration/login user end electricity transaction module;Institute Electricity transaction unit is stated, electricity transaction receipt is requested to generate according to power purchase for buyer, and be broadcasted to electricity transaction pipe In platform, it is additionally operable to corresponding seller and receives electricity transaction receipt, broadcast trade confirmation receipt after confirming Transaction Information To buyer;The data storage element is for storing the identity information and historical transactional information of user.
Preferably, the electricity transaction unit includes transactional operation interface, transaction data enciphering/deciphering unit, data broadcasting Unit;The transactional operation interface is additionally operable to setting buyer for setting the energy data and vendor information that seller to be sold Energy data to be bought and corresponding vendor information;The transaction data enciphering/deciphering unit is used for setting or receiving Data are encrypted or decryption processing;The data broadcasting unit is used to receive transaction data from electricity transaction management platform, Or it sends in transaction data to electricity transaction management platform.
In the present embodiment, the seller and buyer's registration/login user end electricity transaction module are realized with this to participating in electricity The access process of user of power transaction supervises, and realizes that all user groups to block chain supervise with this.
The seller and buyer's registration/login user end electricity transaction module realized based on recognition of face, if with Recognition of face qualification in family then allows buyer or seller to enter user terminal electricity transaction module to be traded.
In the present embodiment, an electricity transaction is carried out by buyer Zhang San and seller Li Si until the process completed of transaction come Illustrate the specific implementation of the electricity transaction unit:
(1) buyer Zhang San is by user's registration/login unit login user end electricity transaction module, and Zhang San is in transactional operation Interface selects seller Li Si, and selects the electricity of setting purchase in the interface, and it includes transaction content, seller's identity to generate a The electronic transaction receipt of timestamp is initiated in information, purchase electricity, transaction amount and transaction;
(2) electronic transaction receipt feeding transaction data enciphering/deciphering unit is encrypted Zhang San, and receipt is encrypted The buyer's ciphertext obtained afterwards carries out broadcast transmission to Li Si by data broadcasting unit, wherein adds to electronic transaction receipt Close processing is that signature algorithm accomplished by signature algorithm, described is:
S1:The data of electronic transaction receipt are subjected to Hash calculation, obtained result is compressed according to rule, are compressed Obtain character string;
S2:By obtained string table be shown as the rank on elliptic curve F be prime number k a point Q (x, y), buyer Zhang San with The private key of seller Li Si is privately owned underground;The public key Lg of Li Si is obtained from data memory module;
S3:The public key Lg of the private key z and Li Si that first pass through Zhang San, which hold consultation, generates shared key m, using shared close Key and signature algorithm calculate the signature of above-mentioned character string corresponding points, and specific method is:
(1) Integer n is randomly derived by random algorithm, n belongs to [1, k-1];
(2) it is n=(n Integer n to be carried out disassembly in the binary systeml-1,···n0)2, l is the item number of disassembly in the binary system, then Integer n and point Q are subjected to calculation processing and obtain the signature factor, specially:
1) pass through the sub- point Q of point Q regenerations1(x1, y1) and Q2(x2, y2), setting initial value x1=c × x;y1=1;x2= x2+1;y2=y2+d;C, d are the small change factor being manually set.
2) according to the update times i sequences successively increased and corresponding niValue to Q1And Q2Point coordinates carry out it is continuous Update;Wherein, ni∈[nl-1,···n0], i ∈ [0, l-1], i indicates update times, niIndicate that ith is newer Binary bit value;Specifically more new formula is:
When carrying out ith iteration, if niWhen=0, to Q2Point is updated, if niWhen=1, then to Q1Point is updated, more New formula is:
In formula, u is equal to 1 or 2, for selecting to Q1Point or Q2Point is updated;(xu i, yu i) indicate to pass through ith iteration Point coordinates value afterwards;(x1 i-1, y1 i-1) indicate the Q after (i-1)-th iteration1Point coordinates value;(x2 i-1, y2 i-1) indicate by the Q after i-1 iteration2Point coordinates value;
3) when iteration l times, i.e. i=l-1, iteration is completed, and the Q after final updated is obtained1And Q2Point coordinates;According to it The calculate the signature factor:
In formula, s is the signature factor;(x1′,y1') be final updated after Q1Point coordinates;(x2′,y2') for after final updated Q2Point coordinates;
(3) calculate the signature factor pair prime number k complementations, obtained remainder are that the first signature marks w0;If w0Equal to 0, then again N is selected, carries out recalculating the signature factor;
(4) by the corresponding plaintext V of character string by with put corresponding hash function on curve and handle to obtain h;According to signature The second signature label w can be calculated in factor s, shared key m, h and Integer n1, specifically have:
(5) if w1Equal to 0, then n is reselected to be calculated, otherwise, generates signature (w0, w1)。
S4:Buyer's ciphertext is formed after electricity transaction receipt is encrypted by signature.
(3) seller Li Si login user end electricity transaction module receives buyer's ciphertext by data broadcasting unit, Then the buyer's ciphertext received is sent into transaction data enciphering/deciphering unit, buyer's ciphertext is solved using verification algorithm Close to obtain electronic transaction receipt, Li Si checks receipts of transactions, it is added on electronic transaction receipt if there is no problem Privately owned trust label is to generate a confirmation receipts of transactions;The privately owned trust label can be digital certificate;Then transaction data Enciphering/deciphering unit generates seller's ciphertext to confirming that receipts of transactions is encrypted, and seller's ciphertext is sent out by data broadcasting unit Give buyer Zhang San;
(4) after buyer Zhang San receives seller's ciphertext by data broadcasting unit, the seller's ciphertext received feeding is bought The transaction data enciphering/deciphering unit of family's user terminal is decrypted, and to the confirmation receipts of transactions that decryption obtains check is The no privately owned trust for having seller marks, if confirming, transaction is errorless, which is broadcast to electricity transaction management and is put down Platform.
In this preferred embodiment, signature algorithm is designed, by user to the secrecy of oneself private key, is just partly protected Demonstrate,proved transaction safety, and by above-mentioned signature algorithm to transaction generate data further encrypted, using based on The innovatory algorithm of elliptic curve encryption algorithm considerably enhances electric power data in process of exchange by setting changed factor c, d In security reliability and tamper-resistance properties.
Preferably, the electricity transaction management platform further includes block packetization module, is used for the buyer in the predetermined time The confirmation receipts of transactions received, which is packaged, to be generated block and is broadcasted to the high user terminal transaction modules of metewand.
In the present embodiment, the user terminal electricity transaction module further includes that block enters chain element, for entering to block Chain, which operates to obtain, extends updated block chain, and the block chain is broadcasted to electricity transaction management platform and is stored, electric power Trade management platform simultaneously updates stateful transaction according to this.
In the present embodiment, the high user terminal transaction modules of the metewand are by the computing capability of user terminal, storage Metewand that space, transaction trust degree and operational reliability are calculated determines;The high user terminal of metewand obtains The digging mineral rights to block processes is obtained, the end that block is written to block chain makes block chain lengthening become updated block chain.
Electricity transaction management platform is shared the user terminal electric power into total system after receiving updated block chain Transaction modules, to ensure the transparence of history electricity transaction data.
Embodiment two:In this embodiment, still use the composition of the autonomous transaction system of the electric power in above-described embodiment with And principle;
In the present embodiment, efficient face recognizer is devised, specially:
(1) when power consumer is registered, user terminal electricity transaction module receives user's upload and belongs to the standard faces figure of itself Image set, and face profile, interpupillary distance, bridge of the nose local gray level and global gray scale etc. are carried out to every standard faces image in image set The feature extraction of different dimensions;
(2) user terminal electricity transaction module is asked each dimensional characteristics of the standard faces image set by feature classification With averagely, the standard value of each dimensional characteristics of user's face is obtained, and its human face data is stored in data storage element;
(3) user takes brush face to verify when logging in, i.e., user terminal electricity transaction module obtains user's facial image, And the feature extraction of above-mentioned dimension is carried out to user's facial image, by the feature extracted and each dimensional characteristics of user's face Standard value relatively obtains diversity factor magnitude;
Wherein, the calculation formula of the diversity factor magnitude is:
In formula, D ' is the facial contour feature extracted from user's facial image;When N ' is user's brush face in facial image Interpupillary distance feature;The global shade of gray feature that F ' is extracted when being user's brush face;C ' is the mouth shape office in user's facial image Portion's gray difference feature;ρ is the facial contour curvature zoom factor of setting;γ is the Illumination for influencing face gray feature;For the contour feature standard value of user's face;For the standard value of the interpupillary distance feature of user's face;For the user people The global shade of gray characteristic standard value of face,For the standard value of the bridge of the nose local gray level difference characteristic of user's face;
(4) determine trusted threshold values, the value be used for judge user when carrying out identification whether believable feature difference Setting value;The calculation of the threshold values is:A same user's facial images are inputted to user terminal electricity transaction corresponding to the user Module calculates K values according to above-mentioned steps, is denoted as KA;Then B use not corresponding with the user terminal electricity transaction module of input Family facial image also calculates K values according to above-mentioned steps, is denoted as KB;According to A, KA,B,KNTrusted threshold values K can be calculated0
(5) the diversity factor magnitude being calculated is compared with trusted threshold values, if | K-K0|<α then assert the use The diversity factor magnitude trusted that family face is calculated, authentication is qualified, and wherein α is the discrepancy factor of setting;Otherwise, just prohibit Only login user end electricity transaction module.
In this preferred embodiment, trade user identity information real name is made by the user's registration/login unit, and adopt Small with calculation amount, the high face recognition algorithms of discrimination carry out login supervision to user, greatly reduce user and are stepping on By the possibility of Trojan attack when record, and improve the quick and safety of transaction.
In the present embodiment, the calculation formula of metewand is devised:
In formula, F is metewand, and L is the maximum data processing capacity of user node in transaction system;V is trade user The evolution factor of node data processing capacity;C is the data storage space of trade user node, is user node storage space Decay rates;Y is the electricity transaction reliability of user node;G is the digital asset amount that user node corresponds to user;ω is to use The trust-factor of family node transaction.
In this preferred embodiment, by designing the metewand, to the user terminal rank of the user that participates in business in system with And historical trading prestige accounts for, and allows high-quality user to pass through the digging mineral rights of acquisition block with the evaluation result that this is obtained Block chain is updated and then obtains the reward of electricity transaction management platform, is so designed, it is ensured that elongation more new block chain When can have high efficiency and high reliability.
In the present embodiment, by devising a kind of autonomous transaction system of the custom power based on block chain, region is realized Point-to-point transaction and transmission between property power generation family and electric power electricity consumer, the consumption for solving region power generation are asked Topic, avoids and erects power transmission lines, and has saved huge economic cost, and use block chain technology ensure that oneself of process of exchange Main property, safety and reliability, transaction record is written in block chain, solve the problems, such as the transparence of electricity transaction and It ensure that transaction data can not be distorted.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than the present invention is protected The limitation of range is protected, although being explained in detail to the present invention with reference to preferred embodiment, those skilled in the art answer Work as analysis, technical scheme of the present invention can be modified or replaced equivalently, without departing from the reality of technical solution of the present invention Matter and range.

Claims (8)

1. a kind of autonomous transaction system of custom power based on block chain, which is characterized in that include:
User terminal electricity transaction module can sell power capacity, electric energy unit price and vendor information for seller's publication, be additionally operable to buy Family initiates purchase request, and completes power trade by being communicated with seller;
Electricity transaction management platform, including grid build module, system data memory module and stateful transaction update mould Block;The grid builds module for will realize communication connection and electrical energy transportation between multiple sellers and multiple buyers Connection;The data memory module is for be deposited into transaction data base the information that seller issues, and by the database Share to user;The stateful transaction update module is used to update the state of electricity transaction between seller and buyer, and by the shape Transaction data base is written in state;
Power scheduling module is patrolled for the stateful transaction to updated seller and buyer, is sold once inquiring in real time Family and the electricity transaction state of buyer are updated to complete transaction, then start electric energy carrying out power scheduling from seller and buyer.
2. the autonomous transaction system of a kind of custom power based on block chain according to claim 1, which is characterized in that also wrap Central energy-accumulating power station is included, the electric energy multiple for storing seller, and the vendor information of electric energy and storage electric energy are carried out on the spot Storage and update are uploaded to system data memory module.
3. the autonomous transaction system of a kind of custom power based on block chain according to claim 1, which is characterized in that described User terminal electricity transaction module includes user's registration/login unit, electricity transaction unit and data storage element;The user Registration/login unit is used for seller and buyer's registration/login user end electricity transaction module;The electricity transaction unit, is used for Buyer requests to generate electricity transaction receipt according to power purchase, and is broadcasted in electricity transaction management platform, is additionally operable to correspond to Seller receives electricity transaction receipt, and trade confirmation receipt is broadcast to buyer after confirming Transaction Information;The data storage Unit is for storing the identity information and historical transactional information of user.
4. the autonomous transaction system of a kind of custom power based on block chain according to claim 3, which is characterized in that described Electricity transaction unit includes transactional operation interface, transaction data enciphering/deciphering unit, data broadcasting unit;The transactional operation connects Mouthful for setting the energy data and vendor information that seller to be sold, it is additionally operable to setting buyer energy data to be bought and right The vendor information answered;The transaction data enciphering/deciphering unit be used for the data for setting or receiving be encrypted or decryption at Reason;The data broadcasting unit is used to receive transaction data from electricity transaction management platform, or sends transaction data to electric power In trade management platform.
5. the autonomous transaction system of a kind of custom power based on block chain according to claim 1, which is characterized in that described Electricity transaction management platform further includes block packetization module, the trade confirmation for receiving the buyer in the predetermined time Receipt, which is packaged, to be generated block and is broadcasted to user.
6. the autonomous transaction system of a kind of custom power based on block chain according to claim 4, which is characterized in that described Data are encrypted to obtain ciphertext by signature algorithm to realize, the signature algorithm is:
(1) data of electronic transaction receipt are subjected to Hash calculation, obtained result are compressed according to rule, compression obtains Character string;
(2) obtained string table is shown as the point Q (x, y) that the rank on elliptic curve F is prime number k, the private of buyer and seller Key is privately owned underground, and the public key Lg of seller is obtained from data memory module;
(3) the public key Lg of the private key z and seller that first pass through buyer, which hold consultation, generates shared key m, use shared key with And signature algorithm calculates the signature of above-mentioned character string corresponding points;
(4) buyer's ciphertext can be formed after electricity transaction receipt being encrypted by signature.
7. the autonomous transaction system of a kind of custom power based on block chain according to claim 6, which is characterized in that described The computational methods of signature are:
(1) Integer n is randomly derived by random algorithm, n belongs to [1, k-1];
(2) it is n=(n Integer n to be carried out disassembly in the binary systeml-1,···n0)2, l is the item number of disassembly in the binary system, then will be whole Number n and point Q carries out calculation processing and obtains the signature factor, specially:
1) pass through the sub- point Q of point Q regenerations1(x1, y1) and Q2(x2, y2), setting initial value x1=c × x;y1=1;x2=x2+1; y2=y2+d;C, d are the small change factor being manually set;
2) according to the update times i sequences successively increased and corresponding niValue to Q1And Q2Point coordinates constantly updated; Wherein, ni∈[nl-1,···n0], i ∈ [0, l-1], i indicates update times, niIndicate ith newer two into Place value processed;Specifically more new formula is:
When carrying out ith iteration, if niWhen=0, to Q2Point is updated, if niWhen=1, then to Q1Point is updated, and update is public Formula is:
In formula, u is equal to 1 or 2, for selecting to Q1Point or Q2Point is updated;(xu i, yu i) indicate after ith iteration Point coordinates value;(x1 i-1, y1 i-1) indicate the Q after (i-1)-th iteration1Point coordinates value;(x2 i-1, y2 i-1) indicate to pass through (i-1)-th Q after secondary iteration2Point coordinates value;
3) when iteration l times, i.e. i=l-1, iteration is completed, and the Q after final updated is obtained1And Q2Point coordinates;It is counted according to them Calculation obtains the signature factor;
(3) calculate the signature factor pair prime number k complementations, obtained remainder are that the first signature marks w0;If w0Equal to 0, then reselect N carries out recalculating the signature factor;
(4) by the corresponding plaintext V of character string by with put corresponding hash function on curve and handle to obtain label h;According to signature The second signature label w can be calculated in factor s, shared key m, h and Integer n1
(5) if w1Equal to 0, then n is reselected to be calculated, otherwise, generates signature (w0, w1)。
8. the autonomous transaction system of a kind of custom power based on block chain according to claim 7, which is characterized in that described Signature the factor calculation formula be:
In formula, s is the signature factor;(x1′,y1') be final updated after Q1Point coordinates;(x2′,y2') be final updated after Q2 Point coordinates.
CN201810436503.1A 2018-05-09 2018-05-09 A kind of autonomous transaction system of custom power based on block chain Withdrawn CN108573438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810436503.1A CN108573438A (en) 2018-05-09 2018-05-09 A kind of autonomous transaction system of custom power based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810436503.1A CN108573438A (en) 2018-05-09 2018-05-09 A kind of autonomous transaction system of custom power based on block chain

Publications (1)

Publication Number Publication Date
CN108573438A true CN108573438A (en) 2018-09-25

Family

ID=63572227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810436503.1A Withdrawn CN108573438A (en) 2018-05-09 2018-05-09 A kind of autonomous transaction system of custom power based on block chain

Country Status (1)

Country Link
CN (1) CN108573438A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109583753A (en) * 2018-11-27 2019-04-05 华中科技大学 A kind of smart grid monitoring system and its control method based on region insider transaction
CN109635595A (en) * 2018-12-29 2019-04-16 杭州趣链科技有限公司 A kind of data tamper resistant method based on block chain
CN109636145A (en) * 2018-11-27 2019-04-16 华中科技大学 A kind of smart grid scheduling system and its control method based on the transaction of block chain
CN109658075A (en) * 2018-12-13 2019-04-19 广东工业大学 Method for secret protection and product for block chain family micro-capacitance sensor electricity transaction
CN109741155A (en) * 2019-01-29 2019-05-10 长沙理工大学 A kind of power margin method of commerce and relevant apparatus
CN109785135A (en) * 2019-01-23 2019-05-21 珠海横琴跨境说网络科技有限公司 A kind of method of commerce based on block chain technology, system and storage medium
CN110223062A (en) * 2019-04-24 2019-09-10 中国南方电网有限责任公司 Distributed power transaction system and method based on block chain
CN110245944A (en) * 2019-05-20 2019-09-17 阿里巴巴集团控股有限公司 Receipt storage method and node based on user type
CN110245943A (en) * 2019-05-20 2019-09-17 阿里巴巴集团控股有限公司 Receipt storage method and node based on Rule of judgment
CN110400144A (en) * 2019-08-05 2019-11-01 国网电子商务有限公司 A kind of electricity transaction method and device based on block chain
CN110879897A (en) * 2019-12-03 2020-03-13 广东电网有限责任公司 Block chain-based power data security protection method
CN111311253A (en) * 2018-12-12 2020-06-19 阿里巴巴集团控股有限公司 Transaction method, device and system based on block chain
CN111815932A (en) * 2020-06-03 2020-10-23 南京南瑞信息通信科技有限公司 Block chain-based electricity consumption information acquisition method and device
CN112465290A (en) * 2020-10-13 2021-03-09 国网上海市电力公司 Block chain-based power consumption capacity balancing method
CN112531891A (en) * 2020-11-19 2021-03-19 辽宁东科电力有限公司 Block chain-based parameter data processing and positioning method for power transmission line on-line monitoring system
CN112529580A (en) * 2020-12-18 2021-03-19 国网辽宁省电力有限公司 State grid power block chain comprehensive material transaction statistics and management system
CN113011882A (en) * 2021-04-23 2021-06-22 上海和数软件有限公司 Power data information query system based on block chain, electronic equipment and medium
CN113196327A (en) * 2018-12-20 2021-07-30 普拉特家有限公司 Data transaction system
CN113420305A (en) * 2021-06-04 2021-09-21 永旗(北京)科技有限公司 Block chain-based big data processing system and method
CN113537986A (en) * 2021-07-16 2021-10-22 广州电力交易中心有限责任公司 Electric power transaction method and system based on block chain and cryptographic technology
CN113592488A (en) * 2021-05-31 2021-11-02 贵阳学院 Gas autonomous transaction block chain system
CN115801474A (en) * 2023-02-13 2023-03-14 天聚地合(苏州)科技股份有限公司 Privacy calculation-based power transaction method and system, power utilization end and power generation end

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038630A (en) * 2017-06-16 2017-08-11 昆明电力交易中心有限责任公司 A kind of bilateral negotiation electricity transaction system and method
CN107292740A (en) * 2017-06-16 2017-10-24 昆明电力交易中心有限责任公司 A kind of monthly independently listed electricity transaction system and method for commerce

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107038630A (en) * 2017-06-16 2017-08-11 昆明电力交易中心有限责任公司 A kind of bilateral negotiation electricity transaction system and method
CN107292740A (en) * 2017-06-16 2017-10-24 昆明电力交易中心有限责任公司 A kind of monthly independently listed electricity transaction system and method for commerce

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109583753B (en) * 2018-11-27 2022-08-02 华中科技大学 Intelligent power grid monitoring system based on regional internal transaction and control method thereof
CN109636145A (en) * 2018-11-27 2019-04-16 华中科技大学 A kind of smart grid scheduling system and its control method based on the transaction of block chain
CN109583753A (en) * 2018-11-27 2019-04-05 华中科技大学 A kind of smart grid monitoring system and its control method based on region insider transaction
CN109636145B (en) * 2018-11-27 2022-08-02 华中科技大学 Intelligent power grid dispatching system based on block chain transaction and control method thereof
CN111311253A (en) * 2018-12-12 2020-06-19 阿里巴巴集团控股有限公司 Transaction method, device and system based on block chain
CN109658075A (en) * 2018-12-13 2019-04-19 广东工业大学 Method for secret protection and product for block chain family micro-capacitance sensor electricity transaction
CN113196327A (en) * 2018-12-20 2021-07-30 普拉特家有限公司 Data transaction system
CN109635595A (en) * 2018-12-29 2019-04-16 杭州趣链科技有限公司 A kind of data tamper resistant method based on block chain
CN109785135A (en) * 2019-01-23 2019-05-21 珠海横琴跨境说网络科技有限公司 A kind of method of commerce based on block chain technology, system and storage medium
CN109741155A (en) * 2019-01-29 2019-05-10 长沙理工大学 A kind of power margin method of commerce and relevant apparatus
CN110223062A (en) * 2019-04-24 2019-09-10 中国南方电网有限责任公司 Distributed power transaction system and method based on block chain
CN110245943A (en) * 2019-05-20 2019-09-17 阿里巴巴集团控股有限公司 Receipt storage method and node based on Rule of judgment
CN110245944A (en) * 2019-05-20 2019-09-17 阿里巴巴集团控股有限公司 Receipt storage method and node based on user type
CN110400144A (en) * 2019-08-05 2019-11-01 国网电子商务有限公司 A kind of electricity transaction method and device based on block chain
CN110879897B (en) * 2019-12-03 2021-09-17 广东电网有限责任公司 Block chain-based power data security protection method
CN110879897A (en) * 2019-12-03 2020-03-13 广东电网有限责任公司 Block chain-based power data security protection method
CN111815932A (en) * 2020-06-03 2020-10-23 南京南瑞信息通信科技有限公司 Block chain-based electricity consumption information acquisition method and device
CN112465290A (en) * 2020-10-13 2021-03-09 国网上海市电力公司 Block chain-based power consumption capacity balancing method
CN112531891A (en) * 2020-11-19 2021-03-19 辽宁东科电力有限公司 Block chain-based parameter data processing and positioning method for power transmission line on-line monitoring system
CN112529580A (en) * 2020-12-18 2021-03-19 国网辽宁省电力有限公司 State grid power block chain comprehensive material transaction statistics and management system
CN113011882A (en) * 2021-04-23 2021-06-22 上海和数软件有限公司 Power data information query system based on block chain, electronic equipment and medium
CN113592488A (en) * 2021-05-31 2021-11-02 贵阳学院 Gas autonomous transaction block chain system
CN113420305A (en) * 2021-06-04 2021-09-21 永旗(北京)科技有限公司 Block chain-based big data processing system and method
CN113537986A (en) * 2021-07-16 2021-10-22 广州电力交易中心有限责任公司 Electric power transaction method and system based on block chain and cryptographic technology
CN113537986B (en) * 2021-07-16 2024-04-05 广州电力交易中心有限责任公司 Power transaction method and system based on blockchain and password technology
CN115801474A (en) * 2023-02-13 2023-03-14 天聚地合(苏州)科技股份有限公司 Privacy calculation-based power transaction method and system, power utilization end and power generation end

Similar Documents

Publication Publication Date Title
CN108573438A (en) A kind of autonomous transaction system of custom power based on block chain
CN109360100B (en) Transaction rapid confirmation method and device based on block chain technology
CN109345438B (en) Privacy-protection alliance taxi taking method and system
CN108734576B (en) Block chain-based educational resource sharing method and system
CN109034840B (en) Green certificate transaction method and system based on clean energy generation
CN110826940B (en) Distributed power transaction method in extensible multi-microgrid environment
CN108681898A (en) A kind of data trade method and system based on block chain
CN106815728A (en) A kind of big data based on block chain technology really weighs method and system
CN110223062A (en) Distributed power transaction system and method based on block chain
CN112884554B (en) Auction method of Internet of things data auction system based on alliance chain
CN109146484A (en) Common recognition verification method, digging mine machine and block catenary system based on block chain
CN106971302A (en) A kind of threedimensional model based on block chain technology is really weighed and method of commerce
CN109379429A (en) A kind of multichain management method and system based on block chain
CN108712409B (en) Electronic bill transaction system based on private block chain
CN110519297A (en) A kind of data processing method and equipment based on block chain private key
CN109087111A (en) Common recognition verification method, digging mine machine and block catenary system based on block chain
CN109670826B (en) Anti-quantum computation block chain transaction method based on asymmetric key pool
CN109087105A (en) For digging the Hash Search method of mine, digging mine machine and block catenary system
CN109493041B (en) Distributed accounting method and transaction platform based on regional field chain
CN112801778A (en) Federated bad asset blockchain
CN110443608A (en) Big data justice and method for secure transactions based on block chain
CN109242491A (en) It digs mine identity identifying method, dig mine machine and block catenary system
CN109981581A (en) A kind of intelligent electric meter identity identifying method and system based on block chain
CN108710785A (en) Resource distribution method and device
CN116342233A (en) Skyline strategy-based micro-grid data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180925