Visual remote deployment method for transformer substation
1. A visual remote deployment method for a substation is characterized by comprising the following steps:
accessing the deployment tool carrier to any one server node;
automatically starting the application in the deployment tool carrier and entering a visual interface;
and managing and deploying nodes, configuring products or software parameters through a visual interface, and performing one-key deployment on all node machines.
2. The visual remote deployment method for substations according to claim 1, characterized in that the storage of the deployment tool comprises a read-only partition and a read-write partition, the read-only partition stores one-touch deployed scripts and web system automation deployment tools and web interface systems, and the read-write partition stores installation packages of tool software and products.
3. The visual remote deployment method for substations according to claim 2, characterized in that the script of the deployment tool employs the latest infrastructure technology.
4. The visual remote deployment method for the substation of claim 1, wherein the deployment tool carrier is any one of a U disk, a hard disk and an optical disk.
5. The visual remote deployment method for the substation of claim 1, wherein the application in the deployment tool carrier starts a web system through an autorun mechanism, and then directly accesses a visual page through a browser.
6. A visual remote deployment method for a substation according to claim 1, wherein the visual interface comprises host management, component management and application management, wherein the host management is used for implementing remote node allocation and management; the component management is used for checking all the basic components contained locally, selecting the components and nodes needing to be deployed and carrying out parameter configuration; the application management can select the required dependent components and configure the system parameters for a single product or project.
7. The visual remote deployment method for substations according to claim 1, characterized in that the underlying logic of the visualization page is implemented as: after the configuration is completed through the visual interface, a command button is clicked, a command line tool is called, and the operation of deployment node distribution and management, product or tool software parameter configuration, one-key deployment installation, uninstallation, update iteration and log tracking is performed by running an Angle script.
8. The visual remote deployment method for substations according to claim 1, characterized in that the communication interface of the substation is USB, SATA or IDE.
9. A visual remote deployment method for a substation according to claim 1, wherein the deployment tool carrier integrates a separate operating system, including all dependencies required for deployment, and is independent of any system environment after the carrier is connected to the machine system.
10. The visual remote deployment method for the substation of claim 1, wherein the visual interface performs one-touch deployment of the node host through an SSH protocol, and supports log tracking during deployment.
Background
At present, for the deployment of a transformer substation system, related software packages are generally copied to a target host one by one through a storage medium, and then are installed and uninstalled through Shell scripts or in a manual mode, wherein the installation comprises operations of decompression, parameter configuration, installation, starting and the like; offloading includes operations to stop service, modify configuration, delete, etc. The mode has the disadvantages of complex operation, long deployment time, easy error and low safety, computers are installed in all substations in the conventional substation intranet deployment, and when the computers need to be operated and maintained or have faults, the computers need to go to all the substations for maintenance, so that the substations are large in number and dispersed in places, the operation and maintenance efficiency is low, and the centralized management is inconvenient.
Therefore, a visual remote deployment method for the transformer substation is needed, so that the operations such as installation and uninstallation can be simplified, and the maintenance of each transformer substation is not required, the management and operation efficiency of the transformer substation is greatly improved, and the comprehensive cost is reduced.
Disclosure of Invention
The invention provides a visual remote deployment method for a transformer substation aiming at development requirements of transformer substation technology and requirements of improvement of the existing transformer substation technology, which can manage deployment nodes, configuration products or software parameters through a visual interface and realize one-key deployment of all node machines.
The technical scheme adopted by the invention for solving the technical problems comprises the following steps:
a visual remote deployment method for a substation, the visual remote deployment method comprising the steps of:
accessing the deployment tool carrier to any one server node;
automatically starting the application in the deployment tool carrier and entering a visual interface;
and managing and deploying nodes, configuring products or software parameters through a visual interface, and performing one-key deployment on all node machines.
Preferably, the storage of the deployment tool comprises a read-only partition and a read-write partition, the read-only partition stores a one-key deployment script, a web system automation deployment tool and a web interface system, and the read-write partition stores installation packages of tool software and products.
Preferably, the script of the deployment tool employs the latest infrastructure technology.
Preferably, the deployment tool carrier is any one of a usb disk, a hard disk, and an optical disk.
Preferably, the application in the deployment tool carrier starts the web system through the autorun mechanism, and then directly accesses the visual page through the browser.
Preferably, the visual interface comprises host management, component management and application management, wherein the host management is used for realizing remote node distribution and management; the component management is used for checking all the basic components contained locally, selecting the components and nodes needing to be deployed and carrying out parameter configuration; the application management can select the required dependent components and configure the system parameters for a single product or project.
Preferably, the underlying logic of the visualization page is implemented as: after the configuration is completed through the visual interface, a command button is clicked, a command line tool is called, and the operation of deployment node distribution and management, product or tool software parameter configuration, one-key deployment installation, uninstallation, update iteration and log tracking is performed by running an Angle script.
Preferably, the communication interface of the substation is USB, SATA or IDE.
Preferably, the deployment tool carrier integrates a separate operating system, including all dependencies required for deployment, and is independent of any system environment after the carrier accesses the machine system.
Preferably, the visualization interface performs one-key deployment of the node host through an SSH protocol, and supports log tracking during the deployment process.
The invention has the technical effects that:
the visual remote deployment method for the transformer substation, disclosed by the invention, is operated by all visual interfaces, and operation and maintenance personnel can use the visual remote deployment method only by simple training without specially learning specific professional technologies; the deployment parameters can be simply configured through a visual interface, so that the operations of deployment, iterative upgrade, unloading and the like of system tool software or products can be realized, the deployment mode is quick and convenient, and the deployment time is greatly shortened; by configuring the nodes, remote deployment is realized, the dispersed deployment nodes do not need to be considered, the working efficiency is greatly improved, and the working cost is reduced; meanwhile, the tool carrier has zero dependence on the system environment, the system environment does not need to be matched, and the universality is strong; the tool carrier is encrypted safely, and the safety is ensured.
The invention will be further described with reference to the accompanying drawings.
Drawings
Fig. 1 is a block diagram of a substation deployment tool carrier composition for a visual remote deployment method of a substation according to the present invention;
fig. 2 is a block diagram of a visual remote deployment structure of a substation according to the visual remote deployment method for the substation of the present invention;
fig. 3 is an automated deployment visualization interface diagram of an embodiment of a visualization remote deployment method for a substation according to the present invention.
Detailed Description
The embodiments of the present invention will be further described with reference to the accompanying drawings so that the present invention can be further understood by those skilled in the art without limiting the scope of the present invention.
The embodiment discloses a visual remote deployment method for a transformer substation, and referring to fig. 1, fig. 1 is a structural diagram of a transformer substation deployment tool carrier composition for the visual remote deployment method for the transformer substation, when an operation and maintenance worker of a transformer substation system delivers a product, the operation and maintenance worker only needs to access the deployment tool carrier to any one server node, and after an application in the carrier is automatically started, the deployment node, a configuration product or a software parameter can be managed through a visual interface, so that one-key deployment of all node machines is realized.
The present embodiment implements the one-key deployment principle as follows,
with reference to fig. 1 and fig. 2, fig. 2 is a block diagram of a visual remote deployment structure of a substation according to the visual remote deployment method for the substation of the present invention, in this embodiment, a storage of a deployment tool carrier is divided into two major parts, namely a read-only partition and a read-write partition, where the read-only partition stores a one-key deployment script, a web system automation deployment tool, and a web interface system, where the automation deployment script employs a latest infrastructure technology, and infrastructure is developed based on Python, and integrates advantages of multiple deployment tools such as puppet, chef, func, and fabric, so as to implement functions of batch system configuration, batch program deployment, batch operation and unloading, and batch iterative upgrade; the read-write partition stores a software package to be deployed, namely an installation package for storing tool software and products; the carrier can be a U disk, a hard disk, an optical disk and the like, which is convenient for operation and maintenance personnel to carry and deploy, and the communication interface for deploying the tool carrier in the figure can be a USB, a SATA, an IDE and the like.
In the deployment tool carrier in this embodiment, all the dependent carriers required for deployment are integrated with an independent operating system, and all the installation packages and the dependent libraries required for deployment are loaded, so that the carrier does not depend on any system environment after accessing the system.
The self-starting of the web system stored in the deployment tool carrier in this embodiment is: when the carrier is connected to the host, the web system is started through the autorun mechanism, and operation and maintenance personnel can directly access the visual page through the browser.
The web system visualization page stored in the deployment tool carrier in the embodiment is mainly used for host management, component management, application management and the like, and the host management is mainly used for realizing remote node distribution and management; the component management is used for checking all the basic components contained locally, selecting the components and nodes to be deployed, and performing parameter configuration (such as user names, passwords, port IP and the like) to realize one-key deployment of the components on a plurality of nodes; the application management can select required dependent components and configure system parameters aiming at a single product or project, namely one-key deployment of the product or project can be realized.
Referring to fig. 3, fig. 3 is a diagram of an automated deployment visualization interface of an embodiment of a visualization remote deployment method for a substation according to the present invention; the workbench in the figure is used for uniformly showing all the currently contained example numbers, host numbers, component numbers and Repo numbers; the host management mainly displays all host nodes including node names, node IPs, ports and the like, and supports addition and deletion; the component list is mainly used for realizing the configuration of the component parameters; the example list is mainly an example of a specific product or project and comprises all related components, and after the example is successfully created, all related components can be deployed on different nodes by one key; the Repo list mainly shows all component dependency packages, including component names, component versions, component paths, and the like.
In this embodiment, nodes are managed and deployed through a visual page, node dependencies are allocated, and product or tool software parameters are configured, and the bottom logic of the visual page is implemented as follows: after the configuration of the visual interface is completed, a command line tool is called after a button (installation, uninstallation, upgrade and the like) is clicked, and functions of allocating and managing deployment nodes, configuring product or tool software parameters, installing, uninstalling, updating iteration, tracking logs and the like can be realized by running an Angle script.
In the embodiment, the visual remote access of the transformer substation is realized by accessing remote nodes and transmission files through SSH, Telnet and other protocols to complete a remote deployment function, and quick access of the remote nodes can be realized through an ansable technology and an SSH protocol; through an Angle-Playbook tool, Yaml files are imported, and internal interface modules (copy, unarchive, file and the like) of the Angle are called, so that the functions of file transmission, remote deployment, installation, uninstallation, iterative upgrade and the like can be completed.
According to the visual remote deployment method for the transformer substation, all visual interface operation is adopted, operation and maintenance personnel can use the method only through simple training, and special learning of specific professional technology is not needed; the deployment parameters can be simply configured through a visual interface, so that the operations of deployment, iterative upgrade, unloading and the like of system tool software or products can be realized, the deployment mode is quick and convenient, and the deployment time is greatly shortened; by configuring the nodes, remote deployment is realized, the dispersed deployment nodes do not need to be considered, the working efficiency is greatly improved, and the working cost is reduced; meanwhile, the tool carrier has zero dependence on the system environment, the system environment does not need to be matched, and the universality is strong; the tool carrier is encrypted safely, and the safety is ensured.
The above examples are given for the purpose of illustrating the invention clearly and not for the purpose of limiting the same, and it will be apparent to those skilled in the art that, in light of the foregoing description, numerous modifications and variations can be made in the form and details of the embodiments of the invention described herein, and it is not intended to be exhaustive or to limit the invention to the precise forms disclosed.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:模型部署方法和设备