CN107330787A - High frequency transaction payment method, system under a kind of block chain chain of highly effective and safe - Google Patents

High frequency transaction payment method, system under a kind of block chain chain of highly effective and safe Download PDF

Info

Publication number
CN107330787A
CN107330787A CN201710375494.5A CN201710375494A CN107330787A CN 107330787 A CN107330787 A CN 107330787A CN 201710375494 A CN201710375494 A CN 201710375494A CN 107330787 A CN107330787 A CN 107330787A
Authority
CN
China
Prior art keywords
counterparties
counterparty
transaction
payment
block chain
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
CN201710375494.5A
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.)
Venture Capital Fund (pingtan) Partnership (limited Partnership)
Original Assignee
Venture Capital Fund (pingtan) Partnership (limited Partnership)
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 Venture Capital Fund (pingtan) Partnership (limited Partnership) filed Critical Venture Capital Fund (pingtan) Partnership (limited Partnership)
Priority to CN201710375494.5A priority Critical patent/CN107330787A/en
Publication of CN107330787A publication Critical patent/CN107330787A/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
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses high frequency transaction payment method, system under a kind of block chain chain of highly effective and safe, method includes the steps:S1 counterparties set up a payment channel under chain, S2 creates agreement fund pool and transactional lock time, the S3 remaining sums that counterparty is changed by way of multi-signature in above-mentioned agreement fund pool within the transactional lock time, S4 is then committed to block chain network and completes transaction after the above-mentioned transactional lock time reaches.By the present invention, both parties can arrange the transactional lock time, so that synchronous block chain network is safer.In addition, also improving efficiency, the trading volume in the unit interval is added, dilatancy is improved.

Description

High frequency transaction payment method, system under a kind of block chain chain of highly effective and safe
Technical field
The present invention relates to block chain field, high frequency transaction payment side under the block chain chain of more particularly to a kind of highly effective and safe Method, system.
Background technology
The big data epoch, All Around The World digitlization, and by internet enter data sea.This not only makes our life It is living more to facilitate, also provide the chance created the wealth.But problem of data safety should not be underestimated.Block chain is expected in future solution Certainly this problem.The similar open network account book of block chain.It originates from bit coin, is the Floor layer Technology of bit coin, The full detail of transaction record can be packaged into one " block " and be stored, with the expansion of information interchange, one by one area Block is connected with each other, and is formed block chain.Digital cash using bit coin as representative is a kind of point-to-point electronic cash system, Transaction can be all broadcasted participant all in network every time, and is just recorded to after repeatedly confirming in account book, This account book is exactly " block chain ".Each participant can have the account book of oneself, so when deceptive information occurs, it is possible to logical Cross mutually verification to abolish, so as to ensure network security.Each node is equality in block chain, in the absence of centralization The characteristics of management organization, this " decentralization ", causes block chain to rely on third party, and it, which is operated, does not need anyone intervention, Self-authentication can independently be carried out.In addition, the network of block chain is opened to the whole world, anyone can pass through open port Data query, thus whole system highly transparent are carried out, in a word, block chain is a believable database, is one reliable " account book ", future in terms of cross-border payment, security, loan, ballot, all can all be applied.Such as in cross-border payment, have Block chain provides safety guarantee, it is possible to is remitted money whenever and wherever possible to the whole world, thus eliminates many intermediate links and high Service charge.
Generally speaking, block chain, Block Chain technologies are that occur in recent years in financial technology (FinTech) field A kind of emerging technology, its unique decentralization, information can not be distorted, multinode collective maintainability, publicity, secret protection etc. Attribute, in based on incredible internet, can record the believable trading information data of offer.Block chain mainly includes P2P Network, cryptography, common recognition mechanism, intelligence and about four parts, ensure that its is exclusive by the Technology Integration in four fields Characteristic, block chain technology is currently the only just to can be used for recording and proving that trade identity and Corporate Finance are accurate without third party The instrument of true property, can meet to audit validity, accuracy and ageing requirement, have in financial field before wide application Scape.The technology will influence the financial infrastructures such as payment system, security clearing system, transaction data base first, while may also General financial business is further expanded to, such as credit system, anti money washing.
In the transaction of current block chain bit coin, payment amount per second can only realize about 6-7, it is impossible to realize substantial amounts of height Frequency is merchandised, so that the problem of causing following:
1) the time cost consumption of process of exchange medium-high frequency transaction is big;
2) more transaction counts can not be supported;
3) payment transaction magnitude is low.
The content of the invention
The technical problem to be solved in the present invention is that a kind of efficiency, the trading volume in the increase unit interval of improving is improved simultaneously High frequency transaction payment method under the block chain chain of the highly effective and safe of dilatancy.
Above-mentioned technical problem is solved, the invention provides high frequency transaction payment side under a kind of block chain chain of highly effective and safe Method, it is characterised in that including the steps:
S1 counterparties set up a payment channel under chain, and a payment channel is set up under chain, Zhi Fuyu blocks now Chain is unrelated, per second general 6-7 because it is very small to pay magnitude on the block chain of bit coin, so elder generation is not by block chain, The transaction for carrying out high frequency time under chain is transferred accounts.
S2 creates agreement fund pool and transactional lock time, and Jin Chi is both parties' agreement;Designated time is also both sides Depending on negotiation, after the designated time reaches, both sides' account balance is exactly the final transaction results in this time.
More than S3 counterparties within the transactional lock time are changed by way of multi-signature in above-mentioned agreement fund pool Volume,
S4 is then committed to block chain network and completes transaction after the above-mentioned transactional lock time reaches.
Further, method also includes:
If because any side needs to carry out being committed to block link network in advance within the transactional lock time in counterparty Network then can be by way of active be submitted, while need to confirm through counterparty.
Further, if counterparty merchandises for both sides, including:First counterparty and the second counterparty, then grasped as follows Make:
3-1) when the first counterparty needs to be traded with the second counterparty, the is first sent in second counterparty Value Hash (R) of one a string of the counterparty after Hash is handled,
3-2) original R is sent to the first counterparty by second counterparty,
3-3) the obtained Hash (R1) after R is carried out Hash processing by first counterparty, and with Hash (R) phase Match somebody with somebody;
If 3-4) matching, transaction funds are included in the account of second counterparty;If mismatching, money trade gold is returned In the account for returning first counterparty.
Further, method also comprises the following steps:
If can not 3-5) set up payment channel under chain between the first counterparty and the second counterparty, pass through other associations the Three counterparties set up payment channel under chain.
Above-mentioned both parties carry out multi-signature by respective private key to transaction,
Above-mentioned both parties or related side promissory payment the passage transactional lock time.
Within the transactional lock time, it repeatedly can carry out two-way payment by high frequency, adjustment remaining sum is realized in passage
Further, if counterparty is multi transaction, including:N counterparties, N+1 counterparties ... N+3 transaction Side, then proceed as follows:
5-1) the N counterparties need with the N+3 counterparties be traded when, but the N counterparties with The N+3 counterparties do not set up payment channel,
5-2) N counterparties complete to hand over the N+3 by a payment path being in series by multiple payment channels Yi Fang transaction.
Further, the payment path is set up as follows:
5-3) the payment path is by N counterparties --- N+1 counterparties, N+1 counterparties --- N+2 counterparties With N+2 counterparties --- multiple payment channels concatenation of N+3 counterparties is formed,
Original R ' 5-4) is generated in the N+3 counterparties, and Hash (R ') after Hash is handled is sent to N Counterparty,
5-5) N+2 counterparties described in the N+3 transaction direction provide correct R ',
5-6) N+1 counterparties described in the N+2 transaction direction provide correct R ',
5-7) N counterparties described in the N+1 transaction direction provide correct R ',
5-8) R ' provided in the N counterparties by N+1 transaction direction carries out Hash operation and obtains Hash (R ' 1),
If 5-9) Hash (R ' 1) is consistent with Hash (R '), the transaction funds of the N counterparties are included in the N+ 1 counterparty, N+2 counterparties are included in from the account of the N+1 counterparties, and N is included in from the account of the N+2 counterparties + 3 counterparties, complete the transaction of the N counterparties and N+3 counterparties.
Further, method also includes:
In above-mentioned steps 5-5), step 5-6) and step 5-7) in, if showing Hash just within the transactional lock time True R ' is Hash (R ' 1), then the N counterparties, the N+1 counterparties and the N+2 counterparties can one by one with Other counterparties are paid;
If it is not, then being returned by original route.
Further, the transactional lock time includes:
One or more in { the micro poles of lockup period T+ }, { lockup period T }, { the micro poles of lockup period T- }, it is described micro The setting value of the random time unit of extremely described lockup period T upper next moment.
Above-mentioned both parties carry out multi-signature by respective private key to transaction,
Above-mentioned both parties or related side promissory payment the passage transactional lock time.
Based on above-mentioned, present invention also offers high frequency trading payment system under a kind of block chain chain of highly effective and safe, including: Pretreatment unit, payment channel unit are paid,
The payment pretreatment unit, to set up a payment channel under chain in counterparty, create agreement fund pool and The transactional lock time,
The payment channel unit, within the transactional lock time counterparty changed by way of multi-signature The remaining sum in agreement fund pool is stated,
And, after the above-mentioned transactional lock time reaches, then it is committed to block chain network and completes transaction.
Further, the payment pretreatment unit, if also in counterparty due to any side need it is described hand over Carrying out being committed to block chain network in advance in easy locking time then can be by way of active be submitted, while need to be true through counterparty Recognize.
Original R ' is exactly any file
Only needing to that an original R sends just can be with
Beneficial effects of the present invention:
1) merchandised in the present invention due to by setting up payment channel, realizing under chain, whole process faster, accessible hand over Easily measure it is more, without full node verification.By way of multi-signature, high frequency time transaction is completed, efficiency is higher, compared to bit 7 transaction per second of coin block chain network improves 10 magnitudes.In addition, in multi-party pay, based on the transactional lock time, about Determine to ensure the interests safety of each side in exchange hour.
2) it is shared without unnecessary full node data during transaction payment, efficiency is greatly improved,
3) both parties and affiliated party's checking, without full node verification.
Brief description of the drawings
Fig. 1 is the method flow schematic diagram in one embodiment of the invention;
Fig. 2 is the process principle figure merchandised when being merchandised for both sides in Fig. 1;
Fig. 3 is the process principle figure merchandised during for multi transaction in Fig. 1;
Fig. 4 is the operating process schematic diagram in Fig. 2;
Fig. 5 is the operating process schematic diagram in Fig. 3;
Fig. 6 is a kind of preferred embodiment schematic diagram in Fig. 1;
Fig. 7 is the system structure diagram in one embodiment of the invention.
Embodiment
The principle of the disclosure is described referring now to some example embodiments.It is appreciated that these embodiments are merely for saying It is bright and help it will be understood by those skilled in the art that with the purpose of the embodiment disclosure and describe, rather than advise model of this disclosure Any limitation enclosed.Content of this disclosure described here can be implemented in the various modes outside mode described below.
As described herein, term " comprising " and its various variants are construed as open-ended term, it means that " bag Include but be not limited to ".Term "based" is construed as " being based at least partially on ".Term " one embodiment " it is understood that For " at least one embodiment ".Term " another embodiment " is construed as " at least one other embodiment ".
Block chain technology in this application is realized based on the elliptic curve digital signature algorithm (ECDSA) in cryptography The P2P system designs of decentralization.From the point of view of the aspect of data:Block chain is a kind of distributed data base or common for distribution Enjoy general ledger.Distribution is not only presented as the distributed storage of data, and being also embodied in the distributed recording block chain of data can realize The distributed recording of global metadata information (can be recorded by system participant collective, rather than concentrated by the mechanism of a centralization Record) (in the node that all participation record datas can be stored in, rather than it is centrally stored in the machine of centralization with distributed storage In structure node).From the point of view of the aspect of effect:Block chain can generate it is a set of record time order and function, can not distort, trusted Database, this sets of data storehouse is decentralization storage and data safety can be effectively ensured.Handle based on block chain The data structure that block is combined in the way of chain, be adapted to that storage is simple, have precedence relationship, can be verified in system Data, can not distorting and can not forging for data is ensure that with cryptography.It can make participant to the whole network transaction record Event sequence and current state are built a consensus.
Fig. 1 is high frequency friendship under the method flow schematic diagram in one embodiment of the invention, a kind of block chain chain of highly effective and safe Easy method of payment, improves efficiency, adds the trading volume in the unit interval, dilatancy is improved, specifically including following Step:
Step S1 counterparties set up a payment channel under chain, in step sl by pre-establishing a payment under chain Passage, Zhi Fuyu block chains now are unrelated.It is very small in view of paying magnitude on the block chain to bit coin, it is per second general 6-7, so in the present embodiment first not by block chain, but the transaction that high frequency time is carried out under chain is transferred accounts.
Step S2 creates agreement fund pool and transactional lock time, when arranging transaction, sets up next payment channel of chain, Agreement fund pool is created, the remaining sum in fund pool can be seen in both parties.Meanwhile, arrange the transactional lock time, such as 24 is small When;Within then small 24, the remaining sum that both parties can be changed in agreement fund pool at any time by multi-signature carries out high frequency time double To payment transaction.
Jin Chi in the present embodiment is both parties' agreement, such as, can be with if both sides' treasury trade frequency is very high Agreement first takes out a part of fund as the common financing fund in fund pool, is clearly recorded more than the assets of both sides in the fund pool Volume, in each transaction, can all record two accounts and mutually transfer amount of the fund.
Designated time in the present embodiment is also that such as, both sides have been carried out largely in the designated time depending on both sides consult The micro- transaction of small amount, the designated time reach after, both sides' account balance is exactly the final transaction results in this time.
Step S3 counterparties within the transactional lock time are changed by way of multi-signature in above-mentioned agreement fund pool Remaining sum,
Step S4 is then committed to block chain network and completes transaction after the above-mentioned transactional lock time reaches.In transactional lock After time reaches, then automatic execution order is committed to block chain network, completes final transaction.
In certain embodiments, it is former in certain single payment transaction of the two-way payment transaction of above-mentioned steps S2 medium-high frequencies time Manage and be:
If 1.1) A needs to carry out a money transfer transactions to B, then B needs first to be sent to the value Hash after a string of Hash of A (R);
1.2) original R is sent to A by B, is also only needed to an original R and is sent;
1.3) Hash (R1) obtained after R is carried out Hash by A, matches with Hash (R);
1.4) fund is directly included in B account;Conversely, fund is returned in A account;
If 1.5) payment channel under chain can not be set up between A, B, PayPal can be set up by other affiliated parties C, D ... Road, principle is ibid;
If 1.6) can be carried because a side needs to carry out being committed to block chain network within the transactional lock time by active Hand over, need to confirm through both sides.
In the present embodiment, due to setting up a payment channel under chain by step S1 counterparties, first not by block chain, But the transaction that high frequency time is carried out under chain is transferred accounts.Transaction from bit coin block chain is different, without unnecessary full node data It is shared, efficiency is greatly improved, due to creating agreement fund pool and transactional lock time in the step S2, due to the step S3 In counterparty is changed by way of multi-signature in above-mentioned agreement fund pool within the transactional lock time remaining sum so that Both parties and/multi-party and affiliated party checking are obtained, without full node verification;Further so that both parties and/or multi-party It can arrange the transactional lock time, can be safer during synchronous block chain network.
It is the process principle figure merchandised when being merchandised for both sides in Fig. 1 as shown in Figure 2, when being related to both sides' transaction:
In the transactional lock time, by multi-signature, account balance high frequency time is merchandised between AB, and account balance changes in time.
Transaction 1:A pays B, 40;
Transaction 2:B pays A, 76;
Transaction 3:A pays B, 48.5;
Merchandise N:Two-way high frequency transaction ...
After the locked transaction time is reached, synchronous block chain network completes transaction.
It is the process principle figure merchandised during for multi transaction in Fig. 1 as shown in Figure 3, when being related to multi transaction:
If A needs to pay D, payment channel is not set up between 20, but A and D.A have found one and reach D by B, C Payment path, the path forms by A-B, B-C and C-D such three payment channels concatenation, and D generates a secret R simultaneously generals Hash (R ') is sent to A, and A requires no knowledge about R '.
A and B decide through consultation a time lock agreement:As long as it is correct that B to A can show Hash in the lockup period (the micro poles of T+) R ', A can pay B 20 (or additional some service charges);If B does not accomplish this point, the money lockup period (the micro poles of T+) is automatic afterwards Return A.
Similarly, B and C agreed upon time locking agreement:As long as C to B can show Hash correct R ', B in the lockup period (T) 20 (or additional some service charges) can be paid;If C does not accomplish this point, the money to lockup period (T) returns B automatically.
Finally, C and D agreed upon time locking agreement:As long as it is correct that D to C can show Hash in the lockup period (the micro poles of T-) R ', C can pay D 20 (or additional some service charges);If D does not accomplish this point, the money lockup period (the micro poles of T-) afterwards from It is dynamic to return C.
Those skilled in the art can understand that the micro pole in above-mentioned lockup period is construed to the set time (T) in principle Upper next moment, can be 1 second, 0.1 second, 0.01 second ... or tend to infinite approach set time (T) its His chronomere, can be arbitrary value.
It is the operating process schematic diagram in Fig. 2 as shown in Figure 4 as preferred in the present embodiment, if counterparty is both sides Transaction, including:First counterparty and the second counterparty, then proceed as follows:
Step S301 is first sent when the first counterparty needs to be traded with the second counterparty in second counterparty Give the first counterparty a string of value Hash (R) after Hash is handled,
Original R is sent to the first counterparty by the second counterparty described in step S302,
Step S303 obtained Hash (R1) after R is carried out Hash processing by first counterparty, and with Hash (R) phase Matching;
If step S304 is matched, transaction funds are included in the account of second counterparty;If mismatching, money transaction Gold is returned in the account of first counterparty.
Also comprise the following steps:
If payment channel under chain can not be set up between the counterparties of step S305 first and the second counterparty, closed by other Join the 3rd counterparty and set up payment channel under chain.
Above-mentioned both parties will realize the two-way payment of high frequency time in phase certain time, first, and a branch is set up under chain Passage is paid, both parties carry out multi-signature to transaction by respective private key, and both parties or related side's promissory payment passage are handed over Easy locking time;Then, within the transactional lock time, it repeatedly can carry out two-way payment by high frequency, adjustment remaining sum is realized in passage; Finally, automatic or actively performs order and be submitted to block chain network, completion is merchandised.
It is the operating process schematic diagram in Fig. 3 as shown in Figure 5 as preferred in the present embodiment, if counterparty is multi-party Transaction, including:N counterparties, N+1 counterparty ... N+3 counterparties, then proceed as follows:
Step S501 is when the N counterparties need to be traded with the N+3 counterparties, but the N merchandises It is square not set up payment channel with the N+3 counterparties,
Step S502 N counterparties are completed and the N+ by a payment path being in series by multiple payment channels The transaction of 3 counterparties.
Preferably, above-mentioned payment path is set up as follows:
Path is paid described in step S503, and by N counterparties, --- N+1 counterparties, N+1 counterparties --- N+2 is handed over Multiple payment channels concatenation of Yi Fang and N+2 counterparties --- N+3 counterparties are formed,
Step S504 generates original R ', and Hash (the R ') transmissions after Hash is handled in the N+3 counterparties To N counterparties, original R ' is any file,
N+2 counterparties described in N+3 transaction direction described in step S505 provide correct R ', and original R ' is any File,
N+1 counterparties described in N+2 transaction direction described in step S506 provide correct R ', and original R ' is any File,
N counterparties described in N+1 transaction direction described in step S507 provide correct R ', and original R ' is any text Part,
Step S508 carries out Hash operation in the R ' that the N counterparties are provided by N+1 transaction direction and obtains Hash (R ' 1),
If step S509 Hash (R ' 1) are consistent with Hash (R '), the transaction funds of the N counterparties are included in described N+1 counterparties, N+2 counterparties are included in from the account of the N+1 counterparties, are drawn from the account of the N+2 counterparties Enter N+3 counterparties, complete the transaction of the N counterparties and N+3 counterparties.
In certain embodiments, also comprise the following steps:
In above-mentioned steps S505, step S506 and step S507, if showing Hash just within the transactional lock time True R ' is Hash (R ' 1), then the N counterparties, the N+1 counterparties and the N+2 counterparties can one by one with Other counterparties are paid;
If it is not, then being returned by original route.
In certain embodiments, the above-mentioned transactional lock time specifically includes:
One or more in { the micro poles of lockup period T+ }, { lockup period T }, { the micro poles of lockup period T- }, it is described micro The setting value of the random time unit of extremely described lockup period T upper next moment.
It is that method in a kind of preferred embodiment schematic diagram in Fig. 1, the present embodiment also includes as shown in Figure 6:Step S1 counterparties set up a payment channel under chain, and step S2 creates agreement fund pool and transactional lock time, and step S3 is described The remaining sum step that counterparty is changed by way of multi-signature in above-mentioned agreement fund pool in the transactional lock time, S4 is in above-mentioned friendship After easy locking time reaches, then it is committed to block chain network and completes transaction.If because any side needs in step S5 counterparties Within the transactional lock time in advance carry out be committed to block chain network then can active submit by way of, while need to through hand over Yi Fang confirms.
It is a kind of highly effective and safe in the system structure diagram in one embodiment of the invention, the present embodiment as shown in Figure 7 Block chain chain under high frequency trading payment system, including:Pretreatment unit 1, payment channel unit 2 are paid, pays pre- described Processing unit 1, to set up a payment channel under chain in counterparty, creates agreement fund pool and transactional lock time, in institute State payment channel unit 2, within the transactional lock time counterparty above-mentioned agreement money is changed by way of multi-signature Remaining sum in Jin Chi, and, after the above-mentioned transactional lock time reaches, then it is committed to block chain network and completes transaction.By Pay pretreatment unit 1 complete chain under merchandise, faster, accessible trading volume it is more, without full node verification, PayPal now The also non-cochain in road.High frequency time can be completed in setting fund pool and exchange hour by the payment channel unit 2 to merchandise, efficiency It is higher, improve 10 magnitudes compared to 7 transaction per second of bit coin block chain network.Further, it is single due to paying pretreatment Member 1 arranges exchange hour, can directly synchronous block chain network;Further, paid in many ways due to paying pretreatment unit 1 When, use time locking agreement, it can be ensured that the interests safety of each side.
In certain embodiments, it is described payment pretreatment unit 1, if also in counterparty due to any side need exist In the transactional lock time in advance carry out be committed to block chain network then can active submit by way of, while need to through transaction Side confirms.
In certain embodiments, in the payment channel unit 2, if counterparty merchandises for both sides, including:First counterparty With the second counterparty, then proceed as follows:
3-1) when the first counterparty needs to be traded with the second counterparty, the is first sent in second counterparty Value Hash (R) of one a string of the counterparty after Hash is handled,
3-2) original R is sent to the first counterparty by second counterparty,
3-3) the obtained Hash (R1) after R is carried out Hash processing by first counterparty, and with Hash (R) phase Match somebody with somebody;
If 3-4) matching, transaction funds are included in the account of second counterparty;If mismatching, money trade gold is returned In the account for returning first counterparty.
Preferably, also comprise the following steps:
If can not 3-5) set up payment channel under chain between the first counterparty and the second counterparty, pass through other associations the Three counterparties set up payment channel under chain.
In certain embodiments, in the payment channel unit 2, if counterparty is multi transaction, including:N counterparties, N+1 counterparty ... N+3 counterparties, then proceed as follows:
5-1) the N counterparties need with the N+3 counterparties be traded when, but the N counterparties with The N+3 counterparties do not set up payment channel,
5-2) N counterparties complete to hand over the N+3 by a payment path being in series by multiple payment channels Yi Fang transaction.
In certain embodiments, the payment path is set up as follows:
5-3) the payment path is by N counterparties --- N+1 counterparties, N+1 counterparties --- N+2 counterparties With N+2 counterparties --- multiple payment channels concatenation of N+3 counterparties is formed,
Original R ' 5-4) is generated in the N+3 counterparties, and Hash (R ') after Hash is handled is sent to N Counterparty,
5-5) N+2 counterparties described in the N+3 transaction direction provide correct R ',
5-6) N+1 counterparties described in the N+2 transaction direction provide correct R ',
5-7) N counterparties described in the N+1 transaction direction provide correct R ',
5-8) R ' provided in the N counterparties by N+1 transaction direction carries out Hash operation and obtains Hash (R ' 1),
If 5-9) Hash (R ' 1) is consistent with Hash (R '), the transaction funds of the N counterparties are included in the N+ 1 counterparty, N+2 counterparties are included in from the account of the N+1 counterparties, and N is included in from the account of the N+2 counterparties + 3 counterparties, complete the transaction of the N counterparties and N+3 counterparties.
In certain embodiments, also include in the payment channel unit 2:If showing Hash within the transactional lock time Correct R ' is Hash (R ' 1), then the N counterparties, the N+1 counterparties and the N+2 counterparties can be one by one Paid with other counterparties;
If it is not, then being returned by original route.
In certain embodiments, the transactional lock time includes:{ the micro poles of lockup period T+ }, { lockup period T }, { locking The micro poles of phase T- } in one or more, the random time list of upper next moment of the micro extremely described lockup period T The setting value of position.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means to combine specific features, structure, material or the spy that the embodiment or example are described Point is contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any One or more embodiments or example in combine in an appropriate manner.
In general, the various embodiments of the disclosure can be with hardware or special circuit, software, logic or its any combination Implement.Some aspects can be implemented with hardware, and some other aspect can be with firmware or software implementation, and the firmware or software can With by controller, microprocessor or other computing devices.Although the various aspects of the disclosure be shown and described as block diagram, Flow chart is represented using some other drawing, but it is understood that frame described herein, equipment, system, techniques or methods can With in a non limiting manner with hardware, software, firmware, special circuit or logic, common hardware or controller or other calculating Equipment or some of combination are implemented.
In addition, although operation is described with particular order, but this is understood not to require this generic operation with shown suitable Sequence is performed or performed with generic sequence, or requires that all shown operations are performed to realize expected result.In some feelings Under shape, multitask or parallel processing can be favourable.Similarly, although the details of some specific implementations is superincumbent to beg for By comprising but these are not necessarily to be construed as any limitation of scope of this disclosure, but the description of feature is only pin in To specific embodiment.Some features described in some embodiments of separation can also in combination be held in single embodiment OK.Mutually oppose, the various features described in single embodiment can also be implemented separately or to appoint in various embodiments The mode of what suitable sub-portfolio is implemented.

Claims (10)

1. high frequency transaction payment method under a kind of block chain chain of highly effective and safe, it is characterised in that including the steps:
S1 counterparties set up a payment channel under chain,
S2 creates agreement fund pool and transactional lock time,
The S3 remaining sums that counterparty is changed by way of multi-signature in above-mentioned agreement fund pool within the transactional lock time,
S4 is then committed to block chain network and completes transaction after the above-mentioned transactional lock time reaches.
2. high frequency transaction payment method under block chain chain according to claim 1, it is characterised in that also include:
If needing to carry out being committed to block chain network in advance within the transactional lock time due to any side in counterparty Can be by way of active be submitted, while need to confirm through counterparty.
3. high frequency transaction payment method under block chain chain according to claim 1, it is characterised in that if counterparty is both sides Transaction, including:First counterparty and the second counterparty, then proceed as follows:
3-1) when the first counterparty needs to be traded with the second counterparty, the first friendship is first sent in second counterparty Easily a string of the value Hash (R) after Hash is handled in side,
3-2) original R is sent to the first counterparty by second counterparty,
3-3) the Hash (R1) obtained after R is carried out Hash processing by first counterparty, and matching with Hash (R);
If 3-4) matching, transaction funds are included in the account of second counterparty;If mismatching, money trade gold returns to institute In the account for stating the first counterparty.
4. high frequency transaction payment method under block chain chain according to claim 3, it is characterised in that also including following step Suddenly:
If can not 3-5) set up payment channel under chain between the first counterparty and the second counterparty, handed over by other associations the 3rd Yi Fang sets up payment channel under chain.
5. high frequency transaction payment method under block chain chain according to claim 1, it is characterised in that if counterparty is multi-party Transaction, including:N counterparties, N+1 counterparty ... N+3 counterparties, then proceed as follows:
5-1) the N counterparties need with the N+3 counterparties be traded when, but the N counterparties with it is described N+3 counterparties do not set up payment channel,
5-2) N counterparties are completed and the N+3 counterparties by a payment path being in series by multiple payment channels Transaction.
6. high frequency transaction payment method under block chain chain according to claim 5, it is characterised in that press in the payment path Set up according to following manner:
5-3) the payment path is by N counterparties --- N+1 counterparties, N+1 counterparties --- N+2 counterparties and Multiple payment channels concatenation of N+2 counterparties --- N+3 counterparties is formed,
Original R ' 5-4) is generated in the N+3 counterparties, and Hash (R ') after Hash is handled is sent to N transaction Side,
5-5) N+2 counterparties described in the N+3 transaction direction provide correct R ',
5-6) N+1 counterparties described in the N+2 transaction direction provide correct R ',
5-7) N counterparties described in the N+1 transaction direction provide correct R ',
5-8) R ' provided in the N counterparties by N+1 transaction direction carries out Hash operation and obtains Hash (R ' 1),
If 5-9) Hash (R ' 1) is consistent with Hash (R '), the transaction funds of the N counterparties are included in the N+1 and handed over Yi Fang, N+2 counterparties are included in from the account of the N+1 counterparties, and N+3 is included in from the account of the N+2 counterparties Counterparty, completes the transaction of the N counterparties and N+3 counterparties.
7. high frequency transaction payment method under block chain chain according to claim 6, it is characterised in that also include:
In above-mentioned steps 5-5), step 5-6) and step 5-7) in, if it is correct to show Hash within the transactional lock time R ' is Hash (R ' 1), then the N counterparties, the N+1 counterparties and the N+2 counterparties can one by one with it is other Counterparty is paid;
If it is not, then being returned by original route.
8. high frequency transaction payment method under block chain chain according to claim 5, it is characterised in that during the transactional lock Between include:
One or more in { the micro poles of lockup period T+ }, { lockup period T }, { the micro poles of lockup period T- }, it is described it is micro extremely The setting value of the random time unit of upper next moment of the lockup period T.
9. high frequency trading payment system under a kind of block chain chain of highly effective and safe, it is characterised in that including:Pay pretreatment single Member, payment channel unit,
The payment pretreatment unit, to set up a payment channel under chain in counterparty, creates agreement fund pool and transaction Locking time,
The payment channel unit, within the transactional lock time counterparty changed by way of multi-signature it is above-mentioned about Determine the remaining sum in fund pool,
And, after the above-mentioned transactional lock time reaches, then it is committed to block chain network and completes transaction.
10. high frequency trading payment system under block chain chain according to claim 9, it is characterised in that
The payment pretreatment unit, if also in counterparty due to any side need carried within the transactional lock time Preceding progress is committed to block chain network then can be by way of active be submitted, while need to confirm through counterparty.
CN201710375494.5A 2017-05-24 2017-05-24 High frequency transaction payment method, system under a kind of block chain chain of highly effective and safe Pending CN107330787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710375494.5A CN107330787A (en) 2017-05-24 2017-05-24 High frequency transaction payment method, system under a kind of block chain chain of highly effective and safe

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710375494.5A CN107330787A (en) 2017-05-24 2017-05-24 High frequency transaction payment method, system under a kind of block chain chain of highly effective and safe

Publications (1)

Publication Number Publication Date
CN107330787A true CN107330787A (en) 2017-11-07

Family

ID=60193253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710375494.5A Pending CN107330787A (en) 2017-05-24 2017-05-24 High frequency transaction payment method, system under a kind of block chain chain of highly effective and safe

Country Status (1)

Country Link
CN (1) CN107330787A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108199842A (en) * 2018-02-13 2018-06-22 克洛斯比尔有限公司 The method and system of information is announced in delay
CN108564369A (en) * 2018-04-18 2018-09-21 常州大学 A kind of decentralization moneytary operations method based on region chain
CN108881169A (en) * 2018-05-21 2018-11-23 西安电子科技大学 Time distribution and synchronous method and system, data processing system based on block chain
CN109034833A (en) * 2018-06-16 2018-12-18 复旦大学 A kind of product back-tracing information management system and method based on block chain
CN109086398A (en) * 2018-07-26 2018-12-25 深圳前海微众银行股份有限公司 Asynchronous cochain method, equipment and computer readable storage medium
CN110070349A (en) * 2018-01-22 2019-07-30 厦门本能管家科技有限公司 A kind of quick transfer account method establishing both sides' contract and freezing
CN110223055A (en) * 2019-05-05 2019-09-10 中山大学 A kind of routing resource of block chain payment channel network
CN110458560A (en) * 2019-07-12 2019-11-15 阿里巴巴集团控股有限公司 For carrying out the method and device of transaction verification
CN110599143A (en) * 2019-07-31 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, related device and medium
CN110751468A (en) * 2019-09-24 2020-02-04 上海交通大学 Multi-directional state channel method, system and medium for block chain expansion
CN110852485A (en) * 2019-10-15 2020-02-28 中山大学 Transaction path short-circuiting method of block chain payment channel network
CN111210344A (en) * 2018-11-21 2020-05-29 北京京东金融科技控股有限公司 Transaction method, device and storage medium of block chain network
CN111585994A (en) * 2020-04-27 2020-08-25 中国银行股份有限公司 Data processing method and system
CN111612453A (en) * 2019-02-22 2020-09-01 北京趣块远扬科技有限公司 Decentralized transaction method and device based on block chain and electronic equipment
US10951417B2 (en) 2019-07-12 2021-03-16 Advanced New Technologies Co., Ltd. Blockchain-based transaction verification
CN113302636A (en) * 2019-01-03 2021-08-24 华为技术有限公司 Data processing method, device and medium based on block chain
CN116894672A (en) * 2023-07-12 2023-10-17 暨南大学 Data transaction platform implementation method based on blockchain and payment channel network
US20230368195A1 (en) * 2018-02-08 2023-11-16 Nchain Licensing Ag System and method for transferring resources using a blockchain

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488665A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Decentralized transaction method
CN106228446A (en) * 2016-05-12 2016-12-14 北京众享比特科技有限公司 Transaction in assets plateform system based on privately owned block chain and method
CN106504085A (en) * 2016-10-18 2017-03-15 北京天德科技有限公司 A kind of DVP settlement methods based on block chain technology
CN106530088A (en) * 2016-12-19 2017-03-22 杜伯仁 Method for trading stock product based on block chain security nodes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488665A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Decentralized transaction method
CN106228446A (en) * 2016-05-12 2016-12-14 北京众享比特科技有限公司 Transaction in assets plateform system based on privately owned block chain and method
CN106504085A (en) * 2016-10-18 2017-03-15 北京天德科技有限公司 A kind of DVP settlement methods based on block chain technology
CN106530088A (en) * 2016-12-19 2017-03-22 杜伯仁 Method for trading stock product based on block chain security nodes

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110070349A (en) * 2018-01-22 2019-07-30 厦门本能管家科技有限公司 A kind of quick transfer account method establishing both sides' contract and freezing
US20230368195A1 (en) * 2018-02-08 2023-11-16 Nchain Licensing Ag System and method for transferring resources using a blockchain
CN108199842A (en) * 2018-02-13 2018-06-22 克洛斯比尔有限公司 The method and system of information is announced in delay
CN108564369A (en) * 2018-04-18 2018-09-21 常州大学 A kind of decentralization moneytary operations method based on region chain
CN108564369B (en) * 2018-04-18 2021-07-27 常州大学 Decentralized currency transaction method based on regional chain
CN108881169A (en) * 2018-05-21 2018-11-23 西安电子科技大学 Time distribution and synchronous method and system, data processing system based on block chain
CN108881169B (en) * 2018-05-21 2021-02-09 西安电子科技大学 Time distribution and synchronization method and system based on block chain and data processing system
CN109034833A (en) * 2018-06-16 2018-12-18 复旦大学 A kind of product back-tracing information management system and method based on block chain
CN109034833B (en) * 2018-06-16 2021-07-23 复旦大学 Product tracing information management system and method based on block chain
CN109086398A (en) * 2018-07-26 2018-12-25 深圳前海微众银行股份有限公司 Asynchronous cochain method, equipment and computer readable storage medium
CN111210344A (en) * 2018-11-21 2020-05-29 北京京东金融科技控股有限公司 Transaction method, device and storage medium of block chain network
CN113302636A (en) * 2019-01-03 2021-08-24 华为技术有限公司 Data processing method, device and medium based on block chain
CN111612453A (en) * 2019-02-22 2020-09-01 北京趣块远扬科技有限公司 Decentralized transaction method and device based on block chain and electronic equipment
CN110223055A (en) * 2019-05-05 2019-09-10 中山大学 A kind of routing resource of block chain payment channel network
WO2021008117A1 (en) * 2019-07-12 2021-01-21 创新先进技术有限公司 Method and apparatus for performing transaction verification
CN110458560B (en) * 2019-07-12 2021-10-12 创新先进技术有限公司 Method and apparatus for transaction verification
US10951417B2 (en) 2019-07-12 2021-03-16 Advanced New Technologies Co., Ltd. Blockchain-based transaction verification
CN110458560A (en) * 2019-07-12 2019-11-15 阿里巴巴集团控股有限公司 For carrying out the method and device of transaction verification
US11240041B2 (en) 2019-07-12 2022-02-01 Advanced New Technologies Co., Ltd. Blockchain-based transaction verification
TWI740378B (en) * 2019-07-12 2021-09-21 開曼群島商創新先進技術有限公司 Method and device for transaction verification
CN110599143A (en) * 2019-07-31 2019-12-20 腾讯科技(深圳)有限公司 Data processing method, related device and medium
CN110751468A (en) * 2019-09-24 2020-02-04 上海交通大学 Multi-directional state channel method, system and medium for block chain expansion
CN110751468B (en) * 2019-09-24 2023-04-28 上海交通大学 Multi-way state channel method, system and medium for block chain expansion
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
CN111585994A (en) * 2020-04-27 2020-08-25 中国银行股份有限公司 Data processing method and system
CN116894672A (en) * 2023-07-12 2023-10-17 暨南大学 Data transaction platform implementation method based on blockchain and payment channel network
CN116894672B (en) * 2023-07-12 2024-04-16 暨南大学 Data transaction platform implementation method based on blockchain and payment channel network

Similar Documents

Publication Publication Date Title
CN107330787A (en) High frequency transaction payment method, system under a kind of block chain chain of highly effective and safe
US11032255B2 (en) Secure comparison of information
US11170439B2 (en) Method and apparatus for distributed, privacy-preserving and integrity-preserving exchange, inventory and order book
Franco Understanding Bitcoin: Cryptography, engineering and economics
Karlstrøm Do libertarians dream of electric coins? The material embeddedness of Bitcoin
CN109544129B (en) Block chain transaction method and device and electronic equipment
Koblitz et al. Cryptocash, cryptocurrencies, and cryptocontracts
CN109242485A (en) Block chain method of commerce and device, electronic equipment
CN109903026A (en) Event-handling method and device, electronic equipment based on block chain
CN109934711A (en) The method and system of external warranty for the transaction of block chain
US11036874B2 (en) Secure comparison of information
CN111191280B (en) Blockchain transaction method based on encrypted data, electronic equipment and storage medium
CN109903027A (en) Event-handling method and device, electronic equipment based on block chain
CN109377224A (en) Block chain method of commerce and device, electronic equipment
Chen et al. A review of zk-SNARKs
CN108596586A (en) Block chain operation method and book keeping operation power node
CN110009316A (en) Event-handling method and device, electronic equipment based on block chain
CN107070896A (en) A kind of safe and efficient block chain customization login method and security hardening system
Ramseyer et al. Liquidity in credit networks with constrained agents
US20220076253A1 (en) Computation mixing
CN110278266A (en) A kind of method for processing resource and device based on block chain
Perez-Marco Bitcoin and decentralized trust protocols
Sharma et al. Blockchain Revolution: Adaptability in Business World and Challenges in Implementation
CN107659411A (en) Encrypt the method and system of the traceable user's signature of currency conditional
Rasheed et al. Blockchain mobile wallet with secure offline transactions

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171107