Block chain transaction data acquisition method and device, electronic equipment and storage medium
By building a request tracking tree in the synchronization middleware and calculating the synchronous semaphore, the problem of lack of synchronous signals in the blockchain transaction data acquisition tool is solved, and the rapid response and efficient data processing of downstream processing units are realized.
CN119646282AActive Publication Date: 2025-03-18SUN YAT SEN UNIV
4 Cites 0 Cited by
Patent Information
- Application Number
- CN202411820178.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-12-11
AI Technical Summary
Technical Problem
The existing blockchain transaction data acquisition tools lack synchronization signals, which makes it difficult for downstream processing units to understand the data acquisition situation, thereby slowing down the task process.
Method used
The request tracking tree is built in the synchronization middleware, and the data acquisition situation is determined by calculating the synchronous semaphore, and the transaction data items are transmitted to the downstream processing unit according to the semaphore.
Benefits of technology
It realizes that the downstream processing unit can quickly understand the transaction data acquisition progress, improve response efficiency, and reduce time loss.
✦ Generated by Eureka AI based on patent content.
Abstract
The invention discloses a block chain transaction data acquisition method, which comprises the following steps that: a server initiates a data acquisition initial request to a block chain, when the server receives a response returned by the block chain, the server generates a transaction data item and a new data acquisition request and synchronizes the transaction data item and the new data acquisition request to synchronous middleware, and the synchronous middleware constructs a request tracking tree; the synchronization semaphore is calculated in the request tracking tree according to the completion condition of each data acquisition sub-request, so that the downstream processing unit can know the acquisition progress of the transaction data through the synchronization semaphore, the transaction data can be processed or stored after all the data in the block are acquired, and the response efficiency of the downstream processing unit is improved; according to the further embodiment, the invention further provides a scheme for performing path compression on the request tracking tree, the query speed is increased, and the storage memory of the request tracking tree is reduced.
Need to check novelty before this filing date? Find Prior Art