Application deployment method of multi-block chain network of heterogeneous underlying framework, server and storage medium

By providing a unified blockchain deployment platform, the problems of difficulty in deploying blockchains and insufficient interoperability in heterogeneous underlying framework networks are solved, and the integrated development of the blockchain application ecosystem and the improvement of deployment efficiency are achieved.

CN120050165APending Publication Date: 2025-05-27National Information Center (National E-Government Extranet Management Center) +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510088302.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In a multi-blockchain network with a heterogeneous underlying framework, the deployment of blockchain is difficult, and the interoperability between different blockchains is insufficient, which hinders the integrated development of the blockchain application ecosystem.

Method used

Provide a unified blockchain deployment platform, allowing application developers to develop blockchain based on unified development specifications and deploy blockchains to multiple networks through the platform. The method includes obtaining the user's blockchain deployment request, determining the target network, requesting the blockchain deployment identification and deployment information, determining the required computing resources, generating computing resource requests, generating blockchain deployment instructions, and finally deploying the blockchain on the target network.

Benefits of technology

It simplifies the development and deployment process of blockchain, reduces the difficulty of users to deploy blockchain on heterogeneous underlying framework networks, improves the efficiency of blockchain deployment, and promotes the integrated development of the blockchain application ecosystem.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050165A_ABST
    Figure CN120050165A_ABST
Patent Text Reader

Abstract

The invention discloses an application deployment method of a multi-block chain network of a heterogeneous underlying framework, a server and a storage medium. According to the embodiment of the invention, the target network matched with the deployment request of the user is determined by analyzing the deployment request of the user, and the cloud server is requested to carry out resource configuration according to the deployment request; therefore, the user can directly determine the corresponding cloud resource configuration based on the block chain deployment request of the user without knowing available resources of the cloud server and resources required by the block chain that the user wants to deploy in advance, and then obtain the corresponding deployment information from the target network, so as to finally generate the deployment instruction for the target network. According to the method and the device, the target network is established, the block chain is deployed on the target network, the difficulty of deploying the block chain on the network with different underlying frameworks by the user is reduced, and the efficiency of deploying the block chain on the block chains with different underlying frameworks by the user is greatly improved due to the fact that the user is allowed to use a unified specification to generate the deployment request.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network technologies, and in particular, to an application deployment method, a server, and a storage medium for a multi-blockchain network with a heterogeneous underlying framework. Background Art

[0002] With the rapid development of Internet technologies, people's lives and work increasingly rely on the Internet, and various Internet-based services have emerged. In the process of providing these services, users' data is inevitably stored on the Internet, which brings security risks such as data tampering. To solve this problem, blockchain technology has been proposed. Through its unique consensus mechanism, it ensures the immutability of the data uploaded by users to the blockchain.

[0003] In recent years, blockchain technology has made significant progress, and a variety of different blockchains have been formed for users to choose from. Due to differences in technology and mechanisms, different blockchains attract different users. However, with the expansion of blockchain application scenarios, many application developers have started to use multiple blockchains simultaneously for development according to business requirements. However, these blockchains usually have underlying frameworks with different forms, and these frameworks have significant differences in architecture design, node configuration, deployment environment, and application access. For application developers, every time they access a new blockchain framework, they need to learn a new set of operation and maintenance deployment and development processes. This diversity greatly increases the costs of application development, deployment, operation, and maintenance. Currently, the interoperability between different blockchains is insufficient, and it is unable to effectively achieve the circulation of trusted data and value exchange. Each blockchain network has become an isolated trust island, which greatly hinders the integrated development of the blockchain application ecosystem.

[0004] To solve these problems, this proposal presents a unified blockchain deployment platform for a multi-blockchain network with a heterogeneous underlying framework. This platform allows application developers to develop blockchains based on unified development specifications and deploy the blockchains to multiple networks through this platform. This unified deployment platform not only simplifies the development process but also promotes the integrated development of the blockchain application ecosystem, thereby driving the application and popularization of blockchain technology in a wider range of fields. Summary of the Invention

[0005] Embodiments of this application provide an application deployment method, a server, and a storage medium for a multi-blockchain network with a heterogeneous underlying framework to solve the defect in the prior art that it is difficult to deploy blockchains in a heterogeneous underlying framework network.

[0006] To achieve the above objective, embodiments of this application provide a blockchain deployment method for a multi-network with a heterogeneous underlying framework, including:

[0007] Obtain the blockchain deployment request of the user, where the blockchain deployment request includes user identification information and the blockchain information to be deployed, and the blockchain information to be deployed at least includes the underlying framework type of the first blockchain that the user wants to deploy and the chain information of the first blockchain;

[0008] Determine at least one target network among multiple networks according to the underlying framework type, where the target network has the underlying framework of the underlying framework type;

[0009] Request a blockchain deployment identifier and the deployment information of the target network from the determined target network according to the user identification information, where the blockchain deployment identifier is generated after the target network corresponding to the target network identification information verifies the user corresponding to the user identification information;

[0010] Determine the first resources required to deploy the blockchain to be deployed according to the computing resource information obtained from at least one cloud server and the blockchain information to be deployed;

[0011] Generate a computing resource request according to the blockchain deployment identifier received from the target network and the first resources and send it to the cloud server;

[0012] Generate a blockchain deployment instruction for the target network according to the blockchain information to be deployed, the resource confirmation information received from the cloud server, the blockchain deployment identifier received from the target network, and the deployment information;

[0013] Send the blockchain deployment instruction to the target network to deploy the first blockchain on the target network.

[0014] An embodiment of the present application also provides a blockchain deployment server for multiple networks with heterogeneous underlying frameworks, including:

[0015] An acquisition module, configured to acquire the blockchain deployment request of the user, where the blockchain deployment request includes user identification information and the blockchain information to be deployed, and the blockchain information to be deployed at least includes the underlying framework type of the first blockchain that the user wants to deploy and the chain information of the first blockchain;

[0016] A target network module, configured to determine at least one target network among multiple networks according to the underlying framework type, where the target network has the underlying framework of the underlying framework type;

[0017] A request module, configured to request a blockchain deployment identifier and deployment information of the target network from the determined target network according to the user identification information, where the blockchain deployment identifier is generated after the target network identified by the target network identification information verifies the user corresponding to the user identification information;

[0018] A resource module, configured to determine a first resource required for deploying the to-be-deployed blockchain according to the computing resource information obtained from at least one cloud server and the to-be-deployed blockchain information; and generate a computing resource request according to the blockchain deployment identifier received from the target network and the first resource and send the request to the cloud server;

[0019] A deployment instruction module, configured to generate a blockchain deployment instruction for the target network according to the to-be-deployed blockchain information, the resource confirmation information received from the cloud server, the blockchain deployment identifier received from the target network, and the deployment information; and send the blockchain deployment instruction to the target network to deploy the first blockchain on the target network.

[0020] An embodiment of the present application further provides an electronic device, including:

[0021] A memory, configured to store a program;

[0022] A processor, configured to run the program stored in the memory, and when the program runs, execute the blockchain deployment method provided by the embodiment of the present application.

[0023] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program executable by a processor is stored, where when the program is executed by the processor, the blockchain deployment method provided by the embodiment of the present application is implemented.

[0024] The application deployment method, server, and storage medium of a multi-blockchain network with a heterogeneous underlying framework provided by the embodiments of the present application determine at least one target network among multiple networks according to the type of the underlying framework in the blockchain deployment request of a user, and request a blockchain deployment identifier and deployment information of the target network from the determined target network according to the user identification information in the deployment request. Determine the first resources required for deploying the to-be-deployed blockchain according to the computing resource information obtained from at least one cloud server and the to-be-deployed blockchain information; generate a computing resource request according to the blockchain deployment identifier and the first resources received from the target network and send it to the cloud server; generate a blockchain deployment instruction for the target network according to the to-be-deployed blockchain information, the resource confirmation information received from the cloud server, the blockchain deployment identifier received from the target network, and the deployment information; finally, send the blockchain deployment instruction to the target network to deploy the first blockchain on the target network. Therefore, by using the blockchain deployment method provided by the embodiments of the present application, users only need to consider the blockchain they want to deploy and use a unified format to generate a deployment request, without having to understand the deployment methods of networks with different underlying frameworks and the resource configurations and request methods of each cloud server. Thus, the deployment method of the embodiments of the present application can determine a target network that matches the user's deployment request by parsing the user's deployment request, and request the cloud server to perform resource configuration according to the deployment request, enabling users to directly determine the corresponding cloud resource configuration based on the user's blockchain deployment request without having to pre-understand the available resources of the cloud server and the resources required for the blockchain they want to deploy, and then obtain the corresponding deployment information from the target network, and finally generate a deployment instruction for the target network to deploy the blockchain on the target network. This not only reduces the difficulty for users to deploy blockchains on networks with different underlying frameworks, but also greatly improves the efficiency of users to deploy blockchains on blockchains with different underlying frameworks because users are allowed to use a unified specification to generate deployment requests.

[0025] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features, and advantages of the present application more obvious and understandable, the following specifically illustrates the specific embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] By reading the detailed description of the preferred embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of illustrating the preferred embodiments and are not considered to be a limitation of the present application. And throughout the drawings, the same reference numerals are used to represent the same components. In the drawings:

[0027] Figure 1Flowchart of an embodiment of the blockchain deployment method provided by this application;

[0028] Figure 2 Schematic structural diagram of the blockchain deployment server provided by this application;

[0029] Figure 3 Schematic structural diagram of an embodiment of the electronic device provided by this application. Detailed implementation manners

[0030] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be fully conveyed to those skilled in the art.

[0031] Embodiment 1

[0032] With the rapid development of Internet technology, people's life and work increasingly rely on the Internet, and various Internet-based services emerge as the times require. In the process of providing these services, users' data is inevitably stored on the Internet, which brings security risks such as data tampering. To solve this problem, blockchain technology is proposed, which ensures the immutability of the data uploaded by users to the blockchain through its unique consensus mechanism.

[0033] In recent years, blockchain technology has made remarkable progress, and a variety of different blockchains have been formed for users to choose from. Different blockchains attract different users due to differences in technology and mechanisms. However, with the expansion of blockchain application scenarios, many application developers begin to use multiple blockchains simultaneously for development according to business requirements. However, these blockchains usually have underlying frameworks with different forms, and there are significant differences in aspects such as architecture design, node configuration, deployment environment, and application access. For application developers, every time they access a new blockchain framework, they need to learn a new set of operation and maintenance deployment and development processes. This diversity greatly increases the costs of application development, deployment, operation and maintenance, and operation. At present, the interoperability between different blockchains is insufficient, and it is impossible to effectively achieve the circulation of trusted data and value exchange. Each blockchain network has become an island of trust, which greatly hinders the integrated development of the blockchain application ecosystem.

[0034] For example, in the prior art, when a user wants to deploy a blockchain developed by themselves on a certain target network, they first need to register on the network and request relevant information about the network, such as the type of the underlying framework of the network. Then, the user needs to write deployment instructions according to the requirements for deploying the blockchain stipulated by the network, such as the parameter information stipulated by its underlying framework, and also needs to request cloud resources from a cloud server that provides cloud computing resources by themselves. In this case, the user often also needs to have knowledge of requesting and configuring cloud resources in order to request cloud resources suitable for the blockchain they want to deploy from the cloud server. And when the remaining available cloud resources on the cloud server are insufficient, the user also needs to find another available cloud server to provide the corresponding resources. Currently, there are multiple networks with different underlying frameworks, which makes it necessary for users to have knowledge of blockchain deployment under various underlying frameworks in order to generate corresponding deployment instructions. This undoubtedly greatly increases the development difficulty of users deploying blockchains. And since users need to use corresponding languages or instructions for different types of underlying frameworks to generate deployment instructions, this also greatly reduces the efficiency of users developing and deploying blockchains.

[0035] To solve these problems, this proposal presents a unified blockchain deployment platform under a multi-blockchain network with heterogeneous underlying frameworks. This platform allows application developers to develop blockchains based on unified development specifications and deploy the blockchains to multiple networks through this platform. Such a unified deployment platform not only simplifies the development process but also promotes the integrated development of the blockchain application ecosystem, thus driving the application and popularization of blockchain technology in a wider range of fields.

[0036] For example, Figure 1 is a blockchain deployment method for a multi-network with a heterogeneous underlying framework according to an embodiment of the present application, as Figure 1 shown in, the blockchain deployment method may include:

[0037] S101, obtaining a blockchain deployment request from a user.

[0038] In step S101, a server or a module therein applying the blockchain deployment method according to an embodiment of the present application may receive a deployment request sent by a user from the terminal used by the user. In an embodiment of the present application, the blockchain deployment request sent by the user may include user identification information and blockchain information to be deployed. For example, the user identification information may be the user ID used by the user to log in to the server applying the blockchain deployment method according to an embodiment of the present application using their terminal, and the blockchain information to be deployed may be information related to the blockchain that the user wants to deploy on a certain network. For example, this information may at least include the underlying framework type of the first blockchain that the user wants to deploy and the chain information of the first blockchain. In particular, the chain information may include information such as the number of nodes and the node type of the first blockchain.

[0039] S102. Determine at least one target network among multiple networks according to the underlying framework type.

[0040] In step S102, a network having an underlying framework that matches the underlying framework type in the deployment request of the user received in step S101 may be determined as the target network among multiple deployable networks. When there are two or more networks among multiple networks that have underlying frameworks matching the underlying framework type specified in the deployment request, they may all be determined as the target network, or they may also be sorted according to the network conditions of these networks, so as to select the network with the best network state as the target network.

[0041] S103. Request a blockchain deployment identifier and deployment information of the target network according to the user identification information.

[0042] In step S103, the blockchain deployment identifier and related deployment information can be requested from the target network determined in step S102 according to the user identifier information received in step S101. For example, in step S103, the user identifier information can be first sent to the target network determined in step S102, and after receiving the user identifier information, the target network can verify the received identifier information. For example, it can verify whether the user identified by the user identifier information is a user allowed by the network to use its network. In addition, the server applying the deployment method of the embodiment of the present application can also be pre-registered in each network, so that the target network can further verify based on the server information of the server sending the user identifier information. And when the server passes the verification, the network can also register the user identifier information sent by the server in its user list, thus completing the verification of the user information. On the contrary, when the user identifier information or the server information fails to pass the verification, the target network can send a response message of verification failure to the server, and at this time, the target network may not send its deployment information.

[0043] In addition, in the embodiment of the present application, when the verification passes, that is, when the user identified by the user identifier information received in step S101 is allowed to use the network to deploy its blockchain, the target network can send the deployment information to the server. In the embodiment of the present application, the deployment information may include the configuration information of the underlying framework of the target network and the deployment parameters to be set for the underlying framework. In addition, in the embodiment of the present application, the target network can also first send its current network status information to the server, so that when the server determines multiple networks as target networks in step S102, it can further determine whether the target network can be used by the user to deploy the blockchain according to the received network status information.

[0044] S104, determine the first resources required for deploying the to-be-deployed blockchain according to the computing resource information and the to-be-deployed blockchain information obtained from at least one cloud server.

[0045] In step S104, the computing resources required for deploying the first blockchain of the user can be determined based on the response information indicating successful verification of the user identification information received from the target network in step S103, or in response to receiving deployment information from the target network. For example, in an embodiment of the present application, the server applying the deployment method of this embodiment of the present application can regularly or after receiving the user's deployment request in step S101, request the current computing resource information from the cloud server. The computing resource information can be the currently available computing resource information of the cloud server, and can also include the current load information of the current cloud server and information such as the relevant network response speed. Thus, in step S104, first, the number of computing resources to be used can be determined according to the blockchain information to be deployed in the deployment request received in step S101, such as the number of nodes and node types, etc., and the first resource to be requested from the cloud server can be further determined according to the currently available computing resource information of the cloud server received from the cloud server.

[0046] S105. Generate a computing resource request based on the blockchain deployment identifier and the first resource received from the target network, and send it to the cloud server.

[0047] In step S105, a computing resource request can be generated based on the computing resources determined in step S104, that is, the first resource. The computing resource request can include the blockchain deployment identifier assigned by the target network according to the user's identification information received in step S103. Thus, the cloud server can allocate the computing resources required for deploying the first blockchain identified by the blockchain deployment identifier in the target network based on such a computing resource request. For example, in step S105, a computing resource request can be generated and sent to the corresponding cloud server to request the allocation of computing resources, and the current load status and other information of the cloud server received in step S104 can be sorted first, so as to select the cloud server with the smallest load or the fastest response speed to send the generated computing resource request to the cloud server.

[0048] S106. Generate a blockchain deployment instruction for the target network according to the blockchain information to be deployed, the resource confirmation information received from the cloud server, the blockchain deployment identifier received from the target network, and the deployment information.

[0049] In step S106, a blockchain deployment instruction for the target network can be generated based on the resource determination information fed back by the cloud server after receiving the computing resource request sent in step S105, the blockchain information to be deployed that the user wants to deploy, and the blockchain deployment identifier and deployment information received in step S103. For example, when the cloud server receives the computing resource request sent in step S105 by the server applying the deployment method of the embodiment of the present application, it can directly allocate the computing resources requested in the computing resource request and use the blockchain deployment identifier included in the computing resource request for identification, and then use the allocated computing resources to create a virtual host according to the computing resource request, and the blockchain deployment identifier can also be used to mark that the virtual host is for the deployment of the blockchain. Then, the actually allocated computing resources and the creation result of the virtual host can be sent as resource confirmation information to the server applying the deployment method of the embodiment of the present application. In step S106, after receiving the resource confirmation information from the cloud server, a blockchain deployment instruction for the target network can be generated based on the blockchain information to be deployed, the blockchain deployment identifier, and the deployment information. For example, the server can determine the parameters to be set in the to-be-set deployment parameters according to the blockchain information to be deployed and the to-be-set deployment parameters received in step S103, and generate the parameter values of the parameters to be set according to the blockchain information to be deployed and the resource confirmation information.

[0050] S107. Send the blockchain deployment instruction to the target network to deploy the first blockchain on the target network.

[0051] In step S107, the blockchain deployment instruction generated in step S106 can be sent to the target network, so that the target network can deploy the first blockchain according to the blockchain deployment instruction. For example, in the embodiment of the present application, a chain certificate can be requested from the target network according to the blockchain deployment instruction first. After receiving the chain certificate information from the target network, a node gateway can be requested from the target network according to the chain certificate information, and then the target network can be requested to deploy the first blockchain according to the blockchain deployment instruction generated in step S106 based on the node gateway registration result received from the target network.

[0052] In step S107, the target network can also be further requested to create a node channel according to the deployment result sent by the target network; the target network can be requested to generate node access certificates for each node of the blockchain network created according to the blockchain deployment instruction according to the channel creation result sent by the target network; and the node access certificates generated for each node can be received from the target network.

[0053] The blockchain deployment method provided by the embodiments of the present application determines at least one target network among multiple networks according to the underlying framework type in the user's blockchain deployment request, and requests a blockchain deployment identifier and deployment information of the target network from the determined target network according to the user identification information in the deployment request. It determines the first resources required for deploying the to-be-deployed blockchain according to the computing resource information obtained from at least one cloud server and the to-be-deployed blockchain information; generates a computing resource request based on the blockchain deployment identifier and the first resources received from the target network and sends it to the cloud server; generates a blockchain deployment instruction for the target network according to the to-be-deployed blockchain information, the resource confirmation information received from the cloud server, the blockchain deployment identifier received from the target network, and the deployment information; and finally sends the blockchain deployment instruction to the target network to deploy the first blockchain on the target network. Therefore, by using the blockchain deployment method provided by the embodiments of the present application, the user only needs to consider the blockchain to be deployed and use a unified format to generate a deployment request, without having to understand the deployment methods of networks with different underlying frameworks and the resource configurations and request methods of each cloud server. Thus, the deployment method of the embodiments of the present application can determine a target network that matches the user's deployment request by parsing the user's deployment request, and request the cloud server to perform resource configuration according to the deployment request, enabling the user to directly determine the corresponding cloud resource configuration based on the user's blockchain deployment request without having to pre-understand the available resources of the cloud server and the resources required for the blockchain the user wants to deploy, and further obtain the corresponding deployment information from the target network, so as to finally generate a deployment instruction for the target network to deploy the blockchain on the target network. This not only reduces the difficulty for the user to deploy the blockchain on networks with different underlying frameworks, but also greatly improves the efficiency of the user to deploy the blockchain on blockchains with different underlying frameworks because it allows the user to use a unified specification to generate a deployment request.

[0054] Embodiment 2

[0055] Figure 2 It is a schematic structural diagram of an embodiment of the blockchain deployment server provided by the present application. As Figure 2 shown, the blockchain deployment server provided by the embodiments of the present application may include: an acquisition module 21, a target network module 22, a request module 23, a resource module 24, and a deployment instruction module 25.

[0056] The acquisition module 21 may be used to acquire the user's blockchain deployment request.

[0057] The acquisition module 21 can receive a deployment request sent by a user from the terminal used by the user. In the embodiment of the present application, the blockchain deployment request sent by the user may include user identification information and blockchain information to be deployed. For example, the user identification information may be the user ID used by the user to log in to the server of the embodiment of the present application using their terminal, and the blockchain information to be deployed may be the relevant information of the blockchain that the user wants to deploy on a certain network. For example, this information may at least include the underlying framework type of the first blockchain that the user wants to deploy and the chain information of the first blockchain. In particular, the chain information may include information such as the number of nodes and the node type of the first blockchain.

[0058] The target network module 22 can be used to determine at least one target network from multiple networks according to the underlying framework type.

[0059] The target network module 22 can determine, as the target network, a network among multiple deployable networks that has an underlying framework matching the underlying framework type included in the deployment request received by the acquisition module 21. When there are two or more networks among the multiple networks that have underlying frameworks matching the underlying framework type specified in the deployment request, they can all be determined as the target network, or they can also be sorted according to the network conditions of these networks, so as to select the network with the best network status as the target network.

[0060] The request module 23 can be used to request a blockchain deployment identifier and deployment information of the target network according to the user identification information.

[0061] The request module 23 can request a blockchain deployment identifier and related deployment information from the target network determined by the target network module 22 according to the user identification information received by the acquisition module 21. For example, the request module 23 can first send the user identification information to the target network determined by the target network module 22, and after receiving the user identification information, the target network can verify the received identification information. For example, it can verify whether the user identified by the user identification information is a user allowed to use its network by the network. In addition, the server applying the deployment method of the embodiment of the present application can also be pre-registered in each network in advance, so that the target network can further verify based on the server information of the server sending the user identification information, and when the server passes the verification, the network can also register the user identification information sent by the server in its user list, thus completing the verification of the user information. On the contrary, when the user identification information or the server information fails to pass the verification, the target network can send a response message indicating verification failure to the server, and at this time, the target network may not send its deployment information.

[0062] In addition, in the embodiments of the present application, when the verification is passed, that is, when the user identified by the user identification information received by the acquisition module 21 is allowed to use the network to deploy its blockchain, the target network may send the deployment information to the server. In the embodiments of the present application, the deployment information may include the configuration information of the underlying framework of the target network and the deployment parameters to be set for the underlying framework. In addition, in the embodiments of the present application, the target network may also first send its current network status information to the blockchain deployment server of the embodiments of the present application, so that when the target network module 22 determines multiple networks as the target network, it can further determine whether the target network can be used by the user to deploy the blockchain according to the received network status information.

[0063] The resource module 24 may be used to determine the first resources required for deploying the blockchain to be deployed according to the computing resource information and the blockchain information to be deployed obtained from at least one cloud server, generate a computing resource request according to the blockchain deployment identifier and the first resources received from the target network, and send the request to the cloud server.

[0064] The resource module 24 may determine the computing resources required for deploying the first blockchain of the user based on the response information indicating that the verification of the user identification information received by the request module 23 from the target network has passed, or may respond to the deployment information received from the target network. For example, in the embodiments of the present application, the resource module 24 may regularly or after the acquisition module 21 receives the deployment request of the user, request the current computing resource information from the cloud server. The computing resource information may be the currently available computing resource information of the cloud server, and may also include the current load information of the current cloud server and information such as the relevant network response speed. Thus, the resource module 24 may first determine the amount of computing resources to be used according to the blockchain information to be deployed in the deployment request received by the acquisition module 21, such as the number of nodes and the node type, and further determine the first resources to be requested from the cloud server according to the currently available computing resource information of the cloud server received from the cloud server.

[0065] The resource module 24 may generate a computing resource request based on the determined computing resources, that is, the first resources. The computing resource request may include the blockchain deployment identifier assigned by the target network according to the user's identification information received by the request module 23. Thus, the cloud server may allocate the computing resources required for deploying the first blockchain identified by the blockchain deployment identifier in the target network based on such a computing resource request. For example, the resource module 24 may generate a computing resource request and send it to the corresponding cloud server to request the allocation of computing resources, and may also sort according to the received information such as the current load status of the cloud server, so as to select the cloud server with the smallest load or the fastest response speed to send the generated computing resource request to the cloud server.

[0066] The deployment instruction module 25 can be used to generate a blockchain deployment instruction for the target network based on the blockchain information to be deployed, the resource confirmation information received from the cloud server, and the blockchain deployment identifier and deployment information received from the target network, and send the blockchain deployment instruction to the target network to deploy the first blockchain on the target network.

[0067] The deployment instruction module 25 can generate a blockchain deployment instruction for the target network based on the resource determination information fed back by the cloud server after receiving the computing resource request sent by the resource module 24, the blockchain information to be deployed that the user wants to deploy, and the blockchain deployment identifier and deployment information received by the request module 23. For example, when receiving the computing resource request sent by the resource module 24, the cloud server can directly allocate the computing resources requested in the computing resource request and use the blockchain deployment identifier included in the computing resource request for identification, and then create a virtual host according to the computing resource request using the allocated computing resources, and can also use the blockchain deployment identifier to mark that the virtual host is for the deployment of this blockchain. Then, the actually allocated computing resources and the creation result of the virtual host can be sent to the resource module 24 as resource confirmation information. After receiving the resource confirmation information from the cloud server, the deployment instruction module 25 can generate a blockchain deployment instruction for the target network based on the blockchain information to be deployed, the blockchain deployment identifier, and the deployment information. For example, the deployment instruction module 25 can determine the parameters to be set in the to-be-set deployment parameters according to the blockchain information to be deployed and the to-be-set deployment parameters received by the request module 23, and generate the parameter values of the parameters to be set according to the blockchain information to be deployed and the resource confirmation information.

[0068] The deployment instruction module 25 can send the generated blockchain deployment instruction to the target network, so that the target network can deploy the first blockchain according to the blockchain deployment instruction. For example, in the embodiment of the present application, a chain certificate can be requested from the target network according to the blockchain deployment instruction first. After receiving the chain certificate information from the target network, a node gateway can be requested from the target network according to the chain certificate information, and then the target network can be requested to deploy the first blockchain according to the generated blockchain deployment instruction based on the node gateway registration result received from the target network.

[0069] The deployment instruction module 25 can further request the target network to create a node channel according to the deployment result sent by the target network; request the target network to generate node access certificates for each node of the blockchain network created according to the blockchain deployment instruction according to the channel creation result sent by the target network; and receive the node access certificates generated for each node from the target network.

[0070] The blockchain deployment server provided by the embodiment of the present application determines at least one target network among multiple networks according to the underlying framework type in the user's blockchain deployment request, and requests a blockchain deployment identifier and deployment information of the target network from the determined target network according to the user identification information in the deployment request. It determines the first resources required for deploying the to-be-deployed blockchain according to the computing resource information obtained from at least one cloud server and the to-be-deployed blockchain information; generates a computing resource request according to the blockchain deployment identifier and the first resources received from the target network and sends it to the cloud server; generates a blockchain deployment instruction for the target network according to the to-be-deployed blockchain information, the resource confirmation information received from the cloud server, the blockchain deployment identifier and the deployment information received from the target network; and finally sends the blockchain deployment instruction to the target network to deploy the first blockchain on the target network. Therefore, by using the blockchain deployment method provided by the embodiment of the present application, users only need to consider the blockchain they want to deploy and use a unified format to generate a deployment request, without having to understand the deployment methods of networks with different underlying frameworks and the resource configurations and request methods of each cloud server. Thus, the deployment method of the embodiment of the present application can determine a target network that matches the user's deployment request by parsing the user's deployment request, and request the cloud server to perform resource configuration according to the deployment request, so that users can directly determine the corresponding cloud resource configuration based on the user's blockchain deployment request without having to pre-understand the available resources of the cloud server and the resources required for the blockchain they want to deploy, and further obtain the corresponding deployment information from the target network, so as to finally generate a deployment instruction for the target network to deploy the blockchain on the target network, which not only reduces the difficulty for users to deploy blockchains on networks with different underlying frameworks, but also greatly improves the efficiency of users to deploy blockchains on blockchains with different underlying frameworks because it allows users to use a unified specification to generate deployment requests.

[0071] Embodiment III

[0072] The internal functions and structures of the blockchain deployment server have been described above, and the server can be implemented as an electronic device. Figure 3 It is a schematic structural diagram of an electronic device embodiment provided by the present application. As Figure 3 shown, the electronic device includes a memory 31 and a processor 32.

[0073] The memory 31 is used to store programs. In addition to the above programs, the memory 31 can also be configured to store various other data to support operations on the electronic device. Examples of these data include instructions for any application program or method for operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc.

[0074] The memory 31 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0075] The processor 32, not limited to the central processing unit (CPU), may also be a processing chip such as a graphics processing unit (GPU), a field programmable gate array (FPGA), an embedded neural network processor (NPU), or an artificial intelligence (AI) chip. The processor 32, coupled to the memory 31, executes the program stored in the memory 31, and when the program runs, it executes the blockchain deployment method of the first embodiment above.

[0076] Further, as Figure 3 shown, the electronic device may further include other components such as a communication component 33, a power supply component 34, an audio component 35, a display 36, etc. Figure 3 Only some components are schematically shown in Figure 3 the figure, which does not mean that the electronic device only includes

[0077] The communication component 33 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device can access a wireless network based on communication standards, such as WiFi, 3G, 4G, or 5G, or a combination thereof. In an exemplary embodiment, the communication component 33 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 33 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0078] The power supply component 34 provides power for various components of the electronic device. The power supply component 34 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device.

[0079] The audio component 35 is configured to output and / or input audio signals. For example, the audio component 35 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 31 or sent via the communication component 33. In some embodiments, the audio component 35 further includes a speaker for outputting audio signals.

[0080] The display 36 includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can detect not only the boundaries of touch or swipe actions, but also the duration and pressure associated with the touch or swipe operation.

[0081] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments; and the foregoing storage medium includes: various media such as ROM, RAM, magnetic disks, or optical discs that can store program codes.

[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A multi-network blockchain deployment method with a heterogeneous underlying framework, characterized in that: include: Obtaining a blockchain deployment request from a user, wherein the blockchain deployment request includes user identification information and information about the blockchain to be deployed, and the information about the blockchain to be deployed includes at least an underlying framework type of a first blockchain that the user wants to deploy and chain information of the first blockchain; determining at least one target network among a plurality of networks according to the underlying frame type, wherein the target network has an underlying frame of the underlying frame type; Requesting a blockchain deployment identifier and the deployment information of the target network from the determined target network according to the user identification information, wherein the blockchain deployment identifier is generated after the target network identified by the target network identification information verifies the user corresponding to the user identification information; Determine a first resource required to deploy the blockchain to be deployed according to the computing resource information obtained from at least one cloud server and the information of the blockchain to be deployed; Generate a computing resource request according to the blockchain deployment identifier received from the target network and the first resource, and send the request to the cloud server; Generate a blockchain deployment instruction for the target network according to the blockchain information to be deployed, the resource confirmation information received from the cloud server, the blockchain deployment identifier received from the target network, and the deployment information; The blockchain deployment instruction is sent to the target network to deploy the first blockchain on the target network.

2. The method for deploying a multi-network blockchain based on a heterogeneous underlying framework according to claim 1 is characterized in that: The chain information of the first blockchain includes: the number and type of nodes of the first blockchain.

3. The method for deploying a multi-network blockchain based on a heterogeneous underlying framework according to claim 2 is characterized in that: The resource confirmation information includes actual computing resources allocated by the cloud server according to the computing resource request and a creation result of a virtual host created according to the actual computing resources.

4. The method for deploying a multi-network blockchain based on a heterogeneous underlying framework according to claim 3 is characterized in that: The deployment information of the target network includes: Configuration information of the underlying framework of the target network and deployment parameters to be set of the underlying framework.

5. The method for deploying a multi-network blockchain based on a heterogeneous underlying framework according to claim 4 is characterized in that: The generating of the blockchain deployment instruction for the target network according to the blockchain information to be deployed, the resource confirmation information received from the cloud server, the blockchain deployment identifier received from the target network, and the deployment information includes: Determine the parameters that need to be set in the deployment parameters to be set according to the blockchain information to be deployed and the deployment parameters to be set; Generate parameter values ​​of the parameters that need to be set according to the blockchain information to be deployed and the resource confirmation information.

6. The method for deploying a multi-network blockchain of a heterogeneous underlying framework according to claim 1 is characterized in that: The sending the blockchain deployment instruction to the target network to deploy the first blockchain on the target network includes: Requesting the target network to issue a chain certificate according to the blockchain deployment instruction; Requesting registration of a node gateway from the target network according to the chain certificate information received from the target network; Request the target network to deploy the first blockchain according to the blockchain deployment instruction according to the node gateway registration result received from the target network.

7. The method for deploying a multi-network blockchain of a heterogeneous underlying framework according to claim 6 is characterized in that: The method further comprises: Requesting the target network to create a node channel according to the deployment result sent by the target network; Requesting the target network to generate a node access certificate for each node of the blockchain network created according to the blockchain deployment instruction according to the channel creation result sent by the target network; A node access certificate generated for each of the nodes is received from the target network.

8. A multi-network blockchain deployment server with a heterogeneous underlying framework, characterized in that: include: An acquisition module is used to acquire a blockchain deployment request from a user, wherein the blockchain deployment request includes user identification information and information about the blockchain to be deployed, and the information about the blockchain to be deployed includes at least an underlying framework type of a first blockchain that the user wants to deploy and chain information of the first blockchain; a target network module, configured to determine at least one target network among a plurality of networks according to the underlying frame type, wherein the target network has an underlying frame of the underlying frame type; A request module, configured to request a blockchain deployment identifier and deployment information of the target network from the determined target network according to the user identification information, wherein the blockchain deployment identifier is generated after the target network identified by the target network identification information verifies the user corresponding to the user identification information; A resource module, configured to determine a first resource required for deploying the blockchain to be deployed according to the computing resource information obtained from at least one cloud server and the information of the blockchain to be deployed; and to generate a computing resource request according to the blockchain deployment identifier received from the target network and the first resource and send the request to the cloud server; A deployment instruction module is used to generate a blockchain deployment instruction for the target network based on the blockchain information to be deployed, the resource confirmation information received from the cloud server, the blockchain deployment identifier received from the target network, and the deployment information; and send the blockchain deployment instruction to the target network to deploy the first blockchain on the target network.

9. An electronic device, characterized in that: include: Memory, used to store programs; A processor, configured to run the program stored in the memory to execute the multi-network blockchain deployment method of a heterogeneous underlying framework as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program executable by a processor stored thereon, characterized in that: When the program is executed by a processor, a multi-network blockchain deployment method for a heterogeneous underlying framework is implemented.

Citation Information

Patent Citations

  • Block chain network deployment control method and device, equipment and medium

    CN110516007A

  • Transaction request construction method and device, transaction request processing method and device, equipment and storage medium

    CN112764887A

  • Node deployment method and device, application chain deployment method and device, server and computer program

    CN115221237A

  • Block chain network management method and related equipment

    CN116781475A