A method, device and storage medium for inputting a virtual interval
By dynamically deploying virtual bays when physical bays in a substation are deactivated, the problem of high operating costs in existing technologies has been solved, thereby improving cost-effectiveness and work efficiency.
Patent Information
- Application Number
- CN202310197125.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2043-02-23
AI Technical Summary
Existing virtual interval input methods require multiple cores or multiple process layer plugins, resulting in excessively high operating costs.
By detecting the shutdown of physical substation bays, virtual bays are dynamically put into operation, and their numbers are written into shared memory. The control process layer plug-in outputs the input information, thereby reducing operating costs.
This technology enables the dynamic deployment of virtual intervals when physical intervals are detected as exiting, reducing operating costs and improving work efficiency and reliability.
Smart Images

Figure CN116155899B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of power system technology, and in particular relates to a method, device, cluster monitoring and control device and storage medium for activating virtual bays. Background Technology
[0002] The measurement and control devices in a substation serve as the data acquisition and control units for the substation automation system. When the physical bay's measurement and control device fails or is taken out of service for maintenance, a backup measurement and control device is activated to improve the reliability of the current bay's measurement and control functions. For cost considerations, this backup measurement and control is designed for centralized deployment; that is, a single redundant measurement and control device integrates the measurement and control functions of multiple bays and simultaneously serves as a backup device for the physical measurement and control of multiple bays. This centralized backup measurement and control is also known as cluster measurement and control. A single cluster measurement and control device needs to be able to provide functional backup for at least 15 bays within the substation. Therefore, cluster measurement and control requires the control of at least 15 virtual bays, and each virtual bay has the same function and configuration as the physical bay.
[0003] Existing methods for deploying virtual intervals typically involve running 15 virtual intervals on a cluster monitoring and control device. However, this method requires the cluster monitoring and control device to simultaneously handle the virtual monitoring and control functions of 15 physical intervals. Therefore, it necessitates the use of multi-core processors or multiple process layer plugins to implement the operation of multiple virtual intervals, resulting in excessively high operating costs. Summary of the Invention
[0004] This application provides a method, apparatus, cluster monitoring and control device, and storage medium for virtual interval deployment, which reduces operating costs.
[0005] In a first aspect, embodiments of this application provide a method for inputting virtual intervals, including:
[0006] When the first physical bay in the substation is detected to be out of operation, a virtual bay activation operation is performed.
[0007] When the virtual interval activation operation is detected, the first number of the first virtual interval to be activated is obtained and written into the shared memory;
[0008] When the first number is detected to be the same as the preset number pre-stored in the process layer plug-in of the cluster monitoring and control of the substation, the process layer plug-in is controlled to output a message indicating that the first virtual interval has been put into use.
[0009] Optionally, the step of performing a virtual bay activation operation when the first physical bay in the substation is detected to be out of operation includes:
[0010] If no heartbeat message is detected from the first physical interval within the set time period, it is determined that the first physical interval has exited operation, and the virtual interval activation operation is performed.
[0011] Optionally, the method further includes:
[0012] If a heartbeat message sent by the first entity interval is detected within the set time period, it is determined that the first entity interval has not exited operation, and the virtual interval activation operation is not performed.
[0013] Optionally, the virtual interval input operation includes:
[0014] The first virtual interval is deployed to the virtual interval deployment position in the virtual substation scenario, and the communication module corresponding to the first virtual interval is activated.
[0015] When it is detected that the first physical interval is not in the station control layer network of the substation, the first virtual interval is connected to the station control layer network.
[0016] Optionally, connecting the first virtual interval to the station control layer network includes:
[0017] Obtain the network address table of the station control layer network; wherein, the network address table stores the network addresses of each device in the station control layer network;
[0018] When it is detected that the target network address of the first entity interval does not exist in the network address table, a virtual network address corresponding to the target network address is generated.
[0019] The virtual network address is associated with the first virtual interval, and the first virtual interval is connected to the station control layer network.
[0020] Optionally, the method further includes:
[0021] Receive a virtual interval exit command; wherein the virtual interval exit command carries a second number of the second virtual interval that needs to be withdrawn from use;
[0022] Remove the second number from the shared memory and cancel the virtual network address corresponding to the second virtual interval;
[0023] Control the process layer plugin to stop outputting message information in a set format;
[0024] When a heartbeat message is detected sent by the second physical interval corresponding to the second virtual interval, the communication module corresponding to the second virtual interval is shut down to complete the exit operation of the second virtual interval.
[0025] Optionally, the process layer plug-in includes two quad-core chips, each of which includes a first chip core, a second chip core, a third chip core, and a fourth chip core; wherein, the first chip core is used to complete the data processing operation of message information, and the second chip core, the third chip core, and the fourth chip core are used to complete the data processing operation of all virtual bays of the substation.
[0026] Secondly, embodiments of this application provide a virtual interval input device, comprising:
[0027] The execution unit is used to perform a virtual bay activation operation when the first physical bay in the substation is detected to be out of operation;
[0028] The writing unit is used to obtain the first number of the first virtual interval to be put into operation when the virtual interval is detected to be put into operation, and write the first number into the shared memory;
[0029] The output unit is used to control the process layer plugin to output a message indicating that the first virtual interval has been put into use when it is detected that the first number is the same as the preset number pre-stored in the process layer plugin of the cluster monitoring and control of the substation.
[0030] Thirdly, embodiments of this application provide a cluster monitoring and control device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the virtual interval input method as described in any one of the first aspects above.
[0031] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the virtual interval input method as described in any one of the first aspects above.
[0032] Fifthly, embodiments of this application provide a computer program product that, when running on a cluster monitoring and control system, enables the cluster monitoring and control system to execute the virtual interval input method described in any of the first aspects above.
[0033] The beneficial effects of the embodiments in this application compared with the prior art are:
[0034] This application provides a method for activating virtual bays. When a first physical bay in a substation is detected as out of operation, a virtual bay activation operation is performed. Upon activation, a first number of the activated virtual bay is obtained and written into shared memory. When the first number matches a pre-stored number in the process layer plugin of the substation's cluster monitoring and control system, the process layer plugin outputs a message indicating that the first virtual bay is now in use. Compared to existing technologies that operate all virtual bays in a fixed manner, this method activates the corresponding virtual bay only after a physical bay is detected as out of operation, reducing operating costs. Attached Figure Description
[0035] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0036] Figure 1 This is a schematic diagram of the structure of a cluster monitoring and control system provided in one embodiment of this application;
[0037] Figure 2 This is a flowchart illustrating the implementation of a virtual interval input method according to an embodiment of this application;
[0038] Figure 3 This is a flowchart illustrating the implementation of a virtual interval input method according to another embodiment of this application;
[0039] Figure 4 This is a flowchart illustrating the implementation of a virtual interval input method provided in another embodiment of this application;
[0040] Figure 5 This is a flowchart illustrating the implementation of a virtual interval input method according to another embodiment of this application;
[0041] Figure 6 This is a schematic diagram of the structure of a virtual interval input device provided in an embodiment of this application;
[0042] Figure 7 This is a schematic diagram of the structure of a cluster monitoring and control system provided in one embodiment of this application. Detailed Implementation
[0043] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0044] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0045] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0046] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0047] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0048] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0049] In practical applications, the measurement and control devices in substations serve as the data acquisition and control units for the substation automation system. When the physical bay's measurement and control device fails or is taken out of service for maintenance, the backup measurement and control device is put into operation to improve the reliability of the current bay's measurement and control functions. For cost considerations, this backup measurement and control is designed for centralized deployment; that is, a single redundant measurement and control device integrates the measurement and control functions of multiple bays and simultaneously serves as a backup device for the physical measurement and control of multiple bays. This centralized backup measurement and control is also known as cluster measurement and control. A single cluster measurement and control device needs to be able to provide functional backup for at least 15 bays within the substation. Therefore, cluster measurement and control requires the control of at least 15 virtual bays, and the function and configuration of each virtual bay are identical to those of the physical bays.
[0050] Please see Figure 1 , Figure 1 This is a schematic diagram of the cluster monitoring and control structure provided in one embodiment of this application. For example... Figure 1 As shown, the cluster monitoring and control 10 includes: a power supply module 101, an input module 102, a process layer module 103, a management module 104, a display module 105, a bus 106, and N virtual bays 107 (only three are shown in the figure). The input module 102, process layer module 103, management module 104, display module 105, and virtual bays 107 are all connected to the power supply module 101. The management module 104 is connected to both the display module 105 and the virtual bays 107. N is greater than 1. In practical applications, N can be set to 15.
[0051] In this embodiment, the power supply plug-in 101 is used to provide power to the entire cluster monitoring and control 10.
[0052] Input plug-in 102 is used to acquire hard input signals.
[0053] The process layer plugin 103 is used to receive process layer sampled value (SV) messages, send and receive generic object-oriented substation event (GOOSE) messages, and perform calculations and processing to realize remote signaling, telemetry and remote control functions of the monitoring and control device.
[0054] In one embodiment of this application, to reduce the number of plug-ins and lower hardware costs, the process layer plug-in 103 may include a first process layer plug-in 1031 and a second process layer plug-in 1032, both of which are quad-core chips. Each quad-core chip includes a first chip core, a second chip core, a third chip core, and a fourth chip core. The first chip core is used to perform data processing operations on message information, i.e., to access process layer SV messages and send and receive GOOSE messages. Each of the second, third, and fourth chip cores can process the acquisition and calculation of telemetry data from a set number of different virtual intervals 107, enabling the second, third, and fourth chip cores to complete the data processing operations for all virtual intervals of the substation.
[0055] It should be noted that since the first process layer plugin 1031 and the second process layer plugin 1032 run continuously after the cluster monitoring and control 10 is powered on, they are not affected by the commissioning or decommissioning of any virtual interval 107. Therefore, when any virtual interval 107 is decommissioned, the cluster monitoring and control can still view the telemetry and teleconduction data of that virtual interval 107 in real time. At the same time, the telemetry and teleconduction data of any virtual interval 107 can be compared with the data of the same point of the corresponding physical interval monitoring and control, so that when there is doubt about the monitoring and control data of the physical interval, the telemetry and teleconduction data of the corresponding virtual interval can be referenced.
[0056] In this embodiment, the management plug-in 104 is a multi-core chip used to control the use and deactivation of any virtual interval 107, as well as station control layer communication between N virtual intervals 107.
[0057] Display plug-in 105 includes an LCD and buttons, providing a UI interface display.
[0058] It should be noted that the process layer plug-in 103 and the management plug-in 104 communicate via bus 106 to transmit remote signaling and telemetry data and issue remote control commands.
[0059] Please see Figure 2 , Figure 2 This is a flowchart illustrating the implementation of a virtual interval deployment method according to an embodiment of this application. In this embodiment, the execution entity of the virtual interval deployment method is a cluster monitoring and control system, or it can be a management plugin within the cluster monitoring and control system.
[0060] like Figure 2 As shown, a virtual interval input method provided in one embodiment of this application may include S101~S103, which are described in detail below:
[0061] In S101, when the first physical bay in the substation is detected to be out of operation, a virtual bay activation operation is performed.
[0062] In practical applications, when a physical bay (i.e., the physical monitoring and control device) in a substation malfunctions or needs maintenance, it is necessary to control that physical bay to take it out of operation.
[0063] In this embodiment of the application, when the cluster monitoring and control detects that the first entity interval has exited operation, it can perform a virtual interval activation operation. The first entity interval can be one or multiple.
[0064] In one embodiment of this application, in order to determine whether the first physical bay in the substation has been taken out of service, the cluster monitoring and control can perform the following steps, detailed below:
[0065] Based on a set time interval, detect the heartbeat messages sent by the first entity at intervals;
[0066] If no heartbeat message is detected from the first physical interval within the set time period, it is determined that the first physical interval has exited operation, and the virtual interval activation operation is performed.
[0067] In this embodiment, the duration can be set according to actual needs, and there is no limitation here.
[0068] The heartbeat message can be a GOOSE heartbeat message.
[0069] In this embodiment, if the cluster monitoring and control does not detect a heartbeat message sent by the first entity interval within a set time period, the cluster monitoring and control can determine that the first entity interval has exited operation. Therefore, the cluster monitoring and control can perform a virtual interval activation operation.
[0070] In one embodiment of this application, when the cluster monitoring and control detects a heartbeat message sent by the first entity interval within a set time period, it can determine that the first entity interval has not exited operation, that is, the first entity interval is still in operation. Therefore, the cluster monitoring and control does not need to perform a virtual interval activation operation.
[0071] In this embodiment of the application, since the cluster monitoring and control pre-stores the correspondence between different physical intervals and different virtual intervals, the virtual interval deployment operation specifically refers to deploying the first virtual interval corresponding to the first physical interval.
[0072] In another embodiment of this application, cluster monitoring and control can be specifically achieved through methods such as... Figure 3 The virtual interval input operation shown in S201~S202 is described in detail below:
[0073] In S201, the first virtual interval is deployed to the virtual interval deployment position in the virtual substation scenario, and the communication module corresponding to the first virtual interval is activated.
[0074] In this embodiment, when the cluster monitoring and control detects that the first physical bay in the substation has exited operation, it can put the first virtual bay corresponding to the first physical bay into the virtual bay deployment position in the virtual substation scenario, and start the communication module corresponding to the virtual bay to start the Manufacturing Message Specification (MMS) communication task of the first virtual bay, thereby reducing the process startup waiting time for the first virtual bay to be put into use and improving the working efficiency of the cluster monitoring and control.
[0075] It should be noted that the virtual deployment location can be the same location in the virtual substation scenario as the location of the first physical bay in the actual substation scenario.
[0076] In S202, when it is detected that the first physical bay is not in the station control layer network of the substation, the first virtual bay is connected to the station control layer network.
[0077] In practical applications, when maintenance personnel detect a fault in the first physical bay or require maintenance, they need to disconnect the first physical bay from the substation's station control layer network, that is, control the first physical bay to exit the aforementioned station control layer network.
[0078] Based on this, in this embodiment, when the cluster monitoring and control detects that the first physical bay is not in the substation control layer network, it connects the first virtual bay to the control layer network.
[0079] In one embodiment of this application, cluster monitoring and control can be specifically achieved through methods such as... Figure 4 The execution steps S202 shown in S301~S303 are detailed below:
[0080] In S301, the network address table of the station control layer network is obtained; wherein, the network address table stores the network addresses of each device in the station control layer network.
[0081] In this embodiment, to avoid network address conflicts among devices in the station control layer, the cluster monitoring and control needs to obtain the network address table of the station control layer network in real time.
[0082] The network address table can be an Address Resolution Protocol (ARP) table.
[0083] A network address can be an Internet Protocol (IP) address.
[0084] In this embodiment, after obtaining the above network address table, the cluster monitoring and control system needs to detect whether the target network address of the first entity interval exists in the network address table.
[0085] In one embodiment of this application, when the cluster monitoring detects that the target network address of the first entity interval does not exist in the network address table, steps S302 to S303 can be executed.
[0086] In another embodiment of this application, when the cluster monitoring and control detects that the target network address of the first entity interval exists in the network address table, it indicates that the first entity interval exit has failed. Therefore, the cluster monitoring and control can output information to prompt the operation and maintenance personnel that the first entity interval has failed to exit.
[0087] In S302, when it is detected that the target network address of the first entity interval does not exist in the network address table, a virtual network address corresponding to the target network address is generated.
[0088] In S303, the virtual network address is associated with the first virtual interval, and the first virtual interval is connected to the station control layer network.
[0089] In this embodiment, when the cluster monitoring and control detects that the target network address of the first physical interval does not exist in the network address table, it indicates that the first virtual interval can be connected to the station control layer network to replace the first physical interval. Therefore, the cluster monitoring and control can generate a virtual network address corresponding to the target network address of the first physical interval, associate the virtual network address with the first virtual interval, and connect the first virtual interval to the station control layer network.
[0090] In one implementation of this embodiment, the cluster monitoring and control can use virtual IP technology to simulate the target network address to obtain a virtual network address.
[0091] In S102, when the virtual interval activation operation is detected, the first number of the first virtual interval to be activated is obtained and written into the shared memory.
[0092] In this embodiment of the application, when the cluster monitoring and control detects the virtual interval activation operation, it can obtain the first number of the first virtual interval that has been activated and write the first number into the shared memory of the cluster monitoring and control.
[0093] It should be noted that the first number is the same as the entity number of the first entity interval.
[0094] In one implementation of this application, the cluster monitoring and control can write the first number into the shared memory of the cluster monitoring and control according to the bit offset method.
[0095] In this embodiment of the application, the cluster monitoring and control can send the first number to the process layer plugin via the bus and write the first number into the process layer plugin.
[0096] In S103, when it is detected that the first number is the same as the preset number pre-stored in the process layer plug-in of the cluster monitoring and control of the substation, the process layer plug-in is controlled to output a message indicating that the first virtual interval has been put into use.
[0097] It should be noted that the process layer plugin pre-stores the setting numbers for different virtual intervals.
[0098] In this embodiment of the application, when the cluster monitoring and control detects that the first number is the same as the preset number pre-stored by the variable process layer plug-in, it indicates that the first virtual interval can be put into use. Therefore, the cluster monitoring and control can control the process layer plug-in to output message information indicating that the first virtual interval has been put into use, and open the GOOSE message sending function corresponding to the first virtual interval.
[0099] As can be seen from the above, the virtual bay activation method provided in this application involves performing a virtual bay activation operation when a first physical bay in the substation is detected to be out of operation; when a virtual bay activation operation is detected, the first number of the first virtual bay to be activated is obtained and written into shared memory; when the first number is detected to be the same as a preset number pre-stored in the process layer plug-in of the substation's cluster monitoring and control, the control process layer plug-in outputs a message indicating that the first virtual bay has been activated. Compared with the prior art of fixed operation of all virtual bays, the method provided in this application activates the corresponding virtual bay only after a physical bay is detected to be out of operation, thus reducing operating costs.
[0100] Please see Figure 5 , Figure 5 This is another embodiment of the virtual interval input method provided in this application. Relative to... Figure 1 In a corresponding embodiment, the method for inputting the virtual interval may further include S401 to S404, as detailed below:
[0101] In S401, a virtual interval exit instruction is received; wherein the virtual interval exit instruction carries the second number of the second virtual interval that needs to be withdrawn from use.
[0102] In S402, the second number is deleted from the shared memory, and the virtual network address corresponding to the second virtual interval is deregistered.
[0103] In S403, the process layer plugin is controlled to stop outputting message information in a set format.
[0104] In S404, when a heartbeat message sent by the second physical interval corresponding to the second virtual interval is detected, the communication module corresponding to the second virtual interval is shut down to complete the exit operation of the second virtual interval.
[0105] In this embodiment, when a certain physical interval meets the conditions for resuming operation, in order to put the physical interval into use, it is necessary to deactivate the virtual interval that is already in use in the cluster monitoring and control system corresponding to that physical interval. Therefore, the operation and maintenance personnel can send a virtual interval deactivation command to the cluster monitoring and control system. The virtual interval deactivation command carries the second number of the second virtual interval that needs to be deactivated.
[0106] When the cluster monitoring and control detects a virtual interval exit command, in order to completely remove the second virtual interval from the substation control layer network, the cluster monitoring and control needs to delete the second number of the second virtual interval from the shared memory of the cluster monitoring and control, and cancel the virtual network address corresponding to the second virtual interval from the substation control layer network.
[0107] In one implementation of this embodiment, the cluster monitoring and control can delete the second number from the shared memory using a bit offset method.
[0108] In this embodiment, when the cluster monitoring and control system deletes the second number from shared memory, to avoid impacting the automation system, the process layer plugin can be controlled to stop outputting message information in a set format. That is, when the second virtual interval is decommissioned, its corresponding GOOSE message sending function also exits simultaneously, thereby saving CPU resources and improving the reliability of the cluster monitoring and control system.
[0109] The format can be set to GOOSE.
[0110] In this embodiment, after the cluster monitoring and control process layer plug-in stops outputting message information in the set format, the operation and maintenance personnel can put the second physical interval corresponding to the second virtual interval into use.
[0111] Based on this, the cluster monitoring and control system can detect in real time whether it receives a heartbeat message sent by the second entity at the interval.
[0112] In this embodiment, when the cluster monitoring and control detects a heartbeat message sent by the second physical interval, it indicates that the second physical interval has been put into use and is operating normally. At the same time, the second virtual interval is allowed to be cleared. Therefore, the cluster monitoring and control can shut down the communication module corresponding to the second virtual interval, that is, stop the MMS communication task of the second virtual interval, in order to reclaim CPU resources.
[0113] As can be seen from the above, the virtual interval deployment method provided in this embodiment receives a virtual interval exit command; wherein, the virtual interval exit command carries a second number of the second virtual interval to be decommissioned; the second number is deleted from the shared memory, and the virtual network address corresponding to the second virtual interval is deregistered; the control process layer plug-in stops outputting message information of a set format; when a heartbeat message sent by the second physical interval corresponding to the second virtual interval is detected, the communication module corresponding to the second virtual interval is shut down to complete the decommissioning operation of the second virtual interval. The method provided in this embodiment ensures that the virtual interval is completely removed from the network after decommissioning, improving the success rate of virtual interval decommissioning.
[0114] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0115] Corresponding to the virtual interval input method described in the above embodiments, Figure 6 This diagram illustrates a structural block diagram of a virtual interval input device according to an embodiment of this application. For ease of explanation, only the parts relevant to the embodiment of this application are shown. (Refer to...) Figure 6 The virtual interval input device 600 includes: an execution unit 61, a writing unit 62, and an output unit 63. Wherein:
[0116] The execution unit 61 is used to perform a virtual bay activation operation when it is detected that the first physical bay in the substation has exited operation.
[0117] The writing unit 62 is used to obtain the first number of the first virtual interval to be put into operation when the virtual interval is detected to be put into operation, and write the first number into the shared memory.
[0118] The output unit 63 is used to control the process layer plug-in to output a message indicating that the first virtual interval has been put into use when it detects that the first number is the same as the preset number pre-stored in the process layer plug-in of the cluster monitoring and control of the substation.
[0119] In one embodiment of this application, the execution unit 61 specifically includes: a first determining unit.
[0120] The first determining unit is used to determine that the first entity interval has exited operation if no heartbeat message is detected within a set time period, and to perform the virtual interval activation operation.
[0121] In one embodiment of this application, the execution unit 61 specifically includes: an input unit and an access unit. Wherein:
[0122] The deployment unit is used to deploy the first virtual interval to the virtual interval deployment position in the virtual substation scenario and to activate the communication module corresponding to the first virtual interval.
[0123] The access unit is used to access the first virtual interval into the station control layer network when it is detected that the first physical interval is not in the station control layer network of the substation.
[0124] In one embodiment of this application, the access unit specifically includes: an acquisition unit, a generation unit, and an association unit. Wherein:
[0125] The acquisition unit is used to acquire the network address table of the station control layer network; wherein the network address table stores the network addresses of each device in the station control layer network.
[0126] The generation unit is used to generate a virtual network address corresponding to the target network address when it is detected that the target network address of the first entity interval does not exist in the network address table.
[0127] The association unit is used to associate the virtual network address with the first virtual interval and to connect the first virtual interval to the station control layer network.
[0128] In one embodiment of this application, the virtual interval input device 600 further includes: a receiving unit, a deregistration unit, a control unit, and a shut-off unit. Wherein:
[0129] The receiving unit is used to receive a virtual interval exit instruction; wherein the virtual interval exit instruction carries a second number of the second virtual interval that needs to be withdrawn from use.
[0130] The deregistration unit is used to delete the second number from the shared memory and deregister the virtual network address corresponding to the second virtual interval.
[0131] The control unit is used to control the process layer plug-in to stop outputting message information in a set format.
[0132] The shutdown unit is used to shut down the communication module corresponding to the second virtual interval when a heartbeat message sent by the second physical interval corresponding to the second virtual interval is detected, so as to complete the exit operation of the second virtual interval.
[0133] In one embodiment of this application, the process layer plug-in includes two quad-core chips, each of which includes a first chip core, a second chip core, a third chip core, and a fourth chip core; wherein, the first chip core is used to complete data processing operations for message information, and the second chip core, the third chip core, and the fourth chip core are used to complete data processing operations for all virtual bays of the substation.
[0134] In one embodiment of this application, the virtual interval input device 600 further includes a second determining unit.
[0135] The second determining unit is used to determine that the first entity interval has not exited operation if a heartbeat message sent by the first entity interval is detected within a set time period, and does not perform the virtual interval activation operation.
[0136] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0137] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0138] Figure 7 This is a schematic diagram of a cluster monitoring and control structure provided in an embodiment of this application. Figure 7 As shown, the cluster monitoring and control 7 of this embodiment includes: at least one processor 70 ( Figure 7 (Only one is shown in the diagram) a processor, a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70, wherein the processor 70 executes the computer program 72 to implement the steps in the above-described embodiments of the input method for any of the virtual intervals.
[0139] The cluster monitoring and control system may include, but is not limited to, processor 70 and memory 71. Those skilled in the art will understand that... Figure 7 This is merely an example of cluster monitoring and control 7 and does not constitute a limitation on cluster monitoring and control 7. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, etc.
[0140] The processor 70 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0141] In some embodiments, the memory 71 can be an internal storage unit of the cluster monitoring and control 7, such as the RAM of the cluster monitoring and control 7. In other embodiments, the memory 71 can be an external storage device of the cluster monitoring and control 7, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the cluster monitoring and control 7. Furthermore, the memory 71 can include both internal storage units and external storage devices of the cluster monitoring and control 7. The memory 71 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 71 can also be used to temporarily store data that has been output or will be output.
[0142] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.
[0143] This application provides a computer program product that, when running on a cluster monitoring and control system, enables the cluster monitoring and control system to perform the steps described in the above-described method embodiments.
[0144] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to the cluster monitoring and control system, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.
[0145] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0146] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for inputting virtual intervals, characterized in that, include: When the first physical bay in the substation is detected to be out of operation, a virtual bay activation operation is performed. When the virtual interval deployment operation is detected, the first number of the first virtual interval to be deployed is obtained and written into the shared memory; the virtual interval deployment operation specifically involves deploying the first virtual interval corresponding to the first physical interval, wherein the correspondence between different physical intervals and different virtual intervals is stored in advance. When the first number is detected to be the same as the preset number stored in the process layer plug-in of the cluster monitoring and control of the substation, the process layer plug-in is controlled to output a message indicating that the first virtual interval has been put into use. The virtual interval deployment operation includes: deploying the first virtual interval to the virtual interval deployment position in the virtual substation scenario and activating the communication module corresponding to the first virtual interval; when it is detected that the first physical interval is not in the station control layer network of the substation, connecting the first virtual interval to the station control layer network. The step of connecting the first virtual interval to the station control layer network includes: Obtain the network address table of the station control layer network; wherein, the network address table stores the network addresses of each device in the station control layer network; When it is detected that the target network address of the first entity interval does not exist in the network address table, a virtual network address corresponding to the target network address is generated. The virtual network address is associated with the first virtual interval, and the first virtual interval is connected to the station control layer network.
2. The virtual interval input method as described in claim 1, characterized in that, When the first physical bay in the substation is detected to be out of operation, the virtual bay activation operation is performed, including: If no heartbeat message is detected from the first physical interval within the set time period, it is determined that the first physical interval has exited operation, and the virtual interval activation operation is performed.
3. The virtual interval input method as described in claim 1, characterized in that, The method further includes: If a heartbeat message sent by the first entity interval is detected within the set time period, it is determined that the first entity interval has not exited operation, and the virtual interval activation operation is not performed.
4. The virtual interval input method as described in claim 1, characterized in that, The method further includes: Receive a virtual interval exit command; wherein the virtual interval exit command carries a second number of the second virtual interval that needs to be withdrawn from use; Remove the second number from the shared memory and cancel the virtual network address corresponding to the second virtual interval; Control the process layer plugin to stop outputting message information in a set format; When a heartbeat message is detected sent by the second physical interval corresponding to the second virtual interval, the communication module corresponding to the second virtual interval is shut down to complete the exit operation of the second virtual interval.
5. The method for inputting virtual intervals as described in any one of claims 1-4, characterized in that, The process layer plug-in includes two quad-core chips, each of which includes a first chip core, a second chip core, a third chip core, and a fourth chip core. The first chip core is used to complete the data processing operation of message information, and the second chip core, the third chip core, and the fourth chip core are used to complete the data processing operation of all virtual bays of the substation.
6. A virtual interval input device, characterized in that, include: The execution unit is used to perform a virtual bay activation operation when the first physical bay in the substation is detected to be out of operation; The writing unit is used to obtain the first number of the first virtual interval to be put into operation when the virtual interval is detected, and write the first number into the shared memory; the virtual interval putting operation specifically involves putting the first virtual interval corresponding to the first physical interval into use, wherein the correspondence between different physical intervals and different virtual intervals is stored in advance; The output unit is used to control the process layer plug-in to output a message indicating that the first virtual interval has been put into use when it is detected that the first number is the same as the preset number pre-stored in the process layer plug-in of the cluster monitoring and control of the substation. The execution unit specifically includes: an input unit and an access unit; wherein: The deployment unit is used to deploy the first virtual interval to the virtual interval deployment position in the virtual substation scenario and to activate the communication module corresponding to the first virtual interval. The access unit is used to access the first virtual interval into the station control layer network when it is detected that the first physical interval is not in the station control layer network of the substation; The access unit specifically includes: an acquisition unit, a generation unit, and an association unit; wherein: The acquisition unit is used to acquire the network address table of the station control layer network; wherein, the network address table stores the network addresses of each device in the station control layer network; The generation unit is used to generate a virtual network address corresponding to the target network address when it is detected that the target network address does not exist in the network address table; The association unit is used to associate the virtual network address with the first virtual interval and to connect the first virtual interval to the station control layer network.
7. A cluster monitoring and control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the virtual interval input method as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the virtual interval input method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Virtual interval dynamic loading and releasing method and system for redundant measurement and control device
CN111708728A
Whole-station integrated digital measurement and control device and method
CN112952997A