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

Block generation method, device and equipment based on block chain, and storage medium

A blockchain and block technology, applied in the blockchain field, can solve problems such as difficult self-adaptation and low latency

Pending Publication Date: 2019-10-08
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In practical application scenarios, resource transfer frequency often changes dynamically. High frequency should have high throughput, and low frequency should have low latency. However, the current block generation strategy is difficult to adapt to such scenarios.

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 generation method, device and equipment based on block chain, and storage medium
  • Block generation method, device and equipment based on block chain, and storage medium
  • Block generation method, device and equipment based on block chain, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention provides a blockchain-based block generation method, device, equipment, and storage medium, which are used to meet the high throughput requirements under high-frequency resource transfer and low-delay requirements under low-frequency resource transfer, and improve the efficiency of generating blocks. efficiency.

[0029] In order to enable those skilled in the art to better understand the solutions of the present invention, the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0030] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments describe...

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, discloses block generation method, device and equipment based on a block chain, and a storage medium, for meeting the high throughput requirement under high-frequency resource transfer and the low delay requirement under low-frequency resource transfer and improving the block generation efficiency. The block generation method comprisesthe following steps: creating a data cache queue and an atomic counter, wherein the data cache queue comprises to-be-packaged resource transfer data; associating the data cache queue with an atomic counter, and determining an initial value of the atomic counter; generating a first thread and a second thread, the first thread being used for increasing the number of to-be-packaged resource transferdata in the data cache queue, and the second thread being used for reducing the number of to-be-packaged resource transfer data in the data cache queue; adjusting the number of to-be-packaged resourcetransfer data through the first thread and the second thread, and adjusting the initial value of the atomic counter to be a target value; and packaging the to-be-packaged resource transfer data according to a preset condition to generate a target block.

Description

technical field [0001] The present invention relates to the technical field of block chains, in particular to block generation methods, devices, equipment and storage media based on block chains. Background technique [0002] Blockchain is a chained data structure that combines data blocks in a sequential manner in chronological order, and is a cryptographically guaranteed non-tamperable and unforgeable distributed ledger. Blockchain technology refers to a technical solution for collectively maintaining a reliable database through decentralization and trustlessness. Simply put, blockchain technology is a way for all people to participate in bookkeeping. There is a database behind all the systems, and the database can be regarded as a large ledger. Currently, each system keeps its own account. But in the blockchain system, everyone can come to bookkeeping (resource transfer), and the system will choose the person with the fastest and best bookkeeping, write the contents of ...

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): G06F16/27G06F9/54H04L12/861
CPCG06F16/27G06F9/546H04L49/90G06F2209/548H04L9/50
Inventor 张培培褚镇飞
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN