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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com