CN111800464A - BaaS system implementation method and device supporting multi-version super account book - Google Patents

BaaS system implementation method and device supporting multi-version super account book Download PDF

Info

Publication number
CN111800464A
CN111800464A CN202010489832.XA CN202010489832A CN111800464A CN 111800464 A CN111800464 A CN 111800464A CN 202010489832 A CN202010489832 A CN 202010489832A CN 111800464 A CN111800464 A CN 111800464A
Authority
CN
China
Prior art keywords
blockchain network
network
container
configuration
baas system
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
CN202010489832.XA
Other languages
Chinese (zh)
Other versions
CN111800464B (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.)
Suning Financial Technology Nanjing Co Ltd
Original Assignee
Suning Financial Technology Nanjing 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 Suning Financial Technology Nanjing Co Ltd filed Critical Suning Financial Technology Nanjing Co Ltd
Priority to CN202010489832.XA priority Critical patent/CN111800464B/en
Publication of CN111800464A publication Critical patent/CN111800464A/en
Application granted granted Critical
Publication of CN111800464B publication Critical patent/CN111800464B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for realizing a BaaS system supporting multi-version super account books, which relate to the technical field of block chains and can enable the BaaS system to flexibly support the multi-version super account books. The method comprises the following steps: creating a block chain network project through a BaaS system and inputting configuration data, wherein the configuration data comprises a Fabric version number and the required node number; searching a configuration template matched with the Fabric version number in the BaaS system, filling the node number and the name ID of the blockchain network project into the configuration template, and generating a configuration file corresponding to the blockchain network project; creating a container network corresponding to the block chain network project in the BaaS system according to the name ID, wherein the container network comprises a plurality of containers corresponding to the nodes one by one; and starting the container related to the blockchain network item in the container network based on the configuration file, so as to realize the starting of the blockchain network. The device is applied with the method provided by the scheme.

Description

BaaS system implementation method and device supporting multi-version super account book
Technical Field
The invention relates to the technical field of block chains, in particular to a method and a device for realizing a BaaS system supporting multi-version super account books.
Background
The block chain is a comprehensive technology integrating a P2P technology, cryptography, intelligent contracts, consensus algorithms and game theory, and has the characteristics of decentralization, non-falsification of accounts, automatic execution of intelligent contracts and the like. The blockchains can be divided into public, private, and federation chains, depending on their open permissions. Wherein the public chain is open to all people; private chains are open only to individual entities, such as within a company; a federation chain may be open to a particular organization. The obvious characteristic of the alliance chain is that each node corresponds to one entity organization, any entity organization node needs to be added into the alliance chain and needs to obtain the permission of the alliance, and all the entity organizations maintain the stable development of the alliance chain system together.
The hyper ledger (hyper folder Fabric) is an open-source underlying platform in a federation chain, and is one of the projects of hyper folder dominated by the Linux foundation. HyperLegendr Fabric is intended as the basis for developing blockchain applications of modular architecture for plug-and-play functionality components such as consensus and membership services, which use container technology to host intelligent contracts that make up the system application logic. HyperLegendr Fabric is an open-source, universal block-chain structure built for enterprises.
A block chain service platform (BaaS) services a block chain technology by using technologies such as cloud computing and the like, provides a high-availability block chain network which is built quickly, is provided with a complete self-service operation and maintenance system, and shields the IT complexity. However, by the time Fabric has released several versions, from 0.6.0 to 1.4.4, it is a complex problem for BaaS systems to flexibly support numerous versions of Fabric.
Disclosure of Invention
The invention aims to provide a method and a device for realizing a BaaS system supporting multi-version super accounts, which can enable the BaaS system to flexibly support the multi-version super accounts.
In order to achieve the above object, a first aspect of the present invention provides a BaaS system implementation method for supporting multi-version super ledger, including:
creating a block chain network project through a BaaS system and inputting configuration data, wherein the configuration data comprises a Fabric version number and the required node number;
searching a configuration template matched with the Fabric version number in the BaaS system, filling the node number and the name ID of the blockchain network item into the configuration template, and generating a configuration file corresponding to the blockchain network item;
creating a container network corresponding to the blockchain network project in a BaaS system according to the name ID, wherein the container network comprises a plurality of containers corresponding to nodes one by one;
and starting the container related to the blockchain network item in the container network based on the configuration file, so as to realize the starting of the blockchain network.
Preferably, before creating the blockchain network item and inputting the configuration data through the BaaS system, the method further includes:
and creating service ports required by the blockchain network project by using the BaaS system, wherein the service ports are assigned manually by a user or automatically assigned based on the matching of the Fabric version number and the spare service ports.
Preferably, before searching for the configuration template matching the Fabric version number in the BaaS system, the method further includes:
setting an environment variable based on the blockchain network item to ensure that the blockchain network can be started normally in the container network.
Preferably, the method for creating a blockchain network project and inputting configuration data through the BaaS system includes:
and simultaneously creating a plurality of blockchain network items through the BaaS system, wherein at least Fabric version numbers in the configuration data corresponding to each blockchain network item are different or the same.
Further, the method for searching a configuration template matched with the Fabric version number in the BaaS system, filling the number of nodes and the name ID of the blockchain network item into the configuration template, and generating the configuration file corresponding to the blockchain network item includes:
matching configuration templates corresponding to the Fabric version numbers in the BaaS system according to the Fabric version numbers input by each block chain network item;
and filling the number of nodes corresponding to each block chain network item and the name ID of the block chain network item into corresponding configuration templates to generate configuration files corresponding to the block chain network items.
Further, the method for creating the container network corresponding to the blockchain network item in the BaaS system according to the name ID includes:
naming a container network name corresponding to each blockchain network item according to a name ID, and creating a container network corresponding to the blockchain network item in a BaaS system according to the container network name. Further, based on the configuration file, starting a container related to the blockchain network item in the container network, and the method for starting the blockchain network includes:
and respectively starting the containers used by the corresponding blockchain network items in the container networks based on each configuration file, so as to realize the isolated starting of the blockchain networks.
Compared with the prior art, the implementation method of the BaaS system supporting the multi-version super account book provided by the invention has the following beneficial effects:
the implementation method of the BaaS system supporting the multi-version super account book provided by the invention realizes the starting process of entering different Fabric version numbers in the BaaS system by adopting a configuration file mode. The specific implementation process is as follows: building a blockchain network item and inputting configuration data in a BaaS system, wherein the configuration data comprises a Fabric version number and a required node number, the BaaS system firstly detects whether a matched configuration template exists or not based on the input Fabric version number, if the detection result indicates that the matching result does not exist, the BaaS system does not support the currently input Fabric version number, otherwise, if the corresponding configuration template is matched, the node number input by a user and the name ID of the created blockchain network item are automatically filled into the configuration template to generate a configuration file corresponding to the blockchain network item, after the configuration file is generated, the creation step of a container network is entered, specifically, the name of the container network is generated according to the name ID of the blockchain network item, a new container network is created according to the name to prevent the interference caused by other blockchain networks, and finally the step of starting the container is entered, specifically, based on the configuration file, the container related to the blockchain network item is started in the container network, so that the starting of the blockchain network is realized.
Therefore, by setting the configuration templates corresponding to the multiple Fabric version numbers in the BaaS system, when a blockchain network project is newly built, the support for the blockchain network project with the multiple Fabric version numbers can be realized.
A second aspect of the present invention provides a BaaS system implementation apparatus for supporting multi-version super ledger, which is applied to the BaaS system implementation method for supporting multi-version super ledger in the above technical solution, and the apparatus includes:
the system comprises a project creating unit, a configuration unit and a processing unit, wherein the project creating unit is used for creating a block chain network project through a BaaS system and inputting configuration data, and the configuration data comprises a Fabric version number and the required node number;
a configuration file generating unit, configured to search a configuration template matching the Fabric version number in the BaaS system, fill the node number and the name ID of the blockchain network item into the configuration template, and generate a configuration file corresponding to the blockchain network item;
a container network creating unit, configured to create, in a BaaS system, a container network corresponding to the blockchain network project according to the name ID, where the container network includes a plurality of containers in one-to-one correspondence with nodes;
and the isolation starting unit is used for starting the container related to the blockchain network item in the container network based on the configuration file so as to realize the starting of the blockchain network.
Preferably, the system further comprises a service port creating unit, configured to create, by using the BaaS system, a service port required for the blockchain network project, where the service port is assigned manually by a user, or is assigned automatically based on a Fabric version number matching with a spare service port.
Compared with the prior art, the beneficial effects of the implementation device of the BaaS system supporting the multi-version super account book provided by the invention are the same as the beneficial effects of the implementation method of the BaaS system supporting the multi-version super account book provided by the technical scheme, and the detailed description is omitted here.
A third aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, executes the steps of the BaaS system implementation method for supporting multi-version super ledger.
Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the invention are the same as those of the implementation method of the BaaS system supporting the multi-version super account book provided by the technical scheme, and the detailed description is omitted here.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic flow chart illustrating a BaaS system implementation method for supporting multi-version super account book in an embodiment of the present invention;
fig. 2 is a block diagram of a BaaS system according to a first embodiment of the present invention;
fig. 3 is a flowchart illustrating an initial start-up process of a BaaS system supporting multi-version super ledger in an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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.
Example one
Referring to fig. 1 and fig. 3, the present embodiment provides a BaaS system implementation method supporting multiple versions of super accounts, including:
creating a block chain network project through a BaaS system and inputting configuration data, wherein the configuration data comprises a Fabric version number and the required node number; searching a configuration template matched with the Fabric version number in the BaaS system, filling the node number and the name ID of the blockchain network project into the configuration template, and generating a configuration file corresponding to the blockchain network project; creating a container network corresponding to the block chain network project in the BaaS system according to the name ID, wherein the container network comprises a plurality of containers corresponding to the nodes one by one; and starting the container related to the blockchain network item in the container network based on the configuration file, so as to realize the starting of the blockchain network.
In the BaaS system implementation method supporting the multi-version super account book provided by this embodiment, a configuration file manner is adopted in the BaaS system to implement a starting process for entering different Fabric version numbers. The specific implementation process is as follows: the BaaS system firstly detects whether a matched configuration template exists or not based on the input Fabric version number and the required node number, if the detection result is that the matched configuration template does not exist, the BaaS system does not support the currently input Fabric version number, otherwise, if the corresponding configuration template is matched, the configuration template is automatically filled with the node number input by a user and the name ID of the created Block chain network item, such as UUID, a configuration file corresponding to the Block chain network item is generated, after the configuration file is generated, the creation step of the container network is entered, specifically, the name of the container network is generated according to the name ID of the Block chain network item, and a new container network is created according to the name to prevent the interference caused by other Block chain networks, and finally, starting a container, specifically starting a container related to the block chain network project in the container network based on the configuration file, and realizing the starting of the block chain network. The generating of the project configuration path in fig. 3 refers to: and generating a unique name ID for the blockchain network item to be created, and then setting a configuration file path of the blockchain network item according to the generated unique ID and the blockchain network item path, namely completing the generation of the configuration file.
Therefore, by setting the configuration templates corresponding to the multiple Fabric version numbers in the BaaS system, when a blockchain network project is newly built, the support for the blockchain network project with the multiple Fabric version numbers can be realized.
Referring to fig. 2, the BaaS system framework in the above embodiment includes the following functional modules:
an API interface module: providing an API interface with corresponding functions for the BaaS system;
mirror image library: storing a basic mirror image and a BaaS mirror image;
an adaptation module: matching the Fabric version input by the user with a configuration template (Fabric template);
a user interface module: performing basic interaction with a user, wherein the functions comprise creating a block chain project, operating a block chain node, displaying statistical data, monitoring data and the like;
a monitoring module: the system is used for monitoring the health state of the block link nodes in real time and providing monitoring data through a user interface module;
a log module: the logs of each module of the BaaS system and the historical logs of each block chain node can be checked;
a task scheduling module: the system is used for sequencing all tasks of the same block chain network project and completing the tasks in sequence, so that different tasks are guaranteed not to interfere with each other;
a node management module: managing each node of the block chain network, and operating each node to complete complex operation, for example, when a channel is generated, the BaaS system can automatically manage the node to complete the creation of the channel and the addition of the node;
a container driving module: the system comprises a script file and a configuration file which are matched with a block chain node container;
and a contract debugging module: the online debugging intelligent contract function is provided for the user, and the execution log can be checked in real time for the user to perform simulation operation;
a tenant module: the tenant function is provided for different organizations, and users with different authorities can be established in the organizations by users of each organization;
a data storage module: the data of each blockchain network entry and the detailed information of the nodes thereof, such as the number of nodes, the number of channels, the service ports, the names of node containers, and the like, are stored.
The adaptation module comprises a container configuration submodule, an environment variable configuration submodule and a Fabric mirror library:
a container configuration submodule: providing configuration files of each node container, and automatically generating corresponding template files by the BaaS system according to the node types and the node quantity input by a user;
an environment variable configuration submodule: providing a suitable version tool, such as a certificate generator, for creating blockchain network items, operating blockchain link points;
and the Fabric mirror library stores mirror versions of Fabric, such as 1.0, 1.1, 1.2, 1.4 and the like.
Above-mentioned embodiment is when establishing the blockchain network to the user, has the adaptation demand to the super account book of different editions, designs the BaaS system framework including above-mentioned functional module, will independently go out a module (adaptation module and mirror image storehouse) with the function of Fabric version coupling, when the super account book of adaptation new version, only need change adaptation module and mirror image storehouse, other modules of BaaS system need not to change for adaptation new version Fabric becomes modularization and pluggable, has improved the efficiency of new version Fabric adaptation. In addition, the BaaS system framework can support a plurality of existing Fabric versions, when a user establishes a block chain network, the existing 1.0-1.4 version of the Fabric can be selected to establish a Fabric underlying network and an account book, and the corresponding functional characteristics of different Fabric versions are tested and used.
Before creating a blockchain network item and inputting configuration data through the BaaS system, the above-mentioned embodiment further includes:
a service port creating step: and creating service ports required by the blockchain network project by using the BaaS system, wherein the service ports are manually assigned and allocated by a user or automatically allocated by matching with spare service ports based on the Fabric version number.
Before searching for a configuration template matching with the Fabric version number in the BaaS system, the foregoing embodiment further includes:
setting container environment variables: setting an environment variable based on the blockchain network item to ensure that the blockchain network can be started normally in the container network. Specifically, the server address input by the user may be set to DOCKER _ HOST, change the log level, and the like.
In view of the requirement that a plurality of blockchain network projects are constructed simultaneously, the method for creating blockchain network projects and inputting configuration data through the BaaS system in the above embodiment includes:
a plurality of blockchain network items are created through the BaaS system at the same time, and at least Fabric version numbers in configuration data corresponding to each blockchain network item are different from each other. Illustratively, the following situations exist for multiple blockchain network items created simultaneously:
1. in the configuration data of a plurality of block chain network items, the corresponding Fabric version numbers are different from the required node numbers;
2. in the configuration data of a plurality of blockchain network items, the corresponding Fabric version numbers are different, but the required number of nodes is the same;
3. in the configuration data of the plurality of blockchain network items, the corresponding Fabric version numbers are the same, but the required number of nodes is the same.
In the foregoing embodiment, the method for searching a configuration template matching the Fabric version number in the BaaS system, and filling the number of nodes and the name ID of the blockchain network item into the configuration template to generate a configuration file corresponding to the blockchain network item includes:
an initialization data configuration step: matching configuration templates corresponding to the Fabric version numbers in the BaaS system according to the Fabric version numbers input by each blockchain network item;
a step of generating a configuration file: and filling the number of nodes corresponding to each blockchain network item and the name ID of the blockchain network item into a corresponding configuration template to generate a configuration file corresponding to each blockchain network item.
The method for creating the container network corresponding to the blockchain network item in the BaaS system according to the name ID in the embodiment includes:
creating a container network step: and naming a container network name corresponding to each blockchain network project according to the name ID, and creating a container network corresponding to the blockchain network project in the BaaS system according to the container network name.
In the foregoing embodiment, based on the configuration file, the container related to the blockchain network item is started in the container network, and the method for starting the blockchain network includes:
starting a container: and respectively starting the containers used by the corresponding blockchain network items in each container network based on each configuration file, thereby realizing the isolated starting of the plurality of blockchain networks.
Example two
This embodiment provides a BaaS system implementation device that supports super account book of many versions, includes:
the system comprises a project creating unit, a configuration unit and a processing unit, wherein the project creating unit is used for creating a block chain network project through a BaaS system and inputting configuration data, and the configuration data comprises a Fabric version number and the required node number;
a configuration file generating unit, configured to search a configuration template matching the Fabric version number in the BaaS system, fill the node number and the name ID of the blockchain network item into the configuration template, and generate a configuration file corresponding to the blockchain network item;
a container network creating unit, configured to create, in a BaaS system, a container network corresponding to the blockchain network project according to the name ID, where the container network includes a plurality of containers in one-to-one correspondence with nodes;
and the isolation starting unit is used for starting the container related to the blockchain network item in the container network based on the configuration file so as to realize the starting of the blockchain network.
Preferably, the system further comprises a service port creating unit, configured to create, by using the BaaS system, a service port required for the blockchain network project, where the service port is assigned manually by a user, or is assigned automatically based on a Fabric version number matching with a spare service port.
Compared with the prior art, the beneficial effects of the implementation apparatus of the BaaS system supporting multi-version super ledger provided by the embodiment of the present invention are the same as the beneficial effects of the implementation method of the BaaS system supporting multi-version super ledger provided by the first embodiment, and are not described herein again.
EXAMPLE III
The present embodiment provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program executes the steps of the implementation method of the BaaS system supporting multi-version hyper ledger.
Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by this embodiment are the same as those of the implementation method of the BaaS system supporting multi-version super account provided by the above technical scheme, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the invention may be implemented by hardware instructions related to a program, the program may be stored in a computer-readable storage medium, and when executed, the program includes the steps of the method of the embodiment, and the storage medium may be: ROM/RAM, magnetic disks, optical disks, memory cards, and the like.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A BaaS system implementation method supporting multi-version super account book is characterized by comprising the following steps:
creating a block chain network project through a BaaS system and inputting configuration data, wherein the configuration data comprises a Fabric version number and the required node number;
searching a configuration template matched with the Fabric version number in the BaaS system, filling the node number and the name ID of the blockchain network item into the configuration template, and generating a configuration file corresponding to the blockchain network item;
creating a container network corresponding to the blockchain network project in a BaaS system according to the name ID, wherein the container network comprises a plurality of containers corresponding to nodes one by one;
and starting the container related to the blockchain network item in the container network based on the configuration file, so as to realize the starting of the blockchain network.
2. The method of claim 1, wherein creating a blockchain network project and entering configuration data via a BaaS system further comprises:
and creating service ports required by the blockchain network project by using the BaaS system, wherein the service ports are assigned manually by a user or automatically assigned based on the matching of the Fabric version number and the spare service ports.
3. The method of claim 1 or 2, wherein before searching for the configuration template matching the Fabric version number in the BaaS system, the method further comprises:
setting an environment variable based on the blockchain network item to ensure that the blockchain network can be started normally in the container network.
4. The method of claim 3, wherein the method of creating a blockchain network project and inputting configuration data through the BaaS system comprises:
and simultaneously creating a plurality of blockchain network items through the BaaS system, wherein the Fabric version numbers in the configuration data corresponding to each blockchain network item are different or the same.
5. The method of claim 4, wherein the method of searching a configuration template matching the Fabric version number in the BaaS system, filling the configuration template with the number of nodes and the name ID of the blockchain network item, and generating the configuration file corresponding to the blockchain network item comprises:
matching configuration templates corresponding to the Fabric version numbers in the BaaS system according to the Fabric version numbers input by each block chain network item;
and filling the number of nodes corresponding to each block chain network item and the name ID of the block chain network item into corresponding configuration templates to generate configuration files corresponding to the block chain network items.
6. The method according to claim 5, wherein the method for creating the container network corresponding to the blockchain network item in the BaaS system according to the name ID comprises the following steps:
naming a container network name corresponding to each blockchain network item according to a name ID, and creating a container network corresponding to the blockchain network item in a BaaS system according to the container network name.
7. The method according to claim 6, wherein the container related to the blockchain network item is started in the container network based on the configuration file, and the method for starting the blockchain network comprises:
and respectively starting the containers used by the corresponding blockchain network items in the container networks based on each configuration file, so as to realize the isolated starting of the blockchain networks.
8. A BaaS system implementation device supporting multi-version super account book is characterized by comprising:
the system comprises a project creating unit, a configuration unit and a processing unit, wherein the project creating unit is used for creating a block chain network project through a BaaS system and inputting configuration data, and the configuration data comprises a Fabric version number and the required node number;
a configuration file generating unit, configured to search a configuration template matching the Fabric version number in the BaaS system, fill the node number and the name ID of the blockchain network item into the configuration template, and generate a configuration file corresponding to the blockchain network item;
a container network creating unit, configured to create, in a BaaS system, a container network corresponding to the blockchain network project according to the name ID, where the container network includes a plurality of containers in one-to-one correspondence with nodes;
and the isolation starting unit is used for starting the container related to the blockchain network item in the container network based on the configuration file so as to realize the starting of the blockchain network.
9. The apparatus of claim 8, further comprising a service port creating unit, configured to create a service port required for a blockchain network project by using a BaaS system, wherein the service port is assigned manually by a user or automatically assigned based on a Fabric version number matching with a vacant service port.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of the claims 1 to 7.
CN202010489832.XA 2020-06-02 2020-06-02 BaaS system implementation method and device supporting multi-version super account book Active CN111800464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010489832.XA CN111800464B (en) 2020-06-02 2020-06-02 BaaS system implementation method and device supporting multi-version super account book

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010489832.XA CN111800464B (en) 2020-06-02 2020-06-02 BaaS system implementation method and device supporting multi-version super account book

Publications (2)

Publication Number Publication Date
CN111800464A true CN111800464A (en) 2020-10-20
CN111800464B CN111800464B (en) 2022-09-09

Family

ID=72806372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010489832.XA Active CN111800464B (en) 2020-06-02 2020-06-02 BaaS system implementation method and device supporting multi-version super account book

Country Status (1)

Country Link
CN (1) CN111800464B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933189A (en) * 2020-02-10 2020-03-27 北京启迪区块链科技发展有限公司 Fabric-based block chain network deployment method, device, equipment and medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110933189A (en) * 2020-02-10 2020-03-27 北京启迪区块链科技发展有限公司 Fabric-based block chain network deployment method, device, equipment and medium

Also Published As

Publication number Publication date
CN111800464B (en) 2022-09-09

Similar Documents

Publication Publication Date Title
US11172022B2 (en) Migrating cloud resources
US10148757B2 (en) Migrating cloud resources
US20180137306A1 (en) Container update system
CN113645071A (en) Cluster deployment method, system, medium and electronic terminal
CN105095103A (en) Storage device management method and device used for cloud environment
CN104008441A (en) Task management system and method for automatically submitting files into version library
CN107800781A (en) A kind of configuration data processing method and device
CN115812298A (en) Block chain management of supply failure
CN112486630A (en) Distributed training deployment system and method thereof
CN114912255A (en) On-line simulation experiment system and method
Santyadiputra et al. The effectiveness of Automatic Network Administration (ANA) in network automation simulation at Universitas Pendidikan Ganesha
US10768961B2 (en) Virtual machine seed image replication through parallel deployment
CN110402435A (en) Dull transaction in more primary databases with loose couplings node
Jakóbczyk Practical Oracle Cloud Infrastructure
Choudhary et al. A walkthrough of amazon elastic compute cloud (Amazon EC2): a review
CN111800464B (en) BaaS system implementation method and device supporting multi-version super account book
WO2015116191A1 (en) Business process managment
CN116208498A (en) Method, device, equipment and medium for node differential configuration of OpenStack cloud platform
CN117859309A (en) Automatically selecting a node on which to perform a task
Kanso et al. Automatic generation of AMF compliant configurations
CN106233287A (en) Management to the data base querying of large data collection
CN111930347B (en) Network creation method and device and electronic equipment
Gavanda et al. Mastering VMware vSphere 6.7: effectively deploy, manage, and monitor your virtual datacenter with VMware vSphere 6.7
CN116521509A (en) Intelligent contract testing method, device, equipment, storage medium and product
CN115485677A (en) Secure data replication in a distributed data storage environment

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