Cluster measurement and control device for seamless switching of faults

文档序号:6911 发布日期:2021-09-17 浏览:30次 中文

1. The utility model provides a trouble seamless handover's cluster measurement and control device which characterized in that includes: the device comprises a logic calculation module, a static storage controller and a storage module;

the logic calculation module is used for receiving read instruction data of the storage module through the static storage controller, the storage module is used for receiving write instruction data of the logic calculation module through the static storage controller, and the static storage controller is used for backing up data in real time;

the logic calculation module comprises a main logic calculation module and a standby logic calculation module, and the storage module comprises a main storage module and a standby storage module;

and the static storage controller is further configured to switch to the corresponding standby logic calculation module and the standby storage module for operation when it is judged that one or more of the main logic calculation module and the main storage module has a fault.

2. The seamlessly switched cluster instrumentation device of claim 1, wherein the static storage controller comprises a logical compute module side Port and a storage side Port, wherein the logical compute module side Port comprises a Port-a Port and a Port-B Port that can receive the read instructions, the write instructions, and the data stream, and wherein the storage side Port comprises a Port-I Port and a Port-II Port that only perform data interactions.

3. The apparatus of claim 2, wherein the static storage controller is connected to the main logic computation module and the standby logic computation module, and if the static storage controller does not receive a write command from the Port-a Port within a time period T1, the apparatus switches to the Port-B Port, and the main logic computation module sends a heartbeat signal to the standby logic computation module via the static storage controller at a periodic timing of T2, where T2> T1.

4. The device according to claim 3, wherein the main storage module of the storage modules includes a main static storage module and a main dynamic storage module, and the standby storage module includes a standby static storage module and a standby dynamic storage module.

5. The device according to claim 4, wherein the static storage controller is further configured to determine that the main static storage module is faulty when the static storage controller cannot access the main static storage module within a preset time threshold.

6. The seamlessly switched cluster instrumentation and control device of claim 5, wherein when the primary storage module fails, the standby storage module sends the read command data to the static storage controller via the Port-II Port, the static storage controller sends the read command data to the logic computation module via the Port-A Port, the logic computation module sends the write command data to the static storage controller via the Port-II Port, and the static storage controller sends the write command data to the standby storage module via the Port-II Port.

7. The apparatus according to claim 6, wherein the static storage controller is further configured to determine that the main logic computing module is faulty when the static storage controller does not receive the write command from the main logic computing module within time T1 and the standby logic computing module does not receive the heartbeat signal within time T2.

8. The apparatus according to claim 7, wherein when the primary logic computing module fails, the primary storage module sends the read instruction data to the static storage controller via the Port-I Port, the static storage transmits the read instruction data to the standby logic computing module via the Port-B Port, and the static storage controller switches to the Port-B Port to receive the write instruction data of the standby logic computing module and transmits the write instruction data to the storage module.

9. The device according to claim 8, wherein the static storage controller is further configured to determine that the main logic computation module and the main storage module are failed at the same time when the instruction of the main logic computation module and the data of the main storage module are not received within a preset time threshold.

10. The apparatus according to claim 9, wherein when the primary logic computation module and the primary storage module fail simultaneously, the standby static storage module sends the read instruction data to the static storage controller via the Port-II Port, the static storage controller switches to the Port-B Port to send the read instruction data to the standby logic computation module, the standby logic module sends the write instruction data to the static storage controller via the Port-B Port, and the static storage controller sends the write instruction data to the standby static storage module via the Port-II Port.

Background

At present, an intelligent transformer substation which is put into operation adopts an interval-oriented measurement and control scheme, and mainly has topological structures such as spare, one spare, more, virtual spare and real, virtual spare and mutual spare. The prior art proposes that a plurality of entity measurement and control devices and one cluster measurement and control device capable of running a plurality of virtual measurement and control devices are mutually standby, switching is carried out between the entity measurement and control devices and the virtual measurement and control devices according to running states such as faults/abnormity and the like, a traditional three-layer two-network structure is compressed into a two-layer one-network structure, and a structure that two board cards are mutually standby is adopted. On the other hand, the architecture of the virtual measurement and control device and the visual configuration scheme of the virtual measurement and control instantiation are provided, and the virtual measurement and control instantiation refers to the design of virtual measurement and control software/hardware according to the requirements of field engineering, and the switching of the fault state device is realized by a dynamic migration technology. However, as socio-economic development progresses, the requirement of the power system on the reliability of the measurement and control function is gradually increased, the existing single set of measurement and control device without the standby entity is difficult to meet the requirement, and the dynamic migration of the existing scheme of the cluster measurement and control technology consumes a long time, resulting in a slow fault switching process.

Disclosure of Invention

The invention aims to provide a cluster measurement and control device capable of realizing seamless fault switching, and aims to solve the problem of low fault switching efficiency of the cluster measurement and control device.

In order to achieve the above object, the present invention provides a cluster measurement and control device for seamless fault switching, which includes: the device comprises a logic calculation module, a static storage controller and a storage module;

the logic calculation module is used for receiving read instruction data of the storage module through the static storage controller, the storage module is used for receiving write instruction data of the logic calculation module through the static storage controller, and the static storage controller is used for backing up data in real time;

the logic calculation module comprises a main logic calculation module and a standby logic calculation module, and the storage module comprises a main storage module and a standby storage module;

and the static storage controller is further configured to switch to the corresponding standby logic calculation module and the standby storage module for operation when it is judged that one or more of the main logic calculation module and the main storage module has a fault.

Preferably, the static storage controller includes a logical compute module side Port including a Port-A Port and a Port-B Port that can receive the read instruction, the write instruction, and the data stream, and a storage side Port including a Port-I Port and a Port-II Port that only perform data interactions.

Preferably, the static storage controller is connected to the main logic computation module and the standby logic computation module respectively, if the static storage controller does not receive a write command from the Port-a Port within a time period T1, the static storage controller switches to the Port-B Port, and the main logic computation module sends a heartbeat signal to the standby logic computation module through the static storage controller at a periodic timing of T2, where T2> T1.

Preferably, the main storage module of the storage modules includes a main static storage module and a main dynamic storage module, and the standby storage module includes a standby static storage module and a standby dynamic storage module.

Preferably, the static storage controller is further configured to determine that the main static storage module fails when the static storage controller cannot access the main static storage module within a preset time threshold.

Preferably, when the primary static storage module fails, the standby static storage module sends the read instruction data to the static storage controller through the Port-II Port, the static storage controller sends the read instruction data to the logic computation module through the side Port of the logic computation module, the logic computation module sends the write instruction data to the static storage controller through the Port-a Port, and the static storage controller sends the write instruction data to the standby static storage module through the Port-II Port.

Preferably, the static storage controller is further configured to determine that the main logic computation module fails when the static storage controller does not receive the write command from the main logic computation module within time T1 and the standby logic computation module does not receive the heartbeat signal within time T2.

Preferably, when the main logic computing module fails, the main storage module sends the read instruction data to the static storage controller through the Port-I Port, the static storage transmits the read instruction data to the standby logic computing module through the Port-B Port, and the static storage controller switches to the Port-B Port to receive the write instruction data of the standby logic computing module and transmits the write instruction data to the storage module.

Preferably, the static storage controller is further configured to determine that the main logic computation module and the main storage module are failed simultaneously when the instruction of the main logic computation module and the instruction of the main storage module are not received within a preset time threshold.

Preferably, when the main logic calculation module and the main storage module fail simultaneously, the standby static storage module sends the read instruction data to the static storage controller through the Port-II Port, the static storage controller switches to the Port-B Port to send the read instruction data to the standby logic calculation module, the standby logic module sends the write instruction data to the static storage controller through the Port-B Port, and the static storage controller sends the write instruction data to the standby static storage module through the Port-II Port.

According to the invention, through independently designing the logic calculation module and the storage module of the cluster measurement and control device, the static storage controller is used for realizing the real-time backup of state variable data, and the seamless switching of the fault device is realized by combining a program design mode of strictly binding the state variable and the address, so that the efficiency and the speed of the fault switching are improved.

Drawings

In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.

Fig. 1 is a schematic structural diagram of a cluster measurement and control device for seamless fault switching according to an embodiment of the present invention;

fig. 2 is a schematic flow chart of a cluster measurement and control device for seamless fault switching according to another embodiment of the present invention;

fig. 3 is a schematic structural diagram of a normal operation of a cluster measurement and control device according to another embodiment of the present invention;

FIG. 4 is a schematic structural diagram illustrating a failure of a main static storage module according to an embodiment of the present invention;

FIG. 5 is a schematic structural diagram of a main logic computing module according to another embodiment of the present invention when it fails;

FIG. 6 is a schematic structural diagram of a primary storage module and a primary logic computation module according to another embodiment of the present invention when they fail simultaneously.

Detailed Description

The technical solutions in the present invention will be described clearly and completely with reference to the accompanying drawings, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It should be understood that the step numbers used herein are for convenience of description only and are not used as limitations on the order in which the steps are performed.

It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

The terms "comprises" and "comprising" indicate the presence of the described 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.

The term "and/or" refers to and includes any and all possible combinations of one or more of the associated listed items.

Referring to fig. 1, the present invention provides a cluster measurement and control device for seamless fault switching, including: the logic calculation module 100 is used for receiving read instruction data of the storage module 300 through the static storage controller 200, the storage module 300 is used for receiving write instruction data of the logic calculation module 100 through the static storage controller 200, wherein the static storage controller 200 is used for backing up data in real time, the logic calculation module 100 comprises a main logic calculation module 11 and a standby logic calculation module 12, the storage module 300 comprises a main storage module 31 and a standby storage module 32, and the static storage controller 200 is further used for switching operation to the corresponding standby logic calculation module 12 and standby storage module 32 when judging that one or more of the main logic calculation module 11 and the main storage module 31 fails.

Referring to fig. 2, the present invention adopts a virtual-virtual mutual backup form, the interval 1 virtual measurement and control logic calculation and the interval 1 virtual measurement and control storage jointly form an interval 1 entity measurement and control function implementation unit, the storage module 300 includes virtual measurement and control static storage at intervals 1 to N and virtual measurement and control dynamic storage at intervals 1 to N, the logic calculation module 100 includes a power-on loaded solidification program and configuration files, and is responsible for the same functions as the entity measurement and control devices, such as synchronous vector calculation, reporting, communication, and the like, usually two or more cluster measurement and control devices are adopted to form a main/standby machine structure, the configuration files of the main machine and the standby machine, such as CID, CCD, and the like, are completely the same, the executable program and the configuration file of the storage module 300 are distinguished as standby machine identities by flag bits, and the highest address bit is 0 as the main storage module 31.

Further, static memory controller 200 includes a logical compute module side port and a memory side port,

the side Port of the logic computing module includes a Port-a Port and a Port-B Port which can receive a read instruction, a write instruction and a data stream, the side Port of the storage module includes a Port-I Port and a Port-II Port which only perform data interaction, the main storage module 31 in the storage module 300 includes a main static storage module 311 and a main dynamic storage module 312, and the standby storage module 32 includes a standby static storage module 321 and a standby dynamic storage module 322.

Referring to fig. 3, the main logic calculation module 11 and the standby logic module 12 include virtual measurement and control programs/configurations between interval 1 and interval N and virtual measurement and control logic calculations between interval 1 and interval N, the main storage module 31 includes main static storage modules 311 to 311 between interval 1 and interval N, main dynamic storage modules 312 and 312 between interval 1 and interval N, and the standby storage module 32 includes standby static storage modules 321 to 321 between interval 1 and interval N, standby dynamic storage modules 322 at interval 1 and active dynamic storage modules 322 at interval N.

When the device is powered on, firstly, the Port which sends a write instruction to the static storage module 311 is set as a host by the static storage controller 200, and a host active timer T1 is set, then the static storage controller 200 does not receive a host read/write operation instruction from the Port-A end within the time T1, the Port-B Port write right is opened, the host loads a configuration and an executable program from a measurement and control program/configuration storage area, writes configuration parameters into the main static storage module 311 and the standby static storage module 321, completes the check flow before initialization and operation, and sends a heartbeat signal to the standby machine by taking T2 as a periodic timing, wherein T2 is greater than T1, specifically, the static storage controller 200 is respectively connected with the main logic calculation module 11 and the standby logic calculation module 12, if the static storage controller 200 does not receive the write instruction of the main logic calculation module 11 from the Port-A Port within the time T1, then switch to Port-B Port and master logic computation module 11 sends a heartbeat signal to slave logic computation module 12 via sram controller 200 at periodic timing T2.

When the static storage controller 200 can not obtain the read/write command from the Port-A Port of the host, the Port-B Port of the standby machine is switched to, wherein the standby machine is not limited to one standby machine, when any standby machine fails, the standby machine is switched to other standby machines, and the Port connecting the standby machine and the static storage controller 200 is the Port-B Port during normal operation. The standby machine loads an executable program from the measurement and control program/configuration storage area, locks and writes a static storage area and a communication outlet, and locks time T3, wherein T3> T2, resets a lock time counter after receiving a heartbeat signal, but can freely execute read-write operation on the dynamic storage area of the standby machine, wherein when receiving a read instruction, the static storage controller 200 reads data from an appointed address of the main storage module 31 and transmits the data to a corresponding port, when a plurality of ports simultaneously issue the read instruction or a slave port is executing the read instruction, the host port is taken as the highest priority, the slave task can be interrupted, the real-time performance of the host is ensured, when receiving the write instruction, the static storage controller 200 actively writes contents into the main static storage module 311 and the standby static storage module 321 respectively, after the device normally operates, the main logic calculation module 11 is taken as a server to interact with a background client in real time, so as to realize an interval measurement and control function, and when the corresponding measurement and control instruction is completed, the standby machine receives the SV (Sampled Value) message and the GOOSE (Generic Object Oriented Substation Event) message which are the same as those of the host machine, so that the same functions are realized, and only external communication and write operation instructions are locked.

Further, the static storage controller 200 is further configured to determine that the main static storage module 311 fails when the static storage controller 200 cannot access the main static storage module 311 within a preset time threshold. When the main static storage module 311 fails, the standby static storage module 321 sends read instruction data to the static storage controller 200 through the Port-II Port, the static storage controller 200 sends the read instruction data to the logic calculation module 100 through the side Port of the logic calculation module, the logic calculation module 100 sends write instruction data to the static storage controller 200 through the Port-a Port, and the static storage controller 200 sends the write instruction data to the standby static storage module 321 through the Port-II Port.

Referring to fig. 4, when the main static storage module 311 fails, the static storage controller 200 cannot access the main static storage module 311, and the static storage controller 200 cannot access the main static storage module 311 within a time T4(T4 is much smaller than the processing cycle of the upper layer application), then the read data flow is diverted to the secondary static storage module 321, and then no read/write operation is required to be performed on the main static storage module 311 until reset/restart, since the storage area operation flow is processed by the static storage controller 200, is decoupled from the logic calculation module 100, and is transparent to the logic calculation module 100, the upper layer application cannot sense the failure of the main static storage module 311, thereby implementing seamless switching in the case of the failure, and the transmission path of the main static storage module 312 is the same as that of the main static storage module 311 when the failure occurs.

Further, the static storage controller 200 is further configured to determine that the main logic computing module 11 fails when the static storage controller 200 does not receive the write command from the main logic computing module 11 within time T1 and the standby logic computing module 12 does not receive the heartbeat signal within time T2. When the main logic calculation module 11 fails, the main storage module 31 sends read instruction data to the static storage controller 200 through the Port-I Port, the static storage controller 200 transmits the read instruction data to the standby logic calculation module 12 through the Port-B Port, and the static storage controller 200 switches to the Port-B Port to receive write instruction data of the standby logic calculation module 12 and transmits the write instruction data to the storage module 300.

Referring to fig. 5, when the main logic computing module 11 fails, the static storage controller with the delay T1 does not receive the read/write operation instruction from the main port, opens the write permission from other ports, and the standby logic computing module 12 does not receive the heartbeat signal, a delay T3 is delayed to open the write static storage area and the communication exit, after which, the static storage controller 200 sets the port that received the write operation command the earliest after the original port failure as the host port, resumes normal operation, because the static storage controller realizes the real-time backup of the state variable data, the standby machine can correctly access the state variable by adopting the design mode of strictly binding the state variable and the address when the main machine and the standby machine are designed, the main static storage module 311 and the standby static storage module 321 completely replace the server role of the host at the time of the failure, provide continuous service for the client, and realize seamless switching under the failure condition.

Further, the static storage controller 200 is further configured to determine that the main logic computation module 11 and the main storage module 31 are failed simultaneously when the instruction of the main logic computation module 11 and the instruction of the main storage module 31 are not received within a preset time threshold. When the main logic calculation module 11 and the main storage module 31 simultaneously fail, the standby static storage module 321 sends read instruction data to the static storage controller 200 through the Port-II Port, the static storage controller 200 switches to the Port-B Port to send the read instruction data to the standby logic calculation module 12, the standby logic module 12 sends write instruction data to the static storage controller 200 through the Port-B Port, and the static storage controller 200 sends the write instruction data to the standby static storage module 321 through the Port-II Port.

Referring to fig. 6, when the static storage controller 200 does not receive the instructions from the main logic computing module 11 and the main storage module 31 within the preset time interval, it determines that the two modules are failed at the same time, repeats the above failure determination steps of the main logic computing module 11 and the main static storage module 311, and determines that the static storage controller 200 cannot obtain the read/write instruction and the data stream from the main logic computing module 11 and the main storage module 31, and then performs the read/write instruction operation from the standby logic computing module 12 and the standby storage module 32.

The invention independently designs the logic calculation module and the storage module of the cluster measurement and control device, realizes the real-time backup of state variable data by the static storage controller, eliminates the data migration process, realizes the seamless switching of a fault device by combining the program design mode of strictly binding the state variable and the address, simultaneously, the operation flow of a storage area is processed by the static storage controller, is decoupled from the logic calculation module, is transparent to the logic calculation module, reduces the workload of the cluster measurement and control device transplantation, and improves the efficiency.

While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种供电用的控制系统、平台及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类