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
Example Embodiment
[0040] Example one
[0041] Based on the above-mentioned program idea of calculating the block body data of the blocks in the current blockchain, and saving the data growth of the blockchain at a specific historical moment through the statistical data, such as image 3 As shown, it is the flow of the data processing method in the blockchain shown in the embodiment of the present invention Figure one , The execution subject of this method can be the 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 blocks in the blockchain, and use the statistical data as the block body data to generate a record block;
[0043] In the process of blockchain extension to generate new blocks, when it is necessary to store the growth of the block body data of each bloc...
Example Embodiment
[0054] Example two
[0055] The content shown in this embodiment mainly supplements the data content of the block body data in the recording block.
[0056] First of all, logical data used to describe the link relationship between the blocks in the current block chain can be added to the block body data of the recording block, so that users can restore the current block chain based on the logical data in the subsequent time period. Morphology. Specifically, such as Figure 5 Shown in image 3 Based on the method shown, the following steps can also be performed synchronously:
[0057] S510: In response to the operation of performing data statistics on the current block chain, generate logical data used to describe the link relationship between the blocks in the current block chain, and add the logical data as block body data to the recording block.
[0058] In the process of blockchain extension to generate new blocks, when it is necessary to store the shape of the blockchain formed u...
Example Embodiment
[0076] Example three
[0077] Such as Picture 9 As shown, it is the flow of the data processing method in the blockchain shown in the embodiment of the present invention Figure three , The method can be regarded as image 3 The refinement of the method shown mainly further explains the process of linking the record block to the blockchain. Such as Picture 9 Shown in image 3 Based on the steps shown, step 320 may specifically include the following steps:
[0078] S910, using the genesis block of the blockchain as the parent block and the recording block as the child block, linking the recording block to the blockchain;
[0079] or,
[0080] S920, using the last generated block in the blockchain up to the current moment as the parent block, and the recording block as the child block, and linking the recording block to the blockchain;
[0081] or,
[0082] In S930, the genesis block of the blockchain is used as the parent block, the last generated block in the blockchain up to the curr...
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap