Blockchain-based transaction method and a blockchain-based transaction system

A transaction method and transaction system technology, applied in the payment system and other directions, can solve the problems of low energy investment income ratio, more resources, and large computing power consumption, and achieve the effect of improving transmission efficiency, reducing storage space, and high security.

Active Publication Date: 2019-05-17
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF7 Cites 36 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Miners continue to invest resources in mining in order to obtain mining rewards. Although this mechanism can ensure the security and sustainable development of the blockchain to a certain extent, at the same time, more and more resources are invested in absenteeism, which consumes a lot of energy. Return on investment ratio is getting lower and lower
Moreover, this method of consuming a large amount of computing power to compete for bookkeeping rights will increase the communication burden of the blockchain and the size of the block because the current public key and signature length of the blockchain are too long, which will greatly reduce the blockchain. transmission efficiency

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
  • Blockchain-based transaction method and a blockchain-based transaction system
  • Blockchain-based transaction method and a blockchain-based transaction system
  • Blockchain-based transaction method and a blockchain-based transaction system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] Such as figure 1 As shown, the block chain-based transaction method provided in this embodiment includes the following steps:

[0066] Step S1): Each node broadcasts its own blockchain identification and public key to the blockchain after signing it with its own private key;

[0067] Step S2): A certain transaction node initiates a transaction, uses the key to calculate the hash value of the transaction (the first calculated hash value, that is, the first hash value), and uses the transaction message and the first hash value Your own private key is signed and broadcast to the blockchain;

[0068] Step S3): other nodes use the shared session key with the transaction node to recalculate the hash value of the transaction (the hash value obtained by calculation again, that is, the re-hash value), and verify the initial hash value and the re-hash value Whether they are the same, and broadcast the verification result to the blockchain after signing it with its own private key;

[00...

Embodiment 2

[0077] For a new node that has just joined the blockchain or a node that has not established a shared session password with other nodes, this embodiment provides a blockchain-based transaction method, such as image 3 As shown, the method includes the following steps:

[0078] Step S1): Each node broadcasts its own blockchain identification and public key to the blockchain after signing it with its own private key.

[0079] In this step, when a new first node A is added to the blockchain, the node locally generates its own public key and private key key pair, and sends a broadcast message to identify its own blockchain And the public key is broadcast to the blockchain, and the broadcast message is signed with the private key of the new node and then broadcast.

[0080] Step S2): Any pair of nodes in the blockchain performs key exchange through a non-blockchain network, and establishes a shared session key between the pair of nodes and only between the pair of nodes.

[0081] In this s...

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 belongs to the technical field of block chains, and relates to a block chain-based transaction method and a block chain-based transaction system. The method comprises the following steps: each node signs a block chain identifier and a public key of the node by using a private key of the node and broadcasts the block chain identifier and the public key to a block chain; A certain transaction node initiates a transaction, calculates a Hash value of the transaction by adopting a secret key, signs the transaction message and the primary Hash value by using a private key of the transaction node, and broadcasts the transaction message and the primary Hash value to the block chain; The other nodes calculate the Hash value of the transaction again by adopting the shared session key with the transaction node, verify whether the primary Hash value is the same as the secondary Hash value or not, and broadcast the verification result to the block chain after using the own private keyto sign the verification result; And the accounting node counts whether the verification result is passed or not within a preset time threshold range of the transaction initiated by the transaction node, and establishes a consensus mechanism according to the verification result which is the passed accumulated number. The communication burden of the block chain and the size of the block can be reduced, and the transmission efficiency of the block chain is greatly improved.

Description

Technical field [0001] The invention belongs to the field of blockchain technology, and specifically relates to a blockchain-based transaction method and a blockchain-based transaction system. Background technique [0002] The basic idea of ​​Blockchain is to ensure the authenticity and immutability of information by establishing a set of public ledgers on the Internet, and all users in the network can jointly record and verify accounts on the ledgers. As the name suggests, the "block" chain is because its data storage structure is composed of a chain of "storage blocks" on the network, and each block contains all the information exchange data in the network within a certain period of time. Over time, this chain will continue to grow. The blockchain is essentially a decentralized database. In a narrow sense, a blockchain is a chained data structure that combines data blocks in a sequential manner in a chronological order, and is a distributed ledger that cannot be tampered with...

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
Inventor 田新雪肖征荣马书惠
Owner CHINA UNITED NETWORK COMM GRP 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