CN109472593A - A kind of settlement method based on block chain technology, device and block chain network - Google Patents

A kind of settlement method based on block chain technology, device and block chain network Download PDF

Info

Publication number
CN109472593A
CN109472593A CN201811180325.7A CN201811180325A CN109472593A CN 109472593 A CN109472593 A CN 109472593A CN 201811180325 A CN201811180325 A CN 201811180325A CN 109472593 A CN109472593 A CN 109472593A
Authority
CN
China
Prior art keywords
user node
block chain
transaction
node
chain network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811180325.7A
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.)
Yuanguang Software Co Ltd
Original Assignee
Yuanguang Software 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 Yuanguang Software Co Ltd filed Critical Yuanguang Software Co Ltd
Priority to CN201811180325.7A priority Critical patent/CN109472593A/en
Publication of CN109472593A publication Critical patent/CN109472593A/en
Pending 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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

Abstract

This application discloses a kind of settlement method based on block chain technology, device and block chain networks.The block chain settlement method includes the first user node to the trade agreement after the submission signature of block chain network, so that the validity of block chain network verifying trade agreement;When trade agreement verifying is effective, the first user node obtains the Transaction Information in trade agreement, judges Transaction Information for first kind Transaction Information or the second class Transaction Information;When Transaction Information is first kind Transaction Information, the first user node carries out capital settlement with second user node corresponding in trade agreement using the settlement channel other than block chain network;Or when Transaction Information is the second class Transaction Information, the first user node carries out capital settlement using block chain network and second user node.The clearing of both parties are made, using corresponding clearing form, to improve the trading efficiency of block chain network according to the classification of Transaction Information, improve the processing capacity of transaction through the above scheme.

Description

A kind of settlement method based on block chain technology, device and block chain network
Technical field
This application involves block chain transaction fields, more particularly to a kind of settlement method based on block chain technology, device And block chain network.
Background technique
In recent years, with the development of interconnection technique, distributed new, energy storage, electric car, carbon transaction etc. it is quick emerging Rise, the system for making it possible to source interconnection net is more complicated, participant is more polynary, dealing identity more freely, energy flow, information It flows, the flow direction of fund is more interlocked.
In the prior art, the operation way of electricity market is from grid company to power plant's power purchase and to user's sale of electricity, and And grid company by the power Transmission bought to central station, then unified be transferred to each user respectively as desired.It is this defeated The operation way for one of rationing relatively ossifys, and its clearing and the process cleared are cumbersome, time-consuming, and data therein are remembered Record and verification link generally require manual operation, manual errors are easy to appear, to increase the operation cost of electricity market.
It is currently suggested electricity transaction market-oriented reform, i.e., electricity transaction, block chain technology are carried out based on block chain technology It is the shared technology of a kind of decentralization, open source, the transaction verification and settlement process of both parties is enterprising in block chain Row, block chain needs handle a large amount of transaction data as a result, affect the trading processing ability of block chain network, shadow Ring transaction processing efficiency.
Summary of the invention
The application is mainly solving the technical problems that provide a kind of settlement method based on block chain technology, device and block Chain network, the method for commerce can be improved the trading processing ability of block chain network.
To solve the above-mentioned problems, the application first aspect provides a kind of settlement method based on block chain technology, institute Stating settlement method includes:
First user node submits the trade agreement after signature to block chain network, so that the block chain network verifies institute State the validity of trade agreement;
When trade agreement verifying is effective, first user node obtains the letter of the transaction in the trade agreement Breath, judges the Transaction Information for first kind Transaction Information or the second class Transaction Information;
When the Transaction Information is first kind Transaction Information, first user node is utilized other than block chain network Settlement channel carries out capital settlement with second user node corresponding in the trade agreement;Or
When the Transaction Information be the second class Transaction Information when, first user node using the block chain network with The second user node carries out capital settlement.
To solve the above-mentioned problems, the application second aspect provides a kind of electricity transaction dress based on block chain technology It sets, which includes memory, processor and telecommunication circuit, and the processor connects the memory and described logical Believe circuit;
The memory, for storing the friendship of program instruction and the electricity transaction device that the processor executes Easy data;
The telecommunication circuit is passed for the data between the electricity transaction device and block chain network or external network It is defeated;
The processor is for executing instruction to realize above-mentioned method of commerce.
To solve the above-mentioned problems, the application third aspect provides a kind of block chain network, which includes First user node and second user node;
First user node submits the trade agreement after signature to block chain network, so that the block chain network is tested Demonstrate,prove the validity of the trade agreement;
When trade agreement verifying is effective, first user node obtains the letter of the transaction in the trade agreement Breath;
When the Transaction Information is first kind Transaction Information, first user node is utilized other than block chain network Settlement channel carries out capital settlement with second user node corresponding in the trade agreement;Or
When the Transaction Information be the second class Transaction Information when, first user node using the block chain network with The second user node carries out capital settlement;
Wherein, first user node is above-mentioned electricity transaction device.
In above scheme, the settlement method based on block chain technology passes through the trade agreement quilt signed in the first user node After verifying effectively, judge the corresponding Transaction Information of trade agreement for first kind Transaction Information or the second class Transaction Information;When described Transaction Information be the first kind Transaction Information when, first user node utilize block chain network other than settlement channel with it is described Corresponding second user node carries out capital settlement in trade agreement;When the Transaction Information is the second class Transaction Information, institute It states the first user node and carries out capital settlement using the block chain network and the second user node.Based on above-mentioned clearing side Corresponding clearing form is respectively adopted according to the classification of Transaction Information in method, and the settlement process of part transaction is passed through block chain Settlement channel other than network is settled accounts, and is thereby reduced block chain network to the processing pressure of clearing, is improved block link network The trading efficiency of network improves the processing capacity of transaction.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of intelligent electric meter one embodiment of the application based on block chain technology;
Fig. 2 is the schematic diagram of the data platform framework model of block chain supporting module in Fig. 1;
Fig. 3 is the structural schematic diagram of the block of the block chain used in the examples of the application one;
Fig. 4 is the structural schematic diagram of one embodiment of the application block chain network;
Fig. 5 is the configuration diagram of the underlying platform of the application block chain network;
Fig. 6 is the flow diagram of method of commerce one embodiment of the application based on block chain network;
Fig. 7 is the structural schematic diagram in individual transaction channel of the application based on block chain network;
Fig. 8 is the flow diagram of mono- embodiment of step S12 in Fig. 6;
Fig. 9 is the flow diagram of settlement method one embodiment of the application based on block chain network;
Figure 10 is the flow diagram of mono- embodiment of step S23 in Fig. 9;
Figure 11 is the flow diagram of electric power data access method one embodiment of the application based on block chain network.
Specific embodiment
With reference to the accompanying drawings of the specification, the scheme of the embodiment of the present application is described in detail.
In being described below, for illustration and not for limitation, propose such as specific system structure, interface, technology it The detail of class, so as to provide a thorough understanding of the present application.
The terms " system " and " network " are often used interchangeably herein.The terms "and/or", only It is a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, can indicates: individually There are A, exist simultaneously A and B, these three situations of individualism B.In addition, character "/" herein, typicallys represent forward-backward correlation pair As if a kind of relationship of "or".
Referring to Fig. 1, Fig. 1 is the structural schematic diagram of intelligent electric meter one embodiment of the application based on block chain technology.Such as Shown in Fig. 1, the intelligent electric meter 10 of the present embodiment includes at least metering module 11 and block chain supporting module 12;Wherein, mould is measured Block 11 is used for electric quantity metering, and block chain supporting module 12 is connect with metering module 11, for enabling intelligent electric meter 10 in block link network Electricity transaction is carried out in network, and electric quantity metering and transaction data are stored in block chain.Further, metering module 11 includes Current signal sampling module 111 and voltage signal sampling module 112, current signal sampling module 111 for measure it is unidirectional and/or Two-way current value, voltage signal sampling module 112 is for measuring unidirectional and/or two-way voltage value.
Further, the intelligent electric meter 10 of the present embodiment further includes central data processing module 13, central data processing module 13 connect with metering module 11 and block chain supporting module 12 respectively, for receiving the electric quantity metering of metering module 11, and to electricity Meter amount carries out logical process, and the electricity data after logical process is sent to block chain supporting module 12;And receive block The data that chain supporting module 12 is obtained from block chain network.In addition, the intelligent electric meter 10 of the present embodiment further includes communication module 14, display module 15 and power module 16, wherein communication module 14 and display module 15 also connect with central data processing module 13 It connects, display module 15 is subjected to central data processing module 13 and carries out the electricity data after logical process, to intelligent electric meter 10 Electricity data and various information (for example, the type of intelligent electric meter 10, user information etc.) are shown that communication module 14 is arranged There is different communication interfaces, and then also connected from different communicating circuits, is patrolled for receiving central data processing module 13 Volume treated electricity data, and electricity data is transmitted to external network by different communication interfaces;Or pass through difference Communication interface receive the data of external network transmission, and data pass to central data processing module 13.Wherein, communication module 14 communication interface according to communicating circuit of its connection may include RS485 communication interface 141, bluetooth communication interface 142, infrared logical Communication interface 143, RFID communication interface 144, WIFI communication interface 145, SIM card communication interface 146, NB-IoT communication interface 147, One or more of communication interfaces such as electric line carrier communication interface 148, the present embodiment is not particularly limited.Further, originally The intelligent electric meter 10 of embodiment further includes having power module 16, and power module 16 is connect with above-mentioned all modules, is above-mentioned all Module provides power supply.
In the present embodiment, above-mentioned each module may respectively be individual circuit structure, may alternatively be integrated within same circuit knot In structure, furthermore, it is possible to which certain several module therein are integrated in same circuit structure, remaining module is integrated in another circuit In structure, the present embodiment is to being not specifically limited.
Further, in block chain supporting module 12 the relevant data platform framework model of block chain as shown in Fig. 2, the data Framework model includes data Layer, network layer, common recognition layer, contract layer, service layer and application layer.
Wherein, data Layer is used for packaging bottom layer data block and the technologies such as relevant data encryption and timestamp.Also, File data calculate (as twice) at least once using irreversible encryption algorithm (such as SHA256 algorithm), is generated unique Block chain ID, i.e. Hash (Hash) value.Specifically, which can be block alliance chain, to guarantee that the block chain is not complete Complete open, the member's node only registered just may have access to.In addition, data Layer obtains voltameter by central data processing module 13 The data of amount, and the electricity data of output etc. of itself is constantly transmitted to block chain network.Network layer encapsulates block chain network system The elements such as P2P networking mode, message propagation protocol and the data authentication mechanism of system are made each node status equity and are opened up with flat Flutter the characteristics such as structure is interconnected and mutually, possesses distribution, autonomy, opening can free in and out.It is each in block chain network A node can participate in verification and the accounting procedure of block data, only after block data passes through the whole network major part node verification, Block chain can just be charged to.This decentralization design of block chain guarantees that file data can not be distorted, can not be forged.Common recognition layer, ginseng With the common recognition mechanism of block chain network.Contract layer is packaged with the contract code that electric power is clear, settles accounts, the condition quilt in contract code When triggering, execute respective transaction automatically, while can provide corresponding electricity transaction price, market settlement by treaty content etc.. Service layer disposes different for the BaaS service personalized for different application scenarios customizations on block chain underlying platform The intelligent contract code of market settlement is called for all kinds of situations.Application layer by block chain technical application intelligent electric meter 10 correlation In processing, such as user's registration, the Automatic-settlement of intelligent contract, data access control etc..
Block chain network is collected with a kind of mode of decentralization, the electricity number of packing and safeguard protection intelligent electric meter 10 According to, and electricity data is anchored on block chain.Specifically, block chain can be realized using the network of block alliance chain.Block The node of chain constantly converts the responsibility undertaken in network system, and never only one node is in control whole network system System, i.e., will not only one accounting nodes keep accounts.Each node is a part in network system.The section of block chain The point timing such as role of transformation in each minute, any a part of network system can be permanently controlled without node.
In one embodiment, the block encapsulation of block chain can be as shown in Figure 3.The block of the block chain includes block head 31 (Header) and block body 32 (Body).The block body 32 is stored at least one pair of electricity transaction data and carries out setting Hash fortune Obtained cryptographic Hash (Hash).The block head 31 can be packaged with current version number 311, previous block address 312, work as proparea The target cryptographic Hash 313 of block, the solution random number 314 of current block PoW (proof of work) common recognition process, Merkle root 315 (Merkle-root) and the information such as timestamp 316.Wherein, current version number 311, for indicating the phase of software and agreement Close version information;The previous block address 312, alternatively referred to as previous block cryptographic Hash just can be by each block just by the value It joins end to end and constitutes block chain;The solution random number 314 is the value for the answer that record decrypts the block correlation mathematical problem;It should Merkle root 315 is calculated by data cryptographic Hash all in block body 32, for checking file data whether there is in In the block;The timestamp 316 is used to record the time of the block 30 generation.It is understood that the structure of the block can root It is adjusted according to the difference of the block chain technology of use, such as does not use Pow common recognition mechanism, then there is no above-mentioned solution is random Number.
In a concrete application, which can be made of block layered (Block).Root is mesh It records block (Directory Block).These blocks constitute a miniature chain, store compressed reference on chain (reference).In order to avoid data scale is excessive, the reference in catalogue block (Directory Block) is recording areas The cryptographic Hash of block (Entry Block).
Catalogue block corresponds to the first layer of this system, is the area for recording the record block integrality (hash value) and proving Block.Catalogue block be all record blocks as defined in Servers-all be grouped together construction and generate.Therefore, each Server is owned by all record blocks, all catalogue blocks and all records (Entry).
The second layering for recording block (Entry Block) this corresponding system, is record Entry integrality (hash value) The block of proof.It may require that record block in the application for finding record, it can be from a digital fingerprint search to all possible phases The purchase sale of electricity contract record of pass.Record block includes the cryptographic Hash of electronical record.The cryptographic Hash of electronical record demonstrates simultaneously The presence of data and the key that record is found in distributed hash table (DHT) network.
Record block (Entry Block) contains whole Entry related with a chain ID.If some Entry is If being associated with some record block (Entry Block), then it is considered that this Entry and being not present.Such design It can allow application program easily falsfication, easily identify which Entry is true and reliable.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of one embodiment of the application block chain network.As shown in figure 4, in this reality It applies and includes at least user node 411, supervisory node 412, central clearing node 413, management section in the block chain network 41 in example Point 415 and accounting nodes 414.User node 411 may include that the electric power such as ordinary family user, power grid enterprises, purchase sale of electricity company produce Sell user, wherein ordinary family user, power grid enterprises, purchase sale of electricity company etc. can pass through intelligent electric meter (its hardware configuration such as figure Intelligent electric meter 10 shown in 1 is identical) block chain network is added as user node, intelligent electric meter can be connect with client, i.e. intelligence Energy ammeter receives all kinds of operational orders of user (for example, transferring accounts by client (intelligent terminals such as smart phone, tablet computer) Instruction, power query instruction etc.);In addition, intelligent electric meter also disappears equipment (for example, television set, refrigerator, lighting, photovoltaic with electric power production Generating equipment etc., is not drawn into figure) connection, the electricity production that electric power produces the equipment that disappears is obtained by the metering module in intelligent electric meter And/or the electric power datas such as power consumption.In addition, power grid enterprises and purchase sale of electricity company can also be used others and have block chain branch hold mode The power equipment of block is added in block chain network, and the present embodiment is by taking user node 411 corresponds to intelligent electric meter 411 as an example.Supervision Mechanism, central clearing mechanism can be added in block chain network 41 respectively as supervisory node 412 and central clearing node 413. It is understood that in the present embodiment, each user node 411 corresponding to intelligent electric meter can electric power party in request or electric power Supplier.
The block chain network 41 is the multinode network system using block chain technology composition.In the present embodiment, intelligence The corresponding user node 411 of ammeter, the corresponding supervisory node 412 of regulatory agency, the corresponding central clearing section of central clearing mechanism Point 413 is used as in block chain network 41 node, common to participate in the execution of intelligence contract, contract validation verification etc..In addition, area The accounting nodes 414 in block chain network 41 further including multiple operation block chain technologies and participating in same block chain (also become block Chain accounting nodes), each accounting nodes 414 in the block chain network are the node with competition accounting capabilities, by user The transaction data such as electric power data, the payment and settlement of node 411 are stored in the sheet of each accounting nodes 414 in the block chain network In the block (can be as shown in Figure 3) of ground block chain, therefore each accounting nodes 414 save the electric power data of user node 411, branch The transaction data such as clearing are paid, realize the electric power data of each user node 411 and the distributed storage of transaction data.
Block chain network 41 may also include management node 415, be used for user node 411, supervisory node 412, central clearing Node 413 and accounting nodes 414 carry out identity registration, manage user node 411, supervisory node 412, central clearing node 413 and accounting nodes 414 identity information and real-name authentication, the processing various businesses function such as contract template.
Above-mentioned supervisory node 412, central clearing node 413, accounting nodes 414 and management node 415 are specifically as follows Any electronic equipment, such as server, mobile phone, computer, tablet computer etc., in an embodiment, which is block Chain server, management node 415 are the application server with traffic handing capacity, and can be used as and deposit card system based on block chain System.It is understood that above-mentioned user node 411, supervisory node 412, central clearing node 413 and management node 415 and note Account node 414 can communicate, and the user node 411 and management node 415 in the present embodiment are used as block chain node, for example, block The light weight accounting nodes of chain, but in other embodiments, user node 411 and management node 415 are not limited to block chain node, That is user node 411 and management node 415 may not at least partly participate in block chain.In addition, the differentiation of above-mentioned node is It is determined according to the account by the Node registers.Therefore the corresponding main body of above-mentioned node such as ordinary family user, power grid enterprises, purchase Sale of electricity company, regulatory agency, central clearing mechanism etc. require to complete registration (in an application, on block platform chain in advance The block chain is block alliance chain, and story first completes member system registration on block alliance platform chain), and public and private key is obtained, really After its fixed identity is credible, allow to carry out following electric power data access and electricity transaction business.
In one embodiment, which is used for user node 411, supervisory node 412, central clearing node 413 carry out Identity Management and authentication.Wherein, which enters in block chain network for new node user's registration, And corresponding intelligent contract is matched according to the identity information of user node 411 in electricity transaction.Specifically such as, new node 411/ 412/413 sends Account Registration request to management node 415, wherein account registration request includes the account name of request registration The identity information of (be provided in user after succeeding in registration and log in the block chain network) and the new node 411/412/413, such as The information of the provable user identity such as identification card number, passport No., enterprise number.Wherein, account registration request can also only include The identity information of user node.Management node 415 by Account Registration request in identity information and default identity database in Identity information is compared;If matched identity information is not present in default identity database, authenticates and do not pass through, and returns and include The registration failure message of failure cause;If there are matched identity information, certifications to pass through for default identity database, registration is sent Success message.Further, management node 415 Account Registration can also be requested in identity information save to setting manage data Library, to be managed collectively the user identity for participating in the block chain.New node 411/412/413 after receiving the message that succeeds in registration, Related algorithm in self-operating block chain technology is that it generates block chain address by other nodes of block chain network, is made For the block chain address of the account of registration;And the related algorithm in self-operating block chain technology is generated such as setting Hash operation The public key and private key of one group of public key and private key as the account of registration.Then, new node 411/412/413 by the public key broadcasts in The block chain network, so that other nodes in network receive and save the account public key of the user's registration.Also, the new section Its private key and block chain address are stored in local to point 411/412/413 or trusted in setting also can be transmitted in the private key Node stored, to back up.At this point, Account Registration is completed.
The block chain network of the present embodiment needs to carry out body by taking alliance's chain network as an example when that is, block chain network is added in node Part information registering, the member's node for the identity information only registered could access to the block chain network.The present embodiment connection The configuration diagram of the underlying platform of alliance's chain network is as shown in Figure 5.
Further, in the present embodiment, the new node of addition is saved not directly as the node that may participate in common recognition to management Point 415 sends the request that common recognition is added, when management node 415 receives the addition request of new node 311/313/314, to new It is synchronous that node carries out data, and temporarily without common recognition.New node is judged by management node 415, judges that new node is Requirement of the no satisfaction as the node that may participate in common recognition, if it is satisfied, then using new node as the node that may participate in common recognition;If It is unsatisfactory for, is then periodically judged as the requirement for the node that may participate in common recognition whether the new node meets, until should New node meets the requirement as the node that may participate in common recognition.
For the present embodiment before common recognition, the mode for judging whether new node can participate in the whole network common recognition solves the section being newly added Point can not be verified since block chain data are imperfect transaction and node listing maintenance it is inconsistent caused by know together double examinations in chief Topic, ensure that it is improved using ballot formula Byzantine failure tolerance common recognition algorithm orderly carry out, realize whole network data consistency, can not Tamper.
Further, the present embodiment verifies the identity of node using zero-knowledge proof algorithm, in verification process, quilt The user node of verifying can be verified without revealing transaction data and additional information.The work of zero-knowledge proof algorithm is high Effect, calculating process amount is small, verify node and be verified between node exchange information it is small, can meet very well day increasing amounts electric power hand over Easily.It uses for reference and extends the algorithm, it can be achieved that intelligent contract with secret protection, can support the secret protection of any transaction.
Referring to Fig. 6, Fig. 6 is the process signal of method of commerce one embodiment of the application based on above-mentioned block chain network Figure.As shown in fig. 6, the method for commerce of the present embodiment may include following steps:
In step s 11, the first user node submits the transaction request for corresponding to second user node to block chain network, So that the management node of block chain network establishes the independence between the first user node and second user node according to transaction request Trading channel.
Any user node of above-mentioned block chain network can be used as another user node of demand direction and initiate transaction request, into And carry out electricity transaction;In block chain network, each user node will be respective by the block chain supporting module of intelligent electric meter Electric power data is broadcasted into block chain, in addition, the settable electricity transaction price of the user of each intelligent electric meter, and by transaction value It broadcasts to block chain network;Therefore, the electric power data of each user node and power price can be obtained by any other node. The user node of party in request can be true by information such as the electric power data of other each user nodes got and power prices Surely another user node of electricity transaction is carried out, and then initiates transaction request to another user node.
In the present embodiment, the first user node and second user node are any in user node 411 shown in Fig. 4 Node, the corresponding main body mechanism of the two can be ordinary family user, power grid enterprises or purchase sale of electricity company, in the present embodiment, the One user node can correspond to ordinary family user or personal user, second user node is most as party in request under normal circumstances For supplier, power grid enterprises or purchase sale of electricity company can correspond under normal circumstances, in addition, second user node may be setting There are the ordinary family user or personal user of the electricity production device such as photovoltaic power generation equipment.Wherein, the corresponding hardware of the first user node Device is intelligent electric meter, and the corresponding hardware device of second user node can be intelligent electric meter, can also be other executable blocks The power equipment of chain technology.
In the present embodiment, the first user node can will carry out electric power by the user node data determination in block chain network The second user node of transaction, and then transaction request is initiated to second user node;It at least may include first in the transaction request The transaction data such as the identity information of user node and second user node, address information, electric power data and transaction value.Block chain Management node in network is according to the corresponding trade agreement of information matches in the transaction request, at this point, management node can basis The identity information and address information of first user node and second user node establish the first user node and second user node Between individual transaction channel.
In the present embodiment, trade agreement is intelligent contract;Wherein, intelligent contract is the core component of block chain (contract layer), be by it is event driven, with state, operate in computer on reproducible shared block chain data account book Program can be realized processing data actively or passively, receive, storage and transmission are worth, and control and manage on all kinds of chains The functions such as intellectual capital.Specifically, intelligent contract is one group of scene-reply type sequencing rule and logic, it is to be deployed in area Decentralization, credible shared program code on block chain.Intelligent contract equally has the general features of block chain data, such as divides Cloth record, storage and verifying, can not distort and forge.After each side of signature contract reaches an agreement with regard to treaty content, with intelligence Can the form of contract be deployed on block chain, automate while any central authority can not depended on and represent each signatory and execute conjunction About.
In the present embodiment, which can be realized by establishing independent communication channel.Between user node The structural schematic diagram in individual transaction channel can be as shown in fig. 7, in the present embodiment, same user node can be multiple with other simultaneously Different individual transaction channels is connected between user node, when mutually indepedent between each individual transaction channel, i.e. individual transaction Channel is that both sides' node based on transaction is established.As shown in fig. 7, between the first user node 71 and second user node 72 Foundation has individual transaction channel 701, in addition, second user node 71 can also be established between third user node 73 independence Trading channel 702 can also establish individual transaction channel 703 between first user node 71 and third user node 73.
In step s 12, the first user node carries out transaction verification using individual transaction channel and second user node.
After individual transaction Path Setup, the transaction flow of the first user node and second user node is in individual transaction Channel is the same as progress.
Further, referring to Fig. 8, step S12 may include following steps:
In step S121, the first user node passes through the first transaction corresponding with transaction request of individual transaction channel reception Agreement.
Management node is responsible for management agreement and subscriber identity information, is matched according to subscriber identity information and is handed over accordingly Easy agreement, i.e., intelligent contract;And by the obtained intelligent contract of matching by individual transaction channel be sent to the first user node with Two user nodes respectively sign the intelligent contract being respectively received by the first user node and second user node.One As for, the obtained intelligent contract of matching is sent to the first user node and second by individual transaction channel and used by management node A user node in the node of family, the user node by being firstly received intelligent contract sign the intelligence contract, warp The intelligent contract for crossing the signature of a user node is retransmited to another user node, by another user node to intelligent contract It signs again, finally, is transmitted to block chain network by the intelligent contract that two user nodes are signed and carries out validation verification.
In the present embodiment, the intelligent contract that the first user node is received is the first trade agreement, the first transaction association View can be by second user node signature after intelligent contract, be also possible to directly by management node be matched to without The intelligent contract of second user node signature.
In step S122, the first trade agreement is signed, forms the second trade agreement.
First user node signs the first trade agreement (intelligent contract) received, specifically, the first user Node receives intelligent contract, is signed using the private key of itself to the intelligence contract, obtains the second trade agreement and (pass through private Intelligent contract after key signature).In addition, second user node also signs received intelligent contract.Intelligent contract Both parties are needed to confirm that signature can just come into force.
In step S123, the second trade agreement after signature is committed to the node for being able to access that individual transaction channel Place, by being able to access that the node in individual transaction channel carries out validation verification to the second trade agreement, or by the second trade agreement It is sent to second user node, the second trade agreement is signed by second user node.
In the present embodiment, due to the presence in individual transaction channel, the second transaction after the first user node is signed is assisted View (intelligent contract) is committed to the node that individual transaction channel is able to access that in block chain network, at this point, if the first trade agreement The intelligent contract after the signature of second user node, then by the node for participating in contract verifying in block chain network to this One user node is transmitted to the second trade agreement (intelligent contract) in block chain network and carries out validation verification.If the first transaction Agreement is the intelligent contract signed without second user node being directly matched to by management node, then saves by the first user Second trade agreement of point signature is further transmitted at second user node, is signed by second user node, is formed By the third trade agreement that the first user node and second user node are signed, and third is traded by second user node Agreement is transmitted to block chain network and is committed to the node for being able to access that individual transaction channel in block chain network, by block chain network In participate in contract verifying node to third trade agreement (intelligent contract) carry out validation verification.
In the present embodiment, the node for participating in contract verifying is to be able to access that between the first user node and second user node Individual transaction channel node.Ballot formula Byzantine failure tolerance common recognition mechanism can be used to intelligent contract validation verification;In addition, The present embodiment ballot formula Byzantine failure tolerance common recognition mechanism can further progress improve, i.e., to it is each participate in common recognition node, root Corresponding ballot weight is distributed according to its identity information, when each node is voted, the ballot weight of each node also will meter Enter in nose count, if ballot weight is more than preset ratio, that is, think to reach common understanding, guarantees effective, data consistency of trading And safety.The preset ratio settable 2/3rds.
In step s 13, the first user node is settled accounts based on transaction request with second user node.
After transaction verification is by (intelligent contract is verified effectively) in step S12, the first user node can according to First user node carries out capital settlement, is transferred to the corresponding amount of money to second user node, second user node also will be corresponding Supply an electric power to the first user node.The process can be executed automatically based on intelligent contract.First user node and second user section After point completes capital settlement, the result of capital settlement is committed to block chain network, is obtained by each node in block chain network It takes and handles, and kept accounts by accounting nodes to corresponding data.
Fig. 7 is further regarded to, each individual transaction channel 701,702,703 allows supervisory node 412 to access, supervision section The main body mechanism of point 412 is power monitoring mechanism, and supervisory node 412 can be obtained by accessing individual transaction channel 701,702,703 The Transaction Information for taking both parties is verified and is monitored to whether the electricity transaction of both sides meets regulation.For example, supervisory node 412 can obtain the first user node by the individual transaction channel 701 between the first user node 71 and second user node 72 71 and second user node 72 identity information and Transaction Information, whether the identity both judged do not meet purchase sale of electricity regulation, And whether the information such as electricity transaction amount of money of the two meet purchase sale of electricity regulation etc..
Fig. 7 is further regarded to, each individual transaction channel 701,702,703 may also allow for central clearing node 413 to access, The main body mechanism of central clearing node 413 is that bank, payment platform etc. settle accounts mechanism.Central clearing node 413 can pass through independence Trading channel 701,702,703 obtains the account balance of both parties, and then whether meets intelligence to the account balance of both parties Can transaction amount (usually the account balance of party in request is judged) as defined in contract, when a certain user node account more than When volume is unsatisfactory for transaction amount as defined in intelligent contract, account balance deficiency is sent to corresponding user node and is reminded, to use Family is supplemented with money in time, is stopped powering to party in request in addition, supplier can remind according to the account balance deficiency received, is avoided being in arrears with The event of the electricity charge occurs.For example, central clearing node 413 can be by between the first user node 71 and second user node 72 Individual transaction channel 701 obtains the account balance of the first user node 71 (party in request), judges whether account balance meets intelligence Transaction amount as defined in contract, when account balance is unsatisfactory for transaction amount, to corresponding first user node 71 and/or second User node 72 sends account balance deficiency and reminds;At this point, the first user node 71 can in time supplement account with money, to avoid The event of owing electricity charges occurs, and second user node 72 can then stop powering to the first user node 71;If the first user node 71 complete to supplement with money, then corresponding charging information can be sent to second user node 72 by central clearing node 413, so that second user Node 72 restores to power to the first user node 71.
Referring to Fig. 9, Fig. 9 is the process signal of settlement method one embodiment of the application based on above-mentioned block chain network Figure.As shown in figure 9, the settlement method of the present embodiment may include following steps:
In the step s 21, the first user node submits the trade agreement after signature to block chain network, so that block link network The validity of network verifying trade agreement.
In the present embodiment, any user node of above-mentioned block chain network can be used as another user node of demand direction and initiate Transaction request, and then carry out electricity transaction;In block chain network, each user node passes through the block chain branch hold mode of intelligent electric meter Block broadcasts respective electric power data into block chain, in addition, the settable electricity transaction price of the user of each intelligent electric meter, and Transaction value is broadcasted to block chain network;Therefore, the electric power data of each user node and power price can be by other Node of anticipating obtains.The user node of party in request can pass through the electric power data and electric power valence of other each user nodes got The determination of the information such as lattice will carry out another user node of electricity transaction, and then initiate transaction request to another user node.
In the present embodiment, the first user node is party in request, and second user node is supplier, and the first user node can lead to The user node data determination crossed in block chain network will carry out the second user node of electricity transaction, and then to second user section Point initiates transaction request;At least may include in the transaction request the first user node and second user node identity information, The transaction data such as location information, electric power data and transaction value, the management node in block chain network is according in the transaction request The corresponding trade agreement of information matches;Wherein, trade agreement is intelligent contract.
Further, management node and the obtained intelligent contract of matching is sent to the first user node and second user section Point respectively signs the intelligent contract being respectively received by the first user node and second user node.
First user node signs the trade agreement (intelligent contract) received, specifically, the first user node Intelligent contract is received, the intelligence contract is signed using the private key of itself, second user node is also to received Intelligent contract is signed.Intelligent contract needs both parties to confirm that signature can just come into force.
Intelligent contract after first user node is signed is committed to block chain network, and second user node is equally by it Intelligent contract after signature is committed to block chain network, is intelligently closed by the node for participating in contract verifying in block chain network to this About carry out validation verification.Ballot formula Byzantine failure tolerance common recognition mechanism can be used to intelligent contract validation verification in the present embodiment; In addition, the ballot formula Byzantine failure tolerance common recognition mechanism of the present embodiment can further progress improvement, the i.e. section to each participation common recognition Point distributes corresponding ballot weight, when each node is voted, the ballot weight of each node according to its identity information To be included in nose count, if ballot weight be more than preset ratio, that is, think to reach common understanding, guarantee transaction effectively, data one Cause property and safety.The preset ratio settable 2/3rds.
In step S22, the first user node obtains the Transaction Information in trade agreement, judges Transaction Information for the first kind Transaction Information or the second class Transaction Information.
At this point, the first user node can obtain the Transaction Information for including in intelligent contract, and then to the class of Transaction Information Do not judged, according to the different type of Transaction Information, using different clearing forms;In the present embodiment, Transaction Information can be wrapped Include first kind Transaction Information and the second class Transaction Information.
In one embodiment, first kind Transaction Information is equal for the identity information of the first user node and second user node For first kind user identity;Second class Transaction Information is that the identity information of the first user node and second user node is the second class User identity, it is notable that the forecasted transaction amount of money of the second class user identity is greater than the expected of first kind user identity and hands over The easy amount of money.
Above-mentioned first kind user identity and the second class user identity are done into as described below: being used in above-mentioned block chain network The main body mechanism of family node includes ordinary family user, enterprise customer, power grid enterprises, purchase sale of electricity company.It is upper in the application Stating each user node can be used as power supply side and party in request, for example, domestic consumer A utilizes photovoltaic power generation equipment and storage Equipment is stored with certain electric power, and domestic consumer A electric power can will be arranged transaction value, and by the data and transaction of the electric power of itself Price is broadcasted to block chain network;Then domestic consumer B can be determined by block chain network and be bought power from domestic consumer A, this When, supplier is being not common power grid enterprises or purchase sale of electricity company.Therefore, more flexible for the main body mechanism of both parties Block chain network, when domestic consumer and domestic consumer carry out electricity transaction, often the frequency of transaction count is relatively high, hands over The easy amount of money is relatively small;But for enterprise customer, power grid enterprises or purchase sale of electricity company, the frequency of transaction count is relatively Low, transaction amount is relatively large.What the application was likely to occur according to different subjects mechanism as a result, saves user with its transaction amount Point distinguishes, using the user identity of the lesser main body mechanism of the forecasted transaction amount of money as first kind user identity, it is contemplated that transaction The user identity of the biggish main body mechanism of the amount of money is the second class user identity;And then according to different user identity, using difference Clearing form.
In another embodiment, transaction amount can be directlyed adopt to classify to Transaction Information, i.e. first kind transaction letter Breath is that the transaction amount for including is less than or equal to preset cost threshold value in the second trade agreement;Second class Transaction Information is the second friendship The transaction amount for including in easy agreement is greater than preset cost threshold value.Wherein, preset cost threshold value can be according to electricity transaction big data It carries out estimating setting, the present embodiment is not particularly limited.
In step S23, the first user node utilizes the settlement channel other than block chain network corresponding with trade agreement Second user node carry out capital settlement.
When judging Transaction Information in step S22 for first kind Transaction Information, illustrate that transaction at this time belongs to transaction count Frequency is relatively high, and the transaction that transaction amount is relatively low, and the first user node passes through the knot other than block chain network as a result, It calculates channel and second user node carries out capital settlement.
Further, referring to Fig. 10, step S23 may include following steps:
In step S231, what the first user node received settlement channel establishes message.
When Transaction Information is first kind Transaction Information, block can be established between the first user node and second user node Settlement channel other than chain network, after the completion of settlement channel clearing, establish settlement channel node (can for management node or First user node), message is established accordingly to the transmission of the first user node, the first user node receives this and establishes message Afterwards.
In the present embodiment, the mode that communication channel can be used in the settlement channel other than block chain network is established.
In step S232, using settlement channel, according to the transaction amount specified in trade agreement to second user node Carry out fund is transferred accounts.
First user node receives the settlement channel established other than the i.e. determining block chain network of message and establishes completion, this When, the first user node can be by the settlement channel, according to transaction amount specified in intelligent contract, to second user node It transfers accounts.
In step S233, the result that fund is transferred accounts is committed to block chain network.
When the completion of the first user node is transferred accounts, or when the first user node or second user node exit settlement channel When, transfer result is then committed to block chain network by the first user node and/or second user node, by block chain network Each node is verified and is stored to transfer result, in addition, accounting nodes carry out the transaction data such as the transfer result of submission Book keeping operation.
By the related frequency that will trade, the relatively small clearing of transaction amount are using from chain clearing form, in settlement process It is not interacted with the main chain of block chain network, and just requests the record of block chain network when settlement channel is closed or counterparty exits The sensitive informations such as transaction end-state, including whether transaction is successful, the variation of trading account remaining sum, implement " on chain under locking-chain The operation of execution ", can greatly alleviate the main chain processing pressure of block chain network, lifting system is within the unit time at transaction Reason ability improves trading efficiency.
In step s 24, the first user node carries out capital settlement using block chain network and second user node.
When judging Transaction Information in step S22 for the second class Transaction Information, illustrate that transaction at this time belongs to transaction count Frequency is relatively low, and the transaction that transaction amount is relatively high, and the first user node is used by block chain network with second as a result, Family node carries out capital settlement.
In one embodiment, when carrying out capital settlement using block chain network, the first user node can be by default Currency type transfer accounts.In one embodiment, preset currency type can be digital cash, at this point, user node (intelligent electric meter) is corresponding with corresponding wallet account, and user is exchanged corresponding by legal tender (currency such as RMB, dollar) Digital cash, and by the digital cash of exchange be stored in wallet account in, when the first user node is transferred accounts to second user node When, then it will directly correspond to the digital cash amount of money specified in intelligent contract in the wallet account of itself and be transferred to second user node Wallet account in.In the present embodiment, if the digital cash in wallet account is switched to corresponding legal tender by user, wallet Digital cash in account will be destroyed.Fund is carried out between the wallet account of different user node by digital cash to turn Account can be realized transaction friction and minimize.
In the present embodiment, the exchange rate between legal tender and digital cash can be managed according to by management node, be converted The rate of changing may be configured as 1,0.5,0.7 etc., and the present embodiment is not specifically limited, when exchange rate is 1,1 legal tender (the present embodiment By taking RMB as an example) 1 digital cash is exchanged, therefore, when the first user node transfers accounts 1 digital cash to second user node, i.e., Have purchased the electric power of 1 RMB of value.
In another embodiment, preset currency type may be legal tender, i.e. the settable wallet account of user, The wallet account can be used as the specified account of electricity transaction, or the wallet account of other payment platforms, or and bank card The wallet account being directly bound, user can shift to an earlier date the legal tender that certain number is stored in wallet account, when the first user saves When point is transferred accounts to second user node, then it will directly correspond to legal tender specified in intelligent contract in the wallet account of itself The amount of money is transferred in the wallet account of second user node.It is understood that with the development and change of means of exchange, the application In preset currency type be also possible to other currency types, the application is not particularly limited.
Further, it needs to deposit in the wallet account of the settable margin system of the present embodiment, i.e. user node (intelligent electric meter) Enter the guarantee fund of Consideration;Fail in time after the first user node (user node of party in request) electricity consumption to second user section When point (user node of supplier) is transferred accounts, second user node can deduct guarantee from the wallet account of the first user node Gold, and the power supply of the first user node is continued as, when the remaining sum of the guarantee fund of the wallet account of the first user node is lower than default volume When spending, second user node can stop powering to the first user node, and be sent to it corresponding prompt information.
In another embodiment, when carrying out capital settlement using block chain network, the first user node is according to transaction The transaction amount specified in agreement sends transfer instructions to third payer, so that third payer is according to transfer instructions to second User node carries out fund and transfers accounts;And first user node and/or second user node result that fund is transferred accounts be committed to Block chain network.
At this point, the first user node (intelligent electric meter) can receive the number that transfer amounts are calculated according to intelligent contract Value;First user node sends transfer instructions to third payer using communication interface, and then pays direction second by third User node is transferred accounts.In the present embodiment, third payer is that the first user node corresponds to the anchoring of user's real name identity Third payment platform (for example, Alipay, wechat, Internetbank etc.).
When the completion of the first user node is transferred accounts, the first user node and/or second user node then mention transfer result It hands over to block chain network, transfer result is verified and stored by each node in block chain network, in addition, accounting nodes The transaction data such as the transfer result to submission are kept accounts.
Corresponding clearing form is respectively adopted according to the classification of Transaction Information in the settlement method of the present embodiment, by part The settlement process of transaction is settled accounts by the settlement channel other than block chain network, thereby reduces block chain network to clearing Processing pressure, improve block chain network trading efficiency, improve the processing capacity of transaction.
Further, above-mentioned Fig. 6 is to one embodiment of method of commerce shown in Fig. 8 and Fig. 9 to settlement method one shown in Fig. 10 Embodiment could be incorporated, and forming new embodiment can when i.e. the first user node and second user node carry out electricity transaction By Fig. 6 to one embodiment of method of commerce shown in Fig. 8, independent hand over is established between the first user node and second user node Easy channel, another first user node and second user node verify transaction by individual transaction channel, and test in transaction After card passes through, capital settlement is carried out using Fig. 9 to one embodiment of settlement method shown in Fig. 10, i.e., according to Transaction Information classification, Using capital settlement mode corresponding with Transaction Information classification.
Further, Figure 11 is please referred to, Figure 11 is electric power data access method one of the application based on above-mentioned block chain network Embodiment.As shown in figure 11, the present embodiment may include following steps:
In step S31, the first user node sends access request to second user node, so that second user node root It creates access strategy according to access request and broadcasts to block chain network and verified.
In the present embodiment, any user node of above-mentioned block chain network can make access main body initiates to another user node Access request, and then access the electric power data of another user node;In the present embodiment, the first user node is access main body, the Two user nodes are accessed main body.
It is corresponding based on access request creation after second user node receives the access request of the first user node transmission Access strategy (include access communication card), further, the access strategy of creation is sent to block chain by second user node In network, the node by being able to carry out verifying in block chain network carries out validation verification to the access strategy, works as access strategy After being verified effectively, kept accounts by accounting nodes, and then be added in the block of block chain network and stored.At this point, visiting It asks that strategy is verified effectively, that is, illustrates that second user node has carried out access mandate, the first user node to the first user node It is provided with the permission to access to second user node.
In step s 32, the first user node obtains the access pass corresponding with access strategy, utilizes current pair of access Second user node accesses.
After first user node is authorized to, the card of access communication accordingly can be obtained by block chain network, and using certainly The private key of body signs to access communication card, initiates access to second user node using the access communication card after signature and asks It asks.Further, second user node verifies the access communication card that the first user node is signed, and is received according to verification result Or the access of the first user node of refusal.
In the present embodiment, the operation of each user node is recorded in block chain network, and is to all user nodes It discloses visible.It, can be by public audit if user node maliciously has rejected some access request for meeting condition.
Above scheme can realize it is following the utility model has the advantages that
(1) by the hardware device of the intelligent electric meter of the application, meet different types of distributed energy and battery Electricity is collected, trades and is recorded, and shows positive and negative active energy, and user is facilitated to read real-time power consumption.
(2) using intelligent electric meter as the node of alliance's chain, have block chain digital identity, and believe with user's real name identity Manner of breathing anchoring, trades safer and more reliable.
(3) intelligent electric meter is utilized, is stored in electric power data initially on block chain from acquisition, and accurate measurement, root Property guarantee data it is genuine and believable, can not distort, and then strengthen both parties' trust.
(4) block chain network is decentralization, and guarantee, which does not need central server, can make node orderly, effectively, automatically Ground is executed to intelligent electric meter identity authentic authentication and data access, and Single Point of Faliure is not present, prevents rogue device from being attacked.
(5) user is to data independent controls of equipment and its production, data use and access record it is credible, traceable, It can audit, can not distort.User can be real-time dynamically, low according to other side role and business needs to the access authority of resource requestor Cost management.
(6) charge calculation rule is write using block chain intelligence contract, electricity data and Local Units electricity price will be collected The valence matching of the amount of progress, and point-to-point electricity charge settle accounts calculation is periodically executed automatically, it realizes that transaction is settled accounts, reduces transaction cost, mentions It is credible and secure to rise electricity transaction.
(7) energy digital management, electric energy digital asset are realized, digitization modeling electric power networks realize Precision management.
It (8) is micro-capacitance sensor, new energy transaction, distributed photovoltaic production and marketing, storage battery provide the credible electric power number of highly effective and safe According to acquisition terminal.
(9) break the information barrier of each operation system such as sales department in electric power enterprise, Finance Department, accelerate to promote " battalion Wealth integration ", simplifies electricity charge reconciliation process and workload, improves accuracy, reduces electric power enterprise operation cost.
In above description, for illustration and not for limitation, propose such as specific system structure, interface, technology it The detail of class, so as to provide a thorough understanding of the present application.However, it will be clear to one skilled in the art that there is no these specific The application also may be implemented in the other embodiment of details.In other situations, omit to well-known device, circuit with And the detailed description of method, so as not to obscure the description of the present application with unnecessary details.

Claims (10)

1. a kind of settlement method based on block chain technology characterized by comprising
First user node submits the trade agreement after signature to block chain network, so that the block chain network verifies the friendship The validity of easy agreement;
When trade agreement verifying is effective, first user node obtains the Transaction Information in the trade agreement, sentences The Transaction Information that breaks is first kind Transaction Information or the second class Transaction Information;
When the Transaction Information is first kind Transaction Information, first user node utilizes the clearing other than block chain network Channel carries out capital settlement with second user node corresponding in the trade agreement;Or
When the Transaction Information be the second class Transaction Information when, first user node using the block chain network with it is described Second user node carries out capital settlement.
2. settlement method according to claim 1, which is characterized in that
The first kind Transaction Information includes: that the identity information of first user node and the second user node is A kind of user identity;Or the transaction amount in the trade agreement including is less than or equal to preset cost threshold value;
The second class Transaction Information includes: that the identity information of first user node and the second user node is second Class user identity;Or the transaction amount in the trade agreement including is greater than the preset cost threshold value;
The forecasted transaction amount of money of the second class user identity is greater than the forecasted transaction amount of money of the first kind user identity.
3. settlement method according to claim 1, which is characterized in that first user node using block chain network with Outer settlement channel carries out capital settlement with second user node corresponding in the trade agreement, comprising:
What first user node received the settlement channel establishes message;
Using the settlement channel, provided according to the transaction amount specified in the trade agreement to the second user node Gold is transferred accounts;
The result that the fund is transferred accounts is committed to the block chain network.
4. settlement method according to claim 1, which is characterized in that first user node utilizes the block link network Network and the second user node carry out capital settlement, comprising:
First user node is according to the currency type and amount of money specified in the trade agreement, Xiang Suoshu second user Node carries out Money transfer, and the result of the Money transfer is committed to the block chain network.
5. settlement method according to claim 1, which is characterized in that first user node utilizes the block link network Network and the second user node carry out capital settlement, comprising:
First user node sends transfer instructions to third payer according to the transaction amount specified in the trade agreement, It transfers accounts so that the third payer carries out fund to the second user node according to the transfer instructions;And by the money The result that gold is transferred accounts is committed to the block chain network.
6. settlement method according to claim 1, which is characterized in that first user node is submitted to block chain network Trade agreement after signature, comprising:
First user node submits the transaction request for corresponding to the second user node to the block chain network, so that The management node of the block chain network establishes first user node and the second user section according to the transaction request Individual transaction channel between point;
First user node submits the trade agreement after signature using the individual transaction channel.
7. settlement method according to claim 6, which is characterized in that the individual transaction channel allows supervisory node to institute The transaction verification and the clearing for stating the first user node and the second user node are monitored.
8. a kind of electricity transaction device based on block chain technology, which is characterized in that including memory, processor and communication electricity Road, the processor connect the memory and the telecommunication circuit;
The memory, for storing the number of deals of program instruction and the electricity transaction device that the processor executes According to;
The telecommunication circuit, for the data transmission between the electricity transaction device and block chain network or external network;
The processor is for executing instruction to realize such as settlement method of any of claims 1-7.
9. electricity transaction device according to claim 8, which is characterized in that the electricity transaction device is with block chain The intelligent electric meter of supporting module.
10. a kind of block chain network characterized by comprising the first user node and second user node;
First user node submits the trade agreement after signature to block chain network, so that the block chain network verifies institute State the validity of trade agreement;
When trade agreement verifying is effective, first user node obtains the Transaction Information in the trade agreement;
When the Transaction Information is first kind Transaction Information, first user node utilizes the clearing other than block chain network Channel carries out capital settlement with second user node corresponding in the trade agreement;Or
When the Transaction Information be the second class Transaction Information when, first user node using the block chain network with it is described Second user node carries out capital settlement;
Wherein, first user node is electricity transaction device described in claim 8 or 9.
CN201811180325.7A 2018-10-10 2018-10-10 A kind of settlement method based on block chain technology, device and block chain network Pending CN109472593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811180325.7A CN109472593A (en) 2018-10-10 2018-10-10 A kind of settlement method based on block chain technology, device and block chain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811180325.7A CN109472593A (en) 2018-10-10 2018-10-10 A kind of settlement method based on block chain technology, device and block chain network

Publications (1)

Publication Number Publication Date
CN109472593A true CN109472593A (en) 2019-03-15

Family

ID=65663446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811180325.7A Pending CN109472593A (en) 2018-10-10 2018-10-10 A kind of settlement method based on block chain technology, device and block chain network

Country Status (1)

Country Link
CN (1) CN109472593A (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110111074A (en) * 2019-05-05 2019-08-09 江苏全链通信息科技有限公司 Contract based on block chain is transferred accounts execution method, equipment and the medium of clause
CN110443709A (en) * 2019-07-30 2019-11-12 杭州趣链科技有限公司 A kind of over-the-counter bond transaction system of the interbank based on block chain
CN110443713A (en) * 2019-09-06 2019-11-12 江门职业技术学院 A kind of method and system promoted for block chain trading efficiency
CN110489488A (en) * 2019-08-21 2019-11-22 腾讯科技(深圳)有限公司 A kind of data processing method and device
CN110675145A (en) * 2019-08-22 2020-01-10 中国平安财产保险股份有限公司 Data processing method and device based on block chain, terminal and storage medium
CN110827007A (en) * 2019-09-26 2020-02-21 远光软件股份有限公司 Block chain-based electric charge settlement method, electronic equipment and storage device
CN110852485A (en) * 2019-10-15 2020-02-28 中山大学 Transaction path short-circuiting method of block chain payment channel network
CN110852734A (en) * 2019-11-06 2020-02-28 上海景域文化传播股份有限公司 Scenic spot service settlement method and system based on block chain and electronic equipment
CN110870288A (en) * 2019-03-18 2020-03-06 阿里巴巴集团控股有限公司 Consensus system downtime recovery
CN110942300A (en) * 2019-11-14 2020-03-31 杭州复杂美科技有限公司 Transfer certificate submitting method, device and storage medium
CN110956551A (en) * 2019-11-20 2020-04-03 腾讯科技(深圳)有限公司 Income distribution method and related equipment
CN110969436A (en) * 2019-12-25 2020-04-07 赫普科技发展(北京)有限公司 Block chain ammeter with digital assets
CN111461706A (en) * 2020-04-27 2020-07-28 杭州云萃流图网络科技有限公司 User information binding method and device based on block chain
CN111724162A (en) * 2020-06-15 2020-09-29 上海分布信息科技有限公司 Management method and system for open block chain commission charge data
CN112395113A (en) * 2020-12-02 2021-02-23 国网浙江省电力有限公司物资分公司 Practical Byzantine fault-tolerant consensus method and device and readable storage medium
CN113011882A (en) * 2021-04-23 2021-06-22 上海和数软件有限公司 Power data information query system based on block chain, electronic equipment and medium
CN113254526A (en) * 2021-03-02 2021-08-13 中国信息通信研究院 Block chain consensus method, device and system
CN114154981A (en) * 2021-08-16 2022-03-08 北京天德科技有限公司 Interaction method for block chain and big data platform in real-time settlement and supervision system
WO2022100291A1 (en) * 2020-11-11 2022-05-19 山西特信环宇信息技术有限公司 Hierarchical architecture of pyramid blockchain
CN115314248A (en) * 2021-09-28 2022-11-08 北京理工大学 Node hierarchical access control method based on block chain
CN110827007B (en) * 2019-09-26 2024-04-19 远光软件股份有限公司 Block chain-based electric charge settlement method, electronic equipment and storage device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105469510A (en) * 2014-10-12 2016-04-06 吴思进 Encryption currency wallet capable of noticing in advance delayed payment or finding
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
US20160284033A1 (en) * 2015-03-24 2016-09-29 Intelligent Energy Limited Energy resource network
CN106934715A (en) * 2017-01-23 2017-07-07 天津米游科技有限公司 A kind of high frequency method of commerce and system based on block chain
CN107578243A (en) * 2017-07-27 2018-01-12 远光软件股份有限公司 Electricity transaction method and device based on block chain technology
CN108062671A (en) * 2017-11-03 2018-05-22 深圳市轱辘车联数据技术有限公司 Data trade method, block chain node server and data submit terminal
CN108171520A (en) * 2017-11-30 2018-06-15 深圳市轱辘车联数据技术有限公司 A kind of Transaction Information management method and server
CN108229926A (en) * 2018-01-31 2018-06-29 深圳慧通商务有限公司 Business accounting method and relevant apparatus
CN108269351A (en) * 2018-01-15 2018-07-10 中链科技有限公司 A kind of digital ticket information processing method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105469510A (en) * 2014-10-12 2016-04-06 吴思进 Encryption currency wallet capable of noticing in advance delayed payment or finding
US20160284033A1 (en) * 2015-03-24 2016-09-29 Intelligent Energy Limited Energy resource network
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
CN106934715A (en) * 2017-01-23 2017-07-07 天津米游科技有限公司 A kind of high frequency method of commerce and system based on block chain
CN107578243A (en) * 2017-07-27 2018-01-12 远光软件股份有限公司 Electricity transaction method and device based on block chain technology
CN108062671A (en) * 2017-11-03 2018-05-22 深圳市轱辘车联数据技术有限公司 Data trade method, block chain node server and data submit terminal
CN108171520A (en) * 2017-11-30 2018-06-15 深圳市轱辘车联数据技术有限公司 A kind of Transaction Information management method and server
CN108269351A (en) * 2018-01-15 2018-07-10 中链科技有限公司 A kind of digital ticket information processing method and system
CN108229926A (en) * 2018-01-31 2018-06-29 深圳慧通商务有限公司 Business accounting method and relevant apparatus

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110870288A (en) * 2019-03-18 2020-03-06 阿里巴巴集团控股有限公司 Consensus system downtime recovery
CN110870288B (en) * 2019-03-18 2022-05-27 创新先进技术有限公司 Consensus system downtime recovery
CN110111074A (en) * 2019-05-05 2019-08-09 江苏全链通信息科技有限公司 Contract based on block chain is transferred accounts execution method, equipment and the medium of clause
CN110443709A (en) * 2019-07-30 2019-11-12 杭州趣链科技有限公司 A kind of over-the-counter bond transaction system of the interbank based on block chain
CN110489488A (en) * 2019-08-21 2019-11-22 腾讯科技(深圳)有限公司 A kind of data processing method and device
CN110489488B (en) * 2019-08-21 2021-06-15 腾讯科技(深圳)有限公司 Data processing method and device
CN110675145A (en) * 2019-08-22 2020-01-10 中国平安财产保险股份有限公司 Data processing method and device based on block chain, terminal and storage medium
CN110443713A (en) * 2019-09-06 2019-11-12 江门职业技术学院 A kind of method and system promoted for block chain trading efficiency
CN110827007A (en) * 2019-09-26 2020-02-21 远光软件股份有限公司 Block chain-based electric charge settlement method, electronic equipment and storage device
CN110827007B (en) * 2019-09-26 2024-04-19 远光软件股份有限公司 Block chain-based electric charge settlement method, electronic equipment and storage device
CN110852485B (en) * 2019-10-15 2023-05-05 中山大学 Transaction path short-circuit method of blockchain payment channel network
CN110852485A (en) * 2019-10-15 2020-02-28 中山大学 Transaction path short-circuiting method of block chain payment channel network
CN110852734A (en) * 2019-11-06 2020-02-28 上海景域文化传播股份有限公司 Scenic spot service settlement method and system based on block chain and electronic equipment
CN110942300B (en) * 2019-11-14 2023-04-14 杭州复杂美科技有限公司 Transfer certificate submitting method, device and storage medium
CN110942300A (en) * 2019-11-14 2020-03-31 杭州复杂美科技有限公司 Transfer certificate submitting method, device and storage medium
CN110956551A (en) * 2019-11-20 2020-04-03 腾讯科技(深圳)有限公司 Income distribution method and related equipment
CN110956551B (en) * 2019-11-20 2024-04-09 腾讯科技(深圳)有限公司 Revenue distribution method and related equipment
CN110969436A (en) * 2019-12-25 2020-04-07 赫普科技发展(北京)有限公司 Block chain ammeter with digital assets
CN111461706A (en) * 2020-04-27 2020-07-28 杭州云萃流图网络科技有限公司 User information binding method and device based on block chain
CN111461706B (en) * 2020-04-27 2023-09-05 杭州云萃流图网络科技有限公司 User information binding method and device based on block chain
CN111724162A (en) * 2020-06-15 2020-09-29 上海分布信息科技有限公司 Management method and system for open block chain commission charge data
WO2022100291A1 (en) * 2020-11-11 2022-05-19 山西特信环宇信息技术有限公司 Hierarchical architecture of pyramid blockchain
CN112395113A (en) * 2020-12-02 2021-02-23 国网浙江省电力有限公司物资分公司 Practical Byzantine fault-tolerant consensus method and device and readable storage medium
CN112395113B (en) * 2020-12-02 2023-06-27 国网浙江省电力有限公司物资分公司 Practical Bayesian fault-tolerant consensus method and device and readable storage medium
CN113254526A (en) * 2021-03-02 2021-08-13 中国信息通信研究院 Block chain consensus method, device and system
CN113011882A (en) * 2021-04-23 2021-06-22 上海和数软件有限公司 Power data information query system based on block chain, electronic equipment and medium
CN114154981A (en) * 2021-08-16 2022-03-08 北京天德科技有限公司 Interaction method for block chain and big data platform in real-time settlement and supervision system
CN115314248A (en) * 2021-09-28 2022-11-08 北京理工大学 Node hierarchical access control method based on block chain
CN115314248B (en) * 2021-09-28 2023-11-10 北京理工大学 Node hierarchical access control method based on block chain

Similar Documents

Publication Publication Date Title
CN109472593A (en) A kind of settlement method based on block chain technology, device and block chain network
CN109583908A (en) A kind of intelligent electric meter based on block chain technology
CN109559223A (en) A kind of method of commerce based on block chain technology, device and block chain network
Miglani et al. Blockchain for Internet of Energy management: Review, solutions, and challenges
Fan et al. Hybrid blockchain-based resource trading system for federated learning in edge computing
Andoni et al. Blockchain technology in the energy sector: A systematic review of challenges and opportunities
Sun et al. Blockchain-enhanced high-confidence energy sharing in internet of electric vehicles
CN107240002B (en) Electric power transaction method and device and micro-grid system
CN109711836A (en) A kind of storage method of transaction, storage network and electronic equipment
Hu et al. A blockchain-based secure transaction model for distributed energy in Industrial Internet of Things
CN111738725B (en) Cross-border resource transfer authenticity auditing method and device and electronic equipment
CN111444209B (en) Data processing method, device, equipment and medium based on block chain
KR102255291B1 (en) System and method for renting and returning shared auxiliary batteries based on blockchain
Nour et al. Review of blockchain potential applications in the electricity sector and challenges for large scale adoption
CN110263092A (en) Rent method and device based on block chain
CN110221919A (en) Virtual resource allocation method and apparatus based on block chain
CN111612191A (en) Intelligent energy trading system and method based on block chain technology
Gao et al. FogChain: A blockchain-based peer-to-peer solar power trading system powered by fog AI
Lin et al. Blockchain power trading and energy management platform
CN110275925A (en) Virtual resource allocation method and apparatus based on block chain
CN112241891A (en) Charging transaction management system based on alliance chain
CN113011883A (en) Data processing method, device, equipment and storage medium
Pop et al. TRADING ENERGY AS A DIGITAL ASSET: A BLOCKCHAIN‐BASED ENERGY MARKET
WO2020231288A1 (en) Information system for buying and selling electrical energy
CN109064329A (en) A kind of calculation power method of commerce and calculate channel

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