Unlock instant, AI-driven research and patent intelligence for your innovation.

Block chain consensus node to-be-packaged data selection method based on genetic algorithm

A technology of packaging data and genetic algorithm, which is applied in the field of data selection of block chain consensus nodes based on genetic algorithm, can solve the problem that the data to be packaged is not the optimal solution, and achieve the effect of great value

Pending Publication Date: 2021-07-23
UNIV OF ELECTRONICS SCI & TECH OF CHINA +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to solve the problem that the selection of data to be packaged by traditional mining nodes is not the optimal solution, and proposes a method for selecting data to be packaged by blockchain consensus nodes based on genetic algorithms

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
  • Block chain consensus node to-be-packaged data selection method based on genetic algorithm
  • Block chain consensus node to-be-packaged data selection method based on genetic algorithm
  • Block chain consensus node to-be-packaged data selection method based on genetic algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] Embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0063] Before describing the specific embodiments of the present invention, in order to make the scheme of the present invention more clear and complete, at first the abbreviations and key term definitions that appear in the present invention are explained:

[0064] UTXO model: The UTXO model expresses the transfer of assets as the input of Tx data to be packaged and the output of Tx data to be packaged. The unspent Tx output of data to be packaged is used as the input of another data Tx to be packaged. The data Tx to be packed is divided into two parts, input and output. The Tx input of the data to be packed consumes the UTXO model, indicating the source of the input, and the Tx output of the data to be packed generates a new UTXO, indicating the purpose of the Tx to be packed. One UTXO cannot be used as the input of multiple data Tx to be packaged, ot...

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 discloses a block chain consensus node to-be-packaged data selection method based on a genetic algorithm, and the method comprises the following steps: S1, receiving to-be-packaged data from a P2P network by a miner, and obtaining a volume maximum value, a dust threshold value and an output value of each piece of to-be-packaged data; s2, verifying the legality of each piece of data to be packaged, and putting the data to be packaged into a data pool to be packaged; s3, obtaining legal to-be-packaged data from the to-be-packaged data pool by using a miner, obtaining an excitation value and a volume of each piece of legal to-be-packaged data, and giving a block capacity, a maximum number of iterations of a genetic algorithm, a crossover probability and a mutation probability; and S4, determining the to-be-packaged data combination with the highest total excitation value by using a genetic algorithm, and completing the selection of the to-be-packaged data. According to the method, the genetic algorithm is used, the optimal solution with the maximum excitation value in the process that the miner selects the to-be-packaged data and packages the to-be-packaged data into the block is solved, and therefore the excitation value obtained in the mining process of the miner is increased.

Description

technical field [0001] The invention belongs to the technical field of block chains, and in particular relates to a method for selecting data to be packaged at block chain consensus nodes based on a genetic algorithm. Background technique [0002] Blockchain technology records all past information transmission records and historical data by establishing a database that is jointly maintained and cannot be tampered with. All data is stored in a distributed manner and is open and transparent. Under this technology, any network users who do not know each other can reach a credit consensus through contracts, point-to-point storage and digital encryption, without any central trust agency. Under this technology, digital currency, digital assets, smart property, and smart contracts can be established. [0003] Blockchain is essentially a distributed ledger database of a peer-to-peer network (peer-to-peer), which itself is actually a series of linked data blocks, whose link pointers...

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): G06N3/12G06F16/27H04L29/08
CPCG06N3/126G06F16/27H04L67/104
Inventor 武畅张康魏学麟俞浩然刘思言张莹
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA