Cross-chain digital currency exchange method and device, computer system and storage medium

A digital currency and currency technology, applied in payment systems, payment circuits, etc., can solve problems such as large organizations, inconsistent social interests, and limited efficiency, and achieve the effects of preventing trust crisis, eliminating monopoly operations, and ensuring fairness.

Pending Publication Date: 2019-06-14
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF11 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to meet the trust requirements, these organizations and institutions have huge organizations and detailed and complicated processes, resulting in high operating costs and limited efficiency.
More importantly, the centralized organization brings the concentration of power and information to the organization itself, which may cause the organization's own interests to be inconsistent with social interests, or the organization's own negligence or malicious violations may have serious consequences

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cross-chain digital currency exchange method and device, computer system and storage medium
  • Cross-chain digital currency exchange method and device, computer system and storage medium
  • Cross-chain digital currency exchange method and device, computer system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0075] refer to figure 1 , which shows a cross-chain digital currency exchange method of the present invention, including the following steps:

[0076] S1. Send the transaction offer from the transaction sender on the second blockchain to the transaction receiver on the first blockchain. The transaction offer includes: the exchange amount of the first currency expected to be exchanged, the exchange ratio and the transaction sender Account address on the first blockchain. For example, suppose A holds C1 currency on the C1 chain, B holds C2 currency on the C2 chain, and B sends a transaction invitation to A. The transaction invitation includes the following content: If A transfers to B’s account address on the C1 chain The amount of C1 currency is X, then B will transfer C2 currency to A on the C2 chain according to the conversion ratio K.

[0077] S2, judging whether the exchange instruction corresponding to the transaction offer has been received, and if so, execute step S3,...

Embodiment 2

[0103] refer to figure 2 , shows a cross-chain digital currency exchange device 10 of the present invention, including:

[0104] The transaction offer sending module 11 is used to send the transaction offer from the transaction sender on the second block chain to the transaction receiver on the first block chain. The transaction offer includes: the exchange amount of the first currency expected to be exchanged, The conversion ratio and the account address of the transaction sender on the first blockchain;

[0105] The exchange instruction receiving judging module 12 is used to judge whether the exchange instruction corresponding to the transaction offer is received, and the exchange instruction includes the account address of the transaction receiver on the second block chain;

[0106] The transfer module 13 is used to transfer the first currency of the aforementioned conversion amount from the account of the transaction receiver on the first block chain to the transaction s...

Embodiment 3

[0128] This embodiment also provides a computer system, the computer system includes a plurality of computer equipment 20, the components of the cross-chain digital currency exchange device 10 in the second embodiment can be dispersed in different computer equipment 20, and the computer equipment 20 can be executed Smartphones, tablet computers, laptops, desktop computers, rack servers, blade servers, tower servers or rack servers (including independent servers, or server clusters composed of multiple servers), etc. The computer device 20 of this embodiment at least includes but is not limited to: a memory 21 and a processor 22 that can communicate with each other through a system bus, such as Figure 7 shown. It should be pointed out that, Figure 7 Only computer device 20 is shown having components 21-22, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.

[0129...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a cross-chain digital currency exchange method and device, a computer system and a storage system. The method comprises the steps of sending a transaction invitation from a transaction sender on a second block chain to a transaction receiver on a first block chain; judging whether an exchange instruction is received or not; transferring the exchanged number of first currencies from the account of the transaction receiver on the first block chain to the account address of the transaction sender on the first block chain to generate a transaction; incorporating the transaction into a first block on a first block chain; generating an authentication value sequence corresponding to the transaction; sending the first block head of the block, the authentication value sequence and the account address of the transaction receiver on the second block chain to the second block chain; and executing the smart contract on the second block chain to verify the transaction, and ifthe verification is passed, transferring the second currency from the account of the transaction sender on the second block chain to the account address of the transaction receiver on the second blockchain. According to the invention, the monopoly operation of a centralized transaction station is eliminated.

Description

technical field [0001] The present invention relates to the technical field of block chains, in particular to a cross-chain digital currency exchange method, device, computer system and storage medium. Background technique [0002] The convenient transaction of various assets and the free circulation of currency are the cornerstones of modern commercial society. The common basis of asset transactions and currency circulation is trust in value, transaction parties and transaction rules. However, in order to build trust, especially the trust between unfamiliar transaction parties and the trust in the reliability of assets, the society has paid a very high price, and various centralized large-scale organizations and various government regulatory agencies have been established. Free and convenient asset transactions are realized through trust in the credibility of large institutions and governments. For example, various stock and commodity trading markets, large commercial ban...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q20/06G06Q20/38
Inventor 吴贞海
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products