CN115693949A - Container-based data relay method and device for power distribution network power monitoring system - Google Patents

Container-based data relay method and device for power distribution network power monitoring system Download PDF

Info

Publication number
CN115693949A
CN115693949A CN202211421486.7A CN202211421486A CN115693949A CN 115693949 A CN115693949 A CN 115693949A CN 202211421486 A CN202211421486 A CN 202211421486A CN 115693949 A CN115693949 A CN 115693949A
Authority
CN
China
Prior art keywords
container
data
station side
monitoring system
distribution network
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.)
Pending
Application number
CN202211421486.7A
Other languages
Chinese (zh)
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.)
Southern Power Grid Digital Grid Research Institute Co Ltd
Original Assignee
Southern Power Grid Digital Grid Research Institute 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 Southern Power Grid Digital Grid Research Institute Co Ltd filed Critical Southern Power Grid Digital Grid Research Institute Co Ltd
Priority to CN202211421486.7A priority Critical patent/CN115693949A/en
Publication of CN115693949A publication Critical patent/CN115693949A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The application relates to a container-based data relay method and device for a power distribution network power monitoring system. The method comprises the following steps: in response to a container configuration operation, configuring at least one data container in acquisition equipment of the power distribution network power monitoring system as a proxy service container; the power distribution network power monitoring system comprises a main station side, a preposed service device, a collection device and a third-party client, wherein the preposed service device is connected with the collection device in an active connection mode so as to perform data relay between the main station side and the collection device, and an agent service container is used for providing data relay processing for the third-party client; receiving a container control instruction sent by a master station side; and executing the control operation of the proxy service container according to the container control instruction. By adopting the method, the collection equipment can be containerized, so that the master station side can carry out remote containerization control on the collection equipment, the data processing efficiency is improved, and the normal operation of the system is ensured.

Description

Container-based data relay method and device for power distribution network power monitoring system
Technical Field
The present application relates to the field of power grid technologies, and in particular, to a container-based data relay method, apparatus, computer device, storage medium, and computer program product for a power distribution network power monitoring system.
Background
At present, a power distribution network power monitoring system is constructed by combining power system operation data and automatic monitoring software, and the collected power system operation data can be monitored. In the conventional technology, the acquisition equipment of the power distribution network power monitoring system can acquire related system operation data and transmit the data upwards, and because the data of a plurality of pieces of equipment needs to be acquired by single acquisition equipment in an actual scene, the data processing efficiency is low, and the system operation is influenced because the corresponding processing cannot be timely performed when the system of the acquisition equipment fails.
Disclosure of Invention
In view of the above, it is necessary to provide a container-based power distribution network power monitoring system data relay method, apparatus, computer device, storage medium and computer program product capable of solving the above problems.
In a first aspect, the present application provides a container-based data relay method for a power distribution network power monitoring system, the method including:
configuring at least one data container in a collection device of the power distribution network power monitoring system as a proxy service container in response to a container configuration operation; the power distribution network power monitoring system comprises a main station side, a preposed service device, a collection device and a third-party client, wherein the preposed service device is connected with the collection device in an active connection mode so as to perform data relay between the main station side and the collection device, and the proxy service container is used for providing data relay processing for the third-party client;
receiving a container control instruction sent by the master station side; the container control instruction is used for the master station side to carry out remote containerization control on the acquisition equipment;
executing control operation on the proxy service container according to the container control instruction; the control operation comprises at least one of upgrading container images, starting and running containers, stopping running containers and managing container versions.
In one embodiment, after the step of configuring at least one data container in a collection device of the power distribution network power monitoring system as a proxy service container in response to a container configuration operation, the method further comprises:
receiving a reverse control instruction sent by the master station side; the control command comprises equipment information corresponding to equipment to be controlled in a reverse mode;
and according to the equipment information, carrying out the control processing of the control equipment to be controlled by the proxy service container.
In one embodiment, the method further comprises:
opening a preset data port; the preset data port is used for enabling the prepositive service equipment to be actively connected to the acquisition equipment and establishing a safe transmission channel for data transfer;
and the acquisition equipment uploads data to the preposed service equipment through the safe transmission channel.
In one embodiment, the sending, by the acquisition device, data to the pre-service device through the secure transmission channel includes:
acquiring system log data sent by the third-party client, and performing data preprocessing on the system log data;
and sending the preprocessed system log data to the preposed service equipment based on the secure transmission channel so as to send the preprocessed system log data to the master station side through the preposed service equipment.
In one embodiment, the method further comprises:
establishing a reverse proxy channel between the master station side and the acquisition equipment; and the master station side is used for controlling the starting or stopping of the reverse proxy channel so as to adjust the data relay processing aiming at the third-party client.
In one embodiment, the method further comprises:
receiving scanning configuration information sent by the master station side;
executing the scanning configuration operation of the acquisition equipment according to the scanning configuration information; the scanning configuration operation comprises at least one of resource scanning operation and port scanning operation.
In a second aspect, the present application further provides a container-based data relay device for a power distribution network power monitoring system, the device including:
a container configuration module for configuring at least one data container as a proxy service container in a collection device of the power distribution network power monitoring system in response to a container configuration operation; the power distribution network power monitoring system comprises a main station side, a preposed service device, an acquisition device and a third-party client, wherein the preposed service device is connected with the acquisition device in an active connection mode so as to relay data between the main station side and the acquisition device, and the proxy service container is used for providing data relay processing for the third-party client;
the control instruction receiving module is used for receiving the container control instruction sent by the master station side; the container control instruction is used for the master station side to carry out remote containerization control on the acquisition equipment;
the container control module is used for executing the control operation of the proxy service container according to the container control instruction; the control operation comprises at least one of upgrading container images, starting and running containers, stopping running containers and managing container versions.
In a third aspect, the present application also provides a computer device. The computer arrangement comprises a memory storing a computer program and a processor implementing the steps of the container based power distribution network power monitoring system data relaying method as described above when executing the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the steps of the container-based power distribution grid power monitoring system data relaying method as described above.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, implements the steps of the container based power distribution grid power monitoring system data relaying method as described above.
The container-based data relay method, the device, the computer equipment, the storage medium and the computer program product for the power distribution network power monitoring system are characterized in that at least one data container is configured in acquisition equipment of the power distribution network power monitoring system as an agent service container in response to container configuration operation, the power distribution network power monitoring system comprises a main station side, front-end service equipment, the acquisition equipment and a third-party client, the front-end service equipment is connected with the acquisition equipment in an active connection mode to relay data between the main station side and the acquisition equipment, the agent service container is used for providing data relay processing for the third-party client and then receiving a container control instruction sent by the main station side, the container control instruction is used for the main station side to carry out remote containerization control on the acquisition equipment, and further control operation on the agent service container is executed according to the container control instruction, the control operation comprises at least one of container mirror image upgrading, container starting operation, container stopping operation and container version management, containerization control on the acquisition equipment is realized, a sandbox mechanism based on the data container can ensure the acquisition equipment to operate, and normal data processing efficiency of the system is improved.
Drawings
FIG. 1 is a schematic flow chart of a container-based data relay method for a power distribution network power monitoring system according to an embodiment;
FIG. 2 is a diagram of a data relay process in one embodiment;
FIG. 3 is a schematic diagram of a containerization control flow in one embodiment;
FIG. 4 is a diagram illustrating a process flow of a proxy service container, according to one embodiment;
FIG. 5 is a schematic flow chart of another container-based data relay method for a power monitoring system of a power distribution network according to one embodiment;
FIG. 6 is a block diagram of a container-based data relay device for a power monitoring system of a power distribution network according to one embodiment;
FIG. 7 is a diagram of the internal structure of a computer device, in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in this application are both information and data authorized by the user or sufficiently authorized by each party; correspondingly, the application also provides a corresponding user authorization entrance for the user to select authorization or reject.
In one embodiment, as shown in fig. 1, a container-based data relay method for a power distribution network power monitoring system is provided, and this embodiment is illustrated by applying the method to a terminal, it is to be understood that the method may also be applied to a server, and may also be applied to a system including a terminal and a server, and is implemented by interaction between the terminal and the server. In this embodiment, the method includes the steps of:
step 101, responding to container configuration operation, configuring at least one data container in acquisition equipment of the power distribution network power monitoring system as an agent service container;
the power distribution network power monitoring system can comprise a main station side, a front-end service device, a collection device and a third-party client, as shown in fig. 2, the third-party client can send data to the collection device through an agent port connected with the collection device, then the collection device can upload the obtained data to the front-end service device, and then the front-end service device can upload the received data to the main station side.
As an example, the front end service device may establish a connection with the acquisition device through an active connection manner, so as to perform data relay between the master station side and the acquisition device.
In practical applications, at least one data container may be configured in the collection device of the power distribution network power monitoring system in response to the container configuration operation as a proxy service container, which may be used to provide data relay processing for third party clients.
Specifically, as shown in fig. 3, by providing containerization for a relay module (i.e., a collection device), a plurality of Docker containers may be installed in the relay module to implement a containerization function, and further support containerization operations based on container instruction settings may be provided.
In an example, as shown in fig. 2, the front end service device may be actively connected to the acquisition device downward, and may receive data actively uploaded by the acquisition device after the connection is successful, so that secure data transmission may be implemented without providing a data port to the outside.
102, receiving a container control instruction sent by the master station side; the container control instruction is used for the master station side to carry out remote containerization control on the acquisition equipment;
as an example, the container control instruction may include a container image upgrade instruction, a container enable operation instruction, a container stop operation instruction, a container version management instruction, and the like, and may further include other related container management instructions, which are not limited in this embodiment.
In specific implementation, based on containerization of the acquisition device, the acquisition device may receive a container control instruction sent by the master station side, and the container control instruction may be used for the master station side to perform remote containerization control on the acquisition device.
For example, the master station side may issue a management instruction (i.e., a container control instruction) for the Docker container to the collection device, and may perform container management operations such as upgrading a container image, starting and stopping the container, and the like (i.e., remote containerization control).
In an example, a plurality of Docker containers are installed in the acquisition device, and based on a sandbox mechanism of the Docker containers, data relay based on the containers can be realized, so that containerization can be performed by using a data agent service, an operation starting instruction, an operation stopping instruction and an upgrading instruction are provided, and data relay of a third-party client can be realized by automatically starting or stopping a reverse agent channel on the master station side.
103, executing control operation on the proxy service container according to the container control instruction; the control operation comprises at least one of upgrading container images, starting and running containers, stopping running containers and managing container versions.
After receiving the container control instruction, the collection device may execute a control operation on the proxy service container according to the container control instruction, for example, at least one control operation of upgrading a container image, starting and operating the container, stopping operation of the container, and managing a container version may be performed.
In an example, as shown in fig. 3, based on a containerization instruction control technology, a native Docker container program may be controlled by an acquisition device application program to implement containerization instructions supporting image issuing, container running, container stopping, version management, and the like, for example, a master station side may issue a Docker instruction to an acquisition device to perform remote operation on a container and an image on the acquisition device.
In another example, the master station side may issue a countering control instruction to a Docker container in the acquisition device, and after receiving the countering control instruction, the Docker container may execute countering control processing according to device information corresponding to the device to be countering controlled.
In an optional embodiment, the master station side may support configuration of resource scanning, port scanning, and the like of the acquisition device, so as to implement remote communication control, for example, the acquisition device may receive scanning configuration information sent by the master station side, and then may execute a scanning configuration operation on the acquisition device according to the scanning configuration information.
According to the container-based data relay method for the power distribution network power monitoring system, at least one data container is configured in the acquisition equipment of the power distribution network power monitoring system in response to container configuration operation to serve as an agent service container, then a container control instruction sent by the master station side is received, and then control operation on the agent service container is executed according to the container control instruction, so that containerization of the acquisition equipment is realized, remote containerization control can be performed on the acquisition equipment by the master station side based on a sandbox mechanism of the data container, the data processing efficiency is improved, and normal operation of the system is guaranteed.
In one embodiment, after the step of configuring at least one data container in a collection device of the power distribution network power monitoring system as a proxy service container in response to a container configuration operation, the method may include the steps of:
receiving a reverse control instruction sent by the master station side; the control command includes equipment information corresponding to the equipment to be controlled; and according to the equipment information, carrying out the control processing of the control equipment to be controlled by the proxy service container.
In practical application, the master station side may issue a reverse control instruction to a Docker container in the acquisition device, and after the Docker container receives the reverse control instruction, the Docker container may execute a reverse control process according to device information corresponding to the control device to be reversed, for example, ARP (Address Resolution Protocol) reverse control may be implemented on a target IP.
In this embodiment, by receiving the anti-copy control instruction sent by the master station side, and then executing the anti-copy control processing on the control device to be anti-copied through the proxy service container according to the device information, ARP anti-copy can be realized on the target IP based on the containerized collection device.
In one embodiment, the method may further include the steps of:
opening a preset data port; the preset data port is used for enabling the prepositive service equipment to be actively connected to the acquisition equipment and establishing a safe transmission channel for data transfer; and the acquisition equipment uploads data to the preposed service equipment through the safe transmission channel.
In an example, for data transfer based on the front-end service, the acquisition device may actively connect to the acquisition device by the front-end service device in the high security area through opening a relevant data port (i.e., a preset data port), and establish a secure transmission channel for data transfer, and then the acquisition device may upload data based on the secure transmission channel, so that the port does not need to be exposed to the outside of the front-end service device, and an attacker cannot attack an upstream service through the acquisition device, thereby reducing a security risk.
In this embodiment, by opening the preset data port, the acquisition device sends data to the front-end service device through the secure transmission channel, and the secure data transmission can be realized without providing a data port to the outside.
In an embodiment, the step of sending the data to the front-end service device by the acquisition device through the secure transmission channel may include the following steps:
acquiring system log data sent by the third-party client, and performing data preprocessing on the system log data; and sending the preprocessed system log data to the preposed service equipment based on the secure transmission channel so as to send the preprocessed system log data to the master station side through the preposed service equipment.
In a specific implementation, the acquisition device may acquire system log data sent by a third-party client, perform data preprocessing on the system log data, send the preprocessed system log data to the front-end service device based on the secure transmission channel, and then the front-end service device may send the preprocessed system log data to the master station side.
For example, the collection device may perform data preprocessing after obtaining data (e.g., sysLog, i.e., system log data), and may upload the preprocessed data, where the SysLog may be used for information system management and information security auditing, which may integrate log records from multiple different types of systems into a centralized repository.
In this embodiment, the system log data sent by the third-party client is obtained, the data preprocessing is performed on the system log data, and then the preprocessed system log data is sent to the front-end service device based on the secure transmission channel, so that the preprocessed system log data is uploaded to the master station side through the front-end service device, and data support can be provided for subsequent data uploading based on the data preprocessing.
In one embodiment, the method may further include the steps of:
establishing a reverse proxy channel between the master station side and the acquisition equipment; and the master station side is used for controlling the starting or stopping of the reverse proxy channel so as to adjust the data relay processing aiming at the third-party client.
In practical application, as shown in fig. 4, by establishing a reverse proxy channel between the master station side and the acquisition device, the master station side can implement data relay of the third-party client by automatically activating or deactivating the reverse proxy channel.
In this embodiment, by establishing the reverse proxy channel between the master station side and the acquisition device, the master station side can implement data relay for the third-party client based on enabling or stopping of the reverse proxy channel.
In one embodiment, the method may further include the steps of:
receiving scanning configuration information sent by the master station side; executing the scanning configuration operation of the acquisition equipment according to the scanning configuration information; the scanning configuration operation comprises at least one of resource scanning operation and port scanning operation.
In an example, the master station side may support configuration of resource scanning, port scanning, and the like of the acquisition device, and implement remote communication control, that is, the acquisition device may receive scanning configuration information sent by the master station side, and then may perform scanning configuration operation on the acquisition device according to the scanning configuration information.
In this embodiment, by receiving the scanning configuration information sent by the master station side, and further executing the scanning configuration operation on the acquisition device according to the scanning configuration information, the resource scanning, the port scanning, and the like of the acquisition device can be supported to be configured.
In one embodiment, as shown in fig. 5, a flow diagram of another container-based power distribution network power monitoring system data relaying method is provided. In this embodiment, the method includes the steps of:
in step 501, in response to a container configuration operation, at least one data container is configured in a collection device of a power distribution network power monitoring system as a proxy service container. In step 502, a container control command sent by the master station side is received, and a control operation for the proxy service container is executed according to the container control command. In step 503, a counter control command sent by the master station side is received; the control command includes equipment information corresponding to the equipment to be controlled in a reverse mode. In step 504, a countermeasure control process is performed on the device to be countered control by the proxy service container according to the device information. In step 505, the scanning configuration information transmitted by the master station side is received. In step 506, according to the scan configuration information, performing a scan configuration operation on the acquisition device; the scanning configuration operation comprises at least one of resource scanning operation and port scanning operation. It should be noted that, for specific limitations of the above steps, reference may be made to the above specific limitations of the container-based power distribution network power monitoring system data relay method, and details are not described herein again.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides a container-based data relay device for the power distribution network power monitoring system, which is used for realizing the container-based data relay method for the power distribution network power monitoring system. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so specific limitations in one or more embodiments of the container-based power distribution network power monitoring system data relay device provided below can be referred to the limitations on the container-based power distribution network power monitoring system data relay method in the foregoing, and are not described again here.
In one embodiment, as shown in fig. 6, there is provided a container-based power distribution network power monitoring system data relay device, comprising:
a container configuration module 601, configured to configure at least one data container as a proxy service container in a collection device of the power distribution network power monitoring system in response to a container configuration operation; the power distribution network power monitoring system comprises a main station side, a preposed service device, a collection device and a third-party client, wherein the preposed service device is connected with the collection device in an active connection mode so as to perform data relay between the main station side and the collection device, and the proxy service container is used for providing data relay processing for the third-party client;
a control instruction receiving module 602, configured to receive a container control instruction sent by the master station side; the container control instruction is used for the master station side to carry out remote containerization control on the acquisition equipment;
a container control module 603, configured to execute a control operation on the proxy service container according to the container control instruction; the control operation comprises at least one of upgrading container images, starting and running containers, stopping running containers and managing container versions.
In one embodiment, the apparatus further comprises:
the system comprises a main station side, a reverse control instruction receiving module and a reverse control instruction transmitting module, wherein the main station side is used for transmitting a reverse control instruction to the main station side; the control command includes equipment information corresponding to the equipment to be controlled;
and the reverse control processing module is used for executing reverse control processing on the control equipment to be reversed through the proxy service container according to the equipment information.
In one embodiment, the apparatus further comprises:
the data port opening module is used for opening a preset data port; the preset data port is used for enabling the prepositive service equipment to be actively connected to the acquisition equipment and establishing a safe transmission channel for data transfer;
and the data uploading module is used for uploading data to the preposed service equipment by the acquisition equipment through the safe transmission channel.
In one embodiment, the data upload module comprises:
the data preprocessing submodule is used for acquiring the system log data sent by the third-party client and preprocessing the data of the system log data;
and the data uploading sub-module is used for sending the preprocessed system log data to the preposed service equipment based on the safe transmission channel so as to upload the preprocessed system log data to the master station side through the preposed service equipment.
In one embodiment, the apparatus further comprises:
a reverse proxy channel establishing module, configured to establish a reverse proxy channel between the master station side and the acquisition device; and the master station side is used for controlling the starting or stopping of the reverse proxy channel so as to adjust the data relay processing aiming at the third-party client.
In one embodiment, the apparatus further comprises:
a scanning configuration information receiving module, configured to receive the scanning configuration information sent by the master station side;
the scanning configuration module is used for executing scanning configuration operation on the acquisition equipment according to the scanning configuration information; the scanning configuration operation comprises at least one of resource scanning operation and port scanning operation.
The modules in the container-based power distribution network power monitoring system data relay device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 7. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program when executed by a processor implements a container-based power distribution network power monitoring system data relay method.
It will be appreciated by those skilled in the art that the configuration shown in fig. 7 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
configuring at least one data container in a collection device of the power distribution network power monitoring system as a proxy service container in response to a container configuration operation; the power distribution network power monitoring system comprises a main station side, a preposed service device, an acquisition device and a third-party client, wherein the preposed service device is connected with the acquisition device in an active connection mode so as to relay data between the main station side and the acquisition device, and the proxy service container is used for providing data relay processing for the third-party client;
receiving a container control instruction sent by the master station side; the container control instruction is used for the master station side to carry out remote containerization control on the acquisition equipment;
executing control operation on the proxy service container according to the container control instruction; the control operation comprises at least one of upgrading container images, starting and running containers, stopping running containers and managing container versions.
In one embodiment, the processor when executing the computer program also performs the steps of the container based power distribution network power monitoring system data relaying method in the other embodiments described above.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
configuring at least one data container in a collection device of the power distribution network power monitoring system as a proxy service container in response to a container configuration operation; the power distribution network power monitoring system comprises a main station side, a preposed service device, an acquisition device and a third-party client, wherein the preposed service device is connected with the acquisition device in an active connection mode so as to relay data between the main station side and the acquisition device, and the proxy service container is used for providing data relay processing for the third-party client;
receiving a container control instruction sent by the master station side; the container control instruction is used for the master station side to carry out remote containerization control on the acquisition equipment;
executing control operation on the proxy service container according to the container control instruction; the control operation comprises at least one of upgrading container images, starting and running containers, stopping running containers and managing container versions.
In one embodiment, the computer program when executed by the processor further implements the steps of the container based power distribution network power monitoring system data relaying method of the other embodiments described above.
In one embodiment, a computer program product is provided, comprising a computer program which when executed by a processor performs the steps of:
configuring at least one data container in a collection device of the power distribution network power monitoring system as a proxy service container in response to a container configuration operation; the power distribution network power monitoring system comprises a main station side, a preposed service device, a collection device and a third-party client, wherein the preposed service device is connected with the collection device in an active connection mode so as to perform data relay between the main station side and the collection device, and the proxy service container is used for providing data relay processing for the third-party client;
receiving a container control instruction sent by the master station side; the container control instruction is used for the master station side to carry out remote containerization control on the acquisition equipment;
executing control operation on the proxy service container according to the container control instruction; the control operation comprises at least one of upgrading container images, starting and running containers, stopping running containers and managing container versions.
In one embodiment, the computer program when executed by the processor further implements the steps of the container based power distribution network power monitoring system data relaying method of the other embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), magnetic Random Access Memory (MRAM), ferroelectric Random Access Memory (FRAM), phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases involved in the embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims (10)

1. A container-based data relay method for a power distribution network power monitoring system, the method comprising:
configuring at least one data container in a collection device of the power distribution network power monitoring system as a proxy service container in response to a container configuration operation; the power distribution network power monitoring system comprises a main station side, a preposed service device, a collection device and a third-party client, wherein the preposed service device is connected with the collection device in an active connection mode so as to perform data relay between the main station side and the collection device, and the proxy service container is used for providing data relay processing for the third-party client;
receiving a container control instruction sent by the master station side; the container control instruction is used for the master station side to carry out remote containerization control on the acquisition equipment;
executing control operation on the proxy service container according to the container control instruction; the control operation comprises at least one of upgrading container images, starting and running containers, stopping running containers and managing container versions.
2. The method of claim 1, wherein after the step of configuring at least one data container in a collection device of the power distribution grid power monitoring system as a proxy service container in response to a container configuration operation, the method further comprises:
receiving a reverse control instruction sent by the master station side; the control command comprises equipment information corresponding to equipment to be controlled in a reverse mode;
and according to the equipment information, carrying out the reverse control processing on the equipment to be controlled by the proxy service container.
3. The method of claim 1, further comprising:
opening a preset data port; the preset data port is used for enabling the prepositive service equipment to be actively connected to the acquisition equipment and establishing a safe transmission channel for data transfer;
and the acquisition equipment uploads data to the preposed service equipment through the safe transmission channel.
4. The method of claim 3, wherein the data uploading of the acquisition device to the pre-service device through the secure transmission channel comprises:
acquiring system log data sent by the third-party client, and performing data preprocessing on the system log data;
and sending the preprocessed system log data to the preposed service equipment based on the safe transmission channel so as to send the preprocessed system log data to the master station side through the preposed service equipment.
5. The method of claim 1, further comprising:
establishing a reverse proxy channel between the master station side and the acquisition equipment; and the master station side is used for controlling the starting or stopping of the reverse proxy channel so as to adjust the data relay processing aiming at the third-party client.
6. The method of any of claims 1 to 5, further comprising:
receiving scanning configuration information sent by the master station side;
executing scanning configuration operation on the acquisition equipment according to the scanning configuration information; the scanning configuration operation comprises at least one of resource scanning operation and port scanning operation.
7. A container-based power distribution network power monitoring system data relay device, the device comprising:
the container configuration module is used for responding to container configuration operation and configuring at least one data container in acquisition equipment of the power distribution network power monitoring system to serve as a proxy service container; the power distribution network power monitoring system comprises a main station side, a preposed service device, a collection device and a third-party client, wherein the preposed service device is connected with the collection device in an active connection mode so as to perform data relay between the main station side and the collection device, and the proxy service container is used for providing data relay processing for the third-party client;
the control instruction receiving module is used for receiving a container control instruction sent by the master station side; the container control instruction is used for the master station side to carry out remote containerization control on the acquisition equipment;
the container control module is used for executing the control operation of the proxy service container according to the container control instruction; the control operation comprises at least one of upgrading container images, starting and running containers, stopping running containers and managing container versions.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by a processor.
CN202211421486.7A 2022-11-14 2022-11-14 Container-based data relay method and device for power distribution network power monitoring system Pending CN115693949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211421486.7A CN115693949A (en) 2022-11-14 2022-11-14 Container-based data relay method and device for power distribution network power monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211421486.7A CN115693949A (en) 2022-11-14 2022-11-14 Container-based data relay method and device for power distribution network power monitoring system

Publications (1)

Publication Number Publication Date
CN115693949A true CN115693949A (en) 2023-02-03

Family

ID=85051283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211421486.7A Pending CN115693949A (en) 2022-11-14 2022-11-14 Container-based data relay method and device for power distribution network power monitoring system

Country Status (1)

Country Link
CN (1) CN115693949A (en)

Similar Documents

Publication Publication Date Title
US10802906B2 (en) Monitoring method and apparatus of server, and storage medium
AU2018220050B2 (en) Enforcing policies based on information received from external systems
AU2015296801B2 (en) Method and system for correlating self-reporting virtual asset data with external events to generate an external event identification database
US20190098473A1 (en) Context-based dynamic policy system for mobile devices and supporting network infrastructure
US10135763B2 (en) System and method for secure and efficient communication within an organization
US11349709B2 (en) System and method for onboarding IOT devices
US10027653B2 (en) Method for providing user authority certification service
CN108632807B (en) Mobile terminal access control method and device
CN108289074B (en) User account login method and device
CN111800441A (en) Data processing method, system, device, user side server, user side and management and control server
US10050835B2 (en) Management of network devices based on characteristics
US20100234050A1 (en) System and Method for Peer-To-Peer Staging of a Mobile Device
US10044838B2 (en) Method of automatically setting protocol in programmable logic controller system
CN103810419A (en) Application uninstall preventing method and equipment
US20230073190A1 (en) Method for providing scraping-based service and application for executing the same
US20180249325A1 (en) Assistant for management of network devices
CN116915827A (en) Data transmission method and device of internet of things edge gateway, electronic equipment and medium
CN113420007A (en) Audit processing method and device for database access and electronic equipment
US10152490B2 (en) Sequential replication with limited number of objects
CN115693949A (en) Container-based data relay method and device for power distribution network power monitoring system
CN104270432A (en) Real-time data service system and data interaction method based on drilling industry
CN105917694B (en) Service in telecommunication network provides and activation
CN109657485A (en) Permission processing method, device, terminal device and storage medium
CN110099208B (en) Method and device for cross-level and cross-domain upgrading of camera in video monitoring system
CN104346101A (en) Dynamic storage space allocation system and method

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