Method, device and equipment for creating block height in chain account book

A ledger and chain technology, applied in the information field, can solve the problem of less information

Active Publication Date: 2019-07-26
ADVANCED NEW TECH CO LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the problem that the block height in the existing block-chain ledger contains less information, the embodiment of this specification provides a block height creation method, device and equipment. The method specifically includes:

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 equipment for creating block height in chain account book
  • Method, device and equipment for creating block height in chain account book
  • Method, device and equipment for creating block height in chain account book

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0103] In one embodiment, for any data block, if there is a receiving timestamp in the data records in the block, then the data records can be sorted according to the receiving timestamp, and each data record can be assigned a sorting sequence number; Alternatively, the sequence numbers can be directly allocated in the order in which the data records are received, and the sequence numbers can be reset after the blocks are formed, so that the sequence numbers can be allocated internally in the next data block.

[0104] After the serial number is determined, the serial number and the hash value can be spliced ​​according to the determined hash value of each data record. Specifically, a substring of a specified length can be added to the head or tail of the hash value to place the serial number to generate a time series hash string of data records, and then, according to the order of the sorted serial numbers, create a block containing data blocks The first index table of the cor...

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 method, a device and equipment for creating block height in a chain account book. Through converting a block timestamp of a data block into large integer data, the large integer data monotonically increases, and the large integer is used as the block height of the data block. Therefore, the block height not only reflects the sequence of the data blocks in the chain account book, but also contains the generation time of the data blocks.

Description

technical field [0001] The embodiment of this specification relates to the field of information technology, and in particular to a method, device and equipment for creating a block height in a chain ledger. Background technique [0002] When using block-chain ledgers to store data, a ledger usually contains multiple consecutive data blocks. In practical applications, natural sequence numbers are often used to number data blocks. For example, the block height of the initial data block is 1, and the block height is increased by 1 for each subsequent data block. Since the block height can be used to identify the data block, the information of the block height is often used in the data operation of the ledger. However, in this identification method, the block high school can reflect less information. [0003] Based on this, a block height creation method that can contain more effective information is needed. Contents of the invention [0004] In view of the problem that th...

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): H04L9/32H04L29/06
CPCH04L9/3297H04L9/3247H04L9/3236H04L63/0435H04L2209/72H04L9/50
Inventor 杨新颖
Owner ADVANCED NEW 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