CN108615149A - Flexible block chain method of payment, device and the electronic equipment of multi-signature - Google Patents

Flexible block chain method of payment, device and the electronic equipment of multi-signature Download PDF

Info

Publication number
CN108615149A
CN108615149A CN201810260125.6A CN201810260125A CN108615149A CN 108615149 A CN108615149 A CN 108615149A CN 201810260125 A CN201810260125 A CN 201810260125A CN 108615149 A CN108615149 A CN 108615149A
Authority
CN
China
Prior art keywords
payment
signature
soft
block chain
allocated
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
CN201810260125.6A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810260125.6A priority Critical patent/CN108615149A/en
Publication of CN108615149A publication Critical patent/CN108615149A/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/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses flexible block chain method of payment, device and the electronic equipments of a kind of multi-signature, wherein method includes:The digital asset to be allocated that sender sends is stored in the multi-signature address of block chain, to open soft payment channel;At least one distribution information of sender's distribution is obtained, and corresponding at least one soft payment of reassignment is generated according at least one distribution information and is signed;Soft payment signature is reassigned by the soft payment of digital asset to be allocated to corresponding account according at least one.This method can be by the way that digital asset to be allocated to be sent on the multi-signature address of block chain, and by establishing soft payment network, and realize that both sides need not directly establish soft payment channel and can realize soft payment, reliability and the safety of payment is not only effectively ensured, and have many advantages, such as that payment cost is relatively low, acknowledging time is short, flexibility is higher, effectively promote user experience, and simple easily realization.

Description

Flexible block chain method of payment, device and the electronic equipment of multi-signature
Technical field
The present invention relates to internet financial technology field, more particularly to the flexible block chain payer of a kind of multi-signature Method, device and electronic equipment.
Background technology
Currently, block chain technology is in development by leaps and bounds, it is relatively low with its decentralization, convenient and efficient, high security, cost Etc. advantages, cause financial field even entire society concern.
Wherein, one of the specific important technology landing application of block chain is exactly the payment of block chain, however as block chain branch It pays the development of industry new problem appearance, on the one hand limits block to maintain the simple and direct and decentralization of block chain data Size is preferentially packaged the pattern of confirmation using the high person of market competition service charge, can often be needed when busy in order to confirm as early as possible Higher transaction procedure expense is paid, it is sometimes even high to being difficult to receive.On the other hand, since the full node in the whole world of block chain is same The characteristics of step confirms, the time for needing block data to be propagated in the whole world, therefore even if sufficiently high service charge, it is also desirable to about ten rather Clock confirms, it is difficult to meet the demand of the application scenarios of some high frequency fast transactions.
In the related art, in order to reduce the cost of the block chain used payment, and acknowledging time is accelerated to improve flexibility, It is often solved the above problems using lightning network, thunder and lightning network and side chain technology etc., but due to excessively complicated cumbersome, caused Failing the methods of payment of ripe landing, especially the relevant technologies, that there are payment costs is higher, acknowledging time is longer, flexibility is poor A series of problems, such as, more and more block chain payment demands are cannot be satisfied, reduce user experience, it would be highly desirable to improve.
Invention content
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, first purpose of the present invention is to propose a kind of flexible block chain method of payment of multi-signature, the party Reliability and the safety of payment can be effectively ensured in method, and with payment cost is relatively low, acknowledging time is short, flexibility is higher The advantages that, effectively promote user experience, and simple easily realization.
Second object of the present invention is to propose a kind of flexible block chain payment mechanism of multi-signature.
Third object of the present invention is to propose a kind of electronic equipment.
Fourth object of the present invention is to propose a kind of computer readable storage medium.
In order to achieve the above objectives, first aspect present invention embodiment proposes a kind of flexible block chain payment of multi-signature Method includes the following steps:The digital asset to be allocated that sender sends is stored in the multi-signature address of block chain, with Open soft payment channel;At least one distribution information of described sender distribution is obtained, and is believed according at least one distribution Breath generates the corresponding soft payment signature of at least one reassignment;It is waited for described according at least one soft payment signature of reassignment The soft payment of digital asset is distributed to corresponding account.
The flexible block chain method of payment of the multi-signature of the embodiment of the present invention, can be by sending out digital asset to be allocated It is sent on the multi-signature address of block chain, and by establishing soft payment network, and soft branch need not directly be established by realizing both sides Soft payment can be realized by paying channel, not only be effectively ensured reliability and the safety of payment, and relatively low with payment cost, The advantages that acknowledging time is short, flexibility is higher effectively promotes user experience, and simple easily realization.
In addition, the flexible block chain method of payment of multi-signature according to the above embodiment of the present invention can also have it is following Additional technical characteristic:
Further, in one embodiment of the invention, the above method further includes:It is to be allocated sending sender Before digital asset is stored in the multi-signature address of block chain, the delay for obtaining recipient's signature goes back to signature, and The delay signed according to the recipient goes back to signature and closes the soft payment channel, by the portion in the multi-signature address Divide or all digital asset to be allocated goes back to described sender after preset time stamp or default block height;Or it is connect according to described The soft payment channel is closed in the block chain broadcast that the distribution information of debit's signature is sent, and institute is allocated by the distribution information State digital asset to be allocated.
Further, in one embodiment of the invention, the multi-signature address of the block chain is that 2of2 patterns are more It signs again address or 2of3 pattern multi-signatures address, to sign or described in described sender and the reciever In sender, the recipient and third party after arbitrary two sides signature, the digital asset to be allocated is paid.
Further, in one embodiment of the invention, above-mentioned to further include:By being established between multiple soft payment nodes The two-way or unidirectional soft payment channel, to generate soft payment network.
Further, in one embodiment of the invention, the soft payment node point includes at least one Centroid With multiple first user nodes, the multiple first user node is connected at least one Centroid, and described more It is not attached between a first user node, to generate the soft payment network of star topology.
Further, in one embodiment of the invention, the soft payment node includes transfer root node, multiple soft nets Artis and multiple second user nodes, wherein the transfer root node is connected with the multiple soft gateway node, the multiple Soft gateway node is connected with the multiple second user node, and each soft gateway node is not attached between each other, and the multiple Each user node of two user nodes can phase with the transfer root node, soft gateway node and other second user nodes Even, to generate the soft payment network of hierarchical tree topology.
In order to achieve the above objectives, second aspect of the present invention embodiment proposes a kind of flexible block chain payment of multi-signature Device includes:Memory module, the digital asset to be allocated for sending sender are stored in the multi-signature address of block chain In, to open soft payment channel;Processing module, at least one distribution information for obtaining described sender distribution, and according to At least one distribution information generates the corresponding soft payment signature of at least one reassignment;Payment module, for according to It is at least one to reassign soft payment signature by the soft payment of digital asset to be allocated to corresponding account.
The flexible block chain payment mechanism of the multi-signature of the embodiment of the present invention, can be by sending out digital asset to be allocated It is sent on the multi-signature address of block chain, and by establishing soft payment network, and soft branch need not directly be established by realizing both sides Soft payment can be realized by paying channel, not only be effectively ensured reliability and the safety of payment, and relatively low with payment cost, The advantages that acknowledging time is short, flexibility is higher effectively promotes user experience, and simple easily realization.
In addition, the flexible block chain payment mechanism of multi-signature according to the above embodiment of the present invention can also have it is following Additional technical characteristic:
Further, in one embodiment of the invention, above-mentioned apparatus further includes:Control module, for that will send Before the digital asset to be allocated just sent is stored in the multi-signature address of block chain, prolonging for recipient's signature is obtained When go back to signature, and signature is gone back to according to the delay that the recipient signs and closes the soft payment channel, will be described multiple Digital asset to be allocated goes back to the transmission after preset time stamp or default block height some or all of in signature address Side, or when needed, the soft payment channel is closed in the block chain broadcast sent according to the distribution information of recipient signature, It is allocated the digital asset to be allocated by the distribution information.
Third aspect present invention embodiment proposes a kind of electronic equipment, including:It memory, processor and is stored in described On memory and the computer program that can run on the processor, the processor realize such as first when executing described program The flexible block chain method of payment of multi-signature described in aspect embodiment.
Fourth aspect present invention embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey Sequence realizes the flexible block chain payer of the multi-signature as described in first aspect embodiment when described program is executed by processor Method.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obviously, or practice through the invention is recognized.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, wherein:
Fig. 1 is the flow chart according to the flexible block chain method of payment of the multi-signature of one embodiment of the invention;
Fig. 2 is the soft payment channel principle schematic according to the flexible block chain method of payment of one embodiment of the invention;
Fig. 3 is according to the soft payment channel schematic diagram established between the user A and user B of one embodiment of the invention;
Fig. 4 is according to the soft payment channel schematic diagram established between the soft gateway X of one embodiment of the invention and user;
Fig. 5 is to show according to establishing soft payment network between the soft gateway of root and each soft gateway and user of one embodiment of the invention It is intended to;
Fig. 6 is the structural schematic diagram according to the flexible block chain payment mechanism of the multi-signature of one embodiment of the invention;
Fig. 7 is the structural schematic diagram according to the electronic equipment of one embodiment of the invention.
Reference sign:
Sender 1, reciever 2, multi-signature address 3, and delay goes back to signature 4 and reassigns soft payment signature 5.
Specific implementation mode
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the present invention, and is not considered as limiting the invention.
Flexible block chain method of payment, the dress of the multi-signature proposed according to embodiments of the present invention are described with reference to the accompanying drawings It sets and electronic equipment, the flexible block chain for describing the multi-signature proposed according to embodiments of the present invention with reference to the accompanying drawings first is paid Method.
Fig. 1 is the flow chart of the flexible block chain method of payment of the multi-signature of one embodiment of the invention.
As shown in Figure 1, the flexible block chain method of payment of the multi-signature includes the following steps:
In step S101, the digital asset to be allocated that sender sends is stored in the multi-signature address of block chain In, to open soft payment channel.
It is understood that sender is sent by block chain in digital asset to the multi-signature address of block chain.It is more Signature address is the address generated by multi-signature technology again, and is needed after all being consented by signature by sender and reciever, Can merchandise outside payment, and only the signature of a side can not then employ the digital asset in multi-signature address, so as to have Effect ensures the safety of digital asset.That is, the embodiment of the present invention first stores digital asset to be allocated to multi-signature In address, it is then then turned on soft payment channel, so as to the safety of the digital asset of effective guarantee sender, improves number money The convenience and reliability of payment is effectively ensured in the safety of production.
Specifically, soft payment channel bottom can have channel time parameter, and the characteristic unidirectionally paid, the transmission in channel The channel that soft payment channel can freely be arranged when opening channel according to actual needs by side and recipient is held time, to So that soft payment channel is more flexible, different application occasion demand is effectively adapted to, and then can effectively improve the flexibility of payment, And it pays the Floor layer Technology that can be needed when realizing and supports seldom (for example, only needing multi-signature and delay signature transaction Technology, without the supports such as intelligent contract technology or isolation verification technique), it is simpler convenient simple and direct, so that soft branch It is simple and direct reliable to pay channel, and then effectively improves the reliability of payment.
To sum up, the embodiment of the present invention can open soft branch after by sender's digital asset deposit multi-signature address Channel is paid, multi-signature address can ensure that the safety of digital asset, soft payment channel can ensure that the safety of payment channel can It leans on, and then can ensure the safe and reliable of payment, effectively improve the safety and reliability of payment, it is simple easily to realize.
Wherein, in one embodiment of the invention, the multi-signature address of block chain can be the multiple label of 2of2 patterns Name address, after sender and reciever sign, to pay digital asset to be allocated.It is understood that block chain is multiple Address of signing can be 2of2 pattern multi-signatures address, and needing sender and reciever all to sign, just to employ block chain multiple Digital asset in signature address improves the reliability of payment to the safety of effective guarantee digital asset.
In addition, in another embodiment of the present invention, block chain multi-signature address may be that 2of3 patterns are multiple , there be third party signature address other than sender and reciever, needs to collect arbitrary in sender, reciever and third party The signature of the two can employ the digital asset in block chain multi-signature address.Wherein, third party can be considered as sender or A side in person's reciever, you can have more than one sender or more than one reciever, so as to flexibly sign Combination, effectively improve the safety and reliability of payment.
For example, if only sender and recipient, in either party wants to employ block chain multi-signature address Digital asset when, since multi-signature address is the address generated by multi-signature technology, need by sender and receiving After side all consents by signature, can just merchandise outside payment, therefore, it is necessary to which double hairs, which will sign, can employ the multiple label of block chain Digital asset in name address, and the embodiment of the present invention increases third party on the basis of sender and recipient, third party The side that can be considered as in sender or reciever, you can there are more than one sender or more than one reciever, therefore, When employing the digital asset in block chain multi-signature address, so that it may to distribute digital asset by third-party signature, from And the safety and reliability of payment is substantially increased, it is simple and convenient.
In step s 102, at least one distribution information of sender's distribution is obtained, and according at least one distribution information Generate the corresponding soft payment signature of at least one reassignment.
The coin amount that sender and reciever occupy in distribution multi-signature address it is understood that sender signs, and The word string signed is issued into reciever as the soft payment realized in soft payment channel, to the safety of effective guarantee payment While with reliability, the convenience and practicability that effectively promote payment connect to carry out soft payment by the word string signed Whether debit only needs the signature of acknowledged correct, and acknowledging time is short, effectively improves convenience and practicability, improves Payment efficiency greatly improves the usage experience of user.Wherein, a distribution information generally can be only generated one and reassign soft branch Signature is paid, is that multiple newer distribution information generate multiple reassignment signatures
Specifically, coin is dealt into multi-signature address by sender, then leans on and repeatedly redistribute the soft payment label of coin amount Name, by the coin in multi-signature address, more and more signature distributes to reciever, as long as the signature of reciever acknowledged Correctly, simple easily to realize while ensureing that safety of payment is reliable to enormously simplify payment flow.
In step s 103, soft payment signature is reassigned by the soft payment of digital asset to be allocated to correspondence according at least one Account.
It is understood that after the signature of reciever acknowledged is correct, the embodiment of the present invention can basis Acknowledged soft payment signature carries out soft payment, to effectively improve the convenience of payment.Wherein, according to by refreshing distribution letter Breath, the difference between new and old distribution are equivalent to payment, as soft payment.
Further, in one embodiment of the invention, the method for the embodiment of the present invention further includes:It is sent out by sender Before the digital asset to be allocated sent is stored in the multi-signature address of block chain, the delay for obtaining recipient's signature goes back to label Name, and signature is gone back to according to the delay that recipient signs and closes soft payment channel, by part in multi-signature address or complete Portion's digital asset to be allocated goes back to sender after preset time stamp or default block height;Or the distribution signed according to recipient Soft payment channel is closed in the block chain broadcast that information is sent, and digital asset to be allocated is allocated by distribution information.
It is understood that delay goes back to signature preferably in the " multi-signature of digital asset transmission block chain to be allocated It is just signed good before address ".Sender have this sign after, can just feel more relieved by coin with being dealt into multi-signature Location is difficult to close soft payment channel and brings back the money of oneself in distribution assets once otherwise recipient does not close or disappears Production.
Digital asset is stored in the block chain multi-signature address for needing multi-signature that could pay by sender, and is connect Recipient consents by signature goes back to sender by coin some or all of in multi-signature address after certain timestamp or block height.Its In, certain timestamp or block height specifically can be selected to set by sender or reciever, signed in soft payment channel Word string is paid, can give platform and be managed maintenance prevents from losing, to avoid loss unpaid in multi-signature address Coin, the safety of effective guarantee number assets, promotes the trust of user, to be suitable for a variety of use occasions.
Wherein, it is a kind of transaction of timestamp or the transaction of block height that delay, which goes back to signature, even if signature is correct, it is also desirable to The block height set during the timestamp that sets or block height are higher than transaction in current time stamp is more than transaction, just can be Broadcast acknowledgements on block chain effectively improve the reliability of payment.
In addition, reciever can verify whether signature correctly acknowledges receipt of soft payment coin amount, may be selected to increase oneself later The broadcast of block chain closes soft payment channel or does not broadcast the open state for continuing to soft payment channel after oneself signature, to have Effect ensures the controllability of payment, ensures the use wish of recipient, effectively promotes usage experience.
Wherein, after having had sender to distribute and sign, reciever can be in block after being supplemented oneself signature It broadcasts on chain, is executed by distribution information.And this step be it is non-every time it is soft payment be required for, recipient can be according to reality Situation is configured.
The flexible block chain method of payment of the multi-signature of the present invention is retouched in detail with a specific embodiment below It states.
In one particular embodiment of the present invention, as shown in Fig. 2, soft payment underlying principles are sender 1 and reciever 2, the multi-signature address 3 for only having two sides signature that can just produce is generated, so as to the safety of effective guarantee digital asset.So Afterwards reciever 2 consent by signature delay go back to signature 4 under the premise of, coin is dealt into multi-signature address 3 by sender 1, to It can improve the safety of digital asset with the safety of effective guarantee sender digital asset, the convenience of payment be effectively ensured And reliability.Then it leans on and repeatedly redistributes the soft payment signature 5 of coin amount, the coin in multi-signature address 3 is more and more signed Name distributes to reciever 2, as long as the signature of 2 acknowledged 1 of reciever is correct, to the safety of effective guarantee payment While with reliability, the convenience and practicability of payment are effectively promoted, acknowledging time is short, effectively improves convenience and practicality Property, payment efficiency is improved, the usage experience of user is greatly improved.Before timestamp or block height arrive, it is not necessary that vertical I.e. to broadcasting on block chain, if broadcast transaction closes soft payment channel on block chain after the supplement signature of reciever 2, to have Effect ensures the controllability of payment, ensures the use wish of recipient, effectively promotes usage experience.And if reciever 2 is forgotten because unexpected Note or other reasons and do not go to broadcast always, after timestamp or block height arrive, sender 1 can also issue delay and go back to Whole coin in multi-signature address 3 are withdrawn in the transaction of signature 4, and avoiding loss, oneself is unpaid in multi-signature address 3 Coin promotes the trust of user to the safety of effective guarantee number assets, to be suitable for a variety of use occasions.
Therefore, soft payment channel bottom can have channel time parameter, and the characteristic unidirectionally paid.Soft payment channel Channel time can freely be arranged as needed it is more flexible, adapt to different application occasion demand, effectively improve soft payment channel Applicability.And unidirectionally pay can be simpler and more direct when realizing, automatically by dispensing transaction uselessization before, also not because of reciever It can go that oneself dispensing transaction before unfavorable will be supplemented signature publication broadcast, therefore before need not additionally again being cancelled The design of dispensing transaction, it is simpler and more direct reliable, it is simple easily to realize.
Further, in one embodiment of the invention, the method for the embodiment of the present invention further includes:Pass through multiple soft branch It pays and establishes two-way or unidirectional soft payment channel between node, to generate soft payment network.
It is understood that the embodiment of the present invention establishes two-way or unidirectional soft payment between each other by soft payment node Channel, and make to establish between node by soft payment channel and connect, form the soft payment network of certain topology.Wherein, respectively Mutual equality between node is likely to connect between arbitrary node, to form the high decentralization of mesh topology shape Soft payment network need not directly establish soft payment channel between two strangers to realize, so that it may to realize second speed really Recognize the soft payment block chain digital asset with almost zero service charge, greatly reduces the cost of payment, shorten the time of payment, letter It is single convenient.
Below with a specific embodiment to the flexible net in the flexible block chain method of payment of the multi-signature of the present invention The principle of network is described in detail.
Specifically, as shown in figure 3, because in basic principle layer be it is unidirectional, and actual payment need in more than can need Want two-way payment, it is therefore desirable to which it is two-way that will unidirectionally expand.Method is also very simple, and A to B establishes a channel, resettles other one A B is to A channel.
For example, establishing the reference step of two-way soft payment channel between user A and user B:
The first step:Barcode scanning or network connection are directly built-in, obtain the public key data of partner address, with exchange sequence come It generates two 2of2 multi-signatures and distributes address, for A to B with one, B to A uses another.
Second step:It constructs and oneself is sent to distribution address and merchandises from distribution address oneself two that be delayeds back, be sent to pair Side.
Third walks:Signature delay issues other side after going back to signature, can broadcast oneself being sent to distribution after receiving and being verified The transaction of address forms two-way soft payment channel.
Further, in one embodiment of the invention, soft payment node point include at least one Centroid with it is more A first user node, multiple first user nodes are connected at least one Centroid, and multiple first user nodes it Between be not attached to, to generate the soft payment network of star topology.
It is understood that soft payment node is divided into Centroid and user node, all user nodes and Centroid Be connected, be not connected between user node, to form star topology payment network, wherein Centroid can be one or Person is multiple, and an entirety is interconnected to form between each other if multiple Centroids.To can realize second speed confirm and The almost soft payment block chain digital asset of zero service charge, greatly reduces the cost of payment, shortens the time of payment, simply just It is prompt.
Specifically, as shown in figure 4, the soft payment channel established between soft gateway and user will first establish soft PayPal Road could carry out soft payment.The embodiment of the present invention is that soft gateway node establishes soft payment by some special soft payment sections Network establishes soft payment channel, to substantially reduce soft payment network between the meeting simultaneously of soft gateway node and many user nodes Complexity, effectively improve the efficiency of payment, it is simple easily to realize.
For example, if as shown in figure 4, tetra- user nodes of A, B, C, D all establish two-way soft PayPal with soft gateway X Road, then the soft payment of arbitrarily transmitting-receiving between this four users can easily be realized by the transfer of soft gateway.Such as A will be paid To D, then A first pays X, X pays D again.Soft payment intermediate can collect marginally service charge as transfer service Return can also provide free transfer service to attract more users and establish soft payment channel, after all in soft payment channel The payment cost of soft payment itself is almost nil, to substantially reduce payment cost, promotes the usage experience of user, and soft gateway Its more value of user of connection are bigger.Wherein, digital asset transaction platform, wallet platform calculate power mine pond, and information community is flat Platform, each currency type resource even well-known individual etc. can become the soft gateway of broad sense, if can have enough people be ready with It establishes soft payment channel, to greatly improve the practicability of flexible network.
Further, in one embodiment of the invention, soft payment node includes transfer root node, multiple soft gateway sections Point and multiple second user nodes, wherein transfer root node is connected with multiple soft gateway nodes, multiple soft gateway nodes with it is multiple Second user node is connected, and each soft gateway node is not attached between each other, each user node of multiple second user nodes It is connectable with transfer root node, soft gateway node and other second user nodes, to generate the soft payment of hierarchical tree topology Network.
It is understood that node is divided into transfer root node, soft gateway node and user node.Wherein, transfer root node With soft gateway node, star topology connects centered on transfer root node, normally only there are one, and when there are special circumstances, It can know together and some soft gateway node is upgraded into transfer root node under approving.Soft gateway node have it is multiple, with user node and in Turn root node to be linked, but each soft gateway node is generally not connected between each other.User node can generally connect with soft gateway node It connects, can also directly be connected with transfer root node, user node can also be directly connected between each other, to form hierarchical tree The soft payment network of topology.The embodiment of the present invention connects transfer root node, each soft gateway and user, to realize second speed The soft payment block chain digital asset of confirmation and almost zero service charge, greatly reduces the cost of payment, shortens the time of payment, It is simple and convenient.
Specifically, as shown in figure 5, each soft gateway and its user are like LAN, the mutual of global range is realized Connection needs each soft gateway of connection to obtain node, referred to as transfer root node.The embodiment of the present invention uses tree-shaped topological mode, Transfer root node is tree root trunk, and each soft gateway is each tree branch, and user is exactly leaf.Points three layers excessively huge when system And when the larger pressure of transfer root node, four layers or more layers are also contemplated for, i.e., add an a little soft gateway under soft gateway again.But It is general or maintain three layers of meeting simpler and more direct efficiently, under this framework the at most intermediate transfer of arbitrary two people can carry out soft branch three times It pays, to effectively promote the convenience and practicability of payment, payment efficiency is high, greatly enhances the user experience.
For example, in Fig. 5 A think it is soft pay F, can pass through A pay X, X pay T, T pay Y, Y pay F realize.It should be noted that It reduces to the greatest extent and preferably prevents to be connected with each other between soft gateway completely, otherwise routing condition can be caused to increase and increase system Complexity and reduce the status of transfer root node, or even evolve into the soft payment network of point-to-point mesh topology, and lose Some advantages of tree topology.
The flexible block chain method of payment of the multi-signature proposed according to embodiments of the present invention, passes through sender's multi-signature The digital asset to be allocated that being sent in address has delay to return forms soft payment channel, so as to the number of effective guarantee sender The safety of word assets improves the safety of digital asset, and the convenience and reliability of payment is effectively ensured;Reciever can be verified Whether signature correctly by channel acknowledges receipt of soft payment, and acknowledging time is short, effectively improves convenience and practicability, improves branch Efficiency is paid, the usage experience of user is greatly improved;Reciever can supplement and close soft PayPal by the broadcast of block chain after signature Road does not broadcast and continues to soft payment channel, to the controllability of effective guarantee payment, ensures the use wish of recipient, has Effect promotes usage experience, and these channels are organically integrated and are created as soft payment network, to realize the arbitrary two strange human world It is not required to directly establish soft payment channel, so that it may to realize that second speed confirms and almost the soft payment block chain number of zero service charge provides Production, not only improves the trust of user, but also greatly reduce payment cost, and payment efficiency is high, simple easily to realize, is suitable for A variety of use occasions.
Referring next to the flexible block chain payment mechanism for the multi-signature that attached drawing description proposes according to embodiments of the present invention.
Fig. 6 is the structural schematic diagram of the flexible block chain payment mechanism of the multi-signature of one embodiment of the invention.
As shown in fig. 6, the flexible block chain payment mechanism 10 of the multi-signature includes:Memory module 100, processing module 200 and payment module 300.
Wherein, memory module 100 is used to the digital asset to be allocated that sender sends being stored in the multiple label of block chain In name address, to open soft payment channel.Processing module 200 is used to obtain at least one distribution information of sender's distribution, and The corresponding soft payment signature of at least one reassignment is generated according at least one distribution information.Payment module 300 is used for according to extremely Few one reassigns soft payment signature by the soft payment of digital asset to be allocated to corresponding account.The device 10 of the embodiment of the present invention is logical Cross and digital asset to be allocated be sent on the multi-signature address of block chain, the soft payment channel of intelligent unlatching, sender and Recipient, which need not directly establish soft payment channel, can realize the distribution and confirmation of digital asset, to effectively improve region The flexibility of chain payment and high efficiency, payment cost is low, simple easily to realize.
Further, in one embodiment of the invention, the device 10 of the embodiment of the present invention further includes:Control module. Wherein, control module be used in the multi-signature address that the digital asset to be allocated for sending sender is stored in block chain it Before, the delay for obtaining recipient's signature goes back to signature, and goes back to signature according to the delay that recipient signs and close soft payment channel, Digital asset to be allocated some or all of in multi-signature address to be gone back to after preset time stamp or default block height Sender, or when needed, soft payment channel is closed in the block chain broadcast sent according to the distribution information that recipient signs, is pressed and is divided It is allocated digital asset to be allocated with information.
It should be noted that the explanation of the aforementioned flexible block chain method of payment embodiment to multi-signature is also suitable In the flexible block chain payment mechanism of the multi-signature of the embodiment, details are not described herein again.
The flexible block chain payment mechanism of the multi-signature proposed according to embodiments of the present invention, passes through sender's multi-signature The digital asset to be allocated that being sent in address has delay to return forms soft payment channel, so as to the number of effective guarantee sender The safety of word assets improves the safety of digital asset, and the convenience and reliability of payment is effectively ensured;Reciever can be verified Whether signature correctly by channel acknowledges receipt of soft payment, and acknowledging time is short, effectively improves convenience and practicability, improves branch Efficiency is paid, the usage experience of user is greatly improved;Reciever can supplement block chain broadcast after signature close soft payment channel or It does not broadcast and continues to soft payment channel, to the controllability of effective guarantee payment, ensure the use wish of recipient, effectively carry Usage experience is risen, and these channels are organically integrated and are created as soft payment network, to realize that the arbitrary two strange human world are not required to Directly establish soft payment channel, so that it may to realize that second speed confirms the soft payment block chain digital asset with almost zero service charge, no The trust of user is only improved, and greatly reduces payment cost, payment efficiency is high, simple easily to realize, is suitable for a variety of Use occasion.
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
As shown in fig. 7, the electronic equipment includes:It memory 71, processor 72 and is stored on memory 71 and can locate The computer program run on reason device 72.
Processor 72 realizes the flexible block chain method of payment of the multi-signature provided in above-described embodiment when executing program. Wherein, electronic equipment can be computer, mobile phone, wearable device etc..
Memory 71 may include high-speed RAM memory, it is also possible to further include nonvolatile memory (non- Volatilememory), a for example, at least magnetic disk storage.Processor 72, realizes above-described embodiment when for executing program Multi-signature flexible block chain method of payment.
Further, electronic equipment further includes:Communication interface 73, memory 71.
Wherein, communication interface 73 is for the communication between memory 71 and processor 72.Memory 71, can be for storing The computer program run on processor 72.
If memory 71, processor 72 and the independent realization of communication interface 73, communication interface 73, memory 71 and processing Device 72 can be connected with each other by bus and complete mutual communication.Bus can be ISA (Industry StandardArchitecture, industry standard architecture) bus, PCI (PeripheralComponentInterconnect, external equipment interconnection) bus or EISA (Extended Industry Standard Architecture, extended industry-standard architecture) bus etc..It is total that bus can be divided into address bus, data Line, controlling bus etc..For ease of indicating, only indicated with a thick line in Fig. 5, it is not intended that an only bus or a type The bus of type.
Optionally, in specific implementation, if memory 71, processor 72 and communication interface 73, are integrated in chip piece Upper realization, then memory 71, processor 72 and communication interface 73 can complete mutual communication by internal interface.
Processor 72 can be a central processing unit (Central Processing Unit, abbreviation CPU), either Specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), or be arranged to Implement one or more integrated circuits of the embodiment of the present invention.
Fourth aspect present invention embodiment proposes a kind of computer readable storage medium, is stored thereon with computer journey Sequence realizes the flexible block chain method of payment such as the multi-signature in previous embodiment when the program is executed by processor.
Fifth aspect present invention embodiment proposes a kind of computer program product, when the instruction in computer program product When being executed by processor, the flexible block chain method of payment such as the multi-signature in previous embodiment is executed.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, fisrt feature can be with "above" or "below" second feature It is that the first and second features are in direct contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of Fisrt feature level height is higher than second feature.Fisrt feature second feature " under ", " lower section " and " below " can be One feature is directly under or diagonally below the second feature, or is merely representative of fisrt feature level height and is less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (10)

1. a kind of flexible block chain method of payment of multi-signature, which is characterized in that include the following steps:
The digital asset to be allocated that sender sends is stored in the multi-signature address of block chain, to open soft PayPal Road;
At least one distribution information of described sender distribution is obtained, and corresponding according at least one distribution information generation It is at least one to reassign soft payment signature;And
It is signed the soft payment of digital asset to be allocated to corresponding account according at least one soft payment of reassignment.
2. the flexible block chain method of payment of multi-signature according to claim 1, which is characterized in that further include:
Before in the multi-signature address that the digital asset to be allocated for sending sender is stored in block chain, connect described in acquisition The delay of debit's signature goes back to signature, and goes back to signature according to the delay that the recipient signs and close the soft payment channel, With by digital asset to be allocated some or all of in the multi-signature address preset time stab or default block height after Go back to described sender;Or
The soft payment channel is closed in the block chain broadcast sent according to the distribution information of recipient signature, by the distribution Information is allocated the digital asset to be allocated.
3. the flexible block chain method of payment of multi-signature according to claim 1, which is characterized in that the block chain Multi-signature address is the pattern multi-signature addresses 2of2 or 2of3 pattern multi-signatures address, in described sender and institute State reciever sign or described sender, the recipient and third party in after arbitrary two side signature, waited for described in payment point With digital asset.
4. the flexible block chain method of payment of multi-signature according to claim 2, which is characterized in that further include:
By establishing the two-way or unidirectional soft payment channel between multiple soft payment nodes, to generate soft payment network.
5. the flexible block chain method of payment of multi-signature according to claim 4, which is characterized in that the soft payment section Point point is including at least one Centroid and multiple first user nodes, and the multiple first user node is with described at least one A Centroid is connected, and is not attached between the multiple first user node, to generate the soft payment network of star topology.
6. the flexible block chain method of payment of multi-signature according to claim 4, which is characterized in that the soft payment section Point includes transfer root node, multiple soft gateway nodes and multiple second user nodes, wherein the transfer root node and described more A soft gateway node is connected, and the multiple soft gateway node is connected with the multiple second user node, and each soft gateway node It is not attached between each other, each user node of the multiple second user node and the transfer root node, soft gateway node It is connectable with other second user nodes, to generate the soft payment network of hierarchical tree topology.
7. a kind of flexible block chain payment mechanism of multi-signature, which is characterized in that including:
Memory module, the digital asset to be allocated for sending sender are stored in the multi-signature address of block chain, with Open soft payment channel;
Processing module, at least one distribution information for obtaining described sender distribution, and according at least one distribution Information generates the corresponding soft payment signature of at least one reassignment;And
Payment module, for being signed the soft payment of digital asset to be allocated extremely according at least one soft payment of reassignment Corresponding account.
8. the flexible block chain payment mechanism of multi-signature according to claim 7, which is characterized in that further include:
Control module, for being stored in it in the multi-signature address of block chain in the digital asset to be allocated for sending sender Before, the delay for obtaining recipient's signature goes back to signature, and goes back to signature according to the delay that the recipient signs and close institute Soft payment channel is stated, by digital asset to be allocated some or all of in the multi-signature address in preset time stamp or in advance If going back to described sender after block height, or when needed, according to the block of the distribution information transmission of recipient signature The soft payment channel is closed in chain broadcast, and the digital asset to be allocated is allocated by the distribution information.
9. a kind of electronic equipment, including:
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor, it is special Sign is that the processor realizes the flex region of the multi-signature as described in any in claim 1-6 when executing described program Block chain method of payment.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is handled The flexible block chain method of payment of the multi-signature as described in any in claim 1-6 is realized when device executes.
CN201810260125.6A 2018-03-27 2018-03-27 Flexible block chain method of payment, device and the electronic equipment of multi-signature Pending CN108615149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810260125.6A CN108615149A (en) 2018-03-27 2018-03-27 Flexible block chain method of payment, device and the electronic equipment of multi-signature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810260125.6A CN108615149A (en) 2018-03-27 2018-03-27 Flexible block chain method of payment, device and the electronic equipment of multi-signature

Publications (1)

Publication Number Publication Date
CN108615149A true CN108615149A (en) 2018-10-02

Family

ID=63658895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810260125.6A Pending CN108615149A (en) 2018-03-27 2018-03-27 Flexible block chain method of payment, device and the electronic equipment of multi-signature

Country Status (1)

Country Link
CN (1) CN108615149A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410057A (en) * 2018-10-10 2019-03-01 吕晋磊 A kind of tree-shaped multicore block chain ecosystem method for building up of family and process
CN109949040A (en) * 2019-02-22 2019-06-28 北京神荼科技有限公司 Risk control method, device and the storage medium of logical card operation
CN110084594A (en) * 2019-04-01 2019-08-02 杜晓楠 A kind of block chain method of commerce and device by lightning network
CN110414956A (en) * 2019-08-09 2019-11-05 北京阿尔山区块链联盟科技有限公司 Assignment method, device and the server of digital asset
CN110782255A (en) * 2019-11-06 2020-02-11 杭州复杂美科技有限公司 Delayed transaction cancellation method, apparatus and storage medium
CN110825811A (en) * 2019-11-06 2020-02-21 腾讯科技(深圳)有限公司 Block chain resource processing method and system
CN110889145A (en) * 2019-11-06 2020-03-17 腾讯科技(深圳)有限公司 Block chain resource processing method, platform, system and computer readable storage medium
CN111899002A (en) * 2020-07-27 2020-11-06 浙江数秦科技有限公司 Method for efficiently performing cross-chain information transaction interaction in block chain
CN112150284A (en) * 2020-09-22 2020-12-29 浙江数秦科技有限公司 Block chain heterogeneous chain cross-chain transaction method
CN112381543A (en) * 2020-12-09 2021-02-19 杭州复杂美科技有限公司 Multiple signature transaction method, device and storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109410057A (en) * 2018-10-10 2019-03-01 吕晋磊 A kind of tree-shaped multicore block chain ecosystem method for building up of family and process
CN109949040A (en) * 2019-02-22 2019-06-28 北京神荼科技有限公司 Risk control method, device and the storage medium of logical card operation
CN110084594A (en) * 2019-04-01 2019-08-02 杜晓楠 A kind of block chain method of commerce and device by lightning network
CN110414956A (en) * 2019-08-09 2019-11-05 北京阿尔山区块链联盟科技有限公司 Assignment method, device and the server of digital asset
CN110889145A (en) * 2019-11-06 2020-03-17 腾讯科技(深圳)有限公司 Block chain resource processing method, platform, system and computer readable storage medium
CN110825811A (en) * 2019-11-06 2020-02-21 腾讯科技(深圳)有限公司 Block chain resource processing method and system
CN110782255A (en) * 2019-11-06 2020-02-11 杭州复杂美科技有限公司 Delayed transaction cancellation method, apparatus and storage medium
CN110782255B (en) * 2019-11-06 2022-11-15 杭州复杂美科技有限公司 Delayed transaction cancellation method, apparatus and storage medium
CN110889145B (en) * 2019-11-06 2024-02-23 腾讯科技(深圳)有限公司 Block chain resource processing method, platform, system and computer readable storage medium
CN110825811B (en) * 2019-11-06 2024-05-28 腾讯科技(深圳)有限公司 Block chain resource processing method and system
CN111899002A (en) * 2020-07-27 2020-11-06 浙江数秦科技有限公司 Method for efficiently performing cross-chain information transaction interaction in block chain
CN111899002B (en) * 2020-07-27 2024-03-22 浙江数秦科技有限公司 Method for efficiently performing cross-chain information transaction interaction in blockchain
CN112150284A (en) * 2020-09-22 2020-12-29 浙江数秦科技有限公司 Block chain heterogeneous chain cross-chain transaction method
CN112150284B (en) * 2020-09-22 2024-04-12 浙江数秦科技有限公司 Blockchain heterogeneous chain cross-chain transaction method
CN112381543A (en) * 2020-12-09 2021-02-19 杭州复杂美科技有限公司 Multiple signature transaction method, device and storage medium

Similar Documents

Publication Publication Date Title
CN108615149A (en) Flexible block chain method of payment, device and the electronic equipment of multi-signature
Zhu et al. Applications of distributed ledger technologies to the internet of things: A survey
CN111080275B (en) Cross-region resource transfer method, device, equipment and storage medium
CN109345387A (en) Across the chain method of commerce of block chain, across chain communication device and storage medium
CN107993149A (en) Account information management method, system and readable storage medium storing program for executing
CN108009811A (en) Inter-cloud computing environment value exchange-oriented cross-chain communication method
CN109522362A (en) Incomplete markets synchronous method, system and equipment based on block chain data
CN108805656A (en) Supply-demand mode method, platform, system and computer readable storage medium
KR102313675B1 (en) Block chain-based crytography donation server and donation method without limitation to donation target
CN113157444B (en) Method and device for authenticating computing power service and readable storage medium
CN110033244A (en) Intelligent contract based on block chain executes method and device and electronic equipment
CN109064334A (en) A kind of intelligence contract bookkeeping methods, computer installation and readable storage medium storing program for executing
CN107909358A (en) The settlement method of the energy, device and system
CN107274186A (en) The method and apparatus that intelligent contract-defined interface is obtained in block chain
CN110377433A (en) Asynchronous notification method, device and payment gateway, the storage medium of payment result
CN109146490A (en) block generation method, device and system
CN110349004A (en) Risk of fraud method for detecting and device based on user node relational network
CN110163483A (en) Virtual resource allocation method and apparatus based on block chain
CN110009326A (en) Accounting system, transaction and its processing method, terminal, system, device and medium
CN110084594A (en) A kind of block chain method of commerce and device by lightning network
CN108665365A (en) A kind of mixing block chain architecture system, processing method and processing system
CN110458677A (en) Bill based on block chain checks and writes off method and device, electronic equipment, storage medium
CN109934508A (en) Cabinet-type air conditioner site selecting method, device, server and storage medium based on big data
CN109767325A (en) Method of commerce, device and computer readable storage medium based on block chain
CN109117608A (en) A kind of data processing method, device and relevant device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181002

WD01 Invention patent application deemed withdrawn after publication