Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method for capturing and analyzing block chain ledger data

A technology of data capture and analysis method, applied in the field of blockchain, which can solve storage expansion and read and write performance bottlenecks, blockchain data query ledger information is not convenient enough, data storage scalability and data query service performance are difficult to meet and other issues to achieve the effect of improving read and write performance

Active Publication Date: 2022-04-01
CHINA ELECTRONICS TECH CYBER SECURITY CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The blockchain system provides a query service for ledger data, but there is no convenient analysis and query service for the query presentation of blocks and transaction data and related statistical information. At the same time, the blockchain itself is also a growing data. Continuously accumulating systems, especially in application scenarios with a large amount of transaction data, the rapid growth of data, the scalability of data storage and the performance of data query services are difficult to meet
[0003] The current blockchain data query account book information is not convenient enough, and it cannot provide block and hash query services for blockchain data well, and the account book data continues to accumulate over time, and the subsequent data is getting larger and larger. Both capacity expansion and read / write performance will encounter bottlenecks

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
  • A method for capturing and analyzing block chain ledger data
  • A method for capturing and analyzing block chain ledger data
  • A method for capturing and analyzing block chain ledger data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] All features disclosed in all embodiments in this specification, or steps in all implicitly disclosed methods or processes, except for mutually exclusive features and / or steps, can be combined and / or extended and replaced in any way.

[0051] Such as Figure 1~4 As shown, a method for capturing and analyzing blockchain ledger data includes steps:

[0052] S1, specify the blockchain node that needs to be captured and analyzed, establish a connection with the blockchain node, and obtain all channels in the node; start a data capture thread for each channel, register an event listener, and monitor the channel's block event , to capture the ledger data;

[0053] S2, after capturing the ledger data, analyze it, and analyze the block and transaction data;

[0054] S3 stores the parsed data in sub-databases and tables according to channels, block hashes, and transaction hashes;

[0055] S4, expand the database; when there are more and more data in the ledger, expand the dat...

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 for capturing and analyzing block chain ledger data, including steps: S1, designate a block chain node that needs to be captured and analyzed, establish a connection with the block chain node, and obtain all channels in the node; Each channel starts the capture data thread, registers the event listener, listens to the block event of the channel, and captures the ledger data; S2, after capturing the ledger data, parses it, and parses out the block and transaction data; S3, the The parsed data is stored in sub-databases and tables according to channels, block hashes, and transaction hashes; S4, expands the database; S5, migrates data, etc.; the present invention provides blocks and transaction data for the blockchain system Analysis, storage, and query services, data are partitioned and stored according to different blockchain channels, and the storage can be dynamically expanded and migrated, and at the same time, the pressure of data access can be evenly shared, and the read and write performance can be improved.

Description

technical field [0001] The present invention relates to the technical field of blockchain, and more specifically, to a method for capturing and analyzing blockchain account book data. Background technique [0002] The core concept of the blockchain is a distributed ledger. The same full amount of transaction ledger data is stored in any node. The ledger is a time-series linked list composed of multiple blocks, and each block contains multiple transactions. The linked list formed. The blockchain system provides a query service for ledger data, but there is no convenient analysis and query service for the query presentation of blocks and transaction data and related statistical information. At the same time, the blockchain itself is also a growing data. The accumulative system, especially in the application scenario with a large amount of transaction data, the rapid growth of data, the scalability of data storage and the performance of data query services are difficult to mee...

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 Patents(China)
IPC IPC(8): G06F16/27G06F16/21G06F16/22G06F16/2458
CPCG06F16/27G06F16/21G06F16/214G06F16/2471G06F16/2282
Inventor 曾青海赵小峰白健安红章
Owner CHINA ELECTRONICS TECH CYBER SECURITY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products