Method, device and electronic system for block chain parallel transaction

A blockchain and transaction technology, applied in the network field, can solve problems such as inability to perform parallel transactions, and achieve the effect of reducing the difficulty of verifying the uniqueness of transactions, improving transaction performance, and reducing difficulty

Pending Publication Date: 2018-12-21
HANGZHOU RIVTOWER TECH CO LTD
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a method, device and electronic system for block chain parallel transactions to solve the problem in the prior art that parallel transactions cannot be performed in order to prevent replay attacks and ensure the uniqueness of transactions

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
  • Method, device and electronic system for block chain parallel transaction
  • Method, device and electronic system for block chain parallel transaction
  • Method, device and electronic system for block chain parallel transaction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] figure 1 A flow chart of a method for parallel blockchain transactions provided by the embodiment of this application, used for at least one user to initiate two or more transactions, the two or more transactions include the first transaction and the second transaction, such as figure 1 shown, including the following steps:

[0053] S101. At least one user initiates a first transaction.

[0054] Among them, the embodiment of the present application is especially suitable for the scenario where one user makes multiple transactions.

[0055] S102. The transaction generation unit generates a first transaction random number for the first transaction, and sets a first transaction validity period.

[0056] The transaction generation unit adds two data fields to the transaction data for storing the unique identifier of the first transaction: the random number of the first transaction and the validity period of the first transaction. Wherein, the transaction generation unit ...

Embodiment 2

[0081] Refer below Figure 4 The electronic system of the embodiment of this specification is introduced in detail. Please refer to Figure 4 , at the hardware level, the electronic system includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Wherein, the memory may include a memory, such as a high-speed random-access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (Non-Volatile Memory), such as at least one disk memory. Of course, the electronic system may also include hardware required by other services.

[0082] The processor, network interface, and memory may be interconnected via an internal bus, which may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an extended industry standard Structure (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For convenience, ...

Embodiment 3

[0089] The embodiment of this specification also provides a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by an electronic system including a plurality of application programs, the The electronic system executes the method described in the first embodiment. I won't repeat them here.

[0090] Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

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 embodiment of the present application discloses a method, an apparatus and an electronic system for block chain parallel transaction, which are used for at least two or more transactions initiatedby one user. The two or more transactions include at least a first transaction and a second transaction. The transaction verification unit and the transaction generation unit independently execute respective steps in parallel. The transaction generation unit is configured to generate a respective unique identifier for each transaction, wherein the unique identifier includes a transaction random number corresponding to each transaction and a transaction validity period, and the transaction generation unit writes the unique identifier of each transaction into transaction data of each transaction. The transaction verification unit is configured to verify whether the transaction is valid within the validity period of each transaction. Thus, the uniqueness of the transaction is ensured, the parallelism of the transaction is realized, and the performance of the block chain transaction is improved.

Description

technical field [0001] The present application relates to the field of network technology, in particular to a method, device and electronic system for block chain parallel transactions. Background technique [0002] Blockchain is essentially a decentralized database, which is a series of associated data blocks generated by cryptographic methods, and each data block contains the information of the entire network transaction within a certain period of time. Bitcoin (BitCoin, BTC) is a P2P (Peerto Peer, P2P for short, peer-to-peer network or peer-to-peer) electronic currency based on blockchain technology, which is based on the account of the unspent transaction output (Unspent Transaction Output, UTXO, TX stands for transaction) , the transaction consists of UTXO. Because the UTXO is invalid after being consumed, the transaction can be considered unique and unique, but it cannot send the funds in the same UTXO account to two target accounts in parallel at the same time. [0...

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/38G06Q40/04G06Q20/06
CPCG06Q20/065G06Q20/3827G06Q40/04
Inventor 谢晗剑李耀荣张亚宁
Owner HANGZHOU RIVTOWER TECH CO LTD
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