CN116155899A - Virtual interval input method and device, cluster measurement and control and storage medium - Google Patents

Virtual interval input method and device, cluster measurement and control and storage medium Download PDF

Info

Publication number
CN116155899A
CN116155899A CN202310197125.7A CN202310197125A CN116155899A CN 116155899 A CN116155899 A CN 116155899A CN 202310197125 A CN202310197125 A CN 202310197125A CN 116155899 A CN116155899 A CN 116155899A
Authority
CN
China
Prior art keywords
virtual
interval
entity
control
detected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310197125.7A
Other languages
Chinese (zh)
Inventor
袁明军
严寿添
叶再发
陈远生
吕新亚
潘夕坤
黎强
徐浩
姬裕鹏
许平凡
韩茂林
崔幸军
梁玉生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CYG Sunri Co Ltd
Original Assignee
CYG Sunri 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 CYG Sunri Co Ltd filed Critical CYG Sunri Co Ltd
Priority to CN202310197125.7A priority Critical patent/CN116155899A/en
Publication of CN116155899A publication Critical patent/CN116155899A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The application is applicable to the technical field of power systems, and provides a virtual interval input method, a device, cluster measurement and control and storage media, wherein the method comprises the following steps: when detecting that a first entity in the transformer substation exits from running, executing virtual interval input operation; when virtual interval input operation is detected, a first number of a first virtual interval input operation is obtained, and the first number is written into a shared memory; when the first number is detected to be the same as a preset number stored in the process layer plug-in cluster measurement and control of the transformer substation, the process layer plug-in is controlled to output message information for indicating that the first virtual interval is put into use. Compared with the prior art that all virtual intervals are fixedly operated, the method provided by the application is that when a certain entity interval is detected to be withdrawn from operation, the corresponding virtual interval is put into operation, and the operation cost is reduced.

Description

Virtual interval input method and device, cluster measurement and control and storage medium
Technical Field
The application belongs to the technical field of power systems, and particularly relates to a virtual interval input method, a virtual interval input device, cluster measurement and control and storage media.
Background
The measurement and control device of the transformer substation is an acquisition and control unit serving an automation system of the transformer substation. When the entity interval measurement and control device fails or overhauls and exits to operate, the standby measurement and control device is put into operation, so that the reliability of the measurement and control function of the current interval is improved. Based on cost consideration, the standby measurement and control is designed to be deployed in a centralized way, namely one redundant measurement and control device integrates a plurality of interval measurement and control functions and is used as a standby device for measuring and controlling a plurality of interval entities at the same time, and the centralized standby measurement and control is also called cluster measurement and control. The single cluster measurement and control device needs to be capable of carrying out functional backup on at least 15 intervals in the transformer substation, so that at least 15 virtual intervals need to be controlled in cluster measurement and control, and the functions and the configuration of each virtual interval are the same as those of an entity interval.
The conventional virtual interval input method is to fixedly operate 15 virtual intervals on a cluster measurement and control device. However, the method requires that the cluster measurement and control device can load the virtual measurement and control functions of 15 entity intervals at the same time, so that a multi-core or multiple process layer plug-in units are required to realize the operation of multiple virtual intervals, which results in excessive operation cost.
Disclosure of Invention
The embodiment of the application provides a virtual interval input method, a virtual interval input device, a cluster measurement and control and storage medium, and operation cost is reduced.
In a first aspect, an embodiment of the present application provides a method for inputting a virtual space, including:
when detecting that a first entity in the transformer substation exits from running, executing virtual interval input operation;
when the virtual interval input operation is detected, a first number of a first virtual interval input operation is obtained, and the first number is written into a shared memory;
when the first number is detected to be the same as a preset number stored in a process layer plug-in cluster measurement and control of the transformer substation, the process layer plug-in is controlled to output message information for indicating that the first virtual interval is put into use.
Optionally, when detecting that the first entity in the substation exits the operation, performing virtual interval input operation includes:
if the heartbeat message sent by the first entity interval is not detected within the set time length, determining that the first entity interval is out of operation, and executing the virtual interval input operation.
Optionally, the method further comprises:
if the heartbeat message sent by the first entity interval is detected within the set time length, determining that the first entity interval does not exit operation, and not executing the virtual interval input operation.
Optionally, the performing a virtual interval throw-in operation includes:
the first virtual interval is put into a virtual interval putting position in a virtual transformer substation scene, and a communication module corresponding to the first virtual interval is started;
and when the first entity interval is detected not to be in the station-controlled layer network of the transformer substation, the first virtual interval is accessed to the station-controlled layer network.
Optionally, the accessing the first virtual interval to the station-controlled layer network includes:
acquiring a network address table of the station control layer network; wherein the network address table stores network addresses of all devices in the station-controlled layer network;
when detecting that the target network address of the first entity interval does not exist in the network address table, generating a virtual network address corresponding to the target network address;
and associating the virtual network address with the first virtual interval, and accessing the first virtual interval into the station-controlled layer network.
Optionally, the method further comprises:
receiving a virtual interval exit instruction; the virtual interval exit instruction carries a second number of a second virtual interval which needs to be used for exit;
deleting the second number from the shared memory, and canceling a virtual network address corresponding to the second virtual interval;
controlling the process layer plug-in to stop outputting message information in a set format;
and closing a communication module corresponding to the second virtual interval when the heartbeat message sent by the second entity interval corresponding to the second virtual interval is detected, so as to finish the operation of exiting the second virtual interval.
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; the first chip core is used for completing data processing operation of message information, and the second chip core, the third chip core and the fourth chip core are used for completing data processing operation of all virtual intervals of the transformer substation.
In a second aspect, an embodiment of the present application provides a virtual interval throw-in apparatus, including:
the execution unit is used for executing virtual interval input operation when detecting that the first entity interval in the transformer substation exits operation;
the writing unit is used for acquiring a first number of a first virtual interval for operation when the virtual interval operation is detected, and writing the first number into the shared memory;
and the output unit is used for controlling the process layer plug-in to output message information for indicating that the first virtual interval is put into use when the first number is detected to be the same as the preset number of the process layer plug-in cluster measurement and control of the transformer substation.
In a third aspect, an embodiment of the present application provides a cluster measurement and control device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the method of dropping a virtual space as in any one of the first aspects when the computer program is executed.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements a method of dropping a virtual space as set forth in any one of the first aspects above.
In a fifth aspect, embodiments of the present application provide a computer program product, which when run on a cluster measurement and control, enables the cluster measurement and control to perform the method for dropping virtual intervals according to any one of the first aspects above.
Compared with the prior art, the embodiment of the application has the beneficial effects that:
according to the virtual interval input method, when the first entity interval in the transformer substation is detected to be withdrawn and run, virtual interval input operation is executed; when virtual interval input operation is detected, a first number of a first virtual interval input operation is obtained, and the first number is written into a shared memory; when the first number is detected to be the same as a preset number stored in the process layer plug-in cluster measurement and control of the transformer substation, the process layer plug-in is controlled to output message information for indicating that the first virtual interval is put into use. Compared with the prior art that all virtual intervals are fixedly operated, the method provided by the application is that when a certain entity interval is detected to be withdrawn from operation, the corresponding virtual interval is put into operation, and the operation cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments or the description of the prior art, it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a cluster measurement and control structure according to an embodiment of the present disclosure;
FIG. 2 is a flowchart of an implementation of a method for dropping virtual intervals according to an embodiment of the present application;
FIG. 3 is a flowchart of an implementation of a method for dropping virtual intervals according to another embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for inputting a virtual space according to another embodiment of the present disclosure;
FIG. 5 is a flowchart of an implementation of a method for dropping virtual intervals according to another embodiment of the present application;
FIG. 6 is a schematic structural diagram of a virtual space input device according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of cluster measurement and control according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In practical application, the measurement and control device of the transformer substation is an acquisition and control unit serving an automation system of the transformer substation. When the entity interval measurement and control device fails or overhauls and exits to operate, the standby measurement and control device is put into operation, so that the reliability of the measurement and control function of the current interval is improved. Based on cost consideration, the standby measurement and control is designed to be deployed in a centralized way, namely one redundant measurement and control device integrates a plurality of interval measurement and control functions and is used as a standby device for measuring and controlling a plurality of interval entities at the same time, and the centralized standby measurement and control is also called cluster measurement and control. The single cluster measurement and control device needs to be capable of carrying out functional backup on at least 15 intervals in the transformer substation, so that at least 15 virtual intervals need to be controlled in cluster measurement and control, and the functions and the configuration of each virtual interval are the same as those of an entity interval.
Referring to fig. 1, fig. 1 is a schematic structural diagram of cluster measurement and control according to an embodiment of the present application. As shown in fig. 1, the cluster measurement and control 10 includes: the power plug-in 101, the in plug-in 102, the process layer plug-in 103 (, the management plug-in 104, the display plug-in 105, the bus 106 and N virtual spaces 107 (only three are shown in the figure), the in plug-in 102, the process layer plug-in 103, the management plug-in 104, the display plug-in 105 and the virtual spaces 107 are all connected with the power plug-in 101, and the management plug-in 104 is respectively connected with the display plug-in 105 and the virtual spaces 107, wherein N is greater than 1.
In the embodiment of the present application, the power plug-in 101 is configured to provide power for the entire cluster measurement and control 10.
The add-in 102 is used to collect hard add-in signals.
The process layer plug-in 103 is used for accessing a process layer Sampling Value (SV) message, receiving and transmitting a substation event (Generic Object Oriented Substation Event, GOOSE) message facing a general object, and calculating and processing to realize functions of remote signaling, telemetry, remote control and the like of the measurement and control device.
In one embodiment of the present application, to reduce the number of plugins and reduce hardware cost, the process layer plugin 103 may include a first process layer plugin 1031 and a second process layer plugin 1032, where the first process layer plugin 1031 and the second process layer plugin 1032 are four core chips, and each four 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 for completing data processing operation of message information, namely, is used for accessing a process layer SV message and receiving and transmitting a GOOSE message, and each of the second chip core, the third chip core and the fourth chip core can process collection core calculation of telemetry data of a set number of different virtual intervals 107, so that the second chip core, the third chip core and the fourth chip core can complete data processing operation of all the virtual intervals of the transformer substation.
It should be noted that, because the first process layer plug-in 1031 and the second process layer plug-in 1032 operate all the time after the cluster measurement and control 10 is powered on, they are not affected by the input and the output of any one virtual interval 107, so when any one virtual interval 107 exits, the cluster measurement and control can still check the remote signaling and telemetry data of any one virtual interval 107 in real time; meanwhile, the remote signaling and telemetry data of any one virtual interval 107 can be used for comparing the data of the same point location of the corresponding entity interval measurement and control, so that when the measurement and control data of the entity interval is in doubt, the remote signaling and telemetry data of the corresponding virtual interval can be referred.
In this embodiment, the management plug-in 104 is a multi-core chip, and is configured to control the use of any virtual interval 107 and the use of any virtual interval 107, and perform station-controlled layer communication of N virtual intervals 107.
The display insert 105 includes liquid crystals and keys to provide a UI interface display.
It should be noted that, the process layer plug-in 103 and the management plug-in 104 communicate through the bus 106 to implement the uploading of the telemetry data of the remote signaling and the issuing of the remote control command.
Referring to fig. 2, fig. 2 is a flowchart illustrating an implementation method of virtual interval throw-in according to an embodiment of the present application. In this embodiment of the present application, the execution main body of the virtual interval input method is cluster measurement and control, and may also be a management plug-in cluster measurement and control.
As shown in fig. 2, the method for inputting the virtual interval according to an embodiment of the present application may include S101 to S103, which are described in detail below:
in S101, when the first entity bay in the substation is detected to be out of operation, a virtual bay put-in operation is performed.
In practical application, when a certain entity interval (i.e. an entity measurement and control device) of the transformer substation fails or needs to be overhauled, the entity interval needs to be controlled to be withdrawn from operation.
In this embodiment, when the cluster measurement and control detects that the first entity interval exits, the virtual interval input operation may be executed. The first inter-entity interval may be one or a plurality of.
In one embodiment of the present application, to determine whether a first entity interval in a substation is out of operation, cluster measurement and control may perform the following steps, which are described in detail below:
detecting heartbeat messages sent by the first entity at intervals based on a set duration;
if the heartbeat message sent by the first entity interval is not detected within the set time length, determining that the first entity interval is out of operation, and executing the virtual interval input operation.
In this embodiment, the set duration may be set according to actual needs, which is not limited herein.
The heartbeat message may be a GOOSE heartbeat message.
In this embodiment, when the cluster measurement and control does not detect the heartbeat message sent by the first entity interval within the set duration, the cluster measurement and control may determine that the first entity interval has exited the operation, so the cluster measurement and control may execute the virtual interval input operation.
In one embodiment of the present application, when the cluster measurement and control detects the heartbeat message sent by the first entity interval within the set duration, it may be determined that the first entity interval is not out of operation, that is, the first entity interval is still in an operation state, so that the cluster measurement and control does not need to execute the virtual interval input operation.
In this embodiment of the present application, because the cluster measurement and control stores the correspondence between different entity intervals and different virtual intervals in advance, the virtual interval input operation specifically refers to inputting into use a first virtual interval corresponding to a first entity interval.
In another embodiment of the present application, the cluster measurement and control may specifically perform the virtual interval input operation through S201 to S202 as shown in fig. 3, which is described in detail as follows:
in S201, the first virtual interval is put into a virtual interval put position in a virtual substation scene, and a communication module corresponding to the first virtual interval is started.
In this embodiment, when the cluster measurement and control detects that the first entity interval in the substation exits, the first virtual interval corresponding to the first entity interval may be put into a virtual interval put position in a virtual substation scene, and a communication module corresponding to the virtual interval is started to start a communication task of a manufacturing message specification (Manufacturing Message Specification, MMS) of the first virtual interval, so that a process start waiting time for the first virtual interval to be put into use is reduced, and working efficiency of the cluster measurement and control is improved.
It should be noted that the virtual delivery location may be the same location in the virtual substation scenario as the location of the first entity interval in the actual substation scenario.
In S202, when it is detected that the first entity interval is not in the site-controlled layer network of the substation, the first virtual interval is accessed to the site-controlled layer network.
In practical application, when detecting that the first entity interval fails or needs to be overhauled, an operation and maintenance person needs to cut off the first entity interval from the station control layer network of the transformer substation, namely, control the first entity interval to exit the station control layer network.
Based on this, in this embodiment, when the cluster measurement and control detects that the first entity interval is not in the station-controlled layer network of the substation, the first virtual interval is accessed to the station-controlled layer network.
In one embodiment of the present application, the cluster measurement and control may specifically execute step S202 through S301 to S303 as shown in fig. 4, which is described in detail as follows:
in S301, a network address table of the station-controlled layer network is obtained; wherein the network address table stores network addresses of respective devices provided in the station-controlled layer network.
In this embodiment, in order to avoid network address collision of devices in the station control layer, the cluster measurement and control needs to acquire a network address table of the station control layer network in real time.
The network address table may be an address resolution protocol (Address Resolution Protocol, ARP) table, among others.
The network address may be an internet protocol (Internet Protocol, IP) address.
In this embodiment, after the cluster measurement and control acquires the network address table, it is required to detect whether a target network address of the first entity interval exists in the network address table.
In one embodiment of the present application, the cluster measurement and control may perform steps S302 to S303 when it is detected that there is no target network address of the first entity interval in the network address table.
In another embodiment of the present application, when the cluster measurement and control detects that the target network address of the first entity interval exists in the network address table, the first entity interval exit failure is indicated, so the cluster measurement and control may output information for prompting the operation and maintenance personnel of the first entity interval exit failure.
In S302, when it is detected that there is no target network address of the first entity interval in the network address table, a virtual network address corresponding to the target network address is generated.
In S303, the virtual network address is associated with the first virtual interval, and the first virtual interval is accessed to the station-controlled layer network.
In this embodiment, when the cluster measurement and control detects that the target network address of the first entity interval does not exist in the network address table, it is stated that the first virtual interval may be accessed to the control layer network instead of the first entity interval, so the cluster measurement and control may generate a virtual network address corresponding to the target network address of the first entity interval, associate the virtual network address with the first virtual interval, and access the first virtual interval to the control layer network.
In one implementation manner of this embodiment, the cluster measurement and control may use a virtual IP technology to simulate the target network address to obtain a virtual network address.
In S102, when the virtual interval input operation is detected, a first number of a first virtual interval input to operation is acquired, and the first number is written into a shared memory.
In the embodiment of the present application, when the cluster measurement and control detects the virtual interval input operation, the first number of the first virtual interval input operation may be obtained, and the first number may be written into the shared memory of the cluster measurement and control.
The first number is the same as the entity number of the first entity interval.
In one implementation manner of the embodiment of the present application, the cluster measurement and control may write the first number into the shared memory of the cluster measurement and control according to a bit offset manner.
In this embodiment of the present application, the cluster measurement and control may send the first number to the process layer plug-in through the bus, and write the first number into the process layer plug-in.
In S103, when it is detected that the first number is the same as a preset number stored in advance by a process layer plug-in cluster measurement and control of the substation, the process layer plug-in is controlled to output message information for indicating that the first virtual interval is put into use.
The process layer plug-in stores the setting numbers of different virtual intervals in advance.
In this embodiment of the present application, when the cluster measurement and control detects that the first number is the same as the preset number stored in the variable process layer plug-in, it is indicated that the first virtual interval may be put into use, so the cluster measurement and control may control the process layer plug-in to output the message information for indicating that the first virtual interval is put into use, and open a GOOSE message sending function corresponding to the first virtual interval.
As can be seen from the above, according to the virtual interval input method provided by the embodiment of the present application, when the first entity interval in the substation is detected to be out of operation, virtual interval input operation is performed; when virtual interval input operation is detected, a first number of a first virtual interval input operation is obtained, and the first number is written into a shared memory; when the first number is detected to be the same as a preset number stored in the process layer plug-in cluster measurement and control of the transformer substation, the process layer plug-in is controlled to output message information for indicating that the first virtual interval is put into use. Compared with the prior art that all virtual intervals are fixedly operated, the method provided by the application is that when a certain entity interval is detected to be withdrawn from operation, the corresponding virtual interval is put into operation, and the operation cost is reduced.
Referring to fig. 5, fig. 5 is a schematic diagram of a virtual space input method according to another embodiment of the present application. In contrast to the embodiment corresponding to fig. 1, the method for inputting the virtual space may further include S401 to S404, which are described in detail below:
in S401, receiving a virtual interval exit instruction; the virtual interval exit instruction carries a second number of a second virtual interval which needs to be used for exit.
In S402, the second number is deleted from the shared memory, and the virtual network address corresponding to the second virtual interval is logged out.
In S403, the process layer plug-in is controlled to stop outputting the message information in the set format.
In S404, when a heartbeat packet sent by a second entity interval corresponding to the second virtual interval is detected, closing a communication module corresponding to the second virtual interval, so as to complete the operation of exiting from use of the second virtual interval.
In this embodiment, when a certain entity interval has a recovery operation condition, in order to put the entity interval into use, the virtual interval corresponding to the entity interval in the cluster measurement and control needs to be taken out of use, so that an operation and maintenance personnel can send a virtual interval take-out instruction to the cluster measurement and control. The virtual interval exit instruction carries a second number of a second virtual interval which needs to be used for exit.
When the cluster measurement and control detects a virtual interval exit instruction, in order to thoroughly cut off the second virtual interval from the substation site-controlled layer network, the cluster measurement and control needs to delete the second number of the second virtual interval from the shared memory of the cluster measurement and control, and cancel the virtual network address corresponding to the second virtual interval from the substation site-controlled layer network.
In one implementation of this embodiment, the cluster measurement and control may delete the second number from the shared memory in a bit-offset manner.
In this embodiment, when the cluster measurement and control deletes the second number from the shared memory, in order to avoid the influence of the cluster measurement and control on the automation system, the process layer plug-in may be controlled to stop outputting the message information in the set format. That is, when the second virtual interval is withdrawn from use, the GOOSE message sending function corresponding to the second virtual interval is withdrawn simultaneously, so that the CPU resource is saved, and the reliability of cluster measurement and control is improved.
The setting format may be GOOSE format.
In this embodiment, after the cluster measurement and control process layer plug-in stops outputting the message information in the set format, the operation and maintenance personnel may put into use the second entity interval corresponding to the second virtual interval.
Based on the above, the cluster measurement and control can detect whether the heartbeat message sent by the second entity at intervals is received or not in real time.
In this embodiment, when the cluster measurement and control detects the heartbeat message sent by the second entity interval, it indicates that the second entity interval is put into use and operates normally, and at the same time, the second virtual interval is put into zero clearance, so the cluster measurement and control can close the communication module corresponding to the second virtual interval, that is, stop the MMS communication task of the second virtual interval, so as to recover the CPU resource.
As can be seen from the above, in the virtual interval input method provided in this embodiment, a virtual interval exit instruction is received; the virtual interval exit instruction carries a second number of a second virtual interval which needs to be used for exit; deleting the second number from the shared memory, and canceling the virtual network address corresponding to the second virtual interval; controlling the process layer plug-in to stop outputting message information in a set format; and when the heartbeat message sent by the second entity interval corresponding to the second virtual interval is detected, closing the communication module corresponding to the second virtual interval so as to finish the operation of exiting the second virtual interval. The method provided by the embodiment ensures that the virtual interval is thoroughly cut off from the network after the virtual interval is withdrawn from use, and improves the withdrawal success rate of the virtual interval.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
Fig. 6 shows a block diagram of a virtual space input device according to an embodiment of the present application, and for convenience of explanation, only a portion related to the embodiment of the present application is shown. Referring to fig. 6, the virtual space input apparatus 600 includes: an execution unit 61, a writing unit 62, and an output unit 63. Wherein:
the execution unit 61 is configured to execute a virtual interval throw-in operation when detecting that the first entity interval in the substation is out of operation.
The writing unit 62 is configured to, when the virtual interval input operation is detected, acquire a first number of a first virtual interval that is input into operation, and write the first number into the shared memory.
The output unit 63 is configured to control the process layer plug-in to output message information for indicating that the first virtual interval is put into use when it is detected that the first number is the same as a preset number stored in advance by the process layer plug-in cluster measurement and control of the substation.
In one embodiment of the present application, the execution unit 61 specifically includes: a first determination unit.
And the first determining unit is used for determining that the first entity interval is out of operation and executing the virtual interval input operation if the heartbeat message sent by the first entity interval is not detected within the set duration.
In one embodiment of the present application, the execution unit 61 specifically includes: a throw-in unit and an access unit.
Wherein:
the input unit is used for inputting the first virtual interval to a virtual interval input position in a virtual transformer substation scene and starting a communication module corresponding to the first virtual interval.
And the access unit is used for accessing the first virtual interval into the station control layer network of the transformer substation when the first entity interval is detected not to be in the station control layer network.
In one embodiment of the present application, the access unit specifically includes: the device comprises an acquisition unit, a generation unit and an association unit. Wherein:
the acquisition unit is used for acquiring a network address table of the station control layer network; wherein the network address table stores network addresses of respective devices provided in the station-controlled layer network.
The generating unit is used for generating a virtual network address corresponding to the target network address when detecting that the target network address of the first entity interval does not exist in the network address table.
The association unit is used for associating the virtual network address with the first virtual interval and accessing the first virtual interval into the station control layer network.
In one embodiment of the present application, the virtual space input apparatus 600 further includes: the device comprises a receiving unit, a cancellation unit, a control unit and a closing unit. Wherein:
the receiving unit is used for receiving the virtual interval exit instruction; the virtual interval exit instruction carries a second number of a second virtual interval which needs to be used for exit.
And the cancellation unit is used for deleting the second number from the shared memory and canceling the virtual network address corresponding to the second virtual interval.
The control unit is used for controlling the process layer plug-in to stop outputting the message information with the set format.
And the closing unit is used for closing the communication module corresponding to the second virtual interval when the heartbeat message sent by the second entity interval corresponding to the second virtual interval is detected, so as to finish the operation of exiting the second virtual interval.
In one embodiment of the present application, the process layer plug-in includes two quad-core chips, each of which includes a first core, a second core, a third core, and a fourth core; the first chip core is used for completing data processing operation of message information, and the second chip core, the third chip core and the fourth chip core are used for completing data processing operation of all virtual intervals of the transformer substation.
In one embodiment of the present application, the virtual space input apparatus 600 further includes: and a second determination unit.
And the second determining unit is used for determining that the first entity interval does not exit operation and not executing the virtual interval input operation if the heartbeat message sent by the first entity interval is detected within the set duration.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Fig. 7 is a schematic structural diagram of cluster measurement and control according to an embodiment of the present application. As shown in fig. 7, the cluster measurement and control 7 of this embodiment includes: at least one processor 70 (only one shown in fig. 7), a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70, the processor 70 implementing the steps in any of the various virtual interval drop-in method embodiments described above when executing the computer program 72.
The cluster instrumentation may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is merely an example of the cluster measurement and control 7, and is not meant to limit the cluster measurement and control 7, and may include more or less components than illustrated, or may combine certain components, or different components, such as input-output devices, network access devices, etc.
The processor 70 may be a central processing unit (Central Processing Unit, CPU) and the processor 70 may be other general purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may in some embodiments be an internal storage unit of the cluster instrumentation 7, such as a memory of the cluster instrumentation 7. The memory 71 may also be an external storage device of the cluster measurement and control 7 in other embodiments, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like, which are provided on the cluster measurement and control 7. Further, the memory 71 may also include both an internal storage unit and an external storage device of the cluster measurement and control 7. The memory 71 is used for storing an operating system, application programs, boot loader (BootLoader), data, other programs, etc., such as program codes of the computer program. The memory 71 may also be used for temporarily storing data that has been output or is to be output.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps that may implement the various method embodiments described above.
The embodiments of the present application provide a computer program product, which when run on a cluster measurement and control, enables the implementation of the steps in the embodiments of the methods described above when the cluster measurement and control is performed.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow in the methods of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program may implement the steps of each method embodiment described above when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to the cluster measurement and control, a recording medium, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (10)

1. A method for inputting a virtual space, comprising:
when detecting that a first entity in the transformer substation exits from running, executing virtual interval input operation;
when the virtual interval input operation is detected, a first number of a first virtual interval input operation is obtained, and the first number is written into a shared memory;
when the first number is detected to be the same as a preset number stored in a process layer plug-in cluster measurement and control of the transformer substation, the process layer plug-in is controlled to output message information for indicating that the first virtual interval is put into use.
2. The method for commissioning a virtual bay of claim 1, wherein said performing a virtual bay commissioning operation when a first physical bay exit operation in a substation is detected comprises:
if the heartbeat message sent by the first entity interval is not detected within the set time length, determining that the first entity interval is out of operation, and executing the virtual interval input operation.
3. The method of plunging a virtual space of claim 1, further comprising:
if the heartbeat message sent by the first entity interval is detected within the set time length, determining that the first entity interval does not exit operation, and not executing the virtual interval input operation.
4. The method of dropping a virtual space according to claim 1, wherein the performing a virtual space dropping operation includes:
the first virtual interval is put into a virtual interval putting position in a virtual transformer substation scene, and a communication module corresponding to the first virtual interval is started;
and when the first entity interval is detected not to be in the station-controlled layer network of the transformer substation, the first virtual interval is accessed to the station-controlled layer network.
5. The method for dropping a virtual interval as recited in claim 4, wherein said accessing said first virtual interval to said station-level network comprises:
acquiring a network address table of the station control layer network; wherein the network address table stores network addresses of all devices in the station-controlled layer network;
when detecting that the target network address of the first entity interval does not exist in the network address table, generating a virtual network address corresponding to the target network address;
and associating the virtual network address with the first virtual interval, and accessing the first virtual interval into the station-controlled layer network.
6. The method of plunging a virtual space of claim 1, further comprising:
receiving a virtual interval exit instruction; the virtual interval exit instruction carries a second number of a second virtual interval which needs to be used for exit;
deleting the second number from the shared memory, and canceling a virtual network address corresponding to the second virtual interval;
controlling the process layer plug-in to stop outputting message information in a set format;
and closing a communication module corresponding to the second virtual interval when the heartbeat message sent by the second entity interval corresponding to the second virtual interval is detected, so as to finish the operation of exiting the second virtual interval.
7. The virtual space input method according to any one of claims 1-6, wherein the process layer plug-in includes two quad-core chips, each of the quad-core chips including a first core, a second core, a third core, and a fourth core; the first chip core is used for completing data processing operation of message information, and the second chip core, the third chip core and the fourth chip core are used for completing data processing operation of all virtual intervals of the transformer substation.
8. A virtually-compartmentalized input device, comprising:
the execution unit is used for executing virtual interval input operation when detecting that the first entity interval in the transformer substation exits operation;
the writing unit is used for acquiring a first number of a first virtual interval for operation when the virtual interval operation is detected, and writing the first number into the shared memory;
and the output unit is used for controlling the process layer plug-in to output message information for indicating that the first virtual interval is put into use when the first number is detected to be the same as the preset number of the process layer plug-in cluster measurement and control of the transformer substation.
9. Cluster measurement and control comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method of plunging virtual intervals according to any one of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the virtual interval plunging method according to any one of claims 1 to 7.
CN202310197125.7A 2023-02-23 2023-02-23 Virtual interval input method and device, cluster measurement and control and storage medium Pending CN116155899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310197125.7A CN116155899A (en) 2023-02-23 2023-02-23 Virtual interval input method and device, cluster measurement and control and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310197125.7A CN116155899A (en) 2023-02-23 2023-02-23 Virtual interval input method and device, cluster measurement and control and storage medium

Publications (1)

Publication Number Publication Date
CN116155899A true CN116155899A (en) 2023-05-23

Family

ID=86354357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310197125.7A Pending CN116155899A (en) 2023-02-23 2023-02-23 Virtual interval input method and device, cluster measurement and control and storage medium

Country Status (1)

Country Link
CN (1) CN116155899A (en)

Similar Documents

Publication Publication Date Title
CN103201724A (en) Providing application high availability in highly-available virtual machine environments
CN102709888B (en) Method and system of on-line fixed value operation of signal protection substation
CN111143167B (en) Alarm merging method, device, equipment and storage medium for multiple platforms
CN111984601A (en) Log file deleting method and device, electronic equipment and storage medium
CN107368384A (en) A kind of Linux server abnormal information dump system and method
CN116155899A (en) Virtual interval input method and device, cluster measurement and control and storage medium
CN110707824B (en) Redundancy configuration method, device, equipment and storage medium of measurement and control device
JP2012089049A (en) Computer system and server
CN112395141B (en) Data page management method and device, electronic equipment and storage medium
CN112751782B (en) Flow switching method, device, equipment and medium based on multi-activity data center
CN105323093A (en) Fault information collection method, device and system
CN103853643A (en) An apparatus and a method for memory testing by a programmable circuit in a safety critical system
CN111752911A (en) Data transmission method, system, terminal and storage medium based on Flume
KR102102335B1 (en) Dual memory structure and method for processing message of PLC using thereof
CN115102145B (en) Linkage policy sharing method and device for equipment, terminal and readable storage medium
CN116861488B (en) Data file writing method and device, electronic equipment and storage medium
CN112530139B (en) Monitoring system, method, device, collector and storage medium
CN114148381B (en) Working condition mode automatic switching method, device, equipment and medium based on operation diagram
CN113096269B (en) Information acquisition method and device, electronic equipment and storage medium
CN105894864B (en) A kind of configuration management system and method based on TCASII airborne collision avoidance systems
CN117827164A (en) Software architecture method, equipment and medium of rail transit monitoring operation and maintenance system
CN115603901A (en) Key updating method, device, acquisition terminal equipment and storage medium
CN116614325A (en) Method and system for vehicle LIN node scheduling configuration and vehicle
CN118262425A (en) Road toll collection system, method, electronic device and storage medium
CN115188100A (en) Use control method of battery storage cabinet, server and battery storage cabinet

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