Block chain data indexing and querying method, device, equipment and storage media
A technology for data indexing and data query, applied in the computer field, can solve the problems of low data query efficiency of blockchain and inability to effectively query blockchain data, and achieve the effect of improving data query efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It shows the implementation process of the blockchain data indexing method provided by Embodiment 1 of the present invention. For the convenience of explanation, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
[0029] In step S101, the transaction data in the preset block chain is traversed to obtain a data pattern group in the transaction data that conforms to the preset longest frequent common pattern, and the data pattern group includes multiple data patterns.
[0030] In the embodiment of the present invention, the data pattern embodies the structural form of the data, the data pattern group includes multiple data patterns, the longest frequent common pattern refers to a group of data patterns, and this group of data patterns consists of no less than m data patterns Composition, and this group of data patterns appear at least k times at the same time. When a blockchain data index request is rece...
Embodiment 2
[0040] figure 2 It shows the implementation flow of the blockchain data query method provided by the second embodiment of the present invention. For the convenience of explanation, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
[0041] In step S201, a blockchain data query request input by a user is received, and query keywords included in the blockchain data query request are obtained.
[0042] The embodiment of the present invention is applicable to the blockchain, especially applicable to the blockchain with the corresponding index view chain obtained by using the first embodiment of the present invention, so that it is convenient for the user to query the transaction data in the blockchain. In the embodiment of the present invention, before receiving the blockchain data query request input by the user, first traverse the transaction data in the blockchain, obtain the data pattern group in the transaction data ...
Embodiment 3
[0048] image 3 The structure of the blockchain data indexing device provided by the third embodiment of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown, including:
[0049] The pattern group acquisition unit 31 is configured to traverse the transaction data in the preset block chain, and obtain the data pattern group in the transaction data that conforms to the preset longest frequent common pattern, and the data pattern group includes multiple data patterns.
[0050] In the embodiment of the present invention, when a block chain data index request is received, the pattern group acquisition unit 31 traverses the transaction data in the preset block chain, and obtains the data pattern group in the transaction data that conforms to the preset longest frequent common pattern , that is, to obtain the frequently used data pattern groups in the blockchain transaction data, so as to ensur...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com