CN113258679B - Power grid monitoring system channel distribution method based on server instance capacity reduction - Google Patents

Power grid monitoring system channel distribution method based on server instance capacity reduction Download PDF

Info

Publication number
CN113258679B
CN113258679B CN202110639523.0A CN202110639523A CN113258679B CN 113258679 B CN113258679 B CN 113258679B CN 202110639523 A CN202110639523 A CN 202110639523A CN 113258679 B CN113258679 B CN 113258679B
Authority
CN
China
Prior art keywords
server instance
remote terminal
terminal unit
channel
new
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
CN202110639523.0A
Other languages
Chinese (zh)
Other versions
CN113258679A (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.)
China Southern Power Grid Digital Grid Technology Guangdong 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 CN202110639523.0A priority Critical patent/CN113258679B/en
Publication of CN113258679A publication Critical patent/CN113258679A/en
Application granted granted Critical
Publication of CN113258679B publication Critical patent/CN113258679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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
    • H02J13/00006Circuit 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 characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/12Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment

Abstract

The application relates to a power grid monitoring system channel allocation method based on server instance capacity reduction, which is applied to a scheduling unit in a power grid monitoring system. The method comprises the following steps: acquiring a capacity reduction notification message for representing that a first server instance is about to be closed; switching a first standby channel between the first remote terminal unit and the second server instance to a new first main channel according to the capacity reduction notification message; the first active channel between the first remote terminal unit and the first server instance is closed and a new first standby channel is established between the first remote terminal unit and the third server instance. The method can realize automatic and reasonable scheduling of the data transmission channel under the condition that the server instance needs to be closed, and is intelligent and simple to operate.

Description

Power grid monitoring system channel distribution method based on server instance capacity reduction
Technical Field
The application relates to the technical field of power grids, in particular to a power grid monitoring system channel distribution method based on server instance capacity reduction.
Background
For a front-end system for data acquisition in a digital power grid, the front-end system often includes a plurality of RTUs (Remote Terminal units) and a plurality of server instances, where an RTU is responsible for acquiring data and transmitting the data to a server instance, and for each RTU, in order to prevent data loss, a main channel and a standby channel are often set at the same time, and each RTU is connected to different server instances through the main channel and the standby channel. However, when a certain server instance needs to be closed, all data transmission channels are often required to be scheduled manually, which is cumbersome to operate.
Disclosure of Invention
Therefore, in order to solve the technical problems, it is necessary to provide a power grid monitoring system channel allocation method based on server instance capacity reduction, a power grid monitoring system, a controller and a computer readable storage medium, which can implement automatic and reasonable scheduling of a data transmission channel under the condition that a server instance needs to be closed, and are intelligent and simple in operation.
A power grid monitoring system channel distribution method based on server instance capacity reduction is applied to a scheduling unit in a power grid monitoring system, the method is applied to the scheduling unit in the power grid monitoring system, and the power grid monitoring system further comprises a remote terminal unit and more than three server instances;
wherein the server instances include at least a first server instance, a second server instance, and a third server instance, and the remote terminal units include a first remote terminal unit; the first remote terminal unit is connected to the first server instance through a first main channel, the first remote terminal unit is connected to the second server instance through a first standby channel, and the scheduling units are respectively connected to the server instances;
the method comprises the following steps:
acquiring a capacity reduction notification message for representing that the first server instance is about to be closed;
switching the first standby channel between the first remote terminal unit and the second server instance to a new first main channel according to the capacity reduction notification message;
closing the first primary channel between the first remote terminal unit and the first server instance, and establishing a new first backup channel between the first remote terminal unit and the third server instance.
In one embodiment, the remote terminal unit further comprises a second remote terminal unit, the second remote terminal unit being connected to the second server instance via a second primary channel, the second remote terminal unit being connected to the first server instance via a second backup channel;
the method further comprises the following steps:
closing the second backup path between the second remote terminal unit and the first server instance according to the capacity shrinkage notification message, and establishing a new second backup path between the second remote terminal unit and the third server instance.
In one embodiment, the remote terminal unit further comprises a third remote terminal unit, the third remote terminal unit being connected to the third server instance via a third primary channel, the third remote terminal unit being connected to the first server instance via a third backup channel;
the method further comprises the following steps:
closing the third backup path between the third remote terminal unit and the first server instance according to the capacity shrinkage notification message, and establishing a new third backup path between the third remote terminal unit and the second server instance.
In one embodiment, the short-form notification message carries closing time information used for characterizing the first server instance; the switching the first standby channel between the first remote terminal unit and the second server instance to a new first active channel according to the capacity reduction notification message includes:
switching the first standby channel between the first remote terminal unit and the second server instance to a new first active channel prior to the closing time information.
A power grid monitoring system, the system comprising:
three or more instances of a server, the instances of the server including at least a first instance of the server, a second instance of the server, and a third instance of the server,
a remote terminal unit comprising a first remote terminal unit connected to the first server instance through a first primary channel and connected to the second server instance through a first backup channel;
the scheduling unit is respectively connected to each server instance and used for acquiring a capacity reduction notification message for representing that the first server instance is about to be closed; the scheduling unit is further configured to switch the first standby channel between the first remote terminal unit and the second server instance to a new first main channel according to the capacity reduction notification message, close the first main channel between the first remote terminal unit and the first server instance, and establish a new first standby channel between the first remote terminal unit and the third server instance.
In one embodiment, the remote terminal unit further comprises a second remote terminal unit connected to the second server instance through a second primary channel and connected to the first server instance through a second backup channel;
the scheduling unit is further configured to close the second backup channel between the second remote terminal unit and the first server instance according to the capacity reduction notification message, and establish a new second backup channel between the second remote terminal unit and the third server instance.
In one embodiment, the remote terminal unit further comprises a second remote terminal unit connected to the third server instance through a second primary channel and connected to the first server instance through a second backup channel;
the scheduling unit is further configured to close the second backup tunnel between the second remote terminal unit and the first server instance according to the short-cut notification message, and establish a new second backup tunnel between the second remote terminal unit and the second server instance.
In one embodiment, the abbreviated notification message carries closing time information used for characterizing the first server instance; the scheduling unit is further configured to switch the first standby channel between the first remote terminal unit and the second server instance to a new first active channel before the closing time information.
A controller comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a capacity reduction notification message for representing that the first server instance is about to be closed;
switching a first standby channel between the first remote terminal unit and the second server instance to a new first main channel according to the capacity reduction notification message;
the first active channel between the first remote terminal unit and the first server instance is closed and a new first standby channel is established between the first remote terminal unit and the third server instance.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a capacity reduction notification message for representing that the first server instance is about to be closed;
switching a first standby channel between the first remote terminal unit and the second server instance to a new first main channel according to the capacity reduction notification message;
the first active path between the first remote terminal unit and the first server instance is closed and a new first standby path is established between the first remote terminal unit and the third server instance.
According to the power grid monitoring system channel allocation method based on server instance capacity reduction, the power grid monitoring system, the controller and the computer readable storage medium, after a first server instance in a server instance in the power grid monitoring system needs to be closed, the scheduling unit switches a first standby channel between the first remote terminal unit and a second server instance of the first server instance to a new first main channel, and at the same time, the scheduling unit closes the first main channel between the first remote terminal unit and the first server instance and establishes a new first standby channel between the first remote terminal unit and a third server instance. The method can switch the associated first standby channel into the new first main channel in time, then close the affected first main channel, and establish the new first standby channel, can realize automatic and reasonable scheduling of the data transmission channel under the condition that the server instance needs to be closed, and has intelligent and simple operation.
Drawings
Fig. 1 is an application environment diagram of a power grid monitoring system channel allocation method based on server instance capacity reduction in an embodiment;
FIG. 2 is an architecture diagram of a grid monitoring system in one embodiment;
fig. 3 is a schematic flow chart of a power grid monitoring system channel allocation method based on server instance capacity reduction in another embodiment;
FIG. 4 is an architecture diagram of a power grid monitoring system after an update to the connection channel of a first remote terminal unit in one embodiment;
FIG. 5 is an architecture diagram of a grid monitoring system in another embodiment;
fig. 6 is a schematic flowchart of a method for allocating channels of a power grid monitoring system based on server instance capacity reduction in another embodiment;
FIG. 7 is an architecture diagram of a power grid monitoring system after a second backup corridor upgrade for a second remote terminal unit, in one embodiment;
FIG. 8 is an architecture diagram of a grid monitoring system in accordance with another embodiment;
FIG. 9 is an architecture diagram of a power grid monitoring system after a third backup tunnel update for a third remote terminal unit in one embodiment;
FIG. 10 is a schematic diagram of a variation of a grid monitoring system before a grid is allocated and before a grid is allocated according to an embodiment;
fig. 11 is a schematic diagram showing a change of the grid monitoring system before the channel allocation and before the channel allocation in another 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.
In the conventional technology, a front-end system for data acquisition in a digital power grid often includes a plurality of RTUs and a plurality of server instances, where an RTU is responsible for acquiring data and transmitting the data to a server instance, and for each RTU, in order to prevent data loss, a main channel and a standby channel are often set at the same time, where each RTU is connected to a different server instance through the main channel and the standby channel. However, when a certain server instance needs to be closed, all data transmission channels often need to be scheduled manually, which is tedious to operate.
Based on the situation, the embodiment of the application provides a power grid monitoring system channel distribution method based on server instance capacity reduction, the channel distribution method is applied to a scheduling unit in a power grid monitoring system, and the power grid monitoring system further comprises a remote terminal unit and more than three server instances; the server instance comprises a first server instance, a second server instance and a third server instance, the remote terminal unit comprises a first remote terminal unit, the first remote terminal unit is connected to the first server instance through a first main channel, the first remote terminal unit is further connected to the second server instance through a first standby channel, and the scheduling unit is respectively connected with the server instances. The channel allocation method comprises the following steps: acquiring a capacity reduction notification message for representing that the first server instance is about to be closed; switching a first standby channel between the first remote terminal unit and the second server instance to a new first main channel according to the capacity reduction notification message; the first active path between the first remote terminal unit and the first server instance is closed and a new first standby path is established between the first remote terminal unit and the third server instance. According to the technical scheme of the embodiment of the application, the embodiment of the application can timely switch the associated first standby channel into the new first main channel, then close the affected first main channel, and establish the new first standby channel, so that the embodiment of the application can realize automatic and reasonable scheduling of the data transmission channel under the condition that the server instance needs to be closed, and the operation is intelligent and simple.
It should be noted that, if "first", "second" and "third" are described in the embodiments of the present application, they are only used for distinguishing technical features, and are not to be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the precedence of the indicated technical features.
In some embodiments, the above-described grid monitoring system channel allocation method based on server instance capacity reduction may be applied to an application environment as shown in fig. 1. In the example of fig. 1, the controller 100 is provided with a processor 110 and a memory 120, wherein the processor 110 and the memory 120 may be connected by a bus or by other means, and fig. 1 takes the example of connection by a bus as an example.
The memory 120, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory 120 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 120 optionally includes memory located remotely from processor 110, which may be connected to the controller via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Those skilled in the art will appreciate that the controller 100 shown in fig. 1 is not meant to limit embodiments of the present application and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
In the controller shown in fig. 1, the processor 110 may call a channel allocation program stored in the memory 120, so as to execute a grid monitoring system channel allocation method based on server instance capacity reduction.
In one embodiment, as shown in fig. 2, fig. 2 is an architecture diagram of a power grid monitoring system provided by an embodiment of the present application. The power grid monitoring system of the embodiment of the application includes, but is not limited to, a server instance 210, a remote terminal unit 220, and a scheduling unit 230, where the server instance includes more than three instances, and the scheduling unit may include the above-mentioned controller.
Specifically, the server instance 210 of the embodiment of the present application includes a first server instance 211, a second server instance 212, and a third server instance 213; remote terminal unit 220 comprises a first remote terminal unit 221, the first remote terminal unit 221 being connected to the first server instance 211 via a first primary channel, the first remote terminal unit 221 being further connected to the second server instance 212 via a first backup channel; the scheduling unit 230 is connected to each server instance, respectively.
In this embodiment, a method for allocating channels of a power grid monitoring system based on server instance capacity reduction is provided, and for example, the method is applied to a scheduling unit in fig. 2, as shown in fig. 3, the method includes steps S100 to S300.
Step S100, a capacity reduction notification message for indicating that the first server instance is about to be closed is obtained.
A server instance is an abstraction of a server, and multiple instances can be installed on one server, and multiple libraries can be installed under one instance. Wherein, the capacity reduction notification message is used for representing that the server instance is about to be closed; in one embodiment, the abbreviated notification message may be input by a user, and when the user decides to turn off the first server, the abbreviated notification message is sent out, and the scheduling unit receives the abbreviated notification message and adaptively adjusts the connection relationship between the server instance and the remote terminal unit according to the abbreviated notification message. In another embodiment, the short-cut notification message may also be automatically sent by the server instance, for example, when the server instance has a condition that cannot continue to run, the server instance automatically sends the short-cut notification message to the scheduling unit. In other embodiments, the abbreviated notification message may be obtained by any other method.
Step S200, the first standby channel between the first remote terminal unit and the second server instance is switched to a new first active channel according to the capacity reduction notification message.
Step S300 is to close the first active channel between the first remote terminal unit and the first server instance, and establish a new first standby channel between the first remote terminal unit and the third server instance.
As the first server is to be closed, the first remote terminal unit connected to the first server through the main channel needs to be replaced with a new main channel, and as can be seen from the architecture diagram of the power grid monitoring system shown in fig. 2, the first remote terminal unit is connected to the second server instance through the first standby channel, so that when the first server instance is to be closed, the first standby channel between the first remote terminal unit and the second server instance is first switched to the new first main channel, and the original first main channel is closed. In addition, a new channel is established between the first remote terminal unit and the third server instance as a backup channel for the first remote terminal unit, i.e. a new first backup channel. Fig. 4 is a diagram illustrating a power grid monitoring system architecture after updating a connection channel of a first remote terminal unit in one embodiment.
According to the power grid monitoring system channel allocation method based on server instance capacity reduction, after a first server instance in a power grid monitoring system needs to be closed, a scheduling unit can switch a first standby channel between a first remote terminal unit of the first server instance and a second server instance into a new first main channel, meanwhile, the scheduling unit can close the first main channel between the first remote terminal unit and the first server instance, and a new first standby channel is established between the first remote terminal unit and a third server instance. The method can switch the associated first standby channel to the new first main channel in time, then close the affected first main channel, and establish the new first standby channel, can realize automatic and reasonable scheduling of the data transmission channel under the condition that the server instance needs to be closed, and has intelligent and simple operation.
Fig. 5 is an architecture diagram of a power grid monitoring system according to another embodiment. In this embodiment, the remote terminal unit 220 in the digital grid pre-dispatching unit further includes a second remote terminal unit 222, and the second remote terminal unit 222 is connected to the second server instance 212 through a second main channel and connected to the first server instance 211 through a second standby channel.
Further, in this embodiment, as shown in fig. 6, the method further includes step S400: the second backup path between the second remote terminal unit and the first server instance is closed based on the capacity reduction notification message and a new second backup path is established between the second remote terminal unit and the third server instance.
When receiving a capacity reduction notification message indicating that the first server instance is to be closed, since the second remote terminal unit is connected to the first server instance through the second backup tunnel, in this embodiment, the scheduling unit further needs to establish a new backup tunnel, that is, a new second backup tunnel, between the second remote terminal unit and the third server instance, and simultaneously close the original second backup tunnel between the second remote terminal unit and the first server instance. Furthermore, the second active channel of the second remote terminal unit does not need to be switched, since the second server instance connected to the second remote terminal unit via the second active channel is not affected.
Fig. 7 is an architecture diagram of the grid monitoring system after updating the second backup tunnel of the second remote terminal unit, in one embodiment.
Fig. 8 is an architecture diagram of a power grid monitoring system according to another embodiment. In this embodiment, the remote terminal unit 220 in the power grid monitoring system further includes a third remote terminal unit 223, and the third remote terminal unit 223 is connected to the third server instance 213 through a third main channel and is connected to the first server instance 211 through a third standby channel.
In this embodiment, with reference to fig. 6, the method further includes step S500: the third backup path between the third remote terminal unit and the first server instance is closed based on the scale notification message and a new third backup path is established between the third remote terminal unit and the second server instance.
When receiving the capacity reduction notification message indicating that the first server instance is to be closed, since the third remote terminal unit is connected to the first server instance through the third backup channel, in this embodiment, the scheduling unit further needs to establish a new backup channel, that is, a new third backup channel, between the third remote terminal unit and the second server instance, and simultaneously close the original third backup channel between the third remote terminal unit and the first server instance. Furthermore, the third active channel of the third remote terminal unit does not need to be switched, since the third server instance connected to the third remote terminal unit via the third active channel is not affected.
Fig. 9 is an architecture diagram of the grid monitoring system after updating the third backup tunnel of the third remote terminal unit, in one embodiment.
In the foregoing embodiment, when receiving a capacity reduction notification message, first determining a target server instance to be closed according to the capacity reduction notification message, if there is a first target remote terminal unit connected to the target server instance through a primary channel, switching a standby channel corresponding to the first remote terminal unit to a new primary channel, closing the original primary channel, searching for a new server instance in a scheduling system, and establishing a new standby channel between the new server instance and the first target remote terminal unit. Further, if there is a second target remote terminal unit connected to the target server instance through a backup path, another server instance is searched in the scheduling system, and a new backup path is established between the server instance and the second target remote terminal unit.
Further, in an embodiment, when a new server instance is searched in the scheduling system and a new standby channel is established, the selected new server instance may be determined according to resource usage of each server instance and connection with the remote terminal. For example, the resource utilization rates of all available server instances (server instances connected by non-main channels) are ranked, the server instance with the lower resource utilization rate is selected as the selected server instance, and a new standby channel is established between the remote terminal unit and the selected server instance. For another example, the remaining resources of all available server instances (server instances not connected by the primary channel) are sorted, and a server instance with a larger remaining resource is selected as the selected server instance. For another example, the number of terminal connections of all available server instances (server instances connected by non-main channels) is sorted, and the server instance with the least number of terminal connections is selected as the selected server instance. Where resource usage may represent computing resource usage, and the like.
In this embodiment, a new standby channel is established by selecting a server instance according to the resource usage and the connection with the remote terminal unit, and a better server instance can be screened to ensure the service condition of the remote terminal unit.
In another embodiment, when a new server instance is searched in the scheduling system and a new backup channel is established, a user instruction may also be received, a new server instance to be selected is determined according to the user instruction, and the new backup channel is established between the new server instance and the remote terminal unit.
Further, in an embodiment, the scheduling unit switches the standby channel to a new active channel, establishes a new standby channel, and closes the original active channel and standby channel, which may be implemented in any manner.
Further, in an embodiment, the capacity reduction notification message carries closing time information used for characterizing the first server instance; in this embodiment, switching the first standby channel between the first remote terminal unit and the second server instance to the new first active channel includes: the first backup path between the first remote terminal unit and the second server instance is switched to a new first active path before the time information is turned off.
The closing time information represents time information carried in the abbreviated notification message, and the time information is used for representing the accurate closed time of the first server instance, so that the first standby channel between the first remote terminal unit and the second server instance must be switched to the new first main channel before the time. In one embodiment, the closing time information may be user-defined or automatically determined by the server instance; it will be appreciated that the closing time information must be after the current time.
In a specific embodiment, as shown in fig. 10, fig. 10 is a schematic diagram of a change of the power grid monitoring system provided in this embodiment before channel allocation and before channel allocation. Specifically, after a first server instance in the server instance needs to be closed, the scheduling unit may switch a first standby channel between the first remote terminal unit and the second server instance to a new first active channel, and at the same time, the scheduling unit may close the first active channel between the first remote terminal unit and the first server instance, and establish a new first standby channel between the first remote terminal unit and the third server instance. According to the technical scheme of the embodiment of the application, the embodiment of the application can timely switch the associated first standby channel into the new first main channel, then close the affected first main channel, and establish the new first standby channel, so that the embodiment of the application can realize automatic and reasonable scheduling of the data transmission channel under the condition that the server instance needs to be closed, and the operation is intelligent and simple.
It should be noted that, the above examples of the server need to be shut down, which includes situations that the load is too high, which results in shutdown, shutdown due to virus attack, shutdown due to power failure, and so on.
It should be noted that, regarding the first active channel and the first standby channel, when the system is normal, the system will utilize and analyze the data transmitted through the first active channel, but will not utilize and analyze the data transmitted through the first standby channel. When the first main channel has a problem, the first standby channel is switched to a new first main channel.
According to an embodiment of the present application, as shown in fig. 11, fig. 11 is a schematic diagram of a change of a power grid monitoring system provided in another embodiment of the present application before channel allocation and before channel allocation. Specifically, when there is a second remote terminal unit connected to the second server instance through the second main channel and connected to the first server instance through the second standby channel, after the first server instance needs to be shut down, the scheduling unit may maintain the second main channel between the second remote terminal unit and the second server instance, and at the same time, the scheduling unit may also shut down the second standby channel between the second remote terminal unit and the first server instance and establish a new second standby channel between the second remote terminal unit and the second server instance. According to the technical scheme of the embodiment of the application, the second standby channel of the second remote terminal unit can be scheduled in time, and the situation that data cannot be transmitted after the first server instance and the third server instance need to be closed at the same time is prevented. Therefore, the embodiment of the application can realize automatic and reasonable scheduling of the data transmission channel under the condition that the server instance needs to be closed, and is intelligent and simple to operate.
According to the embodiment of the application, the channel allocation can be realized before the first server instance is closed according to the closing time information, the channel allocation can be performed in advance, and the stability is high.
Based on the above power grid monitoring system channel allocation method based on server instance capacity reduction, the following respectively proposes various embodiments of the controller and the computer readable storage medium of the present application.
It should be understood that, although the steps in the flowcharts involved in the above embodiments are shown in order as indicated by the arrows, the steps are not necessarily performed in order 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 each flowchart involved in the above embodiments 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 order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
In one embodiment, there is provided a power grid monitoring system comprising: three or more server instances including at least a first server instance, a second server instance, and a third server instance;
the remote terminal unit comprises a first remote terminal unit, the first remote terminal unit is connected to the first server instance through a first main channel and is connected to the second server instance through a first standby channel;
the scheduling unit is respectively connected to each server instance and is used for acquiring a capacity reduction notification message for representing that the first server instance is about to be closed; the scheduling unit is further configured to switch the first standby channel between the first remote terminal unit and the second server instance to a new first active channel according to the capacity reduction notification message, close the first active channel between the first remote terminal unit and the first server instance, and establish the new first standby channel between the first remote terminal unit and the third server instance.
In the power grid monitoring system, after a first server instance in a server instance of the system needs to be closed, the scheduling unit switches a first standby channel between the first remote terminal unit of the first server instance and a second server instance to a new first main channel, and simultaneously the scheduling unit closes the first main channel between the first remote terminal unit and the first server instance and establishes a new first standby channel between the first remote terminal unit and a third server instance. The method can switch the associated first standby channel into the new first main channel in time, then close the affected first main channel, and establish the new first standby channel, can realize automatic and reasonable scheduling of the data transmission channel under the condition that the server instance needs to be closed, and has intelligent and simple operation.
In one embodiment, the remote terminal unit further comprises a second remote terminal unit connected to the second server instance via a second primary channel and connected to the first server instance via a second backup channel; in this embodiment, the scheduling unit is further configured to close a second backup tunnel between the second remote terminal unit and the first server instance according to the capacity reduction notification message, and establish a new second backup tunnel between the second remote terminal unit and the third server instance.
In one embodiment, the remote terminal unit further comprises a second remote terminal unit connected to the third server instance via a second primary channel and connected to the first server instance via a second backup channel; in this embodiment, the scheduling unit is further configured to close a second backup tunnel between the second remote terminal unit and the first server instance according to the capacity reduction notification message, and establish a new second backup tunnel between the second remote terminal unit and the second server instance.
In one embodiment, the capacity reduction notification message carries closing time information used for representing the first server instance; in this embodiment, the scheduling unit is further configured to switch the first standby channel between the first remote terminal unit and the second server instance to the new first active channel before the time information is turned off.
For a specific embodiment of the power grid monitoring system, reference may be made to the above embodiment of the power grid monitoring system channel allocation method based on server instance reduction, and details are not described here again. All or part of each module in the power grid monitoring system can be realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the controller, and can also be stored in a memory in the controller in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a controller is provided comprising a memory having a computer program stored therein and a processor that when executing the computer program performs the steps of:
acquiring a capacity reduction notification message for representing that a first server instance is about to be closed; switching a first standby channel between the first remote terminal unit and the second server instance to a new first main channel according to the capacity reduction notification message; the first active channel between the first remote terminal unit and the first server instance is closed and a new first standby channel is established between the first remote terminal unit and the third server instance.
In one embodiment, the processor when executing the computer program further performs the steps of: the second backup path between the second remote terminal unit and the first server instance is closed based on the capacity reduction notification message and a new second backup path is established between the second remote terminal unit and the third server instance.
In one embodiment, the processor when executing the computer program further performs the steps of: the third backup path between the third remote terminal unit and the first server instance is closed based on the capacity reduction notification message and a new third backup path is established between the third remote terminal unit and the second server instance.
In one embodiment, the processor when executing the computer program further performs the steps of: the first backup path between the first remote terminal unit and the second server instance is switched to a new first active path before the time information is turned off.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, performs the steps of:
acquiring a capacity reduction notification message for representing that a first server instance is about to be closed; switching a first standby channel between the first remote terminal unit and the second server instance to a new first main channel according to the capacity reduction notification message; the first active channel between the first remote terminal unit and the first server instance is closed and a new first standby channel is established between the first remote terminal unit and the third server instance.
In one embodiment, the computer program when executed by the processor further performs the steps of: the second backup path between the second remote terminal unit and the first server instance is closed based on the capacity reduction notification message and a new second backup path is established between the second remote terminal unit and the third server instance.
In one embodiment, the computer program when executed by the processor further performs the steps of: the third backup path between the third remote terminal unit and the first server instance is closed based on the scale notification message and a new third backup path is established between the third remote terminal unit and the second server instance.
In one embodiment, the computer program when executed by the processor further performs the steps of: the first standby channel between the first remote terminal unit and the second server instance is switched to the new first active channel before the time information is turned off.
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 may be implemented by hardware instructions of a computer program, and the computer program may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. 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), for example.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. 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, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (10)

1. A power grid monitoring system channel allocation method based on server instance capacity reduction is characterized in that the method is applied to a scheduling unit in a power grid monitoring system, and the power grid monitoring system further comprises a remote terminal unit and more than three server instances;
wherein the server instance comprises at least a first server instance, a second server instance, and a third server instance, and the remote terminal units comprise a first remote terminal unit and a second remote terminal unit; the first remote terminal unit is connected to the first server instance through a first main channel, the first remote terminal unit is connected to the second server instance through a first standby channel, the second remote terminal unit is connected to the second server instance through a second main channel, the second remote terminal unit is connected to the first server instance through a second standby channel, and the scheduling unit is respectively connected to each server instance;
the method comprises the following steps:
acquiring a capacity reduction notification message for representing that the first server instance is about to be closed;
switching the first standby channel between the first remote terminal unit and the second server instance to a new first main channel according to the capacity reduction notification message;
closing the first primary channel between the first remote terminal unit and the first server instance, and establishing a new first standby channel between the first remote terminal unit and the third server instance;
closing the second backup path between the second remote terminal unit and the first server instance according to the capacity reduction notification message, and establishing a new second backup path between the second remote terminal unit and the third server instance.
2. The server instance capacity reduction-based power grid monitoring system channel allocation method according to claim 1, wherein the remote terminal unit further comprises a third remote terminal unit, the third remote terminal unit is connected to the third server instance through a third main channel, and the third remote terminal unit is connected to the first server instance through a third standby channel;
the method further comprises the following steps:
closing the third backup path between the third remote terminal unit and the first server instance according to the capacity shrinkage notification message, and establishing a new third backup path between the third remote terminal unit and the second server instance.
3. The power grid monitoring system channel allocation method based on server instance capacity reduction according to claim 1 or 2, wherein the capacity reduction notification message carries closing time information for representing the first server instance; the switching the first standby channel between the first remote terminal unit and the second server instance to a new first active channel according to the capacity reduction notification message includes:
switching the first standby channel between the first remote terminal unit and the second server instance to a new first active channel prior to the closing time information.
4. The method according to claim 1, wherein when a new server instance is searched and a new backup channel is established with the new server instance, the method further comprises:
and determining the selected new server instance according to the resource use condition of each server instance and the connection condition of the remote terminal unit.
5. A power grid monitoring system, comprising:
three or more server instances including at least a first server instance, a second server instance, and a third server instance,
a remote terminal unit including a first remote terminal unit and a second remote terminal unit, the first remote terminal unit being connected to the first server instance through a first primary channel and connected to the second server instance through a first backup channel, the second remote terminal unit being connected to the second server instance through a second primary channel and connected to the first server instance through a second backup channel;
the scheduling unit is respectively connected to each server instance and is used for acquiring a capacity reduction notification message for representing that the first server instance is about to be closed; the scheduling unit is further configured to switch the first standby channel between the first remote terminal unit and the second server instance to a new first active channel according to the capacity reduction notification message, close the first active channel between the first remote terminal unit and the first server instance, and establish a new first standby channel between the first remote terminal unit and the third server instance; the scheduling unit is further configured to close the second backup tunnel between the second remote terminal unit and the first server instance according to the short-cut notification message, and establish a new second backup tunnel between the second remote terminal unit and the third server instance.
6. The electrical grid monitoring system of claim 5, wherein the remote terminal unit further comprises a second remote terminal unit connected to the third server instance through a second primary channel and to the first server instance through a second backup channel;
the scheduling unit is further configured to close the second backup channel between the second remote terminal unit and the first server instance according to the capacity reduction notification message, and establish a new second backup channel between the second remote terminal unit and the second server instance.
7. The power grid monitoring system according to claim 5 or 6, wherein the capacity reduction notification message carries closing time information for characterizing the first server instance; the scheduling unit is further configured to switch the first standby channel between the first remote terminal unit and the second server instance to a new first active channel before the closing time information.
8. The electrical grid monitoring system according to claim 5, wherein the scheduling unit determines the selected new server instance based on resource usage of each server instance and connection to the remote terminal unit.
9. A controller, comprising: memory, processor and computer program stored on the memory and executable on the processor, the processor implementing the method according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium having stored thereon computer-executable instructions for performing the method of any one of claims 1 to 4.
CN202110639523.0A 2021-06-08 2021-06-08 Power grid monitoring system channel distribution method based on server instance capacity reduction Active CN113258679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110639523.0A CN113258679B (en) 2021-06-08 2021-06-08 Power grid monitoring system channel distribution method based on server instance capacity reduction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110639523.0A CN113258679B (en) 2021-06-08 2021-06-08 Power grid monitoring system channel distribution method based on server instance capacity reduction

Publications (2)

Publication Number Publication Date
CN113258679A CN113258679A (en) 2021-08-13
CN113258679B true CN113258679B (en) 2022-11-11

Family

ID=77187078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110639523.0A Active CN113258679B (en) 2021-06-08 2021-06-08 Power grid monitoring system channel distribution method based on server instance capacity reduction

Country Status (1)

Country Link
CN (1) CN113258679B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113688008B (en) * 2021-08-18 2022-11-25 南方电网数字电网研究院有限公司 Clustering algorithm technology-based power grid monitoring system pre-service fault processing method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588295B (en) * 2009-04-22 2011-09-07 北京四方继保自动化股份有限公司 Channel level hierarchical dynamic routing method of electric power automation front-end system
CN103378918B (en) * 2012-04-19 2019-08-06 中兴通讯股份有限公司 Channel method of adjustment and device
CN110022229A (en) * 2019-03-12 2019-07-16 国网湖北省电力有限公司黄石供电公司 A kind of transregional transmission communication system of power grid and method
FR3096532A1 (en) * 2019-06-28 2020-11-27 Orange Method for managing a communication between terminals in a communication network, and devices and system for implementing the method
CN110890980A (en) * 2019-11-15 2020-03-17 深圳明心科技有限公司 Method, device, server and system for switching main terminal and standby terminal
CN112333015B (en) * 2020-10-28 2022-11-01 重庆紫光华山智安科技有限公司 Media data storage method, device, system, electronic equipment and storage medium
CN112512017B (en) * 2021-02-05 2021-11-05 智道网联科技(北京)有限公司 Information processing method and device for remotely monitoring state of intelligent vehicle-mounted networking terminal

Also Published As

Publication number Publication date
CN113258679A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN108965485B (en) Container resource management method and device and cloud platform
EP2493118B1 (en) Information processing system
CN111880936B (en) Resource scheduling method, device, container cluster, computer equipment and storage medium
US9532359B2 (en) Resource allocation method and device
CN110933178B (en) Method for adjusting node configuration in cluster system and server
US20130148596A1 (en) Resource management system and method of centralized base station in mobile communication network
CN111083753A (en) Switching method, switching device and network system
EP3397010A1 (en) Method, apparatus, and device for transmitting activation-related system information
CN113258679B (en) Power grid monitoring system channel distribution method based on server instance capacity reduction
CN103841562A (en) Time slot resource occupation processing method and time slot resource occupation processing device
CN112214288B (en) Pod scheduling method, device, equipment and medium based on Kubernetes cluster
CN110677854A (en) Method, apparatus, device and medium for carrier frequency capacity adjustment
CN111885618A (en) Network performance optimization method and device
CN113867957A (en) Method and device for realizing elastic expansion of number of cross-cluster containers
CN114844791B (en) Cloud service automatic management and distribution method and system based on big data and storage medium
CN111901831A (en) Cell switching method, device, equipment and storage medium
CN112035579A (en) Graph management method, data storage method, data query method, device and storage medium
CN109302749B (en) Method and device for allocating baseband resources
CN113364122B (en) Power grid monitoring system channel distribution method based on server instance expansion
CN112822792A (en) Distribution method, device, equipment and storage medium of bearing identification
CN112804162A (en) Scheduling method, scheduling device, terminal equipment and storage medium
CN113688008B (en) Clustering algorithm technology-based power grid monitoring system pre-service fault processing method
JP2020188298A (en) Control device, program, and control method
CN113411265B (en) Power grid monitoring system preposition service channel dynamic adjusting method based on risk prediction
CN113347692B (en) Power utilization system, method and equipment, and computer-readable storage medium

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230424

Address after: Full Floor 14, Unit 3, Building 2, No. 11, Middle Spectra Road, Huangpu District, Guangzhou, Guangdong 510700

Patentee after: China Southern Power Grid Digital Grid Technology (Guangdong) Co.,Ltd.

Address before: Room 86, room 406, No.1, Yichuang street, Zhongxin Guangzhou Knowledge City, Huangpu District, Guangzhou City, Guangdong Province

Patentee before: Southern Power Grid Digital Grid Research Institute Co.,Ltd.