CN111078302B - Automatic deployment method and terminal of distribution network monitoring platform system - Google Patents

Automatic deployment method and terminal of distribution network monitoring platform system Download PDF

Info

Publication number
CN111078302B
CN111078302B CN201911136392.3A CN201911136392A CN111078302B CN 111078302 B CN111078302 B CN 111078302B CN 201911136392 A CN201911136392 A CN 201911136392A CN 111078302 B CN111078302 B CN 111078302B
Authority
CN
China
Prior art keywords
configuration
service
distribution network
template file
monitoring platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911136392.3A
Other languages
Chinese (zh)
Other versions
CN111078302A (en
Inventor
李世通
陈鹏鹏
王少鹏
丁亮
刘科成
吴可可
张航
黄浩然
丁博
杨迎春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Original Assignee
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xuji Group Co Ltd, XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd filed Critical Xuji Group Co Ltd
Priority to CN201911136392.3A priority Critical patent/CN111078302B/en
Publication of CN111078302A publication Critical patent/CN111078302A/en
Application granted granted Critical
Publication of CN111078302B publication Critical patent/CN111078302B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to an automatic deployment method and a terminal of a distribution network monitoring platform system, which belong to the technical field of intelligent power distribution networks and comprise the following steps: acquiring a configuration template file; inserting environment configuration data of the difference of each service node into the configuration template file; inserting different function module configuration data of each service node into the configuration template file; generating configuration files corresponding to the service nodes; the configuration files are distributed to the corresponding service nodes, so that the problems of high error rate, high complexity and low efficiency in the existing distribution network system monitoring platform system deployment process are solved.

Description

Automatic deployment method and terminal of distribution network monitoring platform system
Technical Field
The invention relates to an automatic deployment method and terminal of a distribution network monitoring platform system, and belongs to the technical field of intelligent power distribution networks.
Background
The power grid monitoring system is an important means for safe and stable operation of the power system. With the continuous development of economy and power, the service requirements of people on a power distribution network are higher and higher, the design of a traditional power distribution network can not meet the requirements, and the construction of an intelligent power distribution network with the characteristics of informatization, automation, integration and the like is urgent.
However, the deployment of the current monitoring platform system is mainly a manual deployment mode, along with the continuous expansion of the distribution network service, the range is wider and wider, the distribution network system is more and more complex, the manual deployment mode is more and more difficult to meet the requirements of the current distribution network system, meanwhile, along with the continuous increase of the capacity of service nodes, the number of servers is increased sharply, the current manual deployment mode can lead to the increase of engineering application period, the efficiency is reduced, and the error rate is also very high.
Therefore, in order to solve the problems of high error rate, high complexity and low efficiency in the existing distribution network system monitoring platform system deployment process, an automatic deployment method is urgently needed.
Disclosure of Invention
The invention aims to provide an automatic deployment method and terminal of a distribution network monitoring platform system, which are used for solving the problems of high error rate, high complexity and low efficiency in the deployment process of the existing distribution network system monitoring platform system.
The invention adopts the following technical scheme: the invention relates to an automatic deployment method of a distribution network monitoring platform system, which comprises the following steps:
1) Acquiring a configuration template file;
2) Inserting environment configuration data of the difference of each service node into the configuration template file;
3) Inserting different function module configuration data of each service node into the configuration template file;
4) Generating configuration files corresponding to the service nodes;
5) And distributing the configuration file to the corresponding service node.
According to the invention, the deployment work of the power distribution network monitoring platform system is intelligentized, the configuration files corresponding to the service nodes are generated by inserting the configuration data of the environment, the configuration data of the functional modules and the like which are different among the service nodes of the power distribution network monitoring platform system into the configuration template files containing basic configuration, and the configuration files are distributed to the corresponding service nodes, so that the compiled configuration files can be simply and intuitively deployed to the service nodes, the complexity of engineering is reduced, the error rate of the deployment process is reduced, the period of engineering application is shortened, and meanwhile, the engineering efficiency is comprehensively improved and the cost is reduced through automatic deployment work.
Further, the method also comprises the step of configuring different area configuration data according to the security partition where each service node is located, and inserting the area configuration data into the configuration template file.
Furthermore, in the step 2) and the step 3), the environmental configuration data and the functional module configuration data of the difference of each service node are inserted into the configuration template file by adopting the active service.
Further, in the step 5), the SSH service is used to distribute the configuration file to each service node.
Further, after the system deployment is completed, the Jenkins service is adopted to control each service node to start the service in sequence according to a predefined sequence, and the deployed environment is detected.
The invention also relates to an automatic deployment terminal of the distribution network monitoring platform system, which comprises a processor and a memory, wherein the processor executes a computer program stored in the memory to realize the following method:
1) Acquiring a configuration template file;
2) Inserting environment configuration data of the difference of each service node into the configuration template file;
3) Inserting different function module configuration data of each service node into the configuration template file;
4) Generating configuration files corresponding to the service nodes;
5) And distributing the configuration file to the corresponding service node.
According to the invention, the automatic deployment terminal of the power distribution network monitoring platform system is utilized, the configuration files corresponding to the service nodes are generated by inserting the configuration files containing basic configuration according to the environment configuration data, the function module configuration data and the like of the differences among the service nodes of the power distribution network monitoring platform system, and the configuration files are distributed to the corresponding service nodes, so that the compiled configuration files can be simply and intuitively deployed to the service nodes, the complexity of engineering is reduced, the error rate of the deployment process is reduced, the period of engineering application is shortened, and meanwhile, the engineering efficiency is comprehensively improved and the cost is reduced through automatic deployment work.
Further, the method also comprises the step of configuring different area configuration data according to the security partition where each service node is located, and inserting the area configuration data into the configuration template file.
Furthermore, in the step 2) and the step 3), the environmental configuration data and the functional module configuration data of the difference of each service node are inserted into the configuration template file by adopting the active service.
Further, in the step 5), the SSH service is used to distribute the configuration file to each service node.
Further, the method also comprises the steps of controlling each service node to sequentially start the service according to a predefined sequence by adopting the Jenkins service, and detecting the deployed environment.
Drawings
FIG. 1 is a schematic diagram of a hardware architecture of a power distribution network monitoring system according to the present invention;
FIG. 2 is a flow chart of an automated deployment in an embodiment of the automated deployment method of the present invention;
FIG. 3 is a flow chart of a differentiation process in an embodiment of the automated deployment method of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the particular embodiments described herein are illustrative only and are not intended to limit the invention, i.e., the embodiments described are merely some, but not all, of the embodiments of the invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
The features and capabilities of the present invention are described in further detail below in connection with the examples.
Automated deployment method embodiment:
in this embodiment, as shown in fig. 1, the hardware architecture of the power distribution network monitoring system is shown in fig. 1, the Server provides an automatic deployment method, the scenario of automatic deployment, the template file and the differential configuration file are all completed in the Server, and WEB services can be provided in a workstation.
Specifically, as shown in fig. 2, the deployment procedure in this embodiment is shown. The method for automatically deploying the power distribution network monitoring system in the embodiment comprises the following steps:
1. and acquiring a configuration template file.
In the power distribution network monitoring platform system, kafka is used as a message bus to transfer messages with a background service and each service node, but the operation of the kafka service depends on a zookeeper service, so that the environment of the zookeeper needs to be configured, the basic environment on which the zookeeper service depends is configured, and a configuration template file is formed in the form of a configuration file. However, the zookeeper environment also has a difference between the service nodes, so that the difference data corresponding to the service nodes needs to be inserted into the template file.
2. And inserting environment configuration data with different service nodes into the configuration template file.
In order to obtain the configuration file of the environment configuration data in each service node, in this embodiment, an stable service is adopted to execute sequentially according to a specified scenario, the environment configuration data of the difference of each service node is inserted into a configuration Template file, as in fig. 3, a corresponding Template file is generated in this embodiment, and the service node difference parameter configuration file is inserted into the Template file through the Template module. For example, the location of the cache file of the kafak message, the location of the cache of the history data file, and the location of the cache of the real-time data. The configuration file of each service node, the environment of the kafka service and the environment of other open source services are formed, and corresponding configuration files can be generated according to the method.
3. And inserting the function module configuration data of the difference of each service node into the configuration template file.
According to the special configuration of the regional functional modules and the open source service of the monitoring platform system, besides the difference of the environmental configuration data, the difference of the configuration data of the functional modules exists among all the service nodes, such as the main and standby of telemetry, remote signaling, remote control and alarm service and the main and standby switching rules. And (2) inserting different function module configuration data of each service node into the configuration template file by utilizing the active service in the same way as the step (2), and realizing the configuration of a single function module or a cluster.
As other embodiments, the process of inserting the configuration data of the different functional modules of each service node into the configuration template file in this step is not strictly sequential to the process of inserting the configuration data of the different environments of each service node in the above step 2, and the process of inserting the configuration data of the different functional modules may be performed first and then the configuration data of the different environments, or may be performed simultaneously.
4. And generating configuration files corresponding to the service nodes.
And after the environment configuration data and the function module configuration data of the service node differences are inserted into the configuration template file, the configuration file corresponding to each service node is obtained.
5. And distributing the configuration file to the corresponding service node.
After generating the configuration file, transmitting the generated configuration file to each corresponding service node through a transmission service. In this embodiment, SSH service is used to distribute the configuration file to each service node.
As an improvement to the above embodiment, there is a problem of one-area and three-area data transmission according to the requirement of the monitoring service of the power distribution network, and for the problem of cross-area transmission, in this embodiment, different area configuration data are configured according to the security partition where each service node is located, and the area configuration data are inserted into the configuration template file.
Specifically, taking a first safe area and a third safe area of the power distribution network as examples, setting parameters (different area configuration data) in environment variables of a database server according to the first safe area and the third safe area service requirements, carrying out first safe area and third safe area definition, transmitting data generated by a data service from the first safe area to a folder corresponding to the third safe area in a file form according to the set parameters by an Anstable service according to a specified script, and writing data files under the folder into a corresponding database by the database server, so that the integrity of the data is ensured.
As a further improvement to the above embodiment, the present embodiment further includes a deployment job for the web server. Specifically, after the system deployment is completed, the Jenkins service is adopted to control each service node to sequentially start the service according to a predefined sequence, the deployed environment is detected, a corresponding detection report is generated, and whether the deployment is correct or not is checked.
As a further improvement of the above embodiment, the above automatic deployment process is not limited to deploying an existing service node, but can also implement definition of a service node, add a new service node, and complete deployment work of the service node by inserting a service node configuration file.
Automated deployment terminal embodiment:
the embodiment provides an automatic deployment terminal of a distribution network monitoring platform system, which comprises a processor and a memory, wherein the memory stores a computer program used for running on the processor, the processor can be realized by adopting a single chip microcomputer, FPGA, DSP, PLC or MCU, the memory can be realized by adopting a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a mobile disk, a CD-ROM or any other form of storage medium known in the art, the storage medium can be coupled to the processor, so that the processor can read information from the storage medium, or the storage medium can be an integral part of the processor.
The processor executes the computer program stored in the memory to implement the method of:
1) Acquiring a configuration template file;
2) Inserting environment configuration data of the difference of each service node into the configuration template file;
3) Inserting different function module configuration data of each service node into the configuration template file;
4) Generating configuration files corresponding to the service nodes;
5) And distributing the configuration file to the corresponding service node.
The specific process of performing automatic deployment by using the deployment terminal is described in detail in the above method embodiment, and will not be described herein.
According to the invention, the automatic deployment replaces the traditional manual deployment mode, so that the distribution network monitoring platform system is automatically distributed and deployed to each server node, and the integration, automation and persistence of the distribution network monitoring platform system are facilitated.
The above description is only a preferred embodiment of the present invention, and the patent protection scope of the present invention is defined by the claims, and all equivalent structural changes made by the specification and the drawings of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. An automatic deployment method of a distribution network monitoring platform system is characterized by comprising the following steps:
1) Acquiring a configuration template file; the configuration template file is a configuration file formed according to the basic environment configuration relied on by the zookeeper service;
2) Inserting environment configuration data of the difference of each service node into the configuration template file;
3) Inserting different function module configuration data of each service node into the configuration template file;
4) Generating configuration files corresponding to the service nodes;
5) Distributing the configuration file to a corresponding service node;
the automatic deployment method of the distribution network monitoring platform system further comprises the step of configuring different area configuration data according to the security partition where each service node is located, and inserting the area configuration data into the configuration template file.
2. The automated deployment method of the distribution network monitoring platform system according to claim 1, wherein the environmental configuration data and the functional module configuration data of the differences of the service nodes are inserted into the configuration template file by adopting the stable service in the step 2) and the step 3).
3. The automated deployment method of the distribution network monitoring platform system according to claim 1, wherein the SSH service is adopted in the step 5) to distribute the configuration file to each service node.
4. The automated deployment method of the distribution network monitoring platform system according to claim 1, further comprising controlling each service node to sequentially start services according to a predefined sequence by using Jenkins service after system deployment is completed, and detecting the deployed environment.
5. The automatic deployment terminal of the distribution network monitoring platform system is characterized by comprising a processor and a memory, wherein the processor executes a computer program stored in the memory to realize the following method:
1) Acquiring a configuration template file; the configuration template file is a configuration file formed according to the basic environment configuration relied on by the zookeeper service;
2) Inserting environment configuration data of the difference of each service node into the configuration template file;
3) Inserting different function module configuration data of each service node into the configuration template file;
4) Generating configuration files corresponding to the service nodes;
5) Distributing the configuration file to a corresponding service node;
the automatic deployment method of the distribution network monitoring platform system further comprises the step of configuring different area configuration data according to the security partition where each service node is located, and inserting the area configuration data into the configuration template file.
6. The automated deployment terminal of the distribution network monitoring platform system according to claim 5, wherein the environmental configuration data and the functional module configuration data of the differences of the service nodes are inserted into the configuration template file by adopting the stable service in the step 2) and the step 3).
7. The automated deployment terminal of the distribution network monitoring platform system of claim 5, wherein SSH service is employed in step 5) to distribute the configuration file to the service nodes.
8. The automated deployment terminal of the distribution network monitoring platform system of claim 5, further comprising controlling each service node to sequentially start services according to a predefined order by using Jenkins service, and detecting a deployed environment.
CN201911136392.3A 2019-11-19 2019-11-19 Automatic deployment method and terminal of distribution network monitoring platform system Active CN111078302B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911136392.3A CN111078302B (en) 2019-11-19 2019-11-19 Automatic deployment method and terminal of distribution network monitoring platform system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911136392.3A CN111078302B (en) 2019-11-19 2019-11-19 Automatic deployment method and terminal of distribution network monitoring platform system

Publications (2)

Publication Number Publication Date
CN111078302A CN111078302A (en) 2020-04-28
CN111078302B true CN111078302B (en) 2023-08-11

Family

ID=70311066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911136392.3A Active CN111078302B (en) 2019-11-19 2019-11-19 Automatic deployment method and terminal of distribution network monitoring platform system

Country Status (1)

Country Link
CN (1) CN111078302B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407191A (en) * 2021-06-21 2021-09-17 云智慧(北京)科技有限公司 Visual remote deployment method for transformer substation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454140A (en) * 2017-06-27 2017-12-08 北京溢思得瑞智能科技研究院有限公司 A kind of Ceph cluster automatically dispose method and system based on big data platform
CN108829409A (en) * 2018-06-20 2018-11-16 泰华智慧产业集团股份有限公司 A kind of distributed system quick deployment method and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE60100671T2 (en) * 2001-06-06 2004-07-08 Alcatel Method for distributing services and method for configuring a network element in a communication network
CN104780058A (en) * 2014-01-13 2015-07-15 联想(北京)有限公司 Electronic equipment configuration method and system
CN104580519B (en) * 2015-01-29 2017-11-28 福建师范大学福清分校 A kind of method of rapid deployment openstack cloud computing platforms
CN107220100A (en) * 2016-03-22 2017-09-29 中国移动(深圳)有限公司 One kind exploitation O&M method, device and cloud computing PaaS platform
US9983891B1 (en) * 2017-03-21 2018-05-29 Veritas Technologies Llc Systems and methods for distributing configuration templates with application containers
CN109725911A (en) * 2017-10-31 2019-05-07 北京国双科技有限公司 A kind of multi-environment project dispositions method, device, storage medium and processor
CN109298868B (en) * 2018-08-22 2024-01-09 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Intelligent dynamic deployment and uninstallation method for mapping image data processing software
CN109240716B (en) * 2018-09-10 2022-10-25 福建星瑞格软件有限公司 Big data platform version management and rapid iterative deployment method and system
CN110221859A (en) * 2019-06-05 2019-09-10 软通智慧科技有限公司 Deployment online management method, device, equipment and storage medium of application

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454140A (en) * 2017-06-27 2017-12-08 北京溢思得瑞智能科技研究院有限公司 A kind of Ceph cluster automatically dispose method and system based on big data platform
CN108829409A (en) * 2018-06-20 2018-11-16 泰华智慧产业集团股份有限公司 A kind of distributed system quick deployment method and system

Also Published As

Publication number Publication date
CN111078302A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN113703363B (en) Plug-and-play method of intelligent edge computing gateway in power dispatching cloud
WO2022143025A1 (en) Method and system for alarm association detection based on federated learning, and network and medium
CN107491371A (en) A kind of method and device for monitoring deployment
CN114615718A (en) Network topology construction method and device based on digital twin technology
CN115643316A (en) Data processing method and device for Internet of things gateway, gateway equipment and storage medium
CN111078302B (en) Automatic deployment method and terminal of distribution network monitoring platform system
CN113360386A (en) Switching chip drive test method, device, electronic equipment and storage medium
CN103927244A (en) Plug-in scheduling process monitoring method implemented based on dynamic proxy
CN112486666A (en) Model-driven reference architecture method and platform
CN117118062A (en) Secondary system data fusion monitoring method and system for power dispatching automation
CN109687985B (en) Automatic configuration method and system for process level network of transformer substation
CN114553917B (en) Block chain-based network intelligent treatment method
CN110855003A (en) Method and device for calling and comparing self-adaptive configuration of main station
CN115567400A (en) Whole cabinet management method, device, equipment and medium
CN109814871B (en) Node management method and system based on DDS bus
CN112506638A (en) Operation and maintenance script flow arrangement method based on Activiti technology
CN113821896B (en) Dynamic loading method and system for topological data of power distribution network
CN118097988B (en) Traffic signal management method, device, computer equipment and medium
CN109525415A (en) A kind of Intelligent power distribution terminal topological model motor synchronizing method and self-synchronous device
CN115617574B (en) Multi-power scheduling system, data transmission method, and computer-readable storage medium
CN104137481A (en) Network of devices forming a diagnostic system
Bionda et al. A demonstrator tool to provide the network operator with microservices based on big data and semantic web technologies
CN112946384B (en) Data online monitoring method, system, terminal and medium based on IEC61850 standard
Du et al. Model quality evaluation of advanced distribution management system based on smart grid architecture model
CN108197346B (en) Communication model synchronization method for main and standby heterogeneous systems based on open message bus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant