Method and device of data processing in block chain
A data processing and blockchain technology, applied in the computer field, can solve problems such as single chain generation, inability to reflect, and users' inability to clearly grasp the development of blockchain, and achieve the effect of reducing data storage costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] Based on the above-mentioned idea of counting the block body data of blocks in the current blockchain, and saving the data growth of the blockchain at a specific historical moment through statistical data, as shown in image 3 As shown, it is the flow of the data processing method in the block chain shown in the embodiment of the present invention Figure 1 , the execution subject of this method can be a processing node in the blockchain. Such as image 3 As shown, the data processing methods in the blockchain include:
[0042] S310, in response to the operation of performing data statistics on the current blockchain, generate statistical data corresponding to the block body data of the block in the blockchain, and use the statistical data as the block body data to generate a record block;
[0043] In the process of generating new blocks by extending the blockchain, when it is necessary to store the growth of the block body data of each block in the blockchain forme...
Embodiment 2
[0055] The contents shown in this embodiment are mainly supplementary descriptions of the data content of the block body data in the record block.
[0056] First of all, logical data describing the link relationship between blocks in the current blockchain can be added to the block body data of the recorded block, so that users can restore the current blockchain based on the logical data in the subsequent period of time. Morphology. Specifically, such as Figure 5 shown in image 3 On the basis of the method shown, the following steps can also be executed synchronously:
[0057] S510, in response to the operation of performing data statistics on the current block chain, generate logical data for describing the link relationship between blocks in the current block chain, and add the logical data as block body data to the record block.
[0058] In the process of generating new blocks by extending the blockchain, when it is necessary to store the form of the blockchain formed ...
Embodiment 3
[0077] Such as Figure 9 As shown, it is the flow of the data processing method in the block chain shown in the embodiment of the present invention Figure three , the method can be viewed as image 3 The refinement of the shown method is mainly to further explain the process of linking the record block into the blockchain. Such as Figure 9 shown in image 3 On the basis of the steps shown, step 320 may specifically include the following steps:
[0078] S910, using the genesis block of the blockchain as the parent block, using the record block as the child block, and linking the record block to the blockchain;
[0079] or,
[0080] S920, linking the record block to the block chain with the last generated block in the blockchain as the parent block and the record block as the child block;
[0081] or,
[0082] S930, taking the genesis block of the blockchain as the parent block, taking the last generated block in the blockchain as the parent block, taking the record blo...
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