Block chain node member allocation method and device and computer readable storage medium

By dynamically redistributing blockchain node members, the problem of insufficient blockchain data security is solved and high security and reliable operation of blockchain data are achieved.

CN118694767AActive Publication Date: 2024-09-24FUJIAN TQ ONLINE INTERACTIVE INC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410847006.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-24
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

In traditional blockchain services, block members are susceptible to data penetration or theft, resulting in threats to the block or block nodes and insufficient data security.

Method used

By receiving the blockchain node member allocation request, redistributing the correspondence between blocks, block nodes and node members according to the node member allocation model, setting dynamically configured identifiers, and breaking the original structural relationship, realizing blockchain nodes Random recombination of members.

Benefits of technology

It improves the security of blockchain data, increases the difficulty of blocks and their nodes being destroyed or attacked, and ensures the security and operational reliability of blockchain data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694767A
    Figure CN118694767A
Patent Text Reader

Abstract

The invention discloses a block chain node member allocation method and device and a computer readable storage medium, and the method comprises the steps: receiving a block chain node member allocation request, the block chain node member allocation request comprises a node member allocation model, an original block and a block identifier corresponding to the original block, an original block node contained in the original block and a node identifier corresponding to the original block node, and an original node member contained in the original block node and a member identifier corresponding to the original node member; according to the node member allocation model, the block identifier corresponding to the original block, the node identifier corresponding to the original block node and the member identifier corresponding to the original node member, determining the corresponding relationship among the reallocated block, the block node and the node member; redistributing a block node corresponding to the block and a node member corresponding to the block node according to the corresponding relationship; and the difficulty of destroying or attacking the block and the node thereof is increased, so that the security of the data stored on the block chain is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain, and in particular to a blockchain node member allocation method, device and computer-readable storage medium. Background Art

[0002] In traditional blockchain services, a block usually corresponds to multiple block nodes, and a block node corresponds to multiple block members. For ease of maintenance, blocks are usually matched to their corresponding block nodes, and block nodes to their corresponding block members. However, when blocks or block nodes are destroyed or invaded, block members are vulnerable to data infiltration or member data theft. This will bring disasters to blocks or block nodes, and seriously threaten the data on the blockchain. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a blockchain node member allocation method, device and computer-readable storage medium, which can improve the security of data stored on the blockchain.

[0004] In order to solve the above technical problems, a technical solution adopted by the present invention is:

[0005] A method for allocating blockchain node members, comprising the steps of:

[0006] Receive a blockchain node member allocation request, the blockchain node member allocation request including a node member allocation model, an original block and its corresponding block identifier, an original block node contained in the original block and its corresponding node identifier, and an original node member contained in the original block node and its corresponding member identifier;

[0007] Determine the correspondence between the reallocated blocks, block nodes, and node members according to the node member allocation model, the block identifier corresponding to the original block, the node identifier corresponding to the original block node, and the member identifier corresponding to the original node member;

[0008] The block nodes corresponding to the block and the node members corresponding to the block nodes are reallocated according to the corresponding relationship.

[0009] Furthermore, before receiving the blockchain node member allocation request, the step of:

[0010] A node member allocation model is allocated to the block, and corresponding identifiers are established for the original block, the original block node corresponding to the original block, and the original node member corresponding to the original block node.

[0011] Furthermore, the node member allocation model may be dynamically configured.

[0012] Furthermore, a blockchain node member allocation request is received before each operation of the blockchain.

[0013] Furthermore, the reallocating the block nodes corresponding to the block and the node members corresponding to the block nodes according to the corresponding relationship includes:

[0014] The constituent structures among blocks, block nodes and node members are broken down according to the corresponding relationships.

[0015] Furthermore, the method further comprises the steps of:

[0016] receiving a block connectivity request, and traversing the reallocated blocks according to the block connectivity request;

[0017] Determine whether each block exists, and determine whether each block is connected to its corresponding block node and each block node is connected to its corresponding node member.

[0018] Furthermore, the determining whether each block is connected to its corresponding block node and each block node is connected to its corresponding node member includes:

[0019] Establishing a first link between each block and its corresponding block node respectively, and determining whether the first link is unobstructed;

[0020] A second link is established for each block node and its corresponding node member, and it is determined whether the second link is unobstructed.

[0021] In order to solve the above technical problems, another technical solution adopted by the present invention is:

[0022] A blockchain node member allocation device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the above-mentioned blockchain node member allocation method are implemented.

[0023] In order to solve the above technical problems, another technical solution adopted by the present invention is:

[0024] A computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the steps of the above-mentioned blockchain node member allocation method.

[0025] The beneficial effects of the present invention are as follows: when performing blockchain node member allocation, by setting a node member allocation model, setting a corresponding block identifier for the original block, setting a corresponding node identifier for the original block node contained in the original block, and setting a corresponding member identifier for the original node member contained in the original block node, the corresponding relationship between the reallocated blocks, block nodes, and block members is determined accordingly, thereby realizing the re-combination and arrangement of each block on the blockchain and the block nodes contained therein and the node members contained in each block node, increasing the difficulty of the block and its nodes being destroyed or attacked, thereby improving the security of the data stored on the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A flowchart of a method for allocating blockchain node members according to an embodiment of the present invention;

[0027] Figure 2 This is a structural schematic diagram of a blockchain node member allocation device according to an embodiment of the present invention;

[0028] Figure 3 A schematic diagram of the corresponding relationship between blocks, block nodes and node members in a blockchain node member allocation method according to an embodiment of the present invention;

[0029] Figure 4 Another structural schematic diagram of a blockchain node member allocation device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in conjunction with the implementation modes and the accompanying drawings.

[0031] The above-mentioned blockchain node member allocation method, device and computer-readable storage medium of the present application can be applied to application scenarios such as blockchain data encryption and data protection, and are described below through specific implementation methods:

[0032] In an optional embodiment, if Figure 1 As shown, a blockchain node member allocation method includes the steps of:

[0033] S1. Receive a blockchain node member allocation request, wherein the blockchain node member allocation request includes a node member allocation model, an original block and its corresponding block identifier, an original block node contained in the original block and its corresponding node identifier, and an original node member contained in the original block node and its corresponding member identifier;

[0034] Wherein, each block may include multiple block nodes, and each block node may include multiple node members;

[0035] S2. Determine the correspondence between the reallocated blocks, block nodes, and node members according to the node member allocation model, the block identifier corresponding to the original block, the node identifier corresponding to the original block node, and the member identifier corresponding to the original node member;

[0036] S3. Reallocate the block nodes corresponding to the block and the node members corresponding to the block nodes according to the corresponding relationship.

[0037] In another optional embodiment, the receiving of the blockchain node member allocation request further includes the following steps:

[0038] A node member allocation model is allocated to the block, and corresponding identifiers are established for the original block, the original block node corresponding to the original block, and the original node member corresponding to the original block node.

[0039] The node member allocation model can be a matrix formula, including matrix addition, subtraction, multiplication, division, and permutation relations, etc., such as Figure 3 As shown, an identifier C can be established for a block, an identifier A can be established for a node block, and an identifier B can be established for a block member. The matrix formula is set to C=A+B. As long as the blocks, block nodes, and node members satisfy the above relationship, it means that they have a corresponding relationship, that is, A belongs to block C, and B belongs to block node A. For example, set C=[c1 c2], A=[a1a2], B=[b1 b2]. If c1=a1+b1 and c2=a2+b2 are satisfied, there is a corresponding relationship between C, A, and B. If E=[e1 e2] and F=[f1 f2] exist, and c1=e1+f1 and c2=e2+f2 are also satisfied, there is a corresponding relationship between C, E, and F.

[0040] Or set C = A-B, then as long as the blocks, block nodes and node members satisfy the above relationship, it means that they have a corresponding relationship. Of course, other matrix relationships can also be set, such as C = A*B or C = A*BB / A, etc.;

[0041] Alternatively, you can set a replacement relationship, that is, replace the node members originally contained in two block nodes, for example:

[0042] Block C1 has nodes: A1 A2 A3 A4 A5

[0043] Block C2 has nodes: AA1 AA2

[0044] If a rebuild occurs according to the formula at this point, then:

[0045] Block C1 nodes become: A1 A2 AA1 AA2 A4 A5

[0046] The node of block C2 becomes: A2 A3;

[0047] In this node member allocation model, it does not affect the structure, but only the constituent members of the node;

[0048] Another example:

[0049] Original configuration:

[0050] Block: C1; Block nodes: A1 A2; Node members: A1B1 A1B2 A2B1A2B2;

[0051] Block: C2; Block nodes: AA AB; Node members: AAB1 AAB2 ABB1 ABB2;

[0052] That is, the original corresponding relationship is:

[0053] C1A1B1; C1A1B2; C1A2B1; C1A2B2

[0054] C2AAB1; C2AAB2; C2ABB1; C2ABB2

[0055] After redistribution, the corresponding relationship becomes:

[0056] C2A1B1; C2A1B2; C1A2B1; C1A2B2

[0057] C1AAB1; C2AAB2; C1ABB1; C2ABB2.

[0058] Among them, the node member allocation model can be dynamically configured, that is, the node member allocation model can change dynamically with each operation of the blockchain, and is not static, which further increases the difficulty of being cracked.

[0059] In this implementation, by setting the node member allocation model in advance and setting corresponding identifiers for blocks, block nodes and block members, the random allocation of blockchain nodes can be flexibly and conveniently performed, which greatly increases the difficulty of cracking, and the node member allocation model is dynamically configurable, further improving data security.

[0060] In another optional embodiment, the blockchain node member allocation request is received before each operation of the blockchain.

[0061] In this implementation, the timing of blockchain node member allocation is further clarified, that is, blocks / nodes are randomly redistributed and encrypted only during runtime. This state is determined during runtime rather than changing anytime and anywhere, that is, it changes once each time it runs, which can facilitate the normal operation of the blockchain.

[0062] In another optional implementation, the reallocating the block nodes corresponding to the block and the node members corresponding to the block nodes according to the corresponding relationship includes:

[0063] Breaking down the constituent structures among blocks, block nodes, and node members according to the corresponding relationships;

[0064] In other words, the redistribution of the correspondence between blocks, block nodes and node members breaks the structural relationship between blocks, block nodes and node members. The original correspondence between them is no longer possible, and the correspondence may be achieved across blocks and block nodes, thereby greatly improving the protection capabilities of blockchain data.

[0065] In another optional embodiment, the method further comprises the steps of:

[0066] receiving a block connectivity request, and traversing the reallocated blocks according to the block connectivity request;

[0067] Determine whether each block exists, and determine whether each block is connected to its corresponding block node and each block node is connected to its corresponding node member.

[0068] The determining whether each block is connected to its corresponding block node and each block node is connected to its corresponding node member comprises:

[0069] Establishing a first link between each block and its corresponding block node respectively, and determining whether the first link is unobstructed;

[0070] A second link is established for each block node and its corresponding node member, and it is determined whether the second link is unobstructed.

[0071] In this implementation, after the redistribution of blockchain node members, the connectivity between blocks, block nodes and node members on the blockchain is further determined. By traversing the blocks and linking to them, it can be known whether the block exists. The purpose is to prevent the existence of useful nodes under useless blocks or the omission of random encryption allocation problems.

[0072] In another optional embodiment, Figure 2 As shown, a blockchain node member allocation device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of a blockchain node member allocation method described in any one of the above-mentioned embodiments are implemented.

[0073] When implementing it specifically, Figure 4 As shown, multiple module devices can be set to implement corresponding method steps:

[0074] The server has all blocks and their corresponding block nodes, as well as data information of node members corresponding to the block nodes, and packages the block information and links it to the processing device for processing;

[0075] The processing device is used to process the block-block node-node member given by the server;

[0076] Allocating a node member allocation model for a block, and establishing identifiers for blocks, block nodes, and node members, respectively, so as to reallocate blocks and their corresponding block nodes, and block nodes and their corresponding node members, construct their corresponding relationships, and send the corresponding relationships to an allocation device;

[0077] The allocation device is used to disrupt the correspondence between blocks, block nodes and node members based on the correspondence, and reconstruct the structure of blocks and block nodes, and the structure of block nodes and node members;

[0078] The connecting device is used to traverse the blocks, connect the existing blocks, connect the existing block nodes and connect the existing node members, and ensure the connectivity between the reallocated blocks, block nodes and node members.

[0079] In another optional embodiment, a computer-readable storage medium stores computer program instructions thereon, and when the computer program instructions are executed by a processor, the steps of a blockchain node member allocation method described in any of the above embodiments are implemented.

[0080] In summary, the present invention provides a blockchain node member allocation method, device and computer-readable storage medium. When allocating blockchain node members, a dynamically configurable node member allocation model is set, and a corresponding block identifier is set for the original block, a corresponding node identifier is set for the original block node contained in the original block, and a corresponding member identifier is set for the original node member contained in the original block node. The corresponding relationship between the reallocated blocks, block nodes and block members is determined accordingly, and the structural relationship between blocks and block nodes and between block nodes and node members is changed through the corresponding relationship to achieve random disruption of the relationship between the three, thereby achieving the re-combination and arrangement of each block on the blockchain and the block nodes contained therein and the node members contained in each block node, increasing the difficulty of the blocks and their nodes being destroyed or attacked, thereby improving the security of the data stored on the blockchain, and after the random disruption of the corresponding relationship, the connectivity of the blocks, block nodes and node members is further determined to ensure the reliability of the blockchain operation, thereby achieving safe and reliable operation of data on the blockchain.

[0081] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A blockchain node member allocation method, characterized in that: Includes steps: Receive a blockchain node member allocation request, the blockchain node member allocation request including a node member allocation model, an original block and its corresponding block identifier, an original block node contained in the original block and its corresponding node identifier, and an original node member contained in the original block node and its corresponding member identifier; Determine the correspondence between the reallocated blocks, block nodes, and node members according to the node member allocation model, the block identifier corresponding to the original block, the node identifier corresponding to the original block node, and the member identifier corresponding to the original node member; The block nodes corresponding to the block and the node members corresponding to the block nodes are reallocated according to the corresponding relationship.

2. A blockchain node member allocation method according to claim 1, characterized in that: The receiving of the blockchain node member allocation request also includes the following steps: A node member allocation model is allocated to the block, and corresponding identifiers are established for the original block, the original block node corresponding to the original block, and the original node member corresponding to the original block node.

3. A blockchain node member allocation method according to claim 2, characterized in that: The node membership allocation model is dynamically configurable.

4. A blockchain node member allocation method according to any one of claims 1 to 3, characterized in that: The blockchain node member allocation request is received before each operation of the blockchain.

5. A blockchain node member allocation method according to any one of claims 1 to 3, characterized in that: The reallocation of the block nodes corresponding to the block and the node members corresponding to the block nodes according to the corresponding relationship includes: The constituent structures among blocks, block nodes and node members are broken down according to the corresponding relationships.

6. A blockchain node member allocation method according to any one of claims 1 to 3, characterized in that: Also includes the steps: receiving a block connectivity request, and traversing the reallocated blocks according to the block connectivity request; Determine whether each block exists, and determine whether each block is connected to its corresponding block node and each block node is connected to its corresponding node member.

7. A blockchain node member allocation method according to claim 6, characterized in that: The determining whether each block is connected to its corresponding block node and each block node is connected to its corresponding node member comprises: Establishing a first link between each block and its corresponding block node respectively, and determining whether the first link is unobstructed; A second link is established for each block node and its corresponding node member, and it is determined whether the second link is unobstructed.

8. A blockchain node member allocation device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of a blockchain node member allocation method as described in any one of claims 1 to 7 are implemented.

9. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of a blockchain node member allocation method described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for achieving data security communication by applying blockchain encryption technology

    CN111654364A

  • Wireless Internet of Things system based on blockchain

    CN112765278A

  • Block storage method and model of lightweight block chain of Internet of Vehicles

    CN113905059A

  • Data processing method and related device

    CN116541684A

  • Block authentication method based on zero knowledge proof

    CN117640108A