CN113572643A - Block chain multi-chain and cross-chain network deployment method based on containerization technology - Google Patents
Block chain multi-chain and cross-chain network deployment method based on containerization technology Download PDFInfo
- Publication number
- CN113572643A CN113572643A CN202110840112.8A CN202110840112A CN113572643A CN 113572643 A CN113572643 A CN 113572643A CN 202110840112 A CN202110840112 A CN 202110840112A CN 113572643 A CN113572643 A CN 113572643A
- Authority
- CN
- China
- Prior art keywords
- chain
- block chain
- method comprises
- node
- environment
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000005516 engineering process Methods 0.000 title claims abstract description 17
- 241000380131 Ammophila arenaria Species 0.000 claims abstract description 14
- 230000007246 mechanism Effects 0.000 claims abstract description 8
- 230000001419 dependent effect Effects 0.000 claims abstract description 6
- 238000005538 encapsulation Methods 0.000 claims abstract description 5
- 238000004806 packaging method and process Methods 0.000 claims abstract description 5
- 230000015654 memory Effects 0.000 claims description 3
- 230000001343 mnemonic effect Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 3
- 230000005856 abnormality Effects 0.000 claims description 2
- 238000012423 maintenance Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000007474 system interaction Effects 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0883—Semiautomatic configuration, e.g. proposals from system
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a block chain multi-chain and cross-chain network deployment method based on a containerization technology, which comprises the following steps: installing container cluster management tools Kubernetes and Helm script tools on a local or remote server; running a Helm script tool; based on the computing resources and the block chain initialization configuration information required by the user, filling in by the user in a self-defined way according to the terminal prompt information; each node pulls a corresponding mirror image from the container mirror image management server, starts a virtual machine container, and automatically starts a restart mechanism once an exception occurs when an automatic packaging operation dependent environment is generated; after the dependent environment encapsulation is completed, a palm install command line is operated, and then a plurality of corresponding block chain networks can be started on each remote server according to a configured plan. The invention realizes that different types of block chain node server clusters are deployed by one key; and the block chains of different types can be deployed conveniently on line by one key through remote control.
Description
Technical Field
The invention relates to a block chain multi-chain and cross-chain network deployment method based on a containerization technology, and belongs to the technical field of block chains.
Background
Containerization techniques refer to the packaging and partitioning of software code and the required environment, such as libraries, applications, etc., necessary for operation, into separate groups. The containerization technology can realize isolation among application environments and avoid mutual influence, and is convenient to transplant, deploy and manage the application in different environments and infrastructures. The containerization technique may further enable better resource scheduling and allocation management.
IRITA is an enterprise-level alliance chain product which is created by boundary intelligence and supports a next generation distributed business system, and takes block chain cross-chain, privacy computation and big data analysis technical innovation as a core. The IRITA has the advantages of data encryption sharing for protecting privacy, efficient consensus protocol, advanced cross-chain technology, extremely strong chain system interaction capacity under a chain, flexible digital asset modeling and transaction support and business analysis 6 large-core technology supported by a big data technology, can be widely applied to various business scenes such as finance, medical health, supply chains, car networking and the like, and provides value enabling based on a block chain trust machine for entity economy.
The IRITA supports the international standard of China, is supported by a perfect SDK and an operation and maintenance tool, and meets the requirements of enterprise-level application in various aspects such as performance, safety and reliability, authentication and authority, maintainability, expandability, operation and maintenance monitoring and the like.
Aiming at common problems of node instability, downtime, network congestion and the like in a block chain, the IRITA container technology realizes a safety mechanism of automatic error correction and restarting of nodes. And the container management visualization, the node online deployment and the node offline deployment can be freely plugged in the aspect of operation and maintenance tools. The container manager can self-define each authority management control of the node. The management and deployment labor cost of the traditional block chain cluster is greatly saved, and the overall operation efficiency of the block chain is improved.
Docker and the like in Fabric and FISCOBCOS adopt a script to rapidly deploy a blockchain environment to perform multi-node deployment only aiming at a single type of blockchain, and the capability of deploying and supporting communication among different types of blockchain nodes is blank. The invention carries out independent innovation aiming at the defects.
Disclosure of Invention
The invention provides a block chain multi-link and cross-link network deployment method based on a containerization technology, which aims to solve the problems that different types of block chains and multiple nodes in the existing block chain system are deployed and the capacity of supporting communication among different types of block chain nodes is still blank.
The invention discloses a block chain multi-chain and cross-chain network deployment method based on a containerization technology, which comprises the following steps: s1, installing container cluster management tools Kubernetes and a Helm script tool on a local or remote server;
s2, operating a Helm script tool;
s3, initializing configuration information based on the computing resources and the block chains required by the user, and filling in by the user in a self-defined manner according to the terminal prompt information;
s4, each node pulls a corresponding mirror image from the container mirror image management server, starts a virtual machine container, and automatically starts a restart mechanism once abnormality occurs when the automatic packaging operation depends on the environment;
and S5, after the dependent environment encapsulation is finished, running a hellinstall command line to start a plurality of corresponding block chain networks on each remote server according to a configured plan, wherein the block chain networks comprise a plurality of block chain nodes and cross-chain links among the block chain networks.
Further preferably, the step of S1 can use an ansable script writing tool to implement the unified deployment and management of the remote server cluster environment.
Further preferably, wherein the step of S2 includes building a blockchain source code image using kubernets containerization clustering technology and triggering an operation mechanism, the whole process is automatically executed by a Helm script tool.
Further preferably, wherein the step S3 includes configuration of the base environment, including: and the initialization configuration of executable files, CPUs, internal memories, networks and storage spaces.
Wherein the step of S3 further includes configuration of blockchain environment, including: block chain ID, number of nodes, designated account and mnemonics, custom assets, module parameters, verifier commission rate, time to go out of block, etc.
Further preferably, the number of nodes in the step S3 includes a verifier node, a sentry node, and a whole node.
Further preferably, the account designated in step S3 includes a verifier and a faucet account.
The step of S3 further includes configuration of a cross-chain environment, including configuration of links, channels, and the like of the blockchain itself; the necessary inter-blockchain configuration of cross-chain applications or components includes the client, account, and commission configuration of the relay node.
Further preferably, the step of S4 includes integrating the service, configMap, secret, statefulSet, and volume claimtemplates resources of Kubernetes into the file set chat by Helm.
The invention has the beneficial effects that: the invention breaks through the problem that the traditional block chain script can only deploy and manage a single type of block chain node server cluster in a local server, and can realize one-key deployment of different types of block chain node server clusters; and the block chains of different types can be deployed conveniently on line by one key only through remote control.
Drawings
FIG. 1 is a schematic flow chart of a block chain multi-chain and cross-chain network deployment method based on containerization technology according to the present invention;
fig. 2 is a block diagram of block chain initialization configuration information in step s3 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the 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.
Referring to fig. 1, an embodiment of the present invention provides a block chain multi-chain and cross-chain network deployment method based on a containerization technology, including the following steps: s1, installing container cluster management tools Kubernetes and a Helm script tool on a local or remote server;
s2, operating a Helm script tool;
s3, initializing configuration information based on the computing resources and the block chains required by the user, and filling in by the user in a self-defined manner according to the terminal prompt information;
s4, each node pulls a corresponding mirror image from a container mirror image management server, a special mirror image server deployed in a public Docker hub or private environment in the embodiment 1, starts a virtual machine container, and automatically starts a restart mechanism once an exception occurs when an automatic encapsulation operation dependent environment is adopted;
s5, after the environment-dependent encapsulation is completed, a hellinstall command line is run, and a corresponding plurality of blockchain networks, including a plurality of blockchain nodes and cross-chain links between the blockchain networks, may be started on each remote server according to a configured plan.
As one illustration, step s1 of an embodiment of the present invention may use an ansable scripting tool to implement unified deployment and management of a remote server cluster environment.
As an illustration, step S2 of an embodiment of the invention includes building a blockchain source code image using Kubernets containerization clustering technology and triggering a run mechanism, the entire process being performed automatically by Helm script tools.
By way of illustration, referring to fig. 2, step S3 of an embodiment of the present invention includes configuration of a base environment, including: initialization configuration of executable file, CPU, internal memory, network and storage space
As an illustration, step S3 of the embodiment of the present invention further includes configuration of a blockchain environment, including: block chain ID, number of nodes (including verifier node, sensor node, full node), designated account (including verifier and faucet account) and mnemonic, custom assets, module parameters, verifier commission rate, block time, etc.
As an illustration, step S3 in the embodiment of the present invention further includes configuration of a cross-chain environment, including configuration of links, channels, and the like of the blockchain itself; configuration of necessary cross-link applications or components between blockchains, such as clients, accounts, commission configuration, etc. of relay nodes.
As an example, the step S4 in the embodiment of the present invention includes centrally integrating resources such as services, configmaps, secret, stateful set, and volumeClaimtemplates of Kubernets into a file set chat through Helm, and pushing the integrated resources to a remote repository based on local storage or mirror packaging.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (9)
1. A block chain multi-chain and cross-chain network deployment method based on containerization technology is characterized in that: the specific deployment method comprises the following steps:
s1, installing container cluster management tools Kubernetes and a Helm script tool on a local or remote server;
s2, operating a Helm script tool;
s3, initializing configuration information based on the computing resources and the block chains required by the user, and filling in by the user in a self-defined manner according to the terminal prompt information;
s4, each node pulls a corresponding mirror image from the container mirror image management server, starts a virtual machine container, and automatically starts a restart mechanism once abnormality occurs when the automatic packaging operation depends on the environment;
and S5, after the dependent environment encapsulation is finished, running a hellinstall command line to start a plurality of corresponding block chain networks on each remote server according to a configured plan, wherein the block chain networks comprise a plurality of block chain nodes and cross-chain links among the block chain networks.
2. The method of claim 1, wherein the method comprises: in the step S1, an ansable script writing tool may be used to implement unified deployment and management of the remote server cluster environment.
3. The method of claim 1, wherein the method comprises: the step S2 comprises the steps of constructing a block chain source code mirror image by using a Kubernetes containerization cluster technology, triggering an operation mechanism, and automatically executing the whole process by a Helm script tool.
4. The method of claim 1, wherein the method comprises: the step S3 includes configuring the basic environment, including: and the initialization configuration of executable files, CPUs, internal memories, networks and storage spaces.
5. The method of claim 1, wherein the method comprises: the step S3 further includes configuring a blockchain environment, including: block chain ID, number of nodes, designated account and mnemonics, custom assets, module parameters, verifier commission rate, time to go out of block, etc.
6. The method of claim 1, wherein the method comprises: the number of nodes in the step S3 includes a verifier node, a send node, and a whole node.
7. The method of claim 1, wherein the method comprises: the designated account in the step S3 includes an account of the verifier and the faucet.
8. The method of claim 1, wherein the method comprises: the step S3 further includes configuration of a cross-chain environment, including configuration of links, channels, and the like of the blockchain itself; the necessary inter-blockchain configuration of cross-chain applications or components includes the client, account, and commission configuration of the relay node.
9. The method of claim 1, wherein the method comprises: the step S4 includes the step of integrating the services, configMap, secret, stateful set and volume Claimtemplates of Kubernets into a file set chat through Helm.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110840112.8A CN113572643B (en) | 2021-07-24 | 2021-07-24 | Block chain multi-chain and cross-chain network deployment method based on containerization technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110840112.8A CN113572643B (en) | 2021-07-24 | 2021-07-24 | Block chain multi-chain and cross-chain network deployment method based on containerization technology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113572643A true CN113572643A (en) | 2021-10-29 |
CN113572643B CN113572643B (en) | 2024-04-26 |
Family
ID=78166988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110840112.8A Active CN113572643B (en) | 2021-07-24 | 2021-07-24 | Block chain multi-chain and cross-chain network deployment method based on containerization technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113572643B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109800056A (en) * | 2019-01-16 | 2019-05-24 | 杭州趣链科技有限公司 | A kind of block chain dispositions method based on container |
CN109976774A (en) * | 2019-04-11 | 2019-07-05 | 北京启迪区块链科技发展有限公司 | Block chain node deployment method, device, equipment and storage medium |
CN109995594A (en) * | 2019-04-10 | 2019-07-09 | 广州致链科技有限公司 | Block chain network method for managing resource, device and block catenary system |
CN111355780A (en) * | 2020-02-18 | 2020-06-30 | 杭州云象网络技术有限公司 | Block chain-based Internet of things monitoring management method and system |
CN111782223A (en) * | 2020-07-02 | 2020-10-16 | 浪潮云信息技术股份公司 | Multi-AZ support method for deploying OpenStack based on Helm container |
CN112416524A (en) * | 2020-11-25 | 2021-02-26 | 电信科学技术第十研究所有限公司 | Implementation method and device of cross-platform CI/CD (compact disc/compact disc) based on docker and kubernets offline |
WO2021098140A1 (en) * | 2019-11-21 | 2021-05-27 | 深圳壹账通智能科技有限公司 | Blockchain network deployment method, electronic device, and computer-readable storage medium |
CN113114759A (en) * | 2021-04-09 | 2021-07-13 | 杭州链网科技有限公司 | Chain-crossing method and system for realizing multi-chain intercommunication |
-
2021
- 2021-07-24 CN CN202110840112.8A patent/CN113572643B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109800056A (en) * | 2019-01-16 | 2019-05-24 | 杭州趣链科技有限公司 | A kind of block chain dispositions method based on container |
CN109995594A (en) * | 2019-04-10 | 2019-07-09 | 广州致链科技有限公司 | Block chain network method for managing resource, device and block catenary system |
CN109976774A (en) * | 2019-04-11 | 2019-07-05 | 北京启迪区块链科技发展有限公司 | Block chain node deployment method, device, equipment and storage medium |
WO2021098140A1 (en) * | 2019-11-21 | 2021-05-27 | 深圳壹账通智能科技有限公司 | Blockchain network deployment method, electronic device, and computer-readable storage medium |
CN111355780A (en) * | 2020-02-18 | 2020-06-30 | 杭州云象网络技术有限公司 | Block chain-based Internet of things monitoring management method and system |
CN111782223A (en) * | 2020-07-02 | 2020-10-16 | 浪潮云信息技术股份公司 | Multi-AZ support method for deploying OpenStack based on Helm container |
CN112416524A (en) * | 2020-11-25 | 2021-02-26 | 电信科学技术第十研究所有限公司 | Implementation method and device of cross-platform CI/CD (compact disc/compact disc) based on docker and kubernets offline |
CN113114759A (en) * | 2021-04-09 | 2021-07-13 | 杭州链网科技有限公司 | Chain-crossing method and system for realizing multi-chain intercommunication |
Also Published As
Publication number | Publication date |
---|---|
CN113572643B (en) | 2024-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200394087A1 (en) | Recombining modules for applications using a common provisioning service | |
CN108886477B (en) | Equipment configuration method and device, client terminal equipment and cloud server | |
EP2904739B1 (en) | Discovering, validating, and configuring hardware-inventory components | |
EP2932387B1 (en) | Deploying a hardware inventory as a cloud-computing stamp | |
CN109800056A (en) | A kind of block chain dispositions method based on container | |
US11281476B2 (en) | Plugin framework to support zero touch management of heterogeneous infrastructure elements across distributed data centers | |
US20090300180A1 (en) | Systems and methods for remote management of networked systems using secure modular platform | |
CN107222320A (en) | The method and apparatus that Cloud Server cluster sets up High Availabitity connection | |
CN106911648B (en) | Environment isolation method and equipment | |
WO2016050270A1 (en) | Provisioning a service | |
US11665023B2 (en) | Configuration validation of a device | |
CN113965585B (en) | Multi-cloud interconnection method and device | |
CN112698838B (en) | Multi-cloud container deployment system and container deployment method thereof | |
CN112099913A (en) | Method for realizing safety isolation of virtual machine based on OpenStack | |
CN107479888A (en) | Operating system mirror image deployment services device method, system, equipment and storage medium | |
CN113886794A (en) | Computing cluster system, security authentication method, node device and storage medium | |
CN113821305A (en) | Cloud password service calling method based on Docker and middleware system | |
CN114390100A (en) | Working method of OPC UA server based on numerical control system | |
CN114172811A (en) | Container mirror image deployment platform and deployment method thereof | |
CN111935195B (en) | Distributed system management method, device, storage medium and distributed management system | |
CN112181745B (en) | Cloud service platform system and method for FPGA prototype verification | |
CN113572643A (en) | Block chain multi-chain and cross-chain network deployment method based on containerization technology | |
CN101388796B (en) | Information sending processing method, communication equipment and communication system | |
CN108053288B (en) | Service arrangement issuing method and device | |
Khalel et al. | Enhanced load balancing in kubernetes cluster by minikube |
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 |