CN108632386B - Block chain link point cluster building method and device - Google Patents

Block chain link point cluster building method and device Download PDF

Info

Publication number
CN108632386B
CN108632386B CN201810462671.8A CN201810462671A CN108632386B CN 108632386 B CN108632386 B CN 108632386B CN 201810462671 A CN201810462671 A CN 201810462671A CN 108632386 B CN108632386 B CN 108632386B
Authority
CN
China
Prior art keywords
node
verification
building
cluster
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810462671.8A
Other languages
Chinese (zh)
Other versions
CN108632386A (en
Inventor
迟祥
宋文鹏
吕国新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baibao Shanghai Technology Co ltd
Shanghai Zhongan Information Technology Service Co ltd
Original Assignee
Zhongan Information Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongan Information Technology Service Co Ltd filed Critical Zhongan Information Technology Service Co Ltd
Priority to CN201810462671.8A priority Critical patent/CN108632386B/en
Publication of CN108632386A publication Critical patent/CN108632386A/en
Application granted granted Critical
Publication of CN108632386B publication Critical patent/CN108632386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • H04L67/1046Joining mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Abstract

The invention discloses a block chain link point cluster building method and device, and belongs to the technical field of block chains. The method comprises the following steps: building a plurality of node clusters in a block chain network; setting a verification node cluster used for verifying data information in the plurality of node clusters; and setting an internal verification rule of the verification node cluster. The invention can also improve the performance of the block chain network under the condition of ensuring the relative reliability and robustness of the block chain network, so that the block chain link point cluster building method has good application prospect.

Description

Block chain link point cluster building method and device
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain link point cluster building method and device.
Background
The BlockChain technology is a new emerging technology appearing in the field of financial technology (FinTech) in recent years, has unique properties of decentralization, information non-falsification, multi-node collective maintainability, publicity, privacy protection and the like, and can record and provide credible transaction information data in the internet based on the incredibility.
The block chain mainly comprises four components of a P2P network, cryptography, a consensus mechanism and an intelligent contract, and unique characteristics of the block chain are guaranteed through technical integration in four fields.
The main problems faced by current blockchain networks are: (1) in order to improve the robustness of the block chain network, a large number of block chain network verification nodes are inevitably built; (2) with the increase of the deployment of verification nodes in the current block chain network, the performance of the whole block chain network is greatly reduced.
Disclosure of Invention
In order to solve the problems in the prior art, the embodiment of the invention provides a block link point cluster building method and a block link point cluster building device. The technical scheme is as follows:
in one aspect, a block link point cluster building method is provided, and the method includes: building a plurality of node clusters in a block chain network; setting a verification node cluster used for verifying data information in the plurality of node clusters; and setting an internal verification rule of the verification node cluster.
Preferably, building a plurality of node clusters in the blockchain network includes: and building a plurality of node clusters in the block chain network according to preset building classification rules, wherein the preset building classification rules at least comprise rules for node classification building according to regions, industries, roles or interest body categories.
Preferably, the rule for performing node classification building according to the interest body category includes: and respectively building nodes belonging to the same interest body category in different node clusters.
Preferably, building a plurality of node clusters in the blockchain network includes: deploying the nodes; carrying out cluster grouping on the nodes; maintaining synchronous information of all nodes; and selecting a middleware gateway route and providing an external interface.
Preferably, building a plurality of node clusters in the blockchain network includes: and classifying the existing nodes in the block chain network, and building a plurality of node clusters.
Preferably, the setting of a verification node cluster for verifying data information in the plurality of node clusters includes: and determining part of the node clusters which meet the screening conditions of the preset screening rules as the verification node clusters for verifying the data information according to the verification trust or the verification confidence of the node clusters and the preset screening rules.
Preferably, the setting of a verification node cluster for verifying data information in the plurality of node clusters further includes: and calculating the verification trust degrees or the verification confidence degrees of the plurality of node clusters by using a preset rule.
Preferably, the setting of the internal verification rule of the verification node cluster includes: determining a verification node quantity percentage condition for the cluster of verification nodes.
Preferably, the method further includes a step of adding a new node into the node cluster, and specifically includes: acquiring a source code of a chain; compiling the source code into binary code; configuring a P2P network through seeds parameters; selecting a node cluster to be added; finding an existing node of the node cluster; signing through an existing node private key and an added node public key; and upgrading the node into a node with verification authority through the authorization interface.
In another aspect, there is provided a block link point cluster building apparatus, the apparatus comprising:
the building module is used for building a plurality of node clusters in the block chain network; the first setting module is used for setting a verification node cluster used for verifying data information in the plurality of node clusters; and the second setting module is used for setting the internal verification rule of the verification node cluster.
Preferably, the building module is configured to: and building a plurality of node clusters in the block chain network according to preset building classification rules, wherein the preset building classification rules at least comprise rules for node classification building according to regions, industries, roles or interest body categories.
Preferably, the rule for performing node classification building according to the interest body category includes: and respectively building nodes belonging to the same interest body category in different node clusters.
Preferably, the building module is configured to: deploying the nodes; carrying out cluster grouping on the nodes; maintaining synchronous information of all nodes; and selecting a middleware gateway route and providing an external interface.
Preferably, the building module is configured to: and classifying the existing nodes in the block chain network, and building a plurality of node clusters.
Preferably, the first setting module is configured to: and determining part of the node clusters which meet the screening conditions of the preset screening rules as the verification node clusters for verifying the data information according to the verification trust or the verification confidence of the node clusters and the preset screening rules.
Preferably, the first setting module is further configured to: and calculating the verification trust degrees or the verification confidence degrees of the plurality of node clusters by using a preset rule.
Preferably, the second setting module is configured to: determining a verification node quantity percentage condition for the cluster of verification nodes.
Preferably, the building module is further configured to: acquiring a source code of a chain; compiling the source code into binary code; configuring a P2P network through seeds parameters; selecting a node cluster to be added; finding an existing node of the node cluster; signing through an existing node private key and an added node public key; and upgrading the node into a node with verification authority through the authorization interface.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
by the mode of building a plurality of node clusters from a plurality of nodes of a block chain, and setting the verification node clusters used for verifying data information and the internal verification rules of the verification node clusters, when node verification is carried out, proper or representative nodes and node clusters formed by the nodes are selected for verification without whole network verification, even if the number of nodes in the block chain network is continuously increased, the performance of the block chain network is improved under the condition of ensuring the relatively reliable and robust block chain network, and therefore, the block chain link point cluster building method has a good application prospect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a block link point cluster building method provided in embodiment 1 of the present invention;
fig. 2 is a flowchart of a block link point cluster building method provided in embodiment 2 of the present invention;
fig. 3 is a flowchart of a block link point cluster building method provided in embodiment 3 of the present invention;
fig. 4 is a flowchart of a block link point cluster building method provided in embodiment 4 of the present invention;
fig. 5 is a schematic structural diagram of a block link point cluster building device provided in embodiment 5 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
According to the block chain link point cluster building method and device provided by the embodiment of the invention, a plurality of node clusters are built in a plurality of nodes of a block chain, and a verification node cluster for verifying data information and an internal verification rule of the verification node cluster are set, so that when node verification is carried out, a proper or representative node and a node cluster formed by the nodes are selected for verification without whole network verification, and even if the number of nodes in the block chain network is increased continuously, the performance of the block chain network is improved under the condition that the block chain network is relatively reliable and robust, therefore, the block chain link point cluster building method has a good application prospect and can be applied to various related fields relating to block chain network construction.
The following describes the block link point cluster building method and apparatus provided by the embodiments of the present invention in detail with reference to specific embodiments.
Example 1
Fig. 1 is a flowchart of a block link point cluster building method provided in embodiment 1 of the present invention. As shown in fig. 1, the block link point cluster building method provided by the embodiment of the present invention includes the following steps:
101. and building a plurality of node clusters in the block chain network.
Specifically, a plurality of node clusters are built in the block chain network according to preset building classification rules, wherein the preset building classification rules at least comprise rules for node classification building according to regions, industries, roles or interest body categories. The set classification rule can be customized, and the node number range of the node cluster can also be customized, for example, 20-30 nodes can be determined to form a cluster, and when the set node number exceeds a certain number range, the exceeding part is added into a new node cluster, so that the high performance of the network is continuously and effectively maintained. Preferably, the preset building classification rule is a rule for node classification building according to the interest body category, and specifically, nodes belonging to the same interest body category are built in different node clusters respectively. Because the node cluster is composed of different benefits bodies, the nodes can be effectively prevented from being controlled by the unified benefits bodies, the nodes are added into the node cluster which is composed of a plurality of small nodes and has no good common benefit, for example, a land node, a music node, a red wine node and a real estate node are suggested, the nodes which have little relevance and are difficult to generate common benefits can be placed in the same node cluster, otherwise, the nodes are selected to be placed in different node clusters, and the benefit-consistent group can be effectively prevented from negotiating and being verified.
In addition, the node cluster building process relates to two application scenes, and specific implementation modes are different under different application scenes.
1. In the case that the blockchain network is not built, the implementation process is as follows:
1) deploying the nodes according to the achieved rule, specifically comprising: acquiring a chain source code; compiling the source code into binary code; configuring a P2P network through seeds parameters; after the node deployment is finished, adding the node into a link network;
2) carrying out cluster grouping on the nodes according to a preset built classification rule, wherein a plurality of nodes can form a node cluster, which is equivalent to the nodes forming a group;
3) and all nodes maintain synchronous information, select a middleware gateway route and provide an external interface.
2. In the case that the blockchain network already exists, the implementation process of node cluster building is as follows:
and classifying the existing nodes in the block chain network, and building a plurality of node clusters. The existing node classification setting principle can be classified according to the preset classification rules to form a plurality of node clusters.
102. And setting a verification node cluster used for verifying the data information in the plurality of node clusters.
Specifically, according to the verification trust degrees or the verification confidence degrees of the plurality of node clusters and according to a preset screening rule, determining a part of the node clusters which meet the screening condition of the preset screening rule as verification node clusters for verifying the data information. Preferably, the step comprises: and calculating the verification trust degrees or the verification confidence degrees of the plurality of node clusters by using a preset rule.
The purpose of forming the node clusters by the plurality of nodes in the block chain network is to select part of the node clusters to verify, and other node clusters can be free from verification, so that the whole block chain network does not need full-network verification, the node verification efficiency can be improved under the condition that the block chain network is relatively safe and reliable by the operation, and the overall performance of the block chain network is improved.
In order to achieve the above purpose, in a blockchain network, a verification node cluster for verifying data information needs to be determined, where the verification confidence or the verification confidence of the node cluster refers to a self-defined selectable verification confidence value of a constructed node cluster, or a verification confidence value of the confidence value generated through statistics, and after the parameter value is determined, a part of node clusters meeting a preset screening rule screening condition is screened according to a preset screening rule and determined as the verification node cluster for verifying data information. The preset filtering condition may be to filter the verification confidence level or the optimal value of the verification confidence level, or to satisfy a certain predetermined range. For example, in a plurality of node clusters including nodes with relatively representative nodes or low common interest group concentration rate, the node clusters are selected to determine a verification node cluster when node cluster screening is performed according to a defined rule with high verification trust or verification confidence.
Through the operation, the block chain network is relatively reliable even if partial verification is carried out, and the efficiency of verifying the block chain network nodes is improved most importantly. For example, the efficiency of verifying the nodes of the whole network is slow, the verification time is long, and the verification of selecting a part of nodes is fast, for example, the efficiency agreed by all 100 nodes is certainly slower than the efficiency agreed by all 20 nodes, the consensus rules of node verification (the verification trust or the verification confidence of a node cluster can be determined according to the consensus rules of multiple nodes) can be set by user, the default whole network verification of all node verification of cluster nodes can be set, the default whole network approval verification of cluster node percentage node verification can be set, and meanwhile, the default whole network approval verification of several node cluster verification defaults can also be set. The verification of the blockchain nodes is that the more verification nodes are, the safer and the more democratic, but the slower the efficiency is.
An application example for implementing the verification node cluster setting process is as follows:
assuming that there are 5 multi-node clusters A, B, C, D, E in the blockchain network, a middleware a is developed to provide an API interface externally, which serves as a gateway and a link route, for determining which cluster the information data is verified in when submitted to the blockchain network, and the specific implementation process is as follows:
1) identifying the information X needing verification (such as marking that the cluster B needs verification);
2) the middleware a (namely gateway link route) carries out judgment;
3) the middleware a identifies that the information X needs B verification through the mark;
4) middleware a assigns information X to B for verification;
5) verifying the cluster B;
6) after the verification of the cluster B is completed, other clusters CDE synchronize the data of the cluster B;
7) other clusters verify the same.
103. And setting an internal verification rule of the verification node cluster.
Specifically, the verification node number percentage condition of the verification node cluster is determined, so that when the verification node cluster performs verification, verification is performed according to the verification node number percentage condition.
The percentage condition of the number of verification nodes herein may be defined and set according to an actual situation, for example, may be 50% or 100%, or other percentages, and after the percentage condition is determined, the internal verification rule of the verification node cluster is set as: the percentage number of the nodes in the verification node cluster are selected for verification, and because the sizes of the verification authorities are basically the same according to the nodes in the node cluster which is built according to the preset built classification rule (for example, the nodes with different benefit bodies are distributed in one node cluster), when the internal verification rule of the verification node cluster is set, only the percentage of the number of the verification nodes needs to be determined, and the nodes in the node cluster can be randomly selected according to the percentage of the number. Of course, in other cases, other conditions besides the percentage of the verification quantity may be set for the internal node verification rule of the node cluster, and the rule of which node is selected proportionally may also be set, which is not limited in the embodiment of the present invention.
Example 2
Fig. 2 is a flowchart of a block link point cluster building method provided in embodiment 2 of the present invention. As shown in fig. 2, the block link point cluster building method provided by the embodiment of the present invention includes the following steps:
201. deploying the nodes; carrying out cluster grouping on the nodes; maintaining synchronous information of all nodes; and selecting a middleware gateway route and providing an external interface.
1) Deploying the nodes according to the achieved rule, specifically comprising: acquiring a chain source code; compiling the source code into binary code; configuring a P2P network through seeds parameters; after the node deployment is finished, adding the node into a link network;
2) carrying out cluster grouping on the nodes according to a preset built classification rule, wherein a plurality of nodes can form a node cluster, which is equivalent to the nodes forming a group;
3) and all nodes maintain synchronous information, select a middleware gateway route and provide an external interface.
202. And determining part of the node clusters which meet the screening conditions of the preset screening rules as the verification node clusters for verifying the data information according to the verification trust or the verification confidence of the node clusters and the preset screening rules.
The purpose of forming the node clusters by the plurality of nodes in the block chain network is to select part of the node clusters to verify, and other node clusters can be free from verification, so that the whole block chain network does not need full-network verification, the node verification efficiency can be improved under the condition that the block chain network is relatively safe and reliable by the operation, and the overall performance of the block chain network is improved.
In order to achieve the above purpose, in a blockchain network, a verification node cluster for verifying data information needs to be determined, where the verification confidence or the verification confidence of the node cluster refers to a self-defined selectable verification confidence value of a constructed node cluster, or a verification confidence value of the confidence value generated through statistics, and after the parameter value is determined, a part of node clusters meeting a preset screening rule screening condition is screened according to a preset screening rule and determined as the verification node cluster for verifying data information. The preset filtering condition may be to filter the verification confidence level or the optimal value of the verification confidence level, or to satisfy a certain predetermined range. For example, in a plurality of node clusters including nodes with relatively representative nodes or low common interest group concentration rate, the node clusters are selected to determine a verification node cluster when node cluster screening is performed according to a defined rule with high verification trust or verification confidence.
Through the operation, the block chain network is relatively reliable even if partial verification is carried out, and the efficiency of verifying the block chain network nodes is improved most importantly. For example, the efficiency of verifying the nodes of the whole network is slow, the verification time is long, and the verification of selecting a part of nodes is fast, for example, the efficiency agreed by all 100 nodes is certainly slower than the efficiency agreed by all 20 nodes, the consensus rules of node verification (the verification trust or the verification confidence of a node cluster can be determined according to the consensus rules of multiple nodes) can be set by user, the default whole network verification of all node verification of cluster nodes can be set, the default whole network approval verification of cluster node percentage node verification can be set, and meanwhile, the default whole network approval verification of several node cluster verification defaults can also be set. The verification of the blockchain nodes is that the more verification nodes are, the safer and the more democratic, but the slower the efficiency is.
An application example for implementing the verification node cluster setting process is as follows:
assuming that there are 5 multi-node clusters A, B, C, D, E in the blockchain network, a middleware a is developed to provide an API interface externally, which serves as a gateway and a link route, for determining which cluster the information data is verified in when submitted to the blockchain network, and the specific implementation process is as follows:
1) identifying the information X needing verification (such as marking that the cluster B needs verification);
2) the middleware a (namely gateway link route) carries out judgment;
3) the middleware a identifies that the information X needs B verification through the mark;
4) middleware a assigns information X to B for verification;
5) verifying the cluster B;
6) after the verification of the cluster B is completed, other clusters CDE synchronize the data of the cluster B;
7) other clusters verify the same.
It should be noted that, the implementation process of step 202 may be implemented in other ways besides the above-mentioned ways, and the embodiment of the present invention does not limit the specific ways.
203. A percentage of verification node number condition for the cluster of verification nodes is determined.
The percentage condition of the number of verification nodes herein may be defined and set according to an actual situation, for example, may be 50% or 100%, or other percentages, and after the percentage condition is determined, the internal verification rule of the verification node cluster is set as: the percentage number of the nodes in the verification node cluster are selected for verification, and because the sizes of the verification authorities are basically the same according to the nodes in the node cluster which is built according to the preset built classification rule (for example, the nodes with different benefit bodies are distributed in one node cluster), when the internal verification rule of the verification node cluster is set, only the percentage of the number of the verification nodes needs to be determined, and the nodes in the node cluster can be randomly selected according to the percentage of the number. Of course, in other cases, other conditions besides the percentage of the verification quantity may be set for the internal node verification rule of the node cluster, and the rule of which node is selected proportionally may also be set, which is not limited in the embodiment of the present invention.
It should be noted that, the implementation process of step 203 may be implemented in other ways besides the above-mentioned ways, and the specific way is not limited in the embodiment of the present invention.
Example 3
Fig. 3 is a flowchart of a block link point cluster building method provided in embodiment 3 of the present invention, and as shown in fig. 3, the block link point cluster building method provided in the embodiment of the present invention includes the following steps:
301. and classifying the existing nodes in the block chain network, and building a plurality of node clusters.
Specifically, the existing node classification setting principle is classified according to the preset classification rule, so that a plurality of node clusters are formed.
It should be noted that, the implementation process of step 301 may be implemented in other ways besides the above-mentioned ways, and the specific way is not limited in the embodiment of the present invention.
302. And determining part of the node clusters which meet the screening conditions of the preset screening rules as the verification node clusters for verifying the data information according to the verification trust or the verification confidence of the node clusters and the preset screening rules.
The implementation process of this step is the same as the implementation process of this step in embodiment 2, and for details, see the corresponding description in the embodiment, and will not be described herein again.
It should be noted that, the implementation process of step 302 may be implemented in other ways besides the above-mentioned ways, and the specific way is not limited by the embodiment of the present invention.
303. A percentage of verification node number condition for the cluster of verification nodes is determined.
The implementation process of this step is the same as the implementation process of this step in embodiment 2, and for details, see the corresponding description in the embodiment, and will not be described herein again.
It should be noted that, the implementation process of step 303 may be implemented in other ways besides the above-mentioned ways, and the specific way is not limited in the embodiment of the present invention.
Example 4
Fig. 4 is a flowchart of a block link point cluster building method provided in embodiment 4 of the present invention, and as shown in fig. 4, the block link point cluster building method provided in the embodiment of the present invention includes the following steps:
401. and building a plurality of node clusters in the block chain network.
The implementation process of this step is the same as the implementation process of this step in embodiment 1, and for details, reference is made to the corresponding description in the embodiment, and details are not repeated here.
It should be noted that, the implementation process of step 401 may be implemented in other ways besides the above-mentioned ways, and the specific way is not limited in the embodiment of the present invention.
402. And setting a verification node cluster used for verifying the data information in the plurality of node clusters.
The implementation process of this step is the same as the implementation process of this step in embodiment 1, and for details, reference is made to the corresponding description in the embodiment, and details are not repeated here.
It should be noted that, the implementation process of step 402 may be implemented in other ways besides the above-mentioned ways, and the specific way is not limited in the embodiment of the present invention.
403. And setting an internal verification rule of the verification node cluster.
The implementation process of this step is the same as the implementation process of this step in embodiment 1, and for details, reference is made to the corresponding description in the embodiment, and details are not repeated here.
It should be noted that, the implementation process of step 403 may be implemented in other ways besides the above-mentioned ways, and the specific way is not limited in the embodiment of the present invention.
404. And adding the new node into the node cluster.
Specifically, a source code of the chain is obtained; compiling the source code into binary code; configuring a P2P network through seeds parameters; selecting a node cluster to be added; finding an existing node of the node cluster; signing through an existing node private key and an added node public key; and upgrading the node into a node with verification authority through the authorization interface.
The above implementation is preferably performed according to the following steps:
1) selecting a node cluster to be added;
2) signing the newly added node through a standard CA;
3) upgrading the newly added node into a verification node through a middleware privilege escalation interface;
4) acquiring a source code of a chain;
5) compiling the source code into binary code;
6) configuring a P2P network through seeds parameters;
7) finding an existing node of the node cluster;
8) signing through an existing node private key and an added node public key;
9) and upgrading the node into a verification node through the authorization interface.
It should be noted that, the implementation process of step 404 may be implemented in other ways besides the implementation steps and ways described above, and the specific ways are not limited in the embodiment of the present invention.
Example 5
Fig. 5 is a schematic structural diagram of a block link point cluster building device provided in embodiment 5 of the present invention, and as shown in fig. 5, the block link point cluster building device provided in embodiment of the present invention includes a building module 51, a first setting module 52, and a second setting module 53.
A building module 51 for building a plurality of node clusters in the blockchain network. Specifically, the building module 51 is used for: and building a plurality of node clusters in the block chain network according to preset building classification rules, wherein the preset building classification rules at least comprise rules for node classification building according to regions, industries, roles or interest body categories. The rule for carrying out node classification and establishment according to the interest body category comprises the following steps: and respectively building nodes belonging to the same interest body category in different node clusters.
Specifically, the building module 51 is used for: deploying the nodes; carrying out cluster grouping on the nodes; maintaining synchronous information of all nodes; and selecting a middleware gateway route and providing an external interface.
In addition, the building module 51 is configured to classify existing nodes in the block chain network, and build a plurality of node clusters.
In addition, the building module 51 is also used for: acquiring a source code of a chain; compiling the source code into binary code; configuring a P2P network through seeds parameters; selecting a node cluster to be added; finding an existing node of the node cluster; signing through an existing node private key and an added node public key; and upgrading the node into a node with verification authority through the authorization interface.
The first setting module 52 is configured to set a verification node cluster for verifying the data information among the plurality of node clusters. Specifically, the first setting module 52 is configured to: and determining part of the node clusters which meet the screening conditions of the preset screening rules as the verification node clusters for verifying the data information according to the verification trust or the verification confidence of the node clusters and the preset screening rules. The first setup module 52 is further configured to: and calculating the verification confidence degrees or the verification confidence degrees of the plurality of node clusters by using a preset rule.
And a second setting module 53, configured to set an internal verification rule of the verification node cluster. Specifically, a verification node number percentage condition of the verification node cluster is determined.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
In summary, the block link point cluster building method and device provided by the embodiment of the invention have the following beneficial effects compared with the prior art:
by the mode of building a plurality of node clusters from a plurality of nodes of a block chain, and setting the verification node clusters used for verifying data information and the internal verification rules of the verification node clusters, when node verification is carried out, proper or representative nodes and node clusters formed by the nodes are selected for verification without whole network verification, even if the number of nodes in the block chain network is continuously increased, the performance of the block chain network is improved under the condition of ensuring the relatively reliable and robust block chain network, and therefore, the block chain link point cluster building method has a good application prospect.
It should be noted that: when the block chain node cluster building device provided by the above embodiment triggers a block chain node cluster building service, only the division of the above functional modules is used for illustration, and in practical application, the above function distribution can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the block chain link point cluster building device provided by the above embodiment and the block chain link point cluster building method embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (16)

1. A block link point cluster building method is characterized by comprising the following steps:
building a plurality of node clusters in a block chain network;
setting a verification node cluster used for verifying data information in the plurality of node clusters;
setting an internal verification rule of the verification node cluster;
the building of the plurality of node clusters in the block chain network comprises building the plurality of node clusters in the block chain network according to a preset building classification rule; the preset built classification rules comprise rules for node classification building according to the types of interest bodies; the building of the plurality of node clusters in the block chain network according to the preset building classification rule comprises building nodes belonging to the same interest body category in different node clusters respectively.
2. The method according to claim 1, wherein the preset building classification rules further include rules for node classification building according to regions, industries or role categories.
3. The method of claim 1 or 2, wherein building a plurality of node clusters in a blockchain network comprises:
deploying the nodes; carrying out cluster grouping on the nodes; maintaining synchronous information of all nodes; and selecting a middleware gateway route and providing an external interface.
4. The method of claim 1 or 2, wherein building a plurality of node clusters in a blockchain network comprises:
and classifying the existing nodes in the block chain network, and building a plurality of node clusters.
5. The method according to claim 1 or 2, wherein setting up a verification node cluster for verifying data information among the plurality of node clusters comprises:
and determining part of the node clusters which meet the screening conditions of the preset screening rules as the verification node clusters for verifying the data information according to the verification trust or the verification confidence of the node clusters and the preset screening rules.
6. The method of claim 5, wherein setting a verification node cluster of the plurality of node clusters for verifying data information further comprises:
and calculating the verification trust degrees or the verification confidence degrees of the plurality of node clusters by using a preset rule.
7. The method according to claim 1 or 2, wherein setting internal validation rules of the cluster of validation nodes comprises:
determining a verification node quantity percentage condition for the cluster of verification nodes.
8. The method according to claim 1 or 2, wherein the method further comprises a step of adding a new node to the node cluster, specifically comprising:
acquiring a source code of a chain; compiling the source code into binary code; configuring a P2P network through seeds parameters; selecting a node cluster to be added; finding an existing node of the node cluster; signing through an existing node private key and an added node public key; and upgrading the node into a node with verification authority through the authorization interface.
9. A block link point cluster building apparatus, the apparatus comprising:
the building module is used for building a plurality of node clusters in the block chain network;
the first setting module is used for setting a verification node cluster used for verifying data information in the plurality of node clusters;
the second setting module is used for setting an internal verification rule of the verification node cluster;
the building of the plurality of node clusters in the block chain network comprises building the plurality of node clusters in the block chain network according to a preset building classification rule; the preset built classification rules comprise rules for node classification building according to the types of interest bodies; the building of the plurality of node clusters in the block chain network according to the preset building classification rule comprises building nodes belonging to the same interest body category in different node clusters respectively.
10. The device of claim 9, wherein the preset building classification rules further include rules for building node classification according to region, industry or role categories.
11. An apparatus according to claim 9 or 10, wherein the building module is configured to:
deploying the nodes; carrying out cluster grouping on the nodes; maintaining synchronous information of all nodes; and selecting a middleware gateway route and providing an external interface.
12. An apparatus according to claim 9 or 10, wherein the building module is configured to:
and classifying the existing nodes in the block chain network, and building a plurality of node clusters.
13. The apparatus of claim 9 or 10, wherein the first setup module is configured to:
and determining part of the node clusters which meet the screening conditions of the preset screening rules as the verification node clusters for verifying the data information according to the verification trust or the verification confidence of the node clusters and the preset screening rules.
14. The apparatus of claim 13, wherein the first setup module is further configured to:
and calculating the verification trust degrees or the verification confidence degrees of the plurality of node clusters by using a preset rule.
15. The apparatus of claim 9 or 10, wherein the second setup module is configured to:
determining a verification node quantity percentage condition for the cluster of verification nodes.
16. The apparatus according to claim 9 or 10, wherein the building module is further configured to:
acquiring a source code of a chain; compiling the source code into binary code; configuring a P2P network through seeds parameters; selecting a node cluster to be added; finding an existing node of the node cluster; signing through an existing node private key and an added node public key; and upgrading the node into a node with verification authority through the authorization interface.
CN201810462671.8A 2018-05-15 2018-05-15 Block chain link point cluster building method and device Active CN108632386B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810462671.8A CN108632386B (en) 2018-05-15 2018-05-15 Block chain link point cluster building method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810462671.8A CN108632386B (en) 2018-05-15 2018-05-15 Block chain link point cluster building method and device

Publications (2)

Publication Number Publication Date
CN108632386A CN108632386A (en) 2018-10-09
CN108632386B true CN108632386B (en) 2021-06-08

Family

ID=63693420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810462671.8A Active CN108632386B (en) 2018-05-15 2018-05-15 Block chain link point cluster building method and device

Country Status (1)

Country Link
CN (1) CN108632386B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474430B (en) * 2019-01-10 2022-03-22 四川虹微技术有限公司 Cluster key generation method and device and storage medium thereof
CN109919771B (en) * 2019-03-18 2020-04-10 徐雪松 Industrial internet transaction device applying hierarchical block chain technology
CN113420083B (en) * 2021-06-02 2024-03-19 湖南大学 System with heterogeneous parallel block chain structure of extensible distributed ledger

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107079059A (en) * 2016-12-21 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain storage method and device and node equipment
CN107239479A (en) * 2017-03-28 2017-10-10 阿里巴巴集团控股有限公司 A kind of method and device of data storage and inquiry based on block chain
CN107579931A (en) * 2017-09-08 2018-01-12 杭州云象网络技术有限公司 A kind of block chain based on Kubernetes is Service Source adaptation method
CN107623569A (en) * 2017-09-30 2018-01-23 矩阵元技术(深圳)有限公司 Block chain key escrow and restoration methods, device based on Secret sharing techniques
CN107807984A (en) * 2017-10-31 2018-03-16 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing subregion common recognition

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488665A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Decentralized transaction method
GB2557577A (en) * 2016-10-21 2018-06-27 Cygnetise Ltd Methods and apparatus for recording a change of authorisation state of one or more authorisation agents
CN106850536B (en) * 2016-11-30 2020-01-07 北京瑞卓喜投科技发展有限公司 Block chain consensus method and system
CN106603698A (en) * 2016-12-28 2017-04-26 北京果仁宝科技有限公司 Block chain consensus method based on DPOS and nodes
CN106878071B (en) * 2017-01-25 2020-09-15 上海钜真金融信息服务有限公司 Block chain consensus mechanism based on Raft algorithm
CN106936589B (en) * 2017-04-21 2020-02-07 杭州秘猿科技有限公司 Centerless license chain parallel fragmentation method and transaction method
CN107171829B (en) * 2017-04-24 2019-12-24 杭州趣链科技有限公司 Dynamic node management method realized based on BFT consensus algorithm
CN107528886B (en) * 2017-07-25 2020-07-31 中国科学院计算技术研究所 Block chain full-network splitting method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107079059A (en) * 2016-12-21 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain storage method and device and node equipment
CN107239479A (en) * 2017-03-28 2017-10-10 阿里巴巴集团控股有限公司 A kind of method and device of data storage and inquiry based on block chain
CN107579931A (en) * 2017-09-08 2018-01-12 杭州云象网络技术有限公司 A kind of block chain based on Kubernetes is Service Source adaptation method
CN107623569A (en) * 2017-09-30 2018-01-23 矩阵元技术(深圳)有限公司 Block chain key escrow and restoration methods, device based on Secret sharing techniques
CN107807984A (en) * 2017-10-31 2018-03-16 上海分布信息科技有限公司 A kind of block chain network of subregion and its method for realizing subregion common recognition

Also Published As

Publication number Publication date
CN108632386A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
CN110113388B (en) Improved clustering algorithm-based block chain system consensus method and device
CN110245956B (en) Asynchronous multi-chain based block chain transaction confirmation method and system
CN109033422B (en) Method and device for generating block chain and block chain
CN111565205B (en) Network attack identification method and device, computer equipment and storage medium
CN108632386B (en) Block chain link point cluster building method and device
CN112765677B (en) Federal learning method, device and system based on blockchain
CN108681966A (en) A kind of information monitoring method and device based on block chain
CN111654465A (en) Power service cross-domain credible authentication system and method based on block chain
CN112527912B (en) Data processing method and device based on block chain network and computer equipment
CN110597943A (en) Interest point processing method and device based on artificial intelligence and electronic equipment
CN112511350B (en) Alliance chain multi-level consensus method, device and storage medium
CN105141681B (en) The synchronous method and device of RPKI files
CN112671881B (en) Node organization management method and device, electronic equipment and readable storage medium
CN113518005B (en) Block consensus method, device, equipment and storage medium
CN111954209A (en) Information processing method and device for improving security of wireless sensor node
CN113626875A (en) Knowledge graph file storage method for block chain fragment enabling
Aguilar-Fuster et al. A novel evaluation function for higher acceptance rates and more profitable metaheuristic-based online virtual network embedding
CN116186754A (en) Federal random forest power data collaborative analysis method based on blockchain
CN112953768B (en) Three-layer network change scheme verification method and system
CN110222505A (en) Industrial control attack sample expansion method and system based on genetic algorithm
Emek et al. On the effect of the deployment setting on broadcasting in Euclidean radio networks
CN110166295B (en) Method for judging whether network topology supports Byzantine fault tolerance or not
CN114329099A (en) Overlapping community identification method, device, equipment, storage medium and program product
CN109300032B (en) Block generation method, device, equipment and computer readable storage medium
Peng et al. TrustVis: visualizing trust toward attack identification in distributed computing environments

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210913

Address after: 518052 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Patentee after: ZHONGAN INFORMATION TECHNOLOGY SERVICE Co.,Ltd.

Patentee after: Baibao (Shanghai) Technology Co.,Ltd.

Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Patentee before: ZHONGAN INFORMATION TECHNOLOGY SERVICE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240229

Address after: Room 1179, W Zone, 11th Floor, Building 1, No. 158 Shuanglian Road, Qingpu District, Shanghai, 201702

Patentee after: Shanghai Zhongan Information Technology Service Co.,Ltd.

Guo jiahuodiqu after: Zhong Guo

Patentee after: Baibao (Shanghai) Technology Co.,Ltd.

Address before: 518052 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Patentee before: ZHONGAN INFORMATION TECHNOLOGY SERVICE Co.,Ltd.

Guo jiahuodiqu before: Zhong Guo

Patentee before: Baibao (Shanghai) Technology Co.,Ltd.

TR01 Transfer of patent right