Unlock instant, AI-driven research and patent intelligence for your innovation.

A Fast Retrieval Method for Block Chain

A blockchain and block technology, applied in the blockchain field, can solve problems such as time consumption, low efficiency, and restrictions on the promotion and application of blockchain technology, and achieve the effects of expanding application fields, improving retrieval efficiency, and protecting privacy

Inactive Publication Date: 2019-03-22
HEFEI UNIV
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the blockchain that supports "Bitcoin" transactions, the retrieval of the blockchain can only be retrieved sequentially from the "end of the chain" to the "head of the chain". When the number of blocks in the chain is very large, an early block can be retrieved (Blocks close to the head of the chain) will consume a considerable amount of time, and block retrieval is the basis for blockchain to provide related technical services. The existing sequential retrieval methods lead to unbalanced and inefficient block retrieval time , limiting the popularization and application of blockchain technology

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 Fast Retrieval Method for Block Chain
  • A Fast Retrieval Method for Block Chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, so as to make a clearer and clearer definition of the protection scope of the present invention.

[0027] See figure 1 , The embodiment of the present invention includes:

[0028] A fast retrieval method for blockchain, including the following steps:

[0029] S1: When the blockchain system performs block storage, the block name of the block and the addresses corresponding to all transaction participants in the block are stored in the block name file;

[0030] In the normal block storage process, obtain the file name of the block (for example: blk00008.dat), extract the "addresses" of all transaction participants in the block, and store them in the "block name file" so that the "zone The block name of the block and all transaction pa...

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 block chain quick retrieval method, comprising the following steps: S1, when the block chain system stores the block, the block name of the block and the addresses corresponding to all transaction participants of the block are stored in the block name file; S2, the block name is stored in the block name file; S2, when the names of one or more designated transaction participants are input, the addresses of each transaction participant are respectively obtained by searching user files; S3: the block name file through the address is retrieved, and a block name list matched with the input condition is acuiqred; S4: The block chain system parses the corresponding blocks in the list one by one until the target blocks are retrieved. The invention extends the processing process of the block storage, adds the block name file, and establishes a table index mechanism similar to a relational database based on the address of a transaction participant, which greatly improves the block retrieval efficiency and expands the application field of the block chain.

Description

Technical field [0001] The invention relates to the technical field of block chains, in particular to a fast retrieval method of block chains. Background technique [0002] In the blockchain that supports the "Bitcoin" transaction, the retrieval of the blockchain can only be performed sequentially from the "end of the chain" to the "first of the chain". When the number of blocks in the chain is very large, an early block is retrieved The time consumption of (the block close to the beginning of the chain) will be very considerable, and the block retrieval is the basis for the blockchain to provide related technical services. The existing sequential retrieval methods cause the imbalance and inefficiency of the block retrieval time , Limiting the promotion and application of blockchain technology. [0003] Therefore, it is urgent to provide a new type of blockchain retrieval method to solve the above problems. Summary of the invention [0004] The technical problem to be solved by 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
IPC IPC(8): G06F16/901G06F16/903
Inventor 张家锐屠菁吴晓琴祁钰张京京高晴雷文珲钟鑫姜娅
Owner HEFEI UNIV