Decentralized transaction method and device based on block chain and electronic device

A technology of decentralization and transaction method, applied in the field of blockchain, can solve the problems of difficult matching system, consensus realization, high transaction costs, etc., to achieve the effect of full liquidity and security

Pending Publication Date: 2020-09-01
海南趣块飞扬科技有限公司
View PDF28 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the inventors of this application found in the specific implementation process that: when the existing blockchain-based decentralized trading platforms conduct transactions, not only will the matching system be difficult to achieve through consensus due to network delays, but also the liquidity is very low. Poor, will generate high transaction costs, resulting in uncompetitive decentralized trading platform, therefore, in urgent need of a new blockchain-based decentralized trading platform

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
  • Decentralized transaction method and device based on block chain and electronic device
  • Decentralized transaction method and device based on block chain and electronic device
  • Decentralized transaction method and device based on block chain and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] The embodiment of this application provides a blockchain-based decentralized transaction method, which is applied to blockchain servers, such as figure 1 shown, including:

[0047] Step S110, when a transaction request initiated by any first account in the blockchain based on the smart contract is detected, the transaction request is sent to the off-chain server of the blockchain, so that the off-chain server performs matching.

[0048]Specifically, any user needs to pre-register a corresponding transaction account (such as the above-mentioned first account) in the blockchain before initiating a transaction, and at the same time, store a certain amount of digital assets (such as A currency) in the transaction account, This is similar to recharging in the traditional sense, that is, recharging a certain amount of A currency into the trading account, for example, recharging 100 A, for subsequent digital asset transactions.

[0049] Further, after the user registers the c...

Embodiment 2

[0088] image 3 A schematic diagram of the basic structure of a blockchain-based decentralized transaction device provided in the embodiment of this application, as shown in image 3 As shown, the device 30 may include a sending module 31 and a processing module 32, wherein:

[0089] The sending module 31 is used to detect the transaction request initiated by any first account in the blockchain based on the smart contract, and send the transaction request to the off-chain server of the blockchain, so that the off-chain server performs matching;

[0090] The processing module 32 is used to receive the matching result returned by the off-chain server for the transaction request, and conduct the on-chain transaction through the smart contract according to the matching result.

[0091] Compared with the prior art, the device provided by the embodiment of this application sends the transaction request initiated by any first account in the blockchain to the off-chain server of the ...

Embodiment 3

[0104] The embodiment of the present application provides an electronic device, such as Figure 5 as shown, Figure 5 The electronic device 500 shown includes: a processor 501 and a memory 503 . Wherein, the processor 501 is connected to the memory 503 , such as through a bus 502 . Further, the electronic device 500 may further include a transceiver 504 . It should be noted that, in practical applications, the transceiver 504 is not limited to one, and the structure of the electronic device 500 does not limit the embodiment of the present application.

[0105] Among them, the processor 501 is applied in the embodiment of the present application to realize image 3 or the functions of the sending module and the processing module shown in 4, and are used to realize Figure 4 The functions of the extraction module and the allocation module are shown.

[0106] The processor 501 may be a CPU, a general processor, DSP, ASIC, FPGA or other programmable logic devices, transistor ...

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 relates to the technical field of block chains, and discloses a decentralized transaction method and device based on a block chain and an electronic device. The decentralized transactionmethod based on the block chain is applied to a block chain server, and comprises the following steps: when a transaction request initiated by any first account in the block chain based on an intelligent contract is detected, sending the transaction request to an off-chain server of the block chain, so that the off-chain server performs matching; and receiving a matching result returned by the off-chain server for the transaction request, and performing on-chain transaction through the smart contract according to the matching result. According to the method, asset trusteeship, asset clearingand the like are executed on the block chain, not only is the security of the digital assets of the user ensured, but also each transaction is recorded on the block chain and displayed to all the users, so that the whole transaction process is public and transparent, the privacy of the users is not leaked excessively, and the transaction is carried out on the premise of ensuring the user information.

Description

technical field [0001] The present application relates to the technical field of block chain, specifically, the present application relates to a decentralized transaction method, device and electronic equipment based on block chain. Background technique [0002] The current mainstream trading platforms are all centralized. The centralized trading platform covers the entire transaction process of account opening, recharge, automatic transfer, transaction, and cash withdrawal. , the trading platform becomes the custodian of the user's digital assets and controls the digital assets. [0003] With the increase in the number of digital asset transactions, the limitations of centralized trading platforms are becoming more and more severe. Since all digital assets are hosted on the trading platform, when the trading platform is attacked by outsiders, user data assets are often not guaranteed. A large number of human-made security accidents cause great economic losses to users, and...

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/38
CPCG06Q20/3829
Inventor 洪志雄
Owner 海南趣块飞扬科技有限公司
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