Efficient and credible indexing method for block chain data
A blockchain and indexing technology, applied in database indexing, digital data information retrieval, structured data retrieval, etc., can solve problems such as limited retrieval efficiency, insufficient query reliability, and inability to determine target data blocks. The effect of improving efficiency and improving query reliability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] See the example Figure 1-4 , aiming at problems such as low retrieval efficiency caused by traversing blocks and insufficient credibility of query results in existing blockchain data keyword retrieval methods, the present invention provides a highly efficient and reliable blockchain data indexing method, specific steps as described below.
[0052] Step 1: Common nodes in the blockchain network generate data records identified by keywords (Key), and the format of the data records is as follows: figure 1 shown, including:
[0053] 1-1: Generate default information, including data generation timestamp (Time), data owner's ScriptPubK (data owner's public key) and other permission information;
[0054] 1-2: The data record identified by the keyword (Key) includes a Key value (key value), specify the Key value (key value) identified by the data record and its data precursor (PreHash), if the key (Key) appears for the first time, then the data precursor (PreHash) is Null (...
Embodiment 2
[0074] See Example 2 Figure 5-8 .
[0075] Step 1: Common nodes in the blockchain network generate data records identified by keywords to Figure 5 A few pieces of data are taken as examples.
[0076] Step 2: The storage nodes in the blockchain network collect data records identified by keywords generated by ordinary nodes in the network within a period of time. Here, the four pieces of data in the above figure are taken as an example, that is, the four pieces of data in the above figure are collected within a period of time. After the data is verified, it is packaged into blocks, and the blocks are broadcast to the storage nodes of the entire network for consensus verification.
[0077] Step 3: Each storage node updates the index according to the new block after consensus verification, including:
[0078] 3-1: Each storage node constructs an index within the block for the effective new block after consensus verification. The construction rules are the same as those of the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


