CN111754307B - Multi-factor electric quantity transaction matching method and device based on block chain - Google Patents

Multi-factor electric quantity transaction matching method and device based on block chain Download PDF

Info

Publication number
CN111754307B
CN111754307B CN202010596734.6A CN202010596734A CN111754307B CN 111754307 B CN111754307 B CN 111754307B CN 202010596734 A CN202010596734 A CN 202010596734A CN 111754307 B CN111754307 B CN 111754307B
Authority
CN
China
Prior art keywords
electricity
record
selling
transaction
purchasing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010596734.6A
Other languages
Chinese (zh)
Other versions
CN111754307A (en
Inventor
艾崧溥
胡殿凯
郑相涵
马媛媛
卢晓亮
林晓炜
曹军威
容淳铭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mingshu Technology Qingdao Co ltd
Original Assignee
Mingshu Technology Qingdao 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 Mingshu Technology Qingdao Co ltd filed Critical Mingshu Technology Qingdao Co ltd
Priority to CN202010596734.6A priority Critical patent/CN111754307B/en
Publication of CN111754307A publication Critical patent/CN111754307A/en
Application granted granted Critical
Publication of CN111754307B publication Critical patent/CN111754307B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0605Supply or demand aggregation
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
    • 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)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to the technical field of internet, and particularly discloses a block chain-based multi-factor electric quantity transaction matching method and device. The method comprises the following steps: the electricity selling node submits electricity selling information in a period; generating electricity selling records according to the electricity selling information and performing chain link storage; the electricity purchasing node submits electricity purchasing information in a period; generating an electricity purchasing record according to the electricity purchasing information and linking the electricity purchasing record for storage; adopting a dissimilarity degree calculation formula to pre-match electricity selling records according to the electricity purchasing records; the electricity selling user authorizes the electricity quantity transaction pre-matching record to complete electricity matching and updates the electricity selling record; the electric quantity transaction matching record takes effect and is stored in an uplink mode; and the electricity purchasing user completes the transfer of the electricity quantity transaction according to the electricity quantity transaction matching record. The invention solves the problems of power transmission waste caused by the traditional electric quantity transaction matching mode and difficult matching caused by higher selling price of clean energy; meanwhile, the problems of high transaction cost, poor information safety and mutual distrust of transaction main bodies caused by centralized management of transaction information of centralized institutions are solved.

Description

Multi-factor electric quantity transaction matching method and device based on block chain
Technical Field
The invention belongs to the technical field of internet, and particularly relates to a block chain-based multi-factor electric quantity transaction matching method and a block chain-based multi-factor electric quantity transaction matching device.
Background
The energy internet is a network which comprehensively uses advanced electronic technology, information technology and intelligent management technology and interconnects a large number of energy nodes of various energy networks consisting of distributed energy collection devices, distributed energy storage devices and various load main bodies so as to realize energy peer-to-peer exchange and sharing of energy in bidirectional flow. As more consumers join the energy internet, a large number of electricity transaction matches result. At present, most of electric quantity trading matching only considers trading price factors and energy quantity factors, and does not consider factors such as environmental protection indexes, energy types, transmission loss and user credit values, so that the problems of difficult matching, electric power transmission waste and the like caused by high selling price of clean energy are easily caused. In addition, the electricity selling channel is single, which is not beneficial to the selling of clean energy of small-sized electricity selling users. In addition, the current electric quantity transaction matching mostly adopts a centralized mechanism for matching, and the problems of high transaction cost, poor information safety and mutual distrust of transaction main bodies exist in the transaction information centralized management.
Disclosure of Invention
The invention aims to provide a block chain-based multi-factor electric quantity transaction matching method, which aims to solve the problems of difficult matching, power transmission waste and the like caused by high selling price of clean energy in the traditional electric quantity transaction matching mode and is beneficial to solving the problems of high transaction cost, poor information safety and mutual distrust of transaction main bodies in centralized management of transaction information of a centralized institution.
In order to achieve the purpose, the invention adopts the following technical scheme:
the multi-factor electric quantity transaction matching method based on the block chain comprises the following steps:
s1, submitting power selling information in a period through a power selling node; the electricity selling information at least comprises an electricity selling user ID, an energy type, an electricity selling price, a periodic power supply quantity, a periodic available power quantity and a power supply position parameter;
s2, generating electricity selling records according to the electricity selling information and chaining and storing the electricity selling records;
the electricity selling records at least comprise an electricity selling record ID, an electricity selling user ID, an environment protection index, an electricity selling price, a periodic power supply quantity, a periodic available power quantity, an energy type, an electricity selling user credit value and a power supply position parameter;
s3, submitting power purchasing information in a period through a power purchasing node; the electricity purchasing information at least comprises an electricity purchasing user ID, an environment protection index, an electricity purchasing price, a period electricity demand quantity, pre-transmission loss, an energy type and an electricity purchasing position parameter;
s4, generating an electricity purchasing record according to the electricity purchasing information and performing chain link storage; the electricity purchasing record at least comprises an electricity purchasing record ID, an electricity purchasing user ID, an environmental protection index, an electricity purchasing price, a periodic required electric quantity, an energy type, an electricity purchasing user credit value and an electricity purchasing position parameter;
s5, pre-matching electricity selling records by adopting a dissimilarity degree calculation formula according to the electricity purchasing records, taking the electricity purchasing record and the electricity selling record with the minimum dissimilarity degree as an optimal matching record, and generating an electric quantity transaction pre-matching record;
the electric quantity transaction pre-matching record at least comprises a pre-matching record ID, an electricity selling user ID, an electricity purchasing user private key signature, a transaction price, a periodic transaction quantity, an environmental protection index, a transmission loss, an electricity selling record ID and an electricity purchasing record ID parameter;
s6, the electricity selling node obtains and authorizes the electricity quantity transaction pre-matching record through the block chain, and generates an electricity quantity transaction matching record and a new electricity selling record;
the electric quantity transaction matching record at least comprises matching record ID, electricity selling user private key signature, electricity purchasing user private key signature, transaction price, periodic transaction quantity, environmental protection index, transmission loss, electricity selling record ID and electricity purchasing record ID parameters;
s7, storing the electric quantity transaction matching records and the new electricity selling records in an uplink manner;
s8, the electricity purchasing node completes transaction account transfer according to the electric quantity transaction matching record, generates an electric quantity transaction account transfer record and carries out chain connection storage;
the electric quantity transaction transfer record at least comprises a transfer ID, an electric quantity transaction user ID, an electric quantity transaction matching record ID, an electric quantity purchase user private key signature, a transaction price, a periodic transaction quantity and a transfer amount parameter;
the electricity selling nodes are block chain nodes corresponding to electricity selling users, and the electricity purchasing nodes are block chain nodes corresponding to electricity purchasing users.
Preferably, in step S5, pre-matching the electricity selling records by using a dissimilarity degree calculation formula of a K-protocols algorithm;
the specific process of pre-matching is as follows:
the dissimilarity degree calculation formula of the K-prototypes algorithm is shown as formula (1):
d(Xj,Zi)=dm(Xj,Zi)+dn(Xj,Zi) (1)
in the formula, XjFor the jth power purchase record, ZiRecording the ith electricity sale; d (X)j,Zi) Indicating purchase record XjAnd selling electricity record ZiThe degree of dissimilarity of (a); dm(Xj,Zi) Is a degree of dissimilarity of numerical attributes, dn(Xj,Zi) The attribute dissimilarity degree is non-numerical;
the numerical attributes at least comprise unit electric quantity transaction price, periodic required electric quantity, environmental protection indexes, user credit values and transmission loss parameters, wherein the user credit values comprise electricity selling user credit values or electricity purchasing user credit values;
the calculation mode of the numerical attribute is shown in formula (2);
Figure BDA0002557470090000021
in the formula (d)mRepresenting Euclidean distance, P representing the number of numerical attributes, αlA weight representing a numerical attribute l; xjlThe l-th numerical attribute, Z, representing the j-th electricity purchase recordilThe ith numerical attribute represents the ith electricity selling record;
the non-numerical attribute comprises an energy type, and the calculation mode of the non-numerical attribute is shown as a formula (3);
Figure BDA0002557470090000022
in the formula (I), the compound is shown in the specification,
Figure BDA0002557470090000031
βqis the weight of a non-numeric attribute Q, Q representing the number of non-numeric attributes, XjqQ-th non-numerical attribute, Z, representing j electricity purchase recordsiqA qth non-numeric attribute representing an ith electricity sales record;
the degree of dissimilarity d (X) calculated by the formula (1)j,Zi) The minimum electricity purchasing record and electricity selling record are the best matching records;
and generating the electric quantity transaction pre-matching record based on the optimal matching record.
Preferably, step S8 is followed by the step of:
and S9, balance of allowance deviation is carried out, namely the intelligent ammeter is used for detecting the electric quantity flow of the electricity selling users and the electricity purchasing users, the electric quantity flow is compared with the electric quantity transaction matching records on the block chain, forced balance of the electric power allowance of the electricity selling users is completed, and violation behaviors are punished.
Preferably, the energy type comprises fire energy, wind energy, water energy, solar energy or biological energy;
the environmental protection index is the proportion of clean energy supply calculated according to the type of energy.
Preferably, the cycle power supply amount refers to the total power production amount of the electricity selling user in the cycle; the period available electric quantity is the residual electric quantity which is not sold by the electricity selling user in the period; the period required electricity quantity refers to the required electricity quantity of the electricity purchasing user in the period.
Preferably, the user reputation value is the user honesty degree obtained according to the matching records of the last 100 transactions of the user;
setting according to the quality of transaction completed by the user, wherein the initial value of the credit value is 100; normally completing a primary energy transaction credit value of +1, subtracting 10 from the primary punishment credit value, and not increasing the credit value after the credit value reaches 100;
the user reputation value comprises a power selling user reputation value or a power purchasing user reputation value.
Preferably, the pre-transmission loss refers to an expected transmission loss power amount acceptable to a user;
the transmission loss refers to the transmission loss of the power line calculated according to the power supply position and the electricity purchasing position.
Preferably, the electricity selling price is a unit electricity selling price customized by an electricity selling user; the electricity purchasing price is the unit electricity purchasing price defined by the electricity purchasing user, and the transaction price is the electricity selling price.
In addition, the invention also provides a multi-factor electric quantity transaction matching device based on the block chain, which adopts the following scheme:
multifactor electric quantity trade matching device based on block chain includes:
the electricity selling information submitting module is configured for submitting electricity selling information in a period;
the electricity selling record generating module is configured to generate electricity selling records based on the electricity selling information and carry out uplink storage;
the electricity purchasing information submitting module is configured to submit electricity purchasing information in a period;
the electricity purchasing record generating module is configured to generate electricity purchasing records and uplink the electricity purchasing records to store based on the electricity purchasing information;
the electricity purchasing and selling record pre-matching module is configured to calculate the dissimilarity degree of the electricity purchasing record and the electricity selling record, take the electricity purchasing record and the electricity selling record with the minimum dissimilarity degree as the best matching record and generate an electric quantity transaction pre-matching record;
the pre-matching record authorization module is configured to obtain and authorize an electric quantity transaction pre-matching record through a blockchain, and generate an electric quantity transaction matching record and a new electricity selling record;
the electric quantity transaction matching record uploading module is configured for uploading and storing the electric quantity transaction matching record and the new electricity selling record;
the electric quantity transaction transfer module is configured to complete transaction transfer based on the electric quantity transaction matching record, generate an electric quantity transaction transfer record and carry out chain storage;
the electricity selling information at least comprises an electricity selling user ID, an energy type, an electricity selling price, a periodic power supply quantity, a periodic available power quantity and a power supply position parameter;
the electricity selling records at least comprise an electricity selling record ID, an electricity selling user ID, an environment protection index, an electricity selling price, a periodic power supply quantity, a periodic available power quantity, an energy type, an electricity selling user credit value and a power supply position parameter;
the electricity purchasing information at least comprises an electricity purchasing user ID, an environment protection index, an electricity purchasing price, a period electricity demand quantity, pre-transmission loss, an energy type and an electricity purchasing position parameter;
the electricity purchasing record at least comprises an electricity purchasing record ID, an electricity purchasing user ID, an environmental protection index, an electricity purchasing price, a periodic required electric quantity, an energy type, an electricity purchasing user credit value and an electricity purchasing position parameter;
the electric quantity transaction pre-matching record at least comprises a pre-matching record ID, an electricity selling user ID, an electricity purchasing user private key signature, a transaction price, a periodic transaction quantity, an environmental protection index, a transmission loss, an electricity selling record ID and an electricity purchasing record ID parameter;
the electric quantity transaction matching record at least comprises matching record ID, electricity selling user private key signature, electricity purchasing user private key signature, transaction price, periodic transaction quantity, environmental protection index, transmission loss, electricity selling record ID and electricity purchasing record ID parameters;
the electric quantity transaction transfer record at least comprises a transfer ID, an electric quantity transaction user ID, an electric quantity transaction matching record ID, an electric quantity purchase user private key signature, a transaction price, a periodic transaction amount and a transfer amount;
the electricity selling node is a block chain node corresponding to an electricity selling user, and the electricity purchasing node is a block chain node corresponding to an electricity purchasing user.
Preferably, the multi-factor electric quantity transaction matching device further comprises a margin deviation balancing module;
the module is configured for margin deviation balancing, namely:
and detecting the flow of the electric quantity of the electricity selling user and the electricity purchasing user by using the intelligent electric meter, comparing the flow with the electric quantity transaction matching record on the block chain, finishing the forced balance of the electric power allowance of the electricity selling user, and punishing the illegal action.
The invention has the following advantages:
as described above, the method comprehensively considers various influence factors of electric quantity transaction, carries out targeted electric quantity transaction matching according to the requirements of both electric quantity transaction parties, effectively solves the problems of electric power transmission waste caused by the traditional electric quantity transaction matching mode and difficult matching caused by higher price of clean energy, and promotes quick selling of the clean energy of small-sized electricity selling users. Meanwhile, the multi-user free selling effectively controls the electricity price, and reduces the electricity purchasing cost for the purchaser. In addition, the method of the invention adopts the block chain technology to carry out point-to-point transaction matching, and the link points of each block are equal in position, thereby effectively solving the problems of high transaction cost, poor information safety and mutual distrust of transaction main bodies caused by centralized management of transaction information of centralized institutions.
Drawings
Fig. 1 is a schematic view of an application scenario of a block chain-based multi-factor electric quantity transaction matching method according to an embodiment of the present invention;
fig. 2 is a block diagram illustrating an overall architecture of a block chain-based multi-factor electricity transaction matching method according to an embodiment of the present invention;
fig. 3 is a logic diagram of a multifactor electricity transaction matching method based on a block chain based on a Raft consensus mechanism in the embodiment of the present invention;
fig. 4 is a block flow diagram of a block chain-based multi-factor electricity quantity transaction matching method according to an embodiment of the present invention.
Detailed Description
Examples
Fig. 1 is a scene schematic diagram of a multi-factor electricity quantity transaction matching method based on a block chain in an embodiment of the present invention.
The scene of the method application comprises the power generation and electricity selling access bodies with various energy sources and the corresponding block chain link points thereof, the electricity purchasing access main body and the corresponding block chain link points thereof, and the block chain link points are equal in level and can perform credible communication.
Fig. 2 is a block diagram of an overall architecture of a multi-factor electricity quantity transaction matching method based on a block chain in an embodiment of the present invention, and as can be seen from fig. 2, the overall architecture includes an electricity quantity transaction submission module, a block chain node module, a user management module, and an intelligent contract module.
The user management module is mainly used for a new user to submit registration information for user registration, a new block chain link point is obtained after the new user is successfully registered, and the new block chain link point is added into the block chain node module to participate in electric power transaction matching.
For example, a user wants to join a blockchain energy internet network, user registration information needs to be submitted, the system allocates corresponding blockchain nodes for the user according to the user registration information, deployment, installation and instantiation of an intelligent contract are conducted on new blockchain nodes through a system administrator node, and then the new blockchain nodes are added into a blockchain node module, so that the situation that the blockchain nodes of the new user are smoothly added into the blockchain network to participate in energy service processing is guaranteed.
The electric quantity transaction submitting module is mainly used for providing electricity selling information and electricity purchasing information for a user.
For example, after a certain user completes identity registration, the corresponding block link point may be added to the block link point module, as shown in fig. 1, the energy internet includes various access hosts and corresponding block link points, and the user may submit various electricity purchasing information through the block link nodes to participate in electricity quantity transaction matching.
The block chain node module is used for carrying out specific data transmission communication between the block chain node corresponding to each user and a block chain network, and the block chain node comprises a Peer node and an Orderer node.
The Peer nodes mainly comprise electricity selling nodes, electricity purchasing nodes and administrator nodes, and the administrator nodes are mainly used for carrying out remote contract deployment on the electricity selling nodes and the electricity purchasing nodes; the Orderer node is mainly used for collecting block chain transactions in a specific organization and carrying out Raft consensus; the specific data includes non-consensus blockchain transactions, etc.
In this embodiment, the overall architecture adopts a Raft consensus mechanism, and a specific flow is shown in fig. 3. For example, a block chain energy internet needs to be deployed in a certain region, deployment of corresponding system administrator nodes and Orderer nodes needs to be completed first, Peer nodes distributed to new users after registration need to be added into a block chain network, intelligent contract installation tests on the Peer nodes of the new users are completed remotely by the system administrator nodes, after the Peer nodes receive electricity selling and purchasing information, the electricity selling and purchasing information is packaged into block chain transactions and sent to specific Orderer nodes, consensus on the new transactions is completed among a plurality of Orderer nodes according to a Raft consensus mechanism, new blocks are finally generated, and all Peer nodes complete synchronous uplink storage of the new blocks through the Orderer nodes.
The Leader node in fig. 3 is responsible for interacting with the client, attaching a new request to the log of the client and sending the request to all Follow nodes, at most one of which exists in the system at the same time, the Follow nodes receive the request of the Leader node and add the request to the log of the client node, and return a confirmation message to the Leader, and when the failure of the Leader node is enough to initiate an application, voting is performed to become the Leader node.
The intelligent contract module provides intelligent contracts with corresponding functions for the block chain nodes and processes intelligent contract calling requests of all the nodes. The intelligent contracts in this embodiment include electricity sales record generation contracts and transaction matching settlement contracts.
As shown in fig. 4, a multi-factor electricity transaction matching method based on a block chain includes the following steps:
s1, the electricity selling users submit electricity selling information in a period through electricity selling nodes.
The electricity selling users refer to power supply users in the energy Internet, and the electricity selling nodes refer to block chain nodes corresponding to the electricity selling users.
The electricity selling information at least includes the electricity selling user ID, the energy type, the electricity selling price, the periodic power supply amount, the periodic available power amount, and the power supply location parameter, as shown in table 1.
TABLE 1 Electricity sales information
User ID Type of energy Price of electricity sold Periodic power supply Periodic available electric quantity Location of power supply
In table 1, the energy type refers to the type of energy for generating electricity, including fire energy, wind energy, water energy, solar energy, biological energy, and the like.
The electricity selling price is a unit electricity selling price defined by an electricity selling user; the periodic power supply amount is the total power generation amount of the power selling user in the period; the period available electric quantity is the residual electric quantity which is not sold by the electricity selling user in the period.
And S2, generating a contract for generating the electricity selling records according to the electricity selling information and chaining and storing the electricity selling records.
The electricity selling records at least comprise an electricity selling record ID, an electricity selling user ID, an environmental protection index, an electricity selling price, a periodic power supply quantity, a periodic available power quantity, an energy type, an electricity selling user credit value and a power supply position parameter, and are shown in a table 2.
TABLE 2 record of electricity sold
Figure BDA0002557470090000061
In table 2, the environmental index refers to the proportion of clean energy to be supplied calculated according to the type of energy. Wherein, wind energy, water energy, solar energy and biological energy are clean energy. The credit value of the electricity selling user refers to the honesty degree of the electricity selling user obtained according to the matching records of the latest 100 transactions of the electricity selling user.
The credit value of the electricity selling user is set according to the quality of the transaction completed by the electricity selling user, and the initial value of the credit value is 100; normally completing the primary energy transaction credit value +1, subtracting 10 from the primary punishment credit value, and not increasing after the credit value reaches 100.
And S3, submitting the electricity purchasing information in the period by the electricity purchasing user through an electricity purchasing node.
The electricity purchasing users are users consuming electricity in the energy Internet; the electricity purchasing node is a block chain node corresponding to an electricity purchasing user.
The electricity purchasing information at least includes an electricity purchasing user ID, an environmental protection index, an electricity purchasing price, a period demand electric quantity, a pre-transmission loss, an energy type, and an electricity purchasing location parameter, as shown in table 3.
TABLE 3 Purchase of electricity information
User ID Environmental protection index Price of electricity purchase Periodic demand of electricity Pre-transmission loss Type of energy Electricity purchasing location
In table 3, the electricity purchase price is a unit electricity purchase price defined by the electricity purchase user, and the period required electricity is the electricity required by the electricity purchase user in the period; pre-transmission loss refers to the amount of transmission loss expected to be acceptable to the user.
And S4, generating an electricity purchasing record according to the electricity purchasing information by the transaction matching settlement contract and chaining and storing the electricity purchasing record.
And the transaction matching settlement contract is used for matching the electricity purchasing record with the electricity selling record and transferring the electricity quantity transaction.
The electricity purchasing record at least comprises an electricity purchasing record ID, an electricity purchasing user ID, an environmental protection index, an electricity purchasing price, a period electricity demand, an energy type, an electricity purchasing user credit value and an electricity purchasing position parameter, and is shown in table 4.
TABLE 4 Purchase of electricity
Figure BDA0002557470090000071
In table 4, the credit value of the electricity purchasing user refers to the honesty degree of the electricity purchasing user obtained according to the matching records of the last 100 transactions of the electricity purchasing user. The credit value of the electricity purchasing user is set according to the quality of the transaction completed by the electricity purchasing user, and the initial value of the credit value is 100; normally completing the primary energy transaction credit value +1, subtracting 10 from the primary punishment credit value, and not increasing after the credit value reaches 100.
And S5, the transaction matching settlement contract carries out pre-matching on the electricity selling records by adopting a dissimilarity degree calculation formula according to the electricity purchasing records, takes the electricity purchasing record with the minimum dissimilarity degree and the electricity selling records as the best matching record, and generates an electricity transaction pre-matching record.
Carrying out pre-matching on the electricity selling records by utilizing a dissimilarity degree calculation formula of a K-prototypes algorithm, wherein the specific process is as follows:
the dissimilarity degree calculation formula of the K-protocols algorithm is shown in formula (1), and specific related attributes need to be subjected to same-proportion conversion so as to ensure that the proportions of the attributes are the same.
d(Xj,Zi)=dm(Xj,Zi)+dn(Xj,Zi) (1)
In the formula, XjFor the jth power purchase record, ZiRecording the ith electricity sale; d (X)j,Zi) Indicating purchase record XjAnd selling electricity record ZiThe degree of dissimilarity of (a); dm(Xj,Zi) Is a degree of dissimilarity of numerical attributes, dn(Xj,Zi) The attribute dissimilarity degree is non-numerical;
the numerical attributes at least comprise unit electricity trading price, periodic electricity demand, environmental protection indexes, user credit values and transmission loss parameters, wherein the user credit values comprise electricity selling user credit values or electricity purchasing user credit values.
The calculation mode of the numerical attribute is shown in formula (2);
Figure BDA0002557470090000081
in the formula (d)mRepresenting Euclidean distance, P representing the number of numerical attributes, αlA weight representing a numerical attribute l; xjlThe l-th numerical attribute, Z, representing the j-th electricity purchase recordilThe ith numerical attribute represents the ith electricity selling record;
the non-numerical attribute comprises an energy type, and the calculation mode of the non-numerical attribute is shown as a formula (3);
Figure BDA0002557470090000082
in the formula (I), the compound is shown in the specification,
Figure BDA0002557470090000083
βqis the weight of a non-numeric attribute Q, Q representing the number of non-numeric attributes, XjqQ-th non-numerical attribute, Z, representing j electricity purchase recordsiqA qth non-numeric attribute representing an ith electricity sales record;
the degree of dissimilarity d (X) calculated by the formula (1)j,Zi) The minimum electricity purchasing record and electricity selling record are the best matching records.
And generating an electric quantity transaction pre-matching record based on the optimal matching record.
The electricity transaction pre-matching record at least comprises a pre-matching record ID, an electricity selling user ID, an electricity purchasing user private key signature, a transaction price, a periodic transaction amount, an environmental protection index, a transmission loss, an electricity selling record ID and an electricity purchasing record ID parameter, and is shown in table 5.
Table 5 electricity transaction prematch records
Figure BDA0002557470090000084
In table 5, the transaction price is the electricity selling price. The transmission loss refers to the transmission loss of the power line calculated according to the power supply position and the power purchase position. The electricity selling record ID is the ID of the electricity selling record and is mainly used for tracing and inquiring the transaction record; the purchase electricity record ID is the ID of the purchase electricity record and is mainly used for tracing and inquiring the transaction record.
And S6, the electricity selling node obtains the electricity transaction pre-matching record through the block chain and authorizes the electricity transaction pre-matching record to generate an electricity transaction matching record and a new electricity selling record. The electric quantity transaction matching record at least comprises matching record ID, electricity selling user private key signature, electricity purchasing user private key signature, transaction price, periodic transaction quantity, environmental protection index, transmission loss, electricity selling record ID and electricity purchasing record ID parameters, and is shown in table 6.
Table 6 electricity transaction matching records
Figure BDA0002557470090000091
The new electricity selling record is the same as the specific information of the electricity selling record, and the period available electric quantity is the electric quantity remained after the transaction is completed.
And S7, storing the electric quantity transaction matching records and the new electricity selling records in an uplink mode.
And S8, the electricity purchasing node completes transaction account transfer according to the electric quantity transaction matching record, generates an electric quantity transaction account transfer record and links the electric quantity transaction account transfer record for storage.
The electricity quantity transaction transfer record at least comprises a transfer ID, an electricity selling user ID, an electricity quantity transaction matching record ID, an electricity purchasing user private key signature, a transaction price, a periodic transaction quantity and a transfer amount parameter, and is shown in a table 7.
Table 7 electricity quantity transaction transfer record
Figure BDA0002557470090000092
The electric quantity transaction matching record ID is the ID corresponding to the electric quantity transaction matching record and is used for tracing and inquiring the transfer record.
And S9, balance deviation of the allowance is carried out, namely, the intelligent electric meter is used for detecting the electric quantity flowing of the electricity selling user and the electricity purchasing user, the electric quantity flowing is compared with the electric quantity transaction matching record on the block chain, forced balance of the electric power allowance of the electricity selling user is completed, illegal transactions caused by data counterfeiting of traders are prevented, and punishment is carried out on illegal behaviors so as to restrain the users from participating in the electric power transactions according to rules.
The specific violation penalties are as follows:
A. the actual power consumption of the electricity purchasing user does not accord with the transaction amount in the electricity transaction matching record, and if the deviation of the electricity is more than 10%, fund punishment is carried out on the electricity purchasing user and the credit value of the fund punishment is deducted;
B. and if the electricity selling user interrupts power supply in a period, performing fund punishment on the electricity selling user and deducting the credit value of the electricity selling user.
The method fully considers various influence factors of the electric quantity transaction, such as environmental protection indexes, energy types, transmission loss, user credit values and the like, matches electricity selling records by utilizing a dissimilarity degree calculation formula of a K-protocols algorithm based on the factors, solves the dissimilarity value of the electricity purchasing records and the electricity selling records, then takes the electricity purchasing records and the electricity selling records with the minimum dissimilarity degree as the best matching records, and generates an electric quantity transaction pre-matching record based on the best matching records, so that the method well ensures that the targeted electric quantity transaction matching is carried out according to the requirements of both sides of the electric quantity transaction, and effectively solves the problems of electric quantity transmission waste, difficult matching caused by high clean energy selling price and the like caused by the traditional electric quantity transaction matching mode.
In addition, the embodiment also provides a multi-factor electric quantity transaction matching device based on the block chain, which corresponds to the multi-factor electric quantity transaction matching method based on the block chain. The device comprises the following program modules:
the electricity selling information submitting module is configured for submitting electricity selling information in a period;
the electricity selling record generating module is configured to generate electricity selling records based on the electricity selling information and carry out uplink storage;
the electricity purchasing information submitting module is configured to submit electricity purchasing information in a period;
the electricity purchasing record generating module is configured to generate electricity purchasing records and uplink the electricity purchasing records to store based on the electricity purchasing information;
the electricity purchasing and selling record pre-matching module is configured to calculate the dissimilarity degree of the electricity purchasing record and the electricity selling record, take the electricity purchasing record and the electricity selling record with the minimum dissimilarity degree as the best matching record and generate an electric quantity transaction pre-matching record;
the pre-matching record authorization module is configured to obtain and authorize an electric quantity transaction pre-matching record through a blockchain, and generate an electric quantity transaction matching record and a new electricity selling record;
the electric quantity transaction matching record uploading module is configured for uploading and storing the electric quantity transaction matching record and the new electricity selling record;
and the electric quantity transaction transfer module is configured to complete the transaction transfer based on the electric quantity transaction matching record, generate the electric quantity transaction transfer record and carry out chain storage.
In addition, the multi-factor electric quantity transaction matching device based on the block chain further comprises a margin deviation balancing module.
The module is configured for margin deviation balancing, namely: the intelligent electric meter is used for detecting the electric quantity flowing of the electricity selling users and the electricity purchasing users, the electric quantity flowing is compared with the electric quantity transaction matching records on the block chain, the forced balance of the electric power surplus of the electricity selling users is completed, and the illegal behaviors are punished, and the specific content refers to the step S9, and the detailed description is omitted here.
Through the margin deviation balancing module, the forced balance of the electric power margin of the electricity selling user can be completed, illegal transactions caused by data counterfeiting of traders are prevented, and illegal behaviors are punished, so that the user is restrained from participating in the electric power transaction according to rules.
It should be understood, however, that the description herein of specific embodiments is not intended to limit the invention to the particular forms disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention as defined by the appended claims.

Claims (9)

1. The multi-factor electric quantity transaction matching method based on the block chain is characterized by comprising the following steps of:
s1, submitting power selling information in a period through a power selling node; the electricity selling information at least comprises an electricity selling user ID, an energy type, an electricity selling price, a periodic power supply quantity, a periodic available power quantity and a power supply position parameter;
s2, generating electricity selling records according to the electricity selling information and chaining and storing the electricity selling records;
the electricity selling records at least comprise an electricity selling record ID, an electricity selling user ID, an environment protection index, an electricity selling price, a periodic power supply quantity, a periodic available power quantity, an energy type, an electricity selling user credit value and a power supply position parameter;
s3, submitting power purchasing information in a period through a power purchasing node; the electricity purchasing information at least comprises an electricity purchasing user ID, an environment protection index, an electricity purchasing price, a period electricity demand quantity, pre-transmission loss, an energy type and an electricity purchasing position parameter;
s4, generating an electricity purchasing record according to the electricity purchasing information and chaining and storing the electricity purchasing record; the electricity purchasing record at least comprises an electricity purchasing record ID, an electricity purchasing user ID, an environmental protection index, an electricity purchasing price, a periodic required electric quantity, an energy type, an electricity purchasing user credit value and an electricity purchasing position parameter;
s5, pre-matching the electricity selling records by adopting a dissimilarity degree calculation formula according to the electricity purchasing records, taking the electricity purchasing record and the electricity selling record with the minimum dissimilarity degree as an optimal matching record, and generating an electric quantity transaction pre-matching record;
carrying out pre-matching on the electricity selling records by utilizing a dissimilarity degree calculation formula of a K-prototypes algorithm;
the specific process of pre-matching is as follows:
the dissimilarity degree calculation formula of the K-prototypes algorithm is shown as formula (1):
d(Xj,Zi)=dm(Xj,Zi)+dn(Xj,Zi) (1)
in the formula, XjFor the jth power purchase record, ZiRecording the ith electricity sale; d (X)j,Zi) Indicating purchase record XjAnd selling electricity record ZiThe degree of dissimilarity of (a); dm(Xj,Zi) Is a degree of dissimilarity of numerical attributes, dn(Xj,Zi) The attribute dissimilarity degree is non-numerical;
the numerical attributes at least comprise unit electric quantity transaction price, periodic required electric quantity, environmental protection indexes, user credit values and transmission loss parameters, wherein the user credit values comprise electricity selling user credit values or electricity purchasing user credit values;
the calculation mode of the numerical attribute is shown in formula (2);
Figure FDA0003096366780000011
in the formula (d)mRepresenting Euclidean distance, P representing the number of numerical attributes, αlA weight representing a numerical attribute l; xjlThe l-th numerical attribute, Z, representing the j-th electricity purchase recordilThe ith numerical attribute represents the ith electricity selling record;
the non-numerical attribute comprises an energy type, and the calculation mode of the non-numerical attribute is shown as a formula (3);
Figure FDA0003096366780000012
in the formula (I), the compound is shown in the specification,
Figure FDA0003096366780000021
βqweights for non-numeric attributes qQ denotes the number of non-numeric attributes, XjqQ-th non-numerical attribute, Z, representing j electricity purchase recordsiqA qth non-numeric attribute representing an ith electricity sales record;
the degree of dissimilarity d (X) calculated by the formula (1)j,Zi) The minimum electricity purchasing record and electricity selling record are the best matching records;
generating the electric quantity transaction pre-matching record based on the optimal matching record;
the electric quantity transaction pre-matching record at least comprises a pre-matching record ID, an electricity selling user ID, an electricity purchasing user private key signature, a transaction price, a periodic transaction quantity, an environmental protection index, a transmission loss, an electricity selling record ID and an electricity purchasing record ID parameter;
s6, the electricity selling node obtains the electricity quantity transaction pre-matching record through a block chain and authorizes the electricity quantity transaction pre-matching record to generate an electricity quantity transaction matching record and a new electricity selling record;
the electric quantity transaction matching record at least comprises matching record ID, electricity selling user private key signature, electricity purchasing user private key signature, transaction price, periodic transaction quantity, environmental protection index, transmission loss, electricity selling record ID and electricity purchasing record ID parameters;
s7, storing the electric quantity transaction matching records and the new electricity selling records in an uplink manner;
s8, the electricity purchasing node completes transaction account transfer according to the electric quantity transaction matching record, generates an electric quantity transaction account transfer record and carries out chain connection storage;
the electric quantity transaction transfer record at least comprises a transfer ID, an electric quantity transaction user ID, an electric quantity transaction matching record ID, an electric quantity purchase user private key signature, a transaction price, a periodic transaction quantity and a transfer amount parameter;
the electricity selling nodes are block chain nodes corresponding to electricity selling users, and the electricity purchasing nodes are block chain nodes corresponding to electricity purchasing users.
2. The blockchain-based multi-factor electricity quantity transaction matching method according to claim 1,
the step S8 is followed by the step of:
and S9, balance of allowance deviation is carried out, namely the intelligent ammeter is used for detecting the electric quantity flow of the electricity selling users and the electricity purchasing users, the electric quantity flow is compared with the electric quantity transaction matching records on the block chain, forced balance of the electric power allowance of the electricity selling users is completed, and violation behaviors are punished.
3. The blockchain-based multi-factor electricity quantity transaction matching method according to claim 1,
the energy type comprises fire energy, wind energy, water energy, solar energy or biological energy;
and the environment protection index is a clean energy supply ratio calculated according to the energy type.
4. The blockchain-based multi-factor electricity quantity transaction matching method according to claim 1,
the periodic power supply amount is the total power generation amount of the selling electricity users in the period; the period available electric quantity is the residual electric quantity which is not sold by the electricity selling user in the period; the period required electricity quantity refers to the required electricity quantity of the electricity purchasing user in the period.
5. The blockchain-based multi-factor electricity quantity transaction matching method according to claim 1,
the user credit value is the user honesty degree obtained according to the matching records of the latest 100 times of transactions of the user;
setting according to the quality of transaction completed by the user, wherein the initial value of the credit value is 100; normally completing a primary energy transaction credit value of +1, subtracting 10 from the primary punishment credit value, and not increasing the credit value after the credit value reaches 100;
and the user reputation value comprises an electricity selling user reputation value or an electricity purchasing user reputation value.
6. The blockchain-based multi-factor electricity quantity transaction matching method according to claim 1,
the pre-transmission loss refers to the predicted transmission loss electric quantity which can be accepted by a user;
the transmission loss refers to the transmission loss of the power line calculated according to the power supply position and the electricity purchasing position.
7. The blockchain-based multi-factor electricity quantity transaction matching method according to claim 1,
the electricity selling price is the unit electricity selling price defined by the electricity selling user; the electricity purchasing price refers to a unit electricity purchasing price defined by the electricity purchasing user, and the transaction price is an electricity selling price.
8. Multifactor electric quantity transaction matching device based on block chain, its characterized in that includes:
the electricity selling information submitting module is configured for submitting electricity selling information in a period;
the electricity selling record generating module is configured to generate electricity selling records based on the electricity selling information and carry out uplink storage;
the electricity purchasing information submitting module is configured to submit electricity purchasing information in a period;
the electricity purchasing record generating module is configured to generate an electricity purchasing record based on the electricity purchasing information and uplink the electricity purchasing record;
the electricity purchasing and selling record pre-matching module is configured to calculate the dissimilarity degree of the electricity purchasing record and the electricity selling record, take the electricity purchasing record and the electricity selling record with the minimum dissimilarity degree as the best matching record and generate an electric quantity transaction pre-matching record;
wherein, the electricity selling records are pre-matched by utilizing a dissimilarity degree calculation formula of a K-prototypes algorithm;
the specific process of pre-matching is as follows:
the dissimilarity degree calculation formula of the K-prototypes algorithm is shown as formula (1):
d(Xj,Zi)=dm(Xj,Zi)+dn(Xj,Zi) (1)
in the formula, XjFor the jth power purchase record, ZiRecording the ith electricity sale; d (X)j,Zi) Indicating purchase record XjAnd selling electricity record ZiThe degree of dissimilarity of (a); dm(Xj,Zi) Is a degree of dissimilarity of numerical attributes, dn(Xj,Zi) The attribute dissimilarity degree is non-numerical;
the numerical attributes at least comprise unit electric quantity transaction price, periodic required electric quantity, environmental protection indexes, user credit values and transmission loss parameters, wherein the user credit values comprise electricity selling user credit values or electricity purchasing user credit values;
the calculation mode of the numerical attribute is shown in formula (2);
Figure FDA0003096366780000031
in the formula (d)mRepresenting Euclidean distance, P representing the number of numerical attributes, αlA weight representing a numerical attribute l; xjlThe l-th numerical attribute, Z, representing the j-th electricity purchase recordilThe ith numerical attribute represents the ith electricity selling record;
the non-numerical attribute comprises an energy type, and the calculation mode of the non-numerical attribute is shown as a formula (3);
Figure FDA0003096366780000041
in the formula (I), the compound is shown in the specification,
Figure FDA0003096366780000042
βqis the weight of a non-numeric attribute Q, Q representing the number of non-numeric attributes, XjqQ-th non-numerical attribute, Z, representing j electricity purchase recordsiqA qth non-numeric attribute representing an ith electricity sales record;
the degree of dissimilarity d (X) calculated by the formula (1)j,Zi) The minimum electricity purchasing record and electricity selling record are the best matching records;
generating the electric quantity transaction pre-matching record based on the optimal matching record;
the pre-matching record authorization module is configured to obtain and authorize the electric quantity transaction pre-matching record through a blockchain, and generate the electric quantity transaction matching record and a new electricity selling record;
the electric quantity transaction matching record uploading module is configured for uploading and storing the electric quantity transaction matching record and the new electricity selling record;
the electric quantity transaction transfer module is configured to complete transaction transfer based on the electric quantity transaction matching record, generate an electric quantity transaction transfer record and carry out chain storage;
the electricity selling information at least comprises an electricity selling user ID, an energy type, an electricity selling price, a periodic power supply quantity, a periodic available power quantity and a power supply position parameter;
the electricity selling records at least comprise an electricity selling record ID, an electricity selling user ID, an environment protection index, an electricity selling price, a periodic power supply quantity, a periodic available power quantity, an energy type, an electricity selling user credit value and a power supply position parameter;
the electricity purchasing information at least comprises an electricity purchasing user ID, an environment protection index, an electricity purchasing price, a period electricity demand quantity, pre-transmission loss, an energy type and an electricity purchasing position parameter;
the electricity purchasing record at least comprises an electricity purchasing record ID, an electricity purchasing user ID, an environmental protection index, an electricity purchasing price, a periodic required electric quantity, an energy type, an electricity purchasing user credit value and an electricity purchasing position parameter;
the electric quantity transaction pre-matching record at least comprises a pre-matching record ID, an electricity selling user ID, an electricity purchasing user private key signature, a transaction price, a periodic transaction quantity, an environmental protection index, a transmission loss, an electricity selling record ID and an electricity purchasing record ID parameter;
the electric quantity transaction matching record at least comprises matching record ID, electricity selling user private key signature, electricity purchasing user private key signature, transaction price, periodic transaction quantity, environmental protection index, transmission loss, electricity selling record ID and electricity purchasing record ID parameters;
the electric quantity transaction transfer record at least comprises a transfer ID, an electric quantity transaction user ID, an electric quantity transaction matching record ID, an electric quantity purchase user private key signature, a transaction price, a periodic transaction quantity and a transfer amount parameter;
the electricity selling node is a block chain node corresponding to an electricity selling user, and the electricity purchasing node is a block chain node corresponding to an electricity purchasing user.
9. The blockchain-based multi-factor electricity quantity transaction matching device according to claim 8,
the multi-factor electric quantity transaction matching device also comprises a margin deviation balancing module;
the module is configured for margin deviation balancing, namely:
and detecting the flow of the electric quantity of the electricity selling user and the electricity purchasing user by using the intelligent electric meter, comparing the flow with the electric quantity transaction matching record on the block chain, finishing the forced balance of the electric power allowance of the electricity selling user, and punishing the illegal action.
CN202010596734.6A 2020-06-28 2020-06-28 Multi-factor electric quantity transaction matching method and device based on block chain Active CN111754307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010596734.6A CN111754307B (en) 2020-06-28 2020-06-28 Multi-factor electric quantity transaction matching method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010596734.6A CN111754307B (en) 2020-06-28 2020-06-28 Multi-factor electric quantity transaction matching method and device based on block chain

Publications (2)

Publication Number Publication Date
CN111754307A CN111754307A (en) 2020-10-09
CN111754307B true CN111754307B (en) 2021-09-10

Family

ID=72677545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010596734.6A Active CN111754307B (en) 2020-06-28 2020-06-28 Multi-factor electric quantity transaction matching method and device based on block chain

Country Status (1)

Country Link
CN (1) CN111754307B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112200388A (en) * 2020-11-10 2021-01-08 铭数科技(青岛)有限公司 P2P energy trading method based on block chain and multi-target decision
CN112488706B (en) * 2020-11-23 2023-02-17 国网河南省电力公司信息通信公司 Cloud service management method and system based on block chain
CN112488717A (en) * 2020-12-30 2021-03-12 国网河南省电力公司南阳供电公司 Power management method based on block chain
CN112734238A (en) * 2021-01-12 2021-04-30 国网四川省电力公司经济技术研究院 Weak-centralized production and consumption user electric quantity coordination method and system based on block chain
CN112862610A (en) * 2021-02-26 2021-05-28 同济大学 Active energy body community P2P + power transaction method
CN113034227A (en) * 2021-03-18 2021-06-25 国网甘肃省电力公司平凉供电公司 Power consumer transaction matching method and device
CN113643150B (en) * 2021-07-29 2022-12-02 湖南工商大学 Distributed electric power transaction model and method for credit bidding
CN113706312A (en) * 2021-09-08 2021-11-26 北京中电普华信息技术有限公司 Photovoltaic electricity transaction method and device based on block chain
CN115311040B (en) * 2022-07-13 2024-03-19 国网山东省电力公司营销服务中心(计量中心) Transaction platform based on blockchain intelligent contract, photovoltaic transaction system and method
CN115829756A (en) * 2023-02-08 2023-03-21 北京中电普华信息技术有限公司 Method, device, equipment and storage medium for electric power transaction

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059970A (en) * 2019-04-23 2019-07-26 南京工程学院 A kind of network system method of commerce based on block chain technology
CN110689398A (en) * 2019-08-29 2020-01-14 合肥工业大学 Residential micro-grid power transaction management system based on block chain
CN111199487A (en) * 2020-01-09 2020-05-26 赫普科技发展(北京)有限公司 Energy internet energy storage and transaction system based on cloud

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3460940B1 (en) * 2017-09-20 2022-06-08 Hepu Technology Development (Beijing) Co. Ltd. Power trading system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059970A (en) * 2019-04-23 2019-07-26 南京工程学院 A kind of network system method of commerce based on block chain technology
CN110689398A (en) * 2019-08-29 2020-01-14 合肥工业大学 Residential micro-grid power transaction management system based on block chain
CN111199487A (en) * 2020-01-09 2020-05-26 赫普科技发展(北京)有限公司 Energy internet energy storage and transaction system based on cloud

Also Published As

Publication number Publication date
CN111754307A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
CN111754307B (en) Multi-factor electric quantity transaction matching method and device based on block chain
Khalid et al. A blockchain-based load balancing in decentralized hybrid P2P energy trading market in smart grid
CN111563786B (en) Virtual power plant regulation and control platform based on block chain and operation method
CN112381263B (en) Block chain-based distributed data storage multi-microgrid pre-day robust electric energy transaction method
CN112053152B (en) Distributed energy grid-connected authentication and transaction method based on green rights and interests consensus mechanism
CN112837126B (en) Industrial park distributed energy trading method and system based on block chain
Liu et al. Comparison of centralized and peer-to-peer decentralized market designs for community markets
CN114358929A (en) Distributed energy centralized transaction method and system based on block chain
Gao et al. FogChain: A blockchain-based peer-to-peer solar power trading system powered by fog AI
CN113379485A (en) Demand response bidding trading method and system based on Hash algorithm and secondary quotation
CN112785428A (en) Electric energy transaction method based on block chain technology
Wang et al. Optimal dispatch of integrated energy system considering integrated demand response resource trading
CN116308445A (en) Virtual power plant multi-mode transaction method, equipment and medium based on energy block chain
CN114626922A (en) Self-adaptive bidding multi-energy P2P trading platform based on block chain
CN114444864A (en) Block chain based hierarchical power transaction matching method in distributed power market
CN115907575A (en) ACP and carbon-green certificate transaction-based industrial comprehensive energy system cooperative operation method
Ge et al. Blockchain and green certificates based market structure and transaction mechanism of direct power-purchase for industrial users
CN116452334B (en) Multi-carbon transaction method and system for industrial park based on blockchain
CN117114877A (en) Medium-and-long-term power transaction method and system based on virtual power plant
CN117217880A (en) Virtual power plant participation peak shaving auxiliary service market trading method
CN116228340A (en) Block chain-based energy transaction method, computing equipment and storage medium
CN115713414A (en) Block chain-based direct sale transaction method and system combining power market with carbon quota
CN114757490A (en) Block chain-based collusion-prevention micro-grid energy trading pricing and evaluating system
CN114445223A (en) Block chain-based power demand response transaction method and system
Lu et al. A Blockchain-Based Trading Framework for Community Electricity Market

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Ai Songbu

Inventor after: Hu Diankai

Inventor after: Zheng Xianghan

Inventor after: Ma Yuanyuan

Inventor after: Lu Xiaoliang

Inventor after: Lin Xiaowei

Inventor after: Cao Junwei

Inventor after: Rong Chunming

Inventor before: Ai Songbu

Inventor before: Hu Diankai

Inventor before: Zheng Xianghan

Inventor before: Ma Yuanyuan

Inventor before: Lu Xiaoliang

Inventor before: Lin Xiaowei

Inventor before: Cao Junwei

Inventor before: Rong Chunming

GR01 Patent grant
GR01 Patent grant