Data compression method and system for account tree of MPT structure
A technology of data compression and account tree, which is applied in digital transmission systems, transmission systems, data processing applications, etc., can solve the problems of large computing pressure and time cost of nodes, and achieve the reduction of memory and storage space overhead, small storage space, The effect of reducing overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0050] Such as figure 1 As shown, this embodiment provides a data compression method for an account tree with an MPT structure, including the following steps:
[0051] S1: Create an account address for the user node according to the account address creation request initiated by the user node.
[0052] Specifically, when a user node needs to participate in blockchain transactions, it first needs to use the public key in the pre-created public-private key pair to initiate an address creation request to the chain node used to create the account address. When the chain node receives the request to create an account address initiated by the user node, it creates an account address for the user node according to the preset creation rules and returns it to the user node. At the same time, a node on the account tree using the MPT structure represents the current Create the user node corresponding to the account address, so that the user node can participate in the blockchain transact...
no. 2 example
[0078] This embodiment provides a specific embodiment of executing blockchain transactions according to the account tree of the MPT structure created in the first embodiment, specifically:
[0079] Firstly, the account address involved in the blockchain transaction is obtained, and the address brevity is reversely intercepted according to the preset splicing algorithm. Wherein, the preset splicing algorithm is the algorithm for splicing the preliminary address and the address simple code in the first embodiment. In this step, the process of splicing is opposite, and the address simple code is reversely intercepted.
[0080] Secondly, obtain the valid digits of the address brevity code as the key value. Specifically, because only valid digits are stored in the account tree, and the address shortcode is a fixed-length address, it is necessary to obtain the valid digits in the address shortcode before searching through the key value.
[0081] Finally, perform operations on the a...
no. 3 example
[0083] Such as image 3 As shown, this embodiment provides a chain node 1, including:
[0084] The address brevity code creation module 11 is used for creating the account address request initiated by the user node, after creating the account address for the user node, obtaining the creation serial number of the created account address, and preprocessing the creation serial number to form the The fixed-length address brevity code corresponding to the user node;
[0085] The account tree construction module 12 is used to obtain the effective bits of the address simplification, and use the effective bits to construct an account tree with an MPT structure.
[0086] The transaction execution module 13 is configured to execute the blockchain transaction according to the constructed account tree of the MPT structure, specifically: obtain the account address involved in the blockchain transaction, and reverse intercept according to the preset splicing algorithm Output the address b...
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