CN108632386A - A kind of block chain set of node group building method and device - Google Patents

A kind of block chain set of node group building method and device Download PDF

Info

Publication number
CN108632386A
CN108632386A CN201810462671.8A CN201810462671A CN108632386A CN 108632386 A CN108632386 A CN 108632386A CN 201810462671 A CN201810462671 A CN 201810462671A CN 108632386 A CN108632386 A CN 108632386A
Authority
CN
China
Prior art keywords
node
verification
cluster
block chain
clusters
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.)
Granted
Application number
CN201810462671.8A
Other languages
Chinese (zh)
Other versions
CN108632386B (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

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 kind of block chain set of node group building method and devices, belong to block chain technical field.The method includes:Multiple node clusters are built in block chain network;Set the verification node cluster that verify data information is used in the multiple node cluster;Set the internal verification rule of the verification node cluster.The present invention can also improve the performance of block chain network, therefore block chain set of node group's building method has good application prospect in the case where ensureing that block chain network is relatively reliable and healthy and strong.

Description

A kind of block chain set of node group building method and device
Technical field
The present invention relates to block chain technical field, more particularly to a kind of block chain set of node group building method and device.
Background technology
Block chain BlockChain technologies are a kind of emerging skills occurred in recent years in the field financial technology (FinTech) Art, the attributes such as unique decentralization, information can not distort, multinode collective maintainability, publicity, secret protection, in base In incredible internet, it can record, believable trading information data is provided.
Block chain includes mainly P2P networks, cryptography, common recognition mechanism, intelligence and about four component parts, passes through four The Technology Integration in field ensures its exclusive characteristic.
The main problem that current block chain network faces is:(1) it in order to improve the robustness of block chain network, builds a large amount of Block chain network verification node it is inevitable;(2) current block chain network increasing with verification node deployment, whole area Block chain network performance is greatly lowered.
Invention content
In order to solve problems in the prior art, an embodiment of the present invention provides a kind of block chain set of node group building method and Device.The technical solution is as follows:
On the one hand, a kind of block chain set of node group's building method is provided, the method includes:It is taken in block chain network Build multiple node clusters;Set the verification node cluster that verify data information is used in the multiple node cluster;Described in setting Verify the internal verification rule of node cluster.
Preferably, multiple node clusters are built in block chain network, including:Classifying rules is built in block according to default Multiple node clusters are built in chain network, the default classifying rules of building is included at least according to region, industry, role or profit Beneficial body classification carries out the rule that node-classification is built.
Preferably, the rule built according to dom classification progress node-classification, including:Same dom will be belonged to The node of classification is built respectively in different node clusters.
Preferably, multiple node clusters are built in block chain network, including:Dispose node;Cluster point is carried out to node Group;All node synchronizing informations are safeguarded;Selected middleware gateway routing, provides external interface.
Preferably, multiple node clusters are built in block chain network, including:To the existing node in block chain network into Row classification, builds multiple node clusters.
Preferably, the verification node cluster that verify data information is used in the multiple node cluster is set, including:According to The verification degree of belief of multiple node clusters verifies confidence level and according to default screening rule, will meet default screening rule sieve The part of nodes cluster of condition is selected to be determined as the verification node cluster for verify data information.
Preferably, the verification node cluster for being used for verify data information in the multiple node cluster is set, further includes:Profit The verification degree of belief or verification confidence level of the multiple node cluster are calculated with preset rules.
Preferably, the internal verification rule of the verification node cluster is set, including:Determine the verification node cluster Verify number of nodes percentage condition.
Preferably, the method further includes that node cluster step is added in new node, is specifically included:Obtain the source code of chain; Compile source code into binary code;Pass through seeds parameter configuration P2P networks;Select the node cluster to be added;Find this One existing node of node cluster;It is signed by having node private key and node public key being added;By carrying power interface, will save Point upgrades to the node with verifying authorization.
On the other hand, it provides a kind of block chain set of node group and builds device, described device includes:
Module is built, for building multiple node clusters in block chain network;First setup module, it is described for setting The verification node cluster of verify data information is used in multiple node clusters;Second setup module, for setting the verification section The internal verification rule of point cluster.
Preferably, the module of building is used for:According to it is default build classifying rules built in block chain network it is multiple Node cluster, the default classifying rules of building are included at least according to region, industry, role or dom classification progress node The rule that classification is built.
Preferably, the rule built according to dom classification progress node-classification, including:Same dom will be belonged to The node of classification is built respectively in different node clusters.
Preferably, the module of building is used for:Dispose node;Cluster grouping is carried out to node;All node synchronizing informations It safeguards;Selected middleware gateway routing, provides external interface.
Preferably, the module of building is used for:Classify to the existing node in block chain network, builds multiple nodes Cluster.
Preferably, first setup module is used for:According to the verification degree of belief of multiple node clusters or verification confidence level And according to default screening rule, the part of nodes cluster for meeting default screening rule screening conditions is determined as verifying number It is believed that the verification node cluster of breath.
Preferably, first setup module is additionally operable to:The verification of the multiple node cluster is calculated using preset rules Degree of belief or verification confidence level.
Preferably, second setup module is used for:Determine the verification number of nodes percentage of the verification node cluster Condition.
Preferably, the module of building is additionally operable to:Obtain the source code of chain;Compile source code into binary code;It is logical Cross seeds parameter configuration P2P networks;Select the node cluster to be added;Find an existing node of the node cluster;Pass through Have node private key and node public key is added and signs;By carrying power interface, node is upgraded into the node with verifying authorization.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
By being built into the form of several node clusters in the multiple nodes of block chain, wherein it is used to verify number by setting It is believed that the verification node cluster of breath and the internal verification rule of verification node cluster, when carrying out node verification, it is appropriate to choose Or the node cluster of representative node and node composition verified, verified without the whole network, even if block Node in chain network is on the increase, and in the case where ensureing that block chain network is relatively reliable and healthy and strong, also improves block chain The performance of network, therefore block chain set of node group's building method has good application prospect.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is block chain set of node group's building method flow chart that the embodiment of the present invention 1 provides;
Fig. 2 is block chain set of node group's building method flow chart that the embodiment of the present invention 2 provides;
Fig. 3 is block chain set of node group's building method flow chart that the embodiment of the present invention 3 provides;
Fig. 4 is block chain set of node group's building method flow chart that the embodiment of the present invention 4 provides;
Fig. 5 is that the block chain set of node group that the embodiment of the present invention 5 provides builds apparatus structure schematic diagram.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention Figure, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only this Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist The every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
It should be noted that term " first ", " second " are used for description purposes only, it is not understood to indicate or imply phase To importance or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be with Express or implicitly include one or more this feature.In the description of the present invention, the meaning of " plurality " is two with On, unless otherwise specifically defined.
Block chain set of node group building method and device provided in an embodiment of the present invention, by the multiple nodes of block chain It is built into the form of several node clusters, is saved by setting the verification node cluster for being wherein used for verify data information and verification The internal verification rule of point cluster chooses node and node group appropriate or representative when carrying out node verification At node cluster verified, without the whole network verify, even if the node in block chain network is on the increase, ensure area In the case that block chain network is relatively reliable and healthy and strong, the performance of block chain network, therefore block chain set of node group are also improved Building method has good application prospect, can be applied to the various related fields for being related to block chain network construction.
With reference to specific embodiment, block chain set of node group building method provided in an embodiment of the present invention and device are made It is described in detail.
Embodiment 1
Fig. 1 is block chain set of node group's building method flow chart that the embodiment of the present invention 1 provides.As shown in Figure 1, of the invention Block chain set of node group's building method that embodiment provides, includes the following steps:
101, multiple node clusters are built in block chain network.
It is default to build point specifically, build classifying rules according to default and build multiple node clusters in block chain network Rule-like is included at least carries out the rule that node-classification is built according to region, industry, role or dom classification.Taking here Building classifying rules can be self-defined, and the number of nodes range of node cluster can also be self-defined, for example can determine 20-30 A node forms a cluster, and when setting number of nodes more than a certain quantitative range, new set of node will be added in overage Group, continuously and effectively to keep the high-performance of network.Preferably, it is to be carried out according to dom classification to preset and build classifying rules The rule that node-classification is built specifically is built the node for belonging to same dom classification respectively in different node clusters. Because node cluster is made of different doms, node can be effectively prevent to be controlled by unified dom, all roles are added all It is single minor node, in the node cluster of multiple minor nodes compositions, it is proposed that no common interests composition is preferred, for example, soil Node and music node, red wine node and real estate node, this relevance are not difficult the node for generating common interests very much, can be with It is placed in same node cluster, on the contrary then selection is placed in different node clusters, can effectively prevent the consistent group of interests in this way Body negotiation plays tricks to pass through verification.
In addition, the node cluster build process is related to two kinds of application scenarios, under different application scene, the side of specific implementation Formula is different.
1, in the case where block chain network is not built, implementation process is as follows:
1) according to the rule deployment node reached, include specifically:Obtain chain source code;Compile source code into binary system Code;Pass through seeds parameter configuration P2P networks;Node deployment is completed, and chain network is added;
2) cluster grouping is carried out to node according to default classifying rules of building, several nodes can form a set of node Group, is equivalent to nodes and forms a group;
3) all node synchronizing informations are safeguarded, are selected middleware gateway routing, are provided external interface.
2, already present in block chain network, the implementation process of node cluster building is as follows:
Classify to the existing node in block chain network, builds multiple node clusters.To having node-classification setting Principle can according to it is above-mentioned it is default build classifying rules and classify, form multiple node clusters.
102, the verification node cluster that verify data information is used in multiple node clusters is set.
Specifically, according to the verification degree of belief of multiple node clusters or verification confidence level and according to default screening rule, The part of nodes cluster for meeting default screening rule screening conditions is determined as the verification node cluster for verify data information. Preferably, which includes:The verification degree of belief or verification confidence level of the multiple node cluster are calculated using preset rules.
The purpose that multiple nodes in block chain network form node cluster is, select part of nodes cluster therein into Row verification, other node clusters can be exempt from customs examination, so that entire block chain network is verified without the whole network, such operation can Realize block chain network it is comparatively safe it is reliable in the case of, node verification efficiency is improved, to improve the entirety of block chain network Performance.
In order to achieve the above object, in block chain network, it is necessary first to determine the verification section for verify data information Point cluster, the verification degree of belief of so-called node cluster or verification confidence level, refer to the node cluster that structure is completed carry out from The trusting degree value of the optional verification of definition, or the verification confidence value by counting the above-mentioned trusting degree value generated, After determining above-mentioned parameter value, the part of nodes collection for meeting default screening rule screening conditions is filtered out according to default screening rule Group is determined as the verification node cluster for verify data information.Here default screening conditions can be screening verification degree of belief Or the optimal value of verification confidence level, or meet a certain preset range.For example, in multiple node clusters, wherein including The node that node is more representative or common interests body concentration ratio is low is trusted according to the rule of definition with higher verification Degree or verification confidence level will select such node cluster to determine verification node cluster when carrying out the screening of node cluster.
Also it is achieved that block chain network is relatively reliable part is verified by aforesaid operations, it is main to improve area The efficiency of block chain network node verification.For example, the whole network node verification efficiency can be very slow, the verification time is long, selector merogenesis Point verification can be many soon, for example the efficiency that 100 nodes are all agreed to centainly is slower than the efficiency that 20 nodes are all agreed to, node The consensus rules (can be according to the consensus rules of multinode, to determine the verification degree of belief or verification confidence level of node cluster) of verification All it is that self-defined can be arranged, clustered node whole node verification can be set and give tacit consent to the whole network verification, cluster section can also be set Point percentage node verification gives tacit consent to the whole network and agrees to verification, while can also be arranged, and several node cluster verification acquiescence the whole networks are agreed to Verification.Block chain node verification is exactly more, more safe more democracy of verifying node, but efficiency is slower.
Realize that the application example of above-mentioned verification node cluster setting process is as follows:
Assuming that having 5 multi-node clusters A, B, C, D, E in block chain network, one middleware a of exploitation externally provides API and connects Mouthful, the role of gateway and chain routing is served as, for judging information data when being submitted to block chain network, is come in which cluster Verification, specific implementation process are as follows:
1) to needing verification information X mark-ons to know (for example label needs cluster B to verify);
2) middleware a (namely chains of gateways routing) is differentiated;
3) middleware a goes out information X by marker recognition B is needed to verify;
4) information X is assigned to B and goes to verify by middleware a;
5) cluster B is verified;
6) after the completion of cluster B verifications, other clusters CDE synchronizes the data of B;
7) other clusters are verified similarly.
103, the internal verification rule of setting verification node cluster.
Specifically, determine verification node cluster verification number of nodes percentage condition, to verification node cluster into When row verification, verified according to verification number of nodes percentage condition.
Here verification number of nodes percentage condition can be defined setting according to actual conditions, for example can be 50% either 100% or other percentages, it is determined that after percentage condition, the internal verification rule of setting verification node cluster It is then:The node of above-mentioned percent quantities is verified in selection verification node cluster, due to building classifying rules according to default Node (for example the node of different interests body is distributed in a node cluster) in the node cluster built, verifying authorization it is big It is small substantially the same, therefore in the internal verification rule of setting verification node cluster, need to only determine verification number of nodes percentage Than the node in node cluster can be randomly choosed according to the number percent.It certainly, can also in the case of in addition Other conditions in addition to verifying number percent are arranged to the internal node proof rule of node cluster, which kind of node is ratio select Rule, the embodiment of the present invention do not limit it.
Embodiment 2
Fig. 2 is block chain set of node group's building method flow chart that the embodiment of the present invention 2 provides.As shown in Fig. 2, of the invention Block chain set of node group's building method that embodiment provides, includes the following steps:
201, node is disposed;Cluster grouping is carried out to node;All node synchronizing informations are safeguarded;Selected middleware gateway road By providing external interface.
1) according to the rule deployment node reached, include specifically:Obtain chain source code;Compile source code into binary system Code;Pass through seeds parameter configuration P2P networks;Node deployment is completed, and chain network is added;
2) cluster grouping is carried out to node according to default classifying rules of building, several nodes can form a set of node Group, is equivalent to nodes and forms a group;
3) all node synchronizing informations are safeguarded, are selected middleware gateway routing, are provided external interface.
202, it according to the verification degree of belief of multiple node clusters or verification confidence level and according to default screening rule, will accord with The part of nodes cluster for closing default screening rule screening conditions is determined as the verification node cluster for verify data information.
The purpose that multiple nodes in block chain network form node cluster is, select part of nodes cluster therein into Row verification, other node clusters can be exempt from customs examination, so that entire block chain network is verified without the whole network, such operation can Realize block chain network it is comparatively safe it is reliable in the case of, node verification efficiency is improved, to improve the entirety of block chain network Performance.
In order to achieve the above object, in block chain network, it is necessary first to determine the verification section for verify data information Point cluster, the verification degree of belief of so-called node cluster or verification confidence level, refer to the node cluster that structure is completed carry out from The trusting degree value of the optional verification of definition, or the verification confidence value by counting the above-mentioned trusting degree value generated, After determining above-mentioned parameter value, the part of nodes collection for meeting default screening rule screening conditions is filtered out according to default screening rule Group is determined as the verification node cluster for verify data information.Here default screening conditions can be screening verification degree of belief Or the optimal value of verification confidence level, or meet a certain preset range.For example, in multiple node clusters, wherein including The node that node is more representative or common interests body concentration ratio is low is trusted according to the rule of definition with higher verification Degree or verification confidence level will select such node cluster to determine verification node cluster when carrying out the screening of node cluster.
Also it is achieved that block chain network is relatively reliable part is verified by aforesaid operations, it is main to improve area The efficiency of block chain network node verification.For example, the whole network node verification efficiency can be very slow, the verification time is long, selector merogenesis Point verification can be many soon, for example the efficiency that 100 nodes are all agreed to centainly is slower than the efficiency that 20 nodes are all agreed to, node The consensus rules (can be according to the consensus rules of multinode, to determine the verification degree of belief or verification confidence level of node cluster) of verification All it is that self-defined can be arranged, clustered node whole node verification can be set and give tacit consent to the whole network verification, cluster section can also be set Point percentage node verification gives tacit consent to the whole network and agrees to verification, while can also be arranged, and several node cluster verification acquiescence the whole networks are agreed to Verification.Block chain node verification is exactly more, more safe more democracy of verifying node, but efficiency is slower.
Realize that the application example of above-mentioned verification node cluster setting process is as follows:
Assuming that having 5 multi-node clusters A, B, C, D, E in block chain network, one middleware a of exploitation externally provides API and connects Mouthful, the role of gateway and chain routing is served as, for judging information data when being submitted to block chain network, is come in which cluster Verification, specific implementation process are as follows:
1) to needing verification information X mark-ons to know (for example label needs cluster B to verify);
2) middleware a (namely chains of gateways routing) is differentiated;
3) middleware a goes out information X by marker recognition B is needed to verify;
4) information X is assigned to B and goes to verify by middleware a;
5) cluster B is verified;
6) after the completion of cluster B verifications, other clusters CDE synchronizes the data of B;
7) other clusters are verified similarly.
It should be noted that the implementation process of 202 step can also be by other means other than aforesaid way Realize that the process, the embodiment of the present invention are not limited specific mode.
203, the verification number of nodes percentage condition of verification node cluster is determined.
Here verification number of nodes percentage condition can be defined setting according to actual conditions, for example can be 50% either 100% or other percentages, it is determined that after percentage condition, the internal verification rule of setting verification node cluster It is then:The node of above-mentioned percent quantities is verified in selection verification node cluster, due to building classifying rules according to default Node (for example the node of different interests body is distributed in a node cluster) in the node cluster built, verifying authorization it is big It is small substantially the same, therefore in the internal verification rule of setting verification node cluster, need to only determine verification number of nodes percentage Than the node in node cluster can be randomly choosed according to the number percent.It certainly, can also in the case of in addition Other conditions in addition to verifying number percent are arranged to the internal node proof rule of node cluster, which kind of node is ratio select Rule, the embodiment of the present invention do not limit it.
It should be noted that the implementation process of 203 step can also be by other means other than aforesaid way Realize that the process, the embodiment of the present invention are not limited specific mode.
Embodiment 3
Fig. 3 is block chain set of node group's building method flow chart that the embodiment of the present invention 3 provides, as shown in figure 3, of the invention Block chain set of node group's building method that embodiment provides, includes the following steps:
301, classify to the existing node in block chain network, build multiple node clusters.
Specifically, to have the principle of node-classification setting according to it is above-mentioned it is default build classifying rules and classify, formed Multiple node clusters.
It should be noted that the implementation process of 301 step can also be by other means other than aforesaid way Realize that the process, the embodiment of the present invention are not limited specific mode.
302, it according to the verification degree of belief of multiple node clusters or verification confidence level and according to default screening rule, will accord with The part of nodes cluster for closing default screening rule screening conditions is determined as the verification node cluster for verify data information.
The implementation process of the step is identical as the implementation process of this kind of step involved in embodiment 2, in detailed in Example Corresponding description, details are not described herein.
It should be noted that the implementation process of 302 step can also be by other means other than aforesaid way Realize that the process, the embodiment of the present invention are not limited specific mode.
303, the verification number of nodes percentage condition of verification node cluster is determined.
The implementation process of the step is identical as the implementation process of this kind of step involved in embodiment 2, in detailed in Example Corresponding description, details are not described herein.
It should be noted that the implementation process of 303 step can also be by other means other than aforesaid way Realize that the process, the embodiment of the present invention are not limited specific mode.
Embodiment 4
Fig. 4 is block chain set of node group's building method flow chart that the embodiment of the present invention 4 provides, as shown in figure 4, of the invention Block chain set of node group's building method that embodiment provides, includes the following steps:
401, multiple node clusters are built in block chain network.
The implementation process of the step is identical as the implementation process of this kind of step involved in embodiment 1, in detailed in Example Corresponding description, details are not described herein.
It should be noted that the implementation process of 401 step can also be by other means other than aforesaid way Realize that the process, the embodiment of the present invention are not limited specific mode.
402, the verification node cluster that verify data information is used in multiple node clusters is set.
The implementation process of the step is identical as the implementation process of this kind of step involved in embodiment 1, in detailed in Example Corresponding description, details are not described herein.
It should be noted that the implementation process of 402 step can also be by other means other than aforesaid way Realize that the process, the embodiment of the present invention are not limited specific mode.
403, the internal verification rule of setting verification node cluster.
The implementation process of the step is identical as the implementation process of this kind of step involved in embodiment 1, in detailed in Example Corresponding description, details are not described herein.
It should be noted that the implementation process of 403 step can also be by other means other than aforesaid way Realize that the process, the embodiment of the present invention are not limited specific mode.
404, node cluster step is added in new node.
Specifically, obtaining the source code of chain;Compile source code into binary code;Pass through seeds parameter configuration P2P nets Network;Select the node cluster to be added;Find an existing node of the node cluster;It is saved by having node private key and being added Point public key is signed;By carrying power interface, node is upgraded into the node with verifying authorization.
Above-mentioned implementation process is carried out preferably according to following steps:
1) the node cluster to be added is selected;
2) it is signed to newly added node by standard CA;
3) power interface is carried by middleware, newly added node is risen into verification node;
4) source code of chain is obtained;
5) binary code is compiled source code into;
6) pass through seeds parameter configuration P2P networks;
7) an existing node of the node cluster is found;
8) it is signed by having node private key and node public key being added;
9) by carrying power interface, node is upgraded into verification node.
It should be noted that the implementation process of 404 step can also lead to other than above-mentioned implementation steps and mode It crosses other modes and realizes that the process, the embodiment of the present invention are not limited specific mode.
Embodiment 5
Fig. 5 is that the block chain set of node group that the embodiment of the present invention 5 provides builds apparatus structure schematic diagram, as shown in figure 5, originally It includes building module 51, the setting of the first setup module 52 and second that the block chain set of node group that inventive embodiments provide, which builds device, Module 53.
Module 51 is built, for building multiple node clusters in block chain network.It is used for specifically, building module 51: It builds classifying rules according to default and is building multiple node clusters in block chain network, it is default to build classifying rules and include at least The rule that node-classification is built is carried out according to region, industry, role or dom classification.Node is carried out according to dom classification The rule that classification is built, including:The node for belonging to same dom classification is built respectively in different node clusters.
It is used for specifically, building module 51:Dispose node;Cluster grouping is carried out to node;All node synchronizing information dimensions Shield;Selected middleware gateway routing, provides external interface.
In addition, building module 51 for classifying to the existing node in block chain network, multiple node clusters are built.
It is additionally operable in addition, building module 51:Obtain the source code of chain;Compile source code into binary code;Pass through Seeds parameter configuration P2P networks;Select the node cluster to be added;Find an existing node of the node cluster;By There is node private key and node public key is added and signs;By carrying power interface, node is upgraded into the node with verifying authorization.
First setup module 52, for setting the verification node cluster for being used for verify data information in multiple node clusters. Specifically, the first setup module 52 is used for:According to the verification degree of belief of multiple node clusters or verification confidence level and according to pre- If screening rule, the part of nodes cluster for meeting default screening rule screening conditions is determined as testing for verify data information Demonstrate,prove node cluster.First setup module 52 is additionally operable to:The verification degree of belief of multiple node clusters is calculated using preset rules or is tested Demonstrate,prove confidence level.
Second setup module 53, the internal verification rule for setting the verification node cluster.Specifically, described in determining Verify the verification number of nodes percentage condition of node cluster.
The alternative embodiment that any combination forms the present invention may be used, herein no longer in above-mentioned all optional technical solutions It repeats one by one.
In conclusion block chain set of node group building method provided in an embodiment of the present invention and device, relative to existing skill Art has the advantages that:
By being built into the form of several node clusters in the multiple nodes of block chain, wherein it is used to verify number by setting It is believed that the verification node cluster of breath and the internal verification rule of verification node cluster, when carrying out node verification, it is appropriate to choose Or the node cluster of representative node and node composition verified, verified without the whole network, even if block Node in chain network is on the increase, and in the case where ensureing that block chain network is relatively reliable and healthy and strong, also improves block chain The performance of network, therefore block chain set of node group's building method has good application prospect.
It should be noted that:The block chain set of node group that above-described embodiment provides builds device in triggering block chain link point set Group is when building business, only the example of the division of the above functional modules, in practical application, can as needed and incite somebody to action Above-mentioned function distribution is completed by different function modules, i.e., the internal structure of device is divided into different function modules, with complete At all or part of function described above.In addition, the block chain set of node group that above-described embodiment provides builds device and area Block chain set of node group's building method embodiment belongs to same design, and specific implementation process refers to embodiment of the method, here no longer It repeats.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (18)

1. a kind of block chain set of node group's building method, which is characterized in that the method includes:
Multiple node clusters are built in block chain network;
Set the verification node cluster that verify data information is used in the multiple node cluster;
Set the internal verification rule of the verification node cluster.
2. according to the method described in claim 1, it is characterized in that, build multiple node clusters in block chain network, including:
Multiple node clusters are built in block chain network according to default classifying rules of building, described preset builds classifying rules extremely Include that the rule that node-classification is built is carried out according to region, industry, role or dom classification less.
3. according to the method described in claim 2, it is characterized in that, described carry out what node-classification was built according to dom classification Rule, including:
The node for belonging to same dom classification is built respectively in different node clusters.
4. according to claim 1-3 any one of them methods, which is characterized in that build multiple sets of node in block chain network Group, including:
Dispose node;Cluster grouping is carried out to node;All node synchronizing informations are safeguarded;Selected middleware gateway routing, provides External interface.
5. according to claim 1-3 any one of them methods, which is characterized in that build multiple sets of node in block chain network Group, including:
Classify to the existing node in block chain network, builds multiple node clusters.
6. according to claim 1-3 any one of them methods, which is characterized in that set in the multiple node cluster for testing The verification node cluster of data information is demonstrate,proved, including:
According to the verification degree of belief of multiple node clusters or verification confidence level and according to default screening rule, default sieve will be met The part of nodes cluster of Rules Filtering condition is selected to be determined as the verification node cluster for verify data information.
7. according to the method described in claim 6, believing for verify data it is characterized in that, setting in the multiple node cluster The verification node cluster of breath further includes:
The verification degree of belief or verification confidence level of the multiple node cluster are calculated using preset rules.
8. according to claim 1-3 any one of them methods, which is characterized in that the inside of the setting verification node cluster is tested Card rule, including:
Determine the verification number of nodes percentage condition of the verification node cluster.
9. according to claim 1-3 any one of them methods, which is characterized in that the method further includes that node is added in new node Cluster step, specifically includes:
Obtain the source code of chain;Compile source code into binary code;Pass through seeds parameter configuration P2P networks;Selection will add The node cluster entered;Find an existing node of the node cluster;It is signed by having node private key and node public key being added Name;By carrying power interface, node is upgraded into the node with verifying authorization.
10. a kind of block chain set of node group builds device, which is characterized in that described device includes:
Module is built, for building multiple node clusters in block chain network;
First setup module, for setting the verification node cluster for being used for verify data information in the multiple node cluster;
Second setup module, the internal verification rule for setting the verification node cluster.
11. device according to claim 10, which is characterized in that the module of building is used for:
Multiple node clusters are being built in block chain network according to default classifying rules of building, it is described default to build classifying rules The rule that node-classification is built is carried out including at least according to region, industry, role or dom classification.
12. according to the devices described in claim 11, which is characterized in that described to be built according to dom classification progress node-classification Rule, including:
The node for belonging to same dom classification is built respectively in different node clusters.
13. according to claim 10-12 any one of them devices, which is characterized in that the module of building is used for:
Dispose node;Cluster grouping is carried out to node;All node synchronizing informations are safeguarded;Selected middleware gateway routing, provides External interface.
14. according to claim 10-12 any one of them devices, which is characterized in that the module of building is used for:
Classify to the existing node in block chain network, builds multiple node clusters.
15. according to claim 10-12 any one of them devices, which is characterized in that first setup module is used for:
According to the verification degree of belief of multiple node clusters or verification confidence level and according to default screening rule, default sieve will be met The part of nodes cluster of Rules Filtering condition is selected to be determined as the verification node cluster for verify data information.
16. device according to claim 15, which is characterized in that first setup module is additionally operable to:
The verification degree of belief or verification confidence level of the multiple node cluster are calculated using preset rules.
17. according to claim 10-12 any one of them devices, which is characterized in that second setup module is used for:
Determine the verification number of nodes percentage condition of the verification node cluster.
18. according to claim 10-12 any one of them devices, which is characterized in that the module of building is additionally operable to:
Obtain the source code of chain;Compile source code into binary code;Pass through seeds parameter configuration P2P networks;Selection will add The node cluster entered;Find an existing node of the node cluster;It is signed by having node private key and node public key being added Name;By carrying power interface, node is upgraded into the node with verifying authorization.
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 true CN108632386A (en) 2018-10-09
CN108632386B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109474430A (en) * 2019-01-10 2019-03-15 四川虹微技术有限公司 A kind of cluster key generation method, device and its storage medium
CN109919771A (en) * 2019-03-18 2019-06-21 徐雪松 A kind of hierarchical block chain network and method of commerce applied to industry internet
CN113420083A (en) * 2021-06-02 2021-09-21 湖南大学 Heterogeneous parallel block chain structure with expandable distributed account book

Citations (13)

* 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
CN106603698A (en) * 2016-12-28 2017-04-26 北京果仁宝科技有限公司 Block chain consensus method based on DPOS and nodes
CN106850536A (en) * 2016-11-30 2017-06-13 北京瑞卓喜投科技发展有限公司 Block chain common recognition method and system
CN106878071A (en) * 2017-01-25 2017-06-20 上海钜真金融信息服务有限公司 A kind of block chain common recognition mechanism based on Raft algorithms
CN106936589A (en) * 2017-04-21 2017-07-07 杭州秘猿科技有限公司 A kind of acentric the license parallel sharding method of chain and method of commerce
CN107079059A (en) * 2016-12-21 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain storage method and device and node equipment
CN107171829A (en) * 2017-04-24 2017-09-15 杭州趣链科技有限公司 A kind of dynamic node management method for algorithm realization of being known together based on BFT
CN107239479A (en) * 2017-03-28 2017-10-10 阿里巴巴集团控股有限公司 A kind of method and device of data storage and inquiry based on block chain
CN107528886A (en) * 2017-07-25 2017-12-29 中国科学院计算技术研究所 Block chain the whole network method for splitting and system
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
US20180115538A1 (en) * 2016-10-21 2018-04-26 Cygnetise Limited Methods And Apparatus For Recording A Change Of Authorisation State Of One Or More Authorisation Agents

Patent Citations (13)

* 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
US20180115538A1 (en) * 2016-10-21 2018-04-26 Cygnetise Limited Methods And Apparatus For Recording A Change Of Authorisation State Of One Or More Authorisation Agents
CN106850536A (en) * 2016-11-30 2017-06-13 北京瑞卓喜投科技发展有限公司 Block chain common recognition method and system
CN107079059A (en) * 2016-12-21 2017-08-18 深圳前海达闼云端智能科技有限公司 Block chain storage method and device and node equipment
CN106603698A (en) * 2016-12-28 2017-04-26 北京果仁宝科技有限公司 Block chain consensus method based on DPOS and nodes
CN106878071A (en) * 2017-01-25 2017-06-20 上海钜真金融信息服务有限公司 A kind of block chain common recognition mechanism based on Raft algorithms
CN107239479A (en) * 2017-03-28 2017-10-10 阿里巴巴集团控股有限公司 A kind of method and device of data storage and inquiry based on block chain
CN106936589A (en) * 2017-04-21 2017-07-07 杭州秘猿科技有限公司 A kind of acentric the license parallel sharding method of chain and method of commerce
CN107171829A (en) * 2017-04-24 2017-09-15 杭州趣链科技有限公司 A kind of dynamic node management method for algorithm realization of being known together based on BFT
CN107528886A (en) * 2017-07-25 2017-12-29 中国科学院计算技术研究所 Block chain the whole network method for splitting and system
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

Cited By (6)

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

Also Published As

Publication number Publication date
CN108632386B (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN110177108A (en) A kind of anomaly detection method, device and verifying system
CN108632386A (en) A kind of block chain set of node group building method and device
CN106951925A (en) Data processing method, device, server and system
CN109829296A (en) The sandbox implementation method of intelligent contract based on alliance's chain
CN112380570A (en) Data analysis method applied to block chain and edge computing server
CN104216911B (en) One kind browses tracking and device
CN102436529B (en) Modeling method for metal oxide semiconductor (MOS) transistor reliability statistics models distributed based on Weibull
CN103593609A (en) Trustworthy behavior recognition method and device
CN107222511A (en) Detection method and device, computer installation and the readable storage medium storing program for executing of Malware
CN107679848B (en) Petty transaction time delay control method based on time delay control Petri network
CN112702400A (en) Block chain cross-chain transaction verification method based on multi-stage Mercker tree
CN107742079A (en) Malware recognition methods and system
CN107729924A (en) Picture review probability interval generation method and picture review decision method
CN109951306A (en) Processing method, device, equipment and the medium of alarm
CN110276078A (en) Public material database establishes system and method
CN103973589A (en) Network traffic classification method and device
CN110705045A (en) Link prediction method for constructing weighting network by using network topological characteristics
CN115238822A (en) Network protocol vulnerability mining method based on mixed variation strategy
CN107451002B (en) Active verification method and system for block chain of modified block volume data
CN109508561A (en) Block chain network and right management method
CN113269543A (en) Multilayer mixed transaction capacity expansion system and method for block chain
CN112651744A (en) Block chain-based credit mutual evaluation method and system and electronic equipment
CN112491900A (en) Abnormal node identification method, device, equipment and medium
CN116806038A (en) Decentralizing computer data sharing method and device
CN109218211A (en) The method of adjustment of threshold value, device and equipment in the control strategy of data flow

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
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.

Country or region after: China

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.

Country or region before: China

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