A method for recording assets in a dual-chain entangled structure
By employing a dual-chain entanglement structure for asset recording, and utilizing the asset chain and ledger chain to generate hash digests and Merkle trees, combined with consensus algorithms and identity authentication, the problem of poor traceability of asset record information in existing technologies is solved, thereby achieving reliability and traceability in the asset transaction process.
Patent Information
- Application Number
- CN202210954055.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-10
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2042-08-10
AI Technical Summary
Existing asset recording methods cannot effectively trace back assets after information has been tampered with, resulting in poor information traceability.
It adopts a dual-chain entanglement structure, generating block hash digests through the asset chain and the ledger chain respectively. It uses Merkle trees to organize the hash digests and generate block headers and block bodies. Combined with consensus algorithms and identity authentication, it realizes the sequential arrangement and broadcasting of blocks, forming robust tamper resistance and traceability.
It ensures the reliability and authenticity of asset transaction information. Through the information redundancy of the dual-chain entanglement structure, it ensures the authenticity and traceability of asset ownership information on the chain, thus solving the problem of poor information traceability.
Smart Images

Figure CN115391831B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to an asset recording method with a dual-chain entanglement structure. Background Technology
[0002] While the internet has greatly facilitated people's lives and work through electronic transactions, privacy issues remain a significant concern. For example, in some electronic transaction scenarios, the types of assets used by a business entity may be its trade secrets, requiring privacy protection to prevent their disclosure.
[0003] Currently, existing technology discloses an asset recording method that encrypts and conceals asset types, and by constructing a public key set and generating a ring signature, it is possible to determine whether the encrypted asset type is the result of encryption from the list of permitted asset types by verifying the ring signature.
[0004] Using the above method, if the asset type is tampered with before encryption, the tampered information cannot be recovered, and the traceability of the information is poor. Summary of the Invention
[0005] The purpose of this invention is to provide an asset recording method with a double-chain entangled structure, which aims to solve the problem of poor information traceability in existing asset recording methods.
[0006] To achieve the above objectives, the present invention provides an asset recording method with a dual-chain entanglement structure, comprising the following steps:
[0007] Generate the hash digest of the previous asset chain block and the hash digest of the previous ledger chain block using the previous block header of the asset chain and the ledger chain, respectively.
[0008] The ledger chain uses the hash digest of the previous ledger chain block, the hash digest of the previous asset chain block, and the Merkle root to form the block header, and uses asset transfer information to form the block body, thus obtaining the ledger chain block;
[0009] The asset chain uses the hash digest of the previous asset chain block, the hash digest of the current ledger chain block, and the Merkle root to form the block header, and uses the asset status to form the block body, thus obtaining the asset chain block;
[0010] After all nodes in the asset chain and the ledger chain arrange the blocks in order using a consensus algorithm, they send the asset chain blocks and the ledger chain blocks to all nodes in sequence via network broadcast for recording.
[0011] The method further includes, prior to generating the hash digest of the previous asset chain block and the hash digest of the previous ledger chain block using the previous block header of the asset chain and the ledger chain, respectively:
[0012] Verify the asset status of the asset chain and the transfer records of the ledger chain.
[0013] Specifically, the ledger chain uses the hash digest of the previous ledger chain block, the hash digest of the previous asset chain block, and Merkle root to form the block header, and uses asset transfer information to form the block body. The specific method for obtaining the ledger chain block is as follows:
[0014] The hash digest of the previous ledger chain block and the random number and timestamp corresponding to the hash digest of the previous ledger chain block are filled into the block header of the ledger chain;
[0015] The ledger root hash is obtained by organizing the hash digest of the previous asset chain block, the hash digest of the previous ledger chain block, and the current hash digest using a Merkle tree, and then the ledger root hash is stored in the block header of the ledger chain.
[0016] Asset transfer information is written into the block body of the ledger chain, and a current hash digest is generated based on the asset transfer information at preset time intervals.
[0017] The block header and block body of the ledger chain are packaged together to obtain a ledger chain block.
[0018] The preset time period is 10 minutes.
[0019] The asset chain uses the hash digest of the previous asset chain block, the hash digest of the current ledger chain block, and the Merkle root to form the block header, and uses the asset status to form the block body. The specific method for obtaining the asset chain block is as follows:
[0020] The hash digest of the previous asset chain block, the hash digest of the current ledger chain block, the random number, and the timestamp are filled into the block header of the asset chain;
[0021] The current asset chain block hash digest and the previous asset chain block hash digest are organized using a Merkle tree to obtain the asset root hash, and the asset root hash is stored in the block header of the asset chain.
[0022] The asset chain's blocks update the asset status based on the asset transfer information;
[0023] Generate a hash digest of the current asset chain block based on the asset transfer information, and fill the current asset chain block hash digest into the block body of the asset chain;
[0024] The asset chain block is obtained by packaging the block body and the block header of the asset chain.
[0025] The consensus algorithm is the PBFT consensus algorithm.
[0026] The method further includes, after all nodes of the asset chain and the ledger chain have arranged the blocks in order using a consensus algorithm, and the asset chain blocks and ledger chain blocks are then broadcast to all nodes for recording, the method also includes:
[0027] The certificate is used to verify the identity of the corresponding node. After successful verification, the information recorded in the node can be accessed.
[0028] This invention discloses an asset recording method with a dual-chain entanglement structure. The method generates a hash digest of the previous asset chain block and a hash digest of the previous ledger chain block, respectively, using the previous block header of the asset chain and the ledger chain. The ledger chain uses the hash digest of the previous ledger chain block, the hash digest of the previous asset chain block, and a Merkle root to form a block header, and uses asset transfer information to form a block body, thus obtaining a ledger chain block. The asset chain uses the hash digest of the previous asset chain block, the hash digest of the current ledger chain block, and a Merkle root to form a block header, and uses asset status to form a block body, thus obtaining an asset chain block. After all nodes in the asset chain and the ledger chain arrange the blocks sequentially using a consensus algorithm, the asset chain block and the ledger chain block are broadcast to all nodes sequentially for recording. The asset chain and the ledger chain form a dual-chain structure through hash digest entanglement. This structure offers more robust tamper resistance and traceability of asset transaction information. Through identity authentication and a dual-chain entanglement structure, it ensures the authenticity and reliability of asset ownership information on the chain. By leveraging the information redundancy of the dual-chain entanglement structure, it achieves traceability and reproducibility of the asset transaction process, thus solving the problem of poor information traceability in existing asset recording methods. Attached Figure Description
[0029] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 This invention provides a method for recording assets with a dual-chain entangled structure.
[0031] Figure 2 This is a schematic diagram of a dual-chain structure composed of an intertwined asset chain and a ledger chain.
[0032] Figure 3 This is a schematic diagram of the asset chain blocks.
[0033] Figure 4This is a schematic diagram of the ledger chain blocks. Detailed Implementation
[0034] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.
[0035] Please see Figures 1 to 4 This invention provides a method for recording assets with a dual-chain entanglement structure, comprising the following steps:
[0036] S1 generates the hash digest of the previous asset chain block and the hash digest of the previous ledger chain block by using the previous block header of the asset chain and the ledger chain, respectively.
[0037] Specifically, the asset chain and the ledger chain are entangled to form a dual-chain structure. This structure has stronger tamper resistance and traceability of asset transaction information. Through identity authentication and the dual-chain entanglement structure, the authenticity and reliability of asset ownership information on the chain are guaranteed. Through the information redundancy of the dual-chain entanglement structure, the traceability and reproducibility of the asset transaction process are achieved.
[0038] Before generating the hash digest of the previous asset chain block and the hash digest of the previous ledger chain block using the previous block header of the asset chain and the ledger chain respectively, the method further includes:
[0039] The legitimacy of the asset status of the asset chain and the transfer records of the ledger chain are verified.
[0040] When a node verifies and updates a block, it first verifies the ledger block, checking if the timestamp is later than the previous block's timestamp, verifying if the hash of the previous asset chain in the block header and the hash of the previous ledger chain are the hash digest values of the local blockchain's tail block header, and then verifying the correctness and completeness of the Merkle tree. Next, it verifies the asset chain block, similarly verifying the timestamp, Merkle tree, and hash digest. Simultaneously, it verifies whether the asset owner matches the record in this block using information from the ledger chain and the previous asset chain block. After verification, the two blocks are updated and linked to the local ledger chain and asset chain, respectively.
[0041] S2 The ledger chain uses the hash digest of the previous ledger chain block, the hash digest of the previous asset chain block, and the Merkle root to form the block header, and uses asset transfer information to form the block body to obtain the ledger chain block;
[0042] The specific method is as follows:
[0043] S21 fills the hash digest of the previous ledger chain block and the random number and timestamp corresponding to the hash digest of the previous ledger chain block into the block header of the ledger chain;
[0044] S22 organizes the hash digest of the previous asset chain block, the hash digest of the previous ledger chain block, and the current hash digest using a Merkle tree to obtain the ledger root hash, and stores the ledger root hash in the block header of the ledger chain;
[0045] Specifically, the hash digest of the previous ledger chain block and the current hash digest are stored in the hash of the previous ledger chain block, and the hash digest of the previous asset chain block is stored in the hash of the previous asset chain block.
[0046] S23 writes the asset transfer information into the block body of the ledger chain, and generates the current hash digest based on the asset transfer information at preset time intervals;
[0047] Specifically, the preset time period is 10 minutes.
[0048] S24 packages the block header and block body of the ledger chain to obtain a ledger chain block.
[0049] The asset chain described in S3 uses the hash digest of the previous asset chain block, the hash digest of the current ledger chain block, and the Merkle root to form the block header, and uses the asset status to form the block body, thus obtaining the asset chain block;
[0050] The specific method is as follows:
[0051] S31 fills the block header of the asset chain with the hash digest of the previous asset chain block, the hash digest of the current ledger chain block, the random number, and the timestamp;
[0052] S32 organizes the hash digest of the current asset chain block and the hash digest of the previous asset chain block using a Merkle tree to obtain the asset root hash, and stores the asset root hash in the block header of the asset chain;
[0053] Specifically, the hash digest of the current asset chain block is stored in the hash of the current asset chain block, and the hash digest of the previous asset chain block is stored in the hash of the previous asset chain block.
[0054] The asset chain block in S33 updates the asset status based on the asset transfer information;
[0055] S34 generates a hash digest of the current asset chain block based on the asset transfer information, and fills the hash digest of the current asset chain block into the block body of the asset chain;
[0056] S35 packages the block body and the block header of the asset chain into an asset chain block.
[0057] After all nodes of the asset chain and the ledger chain in S4 arrange the blocks in order through a consensus algorithm, the asset chain blocks and the ledger chain blocks are sent to all nodes in sequence via network broadcast for recording.
[0058] Specifically, the consensus algorithm is the PBFT consensus algorithm. Once all nodes in the system add the new block to the chain, the asset transfer in that new block is successfully completed.
[0059] S5 uses a certificate to verify its identity with the corresponding node. After successful verification, it accesses the information recorded within the node.
[0060] Specifically, identity verification prevents unauthorized personnel from tampering with information. When a node joins the system, the acquired dual-chain data must be verified before being saved.
[0061] The above-disclosed embodiments are merely preferred embodiments of the asset recording method with a dual-chain entanglement structure according to the present invention. They should not be construed as limiting the scope of the present invention. Those skilled in the art can understand that implementing all or part of the above embodiments and making equivalent changes in accordance with the claims of the present invention are still within the scope of the invention.
Claims
1. A method for recording assets with a dual-chain entanglement structure, characterized in that, Includes the following steps: Generate the hash digest of the previous asset chain block and the hash digest of the previous ledger chain block using the previous block header of the asset chain and the ledger chain, respectively. The ledger chain uses the hash digest of the previous ledger chain block, the hash digest of the previous asset chain block, and the Merkle root to form the block header, and uses asset transfer information to form the block body to obtain the ledger chain block. The hash digest of the previous asset chain block, the hash digest of the previous ledger chain block, and the current hash digest are organized by the Merkle tree to obtain the ledger root hash, and the ledger root hash is stored in the block header of the ledger chain. The asset chain uses the hash digest of the previous asset chain block, the hash digest of the current ledger chain block, and the Merkle root to form the block header, and uses the asset status to form the block body to obtain the asset chain block. The current asset chain block hash digest and the hash digest of the previous asset chain block are organized by the Merkle tree to obtain the asset root hash, and the asset root hash is stored in the block header of the asset chain. After all nodes in the asset chain and the ledger chain arrange the blocks in order using a consensus algorithm, they send the asset chain blocks and the ledger chain blocks to all nodes in sequence via network broadcast for recording.
2. The asset recording method for a dual-chain entangled structure as described in claim 1, characterized in that, Before generating the hash digest of the previous asset chain block and the hash digest of the previous ledger chain block using the previous block header of the asset chain and the ledger chain respectively, the method further includes: The asset status of the asset chain and the asset transfer information of the ledger chain are verified.
3. The asset recording method for a dual-chain entangled structure as described in claim 2, characterized in that, The ledger chain uses the hash digest of the previous ledger chain block, the hash digest of the previous asset chain block, and Merkle root data to form the block header, and uses asset transfer information to form the block body. The specific method for obtaining a ledger chain block is as follows: The hash digest of the previous ledger chain block and the random number and timestamp corresponding to the hash digest of the previous ledger chain block are filled into the block header of the ledger chain; Asset transfer information is written into the block body of the ledger chain, and a current hash digest is generated based on the asset transfer information at preset time intervals. The block header and block body of the ledger chain are packaged together to obtain a ledger chain block.
4. The asset recording method for a double-chain entangled structure as described in claim 3, characterized in that, The preset time period is 10 minutes.
5. The asset recording method for a dual-chain entangled structure as described in claim 4, characterized in that, The asset chain uses the hash digest of the previous asset chain block, the hash digest of the current ledger chain block, and the Merkle root hash to form the block header, and uses the asset status to form the block body. The specific method for obtaining the asset chain block is as follows: The hash digest of the previous asset chain block, the hash digest of the current ledger chain block, the random number, and the timestamp are filled into the block header of the asset chain; The asset chain's blocks update the asset status based on the asset transfer information; Generate a hash digest of the current asset chain block based on the asset transfer information, and fill the current asset chain block hash digest into the block body of the asset chain; The asset chain block is obtained by packaging the block body and the block header of the asset chain.
6. The asset recording method for a dual-chain entangled structure as described in claim 5, characterized in that, The consensus algorithm is the PBFT consensus algorithm.
7. The asset recording method for a dual-chain entangled structure as described in claim 6, characterized in that, After all nodes of the asset chain and the ledger chain have arranged the blocks in order using a consensus algorithm, and after the asset chain blocks and the ledger chain blocks are sequentially broadcast to all nodes for recording, the method further includes: The certificate is used to verify the identity of the corresponding node. After successful verification, the information recorded in the node can be accessed.
Citation Information
Patent Citations
Personal asset change record storage method, system, device and equipment
CN110147686A
Data processing method and device for double-block-chain architecture in data bank scene
CN114331729A