WO2022121011A1 - Cross-system transfer method and apparatus for blockchain assets - Google Patents
Cross-system transfer method and apparatus for blockchain assets Download PDFInfo
- Publication number
- WO2022121011A1 WO2022121011A1 PCT/CN2020/140133 CN2020140133W WO2022121011A1 WO 2022121011 A1 WO2022121011 A1 WO 2022121011A1 CN 2020140133 W CN2020140133 W CN 2020140133W WO 2022121011 A1 WO2022121011 A1 WO 2022121011A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- asset
- blockchain
- transfer
- value
- transaction
- Prior art date
Links
- 238000012546 transfer Methods 0.000 title claims abstract description 108
- 238000000034 method Methods 0.000 title claims abstract description 82
- 230000008569 process Effects 0.000 claims description 33
- 230000007246 mechanism Effects 0.000 claims description 19
- 238000005516 engineering process Methods 0.000 claims description 15
- 230000008901 benefit Effects 0.000 claims description 9
- 239000000969 carrier Substances 0.000 claims description 7
- 238000013459 approach Methods 0.000 claims description 5
- 238000011156 evaluation Methods 0.000 abstract description 4
- 238000013461 design Methods 0.000 description 16
- 230000006854 communication Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000011161 development Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000004888 barrier function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012954 risk control Methods 0.000 description 1
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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- 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
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0278—Product appraisal
-
- 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/08—Auctions
Definitions
- the present invention relates to the field of blockchain, in particular, to a method and device for cross-system transfer of blockchain assets.
- Blockchain technology is currently a hot frontier technology research solution.
- the value attribute is an important feature of the blockchain at the beginning of its birth.
- the main function of the first-generation blockchain technology represented by Bitcoin is to realize decentralized distributed accounting, so that point-to-point transactions can be realized between two unfamiliar individuals without a trusted third party.
- Such technical solutions entrust transactions through a third party trusted by all parties, match transactions through trusted intermediaries, and ensure security and risk control during the transaction process.
- the user adopts this technical solution to realize asset exchange, the user first sends information such as his own asset certificate and the information that he wants to convert into an asset form to a trusted third party, and the third-party intermediary agency will inform both parties of the transaction after receiving the relevant information Match to find buyer needs that suit sellers.
- the intermediary guarantees the transaction between the two parties and charges a certain fee as an incentive.
- the value ratio used in the transaction process is a real-time exchange rate summary reached by the intermediary agency's collection of market transaction information.
- the second is to use the side chain or relay chain to transmit transaction information, and ensure information security through a cryptographic mechanism.
- This transaction method uses a unified technical interface to solve the problem of trusted information exchange in different blockchain systems, and uses cryptographic methods to ensure the one-way, irreversible, tamper-proof and uniqueness of the information communication process.
- developers need to develop a side chain or relay chain in advance for information transfer. Developers and operation and maintenance personnel first put the side chain and the relay chain online and bind it to the original main chain, and ensure that the multi-agents of the two blockchain systems can use the side chain and the relay chain to carry out communication. letter communication.
- the second type of cross-chain value mechanism that uses the side chain or relay chain to transmit transaction information actually only solves the security and reliability issues of asset cross-chain transfer, and does not provide complete technical support for the value transfer process.
- users use this method to transfer value, they need to agree on transaction details and transaction process through additional mechanisms or institutions, which increases the user's workload and increases the information barriers in the transaction process, so that users need to rely on Additional work to complete the preparation of the transaction.
- the mechanism of using the side chain or relay chain to transmit transaction information is not a complete transaction process, but only guarantees the security of this process of value exchange.
- the confirmation work lacks a corresponding implementation.
- Embodiments of the present invention provide a method and device for cross-system transfer of blockchain assets, so as to at least solve the technical problem that the existing blockchain asset cross-system transfer protocol cannot perform effective value exchange.
- a method for cross-system transfer of blockchain assets including the following steps:
- S101 The asset seller looks for potential buyers on the target blockchain system, and asks all potential buyers to give value assessments and collect transaction information;
- S102 The asset seller returns all the collected transaction information to all potential buyers, and arranges smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively;
- S103 The buyer and the seller reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
- the method specifically includes the following steps:
- S101 The asset seller finds potential buyers on the target blockchain system through broadcast information, and asks all potential buyers to give value assessments and collect transaction information;
- S102 The asset seller returns all the collected transaction information to all potential buyers, and uses Atomic-Swap atomic swap technology to arrange asset exchange smart contracts on the source blockchain system and the target blockchain system respectively;
- S103 The buyer and the seller reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
- step S101 includes:
- S1011 The asset seller sends the asset information to be transferred to the target blockchain system and broadcasts it, and informs potential buyers of the deadline for final bidding;
- S1012 The potential buyer sends the bid for the target asset to the asset seller;
- step S102 includes:
- S1021 The asset seller sends all the collected information to all potential buyers, and marks the winner and the winning price;
- S1022 The asset seller generates a pair of public and private keys, sends the public key to the winning buyer, uses the private key to generate a smart contract for selling the asset, and publishes it on the selling blockchain system;
- S1023 The winning buyer uses the public key to generate a smart contract for transferring assets, and publishes it on the blockchain system after the transfer;
- S1024 The asset seller uses the private key to obtain the assets on the transferred blockchain system
- step S1025 The winning buyer uses the private key obtained in step S1024 to obtain the sold asset.
- step S101 the method further includes the step of preset condition:
- the value exchange ratio between the value carriers of different blockchain systems is formed spontaneously in the market exchange
- the operation of the protocol depends on the value contained in the asset being sold.
- the collected information is used to generate smart contracts for asset transfer using the Vickery auction mechanism.
- a cross-system transfer device for blockchain assets including:
- Potential buyer search unit used by asset sellers to find potential buyers on the target blockchain system, and let all potential buyers give value assessments and collect transaction information
- the smart contract arrangement unit is used for the asset seller to return all the collected transaction information to all potential buyers, and arrange the smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively;
- the asset transfer and transaction unit is used for buyers and sellers to reach a transaction through smart contracts before the final transaction time to complete the asset transfer and transaction of both parties.
- a storage medium storing program files capable of implementing any of the above methods for transferring blockchain assets across systems.
- a processor is used for running a program, wherein when the program is running, any one of the above-mentioned methods for transferring blockchain assets across systems is executed.
- the method and device for cross-system transfer of blockchain assets in the embodiments of the present invention are used to realize point-to-point, decentralized asset cross-chain transfer and exchange of assets between blockchain systems. It mainly consists of two stages, the first stage is asset exchange, that is, the potential buyer search stage and the second stage is the transfer agreement, that is, the value transfer stage. Under the premise of not destroying the closedness of the blockchain system itself, users' assets can be exchanged between blockchain systems. Through this technical solution, users can transfer their own value between different blockchain systems, and can exchange the value form between different systems at a ratio that conforms to the market value relationship. By optimizing the design ideas, users can directly reach a point-to-point value transfer transaction with the transaction party without the need to disclose their own information and only need to give the transaction address without resorting to a trusted third party.
- Fig. 1 is the flow chart of the block chain asset cross-system transfer method of the present invention
- Fig. 2 is the preferred flow chart of the cross-system transfer method of blockchain assets of the present invention
- Fig. 3 is the preferred flow chart of the block chain asset cross-system transfer method of the present invention.
- Figure 4 is a pseudo-code description diagram of the operation of the asset seller in the first stage
- Figure 5 is a pseudo-code description diagram of potential buyers bidding in the first stage
- Figure 6 is a pseudo-code description diagram of the asset seller's asset selling behavior in the second stage
- Figure 7 is a pseudo-code description diagram of the asset acquired by the buyer.
- Figure 8 is the interactive logic diagram of buyers and sellers in the first stage, where Alice is the asset seller, others are potential buyers, system A is the source system, and system B is the target system;
- Figure 9 is the interactive logic diagram of buyers and sellers in the second stage, where Alice is the asset seller, others are potential buyers, system A is the source system, and system B is the target system;
- Figure 10 is a system architecture diagram of the source system and the target system
- FIG. 11 is a block diagram of the cross-system transfer device for blockchain assets according to the present invention.
- a method for cross-system transfer of blockchain assets includes the following steps:
- S101 The asset seller looks for potential buyers on the target blockchain system, and asks all potential buyers to give value assessments and collect transaction information;
- S102 The asset seller returns all the collected transaction information to all potential buyers, and arranges smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively;
- S103 The buyer and the seller reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
- the blockchain asset cross-system transfer method in the embodiment of the present invention is used to realize point-to-point, decentralized asset cross-chain transfer and exchange of assets between blockchain systems. It mainly consists of two stages, the first stage is asset exchange, that is, the potential buyer search stage and the second stage is the transfer agreement, that is, the value transfer stage. Under the premise of not destroying the closedness of the blockchain system itself, users' assets can be exchanged between blockchain systems. Through this technical solution, users can transfer their own value between different blockchain systems, and can exchange the value form between different systems at a ratio that conforms to the market value relationship. By optimizing the design ideas, users can directly reach a point-to-point value transfer transaction with the transaction party without the need to disclose their own information and only need to give the transaction address without resorting to a trusted third party.
- the method specifically includes the following steps:
- S101 The asset seller finds potential buyers on the target blockchain system through broadcast information, and asks all potential buyers to give value assessments and collect transaction information;
- S102 The asset seller returns all the collected transaction information to all potential buyers, and uses Atomic-Swap atomic swap technology to arrange asset exchange smart contracts on the source blockchain system and the target blockchain system respectively;
- S103 The buyer and the seller reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
- step S101 includes:
- S1011 The asset seller sends the asset information to be transferred to the target blockchain system and broadcasts it, and informs potential buyers of the deadline for final bidding;
- S1012 The potential buyer sends the bid for the target asset to the asset seller;
- step S102 includes:
- S1021 The asset seller sends all the collected information to all potential buyers, and marks the winner and the winning price;
- S1022 The asset seller generates a pair of public and private keys, sends the public key to the winning buyer, uses the private key to generate a smart contract for selling the asset, and publishes it on the selling blockchain system;
- S1023 The winning buyer uses the public key to generate a smart contract for transferring assets, and publishes it on the blockchain system after the transfer;
- S1024 The asset seller uses the private key to obtain the assets on the transferred blockchain system
- step S1025 The winning buyer uses the private key obtained in step S1024 to obtain the sold asset.
- step S101 the method further includes a preset condition step:
- the value exchange ratio between the value carriers of different blockchain systems is formed spontaneously in the market exchange
- the operation of the protocol depends on the value contained in the asset being sold.
- the Vickery auction mechanism is used to evaluate the value of assets.
- the collected information is used to generate smart contracts for asset transfer using the Vickery auction mechanism.
- the present invention aims to design a method for cross-system transfer of blockchain assets based on the Vickery auction mechanism and the Atomic-Swap atomic swap technology. Assets are exchanged between blockchain systems.
- users can transfer their own value between different blockchain systems, and can exchange the value form between different systems at a ratio that conforms to the market value relationship.
- users can directly reach a point-to-point value transfer transaction with the transaction party without the need to disclose their own information and only need to give the transaction address without resorting to a trusted third party.
- the present invention provides a method for cross-system transfer of blockchain assets, which is used to realize point-to-point, decentralized asset cross-chain transfer and exchange of assets between blockchain systems. It mainly consists of two stages, the first stage is asset exchange, that is, the potential buyer search stage and the second stage is the transfer agreement, that is, the value transfer stage.
- the asset seller finds potential buyers on the target blockchain system by broadcasting information, and asks all potential buyers to give a value evaluation; in the second stage, the asset seller will All the collected transaction information is returned to all potential buyers, and the Atomic-Swap atomic swap technology is used to arrange smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively. The buyer and the seller reach a transaction before the final transaction time through the smart contract to complete the asset transfer and transaction of both parties.
- the core content of the present invention is the design method of the above-mentioned two-stage value exchange agreement and the design mode of the asset transfer smart contract based on the design of the two-stage agreement.
- the preset conditions of the present invention include:
- the value exchange ratio between the value carriers of different blockchain systems is formed spontaneously in the market exchange, and the value judgments of the main players in the market between different value carriers jointly promote the formation of the value exchange ratio in the market;
- the operation of the protocol depends on the value contained in the asset being sold. Once the market has a negative attitude towards the value of the asset being sold itself, the asset being sold cannot find a suitable buyer for value transfer.
- the main process of the potential buyer search stage (ie the first stage) is as follows:
- the asset seller sends the asset information to be transferred to the target blockchain system and broadcasts it, and informs potential buyers of the deadline for final bidding;
- the asset seller collects all bidding information before the deadline
- the main process of the value transfer stage (ie the second stage) is as follows:
- the asset seller sends all the information collected in the first stage to all potential buyers, and marks the winner and the winning price;
- the asset seller generates a pair of public and private keys, sends the public key to the winning buyer, uses the private key to generate a smart contract for selling assets, and publishes it on the selling blockchain system;
- the winning buyer uses the public key to generate a smart contract for transferring assets, and publishes it on the blockchain system after the transfer;
- the asset seller uses the private key to obtain the assets on the transferred blockchain system
- the winning buyer uses the private key obtained in step 4 to obtain the sold asset.
- a cross-system transfer device for blockchain assets is provided, see FIG. 11 , including:
- Potential buyer finding unit 201 used by the asset seller to find potential buyers on the target blockchain system, and let all potential buyers give value evaluation and collect transaction information;
- the smart contract arrangement unit 202 is used for the asset seller to return all the collected transaction information to all potential buyers, and arrange smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively;
- the asset transfer and transaction unit 203 is used for the buyer and the seller to reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
- the block chain asset cross-system transfer device in the embodiment of the present invention is used to realize point-to-point, decentralized asset cross-chain transfer and exchange of assets between block chain systems. It mainly consists of two stages, the first stage is asset exchange, that is, the potential buyer search stage and the second stage is the transfer agreement, that is, the value transfer stage. Under the premise of not destroying the closedness of the blockchain system itself, users' assets can be exchanged between blockchain systems. Through this technical solution, users can transfer their own value between different blockchain systems, and can exchange the value form between different systems at a ratio that conforms to the market value relationship. By optimizing the design ideas, users can directly reach a point-to-point value transfer transaction with the transaction party without the need to disclose their own information and only need to give the transaction address without resorting to a trusted third party.
- the present invention aims to design a blockchain asset cross-system transfer device based on the Vickery auction mechanism and the Atomic-Swap atomic swap technology, which enables users to Assets are exchanged between blockchain systems.
- users can transfer their own value between different blockchain systems, and can exchange the value form between different systems at a ratio that conforms to the market value relationship.
- users can directly reach a point-to-point value transfer transaction with the transaction party without the need to disclose their own information and only need to give the transaction address without resorting to a trusted third party.
- the present invention provides a block chain asset cross-system transfer device for realizing point-to-point, decentralized asset cross-chain transfer and exchange of assets between block chain systems. It mainly consists of two stages, the first stage is asset exchange, that is, the potential buyer search stage and the second stage is the transfer agreement, that is, the value transfer stage.
- the potential buyer finding unit 201 is used by the asset seller to find potential buyers on the target blockchain system through broadcast information, and let all potential buyers give value evaluations; in the second stage, The smart contract arrangement unit 202 is used for the asset seller to return all the transaction information collected in the first stage to all potential buyers, using Atomic-Swap atomic swap technology on the source blockchain system and the target blockchain system respectively. Smart contracts that lay out asset exchanges.
- the asset transfer and transaction unit 203 is used for the buyer and the seller to reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
- the core content of the present invention is the design method of the above-mentioned two-stage value exchange agreement and the design mode of the asset transfer smart contract based on the design of the two-stage agreement.
- the preset conditions of the present invention include:
- the value exchange ratio between the value carriers of different blockchain systems is formed spontaneously in the market exchange, and the value judgments of the main players in the market between different value carriers jointly promote the formation of the value exchange ratio in the market;
- the operation of the protocol depends on the value contained in the asset being sold. Once the market has a negative attitude towards the value of the asset being sold itself, the asset being sold cannot find a suitable buyer for value transfer.
- the main process of the potential buyer search stage (ie the first stage) is as follows:
- the asset seller sends the asset information to be transferred to the target blockchain system and broadcasts it, and informs potential buyers of the deadline for final bidding;
- the asset seller collects all bidding information before the deadline
- the main process of the value transfer stage (ie the second stage) is as follows:
- the asset seller sends all the information collected in the first stage to all potential buyers, and marks the winner and the winning price;
- the asset seller generates a pair of public and private keys, sends the public key to the winning buyer, uses the private key to generate a smart contract for selling assets, and publishes it on the selling blockchain system;
- the winning buyer uses the public key to generate a smart contract for transferring assets, and publishes it on the blockchain system after the transfer;
- the asset seller uses the private key to obtain the assets on the transferred blockchain system
- the winning buyer uses the private key obtained in step 4 to obtain the sold asset.
- a storage medium storing program files capable of implementing any of the above methods for transferring blockchain assets across systems.
- a processor is used for running a program, wherein when the program is running, any one of the above-mentioned methods for transferring blockchain assets across systems is executed.
- the invention utilizes cryptographic methods such as RSA encryption and Atomic-Swap atomic exchange protocol to ensure the security and confidentiality of the exchange process.
- the present invention is proved feasible through experimental verification.
- two Ethereum test chains were built during verification, and the corresponding blockchain asset value cross-chain transfer smart contracts were deployed in the two Ethereum test chains respectively.
- the present invention verifies the feasibility of this protocol. Aiming at the situation that there may be multiple players competing in the process of asset cross-chain transfer, experiments show that the final value exchange ratio is close to the real market exchange ratio, and it quickly converges and tends to be stable as the number of participating buyers increases.
- Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
- the integrated unit if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium.
- the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , which includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention.
- the aforementioned storage medium includes: U disk, Read-Only Memory (ROM, Read-Only Memory) Memory), random access memory (RAM, Random Various media that can store program codes, such as Access Memory), mobile hard disks, magnetic disks or CD-ROMs.
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Physics & Mathematics (AREA)
- Marketing (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Game Theory and Decision Science (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
A cross-system transfer method and apparatus for blockchain assets. The method and apparatus comprise: an asset seller searching for potential buyers on a target blockchain system, making all the potential buyers provide value evaluations, and performing transaction information collection (S101); the asset seller returning all collected transaction information to all the potential buyers, and respectively arranging, on a source blockchain system and a target blockchain system, a smart contract for asset exchange (S102); and a buyer and a seller concluding a transaction by means of the smart contract before a final transaction time, so as to complete asset transfer and transaction between the two parties (S103). By means of the method and apparatus, point-to-point decentralized cross-chain transfer and exchange of assets are realized between blockchain systems. A first stage is asset exchange, i.e. a potential buyer searching stage, and a second stage is a transfer protocol, i.e. a value transfer stage. Assets of a user can be exchanged between blockchain systems on the premise of not breaking the closure of the blockchain systems themselves.
Description
本发明涉及区块链领域,具体而言,涉及一种区块链资产跨系统转移方法及装置。The present invention relates to the field of blockchain, in particular, to a method and device for cross-system transfer of blockchain assets.
区块链技术是当前火热的前沿技术研究方案。价值属性是区块链诞生之初就具有的重要特征。以比特币为代表的第一代区块链技术最主要的功能就是实现去中心化的分布式记账,让两个陌生个体之间无需通过可信第三方即可实现点对点交易。Blockchain technology is currently a hot frontier technology research solution. The value attribute is an important feature of the blockchain at the beginning of its birth. The main function of the first-generation blockchain technology represented by Bitcoin is to realize decentralized distributed accounting, so that point-to-point transactions can be realized between two unfamiliar individuals without a trusted third party.
随着区块链技术的发展和进步,越来越多的区块链系统被设计出来并上线运行。这些系统大都支持记账和转账功能,能够利用区块链技术的不可篡改、去中心化等特性强化转账和记账的安全性。但由于系统本身的封闭性,这些价值被封闭在区块链系统内部,无法在区块链系统之间进行转移。这种封闭、稳定的设计方案的目的在于能够保证区块链系统的独立性和稳定性,避免区块链系统被外部所影响,客观上强化了区块链系统的安全性。但随着区块链系统的多样化和复杂化,这种封闭性不利于区块链系统之间的交流,阻碍了区块链技术的进一步发展。如何在不打破区块链系统本身封闭性的前提下实现价值在区块链系统之间的转移是提高区块链系统效率的当务之急。With the development and progress of blockchain technology, more and more blockchain systems have been designed and run online. Most of these systems support bookkeeping and transfer functions, and can take advantage of the immutability and decentralization of blockchain technology to enhance the security of transfer and bookkeeping. However, due to the closed nature of the system itself, these values are enclosed within the blockchain system and cannot be transferred between blockchain systems. The purpose of this closed and stable design scheme is to ensure the independence and stability of the blockchain system, avoid external influences on the blockchain system, and objectively strengthen the security of the blockchain system. However, with the diversification and complexity of blockchain systems, this closedness is not conducive to the communication between blockchain systems and hinders the further development of blockchain technology. How to realize the transfer of value between blockchain systems without breaking the closedness of the blockchain system itself is the top priority to improve the efficiency of the blockchain system.
目前针对区块链价值转移的方案主要有两种:At present, there are two main solutions for blockchain value transfer:
一是利用可信第三方来解决信息沟通和价值交换的信任问题。目前常见的中间交易所,如Ripple、Binance、比特大陆等,都可以归为这一类技术方案。此类技术方案通过一个各方都信任的第三方来进行交易委托,通过可信中介来撮合交易,并保证交易过程中的安全和风险管控。当用户采用这种技术方案来实现资产交换时,用户首先将自己的资产证明、想转换成资产形式等信息发送给可信第三方,第三方中介机构在收到相关信息之后对交易双方进行信息匹配,找到适应于卖方的买方需求。当匹配成功之后,中介机构担保双方进行交易,并收取一定的手续费作为激励。交易过程中用到的价值比率是中介机构对市场交易信息收集达成的实时汇率汇总。One is to use a trusted third party to solve the trust problem of information communication and value exchange. Currently common intermediate exchanges, such as Ripple, Binance, Bitmain, etc., can be classified into this type of technical solutions. Such technical solutions entrust transactions through a third party trusted by all parties, match transactions through trusted intermediaries, and ensure security and risk control during the transaction process. When the user adopts this technical solution to realize asset exchange, the user first sends information such as his own asset certificate and the information that he wants to convert into an asset form to a trusted third party, and the third-party intermediary agency will inform both parties of the transaction after receiving the relevant information Match to find buyer needs that suit sellers. When the matching is successful, the intermediary guarantees the transaction between the two parties and charges a certain fee as an incentive. The value ratio used in the transaction process is a real-time exchange rate summary reached by the intermediary agency's collection of market transaction information.
二是利用侧链或中继链传递交易信息,通过密码学机制来保证信息安全。这种交易方式使用统一的技术接口来解决不同区块链系统中可信信息交换问题,通过密码学方法来保证信息沟通过程的单向、不可逆、不可篡改和唯一性。在这种技术方案中,开发者需要预先开发一个侧链或者中继链用于信息的传递。开发和运维人员首先将侧链和中继链上线运行并绑定到原有的主链之上,并保证两个区块链系统的多主体之间能够利用侧链和中继链进行可信的通信。当用户采用这种方法进行资产跨链转移时,首先需要采用额外的机制找到买家和价值比率,并以双方利用额外机制达成的比率协定来指导交易的完成。当双方已经达成交易意向、对交易细节讨论完成之后,卖家将交易细节发送到侧链或通过中继链发送到目标系统中,买家收到交易信息并确认和校验完成后将交易信息发送到目标区块链系统中确认,并利用目标区块链系统完成交易流程。The second is to use the side chain or relay chain to transmit transaction information, and ensure information security through a cryptographic mechanism. This transaction method uses a unified technical interface to solve the problem of trusted information exchange in different blockchain systems, and uses cryptographic methods to ensure the one-way, irreversible, tamper-proof and uniqueness of the information communication process. In this technical solution, developers need to develop a side chain or relay chain in advance for information transfer. Developers and operation and maintenance personnel first put the side chain and the relay chain online and bind it to the original main chain, and ensure that the multi-agents of the two blockchain systems can use the side chain and the relay chain to carry out communication. letter communication. When users use this method to transfer assets across chains, they first need to use additional mechanisms to find the buyer and the value ratio, and guide the completion of the transaction with the ratio agreement reached by the two parties using the additional mechanism. When the two parties have reached a transaction intention and completed the discussion on the transaction details, the seller sends the transaction details to the side chain or to the target system through the relay chain, and the buyer receives the transaction information and confirms and verifies the completion. Confirm in the target blockchain system and use the target blockchain system to complete the transaction process.
但前述两种技术方案都有其缺点,并且还存在一些上述两种方案都没有解决的问题。However, the above two technical solutions have their shortcomings, and there are still some problems that are not solved by the above two solutions.
在利用可信第三方来进行信息沟通和交换的方案中,用户需要借助于第三方来完成信息的交换、交易的匹配、市场信息的汇总等交易流程,这在很大程度上牺牲了区块链系统的去中心化特性,弱化了原生的区块链系统分散特性,并不是一种很完善的解决方案。区块链系统相比于其他系统最大的优势在于去中心化、匿名性、安全性,这种方案为了实现价值跨链转移在区块链系统之外再造了一个中心化的信息中介,来进行信息的汇总和交易的连接,使得交易的完成强烈地依赖于第三方中介的可靠性,并将用户的信息和交易的控制权转让给了中介方。当所有参与价值交换的区块链系统稳定、币值稳定时,这种机制是能够稳定运行的。一旦区块链系统受到外界的影响产生价值的剧烈波动,或者第三方中介结构遭受到恶意攻击,这种中介机制的运行就会出现问题,影响价值转移的效率。In the scheme of using a trusted third party for information communication and exchange, users need to rely on a third party to complete transaction processes such as information exchange, transaction matching, and market information aggregation, which sacrifices the block to a large extent. The decentralized nature of the chain system weakens the decentralized nature of the native blockchain system, and is not a perfect solution. Compared with other systems, the biggest advantage of the blockchain system is decentralization, anonymity, and security. In order to realize the cross-chain transfer of value, this solution recreates a centralized information intermediary outside the blockchain system to carry out The aggregation of information and the connection of transactions make the completion of the transaction strongly depend on the reliability of the third-party intermediary, and transfer the user's information and the control of the transaction to the intermediary. When all the blockchain systems participating in the value exchange are stable and the currency value is stable, this mechanism can operate stably. Once the blockchain system is affected by the outside world and produces violent fluctuations in value, or the third-party intermediary structure is maliciously attacked, there will be problems with the operation of this intermediary mechanism, which will affect the efficiency of value transfer.
第二种利用侧链或中继链传递交易信息的价值跨链机制实际上只是解决了资产跨链转移的安全和可靠性问题,并没有对价值转移过程进行完整的技术支持。用户在利用这种方式进行价值转移时,需要通过额外的机制或机构先就交易细节、交易过程进行约定,这增加了用户的工作量,增大了交易过程的信息壁垒,使得用户需要借助于额外的工作量来完成交易的准备工作。从整个交易流程来看,利用侧链或中继链来传递交易信息的机制并不是一个完整的交易流程,只是针对价值交换的这个流程进行了安全性保证,对交易前的准备工作、交易后的确认工作缺乏相应的实现。The second type of cross-chain value mechanism that uses the side chain or relay chain to transmit transaction information actually only solves the security and reliability issues of asset cross-chain transfer, and does not provide complete technical support for the value transfer process. When users use this method to transfer value, they need to agree on transaction details and transaction process through additional mechanisms or institutions, which increases the user's workload and increases the information barriers in the transaction process, so that users need to rely on Additional work to complete the preparation of the transaction. From the perspective of the entire transaction process, the mechanism of using the side chain or relay chain to transmit transaction information is not a complete transaction process, but only guarantees the security of this process of value exchange. The confirmation work lacks a corresponding implementation.
本发明实施例提供了一种区块链资产跨系统转移方法及装置,以至少解决现有区块链资产跨系统转移协议无法进行有效的价值交换的技术问题。Embodiments of the present invention provide a method and device for cross-system transfer of blockchain assets, so as to at least solve the technical problem that the existing blockchain asset cross-system transfer protocol cannot perform effective value exchange.
根据本发明的一实施例,提供了一种区块链资产跨系统转移方法,包括以下步骤:According to an embodiment of the present invention, a method for cross-system transfer of blockchain assets is provided, including the following steps:
S101:资产出售方寻找目标区块链系统上的潜在买家,并让所有的潜在买家给出价值评估并进行交易信息收集;S101: The asset seller looks for potential buyers on the target blockchain system, and asks all potential buyers to give value assessments and collect transaction information;
S102:资产出售方将收集到的所有交易信息返还给所有的潜在买家,在源区块链系统和目标区块链系统上分别布置资产交换的智能合约;S102: The asset seller returns all the collected transaction information to all potential buyers, and arranges smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively;
S103:买卖双方通过智能合约在最终交易时间之前达成交易,完成双方的资产转移和交易。S103: The buyer and the seller reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
进一步地,方法具体包括以下步骤:Further, the method specifically includes the following steps:
S101:资产出售方通过广播信息寻找目标区块链系统上的潜在买家,并让所有的潜在买家给出价值评估并进行交易信息收集;S101: The asset seller finds potential buyers on the target blockchain system through broadcast information, and asks all potential buyers to give value assessments and collect transaction information;
S102:资产出售方将收集到的所有交易信息返还给所有的潜在买家,利用Atomic-Swap原子交换技术在源区块链系统和目标区块链系统上分别布置资产交换的智能合约;S102: The asset seller returns all the collected transaction information to all potential buyers, and uses Atomic-Swap atomic swap technology to arrange asset exchange smart contracts on the source blockchain system and the target blockchain system respectively;
S103:买卖双方通过智能合约在最终交易时间之前达成交易,完成双方的资产转移和交易。S103: The buyer and the seller reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
进一步地,步骤S101包括:Further, step S101 includes:
S1011:资产出售方将待转移资产信息发送到目标区块链系统中并进行广播,同时告知潜在买家最终出价的截止时间;S1011: The asset seller sends the asset information to be transferred to the target blockchain system and broadcasts it, and informs potential buyers of the deadline for final bidding;
S1012:潜在买家将对目标资产的出价发送到资产出售方;S1012: The potential buyer sends the bid for the target asset to the asset seller;
S1013:资产出售方在截止时间之前收集所有的出价信息。S1013: The asset seller collects all bidding information before the deadline.
进一步地,步骤S102包括:Further, step S102 includes:
S1021:资产出售方将收集到的所有信息发送给所有的潜在买家,并将胜出者和胜出价格进行标示;S1021: The asset seller sends all the collected information to all potential buyers, and marks the winner and the winning price;
S1022:资产出售方生成一对公私密钥对,将公钥发送给胜出买家,利用私钥生成出售资产的智能合约,将其发布到卖出的区块链系统上;S1022: The asset seller generates a pair of public and private keys, sends the public key to the winning buyer, uses the private key to generate a smart contract for selling the asset, and publishes it on the selling blockchain system;
S1023:胜出买家利用公钥生成转移资产的智能合约,将其发布到转移之后的区块链系统上;S1023: The winning buyer uses the public key to generate a smart contract for transferring assets, and publishes it on the blockchain system after the transfer;
S1024:资产出售方利用私钥获取到转移之后的区块链系统上的资产;S1024: The asset seller uses the private key to obtain the assets on the transferred blockchain system;
S1025:胜出买家利用步骤S1024中获取到的私钥获取卖出资产。S1025: The winning buyer uses the private key obtained in step S1024 to obtain the sold asset.
进一步地,方法在步骤S101之前还包括预设条件步骤:Further, before step S101, the method further includes the step of preset condition:
不同区块链系统的价值载体之间的价值交换比率是市场交换中自发形成的;The value exchange ratio between the value carriers of different blockchain systems is formed spontaneously in the market exchange;
所有参与价值交换的主体都能够按照自己的价值判断为被交换资产给出合适的估价,所有主体给出的理性最高估价会逼近市场价值比率的真实值;All subjects participating in the value exchange can give appropriate valuations for the exchanged assets according to their own value judgments, and the rational highest valuations given by all subjects will approach the true value of the market value ratio;
当参与到价值交换过程中能够获取收益时,区块链系统中的主体会积极主动的参加价值的交换过程;When participating in the value exchange process to obtain benefits, the subjects in the blockchain system will actively participate in the value exchange process;
协议的运行过程依赖于被出售资产本身所包含的价值。The operation of the protocol depends on the value contained in the asset being sold.
进一步地,利用Vickery拍卖机制进行资产的价值估价。Further, use the Vickery auction mechanism to evaluate the value of assets.
进一步地,利用Vickery拍卖机制将收集到的信息进行资产转移的智能合约生成。Further, the collected information is used to generate smart contracts for asset transfer using the Vickery auction mechanism.
根据本发明的另一实施例,提供了一种区块链资产跨系统转移装置,包括:According to another embodiment of the present invention, a cross-system transfer device for blockchain assets is provided, including:
潜在买家寻找单元,用于资产出售方寻找目标区块链系统上的潜在买家,并让所有的潜在买家给出价值评估并进行交易信息收集;Potential buyer search unit, used by asset sellers to find potential buyers on the target blockchain system, and let all potential buyers give value assessments and collect transaction information;
智能合约布置单元,用于资产出售方将收集到的所有交易信息返还给所有的潜在买家,在源区块链系统和目标区块链系统上分别布置资产交换的智能合约;The smart contract arrangement unit is used for the asset seller to return all the collected transaction information to all potential buyers, and arrange the smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively;
资产转移和交易单元,用于买卖双方通过智能合约在最终交易时间之前达成交易,完成双方的资产转移和交易。The asset transfer and transaction unit is used for buyers and sellers to reach a transaction through smart contracts before the final transaction time to complete the asset transfer and transaction of both parties.
一种存储介质,存储介质存储有能够实现上述任意一项区块链资产跨系统转移方法的程序文件。A storage medium storing program files capable of implementing any of the above methods for transferring blockchain assets across systems.
一种处理器,处理器用于运行程序,其中,程序运行时执行上述任意一项的区块链资产跨系统转移方法。A processor is used for running a program, wherein when the program is running, any one of the above-mentioned methods for transferring blockchain assets across systems is executed.
本发明实施例中的区块链资产跨系统转移方法及装置,用于在区块链系统之间实现资产的点对点、去中心化的资产跨链转移交换。主要包含两个阶段,第一阶段为资产交换,即潜在买家寻找阶段和第二阶段为转移协议,即价值转移阶段。在不破坏区块链系统本身封闭性的前提下,能够让用户的资产在区块链系统之间进行交换。用户通过这一技术方案可以在不同区块链系统之间转移属于自己的价值,能够以符合市场价值关系的比率交换不同系统之间的价值形式。通过优化设计思路,用户可以在不泄露自己信息、只需要给出交易地址的前提下,不需要借助可信第三方,直接与交易方达成点对点之间的价值转移交易。The method and device for cross-system transfer of blockchain assets in the embodiments of the present invention are used to realize point-to-point, decentralized asset cross-chain transfer and exchange of assets between blockchain systems. It mainly consists of two stages, the first stage is asset exchange, that is, the potential buyer search stage and the second stage is the transfer agreement, that is, the value transfer stage. Under the premise of not destroying the closedness of the blockchain system itself, users' assets can be exchanged between blockchain systems. Through this technical solution, users can transfer their own value between different blockchain systems, and can exchange the value form between different systems at a ratio that conforms to the market value relationship. By optimizing the design ideas, users can directly reach a point-to-point value transfer transaction with the transaction party without the need to disclose their own information and only need to give the transaction address without resorting to a trusted third party.
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached image:
图1为本发明区块链资产跨系统转移方法的流程图;Fig. 1 is the flow chart of the block chain asset cross-system transfer method of the present invention;
图2为本发明区块链资产跨系统转移方法的优选流程图;Fig. 2 is the preferred flow chart of the cross-system transfer method of blockchain assets of the present invention;
图3为本发明区块链资产跨系统转移方法的优选流程图;Fig. 3 is the preferred flow chart of the block chain asset cross-system transfer method of the present invention;
图4为资产出售方在第一阶段操作的伪代码描述图;Figure 4 is a pseudo-code description diagram of the operation of the asset seller in the first stage;
图5为潜在买家在第一阶段进行出价的伪代码描述图;Figure 5 is a pseudo-code description diagram of potential buyers bidding in the first stage;
图6为资产出售方在第二阶段资产出售行为的伪代码描述图;Figure 6 is a pseudo-code description diagram of the asset seller's asset selling behavior in the second stage;
图7为买家获取到资产的伪代码描述图;Figure 7 is a pseudo-code description diagram of the asset acquired by the buyer;
图8为第一阶段买家和卖家的交互逻辑图,其中Alice为资产出售方,其他为潜在买家,A系统为源系统,B系统为目标系统;Figure 8 is the interactive logic diagram of buyers and sellers in the first stage, where Alice is the asset seller, others are potential buyers, system A is the source system, and system B is the target system;
图9为第二阶段买家和卖家的交互逻辑图,其中Alice为资产出售方,其他为潜在买家,A系统为源系统,B系统为目标系统;Figure 9 is the interactive logic diagram of buyers and sellers in the second stage, where Alice is the asset seller, others are potential buyers, system A is the source system, and system B is the target system;
图10为源系统和目标系统的系统架构图;Figure 10 is a system architecture diagram of the source system and the target system;
图11为本发明区块链资产跨系统转移装置的模块图。FIG. 11 is a block diagram of the cross-system transfer device for blockchain assets according to the present invention.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.
实施例1Example 1
根据本发明一实施例,提供了一种区块链资产跨系统转移方法,参见图1,包括以下步骤:According to an embodiment of the present invention, a method for cross-system transfer of blockchain assets is provided. Referring to FIG. 1, the method includes the following steps:
S101:资产出售方寻找目标区块链系统上的潜在买家,并让所有的潜在买家给出价值评估并进行交易信息收集;S101: The asset seller looks for potential buyers on the target blockchain system, and asks all potential buyers to give value assessments and collect transaction information;
S102:资产出售方将收集到的所有交易信息返还给所有的潜在买家,在源区块链系统和目标区块链系统上分别布置资产交换的智能合约;S102: The asset seller returns all the collected transaction information to all potential buyers, and arranges smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively;
S103:买卖双方通过智能合约在最终交易时间之前达成交易,完成双方的资产转移和交易。S103: The buyer and the seller reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
本发明实施例中的区块链资产跨系统转移方法,用于在区块链系统之间实现资产的点对点、去中心化的资产跨链转移交换。主要包含两个阶段,第一阶段为资产交换,即潜在买家寻找阶段和第二阶段为转移协议,即价值转移阶段。在不破坏区块链系统本身封闭性的前提下,能够让用户的资产在区块链系统之间进行交换。用户通过这一技术方案可以在不同区块链系统之间转移属于自己的价值,能够以符合市场价值关系的比率交换不同系统之间的价值形式。通过优化设计思路,用户可以在不泄露自己信息、只需要给出交易地址的前提下,不需要借助可信第三方,直接与交易方达成点对点之间的价值转移交易。The blockchain asset cross-system transfer method in the embodiment of the present invention is used to realize point-to-point, decentralized asset cross-chain transfer and exchange of assets between blockchain systems. It mainly consists of two stages, the first stage is asset exchange, that is, the potential buyer search stage and the second stage is the transfer agreement, that is, the value transfer stage. Under the premise of not destroying the closedness of the blockchain system itself, users' assets can be exchanged between blockchain systems. Through this technical solution, users can transfer their own value between different blockchain systems, and can exchange the value form between different systems at a ratio that conforms to the market value relationship. By optimizing the design ideas, users can directly reach a point-to-point value transfer transaction with the transaction party without the need to disclose their own information and only need to give the transaction address without resorting to a trusted third party.
其中,方法具体包括以下步骤:Wherein, the method specifically includes the following steps:
S101:资产出售方通过广播信息寻找目标区块链系统上的潜在买家,并让所有的潜在买家给出价值评估并进行交易信息收集;S101: The asset seller finds potential buyers on the target blockchain system through broadcast information, and asks all potential buyers to give value assessments and collect transaction information;
S102:资产出售方将收集到的所有交易信息返还给所有的潜在买家,利用Atomic-Swap原子交换技术在源区块链系统和目标区块链系统上分别布置资产交换的智能合约;S102: The asset seller returns all the collected transaction information to all potential buyers, and uses Atomic-Swap atomic swap technology to arrange asset exchange smart contracts on the source blockchain system and the target blockchain system respectively;
S103:买卖双方通过智能合约在最终交易时间之前达成交易,完成双方的资产转移和交易。S103: The buyer and the seller reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
其中,参见图2,步骤S101包括:Wherein, referring to FIG. 2, step S101 includes:
S1011:资产出售方将待转移资产信息发送到目标区块链系统中并进行广播,同时告知潜在买家最终出价的截止时间;S1011: The asset seller sends the asset information to be transferred to the target blockchain system and broadcasts it, and informs potential buyers of the deadline for final bidding;
S1012:潜在买家将对目标资产的出价发送到资产出售方;S1012: The potential buyer sends the bid for the target asset to the asset seller;
S1013:资产出售方在截止时间之前收集所有的出价信息。S1013: The asset seller collects all bidding information before the deadline.
其中,参见图3,步骤S102包括:Wherein, referring to FIG. 3, step S102 includes:
S1021:资产出售方将收集到的所有信息发送给所有的潜在买家,并将胜出者和胜出价格进行标示;S1021: The asset seller sends all the collected information to all potential buyers, and marks the winner and the winning price;
S1022:资产出售方生成一对公私密钥对,将公钥发送给胜出买家,利用私钥生成出售资产的智能合约,将其发布到卖出的区块链系统上;S1022: The asset seller generates a pair of public and private keys, sends the public key to the winning buyer, uses the private key to generate a smart contract for selling the asset, and publishes it on the selling blockchain system;
S1023:胜出买家利用公钥生成转移资产的智能合约,将其发布到转移之后的区块链系统上;S1023: The winning buyer uses the public key to generate a smart contract for transferring assets, and publishes it on the blockchain system after the transfer;
S1024:资产出售方利用私钥获取到转移之后的区块链系统上的资产;S1024: The asset seller uses the private key to obtain the assets on the transferred blockchain system;
S1025:胜出买家利用步骤S1024中获取到的私钥获取卖出资产。S1025: The winning buyer uses the private key obtained in step S1024 to obtain the sold asset.
其中,方法在步骤S101之前还包括预设条件步骤:Wherein, before step S101, the method further includes a preset condition step:
不同区块链系统的价值载体之间的价值交换比率是市场交换中自发形成的;The value exchange ratio between the value carriers of different blockchain systems is formed spontaneously in the market exchange;
所有参与价值交换的主体都能够按照自己的价值判断为被交换资产给出合适的估价,所有主体给出的理性最高估价会逼近市场价值比率的真实值;All subjects participating in the value exchange can give appropriate valuations for the exchanged assets according to their own value judgments, and the rational highest valuations given by all subjects will approach the true value of the market value ratio;
当参与到价值交换过程中能够获取收益时,区块链系统中的主体会积极主动的参加价值的交换过程;When participating in the value exchange process to obtain benefits, the subjects in the blockchain system will actively participate in the value exchange process;
协议的运行过程依赖于被出售资产本身所包含的价值。The operation of the protocol depends on the value contained in the asset being sold.
其中,利用Vickery拍卖机制进行资产的价值估价。Among them, the Vickery auction mechanism is used to evaluate the value of assets.
其中,利用Vickery拍卖机制将收集到的信息进行资产转移的智能合约生成。Among them, the collected information is used to generate smart contracts for asset transfer using the Vickery auction mechanism.
下面以具体实施例,对本发明的区块链资产跨系统转移方法进行详细说明:Hereinafter, the method for cross-system transfer of blockchain assets of the present invention will be described in detail with specific embodiments:
在以代币为价值载体的区块链系统中,由于区块链系统本身的封闭性,这些价值被封闭在区块链系统内部,无法在区块链系统之间进行价值转移。这导致区块链系统之间无法进行有效的价值交换,用户被强绑定在系统内部,无法在区块链系统之间进行操作。这种设计方案客观上能够维护区块链系统本身的稳定性,让系统中的用户来主动维护区块链系统,但也客观上造成了区块链系统之间进行协作的困难,不利于区块链技术的长久发展。In the blockchain system with tokens as the value carrier, due to the closed nature of the blockchain system, these values are enclosed within the blockchain system, and value cannot be transferred between blockchain systems. This results in ineffective value exchange between blockchain systems, and users are strongly bound within the system and cannot operate between blockchain systems. This design scheme can objectively maintain the stability of the blockchain system itself, allowing users in the system to actively maintain the blockchain system, but it also objectively causes difficulties in collaboration between blockchain systems, which is not conducive to the The long-term development of blockchain technology.
针对以上问题,本发明旨在设计一种基于Vickery拍卖机制和Atomic-Swap原子交换技术的区块链资产跨系统转移方法,在不破坏区块链系统本身封闭性的前提下,能够让用户的资产在区块链系统之间进行交换。用户通过这一技术方案可以在不同区块链系统之间转移属于自己的价值,能够以符合市场价值关系的比率交换不同系统之间的价值形式。通过优化设计思路,用户可以在不泄露自己信息、只需要给出交易地址的前提下,不需要借助可信第三方,直接与交易方达成点对点之间的价值转移交易。In view of the above problems, the present invention aims to design a method for cross-system transfer of blockchain assets based on the Vickery auction mechanism and the Atomic-Swap atomic swap technology. Assets are exchanged between blockchain systems. Through this technical solution, users can transfer their own value between different blockchain systems, and can exchange the value form between different systems at a ratio that conforms to the market value relationship. By optimizing the design ideas, users can directly reach a point-to-point value transfer transaction with the transaction party without the need to disclose their own information and only need to give the transaction address without resorting to a trusted third party.
具体参见图4至图10,本发明提供了一种区块链资产跨系统转移方法,用于在区块链系统之间实现资产的点对点、去中心化的资产跨链转移交换。主要包含两个阶段,第一阶段为资产交换,即潜在买家寻找阶段和第二阶段为转移协议,即价值转移阶段。Referring specifically to FIGS. 4 to 10 , the present invention provides a method for cross-system transfer of blockchain assets, which is used to realize point-to-point, decentralized asset cross-chain transfer and exchange of assets between blockchain systems. It mainly consists of two stages, the first stage is asset exchange, that is, the potential buyer search stage and the second stage is the transfer agreement, that is, the value transfer stage.
在第一阶段中,资产出售方通过广播信息寻找目标区块链系统上的潜在买家,并让所有的潜在买家给出价值评估;在第二阶段中,资产出售方将第一阶段中收集到的所有交易信息返还给所有的潜在买家,利用Atomic-Swap原子交换技术在源区块链系统和目标区块链系统上分别布置资产交换的智能合约。买卖双方通过智能合约在最终交易时间之前达成交易,完成双方的资产转移和交易。In the first stage, the asset seller finds potential buyers on the target blockchain system by broadcasting information, and asks all potential buyers to give a value evaluation; in the second stage, the asset seller will All the collected transaction information is returned to all potential buyers, and the Atomic-Swap atomic swap technology is used to arrange smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively. The buyer and the seller reach a transaction before the final transaction time through the smart contract to complete the asset transfer and transaction of both parties.
本发明的核心内容是上述两阶段价值交换协议的设计方法和基于两阶段协议设计的资产转移智能合约设计模式。本发明的预设条件包括:The core content of the present invention is the design method of the above-mentioned two-stage value exchange agreement and the design mode of the asset transfer smart contract based on the design of the two-stage agreement. The preset conditions of the present invention include:
1.不同区块链系统的价值载体之间的价值交换比率是市场交换中自发形成的,市场中的主体对不同价值载体之间的价值判断共同促进了市场中价值交换比率的形成;1. The value exchange ratio between the value carriers of different blockchain systems is formed spontaneously in the market exchange, and the value judgments of the main players in the market between different value carriers jointly promote the formation of the value exchange ratio in the market;
2.所有参与价值交换的主体都能够按照自己的价值判断为被交换资产给出合适的估价,所有主体给出的理性最高估价会逼近市场价值比率的真实值;2. All subjects participating in the value exchange can give appropriate valuations for the exchanged assets according to their own value judgments, and the rational highest valuations given by all subjects will approach the true value of the market value ratio;
3.当参与到价值交换过程中能够获取一定的收益时,区块链系统中的主体会积极主动的参加价值的交换过程;3. When participating in the value exchange process to obtain certain benefits, the subjects in the blockchain system will actively participate in the value exchange process;
4.协议的运行过程依赖于被出售资产本身所包含的价值。一旦市场对被出售资产本身的价值持否定态度,被出售资产无法找到合适的买家进行价值转移。4. The operation of the protocol depends on the value contained in the asset being sold. Once the market has a negative attitude towards the value of the asset being sold itself, the asset being sold cannot find a suitable buyer for value transfer.
潜在买家寻找阶段(即第一阶段)主要流程如下:The main process of the potential buyer search stage (ie the first stage) is as follows:
1.资产出售方将待转移资产信息发送到目标区块链系统中并进行广播,同时告知潜在买家最终出价的截止时间;1. The asset seller sends the asset information to be transferred to the target blockchain system and broadcasts it, and informs potential buyers of the deadline for final bidding;
2.潜在买家将对目标资产的出价发送到资产出售方;2. Potential buyers send bids for the target asset to the asset seller;
3.资产出售方在截止时间之前收集所有的出价信息;3. The asset seller collects all bidding information before the deadline;
价值转移阶段(即第二阶段)主要流程如下:The main process of the value transfer stage (ie the second stage) is as follows:
1.资产出售方将第一阶段收集到的所有信息发送给所有的潜在买家,并将胜出者和胜出价格进行标示;1. The asset seller sends all the information collected in the first stage to all potential buyers, and marks the winner and the winning price;
2.资产出售方生成一对公私密钥对,将公钥发送给胜出买家,利用私钥生成出售资产的智能合约,将其发布到卖出的区块链系统上;2. The asset seller generates a pair of public and private keys, sends the public key to the winning buyer, uses the private key to generate a smart contract for selling assets, and publishes it on the selling blockchain system;
3.胜出买家利用公钥生成转移资产的智能合约,将其发布到转移之后的区块链系统上;3. The winning buyer uses the public key to generate a smart contract for transferring assets, and publishes it on the blockchain system after the transfer;
4.资产出售方利用私钥获取到转移之后的区块链系统上的资产;4. The asset seller uses the private key to obtain the assets on the transferred blockchain system;
5.胜出买家利用步骤4中获取到的私钥获取卖出资产。5. The winning buyer uses the private key obtained in step 4 to obtain the sold asset.
实施例2Example 2
根据本发明的另一实施例,提供了一种区块链资产跨系统转移装置,参见图11,包括:According to another embodiment of the present invention, a cross-system transfer device for blockchain assets is provided, see FIG. 11 , including:
潜在买家寻找单元201,用于资产出售方寻找目标区块链系统上的潜在买家,并让所有的潜在买家给出价值评估并进行交易信息收集;Potential buyer finding unit 201, used by the asset seller to find potential buyers on the target blockchain system, and let all potential buyers give value evaluation and collect transaction information;
智能合约布置单元202,用于资产出售方将收集到的所有交易信息返还给所有的潜在买家,在源区块链系统和目标区块链系统上分别布置资产交换的智能合约;The smart contract arrangement unit 202 is used for the asset seller to return all the collected transaction information to all potential buyers, and arrange smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively;
资产转移和交易单元203,用于买卖双方通过智能合约在最终交易时间之前达成交易,完成双方的资产转移和交易。The asset transfer and transaction unit 203 is used for the buyer and the seller to reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
本发明实施例中的区块链资产跨系统转移装置,用于在区块链系统之间实现资产的点对点、去中心化的资产跨链转移交换。主要包含两个阶段,第一阶段为资产交换,即潜在买家寻找阶段和第二阶段为转移协议,即价值转移阶段。在不破坏区块链系统本身封闭性的前提下,能够让用户的资产在区块链系统之间进行交换。用户通过这一技术方案可以在不同区块链系统之间转移属于自己的价值,能够以符合市场价值关系的比率交换不同系统之间的价值形式。通过优化设计思路,用户可以在不泄露自己信息、只需要给出交易地址的前提下,不需要借助可信第三方,直接与交易方达成点对点之间的价值转移交易。The block chain asset cross-system transfer device in the embodiment of the present invention is used to realize point-to-point, decentralized asset cross-chain transfer and exchange of assets between block chain systems. It mainly consists of two stages, the first stage is asset exchange, that is, the potential buyer search stage and the second stage is the transfer agreement, that is, the value transfer stage. Under the premise of not destroying the closedness of the blockchain system itself, users' assets can be exchanged between blockchain systems. Through this technical solution, users can transfer their own value between different blockchain systems, and can exchange the value form between different systems at a ratio that conforms to the market value relationship. By optimizing the design ideas, users can directly reach a point-to-point value transfer transaction with the transaction party without the need to disclose their own information and only need to give the transaction address without resorting to a trusted third party.
下面以具体实施例,对本发明的区块链资产跨系统转移装置进行详细说明:Hereinafter, the block chain asset cross-system transfer device of the present invention will be described in detail with specific embodiments:
在以代币为价值载体的区块链系统中,由于区块链系统本身的封闭性,这些价值被封闭在区块链系统内部,无法在区块链系统之间进行价值转移。这导致区块链系统之间无法进行有效的价值交换,用户被强绑定在系统内部,无法在区块链系统之间进行操作。这种设计方案客观上能够维护区块链系统本身的稳定性,让系统中的用户来主动维护区块链系统,但也客观上造成了区块链系统之间进行协作的困难,不利于区块链技术的长久发展。In the blockchain system with tokens as the value carrier, due to the closed nature of the blockchain system, these values are enclosed within the blockchain system, and value cannot be transferred between blockchain systems. This results in ineffective value exchange between blockchain systems, and users are strongly bound within the system and cannot operate between blockchain systems. This design scheme can objectively maintain the stability of the blockchain system itself, allowing users in the system to actively maintain the blockchain system, but it also objectively causes difficulties in collaboration between blockchain systems, which is not conducive to the The long-term development of blockchain technology.
针对以上问题,本发明旨在设计一种基于Vickery拍卖机制和Atomic-Swap原子交换技术的区块链资产跨系统转移装置,在不破坏区块链系统本身封闭性的前提下,能够让用户的资产在区块链系统之间进行交换。用户通过这一技术方案可以在不同区块链系统之间转移属于自己的价值,能够以符合市场价值关系的比率交换不同系统之间的价值形式。通过优化设计思路,用户可以在不泄露自己信息、只需要给出交易地址的前提下,不需要借助可信第三方,直接与交易方达成点对点之间的价值转移交易。In view of the above problems, the present invention aims to design a blockchain asset cross-system transfer device based on the Vickery auction mechanism and the Atomic-Swap atomic swap technology, which enables users to Assets are exchanged between blockchain systems. Through this technical solution, users can transfer their own value between different blockchain systems, and can exchange the value form between different systems at a ratio that conforms to the market value relationship. By optimizing the design ideas, users can directly reach a point-to-point value transfer transaction with the transaction party without the need to disclose their own information and only need to give the transaction address without resorting to a trusted third party.
具体参见图4-10,本发明提供了一种区块链资产跨系统转移装置,用于在区块链系统之间实现资产的点对点、去中心化的资产跨链转移交换。主要包含两个阶段,第一阶段为资产交换,即潜在买家寻找阶段和第二阶段为转移协议,即价值转移阶段。4-10, the present invention provides a block chain asset cross-system transfer device for realizing point-to-point, decentralized asset cross-chain transfer and exchange of assets between block chain systems. It mainly consists of two stages, the first stage is asset exchange, that is, the potential buyer search stage and the second stage is the transfer agreement, that is, the value transfer stage.
在第一阶段中,潜在买家寻找单元201用于资产出售方通过广播信息寻找目标区块链系统上的潜在买家,并让所有的潜在买家给出价值评估;在第二阶段中,智能合约布置单元202用于资产出售方将第一阶段中收集到的所有交易信息返还给所有的潜在买家,利用Atomic-Swap原子交换技术在源区块链系统和目标区块链系统上分别布置资产交换的智能合约。资产转移和交易单元203用于买卖双方通过智能合约在最终交易时间之前达成交易,完成双方的资产转移和交易。In the first stage, the potential buyer finding unit 201 is used by the asset seller to find potential buyers on the target blockchain system through broadcast information, and let all potential buyers give value evaluations; in the second stage, The smart contract arrangement unit 202 is used for the asset seller to return all the transaction information collected in the first stage to all potential buyers, using Atomic-Swap atomic swap technology on the source blockchain system and the target blockchain system respectively. Smart contracts that lay out asset exchanges. The asset transfer and transaction unit 203 is used for the buyer and the seller to reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
本发明的核心内容是上述两阶段价值交换协议的设计方法和基于两阶段协议设计的资产转移智能合约设计模式。本发明的预设条件包括:The core content of the present invention is the design method of the above-mentioned two-stage value exchange agreement and the design mode of the asset transfer smart contract based on the design of the two-stage agreement. The preset conditions of the present invention include:
1.不同区块链系统的价值载体之间的价值交换比率是市场交换中自发形成的,市场中的主体对不同价值载体之间的价值判断共同促进了市场中价值交换比率的形成;1. The value exchange ratio between the value carriers of different blockchain systems is formed spontaneously in the market exchange, and the value judgments of the main players in the market between different value carriers jointly promote the formation of the value exchange ratio in the market;
2.所有参与价值交换的主体都能够按照自己的价值判断为被交换资产给出合适的估价,所有主体给出的理性最高估价会逼近市场价值比率的真实值;2. All subjects participating in the value exchange can give appropriate valuations for the exchanged assets according to their own value judgments, and the rational highest valuations given by all subjects will approach the true value of the market value ratio;
3.当参与到价值交换过程中能够获取一定的收益时,区块链系统中的主体会积极主动的参加价值的交换过程;3. When participating in the value exchange process to obtain certain benefits, the subjects in the blockchain system will actively participate in the value exchange process;
4.协议的运行过程依赖于被出售资产本身所包含的价值。一旦市场对被出售资产本身的价值持否定态度,被出售资产无法找到合适的买家进行价值转移。4. The operation of the protocol depends on the value contained in the asset being sold. Once the market has a negative attitude towards the value of the asset being sold itself, the asset being sold cannot find a suitable buyer for value transfer.
潜在买家寻找单元201,潜在买家寻找阶段(即第一阶段)主要流程如下:In the potential buyer search unit 201, the main process of the potential buyer search stage (ie the first stage) is as follows:
1.资产出售方将待转移资产信息发送到目标区块链系统中并进行广播,同时告知潜在买家最终出价的截止时间;1. The asset seller sends the asset information to be transferred to the target blockchain system and broadcasts it, and informs potential buyers of the deadline for final bidding;
2.潜在买家将对目标资产的出价发送到资产出售方;2. Potential buyers send bids for the target asset to the asset seller;
3.资产出售方在截止时间之前收集所有的出价信息;3. The asset seller collects all bidding information before the deadline;
智能合约布置单元202及资产转移和交易单元203,价值转移阶段(即第二阶段)主要流程如下:In the smart contract arrangement unit 202 and the asset transfer and transaction unit 203, the main process of the value transfer stage (ie the second stage) is as follows:
1.资产出售方将第一阶段收集到的所有信息发送给所有的潜在买家,并将胜出者和胜出价格进行标示;1. The asset seller sends all the information collected in the first stage to all potential buyers, and marks the winner and the winning price;
2.资产出售方生成一对公私密钥对,将公钥发送给胜出买家,利用私钥生成出售资产的智能合约,将其发布到卖出的区块链系统上;2. The asset seller generates a pair of public and private keys, sends the public key to the winning buyer, uses the private key to generate a smart contract for selling assets, and publishes it on the selling blockchain system;
3.胜出买家利用公钥生成转移资产的智能合约,将其发布到转移之后的区块链系统上;3. The winning buyer uses the public key to generate a smart contract for transferring assets, and publishes it on the blockchain system after the transfer;
4.资产出售方利用私钥获取到转移之后的区块链系统上的资产;4. The asset seller uses the private key to obtain the assets on the transferred blockchain system;
5.胜出买家利用步骤4中获取到的私钥获取卖出资产。5. The winning buyer uses the private key obtained in step 4 to obtain the sold asset.
实施例3Example 3
一种存储介质,存储介质存储有能够实现上述任意一项区块链资产跨系统转移方法的程序文件。A storage medium storing program files capable of implementing any of the above methods for transferring blockchain assets across systems.
实施例4Example 4
一种处理器,处理器用于运行程序,其中,程序运行时执行上述任意一项的区块链资产跨系统转移方法。A processor is used for running a program, wherein when the program is running, any one of the above-mentioned methods for transferring blockchain assets across systems is executed.
本发明的关键点和欲保护点包括:The key points of the present invention and the points to be protected include:
1.利用Vickery拍卖机制进行资产的市场估价机制;1. Use the Vickery auction mechanism to conduct market valuation of assets;
2.利用Vickery拍卖机制收集到的信息进行资产转移的智能合约生成方法;2. A smart contract generation method for asset transfer using the information collected by the Vickery auction mechanism;
3.资产转移过程中的智能合约实现模型。3. Smart contract implementation model in the process of asset transfer.
本发明的主要优势在于:The main advantages of the present invention are:
1.去中心化。资产出售方和买家之间的信息交流和资产转移都是点对点直接形成的,没有经过任何第三方机构,保证了区块链系统本身的去中心化特性。1. Decentralization. The information exchange and asset transfer between asset sellers and buyers are directly formed point-to-point without any third-party organization, which ensures the decentralization of the blockchain system itself.
2.合理的价值比率。在资产价值跨链转移过程中,价值比率是在拍卖过程中自然形成的,这是一个市场行为,并没有依靠任何第三方机构的信息。经过推导,可以验证随着买家的增多,最终的价值比率收敛于真实的市场价值比率。2. Reasonable value ratio. In the process of asset value cross-chain transfer, the value ratio is naturally formed in the auction process, which is a market behavior and does not rely on any third-party information. After derivation, it can be verified that with the increase of buyers, the final value ratio converges to the true market value ratio.
3.安全性。本发明利用了RSA加密、Atomic-Swap原子交换协议等密码学方法来保证交换过程的安全性、保密性。3. Security. The invention utilizes cryptographic methods such as RSA encryption and Atomic-Swap atomic exchange protocol to ensure the security and confidentiality of the exchange process.
4.隐私保护。用户在资产交换过程中只需要给出资产地址和资产证明,不需要给出特定的身份信息即可完成资产交换,因此保护了用户的隐私安全。4. Privacy protection. In the process of asset exchange, the user only needs to give the asset address and asset certificate, and does not need to give specific identity information to complete the asset exchange, thus protecting the privacy and security of the user.
本发明经过实验验证证明可行。在实验室环境中,验证时搭建了两条以太坊测试链,分别在两条以太坊测试链中部署了相应的区块链资产价值跨链转移智能合约。通过实验,本发明验证了该协议工作的可行性。针对资产跨链转移过程中可能会有多个主体进行竞争的情形,实验表明,最终的价值交换比率接近于真实的市场交换比率,并且随着参与买家的增多快速收敛并趋于稳定。The present invention is proved feasible through experimental verification. In the laboratory environment, two Ethereum test chains were built during verification, and the corresponding blockchain asset value cross-chain transfer smart contracts were deployed in the two Ethereum test chains respectively. Through experiments, the present invention verifies the feasibility of this protocol. Aiming at the situation that there may be multiple players competing in the process of asset cross-chain transfer, experiments show that the final value exchange ratio is close to the real market exchange ratio, and it quickly converges and tends to be stable as the number of participating buyers increases.
本发明的替代方案包括:Alternatives to the present invention include:
1.更换其他加密算法实现资产交换过程中的密钥对;1. Replace other encryption algorithms to realize the key pair in the process of asset exchange;
2.更换其他拍卖机制实现对潜在买家的搜索;2. Replace other auction mechanisms to search for potential buyers;
3.通过其他方式而非Atomic-Swap资产交换方案实现价值的交换。3. Realize the exchange of value through other means other than the Atomic-Swap asset exchange scheme.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的系统实施例仅仅是示意性的,例如单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The system embodiments described above are only illustrative, for example, the division of units may be a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or integrated into Another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of units or modules, and may be in electrical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only
Memory)、随机存取存储器(RAM,Random
Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , which includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes: U disk, Read-Only Memory (ROM, Read-Only Memory)
Memory), random access memory (RAM, Random
Various media that can store program codes, such as Access Memory), mobile hard disks, magnetic disks or CD-ROMs.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are only the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, without departing from the principles of the present invention, several improvements and modifications can be made. It should be regarded as the protection scope of the present invention.
Claims (10)
- 一种区块链资产跨系统转移方法,其特征在于,包括以下步骤:A method for cross-system transfer of blockchain assets, characterized in that it includes the following steps:S101:资产出售方寻找目标区块链系统上的潜在买家,并让所有的潜在买家给出价值评估并进行交易信息收集;S101: The asset seller looks for potential buyers on the target blockchain system, and asks all potential buyers to give value assessments and collect transaction information;S102:资产出售方将收集到的所有交易信息返还给所有的潜在买家,在源区块链系统和目标区块链系统上分别布置资产交换的智能合约;S102: The asset seller returns all the collected transaction information to all potential buyers, and arranges smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively;S103:买卖双方通过智能合约在最终交易时间之前达成交易,完成双方的资产转移和交易。S103: The buyer and the seller reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
- 根据权利要求1所述的区块链资产跨系统转移方法,其特征在于,所述方法具体包括以下步骤:The method for cross-system transfer of blockchain assets according to claim 1, wherein the method specifically comprises the following steps:S101:资产出售方通过广播信息寻找目标区块链系统上的潜在买家,并让所有的潜在买家给出价值评估并进行交易信息收集;S101: The asset seller finds potential buyers on the target blockchain system through broadcast information, and asks all potential buyers to give value assessments and collect transaction information;S102:资产出售方将收集到的所有交易信息返还给所有的潜在买家,利用Atomic-Swap原子交换技术在源区块链系统和目标区块链系统上分别布置资产交换的智能合约;S102: The asset seller returns all the collected transaction information to all potential buyers, and uses Atomic-Swap atomic swap technology to arrange asset exchange smart contracts on the source blockchain system and the target blockchain system respectively;S103:买卖双方通过智能合约在最终交易时间之前达成交易,完成双方的资产转移和交易。S103: The buyer and the seller reach a transaction through the smart contract before the final transaction time to complete the asset transfer and transaction of both parties.
- 根据权利要求1所述的区块链资产跨系统转移方法,其特征在于,步骤S101包括:The method for cross-system transfer of blockchain assets according to claim 1, wherein step S101 comprises:S1011:资产出售方将待转移资产信息发送到目标区块链系统中并进行广播,同时告知潜在买家最终出价的截止时间;S1011: The asset seller sends the asset information to be transferred to the target blockchain system and broadcasts it, and informs potential buyers of the deadline for final bidding;S1012:潜在买家将对目标资产的出价发送到资产出售方;S1012: The potential buyer sends the bid for the target asset to the asset seller;S1013:资产出售方在截止时间之前收集所有的出价信息。S1013: The asset seller collects all bidding information before the deadline.
- 根据权利要求1所述的区块链资产跨系统转移方法,其特征在于,步骤S102包括:The method for cross-system transfer of blockchain assets according to claim 1, wherein step S102 comprises:S1021:资产出售方将收集到的所有信息发送给所有的潜在买家,并将胜出者和胜出价格进行标示;S1021: The asset seller sends all the collected information to all potential buyers, and marks the winner and the winning price;S1022:资产出售方生成一对公私密钥对,将公钥发送给胜出买家,利用私钥生成出售资产的智能合约,将其发布到卖出的区块链系统上;S1022: The asset seller generates a pair of public and private keys, sends the public key to the winning buyer, uses the private key to generate a smart contract for selling the asset, and publishes it on the selling blockchain system;S1023:胜出买家利用公钥生成转移资产的智能合约,将其发布到转移之后的区块链系统上;S1023: The winning buyer uses the public key to generate a smart contract for transferring assets, and publishes it on the blockchain system after the transfer;S1024:资产出售方利用私钥获取到转移之后的区块链系统上的资产;S1024: The asset seller uses the private key to obtain the assets on the transferred blockchain system;S1025:胜出买家利用步骤S1024中获取到的私钥获取卖出资产。S1025: The winning buyer uses the private key obtained in step S1024 to obtain the sold asset.
- 根据权利要求1所述的区块链资产跨系统转移方法,其特征在于,所述方法在步骤S101之前还包括预设条件步骤:The method for cross-system transfer of blockchain assets according to claim 1, characterized in that, before step S101, the method further comprises the step of preset conditions:不同区块链系统的价值载体之间的价值交换比率是市场交换中自发形成的;The value exchange ratio between the value carriers of different blockchain systems is formed spontaneously in the market exchange;所有参与价值交换的主体都能够按照自己的价值判断为被交换资产给出合适的估价,所有主体给出的理性最高估价会逼近市场价值比率的真实值;All subjects participating in the value exchange can give appropriate valuations for the exchanged assets according to their own value judgments, and the rational highest valuations given by all subjects will approach the true value of the market value ratio;当参与到价值交换过程中能够获取收益时,区块链系统中的主体会积极主动的参加价值的交换过程;When participating in the value exchange process to obtain benefits, the subjects in the blockchain system will actively participate in the value exchange process;协议的运行过程依赖于被出售资产本身所包含的价值。The operation of the protocol depends on the value contained in the asset being sold.
- 根据权利要求1所述的区块链资产跨系统转移方法,其特征在于,利用Vickery拍卖机制进行资产的价值估价。The method for cross-system transfer of blockchain assets according to claim 1, wherein a Vickery auction mechanism is used to evaluate the value of the assets.
- 根据权利要求1所述的区块链资产跨系统转移方法,其特征在于,利用Vickery拍卖机制将收集到的信息进行资产转移的智能合约生成。The method for cross-system transfer of blockchain assets according to claim 1, wherein the collected information is used to generate a smart contract for asset transfer by using a Vickery auction mechanism.
- 一种区块链资产跨系统转移装置,其特征在于,包括:A cross-system transfer device for blockchain assets, characterized in that it includes:潜在买家寻找单元,用于资产出售方寻找目标区块链系统上的潜在买家,并让所有的潜在买家给出价值评估并进行交易信息收集;Potential buyer search unit, used by asset sellers to find potential buyers on the target blockchain system, and let all potential buyers give value assessments and collect transaction information;智能合约布置单元,用于资产出售方将收集到的所有交易信息返还给所有的潜在买家,在源区块链系统和目标区块链系统上分别布置资产交换的智能合约;The smart contract arrangement unit is used for the asset seller to return all the collected transaction information to all potential buyers, and arrange the smart contracts for asset exchange on the source blockchain system and the target blockchain system respectively;资产转移和交易单元,用于买卖双方通过智能合约在最终交易时间之前达成交易,完成双方的资产转移和交易。The asset transfer and transaction unit is used for buyers and sellers to reach a transaction through smart contracts before the final transaction time to complete the asset transfer and transaction of both parties.
- 一种存储介质,其特征在于,所述存储介质存储有能够实现权利要求1至7中任意一项所述区块链资产跨系统转移方法的程序文件。A storage medium, characterized in that, the storage medium stores a program file capable of implementing the method for cross-system transfer of blockchain assets according to any one of claims 1 to 7.
- 一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至7中任意一项所述的区块链资产跨系统转移方法。A processor, characterized in that the processor is used to run a program, wherein when the program runs, the method for transferring blockchain assets across systems according to any one of claims 1 to 7 is executed.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011429322.X | 2020-12-09 | ||
CN202011429322.XA CN112465640A (en) | 2020-12-09 | 2020-12-09 | Block chain asset cross-system transfer method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022121011A1 true WO2022121011A1 (en) | 2022-06-16 |
Family
ID=74801696
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/140133 WO2022121011A1 (en) | 2020-12-09 | 2020-12-28 | Cross-system transfer method and apparatus for blockchain assets |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112465640A (en) |
WO (1) | WO2022121011A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102478744B1 (en) * | 2022-09-29 | 2022-12-20 | 주식회사 위메이드 | Method for providing stablecoin service in the blockchain network and blockchain system using the same |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106960388A (en) * | 2017-03-01 | 2017-07-18 | 中钞信用卡产业发展有限公司北京智能卡技术研究院 | The method and apparatus of the digital asset circulation of transregional piece of chain |
CN108600301A (en) * | 2018-03-08 | 2018-09-28 | 青岛墨客区块链有限公司 | A kind of across chain method between block chain and main block chain |
CN109523375A (en) * | 2017-09-20 | 2019-03-26 | 成都高新信息技术研究院 | A kind of decentralization transaction in assets method and system |
CN109685489A (en) * | 2018-12-28 | 2019-04-26 | 杭州云象网络技术有限公司 | A kind of assets across chain method of commerce between block chain |
US20190347655A1 (en) * | 2017-01-27 | 2019-11-14 | nChain Holdings Limited | Computer implemented method and system |
CN111091382A (en) * | 2018-10-24 | 2020-05-01 | 成都高新信息技术研究院 | Block chain asset decentralized cross-chain transaction method and system |
-
2020
- 2020-12-09 CN CN202011429322.XA patent/CN112465640A/en active Pending
- 2020-12-28 WO PCT/CN2020/140133 patent/WO2022121011A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190347655A1 (en) * | 2017-01-27 | 2019-11-14 | nChain Holdings Limited | Computer implemented method and system |
CN106960388A (en) * | 2017-03-01 | 2017-07-18 | 中钞信用卡产业发展有限公司北京智能卡技术研究院 | The method and apparatus of the digital asset circulation of transregional piece of chain |
CN109523375A (en) * | 2017-09-20 | 2019-03-26 | 成都高新信息技术研究院 | A kind of decentralization transaction in assets method and system |
CN108600301A (en) * | 2018-03-08 | 2018-09-28 | 青岛墨客区块链有限公司 | A kind of across chain method between block chain and main block chain |
CN111091382A (en) * | 2018-10-24 | 2020-05-01 | 成都高新信息技术研究院 | Block chain asset decentralized cross-chain transaction method and system |
CN109685489A (en) * | 2018-12-28 | 2019-04-26 | 杭州云象网络技术有限公司 | A kind of assets across chain method of commerce between block chain |
Also Published As
Publication number | Publication date |
---|---|
CN112465640A (en) | 2021-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11893637B2 (en) | Systems and methods for cryptographic trading | |
CN108734576B (en) | Block chain-based educational resource sharing method and system | |
US11366910B2 (en) | Method and system for secure applications using blockchain | |
CN112020705B (en) | Blockchain random timer transaction synchronization | |
Kosba et al. | Hawk: The blockchain model of cryptography and privacy-preserving smart contracts | |
TW436732B (en) | Apparatus and method for communicating between an intelligent agent and client computer process using disguised messages | |
CN110335147A (en) | A kind of digital asset Information Exchange System and method based on block chain | |
CN107454114A (en) | A kind of auction bidding method, server and readable storage medium storing program for executing | |
CN109829767A (en) | A kind of point reward exchanging system and method based on block chain technology | |
TW202009841A (en) | Least decentralized fund trading system and method thereof | |
US20170228705A1 (en) | Secure electronic storage devices for physical delivery of digital currencies when trading | |
CN108009810A (en) | A kind of Trusted Digital transaction in assets method | |
CN112955924A (en) | Block chain-based content sharing creation server, content distribution server and system comprising same | |
CN110135819A (en) | A kind of third party's trust data transaction system and method based on block chain | |
WO2021174778A1 (en) | Blockchain secure transaction method, computer device, and readable storage medium | |
CN112767185B (en) | Reverse warranty financing method, device and storage medium based on blockchain | |
CN108830711A (en) | A kind of energy internet business account book management method and system based on block chain | |
CN107330789B (en) | Digital currency based investment financing transaction method, system and device | |
TW202011312A (en) | Authenticating server and method for transactions on blockchain | |
WO2019242285A1 (en) | Blockchain-based equity asset value token money creating method and system, and blockchain-based equity asset value token money transaction method and system | |
CN111402043A (en) | Internet of vehicles data transaction method based on block chain | |
CN112801778A (en) | Federated bad asset blockchain | |
CN109636610A (en) | A kind of data transacting system and method for decentralization | |
Lin et al. | A Blockchain-enabled decentralized settlement model for IoT data exchange services | |
WO2022121011A1 (en) | Cross-system transfer method and apparatus for blockchain assets |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20964940 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20964940 Country of ref document: EP Kind code of ref document: A1 |