WO2020199597A1 - 区块链节点管理代理服务安装方法、电子装置及存储介质 - Google Patents

区块链节点管理代理服务安装方法、电子装置及存储介质 Download PDF

Info

Publication number
WO2020199597A1
WO2020199597A1 PCT/CN2019/117764 CN2019117764W WO2020199597A1 WO 2020199597 A1 WO2020199597 A1 WO 2020199597A1 CN 2019117764 W CN2019117764 W CN 2019117764W WO 2020199597 A1 WO2020199597 A1 WO 2020199597A1
Authority
WO
WIPO (PCT)
Prior art keywords
installation
user
blockchain node
machine corresponding
script
Prior art date
Application number
PCT/CN2019/117764
Other languages
English (en)
French (fr)
Inventor
汪昌帅
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020199597A1 publication Critical patent/WO2020199597A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This application relates to the technical field of block structure improvement, in particular to a method for installing a blockchain node management agent service, an electronic device and a storage medium.
  • Decentralization is the form of social relations and content generation formed during the development of the Internet, and is a new type of network content production process relative to "centralization.”
  • each node has a high degree of autonomy.
  • the nodes can be freely connected to each other to form a new connection unit. Any node may become a phased center, but it does not have a mandatory central control function.
  • the influence between nodes will form a non-linear causal relationship through the network. This kind of open, flat, and equal system phenomenon or structure is called decentralization.
  • the decentralization requirements of the blockchain system cannot effectively manage the blockchain nodes.
  • the purpose of this application is to provide a method for installing a blockchain node management agent service, an electronic device, and a storage medium, so as to solve the existing technical problem that the blockchain node cannot be effectively managed.
  • a method for installing a blockchain node management agent service includes the following steps: in response to a user's agent service installation request, displaying a new resource page; receiving the installation input by the user on the new resource page Information; obtain proxy server resources from the proxy service download server; generate an installation script according to the installation information and the obtained proxy server resources; determine the address of the machine corresponding to the target blockchain node according to the IP address entered by the user; The installation script is installed to the machine corresponding to the target blockchain node.
  • an electronic device including a memory and a processor, the memory is used to store a blockchain node management agent service installation system executable by the processor, the blockchain
  • the node management agent service installation system includes: a display module, which is used to display the newly added resource page in response to a user's agent service installation request; a receiving module, which is used to receive installation information input by the user on the newly added resource page; and an acquisition module for Obtain proxy server resources from the proxy service download server; generating module, used to generate installation scripts based on the installation information and obtained proxy server resources; determining module, used to determine the target blockchain node based on the IP address entered by the user The address of the corresponding machine; the installation module is used to install the installation script to the machine corresponding to the target blockchain node.
  • a computer device including: a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the following method when the computer program is executed The steps of: responding to the user’s proxy service installation request, displaying the new resource page; receiving the installation information entered by the user on the new resource page; obtaining proxy server resources from the proxy service download server; according to the installation information and the obtained proxy
  • the server resource generates an installation script; determines the address of the machine corresponding to the target blockchain node according to the IP address entered by the user; installs the installation script to the machine corresponding to the target blockchain node.
  • a non-volatile computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the steps of the following method: Proxy service installation request, display the new resource page; receive the installation information entered by the user on the new resource page; obtain proxy server resources from the proxy service download server; generate an installation script based on the installation information and the acquired proxy server resources; According to the IP address input by the user, the address of the machine corresponding to the target blockchain node is determined; and the installation script is installed in the machine corresponding to the target blockchain node.
  • the positive progress effect of this application is that by providing a new resource page, users can actively trigger the installation of a proxy server to realize the management of blockchain nodes, and further, by providing a proxy service download server, the download server can be downloaded from the proxy service Obtain proxy server resources in, to generate installation scripts for installation.
  • the existing agent installation is usually completed by the super administrator, which causes the management authority of all nodes to change from decentralization to centralization, which cannot meet the decentralization of the blockchain system.
  • the problem of demand achieves the goal that users can install agent services independently to achieve the purpose of decentralized autonomous installation of agent services.
  • Fig. 1 is a method flowchart of a method for installing a blockchain node management agent service according to an embodiment of the present application
  • Fig. 2 is a block diagram of a block chain node management agent service installation system according to an embodiment of the present application
  • Fig. 3 is a schematic diagram of an optional hardware architecture of an electronic device according to an embodiment of the present application.
  • the purpose of decentralized self-installation of the agent service can be achieved, and at the same time, by providing a web interface, the user can operate more easily.
  • a method for installing a blockchain node management agent service and an electronic device are provided.
  • the method and the electronic device are specifically described as follows:
  • Step 101 In response to the user's proxy service installation request, display a new resource page;
  • the central service component provides an interactive interface (which can be a web interface), and a resource addition module can be provided on the interactive interface.
  • a resource addition module can be provided on the interactive interface.
  • the user can fill in the corresponding interface according to preset rules in the displayed interface
  • an installation script can be generated. That is, on the basis of the interactive interface provided by the central service component, the new resource module can be displayed when the user chooses to trigger the entire installation process.
  • Step 102 Receive the installation information entered by the user on the new resource page
  • the above installation information may include but is not limited to at least one of the following: user name, password, organization label, network device name, environment label, public network IP.
  • installation information listed above is only an exemplary description. In actual implementation, other installation information may also be included, which can be determined according to actual needs and circumstances, and this application does not limit this.
  • the part that needs user input may be input by the user, and the part that does not require user input may be directly obtained from the database.
  • Step 103 Obtain proxy server resources from the proxy service download server
  • the agent service download server can be the Agent component download server to provide Agent resources for download; the central service component obtains agent resources from the agent installation download server, and based on the information obtained from the original database and the information filled in by the user, Installation script.
  • Step 104 Generate an installation script according to the installation information and the acquired proxy server resources;
  • script is an executable file written in a certain format using a specific descriptive language, also called a macro or batch file. Scripts can usually be temporarily called and executed by the application. There are generally two ways to implement dynamic programs, one is binary, and the other is script.
  • the binary method is to first compile the written program into a machine-recognizable instruction code (such as an .exe file), and then execute it.
  • a machine-recognizable instruction code such as an .exe file
  • This kind of compiled program can only be executed and used, but the content of his program cannot be seen.
  • the script is simply a text command, these text commands can be seen (for example, you can use Notepad to open for viewing, editing), when the script program is executed, an interpreter of the system will be used Translate into machine-recognizable instructions and execute them in program order. Because the script is executed with an additional translation process, it is slightly less efficient than binary programs.
  • generating the installation script means using proxy server resources to convert the installation information into a descriptive language in a specific format according to preset rules, which is a program file that can be executed by the machine.
  • the above-mentioned proxy server is used as a service machine for generating the installation script, that is, the installation script is generated through the selected proxy server as the execution subject.
  • the proxy server is generated based on the information obtained from the database and the information filled in by the user. For example: According to the organization label, network device name, environment label and other information in the installation information, as well as the information obtained from the original database, the installation script can be automatically generated according to the preset script generation rules, that is, when there is such installation information In this case, the installation script can be automatically generated.
  • the user can enter the IP address, user name and password of the blockchain node to be installed, so as to use ansible to remotely execute the installation script to achieve the automatic installation requirements, so as to install the Agent service to the corresponding blockchain node In the machine. If users do not want to use automatic installation, they can also manually execute the installation script on the target machine.
  • Step 105 Determine the address of the machine corresponding to the target blockchain node according to the IP address input by the user;
  • Step 106 Install the installation script to the machine corresponding to the target blockchain node.
  • the user can actively trigger the installation of a proxy server to realize the management of blockchain nodes.
  • the proxy can be obtained from the proxy service download server Server resources to generate installation scripts for installation.
  • the existing agent installation is usually completed by the super administrator, which causes the management authority of all nodes to change from decentralization to centralization, which cannot meet the decentralization of the blockchain system.
  • the problem of demand achieves the goal that users can install agent services independently to achieve the purpose of decentralized autonomous installation of agent services.
  • installing the installation script to the machine corresponding to the target blockchain node may include: displaying the installation mode selection page; receiving the user's selection of the installation mode; according to the installation mode selected by the user The installation script is installed in the machine corresponding to the target blockchain node.
  • the above installation methods may include but are not limited to at least one of the following: manual installation, ansible remote installation, specifically:
  • installing the installation script to the machine corresponding to the target blockchain node according to the installation method selected by the user may include: downloading the installation script to the target In the machine corresponding to the blockchain node; receiving the user's click operation signal; responding to the click operation signal to implement the installation of the blockchain node management agent service.
  • installing the installation script to the machine corresponding to the target blockchain node according to the installation method selected by the user may include: remotely executing on the target through ansible The installation operation is performed on the machine corresponding to the blockchain node.
  • ansible is an automated operation and maintenance tool that is developed based on Python and combines the advantages of multiple operation and maintenance tools (puppet, cfengine, chef, func, fabric), which can realize batch system configuration, batch program deployment, and batch operation Commands and other functions.
  • Ansible works based on modules and does not have the capability of batch deployment. It is the modules run by ansible that has the capability of batch deployment. Ansible only provides a framework.
  • a block chain node management agent service installation system and method are provided, where the installation system may include:
  • Agent component download server used to provide Agent resources for download
  • the central service component is used to provide an interactive interface with users.
  • the blockchain node can be installed as follows:
  • the central service component provides an interactive interface (which can be a web interface), and a new resource module can be provided on the interactive interface. After selecting the new resource module, the user can fill in the corresponding interface according to preset rules in the displayed interface Installation parameters, based on the installation parameters entered by the user, an installation script can be generated.
  • the above-mentioned preset rules are preset. For example, which information items need to be filled in are displayed on the interface, and then the specific content of the information item is empty, and the user enters the specific information item content in the empty area, and the user input
  • the content is used as the installation parameter.
  • These installation parameters may include but are not limited to at least one of the following: user name, password, organization label, network device name, environment label, public network IP, etc.
  • the user can enter the IP address, user name and password of the blockchain node that needs to be installed, so that the new resource module in the central service component will replace the user with ansible to remotely execute the installation script to realize the automatic installation requirements.
  • the Agent service is installed in the machine corresponding to the blockchain node. If users do not want to use automatic installation, they can also manually execute the installation script on the target machine.
  • the IP address of the blockchain node entered by the user is the IP address of the machine corresponding to the blockchain node.
  • the blockchain node is installed in the machine. Therefore, based on the user input the IP address of the blockchain node that needs to be installed, You can locate the corresponding machine.
  • the central service component can analyze the execution result of ansible and return the execution result to the web interface, or the user can view the newly installed agent in the resource management interface in the web interface provided by the central service component service.
  • the user voluntarily enters the IP address, user name, and password of the node resource, so as to achieve the purpose of decentralized independent installation of proxy services.
  • users can operate more easily.
  • Step 1 User A logs into the web interface of the central service component, and user A’s user information is stored in the database of the central service component;
  • Step 2 User A switches to the new resource page, where the user is prompted to input: user name, password, organization label, network device name, environment label, public network IP and other information. Information that does not require user input can be obtained directly from the database.
  • Step 3 After the user fills in the required information, click: Generate script.
  • the central service component obtains agent resources from the agent installation and download server, and generates an installation script based on the information obtained from the original database and the information filled in by the user.
  • Step 4 Provide users with a choice of installation methods, such as manual installation by users themselves, remote installation by ansible.
  • qklmanager can be executed remotely through ansible Perform installation operations on the machine.
  • Step 5 After the installation is complete, the central service component database can store the agent service information and bind it to the user's available resource list.
  • the agent component download server and the central service component will provide access and download services to all resources.
  • the central service component has a database and agent registration interface.
  • the database will store user information and information about the resource installed with the agent, as well as the resource and The relationship between user information.
  • the user voluntarily enters the IP address, user name, and password of the node resource to achieve the purpose of decentralized and autonomous installation of proxy services, and at the same time, by providing a web interface, the user can operate more easily.
  • this embodiment provides a block chain node management agent service installation system.
  • Figure 2 shows the block chain node management agent An optional structural block diagram of the service installation system.
  • the blockchain node management agent service installation system is divided into one or more program modules, one or more program modules are stored in a storage medium and processed by one or more To complete this application.
  • the program module referred to in this application refers to a series of computer program instruction segments that can complete specific functions. It is more suitable than the program itself to describe the execution process of the blockchain node management agent service installation system in the storage medium. The following description will specifically introduce this Functions of each program module of the embodiment:
  • the blockchain node management agent service installation system 20 may include:
  • the display module 201 is used to display the newly added resource page in response to the user's proxy service installation request;
  • the receiving module 202 is configured to receive installation information entered by the user on the newly added resource page;
  • the obtaining module 203 is used to obtain proxy server resources from the proxy service download server;
  • the generating module 204 is configured to generate an installation script according to the installation information and the obtained proxy server resources;
  • the determining module 205 is configured to determine the address of the machine corresponding to the target blockchain node according to the IP address input by the user;
  • the installation module 206 is used to install the installation script to the machine corresponding to the target blockchain node.
  • the above-mentioned installation module 206 may include: a display unit for displaying an installation method selection page; a receiving unit for receiving a user's selection of an installation method; an installation unit for displaying the installation method according to the installation method selected by the user.
  • the installation script is installed to the machine corresponding to the target blockchain node.
  • the above-mentioned installation method may include but is not limited to at least one of the following: manual installation and ansible remote installation.
  • the installation module 206 installs the installation script to the machine corresponding to the target blockchain node according to the installation method selected by the user, which may include: The installation script is downloaded to the machine corresponding to the target blockchain node; the user's click operation signal is received; in response to the click operation signal, the blockchain node management agent service installation is implemented.
  • the installation module 206 installs the installation script to the machine corresponding to the target blockchain node according to the installation method selected by the user, which may include: The installation operation is performed on the machine corresponding to the target blockchain node through ansible remote execution.
  • the above installation information may include but is not limited to at least one of the following: user name, password, organization label, network device name, environment label, and public network IP.
  • the user can actively trigger the installation of a proxy server to realize the management of blockchain nodes.
  • the proxy server can be downloaded from the proxy server.
  • FIG. 3 is a schematic diagram of the hardware architecture of an embodiment of the electronic device according to the present application.
  • the electronic device 2 is a device that can automatically perform numerical calculation and/or information processing according to pre-set or stored instructions.
  • it can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a cabinet server (including an independent server or a server cluster composed of multiple servers).
  • the electronic device 2 at least includes but is not limited to: a memory 21, a processor 22, a network interface 23, and a blockchain node management agent service installation system 20 that can communicate with each other through a system bus. among them:
  • the memory 21 includes at least one type of computer-readable storage medium.
  • the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), and static random access memory.
  • SRAM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • PROM programmable read-only memory
  • magnetic memory magnetic disk, optical disk, etc.
  • the memory 21 may be an internal storage module of the electronic device 2, such as a hard disk or a memory of the electronic device 2.
  • the memory 21 may also be an external storage device of the electronic device 2, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (Secure Digital, SD card, Flash Card, etc.
  • the memory 21 may also include both an internal storage module of the electronic device 2 and an external storage device thereof.
  • the memory 21 is generally used to store the operating system and various application software installed in the electronic device 2, such as the program code of the blockchain node management agent service installation system 20.
  • the memory 21 can also be used to temporarily store various types of data that have been output or will be output.
  • the processor 22 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments.
  • the processor 22 is generally used to control the overall operation of the electronic device 2, for example, perform data interaction or communication-related control and processing with the electronic device 2.
  • the processor 22 is used to run the program code or process data stored in the memory 21, such as the running blockchain node management agent service installation system 20 and so on.
  • the network interface 23 may include a wireless network interface or a wired network interface, and the network interface 23 is generally used to establish a communication connection between the electronic device 2 and other electronic devices.
  • the network interface 23 is used to connect the electronic device 2 with an external terminal through a network, and establish a data transmission channel and a communication connection between the electronic device 2 and the external terminal.
  • the network can be corporate intranet (Intranet), Internet (Internet), Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Wireless or wired networks such as Bluetooth and Wi-Fi.
  • FIG. 3 only shows an electronic device with components 21-23, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
  • the blockchain node management agent service installation system 20 stored in the memory 21 can also be divided into one or more program modules, one or more program modules are stored in the memory 21, and are composed of one Or executed by multiple processors (in this embodiment, the processor 22) to complete the application.
  • This embodiment also provides a non-volatile computer-readable storage medium.
  • the computer-readable storage medium stores a blockchain node management agent service installation system.
  • the blockchain node management agent service installation system can be configured by at least one processor. Is executed so that at least one processor executes the steps of the blockchain node management agent service installation method as in the first embodiment.
  • the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc.
  • the computer-readable storage medium may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device.
  • the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (Secure Digital) equipped on the computer device. , SD) card, flash card (Flash Card), etc.
  • the computer-readable storage medium may also include both the internal storage unit and the external storage device of the computer device.
  • the computer-readable storage medium is generally used to store the operating system and various application software installed in the computer device, such as the program code of the blockchain node management agent service installation system in Embodiment 2.
  • the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.
  • modules or steps of the above-mentioned embodiments of the application can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed among multiple computing devices.
  • they can be implemented with program codes executable by a computing device, so that they can be stored in a storage device for execution by the computing device, and in some cases, can be different from here
  • the steps shown or described are executed in the order of, or they are respectively fabricated into individual integrated circuit modules, or multiple modules or steps of them are fabricated into a single integrated circuit module to achieve. In this way, the embodiments of the present application are not limited to any specific hardware and software combination.

Abstract

一种区块链节点管理代理服务安装方法、电子装置及存储介质,其中,该方法包括:响应于用户的代理服务安装请求,展示新增资源页面(S101);接收用户在新增资源页面输入的安装信息(S102);从代理服务下载服务器中获取代理服务器资源(S103);根据安装信息和获取的代理服务器资源,生成安装脚本(S104);根据用户输入的IP地址,确定目标区块链节点对应的机器的地址(S105);将所述安装脚本安装至目标区块链节点对应的机器中(S106)。通过上述方式解决了现有了agent的安装通常是由超级管理员来统一完成的,这样就导致所有节点的管理权限由去中心化变成了中心化,无法满足区块链系统的去中心化需求的问题,达到了用户可自主安装agent服务,以实现去中心化自主安装代理服务的目的。

Description

区块链节点管理代理服务安装方法、电子装置及存储介质
相关申请的交叉引用
本申请申明享有2019年04月04日递交的申请号为CN201910270949.6、名称为“区块链节点管理代理服务安装方法、电子装置及存储介质”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。
技术领域
本申请涉及区块结构改进技术领域,具体涉及一种区块链节点管理代理服务安装方法、电子装置及存储介质。
背景技术
去中心化(decentralization)是互联网发展过程中形成的社会关系形态和内容产生形态,是相对于“中心化”而言的新型网络内容生产过程。在一个分布有众多节点的系统中,每个节点都具有高度自治的特征。节点之间彼此可以自由连接,形成新的连接单元。任何一个节点都可能成为阶段性的中心,但不具备强制性的中心控制功能。节点与节点之间的影响,会通过网络而形成非线性因果关系。这种开放式、扁平化、平等性的系统现象或结构,我们称之为去中心化。
发明人发现现有的分布式系统平台化节点管理系统中,agent的安装通常是由超级管理员来统一完成的,这样就导致所有节点的管理权限由去中心化变成了中心化,无法满足区块链系统的去中心化需求,无法对区块链节点进行有效管理。
针对上述无法对区块链节点进行有效管理的问题,目前尚未提出有效的解决方案。
申请内容
本申请的目的在于提供一种区块链节点管理代理服务安装方法、电子装置及存储介质,进而解决现有的无法对区块链节点进行有效管理的技术问题。
本申请是通过下述技术方案来解决上述技术问题:
根据本申请的一个方面,提供了一种区块链节点管理代理服务安装方法,包括如下步骤:响应于用户的代理服务安装请求,展示新增资源页面;接收用户在新增资源页面输入的安装信息;从代理服务下载服务器中获取代理服务器资源;根据所述安装信息和获取的代理服务器资源,生成安装脚本;根据用户输入的IP地址,确定目标区块链节点对应的机器的地址;将所述安装脚本安装至目标区块链节点对应的机器中。
根据本申请的另一个方面,提供了一种电子装置,包括存储器和处理器,所述存储器用于存储可被所述处理器执行的区块链节点管理代理服务安装系统,所述区块链节点管理 代理服务安装系统包括:展示模块,用于响应于用户的代理服务安装请求,展示新增资源页面;接收模块,用于接收用户在新增资源页面输入的安装信息;获取模块,用于从代理服务下载服务器中获取代理服务器资源;生成模块,用于根据所述安装信息和获取的代理服务器资源,生成安装脚本;确定模块,用于根据用户输入的IP地址,确定目标区块链节点对应的机器的地址;安装模块,用于将所述安装脚本安装至目标区块链节点对应的机器中。
根据本申请的又一个方面,提供了一种计算机设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如下方法的步骤:响应于用户的代理服务安装请求,展示新增资源页面;接收用户在新增资源页面输入的安装信息;从代理服务下载服务器中获取代理服务器资源;根据所述安装信息和获取的代理服务器资源,生成安装脚本;根据用户输入的IP地址,确定目标区块链节点对应的机器的地址;将所述安装脚本安装至目标区块链节点对应的机器中。
根据本申请的又一个方面,提供了一种非易失性计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如下方法的步骤:响应于用户的代理服务安装请求,展示新增资源页面;接收用户在新增资源页面输入的安装信息;从代理服务下载服务器中获取代理服务器资源;根据所述安装信息和获取的代理服务器资源,生成安装脚本;根据用户输入的IP地址,确定目标区块链节点对应的机器的地址;将所述安装脚本安装至目标区块链节点对应的机器中。
本申请的积极进步效果在于:通过提供新增资源页面,用户可以主动触发安装代理服务器,以实现对区块链节点的管理,进一步的,通过提供代理服务下载服务器,可以从该代理服务下载服务器中获取代理服务器资源,以生成安装脚本实现安装。通过上述方式解决了现有了agent的安装通常是由超级管理员来统一完成的,这样就导致所有节点的管理权限由去中心化变成了中心化,无法满足区块链系统的去中心化需求的问题,达到了用户可自主安装agent服务,以实现去中心化自主安装代理服务的目的。
附图说明
图1是根据本申请实施例的区块链节点管理代理服务安装方法的方法流程图;
图2是根据本申请实施例的区块链节点管理代理服务安装系统的结构框图;
图3是根据本申请实施例的电子装置的一种可选的硬件架构示意图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前 提下所获得的所有其他实施例,都属于本申请保护的范围。
考虑到在现有的分布式系统平台化节点管理系统中,agent的安装通常是由超级管理员来统一完成的,这样就导致所有节点的管理权限由去中心化变成了中心化,无法满足区块链系统的去中心化需求。
基于此,在本例中,考虑到可以由用户自主安装agent服务,那么可以实现了去中心化自主安装代理服务的目的,同时通过提供web界面,用户可以更容易地进行操作。
为此,在本例中提供了一种区块链节点管理代理服务安装方法、电子设备,下面对该方法和电子设备进行具体说明如下:
实施例1
下面结合附图对本申请提供的区块链节点管理代理服务安装方法进行说明,如图1所示,可以包括如下步骤:
步骤101:响应于用户的代理服务安装请求,展示新增资源页面;
具体的,中心服务组件提供交互界面(可以是web界面),在该交互界面上可以提供资源新增模块,用户在选择该资源新增模块之后,可以在呈现的界面中按照预设规则填写相应的安装参数,基于用户输入的安装信息,可生成安装脚本。即,中心服务组件提供交互界面的基础上,可以在用户选择的情况下,显示资源新增模块,以触发整个的安装流程。
步骤102:接收用户在新增资源页面输入的安装信息;
其中,上述安装信息可以包括但不限于以下至少之一:用户名、密码、组织标签、网络设备名称、环境标签、公网IP。
值得注意的是,上述所列举的安装信息仅是一种示例性描述,在实际实现的时候,还可以包括其它的安装信息,可以根据实际需要和情况确定,本申请对此不作限定。
其中,对于上述的安装信息而言,需要用户输入的部分可以是用户输入的,不需要用户输入的部分可以直接从数据库中获取。
步骤103:从代理服务下载服务器中获取代理服务器资源;
代理服务下载服务器可以为Agent组件下载服务器,用于提供Agent资源,以供下载;中心服务组件从agent安装下载服务器获取agent资源,并根据从原数据库中获取的信息和用户所填写的信息,以安装脚本。
步骤104:根据所述安装信息和获取的代理服务器资源,生成安装脚本;
其中,脚本script是使用一种特定的描述性语言,依据一定的格式编写的可执行文件,又称作宏或批处理文件。脚本通常可以由应用程序临时调用并执行。动态程序一般有两种实现方式,一是二进制方式,一是脚本方式。
二进制方式是先将编写的程序进行编译,变成机器可识别的指令代码(如.exe文件), 然后再执行。这种编译好的程序只能执行、使用,却看不到他的程序内容。脚本简单地说就是一条条的文字命令,这些文字命令是可以看到的(如可以用记事本打开查看、编辑),脚本程序在执行时,是由系统的一个解释器,将其一条条的翻译成机器可识别的指令,并按程序顺序执行。因为脚本在执行时多了一道翻译的过程,所以它比二进制程序执行效率要稍低一些。
在本例中,生成安装脚本也就是通过代理服务器资源,按照预设的规则,将安装信息转换为可以特定格式的描述性语言,是机器可以执行的程序文件。
其中,上述代理服务器是作为生成安装脚本的服务机器,即,通过选定的代理服务器作为执行主体来生成安装脚本。代理服务器在生成安装脚本的过程中,是根据从数据库中获取的信息和用户所填写的信息生成的。例如:根据安装信息中的组织标签、网络设备名称、环境标签等信息,以及从原数据库中获取的信息,按照预设的脚本生成规则就可以自动生成安装脚本,即,在有这些安装信息的情况下,就可以自动生成安装脚本。
在生成安装脚本之后,用户可以输入需要安装的区块链节点的IP地址、用户名和密码,以便利用ansible远程执行安装脚本,以实现自动安装的需求,从而将Agent服务安装至区块链节点对应的机器中。如果用户不希望采用自动安装的方式,也可以自行在目标机器上手动执行安装脚本。
步骤105:根据用户输入的IP地址,确定目标区块链节点对应的机器的地址;
步骤106:将所述安装脚本安装至目标区块链节点对应的机器中。
在上例中,通过提供新增资源页面,用户可以主动触发安装代理服务器,以实现对区块链节点的管理,进一步的,通过提供代理服务下载服务器,可以从该代理服务下载服务器中获取代理服务器资源,以生成安装脚本实现安装。通过上述方式解决了现有了agent的安装通常是由超级管理员来统一完成的,这样就导致所有节点的管理权限由去中心化变成了中心化,无法满足区块链系统的去中心化需求的问题,达到了用户可自主安装agent服务,以实现去中心化自主安装代理服务的目的。
具体的,在上述步骤106中,将所述安装脚本安装至目标区块链节点对应的机器中,可以包括:显示安装方式选择页面;接收用户对安装方式的选择;根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中。
即,可以提供多种安装方式供用户选择,这样可以有效提高安装方式的多样性,提升安装效率和灵活性。
上述安装方式可以包括但不限于以下至少之一:手动安装、ansible远程安装,具体的:
1)在用户选择的安装方式为手动安装的情况下,根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中,可以包括:将安装脚本下载至所述至目标区块 链节点对应的机器中;接收用户的点击操作信号;响应于所述点击操作信号,以实现区块链节点管理代理服务安装。
2)在用户选择的安装方式为ansible远程安装的情况下,根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中,可以包括:通过ansible远程执行在所述目标区块链节点对应的机器上执行安装操作。
其中,ansible是一种自动化运维工具,是基于Python开发的,集合了多种运维工具(puppet、cfengine、chef、func、fabric)的优点,可以实现批量系统配置、批量程序部署、批量运行命令等功能。ansible是基于模块工作的,本身没有批量部署的能力,具有批量部署能力的是ansible所运行的模块,ansible只是提供一种框架。
下面结合一个具体实施例对上述方法进行说明,然而,值得注意的是,该具体实施例仅是为了更好地说明本申请,并不构成对本申请的不当限定。
在本例中提供了一种区块链节点管理代理服务安装系统和方法,其中,该安装系统可以包括:
1)Agent组件下载服务器,用于提供Agent资源,以供下载;
2)中心服务组件,用于提供与用户的交互界面。
基于上述安装系统,可以按照如下方式进行区块链节点的安装:
S1:中心服务组件提供交互界面(可以是web界面),在该交互界面上可以提供资源新增模块,用户在选择该资源新增模块之后,可以在呈现的界面中按照预设规则填写相应的安装参数,基于用户输入的安装参数,可生成安装脚本。
其中,上述预设规则是预先设置的,例如,在界面上显示需要填写哪些信息项,然后信息项的具体内容是空的,用户在空的区域中输入具体的信息项内容,将用户输入的内容作为安装参数。这些安装参数可以包括但不限于以下至少之一:用户名、密码、组织标签、网络设备名称、环境标签、公网IP等。
S2:在脚本生成之后,用户可以输入需要安装的区块链节点的IP地址、用户名和密码,以便中心服务组件中新增资源模块代替用户利用ansible远程执行安装脚本,以实现自动安装的需求,从而将Agent服务安装至区块链节点对应的机器中。如果用户不希望采用自动安装的方式,也可以自行在目标机器上手动执行安装脚本。
用户输入的区块链节点的IP地址,就是该区块链节点对应的机器的IP地址,区块链节点是安装在机器中,因此,基于用户输入需要安装的区块链节点的IP地址,就可以定位到对应的机器。
S3:在脚本安装完成之后,中心服务组件可以分析ansible的执行结果,并将执行结果返回至web界面,或者,用户可以在中心服务组件所提供的web界面中的资源管理界面查 看新安装的agent服务。
该方法通过用户自愿输入节点资源的IP地址、用户名和密码,实现了去中心化自主安装代理服务的目的,同时通过提供web界面,用户可以更容易地进行操作。
以一个具体实施例进行说明如下:
步骤1:用户A登陆中心服务组件的web界面,在中心服务组件的数据库中存储有用户A的用户信息;
步骤2:用户A切换到新增资源页面,在该页面中提示用户输入:用户名、密码、组织标签、网络设备名称、环境标签、公网IP等信息。对于不需要用户输入的信息,可以直接从数据库中获取。
步骤3:在用户填写完所需填写的信息之后,可以点击:生成脚本。之后,中心服务组件从agent安装下载服务器获取agent资源,并根据从原数据库中获取的信息和用户所填写的信息,生成安装脚本。
步骤4:提供用户对安装方式的选择,例如:用户自己手动安装、ansible远程安装。
如果用户选择自己手动安装,则将安装脚本下载至区块链节点对应的机器中,然后在机器上点击安装,以完成安装操作,如果是选择ansible远程安装,那么可以由qklmanager通过ansible远程执行在机器上执行安装操作。
步骤5:在安装完成之后,中心服务组件数据库可以存储该agent服务的信息,并将其绑定到用户的可用资源列表中。
其中,agent组件下载服务器和中心服务组件,都会向所有资源提供访问下载服务,中心服务组件具有数据库和agent注册接口,其中,数据库会存储用户信息和安装了agent的资源相关信息,以及该资源与用户信息之间的关系。
在上述实施例中,通过用户自愿输入节点资源的IP地址、用户名和密码,实现了去中心化自主安装代理服务的目的,同时通过提供web界面,用户可以更容易地进行操作。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。
实施例2
基于上述实施例一中提供的区块链节点管理代理服务安装方法,本实施例中提供一种区块链节点管理代理服务安装系统,具体地,图2示出了该区块链节点管理代理服务安装系统的可选的结构框图,该区块链节点管理代理服务安装系统被分割成一个或多个程序模块,一个或者多个程序模块被存储于存储介质中,并由一个或多个处理器所执行,以完成本申请。本申请所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,比程 序本身更适合描述区块链节点管理代理服务安装系统在存储介质中的执行过程,以下描述将具体介绍本实施例各程序模块的功能:
如图2所示,区块链节点管理代理服务安装系统20可以包括:
展示模块201,用于响应于用户的代理服务安装请求,展示新增资源页面;
接收模块202,用于接收用户在新增资源页面输入的安装信息;
获取模块203,用于从代理服务下载服务器中获取代理服务器资源;
生成模块204,用于根据所述安装信息和获取的代理服务器资源,生成安装脚本;
确定模块205,用于根据用户输入的IP地址,确定目标区块链节点对应的机器的地址;
安装模块206,用于将所述安装脚本安装至目标区块链节点对应的机器中。
在一个实施方式中,上述安装模块206可以包括:显示单元,用于显示安装方式选择页面;接收单元,用于接收用户对安装方式的选择;安装单元,用于根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中。
在一个实施方式中,上述安装方式可以包括但不限于以下至少之一:手动安装、ansible远程安装。
在一个实施方式中,在用户选择的安装方式为手动安装的情况下,上述安装模块206根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中,可以包括:将安装脚本下载至所述至目标区块链节点对应的机器中;接收用户的点击操作信号;响应于所述点击操作信号,以实现区块链节点管理代理服务安装。
在一个实施方式中,在用户选择的安装方式为ansible远程安装的情况下,上述安装模块206根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中,可以包括:通过ansible远程执行在所述目标区块链节点对应的机器上执行安装操作。
在一个实施方式中,上述安装信息可以包括但不限于以下至少之一:用户名、密码、组织标签、网络设备名称、环境标签、公网IP。
关于上述实施例中的装置,其中各个单元、模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
在本实施例的各个实施方式中,通过提供新增资源页面,用户可以主动触发安装代理服务器,以实现对区块链节点的管理,进一步的,通过提供代理服务下载服务器,可以从该代理服务下载服务器中获取代理服务器资源,以生成安装脚本实现安装。通过上述方式解决了现有了agent的安装通常是由超级管理员来统一完成的,这样就导致所有节点的管理权限由去中心化变成了中心化,无法满足区块链系统的去中心化需求的问题,达到了用户可自主安装agent服务,以实现去中心化自主安装代理服务的目的。
实施例3
在本申请优选的实施例三中提供一种电子装置。图3是根据本申请电子装置一实施例的硬件架构示意图。本实施例中,电子装置2是一种能够按照事先设定或者存储的指令,自动进行数值计算和/或信息处理的设备。例如,可以是智能手机、平板电脑、笔记本电脑、台式计算机、机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个服务器所组成的服务器集群)等。如图所示,电子装置2至少包括但不限于:可通过系统总线相互通信连接存储器21、处理器22、网络接口23、以及区块链节点管理代理服务安装系统20。其中:
存储器21至少包括一种类型的计算机可读存储介质,可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器21可以是电子装置2的内部存储模块,例如该电子装置2的硬盘或内存。在另一些实施例中,存储器21也可以是电子装置2的外部存储设备,例如该电子装置2上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,存储器21还可以既包括电子装置2的内部存储模块也包括其外部存储设备。本实施例中,存储器21通常用于存储安装于电子装置2的操作系统和各类应用软件,例如区块链节点管理代理服务安装系统20的程序代码等。此外,存储器21还可以用于暂时地存储已经输出或者将要输出的各类数据。
处理器22在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器22通常用于控制电子装置2的总体操作,例如执行与电子装置2进行数据交互或者通信相关的控制和处理等。本实施例中,处理器22用于运行存储器21中存储的程序代码或者处理数据,例如运行的区块链节点管理代理服务安装系统20等。
网络接口23可包括无线网络接口或有线网络接口,该网络接口23通常用于在电子装置2与其他电子装置之间建立通信连接。例如,网络接口23用于通过网络将电子装置2与外部终端相连,在电子装置2与外部终端之间的建立数据传输通道和通信连接等。网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi等无线或有线网络。
需要指出的是,图3仅示出了具有部件21-23的电子装置,但是应理解的是,并不要求实施所有示出的部件,可以替代的实施更多或者更少的部件。
在本实施例中,存储于存储器21中的区块链节点管理代理服务安装系统20还可以被 分割为一个或者多个程序模块,一个或者多个程序模块被存储于存储器21中,并由一个或多个处理器(本实施例为处理器22)所执行,以完成本申请。
实施例4
本实施例还提供一种非易失性计算机可读存储介质,计算机可读存储介质内存储有区块链节点管理代理服务安装系统,区块链节点管理代理服务安装系统可被至少一个处理器所执行,以使至少一个处理器执行如实施例一的区块链节点管理代理服务安装方法的步骤。
本实施例中,计算机可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,计算机可读存储介质可以是计算机设备的内部存储单元,例如该计算机设备的硬盘或内存。在另一些实施例中,计算机可读存储介质也可以是计算机设备的外部存储设备,例如该计算机设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,计算机可读存储介质还可以既包括计算机设备的内部存储单元也包括其外部存储设备。本实施例中,计算机可读存储介质通常用于存储安装于计算机设备的操作系统和各类应用软件,例如实施例2的区块链节点管理代理服务安装系统的程序代码等。此外,计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的各类数据。
显然,本领域的技术人员应该明白,上述的本申请实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请实施例不限制于任何特定的硬件和软件结合。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种区块链节点管理代理服务安装方法,其中,包括如下步骤:
    响应于用户的代理服务安装请求,展示新增资源页面;
    接收用户在新增资源页面输入的安装信息;
    从代理服务下载服务器中获取代理服务器资源;
    根据所述安装信息和获取的代理服务器资源,生成安装脚本;
    根据用户输入的IP地址,确定目标区块链节点对应的机器的地址;
    将所述安装脚本安装至目标区块链节点对应的机器中。
  2. 根据权利要求1所述的方法,其中,将所述安装脚本安装至目标区块链节点对应的机器中,包括:
    显示安装方式选择页面;
    接收用户对安装方式的选择;
    根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中。
  3. 根据权利要求2所述的方法,其中,所述安装方式包括以下至少之一:手动安装、ansible远程安装。
  4. 根据权利要求3所述的方法,其中,在用户选择的安装方式为手动安装的情况下,根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中,包括:
    将安装脚本下载至所述至目标区块链节点对应的机器中;
    接收用户的点击操作信号;
    响应于所述点击操作信号,以实现区块链节点管理代理服务安装。
  5. 根据权利要求3所述的方法,其中,在用户选择的安装方式为ansible远程安装的情况下,根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中,包括:
    通过ansible远程执行在所述目标区块链节点对应的机器上执行安装操作。
  6. 根据权利要求1至5中任一项所述的方法,其中,所述安装信息包括以下至少之一:用户名、密码、组织标签、网络设备名称、环境标签、公网IP。
  7. 一种电子装置,包括存储器和处理器,其中,所述存储器用于存储可被所述处理器执行的区块链节点管理代理服务安装系统,所述区块链节点管理代理服务安装系统包括:
    展示模块,用于响应于用户的代理服务安装请求,展示新增资源页面;
    接收模块,用于接收用户在新增资源页面输入的安装信息;
    获取模块,用于从代理服务下载服务器中获取代理服务器资源;
    生成模块,用于根据所述安装信息和获取的代理服务器资源,生成安装脚本;
    确定模块,用于根据用户输入的IP地址,确定目标区块链节点对应的机器的地址;
    安装模块,用于将所述安装脚本安装至目标区块链节点对应的机器中。
  8. 根据权利要求7所述的装置,其中,所述安装模块包括:
    显示单元,用于显示安装方式选择页面;
    接收单元,用于接收用户对安装方式的选择;
    安装单元,用于根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中。
  9. 根据权利要求8所述的装置,其中,所述安装方式包括以下至少之一:手动安装、ansible远程安装。
  10. 根据权利要求9所述的装置,其中,在用户选择的安装方式为ansible远程安装的情况下,所述安装模块具体用于通过ansible远程执行在所述目标区块链节点对应的机器上执行安装操作。
  11. 一种计算机设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如下方法的步骤:
    响应于用户的代理服务安装请求,展示新增资源页面;
    接收用户在新增资源页面输入的安装信息;
    从代理服务下载服务器中获取代理服务器资源;
    根据所述安装信息和获取的代理服务器资源,生成安装脚本;
    根据用户输入的IP地址,确定目标区块链节点对应的机器的地址;
    将所述安装脚本安装至目标区块链节点对应的机器中。
  12. 根据权利要求11所述的计算机设备,其中,所述将所述安装脚本安装至目标区块链节点对应的机器中的步骤包括:
    显示安装方式选择页面;
    接收用户对安装方式的选择;
    根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中。
  13. 根据权利要求12所述的计算机设备,其中,所述安装方式包括以下至少之一:手动安装、ansible远程安装。
  14. 根据权利要求13所述的计算机设备,其中,在用户选择的安装方式为手动安装的情况下,根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的 机器中的步骤包括:
    将安装脚本下载至所述至目标区块链节点对应的机器中;
    接收用户的点击操作信号;
    响应于所述点击操作信号,以实现区块链节点管理代理服务安装。
  15. 根据权利要求13所述的方法,其中,在用户选择的安装方式为ansible远程安装的情况下,根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中的步骤包括:
    通过ansible远程执行在所述目标区块链节点对应的机器上执行安装操作。
  16. 一种非易失性计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如下方法:
    响应于用户的代理服务安装请求,展示新增资源页面;
    接收用户在新增资源页面输入的安装信息;
    从代理服务下载服务器中获取代理服务器资源;
    根据所述安装信息和获取的代理服务器资源,生成安装脚本;
    根据用户输入的IP地址,确定目标区块链节点对应的机器的地址;
    将所述安装脚本安装至目标区块链节点对应的机器中。
  17. 根据权利要求16所述的非易失性计算机可读存储介质,其中,将所述安装脚本安装至目标区块链节点对应的机器中的步骤包括:
    显示安装方式选择页面;
    接收用户对安装方式的选择;
    根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中。
  18. 根据权利要求17所述的非易失性计算机可读存储介质,其中,所述安装方式包括以下至少之一:手动安装、ansible远程安装。
  19. 根据权利要求18所述的非易失性计算机可读存储介质,其中,在用户选择的安装方式为手动安装的情况下,根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中的步骤包括:
    将安装脚本下载至所述至目标区块链节点对应的机器中;
    接收用户的点击操作信号;
    响应于所述点击操作信号,以实现区块链节点管理代理服务安装。
  20. 根据权利要求18所述的非易失性计算机可读存储介质,其中,在用户选择的安装方式为ansible远程安装的情况下,根据用户选择的安装方式将所述安装脚本安装至目标区块链节点对应的机器中的步骤包括:
    通过ansible远程执行在所述目标区块链节点对应的机器上执行安装操作。
PCT/CN2019/117764 2019-04-04 2019-11-13 区块链节点管理代理服务安装方法、电子装置及存储介质 WO2020199597A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910270949.6 2019-04-04
CN201910270949.6A CN110109684B (zh) 2019-04-04 2019-04-04 区块链节点管理代理服务安装方法、电子装置及存储介质

Publications (1)

Publication Number Publication Date
WO2020199597A1 true WO2020199597A1 (zh) 2020-10-08

Family

ID=67485244

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/117764 WO2020199597A1 (zh) 2019-04-04 2019-11-13 区块链节点管理代理服务安装方法、电子装置及存储介质

Country Status (2)

Country Link
CN (1) CN110109684B (zh)
WO (1) WO2020199597A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923233A (zh) * 2021-09-30 2022-01-11 广联达科技股份有限公司 一种联盟链管理方法

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109684B (zh) * 2019-04-04 2023-06-09 平安科技(深圳)有限公司 区块链节点管理代理服务安装方法、电子装置及存储介质
CN112035215B (zh) * 2020-08-31 2023-12-19 腾讯科技(深圳)有限公司 节点集群的节点自治方法、系统、装置及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309146A (zh) * 2008-06-13 2008-11-19 南京邮电大学 一种可自更新代理证书的网格安全系统的实现方法
US20100299518A1 (en) * 2009-05-20 2010-11-25 Microsoft Corporation Portable secure computing network
CN105553961A (zh) * 2015-12-11 2016-05-04 北京元心科技有限公司 应用程序的强制访问控制方法、系统和管理服务器
CN108833472A (zh) * 2018-05-07 2018-11-16 杭州数梦工场科技有限公司 云主机的连接建立系统
CN110109684A (zh) * 2019-04-04 2019-08-09 平安科技(深圳)有限公司 区块链节点管理代理服务安装方法、电子装置及存储介质

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160344831A1 (en) * 2015-05-21 2016-11-24 Google Inc. Proxy service for content requests
CN105245371A (zh) * 2015-10-12 2016-01-13 浪潮软件集团有限公司 一种基于ansible的自动化部署系统及方法
US20170124497A1 (en) * 2015-10-28 2017-05-04 Fractal Industries, Inc. System for automated capture and analysis of business information for reliable business venture outcome prediction
CN105487891A (zh) * 2015-11-26 2016-04-13 航天恒星科技有限公司 一种分布式集群的部署方法及系统
US10146519B2 (en) * 2016-09-20 2018-12-04 Bluedata Software, Inc. Generation and deployment of scripts for large scale processing framework services
US11182203B2 (en) * 2016-12-06 2021-11-23 Vmware, Inc. Systems and methods to orchestrate infrastructure installation of a hybrid system
CN106708573B (zh) * 2016-12-19 2020-12-18 中国银联股份有限公司 一种用于Hadoop集群自动安装的系统及方法
CN106886434B (zh) * 2016-12-28 2020-10-23 山西大智慧水利科技有限公司 一种分布式应用安装方法与装置
CN107832139A (zh) * 2017-09-26 2018-03-23 上海点融信息科技有限责任公司 用于管理区块链节点的计算资源的方法、设备和系统
CN107911421B (zh) * 2017-10-30 2020-05-15 上海点融信息科技有限责任公司 用于配置区块链中跨网络通信的方法、设备和计算机存储介质
CN109101241A (zh) * 2018-07-06 2018-12-28 深圳付贝科技有限公司 一种区块链安装包生成方法及其装置、电子设备
CN109255210A (zh) * 2018-09-27 2019-01-22 上海点融信息科技有限责任公司 在区块链网络中提供智能合约的方法、装置及存储介质
CN109254784B (zh) * 2018-09-29 2019-11-12 广州鼎甲计算机科技有限公司 基于web界面的分布式软件安装方法和系统
CN109542767B (zh) * 2018-10-25 2023-04-11 平安科技(深圳)有限公司 基于区块链的自动化测试方法、装置、计算机设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101309146A (zh) * 2008-06-13 2008-11-19 南京邮电大学 一种可自更新代理证书的网格安全系统的实现方法
US20100299518A1 (en) * 2009-05-20 2010-11-25 Microsoft Corporation Portable secure computing network
CN105553961A (zh) * 2015-12-11 2016-05-04 北京元心科技有限公司 应用程序的强制访问控制方法、系统和管理服务器
CN108833472A (zh) * 2018-05-07 2018-11-16 杭州数梦工场科技有限公司 云主机的连接建立系统
CN110109684A (zh) * 2019-04-04 2019-08-09 平安科技(深圳)有限公司 区块链节点管理代理服务安装方法、电子装置及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923233A (zh) * 2021-09-30 2022-01-11 广联达科技股份有限公司 一种联盟链管理方法

Also Published As

Publication number Publication date
CN110109684A (zh) 2019-08-09
CN110109684B (zh) 2023-06-09

Similar Documents

Publication Publication Date Title
CN110532020B (zh) 一种微服务编排的数据处理方法、装置及系统
CA2915619C (en) Method and apparatus for customized software development kit (sdk) generation
CA2912852C (en) Method and apparatus for code virtualization and remote process call generation
US10324709B2 (en) Apparatus and method for validating application deployment topology in cloud computing environment
WO2020199597A1 (zh) 区块链节点管理代理服务安装方法、电子装置及存储介质
CN105630488A (zh) 一种基于docker容器技术的持续集成实现方法
WO2021135584A1 (zh) 前端项目框架的构建方法、装置、计算机设备及存储介质
CN109889377B (zh) 基于Openstack的NFV系统中部署VNF的方法和装置
CN103412768A (zh) 一种基于脚本程序自动化部署Zookeeper集群的方法
CN104750487B (zh) 一种移动终端app的开发方法及启动方法
CN106897093A (zh) 一种windows操作系统的部署方法及装置
CN110673923A (zh) Xwiki系统配置方法、系统及计算机设备
US9141363B2 (en) Application construction for execution on diverse computing infrastructures
CN106797670A (zh) 使用表征状态转移业务的物理交换机初始化
US9552226B1 (en) Predictive order status system and method for computing environment
CN105204910A (zh) 一种脚本热更新方法和系统
US11182151B2 (en) Constructing build environments for software
US20220237090A1 (en) Autonomous organization and role selection of homogenous workers
CN112860251A (zh) 一种网站前端构建的方法与系统
Boyer et al. Architecture-based automated updates of distributed microservices
Duplyakin et al. Introducing configuration management capabilities into CloudLab experiments
CN112181762A (zh) 软件项目应用基础环境部署与三遥的可视化处理方法
CN116450165A (zh) 一种快速搭建环境及部署程序的方法、系统、终端及存储介质
CN111045695A (zh) WebLogic中间件部署装置、方法及设备和介质
CN106802805B (zh) 一种适用服务器管理的应用服务管理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19922856

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19922856

Country of ref document: EP

Kind code of ref document: A1