An integrated platform for smart contract development and operation based on Hyperledger Fabric

Through the integrated smart contract development, operation and maintenance platform based on Hyperledger Fabric, the difficulties in smart contract development and deployment are solved, automated development and monitoring are realized, deployment efficiency and availability are improved, and blockchain technology is supported.

CN113050929BActive Publication Date: 2024-11-01NANJING KUANGJI INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110435014.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-22
Publication Date
2024-11-01
Estimated Expiration
2041-04-22

AI Technical Summary

Technical Problem

There are difficulties in the development and deployment of smart contracts, and the lack of efficient tools and frameworks, resulting in low deployment efficiency and incomplete monitoring, which limits the promotion and implementation of blockchain technology.

Method used

Provide a smart contract development, operation and maintenance integrated platform based on Hyperledger Fabric. Through blockchain network management module, smart contract development and delivery module and blockchain operation and maintenance module, it realizes the automated development, delivery and monitoring of smart contracts, and utilizes Automation tools build blockchain networks, provide continuous integration and continuous delivery processes, collect performance metrics and logs, and support high scalability and high availability.

Benefits of technology

It realizes independent development, deployment and monitoring of smart contracts, reduces development costs, improves deployment efficiency and availability, simplifies the fault location and repair process, and improves the promotion and implementation capabilities of blockchain technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113050929B_ABST
    Figure CN113050929B_ABST
Patent Text Reader

Abstract

The present invention discloses an integrated platform for smart contract development and operation based on Hyperledger Fabric, including decoupling smart contracts from blockchain nodes, using automated tools to complete blockchain network construction and smart contract development, delivery and monitoring, specifically including a blockchain network management module, a smart contract development and delivery module, and a blockchain operation module. The platform provided by the present invention transforms the traditional smart contract operation mode while ensuring correct operation, and uses existing automated tools to continuously integrate, continuously deploy and continuously monitor the transformed smart contracts. It reduces the cost of new tool development for Hyperledger Fabric and provides support for the full life cycle management of smart contracts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software development, and in particular to a smart contract development and operation and maintenance integrated platform based on Hyperledger Fabric. Background Art

[0002] A smart contract is a piece of program code that runs on the blockchain. Currently, the development of smart contracts is a brand new development field. The industry has not formed a standard development process, and the industry has done little research and exploration on the deployment of smart contracts. There is a lack of effective tools and frameworks to improve deployment efficiency and shorten product delivery cycles.

[0003] Smart contracts are usually deployed manually or by script, which consumes a lot of time and brings a serious burden to the deployment and upgrade of smart contracts. The integrated development environment has poor support for error message prompts, making it difficult to debug smart contracts. It is challenging for engineers to develop vulnerability-free smart contracts. At the same time, the deployment and upgrade efficiency is low, making it impossible to update smart contracts with vulnerabilities on the chain in a timely manner. Once these vulnerabilities are exploited, they will cause financial losses to customers.

[0004] In addition, the current system lacks a set of standard methods covering different levels to monitor blockchain systems, especially the smart contract level. The requests and transactions in the business logic of the blockchain system involve multiple smart contracts, which are usually developed by multiple teams. When problems occur or performance is poor, not only can the execution process not be interrupted, but there is also a lack of error logs, which makes it difficult for developers to find the root cause of the problem from the complex service call network, and the fault is difficult to detect, locate and repair.

[0005] In summary, the learning threshold of smart contracts is high, development is difficult, deployment efficiency is low, and monitoring standards are imperfect, which seriously restricts the promotion and large-scale implementation of blockchain technology. At present, an integrated and automated solution is urgently needed. Accordingly, the present invention discloses an integrated platform for smart contract development and operation based on Hyperledger Fabric to solve the above problems. Summary of the invention

[0006] The purpose of the present invention is to provide an integrated smart contract development and operation and maintenance platform based on Hyperledger Fabric to solve the problems raised in the above background technology.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions: a smart contract development and operation and maintenance integrated platform based on Hyperledger Fabric, including decoupling smart contracts from blockchain nodes, using automated tools to complete blockchain network construction and smart contract development, delivery and monitoring, and further including:

[0008] The blockchain network management module is used to build a multi-consensus, multi-organization, and multi-node blockchain network. The blockchain network consists of blockchain node containers. Specifically, it provides users with the basic design of Hyperledger Fabric, develops alliance chain applications, and allows users to quickly build a blockchain network in one stop. At the same time, it provides users with relevant management functions in the Hyperledger Fabric blockchain network;

[0009] The smart contract development and delivery module is used to write and debug smart contracts, complete the construction of smart contract containers and automatically deliver them to the blockchain network through the execution pipeline. That is, the smart contract development and delivery module is also used for users to generate smart contract templates and debug smart contracts locally, and provide users with relevant pipelines to complete the construction, deployment, upgrade and automatic delivery of smart contract containers through the execution of the pipeline;

[0010] The blockchain operation and maintenance module is used to monitor the operation of the blockchain network and smart contracts, and collect monitoring indicators and collection logs of blockchain nodes and smart contracts. The blockchain operation and maintenance module includes an indicator monitoring function, which uses microservice field monitoring methods when the smart contract microservice is running, and combines relevant tools to comprehensively collect performance indicator data of smart contract containers and lower-level network nodes, providing a standard and customized performance monitoring framework.

[0011] Preferably, the blockchain network management module includes:

[0012] The network management unit is used to customize the blockchain network specifications, provide multiple consensus mechanisms, and customize the blockchain node names and interfaces. After clarifying the blockchain business requirements and the scale of the blockchain network, the user configures and creates the blockchain network. The blockchain nodes that make up the blockchain network are deployed in the cluster in a container manner. The composition information of the blockchain network includes the network name, organization name, organization scale, organization peer, organization orderer node quantity, node name, node port, and consensus mechanism;

[0013] The channel management unit is used to create and manage channels between different organizations. After the user creates a blockchain network, the channel creation operation is performed on the selected network. The channel composition information includes the channel name, network ID, and the organization nodes included in the channel.

[0014] The contract management unit is used to deploy, upgrade and operate smart contracts in the channel. The deployment and upgrade of smart contracts includes the contract name, network ID, channel ID, smart contract container address and deployment version number. The operation categories of smart contracts include Init method and Invoke method, and the operation results are obtained through Http request.

[0015] Preferably, the smart contract development and delivery module includes:

[0016] Development management unit, which is used to develop smart contracts without building a blockchain network, including smart contract code generation, code intelligence prompts, simulation calls and testing;

[0017] The pipeline management unit is used to implement a complete continuous integration and continuous delivery process, automatically orchestrate smart contract containers, test smart contracts, and deploy smart contracts.

[0018] Preferably, the development management unit further includes:

[0019] Create a smart contract template, that is, use Freemarker template technology to generate the initial smart contract;

[0020] Coding hints, which use natural language processing models to give code hints in real time;

[0021] Contract testing, which is used to complete interface simulation calls and tests after writing smart contracts;

[0022] Code push is used to push the completed smart contract to the code management warehouse.

[0023] Preferably, the pipeline management unit further comprises:

[0024] The smart contract code repository is pulled by docking with the code repository, the smart contract image is built through the image template, the smart contract image is deployed to the blockchain network by triggering the pipeline, and the communication between the smart contract and the blockchain network is established. The deployment of the smart contract is independent of the blockchain network.

[0025] Preferably, the triggering pipeline mode is manual triggering, that is, manually clicking to start the deployment of the smart contract.

[0026] Preferably, the pipeline is triggered automatically, that is, the main branch of the smart contract warehouse bound to the pipeline triggers the pipeline when it is merged.

[0027] Preferably, the blockchain operation and maintenance module includes:

[0028] The indicator monitoring unit is used to collect performance indicators of blockchain networks and smart contracts. The indicator monitoring unit is used to collect the response time of each transaction in the system, including the average response time, the maximum response time and the minimum response time, collect the number of successful transactions per second in the system, and display them visually. The ratio of the number of successful transactions to the total number of transactions in the system is displayed as a transaction success rate indicator, and the CPU, memory, disk and network I / O resource consumption rate of each node in the system is displayed;

[0029] The log collection unit is used to collect logs generated during the operation of the alliance chain, that is, to configure the log collection tool in the microservice architecture on the blockchain network, so that users can comprehensively collect logs generated by the operation of the smart contract container. The data collected by the log collection unit includes the operation log of the smart contract container, the operation status of the container, error information, the user's transaction behavior, the flow of funds and assets and the circulation process, which can improve the real-time collection, analysis, display and fault location capabilities of logs during the operation of the smart contract.

[0030] Preferably, the smart contract communicates with the blockchain node using remote procedure call (RPC for short). The containerization of the smart contract only needs to complete its own business functions. After the smart contract is containerized and orchestrated, the programming language is encapsulated internally. Developers can freely choose the programming language, and the high availability strategy at the cluster level can be applied to the blockchain field to increase the high availability at the blockchain level.

[0031] Compared with the prior art, the beneficial effects achieved by the present invention are:

[0032] 1. The present invention containerizes smart contracts, which has the following advantages: 1) Single responsibility: Each smart contract container only needs to complete its own business function, and the smart contract is independently developed, operated, deployed, and upgraded;

[0033] 2) High scalability: After smart contracts are containerized and orchestrated, programming languages ​​are encapsulated internally, and developers can freely choose programming languages; services are exposed externally. When there are new smart contract requirements or blockchain network upgrades, only new smart contracts or network node containers need to be added to the cluster; 3) High availability: The high availability strategy at the cluster level can be applied to the blockchain field to increase the high availability at the blockchain level;

[0034] 2. The present invention combines Hyperledger Fabric and Jenkins, Kubernetes, Prometheus and other tools to help users build and maintain blockchain networks and assist in the full life cycle management of smart contracts, including local writing, debugging, testing, automated continuous deployment and delivery of smart contracts, and post-delivery monitoring and operation. The platform provided by the present invention transforms the traditional smart contract operation mode while ensuring correct operation, and uses existing automated tools to continuously integrate, continuously deploy and continuously monitor the transformed smart contracts. Reduce the cost of developing new tools for Hyperledger Fabric and provide support for the full life cycle management of smart contracts. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiment 2 of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0036] Figure 1 It is a flow chart of a smart contract development and operation and maintenance integrated platform based on Hyperledger Fabric of the present invention;

[0037] Figure 2 This is a flowchart of the blockchain network management module of Embodiment 2 of the present invention;

[0038] Figure 3 It is a flow chart of the smart contract development and delivery module of Example 2 of the present invention;

[0039] Figure 4 This is a flowchart of the blockchain operation and maintenance module of Embodiment 2 of the present invention;

[0040] Figure 5 This is a deployment network architecture diagram of Example 2 of the present invention. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] This article uses the term "Hyperledger Fabric". Hyperledger Fabric is designed to serve as a foundation for developing blockchain applications with a modular architecture so that components such as consensus and membership services can be plug-and-play. It uses container technology to host smart contracts (also known as chaincode) that constitute the application logic of the system. In short, Hyperledger Fabric is the leading open source, general-purpose blockchain fabric built for enterprises;

[0043] This article uses the term "Peer" to represent Peer nodes. Peer nodes are one of the node types in the Hyperledger Fabric blockchain structure. Peer nodes store key data and execute specific programs. The stored data includes ledgers and smart contracts, and the executed programs mainly include endorsements and chain code execution. All ledger queries and ledger modifications must be operated through chain codes, and all chain code (that is, smart contracts) operations must be invoked through Peer nodes;

[0044] This article uses the term "Orderer" to represent the Orderer node. The Orderer node is one of the node types in the Hyperledger Fabric blockchain structure. The Orderer node is a sorting node and a network node that provides consensus services. It manages system channels and all application channels, is responsible for channel creation, channel configuration updates, and other operations, and processes transaction message requests submitted by the client, sorts transactions and packages them into new blocks according to rules, submits ledgers, and maintains channel ledger data;

[0045] This article uses the term "smart contract" to represent a computer protocol designed to communicate, verify, or execute a contract in an information-based manner. The smart contract in this article is also called Chaincode in Hyperledger Fabric;

[0046] This article uses the term “Hyperledger Caliper”. Hyperledger Caliper is a blockchain performance testing framework that allows users to test different blockchain solutions with custom use cases and obtain a set of performance test results.

[0047] The term "continuous integration / continuous delivery" used in this article is CI / CD (Continuous Integration / Continuous Delivery). Continuous integration is a software development practice that refers to the continuous automatic compilation and testing of projects during the development phase to achieve a means of controlling code quality. Continuous delivery is a software engineering technique that allows the output process of software products to be completed in a short cycle to ensure that the software can be stably and continuously maintained in a state that can be released at any time. Its goal is to make software development, testing and release faster and more frequent. This method can reduce the cost and time of software development, while reducing the risks that software development needs to bear;

[0048] This article uses the term "Kubernetes", which is an open source system for automatically deploying, scaling, and managing containerized applications. It aims to provide a platform for automatically deploying, scaling, and running application containers across host clusters. Kubernetes defines a series of building blocks in its design structure, with the goal of providing a mechanism that can jointly provide deployment, maintenance, and scaling of applications. The design concept of the components that make up Kubernetes is loosely coupled and extensible, so that it can meet a variety of different workloads.

[0049] This article uses the term "Jenkins". Jenkins provides a continuous integration service for software development. It runs in a Servlet container and supports software configuration management (SCM) tools (including AccuRev SCM, CVS, Subversion, Git, Perforce, Clearcase, and RTC). It can execute projects based on Apache Ant and Apache Maven as well as arbitrary shell scripts and Windows batch commands, and can trigger builds by various means.

[0050] This article uses the term "Prometheus". Prometheus is an open source monitoring and alerting solution proposed by SoundCloud that stores and displays time series data.

[0051] Embodiment 1: A smart contract development and operation and maintenance integrated platform based on Hyperledger Fabric, including decoupling smart contracts from blockchain nodes, using automated tools to complete blockchain network construction and smart contract development, delivery and monitoring, further including:

[0052] The blockchain network management module is used to build a multi-consensus, multi-organization, and multi-node blockchain network. The blockchain network is composed of blockchain node containers. Specifically, it provides users with the basic design of Hyperledger Fabric and develops alliance chain applications for users to quickly build blockchain networks in one stop. At the same time, it provides users with relevant management functions in the Hyperledger Fabric blockchain network;

[0053] Smart contract development and delivery module, used to write and debug smart contracts, complete the construction of smart contract containers and automatically deliver them to the blockchain network through the execution pipeline. That is, the smart contract development and delivery module is also used for users to generate smart contract templates and debug smart contracts locally. At the same time, it provides users with relevant pipelines to complete the construction, deployment, upgrade and automatic delivery of smart contract containers through the execution of pipelines;

[0054] The blockchain operation and maintenance module is used to monitor the operation of the blockchain network and smart contracts, and collect monitoring indicators and collection logs of blockchain nodes and smart contracts. The blockchain operation and maintenance module includes an indicator monitoring function, which uses microservice field monitoring methods when the smart contract microservice is running, and combines relevant tools to comprehensively collect performance indicator data of smart contract containers and lower-level network nodes, providing a standard and customized performance monitoring framework.

[0055] The blockchain network management module includes:

[0056] The network management unit is used to customize the blockchain network specifications, provide multiple consensus mechanisms, and customize the blockchain node names and interfaces. After clarifying the blockchain business requirements and the scale of the blockchain network, the user configures and creates the blockchain network. The blockchain nodes that make up the blockchain network are deployed in the cluster in a container manner. The composition information of the blockchain network includes the network name, organization name, organization scale, organization peer, organization orderer node quantity, node name, node port, and consensus mechanism;

[0057] The channel management unit is used to create and manage channels between different organizations. After the user creates a blockchain network, the user can create a channel for the selected network. The channel composition information includes the channel name, network ID, and the organization nodes included in the channel.

[0058] The contract management unit is used to deploy, upgrade and operate smart contracts in the channel. The deployment and upgrade of smart contracts includes the contract name, network ID, channel ID, smart contract container address and deployment version number. The operation categories for smart contracts include Init method and Invoke method, and the operation results are obtained through Http request.

[0059] Smart contract development and delivery modules include:

[0060] Development management unit, which is used to develop smart contracts without building a blockchain network, including smart contract code generation, code intelligence prompts, simulation calls and testing;

[0061] The pipeline management unit is used to implement a complete continuous integration and continuous delivery process, automatically orchestrate smart contract containers, test smart contracts, and deploy smart contracts.

[0062] The development management unit further includes:

[0063] Create a smart contract template, that is, use Freemarker template technology to generate the initial smart contract;

[0064] Coding hints, which use natural language processing models to give code hints in real time;

[0065] Contract testing, which is used to complete interface simulation calls and tests after writing smart contracts;

[0066] Code push is used to push the completed smart contract to the code management warehouse.

[0067] The pipeline management unit further comprises:

[0068] The smart contract code repository is pulled by docking with the code repository, the smart contract image is built through the image template, and the smart contract image is deployed to the blockchain network by triggering the pipeline to establish communication between the smart contract and the blockchain network. The deployment of the smart contract is independent of the blockchain network.

[0069] The pipeline is triggered manually, that is, manually click to start the deployment of the smart contract.

[0070] The pipeline is triggered automatically, that is, the main branch of the smart contract repository bound to the pipeline triggers the pipeline when it is merged.

[0071] The blockchain operation and maintenance modules include:

[0072] The indicator monitoring unit is used to collect performance indicators of blockchain networks and smart contracts. The indicator monitoring unit is used to collect the response time of each transaction in the system, including the average response time, maximum response time and minimum response time, collect the number of successful transactions per second in the system, and display them visually. The ratio of the number of successful transactions to the total number of transactions in the system is displayed as a transaction success rate indicator. The CPU, memory, disk and network I / O resource consumption rate of each node in the system is displayed;

[0073] The log collection unit is used to collect logs generated during the operation of the alliance chain, that is, to configure the log collection tool in the microservice architecture on the blockchain network, so that users can comprehensively collect logs generated by the operation of the smart contract container. The data collected by the log collection unit includes the operation log of the smart contract container, the operation status of the container, error information, user transaction behavior, funds and asset flows and circulation processes, which can improve the real-time collection, analysis, display and fault location capabilities of logs during the operation of smart contracts.

[0074] Smart contracts communicate with blockchain nodes using Remote Procedure Call (RPC). The containerization of smart contracts only needs to complete their own business functions. After the smart contracts are containerized and orchestrated, the programming language is encapsulated internally. Developers can freely choose the programming language, and the high availability strategy at the cluster level can be applied to the blockchain field to increase the high availability at the blockchain level.

[0075] Example 2: Please refer to Figure 1 The technical solution of this embodiment proposes an integrated platform for the development and operation of smart contracts based on Hyperledger Fabric. The platform is user-oriented and provides convenience for users to build blockchain networks and develop smart contracts. The network architecture of the deployed embodiment is as follows: Figure 5 As shown, the specific construction process includes the following steps:

[0076] Step S100: Analyze the scenarios for applying blockchain technology, distinguish between on-chain and off-chain businesses, divide smart contracts and microservices, create blockchain networks and channels, and perform contract management.

[0077] like Figure 2 As shown, step S100 specifically includes the following steps:

[0078] Step S101, comprehensively analyzing application scenarios and dividing application scenarios into on-chain and off-chain businesses;

[0079] Step S102, build a blockchain network, configure the network name, organization name, organization scale, organization peers, organization orderer node quantity, node name, node port and consensus mechanism;

[0080] Step S103, create a channel, configure the channel name, network ID, and organization nodes included in the channel;

[0081] Step S104, deploy and upgrade the smart contract, configure the contract name, network ID, channel ID, smart contract container address and deployment version number;

[0082] Step S105, operate the smart contract, input the smart contract method name, category, parameters, and return the call result.

[0083] Step S200, project development, creating a pipeline for the business code in the code repository, completing project development and automated delivery through the execution of the pipeline, creating a code repository according to business needs, and making the written smart contract open source to help other members of the development team understand the work content; completing the development and automated delivery of the smart contract through the execution of the pipeline, the specific steps are as follows:

[0084] like Figure 3 As shown, step S200 specifically includes the following steps:

[0085] Step S201, creating a code repository on a code hosting platform;

[0086] Step S202, create a smart contract template, write and debug the smart contract, and simulate calling the smart contract interface to test its function;

[0087] Step S203: Push the written and tested smart contract to the code management warehouse;

[0088] Step S204, create a pipeline and set the pipeline trigger mode, where the trigger modes are: manual trigger and automatic trigger. Manual trigger pipeline is used to manually click to start the deployment of microservices; automatic trigger pipeline is used to trigger the pipeline when the main branch of the code repository bound to the pipeline is merged;

[0089] Step S205, configuring the smart contract code repository address on the pipeline;

[0090] Step S206, configuring the smart contract testing method and its test cases on the pipeline;

[0091] Step S207, configuring the smart contract container construction method and the image address on the pipeline;

[0092] Step S208, configuring and deploying the target blockchain network on the pipeline;

[0093] Step S209, execute the pipeline. If the execution fails, the developer can modify and restart the pipeline.

[0094] Step S300: Blockchain operation and maintenance, collecting performance indicators of blockchain network and smart contracts, monitoring the operation status of blockchain, collecting smart contract transaction logs, and summarizing and analyzing the transaction process;

[0095] like Figure 4 As shown, step S300 specifically includes the following steps:

[0096] Step S301, start resource node collection and query resource consumption status, including CPU, memory, disk, network I / O and other data;

[0097] Step S302, check the block information on the chain, block height, specific information, included transactions and transaction logs.

[0098] The above steps S301 - S302 are performed in no particular order.

[0099] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0100] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An integrated platform for smart contract development and operation based on Hyperledger Fabric, including decoupling smart contracts from blockchain nodes, using automated tools to complete blockchain network construction and smart contract development, delivery and monitoring, characterized in that: Further including: The blockchain network management module is used to build a multi-consensus, multi-organization, and multi-node blockchain network. The blockchain network consists of blockchain node containers. Specifically, it provides users with the basic design of Hyperledger Fabric, develops alliance chain applications, and allows users to build blockchain networks in one stop. At the same time, it provides users with relevant management functions in the Hyperledger Fabric blockchain network; A smart contract development and delivery module is used to write and debug smart contracts, complete the construction of smart contract containers and automatically deliver them to the blockchain network through the execution pipeline. The smart contract development and delivery module is also used for users to generate smart contract templates and debug smart contracts locally, and provide users with relevant pipelines to complete the construction, deployment, upgrade and automatic delivery of smart contract containers through the execution of the pipeline; The blockchain operation and maintenance module is used to monitor the operation of the blockchain network and smart contracts, and collect monitoring indicators and collection logs of blockchain nodes and smart contracts. The blockchain operation and maintenance module includes an indicator monitoring function, which uses microservice field monitoring methods when the smart contract microservice is running, and combines relevant tools to comprehensively collect performance indicator data of smart contract containers and lower-level network nodes, providing a standard and customized performance monitoring framework; The blockchain network management module includes: The network management unit is used to customize the blockchain network specifications, provide multiple consensus mechanisms, and customize the blockchain node names and interfaces. After clarifying the blockchain business requirements and the scale of the blockchain network, the user configures and creates the blockchain network. The blockchain nodes that make up the blockchain network are deployed in the cluster in a container manner. The composition information of the blockchain network includes the network name, organization name, organization scale, organization peer, organization orderer node quantity, node name, node port, and consensus mechanism; The channel management unit is used to create and manage channels between different organizations. After the user creates a blockchain network, the user can create a channel for the selected network. The channel composition information includes the channel name, network ID, and the organization nodes included in the channel. The contract management unit is used to deploy, upgrade and operate smart contracts in the channel. The deployment and upgrade of smart contracts includes the contract name, network ID, channel ID, smart contract container address and deployment version number. The operation categories of smart contracts include Init method and Invoke method, and the operation results are obtained through Http request. The smart contract development and delivery module includes: Development management unit, which is used to develop smart contracts without building a blockchain network, including smart contract code generation, code intelligence prompts, simulated calls and testing; The pipeline management unit is used to implement a complete continuous integration and continuous delivery process, automatically orchestrate smart contract containers, test smart contracts, and deploy smart contracts; The blockchain operation and maintenance module includes: An indicator monitoring unit is used to collect performance indicators of blockchain networks and smart contracts. The indicator monitoring unit is used to collect the response time of each transaction in the system, including the average response time, maximum response time and minimum response time, collect the number of successful transactions per second in the system, and display them visually. The ratio of the number of successful transactions to the total number of transactions in the system is collected and displayed as a transaction success rate indicator. The CPU, memory, disk and network I / O resource consumption rate of each node in the system is collected and displayed; The log collection unit is used to collect logs generated during the operation of the alliance chain. It is used to configure the log collection tool in the microservice architecture on the blockchain network so that users can comprehensively collect logs generated by the operation of the smart contract container. The data collected by the log collection unit includes the operation log of the smart contract container, the operation status of the container, error information, user transaction behavior, funds and asset flows and circulation process.

2. According to claim 1, a smart contract development and operation and maintenance integrated platform based on Hyperledger Fabric is characterized in that: The development management unit further includes: Create a smart contract template, that is, use Freemarker template technology to generate the initial smart contract; Coding hints, which use natural language processing models to give code hints in real time; Contract testing, which is used to complete interface simulation calls and tests after writing smart contracts; Code push is used to push the completed smart contract to the code management warehouse.

3. According to claim 1, a smart contract development and operation and maintenance integrated platform based on Hyperledger Fabric, characterized in that: The pipeline management unit further comprises: The smart contract code repository is pulled by docking with the code repository, the smart contract image is built through the image template, the smart contract image is deployed to the blockchain network by triggering the pipeline, and the communication between the smart contract and the blockchain network is established. The deployment of the smart contract is independent of the blockchain network.

4. According to claim 3, a smart contract development and operation and maintenance integrated platform based on Hyperledger Fabric is characterized in that: The triggering pipeline mode is manual triggering, that is, manually clicking to start the deployment of the smart contract.

5. According to claim 3, a smart contract development and operation and maintenance integrated platform based on Hyperledger Fabric is characterized in that: The pipeline is triggered automatically, that is, the main branch of the smart contract warehouse bound to the pipeline triggers the pipeline when it is merged.

6. According to claim 1, a smart contract development and operation and maintenance integrated platform based on Hyperledger Fabric, characterized in that: The smart contract and blockchain nodes utilize remote procedure calls.