A method for realizing a high-reliability parallel redundant network with the shortest path of communication equipment

By adopting the shortest path high-reliability parallel redundant network (SPHPR) technology in smart substation communication equipment, the problem that smart substation communication equipment cannot automatically recover during network storms is solved, and high reliability and low latency network communication is achieved. Completely eradicate network loop storms and improve network reliability and bandwidth utilization.

CN116319519BActive Publication Date: 2025-02-07NANJING GUODIAN NANZI POWER GRID AUTOMATION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310047844.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-31
Publication Date
2025-02-07
Estimated Expiration
2043-01-31

AI Technical Summary

Technical Problem

Smart substation communication equipment cannot automatically recover during network storms, topological changes converge for a long time, network failure recovery time is long, data traffic is lost, bandwidth is not fully utilized, and there is a risk of network loop storm.

Method used

Using the shortest path high-reliability parallel redundant network (SPHPR) technology, the substation network switch can be used to add feature data to the substation network switch to achieve limited message forwarding, support a hierarchical network architecture, achieve high reliability and low latency, and use address forwarding to make it easier to use address forwarding. The shortest path of service packets arrives, making full use of bandwidth.

Benefits of technology

It realizes that intelligent substation communication equipment does not affect services in the case of N-1 point failure, completely eradicate network loop storms, link or node failure recovery, zero packet loss, zero switching time, and improve network reliability and bandwidth utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116319519B_ABST
    Figure CN116319519B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for implementing a shortest path high-reliability parallel redundant network (SPHPR) for communication equipment. Feature data is added to the source message header by an access switch, and N (N>1 natural number) copies of the message are sent, and the receiving end discards N-1 copies of redundant data. The substation network switch simultaneously sends a general message with feature data to N ports of a single ring network, and the receiving switch discards duplicate late-arriving messages, and parses and processes the message header through an agreed feature data format. The substation network switch configures multicast address forwarding in a static manner, and discards messages that are not within the configuration range. The SPHPR principle is used to configure the hot backup topology of the star network core exchange between communication devices, and the dual-channel or multi-channel transmission of the message is used to realize the parallel redundant hot backup of the core gigabit switch. The present invention enables the intelligent substation communication equipment to completely eradicate network loop storms, greatly improving the reliability of the intelligent substation network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent substation communication, and in particular to a method for realizing a shortest path high-reliable parallel redundant network (SPHPR) of communication equipment. Background Art

[0002] The communication equipment of smart substations usually has broadcast and unknown unicast storm suppression functions, and does not restrict unknown multicast traffic. When a network storm occurs, it cannot automatically recover. The network is based on the principles of ring network and spanning tree protocol. The protocol is relatively complex, the topology change convergence time is long (milliseconds), the network failure recovery time is long, data traffic packet loss, bandwidth is not fully utilized, and equal cost multi-path forwarding is not possible. There is a risk of network storm when the protocol does not converge or fails. The link aggregation function also has a long switching time (milliseconds) and data traffic packet loss when the link fails. The single star network is simple and easy to expand, without the risk of network storms, and the delay is small, but the reliability is low. Failure of the link or communication node will cause the power device to be disconnected from the network. The dual star type has higher reliability, and the power device needs to support PRP (Parallel Redundancy Protocol), and the investment in communication equipment is doubled. Summary of the invention

[0003] In order to meet the real-time, reliable, economical and flexible requirements of GOOSE, CMS / MMS and IEEE1588 multi-service data network isolation in smart substations, SPHPR follows the following principles:

[0004] 1) Network self-healing function: In high-reliability scenarios, failure of any device, any link, or any communication equipment at N-1 (N>1 natural number) points will not affect the service;

[0005] 2) Limited forwarding of business messages to eliminate loop storms;

[0006] 3) Support hierarchical network architecture to achieve high reliability, low latency and jitter from end to end;

[0007] 4) Use the (multicast) address forwarding table to ensure that the first service message arrives via the shortest path, making full and efficient use of bandwidth to effectively forward service messages;

[0008] 5) Support VLAN isolation network and achieve high reliability redundancy based on VLAN;

[0009] 6) The same network adopts a unified high-reliability redundant technology standard, which is conducive to achieving unnecessary protocol conversion;

[0010] 7) Each communication node and node port has equal status, and adding or removing devices and ports is flexible;

[0011] 8) Reduce the complexity of device configuration, make service deployment convenient and flexible, and reduce operation and maintenance costs;

[0012] 9) Realize interconnection and intercommunication with the common mode of traditional switch equipment;

[0013] 10) The device supports active-standby, shared, and parallel redundant access modes.

[0014] Based on this, the purpose of the present invention is to provide a method for realizing a high-reliability parallel redundant network with the shortest path of communication equipment, so that the communication equipment of the smart substation can completely eliminate network loop storms, and recover from link or node failures with zero packet loss and zero switching time, greatly improving the reliability of the smart substation network.

[0015] In order to solve the above problems, the present invention provides a method for implementing a shortest path high-reliability parallel redundant network for communication equipment. The method is implemented based on a substation network switch supporting the SPHPR function, and comprises:

[0016] The access substation network switch receives the original message, adds characteristic data to the message header, and simultaneously sends the same message with characteristic data to several ports of the single ring network according to the configured address forwarding table; the characteristic data includes the message survival time TTL, the globally unique DevID, the dynamically allocated SeqNo and the sending port mask portmask;

[0017] The receiving substation network switch receives the message with characteristic data, parses and processes the message, discards the message with TTL<=0 and the message with the same DevID as the local DevID, reduces the message survival time TTL value of the message with TTL>0 by 1, and sends the processed identical message to several ports of the single ring network at the same time according to the configured address forwarding table. When the message survival time TTL<=1, it will no longer be forwarded to the adjacent substation network switch, but the message with TTL of 1 can be forwarded to the terminal power device connected to this switch;

[0018] When the substation network switch finds that data flows to the terminal power device, it discards duplicate messages based on the message source MAC address, SeqNo and receiving record table, and sends a duplicate-filtered message to the power device.

[0019] Furthermore, the substation network switch includes a switching chip connected to the CPU and two FPGA chips connected to the switching chip. The switching chip supports precise control of business traffic, VLAN isolation, rapid fault location, network security monitoring, port mirroring and whitelist filtering and forwarding; the FPGA chip uses the same clock source for synchronization to realize SPHPR function message reception and transmission, add and modify characteristic data to the original message, discard redundant messages, and restore the message with characteristic data to the original message and send it to the power device. The FPGA chip has several ports that support the SPHPR function.

[0020] Furthermore, the method specifically includes:

[0021] The switch port receives the message and determines whether the receiving port participates in the SPHPR function. If so, it determines whether the message contains characteristic data. If it is the original first message, the default configuration TTL, globally unique DevID, and dynamically allocated SeqNo are added to the original message; the switching chip queries the sending port group based on the static multicast address forwarding table and copies the message to the corresponding sending port group; it determines whether the sending port is connected to the switch. If so, it updates the sending port's bit sequence mask portmask on the local machine and sends the message on this port.

[0022] Furthermore, the method further includes:

[0023] If it is determined that the received message contains characteristic data, then if TTL<=0, the message will be discarded, otherwise TTL-1; if DevID is the same as the local DevID, the message will be discarded; the switching chip queries the sending port group based on the static multicast address forwarding table and copies the message to the corresponding sending port group; it is determined whether the other end of the sending port is connected to a switch. If it is connected to a switch, the message will be discarded if TTL<=1, otherwise the message will be forwarded to the adjacent switch at this port.

[0024] Furthermore, the method further includes:

[0025] If it is determined that the sending port is connected to a power device, duplicate messages are discarded based on the receiving record table established based on the message source MAC address, SeqNo, and receiving multicast address; it is determined whether the receiving power device supports SPHPR. If the receiving power device supports SPHPR, the switch sends a message with characteristic data to the power device, otherwise the switch sends the original message without the characteristic data to the power device.

[0026] Furthermore, the method further includes:

[0027] When a switch port receives a message, if it is determined that the receiving port does not participate in the SPHPR function, the data is directly forwarded according to the traditional Ethernet mode. The message is forwarded in a network switch without a loop and can be isolated through VLAN.

[0028] Furthermore, the method specifically includes:

[0029] The port of one of the two FPGA chips is used as the receiving port, and the port of the other FPGA chip is used as the sending port. When the receiving port receives a unicast message, it is determined whether the receiving port participates in the SPHPR function. If it participates, it is determined whether the message carries characteristic data. If it is an original message, the default TTL, the globally unique DevID, and the dynamically allocated SeqNo are added; the switching chip queries the unicast address forwarding table to determine the sending port, copies the message to the sending port, determines whether the sending port is connected to the switch, and if it is connected to the switch, updates the bit sequence mask portmask of the sending port on the local machine, and sends the message on this port.

[0030] Furthermore, the method further includes:

[0031] If it is determined that the message received by the receiving port contains characteristic data, then if TTL<=0, the message will be discarded, otherwise TTL-1; if DevID is the same as the local DevID, the message will be discarded; the switching chip queries the unicast address forwarding table to determine the sending port, and copies the message to the sending port; it is determined whether the other end of the sending port is connected to a switch. If it is connected to a switch, the message will be discarded if TTL<=1, otherwise the message will be forwarded to the adjacent switch at this port.

[0032] Furthermore, the method further includes:

[0033] If it is determined that the sending port is connected to a power device, duplicate messages are discarded based on the receiving record table established based on the message source MAC address, SeqNo, and receiving unicast address; it is determined whether the receiving power device supports SPHPR. If the receiving power device supports SPHPR, the switch sends a message with a characteristic number to the power device, otherwise the switch sends the original message without the characteristic data to the power device.

[0034] Furthermore, in the method for realizing a shortest path high-reliability parallel redundant network for communication equipment, a core gigabit switch is set between the communication equipment. The core gigabit switch is both a substation network switch supporting SPHPR and a traditional substation network switch. The core gigabit switch is connected to two or more substation network switches connected to the upper link, and digital data messages are sent in two or more channels, thereby realizing parallel redundant hot backup of the core gigabit switch of the second-layer smart substation.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] The shortest path high-reliability parallel redundant network implementation method for communication equipment provided by the present invention enables the intelligent substation communication equipment to completely eradicate network loop storms and achieve zero packet loss and zero switching time for link or node failure recovery. The SPHPR principle can also be used to configure a hot backup topology for the core exchange of a star network between communication devices, and bidirectional data message transmission is used to greatly improve the network reliability of the intelligent substation. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is the SPHPR message frame format;

[0038] Figure 2 It is the SPHPR message bit sequence format;

[0039] Figure 3 The working principle of feature data;

[0040] Figure 4 This is a schematic diagram of the substation network switch board layout;

[0041] Figure 5 This is a flow chart of multicast message processing;

[0042] Figure 6 A flowchart for processing a multicast message received from an electric power device;

[0043] Figure 7 This is a flowchart for processing multicast messages received from a switch;

[0044] Figure 8 A flowchart for processing a unicast message received from an electric power device;

[0045] Fig. 9 This is a flow chart for processing unicast messages received from a switch;

[0046] Fig.10 This is a schematic diagram of the core Gigabit switch's 2-way parallel redundancy and link backup. DETAILED DESCRIPTION

[0047] The present invention will be further described below in conjunction with specific examples. The following examples are only used to more clearly illustrate the technical solutions of the present invention, and are not intended to limit the scope of protection of the present invention.

[0048] The invention provides a method for realizing a shortest path high-reliability parallel redundant network of communication equipment. The method is realized based on a substation network switch supporting an SPHPR function.

[0049] SPHPR is a method in which the edge access switch (SW) sends a common message (i.e., SPHPR message) with identical data and characteristic data to N ports at the same time. The receiving SW discards duplicate late messages within a certain time limit, and allows receiving individual duplicate messages, but does not allow discarding any legal first message. The message header is parsed and processed through the agreed characteristic data format, and there is no network control protocol message interaction.

[0050] The characteristic data includes the message survival time TTL, the globally unique DevID, the dynamically allocated sequence number SeqNo, and the sending port mask portmask.

[0051] Figure 1 The SPHPR message frame format, the bit sequence format is as follows Figure 2 As shown in the figure, 802.1QTag is optional. If it appears, the message forwarding domain will be isolated according to the VLAN definition. The message layer 2 protocol type (0x88AC) is a constant that uniquely distinguishes message types in the substation. TTL (Time To Live) is a message survival time parameter that records the maximum number of switches that a message can be forwarded to. If the number exceeds the limit, the message will be discarded. The TTL value should not be set too large. 31 hops are sufficient for use in smart substations, and the TTL allocation bit width is 5 bits.

[0052] Among them, each time the data message passes through a forwarding substation network switch device, the message survival time TTL value in the message decreases by 1, and the TTL is reduced by 1 hop by hop, and the message is forwarded to eliminate network storms. When the message survival time TTL is 1, the received message is forwarded to the terminal interface but not forwarded to the substation network switch device interface, so that the loop storm will be completely suppressed for broadcast, multicast, unknown multicast, unicast, and unknown unicast messages.

[0053] Each SW or power device is assigned a device identifier (DevID), which is unique throughout the station. The number of SWs used in a single network of a general-scale smart substation is about 20 to 40. DevID is allocated 11 bytes, and a single SPHPR network can support up to 2048 SW devices. For the receiving SW, if it detects that the DevID of the received message is the same as its own DevID, it will be discarded, that is, the message sent by the SW itself will be discarded when it is received from another different port. This can also eliminate the occurrence of network storms in its own loop. Note that this DevID is completed by the edge access SW that adds this feature data. Any SW in the middle cannot change the DevID of this message. The last SW that receives it can remove this feature data but cannot modify it.

[0054] Assign a sequence number SeqNO to the message so that the receiving device can identify duplicate messages. The sequence number is assigned 3 bytes. The Gigabit rate is 1000Mbit. According to the minimum Ethernet message size of 64 bytes, plus the type identifier, TTL, DevID and port mask (portmask) 11 bytes, it is 75 bytes in total. Gigabit can pass up to 1000*210*210bit / 75*8bit messages per second. The minimum time to consume 224 sequence numbers is 224 / (1000*210*210bit / 75*8bit)=307.2 seconds. There are also switching forwarding delays, link transmission delays, message processing delays, and sending SW sequence number rollbacks. It actually takes longer than this time. Generally, it takes about 30 to 60 seconds for the SW device to restart to a normal working state, and some even exceed 60 seconds. At this time, the sequence number is marked as restarted. The receiver must age the record of the received sequence number within this time to avoid the first message being discarded.

[0055] The SPHPR network topology is similar to the common loop. The access SW port adds characteristic data, sets the initial value of TTL, adds its own DevID, allocates SeqNo according to the source device, and sends data packets to the SPHPR port group at the same time. When the intermediate SW receives the message and finds that the data flows to the edge mode port, that is, it is received by the power device connected to this SW, the characteristic data is removed and the original message is sent to the corresponding edge port, or the characteristic data is sent to the edge port. The ports to which the message is forwarded are determined by the switching chip, but this module can determine whether it is a duplicate message based on the source (SW) and sequence number of the data packet, and discard it if it is repeated. When sending, the sequence number distribution is based on SW. This is only a source-based allocation without a clear destination device (multicast messages can have multiple receiving devices). For any SW, a sequence number window will be established based on all communication nodes of the smart substation to facilitate the discarding of duplicate messages. There are many star network topologies in smart substations, and the reception of this sequence number is likely to be discontinuous, so this situation needs to be considered. The discard algorithm can refer to PRP or design a HASH algorithm by yourself.

[0056] like Figure 3 As shown in the figure, assuming the default TTL = 4, the message enters from SW-A according to the normal configuration information, and is sent to the power device through SW-B, where a duplicated message is filtered, and then forwarded. At the same time, a data backup from SW-C can be received. SW-C receives messages from SW-B and SW-D, and sends a duplicated message to the directly connected power device after repeated filtering. SW-D is similar to SW-B. Due to the TTL restriction, no message is forwarded back to SW-A, which deletes invalid forwarding traffic and improves the precise forwarding control capability. SW-E is a traditional switch network and receives a message.

[0057] like Figure 4As shown, the substation network switch is connected to a switching chip of the CPU, and two FPGA chips are connected to the switching chip.

[0058] The CPU uses a low-power, low-cost, high-performance dual-core ARMA53, with a maximum frequency of 1.2G. The switching chip uses the industry-leading CTC7132 chip from Centec, which is very powerful and can provide 16 100M optical ports and 4 Gigabit ports, 16 full Gigabit optical ports, of which the Gigabit optical ports can adapt to become 100M optical ports. The operating system uses LINUX, which can be expanded to support a variety of network security functions. The switching chip can also support precise control of business traffic, VLAN isolation, QOS, CutThough, fast fault location, network security monitoring, port mirroring, whitelist filtering and forwarding, visual network, CSD standardized configuration, IEEE1588 function, business data chip encryption and decryption, etc.

[0059] Due to the limitation of logic capacity, FPGA uses two pieces of PH1A00-FG676, which are synchronized with the same clock source to realize the reception and transmission of SPHPR function messages, add and modify characteristic data, discard redundant messages, and restore the original messages to send to the power device. FPGA can also realize the SV delay accumulation function without storing messages.

[0060] Figure 5 This is a multicast message processing flow chart. Figure 5 As shown in the figure, when the switch port receives a message, it first determines whether the receiving port participates in the SPHPR function. If it does not participate, it directly forwards data in the traditional Ethernet mode. The message is forwarded in the network switch without a loop and can be isolated by VLAN. If the SPHPR function is turned on, it is determined whether the message contains characteristic data, because the device can support SPHPR and mark the characteristic data. If it is the original first message, the default configuration TTL, the globally unique DevID, and the dynamically allocated SeqNo characteristic data are added to the original message, see the flow chart on the left. The switching chip queries the sending port group according to the static multicast address forwarding table, and the FPGA copies the message to the corresponding sending port group. The switching chip forwards the multicast message without modification and the delay is very small. On the sending side, it is determined whether the port peer is connected to the switch. This is a configuration parameter generated in advance according to the actual configuration. If so, the bit mask portmask of the sending port on the local machine is updated, and the message is sent on this port. Placing the sending port of the sending switch in the message is conducive to quickly locating the source of the message. The portmask is only changed by the original access switch, and no intermediate switch can be changed.

[0061] Refer to the flowchart on the right. If the message contains characteristic data, if TTL<=0, the message is discarded, otherwise TTL-1; if DevID is the same as the local DevID, the message is discarded. The switching chip queries the sending port group according to the static multicast address forwarding table and copies the message to the corresponding sending port group. Determine whether the sending port is connected to the switch. If it is connected to the switch, the message is discarded if TTL<=1, otherwise the message is forwarded to the adjacent switch at this port. Messages with TTL of 1 are not forwarded between switches, but can be sent to the final power device that receives this message.

[0062] Refer to the middle flow chart. If the sending port is connected to a power device, a receiving record table is established based on the message source MAC address, SeqNo, and receiving multicast address. The first message is forwarded and duplicate messages are discarded. If the receiving power device supports SPHPR, the switch sends a message with a feature number to the power device. Otherwise, the switch sends the original message without the feature data to the power device. This is because the power device may receive messages from different switches.

[0063] To more clearly illustrate how the multicast message processing process is implemented inside the switch, a specific example is given below:

[0064] like Figure 6 As shown in the figure, the FPGA program corresponds to the port and the switching chip one by one. ① The message enters the switch from the edge access port. ② The FPGA determines whether the receiving port participates in the SPHPR function. If it participates, it determines whether the message carries characteristic data. If it is an original message, the default TTL, the globally unique DevID, and the dynamically allocated SeqNo are added. If the message carries characteristic data, if TTL<=0, the message is discarded, otherwise TTL-1; if the DevID is the same as the local DevID, the message is discarded. ③ The switching chip queries the switch address forwarding table and forwards the message according to the forwarding table information. The switch address forwarding table is a whitelist network, and the message not in the address forwarding table will be discarded. Determine whether the sending port is connected to the switch. If it is connected to the switch④⑤, the message is discarded if TTL<=1, otherwise the message is forwarded to the adjacent switch at this port. Messages with TTL of 1 are not forwarded between switches. If it is an original access switch, the bit sequence mask portmask of the sending port on the local machine is updated, and the message is sent at this port. If the sending port is connected to the power device ⑥ or a switch that does not support SPHPR, duplicate messages are discarded based on the message source MAC address, SeqNo and the receiving record table, and it is determined whether to send a message with characteristic data to the power device.

[0065] like Figure 7As shown in the figure, if the message enters from the switch port, ⑦⑧ if the message contains characteristic data, then if TTL<=0, the message is discarded, otherwise TTL-1; if the DevID is the same as the local DevID, the message is discarded. If the message enters from other traditional networks that do not support SPHPR, network planning and isolation are required. ⑨ The switching chip queries the switch address forwarding table to forward the message, and the FPGA copies the message to the corresponding sending port group. ⑩ If the sending port is connected to the power device, the first message is sent to the power device according to the discard algorithm. If the sending port is connected to a switch, for message C, if TTL <= 1, the message is discarded, otherwise the message is forwarded; For message B, if TTL <= 1, the message is discarded, otherwise the message is forwarded; If the TTL of message B and message C is less than or equal to 1, the message is discarded; otherwise, the message is forwarded.

[0066] Similar to the multicast packet processing process, the unicast packet processing process includes:

[0067] The switch port receives unicast messages in normal mode, which needs to be implemented in the same FPGA. The port of one of the two FPGA chips is used as the receiving port, and the port of the other FPGA chip is used as the sending port. When the receiving port receives the unicast message, it is determined whether the receiving port participates in the SPHPR function. If it participates, it is determined whether the message carries characteristic data. If it is an original message, the default TTL, globally unique DevID, and dynamically allocated SeqNo are added; the switch chip queries the unicast address forwarding table to determine the sending port, copies the message to the sending port, determines whether the sending port is connected to the switch, and if it is connected to the switch, updates the bit sequence mask portmask of the sending port on the local machine, and sends the message on this port;

[0068] If it is determined that the message received by the receiving port contains characteristic data, then if TTL<=0, the message is discarded, otherwise TTL-1; if DevID is the same as the local DevID, the message is discarded; the switching chip queries the unicast address forwarding table to determine the sending port, and copies the message to the sending port; determine whether the sending port is connected to a switch, if it is connected to a switch, the message is discarded if TTL<=1, otherwise the message is forwarded to the adjacent switch at this port;

[0069] If it is determined that the sending port is connected to a power device, duplicate messages are discarded based on the receiving record table established based on the message source MAC address, SeqNo, and receiving unicast address; it is determined whether the receiving power device supports SPHPR. If the receiving power device supports SPHPR, the switch sends a message with a characteristic number to the power device, otherwise the switch sends the original message without the characteristic data to the power device.

[0070] To more clearly illustrate the unicast message processing process, Figure 8 As shown, port C and port D are pre-set as SPHPR group. Receive unicast messages from power devices, Determine whether the receiving port participates in the SPHPR function. If so, determine whether the message contains characteristic data. If it is an original message, add the default TTL, globally unique DevID, and dynamically allocated SeqNo. The switch chip queries the unicast address forwarding table to determine the sending port. From the switch's point of view, there is only one port C between port C and port D. The FPGA copies the message to the sending port C and port D. Determine whether the other end of the sending port is connected to a switch. If so, if TTL <= 1, discard the message. Otherwise, forward the message to the adjacent switch at this port. If it is the original access switch, add the sending port portmask and send it to the network.

[0071] like Fig. 9 As shown, no matter which port receives the unicast message, port C or port D will deliver it to port C. deal with, Responsible for delivering the message to port C Processing, send the first message to the switching chip according to the discarding algorithm, The switch chip searches the unicast address forwarding table and sends the message to port A. Determine whether to send a message with characteristic data to the power device based on the configuration information.

[0072] The present invention adopts the shortest path high-reliability parallel redundancy principle to configure the hot backup topology of the star network core exchange between communication devices, uses dual-channel or multi-channel message transmission, filters and repeatedly receives the messages, and enhances the reliability of the smart substation. Fig.10 As shown, a core gigabit switch is set between the communication devices. The core gigabit switch can be either a substation network switch supporting SPHPR or a traditional substation network switch. In this case, the access switch supports SPHPR and is dual-connected to the two upstream gigabit switches. Data messages are sent dual-way, the access SW adds feature data, and the receiving SW discards duplicate messages at the link layer, realizing parallel redundant hot backup of the core gigabit switch of the second-layer smart substation, solving the unreliable problem of the single-star network. Since it is implemented in hardware, real-time performance can still be guaranteed.

[0073] The present invention adds TTL, DevID, and a sequence number to the header based on the source message, sends a port mask, sends N (N>1 natural number) copies of data, and discards N-1 copies of redundant data at the receiving end, thereby realizing N-1 backup of the substation network.

[0074] The substation network switch device simultaneously sends a general message with characteristic data to the N ports of the single ring network. Within the set time limit, the receiving substation network switch device discards duplicate late messages and parses the message header according to the agreed characteristic data format. There is no network control protocol message interaction, which is simple and easy to implement.

[0075] The substation network switch configures multicast address forwarding in a static way, whitelists the network, and discards messages that are not within the configuration range. Through the switching chip multicast address forwarding table, it supports network hierarchy and shortest path forwarding to achieve end-to-end minimized delay and jitter.

[0076] The hot backup topology of the star network core exchange between communication devices is configured using the shortest path high-reliability parallel redundancy principle, and the reliability of the smart substation is enhanced by using dual-channel or multi-channel transmission and filtering duplicate reception methods.

[0077] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0078] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0079] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0080] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0081] The present invention has been disclosed above with preferred embodiments, but they are not intended to limit the present invention. Any technical solutions obtained by adopting equivalent replacement or equivalent transformation solutions fall within the protection scope of the present invention.

Claims

1. A method for implementing a shortest path high-reliability parallel redundant network for communication equipment, characterized in that: The method is implemented based on a substation network switch supporting the SPHPR function, including: The access substation network switch receives the original message, adds characteristic data to the message header, and simultaneously sends the same message with characteristic data to several ports of the single ring network according to the configured address forwarding table; the characteristic data includes the message survival time TTL, the globally unique DevID, the dynamically allocated message sequence number SeqNo and the sending port mask portmask; The receiving substation network switch receives the message with characteristic data, parses and processes the message, discards the message with TTL<=0 and the message with the same DevID as the local DevID, reduces the message survival time TTL value of the message with TTL>0 by 1, and sends the processed identical message to several ports of the single ring network at the same time according to the configured address forwarding table. When the message survival time TTL<=1, it is no longer forwarded to the adjacent substation network switch, but the message with TTL of 1 is forwarded to the terminal power device connected to this switch; When the substation network switch finds that data is flowing to the terminal power device, it discards duplicate messages based on the message source MAC address, SeqNo and receiving record table, and sends a duplicate-filtered message to the power device; The substation network switch includes a switching chip connected to the CPU and two FPGA chips connected to the switching chip. The switching chip supports precise control of service traffic, VLAN isolation, rapid fault location, network security monitoring, port mirroring, and whitelist filtering and forwarding. The FPGA chip uses the same clock source for synchronization, realizes SPHPR function message reception and transmission, adds and modifies feature data to the original message, discards redundant messages, and restores the message with feature data to the original message and sends it to the power device. The FPGA chip has several ports that support the SPHPR function. A core gigabit switch is set between the communication devices. The core gigabit switch is both a substation network switch supporting SPHPR and a traditional substation network switch. The core gigabit switch is connected to two or more uplink substation network switches to form dual-path or multi-path transmission of data messages, thereby realizing parallel redundant hot backup of the core gigabit switch of the second-layer smart substation.

2. A method for implementing a shortest path high-reliability parallel redundant network for communication equipment according to claim 1, characterized in that: The method specifically includes the following steps for processing a multicast message: The switch port receives the message and determines whether the receiving port participates in the SPHPR function. If so, it determines whether the message contains characteristic data. If it is the original first message, the default configuration TTL, globally unique DevID, and dynamically allocated SeqNo are added to the original message; the switching chip queries the sending port group based on the static multicast address forwarding table and copies the message to the corresponding sending port group; it determines whether the sending port is connected to the switch. If so, it updates the sending port's bit sequence mask portmask on the local machine and sends the message on this port.

3. A method for implementing a shortest path high-reliability parallel redundant network for communication equipment according to claim 2, characterized in that: The method further includes: If it is determined that the received message contains characteristic data, then if TTL<=0, the message will be discarded, otherwise TTL-1; if DevID is the same as the local DevID, the message will be discarded; the switching chip queries the sending port group based on the static multicast address forwarding table and copies the message to the corresponding sending port group; it is determined whether the other end of the sending port is connected to a switch. If it is connected to a switch, the message will be discarded if TTL<=1, otherwise the message will be forwarded to the adjacent switch at this port.

4. A method for implementing a shortest path high-reliability parallel redundant network for communication equipment according to claim 2 or 3, characterized in that: The method further includes: If it is determined that the sending port is connected to a power device, duplicate messages are discarded based on the receiving record table established based on the message source MAC address, SeqNo, and receiving multicast address; it is determined whether the receiving power device supports SPHPR. If the receiving power device supports SPHPR, the switch sends a message with characteristic data to the power device, otherwise the switch sends the original message without the characteristic data to the power device.

5. A method for implementing a shortest path high-reliability parallel redundant network for communication equipment according to claim 2, characterized in that: The method further includes: When the switch port receives the message, if it is determined that the receiving port does not participate in the SPHPR function, the data is directly forwarded according to the traditional Ethernet mode. The message is forwarded in the network switch without a loop and isolated by VLAN.

6. A method for implementing a shortest path high-reliability parallel redundant network for communication equipment according to claim 1, characterized in that: The method specifically includes the following steps for processing a unicast message: The port of one of the two FPGA chips is used as the receiving port, and the port of the other FPGA chip is used as the sending port. When the receiving port receives a unicast message, it is determined whether the receiving port participates in the SPHPR function. If it participates, it is determined whether the message carries characteristic data. If it is an original message, the default TTL, the globally unique DevID, and the dynamically allocated SeqNo are added; the switching chip queries the unicast address forwarding table to determine the sending port, copies the message to the sending port, determines whether the sending port is connected to the switch, and if it is connected to the switch, updates the bit sequence mask portmask of the sending port on the local machine, and sends the message on this port.

7. A method for implementing a shortest path high-reliability parallel redundant network for communication equipment according to claim 6, characterized in that: The method further includes: If it is determined that the message received by the receiving port contains characteristic data, then if TTL<=0, the message will be discarded, otherwise TTL-1; if DevID is the same as the local DevID, the message will be discarded; the switching chip queries the unicast address forwarding table to determine the sending port, and copies the message to the sending port; it is determined whether the other end of the sending port is connected to a switch. If it is connected to a switch, the message will be discarded if TTL<=1, otherwise the message will be forwarded to the adjacent switch at this port.

8. A method for implementing a shortest path high-reliability parallel redundant network for communication equipment according to claim 6 or 7, characterized in that: The method further includes: If it is determined that the sending port is connected to a power device, duplicate messages are discarded based on the receiving record table established based on the message source MAC address, SeqNo, and receiving unicast address; it is determined whether the receiving power device supports SPHPR. If the receiving power device supports SPHPR, the switch sends a message with a characteristic number to the power device, otherwise the switch sends the original message without the characteristic data to the power device.

Citation Information

Patent Citations

  • Multi-level subqueue layered dispatching method for messages in communication network of transformer substation

    CN103634233A

  • Network storm inhibition method in process layer of intelligent transformer station

    CN103716239A