CN108876337A - A kind of block chain network method for supporting different Token exchange money transfer transactions verifyings - Google Patents
A kind of block chain network method for supporting different Token exchange money transfer transactions verifyings Download PDFInfo
- Publication number
- CN108876337A CN108876337A CN201810510175.5A CN201810510175A CN108876337A CN 108876337 A CN108876337 A CN 108876337A CN 201810510175 A CN201810510175 A CN 201810510175A CN 108876337 A CN108876337 A CN 108876337A
- Authority
- CN
- China
- Prior art keywords
- transaction
- block chain
- nested
- oneself
- signature
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
- G06Q20/102—Bill distribution or payments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Abstract
The invention discloses a kind of block chain network methods for supporting different Token exchange money transfer transactions verifyings, include the following steps:A exchanges nested transaction using the block chain node operation interface creation of oneself, and completes the signature to nested transaction using the private key of oneself, and the character string after A duplication signature is sent to B by means of communication;B pastes the block chain node multi-signature transactional operation interface of oneself, if correct B again signs to transaction, while the transaction is sent to block chain network;Other node is connected to the nested transaction of B sending in network, type of transaction is read first, nested transaction first verifies that whether nested transaction structure is correct, whether nested transaction two signatures are legal, whether input transaction is legal, trading pit is then added if legal, carries out hash calculating, and transaction is broadcast to next node.The present invention does not need intelligent contract as intermediary, and convenient and efficient, promotion trading efficiency securely and reliably is conducive to promote.
Description
Technical field
The present invention relates to a kind of block chain network methods for supporting different Token exchange money transfer transactions verifyings.
Background technique
Present block chain technology becomes more and more popular, and Token is block chain network spin-off, for the block chain of more Token
Network (derives a variety of Token in a block chain network).It can be convenient in existing block chain network safely complete
At the unidirectional money transfer transactions of Token.How heat that exchange different Tokens between be always industry research is easily and safely carried out
Point.Currently, there are two types of methods to realize the exchange with chain Token in industry:
One, exchange's mediation mode, two kinds of Token need to leave block chain network
Its m Token A on Y block chain is extracted exchange's account of A, B as exchange intermediary, A by exchange
Exchange's account that its n Token B on Y block chain is extracted to B, can carry out providing in field in exchange's account
The direct trade at competitive price for TokenA, TokenB (A sells TokenA in Ask-Bid System, buys in TokenB, and B is bidding
TokenB is sold in system, buys in TokenA, and the mutual dealing of A and B are equivalent to four transaction), or utilize OTC transaction function
Can, the OTC transaction (actually being equivalent to directly exchange with transaction twice) of TokenA and TokenB is mutually initiated respectively.
There are problems:1) there is the risk that runs away in centralization transaction, if user, which occurs, will lose Token;2) to exchange
Token is extracted, proposes that Token requires extra charge from exchange;3) trade at competitive price or otc transaction equally possible can be charged for
Extra charge.
Two, intelligent contract mediation mode
The intelligent contract account program of block chain node operation is used as exchange intermediary, intelligent contract offer TokenA,
TokenB mutually exchanges function and (directly exchanges function if providing without contract, can only be realized by intermediate Token and be converted indirectly
Change), A calls contract that TokenA is exchanged into TokenB, and B calls contract that TokenB is exchanged into TokenA, and transaction is of equal value twice
Realize exchange (if exchanging indirectly, then will need 2 × (N+1) secondary transaction, N is intermediate Token quantity).
There are problems:1) repeatedly transaction;2) the intelligent contract dependent on third party's publication;3) intelligent contract execution needs volume
Outer expense;4) there are security breaches for intelligent contract, it is equally possible to lose Token.
Both the above exchanged form, all there are the following problems:1) repeatedly transaction, time cost are high;2) than common block
Chain money transfer transactions will pay more expenses;3) to third party's particular exchange step heavy dependence, security risk is high, and Token may
It loses.In order to overcome the above problems, (typical tradition block chain technical solution can in traditional block chain technical solution by the present invention
With reference to《A kind of point-to-point electronic cash system》, this acute hearing in author) on the basis of, it proposes and a kind of supports different Token exchanges
The block chain network method of money transfer transactions verifying, the transaction do not need intelligent contract as intermediary.
Summary of the invention
The purpose of the present invention is to provide a kind of block chain network sides for supporting different Token exchange money transfer transactions verifyings
Method, to solve the problems mentioned in the above background technology.
To achieve the above object, the present invention provides the following technical solutions:
A kind of block chain network method for supporting different Token exchange money transfer transactions verifyings, includes the following steps:
S1, A and B utilize third party's means of communication, discuss the conversion ratio and redemption amounts of TokenA and TokenB, determine
The block chain address of oneself is sent to A by B afterwards;
S2, A determine that there is sufficient amount of TokenB in the address according to the address lookup that B is sent, and then A utilizes the area of oneself
Block chain node operation interface creation exchange nested transaction, and the signature to nested transaction, A duplication label are completed using the private key of oneself
Character string after name, is sent to B by means of communication;
S3, B are connected to nested transaction that is that A is created and endorsed oneself signature, and the block chain node for pasting oneself is signed more
Name transactional operation interface is decoded and shows whether confirmation nested transaction information is correct, and whether the transaction input of A and signature close
The transaction if correct B again signs to transaction, while being sent to block chain network by method;
S4, other node is connected to the nested transaction of B sending in network, and reading type of transaction, nested transaction are tested first first
Demonstrate,prove whether nested transaction structure is correct, and whether nested transaction two signatures are legal, whether input transaction is legal, is then added if legal
Trading pit carries out hash calculating, and transaction is broadcast to next node.
As a further solution of the present invention:In step sl, the block chain address of B holds TokenB.
As a further solution of the present invention:In step s 2, third party's means of communication be instant messaging tools or
email。
Compared with prior art, the beneficial effects of the invention are as follows:The area of the different Token exchange money transfer transactions verifyings of the support
Block chain network method, the transaction do not need intelligent contract as intermediary, and convenient and efficient, promotion trading efficiency is securely and reliably conducive to
It promotes.
Detailed description of the invention
Fig. 1 is structure of deal schematic diagram of the invention.
Fig. 2 is grid schematic diagram of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Please refer to Fig. 1~2, in the embodiment of the present invention, a kind of block chain for supporting different Token exchange money transfer transactions verifyings
Network method devises mutually nested transaction (calling nested transaction in the following text) knot in traditional block chain transaction data structure basis
Structure:
The present invention devises a kind of new structure of deal for Token exchange (as shown in Figure 1, omitting in figure and this
Invent unrelated some information), which is a nested transaction structure, the compatible common block chain transaction of the structure:T0
It is an A->A money transfer transactions of B, it (is general T oken money transfer transactions, still that wherein Ttype, which identifies type of transaction,
Token exchange transaction), TokenType mark transfers accounts Token type (TokenA).It is if Token exchange transaction, then nested
T1 is B->The TokenB of A transfers accounts.Such a new structure can carry the coin coin exchange transaction of two people.
The Signature field of each transaction all has the signature of transaction core information composition character string nested with its.
In this way, as long as A creates transaction and completes to sign, so that it may lock the transaction content, it is ensured that it is not distorted by other people, and B is only needed
It to sign again in one's own transaction and confirm the transaction (equally comprising the key message of its nested transaction in signature), from
And ensuring the transaction is the actual wishes of both parties.
The block link network with two-way trade creation and authentication function is devised based on traditional block chain node system
Network node software, the software have following function/page:1) nested transaction creates function:It can be connect by user interface or rpc
The nested original transaction (transaction of unsigning) of mouth creation;2) nested transaction signature function:User interface or rpc interface can be passed through
To friendship trading signature created;3) nested transaction authentication function;4) nested transaction sending function.
Specific embodiment is as follows:
Grid of the invention as shown in Fig. 2, in figure each network node can create it is of the present invention
Token exchanges structure of deal, while can also verify to its trading signature, it is ensured that transaction is the desirable of exchange both sides.
A and B complete exchange Token on same block chain wish link up (this communication can be it is aspectant,
It can be and utilize existing various means of communication):A exchanges n TokenB with m TokenA and B.So, A and B passes through as follows
Method can be completed.A set of rigorous transaction label that information transmitting is done using third party's means of communication have also been devised in this method
Name step logic:
1. A and B utilizes third party's means of communication, the conversion ratio and redemption amounts of TokenA and TokenB are discussed, is determined
The block chain address (holding TokenB in the address) of oneself is sent to A (sending using third party's means of communication) by B afterwards;
2. A determines that there is sufficient amount of TokenB in the address according to the address lookup that B is sent, then A utilizes the area of oneself
Block chain node operation interface creation exchange nested transaction, and the signature to nested transaction, A duplication label are completed using the private key of oneself
Character string (can be by transcoding or compression) after name, it is other feasible by third party's instant messaging tools/email/
Means of communication is sent to B;
3. B is connected to nested transaction that is that A is created and endorsed oneself signature, the block chain node multi-signature of oneself is pasted
Transactional operation interface is decoded and shows whether confirmation nested transaction information is correct, and whether the transaction input of A and signature close
The transaction if correct B again signs to transaction, while being sent to block chain network (before being submitted to network, locally by method
It whole school can be finished to transaction tests, 4. be walked with reference to the);
4. other node is connected to the nested transaction of B sending in network, reading type of transaction, nested transaction are tested first first
Demonstrate,prove whether nested transaction structure is correct, and whether nested transaction two signatures are legal, whether input transaction is legal, is then added if legal
Trading pit carries out hash calculating, and transaction is broadcast to next node.
The block chain network method of the different Token exchange money transfer transactions verifyings of the support, the transaction do not need intelligent contract
It is convenient and efficient as intermediary, trading efficiency is promoted, securely and reliably, is conducive to promote.
The above are merely the preferred embodiment of the present invention, it is noted that for those skilled in the art, not
Under the premise of being detached from present inventive concept, several modifications and improvements can also be made, these also should be considered as protection model of the invention
It encloses, these all will not influence the effect and patent practicability that the present invention is implemented.
Claims (3)
1. a kind of block chain network method for supporting different Token exchange money transfer transactions verifyings, which is characterized in that including following step
Suddenly:
S1, A and B utilize third party's means of communication, discuss the conversion ratio and redemption amounts of TokenA and TokenB, B after determining
The block chain address of oneself is sent to A;
S2, A determine that there is sufficient amount of TokenB in the address according to the address lookup that B is sent, and then A utilizes the block chain of oneself
Nodal operation interface creating exchanges nested transaction, and completes the signature to nested transaction using the private key of oneself, after A duplication is signed
Character string, B is sent to by third party's means of communication;
S3, B are connected to nested transaction that is that A is created and endorsed oneself signature, and the block chain node multi-signature for pasting oneself is handed over
Interface easy to operate is decoded and shows whether confirmation nested transaction information is correct, and whether the transaction input of A and signature are legal,
If correct B again signs to transaction, while the transaction is sent to block chain network;
S4, other node is connected to the nested transaction of B sending in network, first reading type of transaction, and nested transaction first verifies that embedding
Cover whether structure of deal is correct, and whether nested transaction two signatures are legal, whether input transaction is legal, and transaction is then added if legal
Pond carries out hash calculating, and transaction is broadcast to next node.
2. the block chain network method according to claim 1 for supporting different Token exchange money transfer transactions verifyings, feature
It is, in step sl, the block chain address of B holds TokenB.
3. the block chain network method according to claim 1 for supporting different Token exchange money transfer transactions verifyings, feature
It is, in step s 2, third party's means of communication is instant messaging tools or email.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810510175.5A CN108876337A (en) | 2018-05-24 | 2018-05-24 | A kind of block chain network method for supporting different Token exchange money transfer transactions verifyings |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810510175.5A CN108876337A (en) | 2018-05-24 | 2018-05-24 | A kind of block chain network method for supporting different Token exchange money transfer transactions verifyings |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108876337A true CN108876337A (en) | 2018-11-23 |
Family
ID=64334069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810510175.5A Pending CN108876337A (en) | 2018-05-24 | 2018-05-24 | A kind of block chain network method for supporting different Token exchange money transfer transactions verifyings |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108876337A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109685506A (en) * | 2018-12-25 | 2019-04-26 | 杭州复杂美科技有限公司 | The Signature Confirmation method of multi-signature account generation method and multi-signature account |
CN109727067A (en) * | 2018-12-27 | 2019-05-07 | 抚州中科院数据研究院 | Across businessman coupons circulation method and system based on block chain |
CN109741053A (en) * | 2018-12-12 | 2019-05-10 | 深圳市网心科技有限公司 | Token processing method, computer readable storage medium and electronic equipment based on block chain account |
CN109741038A (en) * | 2018-12-12 | 2019-05-10 | 深圳市网心科技有限公司 | Token processing method, computer readable storage medium and electronic equipment based on block chain account |
CN109886688A (en) * | 2019-03-01 | 2019-06-14 | 上海分布信息科技有限公司 | Value information processing method and value information processing system based on block chain |
CN110008722A (en) * | 2019-03-27 | 2019-07-12 | 互链云网(北京)科技有限公司 | Logical card transfer of rewards processing method, device and storage medium based on block chain |
TWI684931B (en) * | 2018-12-04 | 2020-02-11 | 鴻緯智慧科技股份有限公司 | Token exchange system using blockchain technology and method thereof |
TWI684932B (en) * | 2018-12-04 | 2020-02-11 | 鴻緯智慧科技股份有限公司 | Token transaction system using blockchain technology and method thereof |
CN110909342A (en) * | 2019-11-28 | 2020-03-24 | 北京海益同展信息科技有限公司 | Method and device for changing pass certificates and computer readable storage medium |
NL2024367A (en) * | 2018-12-07 | 2020-06-03 | Aowei Information Tech Jiangsu Co Ltd | Public chain-based token exchange method and blockchain system |
CN112926967A (en) * | 2021-03-18 | 2021-06-08 | 上海能链众合科技有限公司 | Metering and paying method for block chain platform |
CN113269636A (en) * | 2020-12-28 | 2021-08-17 | 上海能链众合科技有限公司 | Block chain-oriented nested transaction method |
-
2018
- 2018-05-24 CN CN201810510175.5A patent/CN108876337A/en active Pending
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI684931B (en) * | 2018-12-04 | 2020-02-11 | 鴻緯智慧科技股份有限公司 | Token exchange system using blockchain technology and method thereof |
TWI684932B (en) * | 2018-12-04 | 2020-02-11 | 鴻緯智慧科技股份有限公司 | Token transaction system using blockchain technology and method thereof |
NL2024367A (en) * | 2018-12-07 | 2020-06-03 | Aowei Information Tech Jiangsu Co Ltd | Public chain-based token exchange method and blockchain system |
CN109741038A (en) * | 2018-12-12 | 2019-05-10 | 深圳市网心科技有限公司 | Token processing method, computer readable storage medium and electronic equipment based on block chain account |
CN109741053A (en) * | 2018-12-12 | 2019-05-10 | 深圳市网心科技有限公司 | Token processing method, computer readable storage medium and electronic equipment based on block chain account |
CN109685506A (en) * | 2018-12-25 | 2019-04-26 | 杭州复杂美科技有限公司 | The Signature Confirmation method of multi-signature account generation method and multi-signature account |
CN109727067A (en) * | 2018-12-27 | 2019-05-07 | 抚州中科院数据研究院 | Across businessman coupons circulation method and system based on block chain |
CN109886688A (en) * | 2019-03-01 | 2019-06-14 | 上海分布信息科技有限公司 | Value information processing method and value information processing system based on block chain |
CN110008722A (en) * | 2019-03-27 | 2019-07-12 | 互链云网(北京)科技有限公司 | Logical card transfer of rewards processing method, device and storage medium based on block chain |
CN110909342A (en) * | 2019-11-28 | 2020-03-24 | 北京海益同展信息科技有限公司 | Method and device for changing pass certificates and computer readable storage medium |
CN113269636A (en) * | 2020-12-28 | 2021-08-17 | 上海能链众合科技有限公司 | Block chain-oriented nested transaction method |
CN112926967A (en) * | 2021-03-18 | 2021-06-08 | 上海能链众合科技有限公司 | Metering and paying method for block chain platform |
CN112926967B (en) * | 2021-03-18 | 2024-02-02 | 上海零数众合信息科技有限公司 | Metering and payment method for blockchain platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108876337A (en) | A kind of block chain network method for supporting different Token exchange money transfer transactions verifyings | |
Chen et al. | Blockchain based smart contract for bidding system | |
CN107147735B (en) | Distributed account book system based on hierarchical structure | |
CN109102269B (en) | Transfer method and device based on block chain, block chain node and storage medium | |
CN107358420B (en) | Block chain system for realizing hot spot account and method for realizing hot spot account | |
CN108681898A (en) | A kind of data trade method and system based on block chain | |
US20050044042A1 (en) | Financial transaction system and method using electronic messaging | |
CN109447647A (en) | A kind of safety payment system based on block chain | |
US20210174360A1 (en) | Blockchain system | |
CN109377363B (en) | Block chain-based Internet of things data transaction architecture and transaction security method thereof | |
CN110009345A (en) | Transaction cochain method and Related product based on block chain | |
TWI659382B (en) | System for insuring based on smart contracts and method thereof | |
WO2018210097A1 (en) | Method and device for execution transaction mode by classification | |
CN111597264A (en) | Block chain accounting method and device | |
CN114219342A (en) | Carbon asset management method and device based on non-homogeneous evidence | |
CN110348835A (en) | A kind of fictitious assets transfer method, device, server and storage medium | |
CN109886678A (en) | A kind of art work traceability system based on block chain | |
CN104778614A (en) | Electronic invoice generation steps and false discrimination method of electronic invoice | |
CN111667301A (en) | Readable and automatically executable electronic contract method for credible advertisement transaction | |
CN111401899B (en) | Digital asset transfer method, device and server | |
CN112347190A (en) | Block chain-based shared office joining park management system | |
CN108376372A (en) | A kind of appointment management method, server and terminal | |
JPWO2018163381A1 (en) | Recording medium, electronic document computer, electronic document system, electronic document processing method, and program | |
CN112037096A (en) | Fee supervision system | |
CN109829820A (en) | A kind of gold assets cochain method based on block chain |
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: 20181123 |