Movatterモバイル変換


[0]ホーム

URL:


CN113572643B - 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 PDF

Info

Publication number
CN113572643B
CN113572643BCN202110840112.8ACN202110840112ACN113572643BCN 113572643 BCN113572643 BCN 113572643BCN 202110840112 ACN202110840112 ACN 202110840112ACN 113572643 BCN113572643 BCN 113572643B
Authority
CN
China
Prior art keywords
chain
blockchain
steps
environment
cross
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
CN202110840112.8A
Other languages
Chinese (zh)
Other versions
CN113572643A (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.)
Shanghai Bianjie Intelligent Technology Co ltd
Original Assignee
Shanghai Bianjie Intelligent Technology 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 Shanghai Bianjie Intelligent Technology Co ltdfiledCriticalShanghai Bianjie Intelligent Technology Co ltd
Priority to CN202110840112.8ApriorityCriticalpatent/CN113572643B/en
Publication of CN113572643ApublicationCriticalpatent/CN113572643A/en
Application grantedgrantedCritical
Publication of CN113572643BpublicationCriticalpatent/CN113572643B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a deployment method of a blockchain multi-chain and cross-chain network based on a containerization technology, which comprises the following steps: installing a container cluster management tool Kubernetes and Helm script tool on a local or remote server; running a Helm script tool; based on the calculation resources and the block chain initialization configuration information required by the user, filling in by the user in a self-defined manner according to the terminal prompt information; each node pulls a corresponding mirror image from a container mirror image management server, and starts a virtual machine container, and when the automatic encapsulation operation depends on the environment, a restarting mechanism is automatically started once an abnormality occurs; after the environment-dependent encapsulation is completed, the command line is run HELM INSTALL to start the corresponding blockchain networks on each remote server according to the configured plan. The invention realizes one-key deployment of different types of blockchain node server clusters; the blockchain of different types can be deployed on line conveniently through remote control by one key.

Description

Block chain multi-chain and cross-chain network deployment method based on containerization technology
Technical Field
The invention relates to a deployment method of a blockchain multi-chain and cross-chain network based on a containerization technology, and belongs to the technical field of blockchains.
Background
The technique of containerization refers to packaging software code and the required environment such as libraries, applications, etc. necessary for operation, and partitioning into separate groups. The containerization technology can realize isolation between application environments, avoid mutual influence, and facilitate transplanting, deployment and management of applications on different environments and infrastructures. The containerization technique can further realize better resource scheduling and allocation management.
IRITA is an enterprise-level alliance chain product which is created and supports the next generation of distributed business systems by taking block chain cross-chain, privacy calculation and big data analysis technology innovation as cores for boundary intelligence. IRITA has the advantages of privacy-protecting data encryption sharing, efficient consensus protocol, leading cross-chain technology, extremely strong practical interactive capability of a chain up-chain and down-chain system, flexible digital asset modeling and transaction support and large data technology supported business analysis 6 large core technology, can be widely applied to various business scenes such as finance, medical health, supply chains, internet of vehicles and the like, and provides value energization based on block chain trust machines for entity economy.
IRITA supports the international standard of China, has perfect SDK and operation and maintenance tool support, and meets the requirements of enterprise-level application in aspects of performance, safety and reliability, authentication and authority, maintainability, expandability, operation and maintenance monitoring and the like.
Aiming at common problems of unstable nodes, downtime, network blocking and the like in a blockchain, the IRITA containerization technology realizes a safety mechanism of automatic error correction and restarting of the nodes. The method has the advantages that the container management visualization and the free pluggable of the node online and offline deployment are realized in the aspect of operation and maintenance tools. The container manager can customize 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.
The Docker in Fabric, FISCOBCOS adopts script to rapidly deploy the blockchain environment to deploy multiple nodes only aiming at a single type of blockchain, and the communication capability among the nodes of the blockchains of different types and supporting the blockchains of different types is still blank. The present invention is now autonomous with respect to these drawbacks.
Disclosure of Invention
The invention provides a deployment method of a blockchain multi-link and cross-link network based on a containerization technology, which solves the problem that the communication capability between the nodes of different types of blockchains and supporting the nodes of different types of blockchains in the existing blockchain system is still blank.
The invention relates to a deployment method of a blockchain multi-chain and cross-chain network based on a containerization technology, which comprises the following steps: s1, installing a container cluster management tool Kubernetes and a Helm script tool on a local or remote server;
S2, running a Helm script tool;
S3, 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 manner according to the terminal prompt information;
S4, each node pulls a corresponding mirror image from the container mirror image management server, and starts a virtual machine container, and when the running dependent environment is automatically packaged, a restarting mechanism is automatically started once an abnormality occurs;
S5, after the environment-dependent encapsulation is completed, running helminstall a command line can start a plurality of corresponding blockchain networks on each remote server according to a configuration plan, wherein the corresponding blockchain networks comprise a plurality of blockchain nodes and cross-chain links among the blockchain networks.
Further preferably, the step S1 may use an allowable script writing tool to implement unified deployment and management of the remote server cluster environment.
It is further preferred that step S2 includes constructing a blockchain source code image using Kubernetes containerized clustering techniques and triggering an operating mechanism, the entire process being automated by the Helm scripting tool.
Further preferably, wherein step S3 includes configuration of the base environment, including: initialization configuration of executable files, CPU, memory, network and storage space.
Wherein step S3 further comprises configuring a blockchain environment, comprising: blockchain ID, number of nodes, designated account and mnemonic, custom assets, module parameters, verifier commission rate, blockout time, etc.
Further preferably, the number of nodes in the step S3 includes a verifier node, sentry nodes and a full node.
Further preferably, the account designated in the step S3 includes an identifier and a tap account.
The S3 step also comprises the configuration of a cross-chain environment, including the configuration of links, channels and the like of the blockchain; configuration of necessary inter-blockchain applications or components includes client, account, and commission configurations of relay nodes.
Further preferably, the step S4 includes integrating service, configMap, secret, statefulSet, volumeClaimTemplates resources of Kubernetes into the file set chart by Helm.
The invention has the beneficial effects that: the invention breaks through the traditional blockchain script, can only deploy and manage the single type blockchain node server cluster in the local server, and can realize the one-key deployment of different types of blockchain node server clusters; the blockchain of different types can be deployed on line conveniently by one key only through remote control.
Drawings
FIG. 1 is a schematic flow diagram of a method for deploying a blockchain multi-link and cross-link network based on a containerization technique of the present invention;
fig. 2 is a block chain initialization configuration information structure diagram in step s3 of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the embodiment of the invention provides a deployment method of a blockchain multi-chain and cross-chain network based on a containerization technology, which comprises the following steps: s1, installing a container cluster management tool Kubernetes and a Helm script tool on a local or remote server;
S2, running a Helm script tool;
S3, 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 manner according to the terminal prompt information;
S4, each node pulls a corresponding mirror image from a container mirror image management server, wherein the special mirror image server is deployed in the embodiment 1 disclosed DockerHub or private environment, and starts a virtual machine container, and when the automation encapsulation operation depends on the environment, a restarting mechanism is automatically started once an abnormality occurs;
After the S5-dependent environment is encapsulated, the command line is run helminstall to start a corresponding plurality of blockchain networks on each remote server according to the configured plan, including a plurality of blockchain nodes, and cross-chain links between the blockchain networks, etc.
As an illustration, step s1 of embodiments of the present invention may use an allowable script writing tool to achieve unified deployment and management of a remote server cluster environment.
As an illustration, step S2 of an embodiment of the present invention includes constructing a blockchain source code image using a Kubernetes containerized clustering technique and triggering an operating mechanism, the entire process being automated by a Helm scripting tool.
As an illustration, referring to fig. 2, step S3 of the embodiment of the present invention includes configuration of a base environment, including: initialization configuration of executable file, CPU, memory, network and storage space
As an illustration, step S3 of an embodiment of the present invention further includes configuration of a blockchain environment, including: blockchain ID, number of nodes (including verifier node, sentry node, full node), designated account (including verifier, tap account), mnemonic, custom assets, module parameters, verifier commission rate, blockout time, etc.
As an illustration, step S3 of embodiments of the present invention further includes configuration of the cross-chain environment, including configuration of links, channels, etc. of the blockchain itself; configuration of necessary inter-blockchain applications or components, such as clients, accounts, commission configurations, etc., of relay nodes.
As an illustration, the step S4 of the embodiment of the invention comprises integrating service, configMap, secret, statefulSet, volumeClaimTemplates of resources such as Kubernetes into a file collection chart through Helm, and pushing the resources to a remote warehouse based on a local storage or mirror image packaging mode.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (3)

The step S3 comprises the configuration of a basic environment, and comprises the following steps: initializing configuration of executable files, CPU, memory, network and storage space, wherein the step S3 further comprises configuration of a blockchain environment, and the method comprises the following steps: the method comprises the following steps of (1) configuring blockchains of a blockchain ID, the number of nodes, a designated account and mnemonics, custom assets, module parameters, a verifier commission rate, block-out time and the like, wherein the number of nodes in the step S3 comprises verifier nodes, sentry nodes and full nodes, the designated account in the step S3 comprises a verifier and a tap account, and the step S3 also comprises configuring of a cross-chain environment, including configuring links, channels and the like of the blockchains; configuration of necessary cross-chain applications or components among blockchains, including client side, account, and commission configuration of relay nodes;
CN202110840112.8A2021-07-242021-07-24Block chain multi-chain and cross-chain network deployment method based on containerization technologyActiveCN113572643B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110840112.8ACN113572643B (en)2021-07-242021-07-24Block chain multi-chain and cross-chain network deployment method based on containerization technology

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110840112.8ACN113572643B (en)2021-07-242021-07-24Block chain multi-chain and cross-chain network deployment method based on containerization technology

Publications (2)

Publication NumberPublication Date
CN113572643A CN113572643A (en)2021-10-29
CN113572643Btrue CN113572643B (en)2024-04-26

Family

ID=78166988

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110840112.8AActiveCN113572643B (en)2021-07-242021-07-24Block chain multi-chain and cross-chain network deployment method based on containerization technology

Country Status (1)

CountryLink
CN (1)CN113572643B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114675837B (en)*2022-04-212025-08-05浪潮云信息技术股份公司 A method for initializing dependent packages based on container images
CN120029860A (en)*2025-04-232025-05-23之江实验室 A method, device, equipment and medium for real-time GPU cluster information collection

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109800056A (en)*2019-01-162019-05-24杭州趣链科技有限公司A kind of block chain dispositions method based on container
CN109976774A (en)*2019-04-112019-07-05北京启迪区块链科技发展有限公司Block chain node deployment method, device, equipment and storage medium
CN109995594A (en)*2019-04-102019-07-09广州致链科技有限公司Block chain network method for managing resource, device and block catenary system
CN111355780A (en)*2020-02-182020-06-30杭州云象网络技术有限公司Block chain-based Internet of things monitoring management method and system
CN111782223A (en)*2020-07-022020-10-16浪潮云信息技术股份公司Multi-AZ support method for deploying OpenStack based on Helm container
CN112416524A (en)*2020-11-252021-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-212021-05-27深圳壹账通智能科技有限公司Blockchain network deployment method, electronic device, and computer-readable storage medium
CN113114759A (en)*2021-04-092021-07-13杭州链网科技有限公司Chain-crossing method and system for realizing multi-chain intercommunication

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109800056A (en)*2019-01-162019-05-24杭州趣链科技有限公司A kind of block chain dispositions method based on container
CN109995594A (en)*2019-04-102019-07-09广州致链科技有限公司Block chain network method for managing resource, device and block catenary system
CN109976774A (en)*2019-04-112019-07-05北京启迪区块链科技发展有限公司Block chain node deployment method, device, equipment and storage medium
WO2021098140A1 (en)*2019-11-212021-05-27深圳壹账通智能科技有限公司Blockchain network deployment method, electronic device, and computer-readable storage medium
CN111355780A (en)*2020-02-182020-06-30杭州云象网络技术有限公司Block chain-based Internet of things monitoring management method and system
CN111782223A (en)*2020-07-022020-10-16浪潮云信息技术股份公司Multi-AZ support method for deploying OpenStack based on Helm container
CN112416524A (en)*2020-11-252021-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-092021-07-13杭州链网科技有限公司Chain-crossing method and system for realizing multi-chain intercommunication

Also Published As

Publication numberPublication date
CN113572643A (en)2021-10-29

Similar Documents

PublicationPublication DateTitle
US11924068B2 (en)Provisioning a service
US7124289B1 (en)Automated provisioning framework for internet site servers
US8250570B2 (en)Automated provisioning framework for internet site servers
KR101954480B1 (en)Automated build-out of a cloud-computing stamp
CN109451021B (en)Internet of things edge side multi-heterogeneous network access system and method
US7152109B2 (en)Automated provisioning of computing networks according to customer accounts using a network database data model
CN108886477A (en)A kind of equipment configuration method, device, customer terminal equipment and cloud server
CN100471135C (en) Device, system and method for realizing service distribution and synchronization
CN113572643B (en)Block chain multi-chain and cross-chain network deployment method based on containerization technology
CN109800056A (en)A kind of block chain dispositions method based on container
CN110535824A (en)Smart home interlock method, system, terminal device and storage medium
KR101940747B1 (en)Apparatus for managing factories in internet of things
CN110784495B (en) The discovery and configuration information management method of big data cluster system based on blockchain
CN107229646A (en)Dispositions method, the apparatus and system of data cluster
US10819575B2 (en)System and method of configuring network elements
CN113965585B (en)Multi-cloud interconnection method and device
CN101257406B (en)Method and system for discovering net elements
CN115344356B (en)Distributed training system based on containerization realization and construction method thereof
CN114363164A (en)Cloud network service arrangement control method and system, storage medium and electronic equipment
CN112698838A (en)Multi-cloud container deployment system and container deployment method thereof
CN107786367B (en)Virtual network element configuration method and device
CN101388796B (en)Information sending processing method, communication equipment and communication system
CN111935195B (en)Distributed system management method, device, storage medium and distributed management system
CN115277784B (en)Industrial Internet of things system convenient for realizing local authority control and control method
WO2002039257A2 (en)Automated provisioning framework for internet site servers

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp