Method for resisting network storm and PNC energy storage coordination controller
Through the quadruple filter processing mechanism of the PNC energy storage coordination controller, the problem that the energy storage coordination control system cannot cope with when facing network storms is solved, the CPU burden is reduced, and the system is stable and fast response is ensured.
Patent Information
- Application Number
- CN202410913078.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-11-01
AI Technical Summary
The existing energy storage coordination control system cannot respond in a timely and effective manner when facing network storms, resulting in the entire network being paralyzed and unable to ensure the stable operation of the system.
The PNC energy storage coordination controller is used to process the packets in a quadruple filter through the FPGA data processing module, including message type filter, single-frame storm filter, hardware decoding filter and shift frame on-send filter to filter out Non-subscribe type, single-frame storm and displacement frame messages, discard network storm messages, and transmit non-network storm messages to the CPU processing module.
The quadruple filter mechanism significantly reduces the CPU processing burden, realizes the coordinated control system message processing capability in the case of network storms, and ensures the rapid response and stable operation of the system.
Smart Images

Figure CN118889676A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power systems, and in particular to a method for resisting network storms and a PNC energy storage coordination controller. Background Art
[0002] As an energy management and control system in the power system station that is adapted to different application scenarios, meets the operation requirements and functions within the station, and has the characteristics of rapid response and rapid control, the energy storage coordination controller. Its stable operation is the key to safe operation and economic benefits within the station.
[0003] With the digitization of energy storage coordination control systems, the types of messages in the entire system have diversified, the number of messages has increased exponentially, and the requirements for system processing capabilities have increased accordingly. In addition, each device may trigger a message storm under abnormal circumstances. The energy storage coordination control system needs strategies and means to effectively resist network storms. This is also an important part of improving communication service capabilities, building a strong network communication system, and ensuring the stable operation of the system.
[0004] The PNC energy storage coordination control system mainly includes: PCS equipment, switch equipment, coordination controller, etc. The system composition is as follows Figure 1 As shown. Each PCS device sends multiple Goose, UDP and other messages to the switch group, and the switch group sends these messages to the coordination controller. The main processing unit in the coordination controller completes the subscription processing of the message and then completes the coordination control. Functional failures of some PCS devices may cause a single-frame Goose message to be sent in a loop continuously, and may also trigger abnormal sending of UDP messages. The switch group may also experience storms on some network ports or messages due to improper operation or certain faults. However, since the coordination controller cannot respond to this network message storm in a timely and effective manner, the entire network is paralyzed and the stable operation of the system cannot be guaranteed. Summary of the invention
[0005] The present invention provides a method for resisting network storms and a PNC energy storage coordination controller, so as to solve the technical problem of how to deal with network message storms in a timely and effective manner.
[0006] An embodiment of the present invention provides a method for resisting a network storm, comprising:
[0007] When the PNC energy storage coordination controller detects a message network storm, it starts the network storm protection function;
[0008] After the network storm protection function is enabled, the PNC energy storage coordination controller filters all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages;
[0009] The PNC energy storage coordination controller discards the network storm message and transmits the non-network storm message to a specific memory area for subsequent processing.
[0010] Preferably, the PNC energy storage coordination controller includes multiple optical network ports, an FPGA data processing module and a CPU data processing module, wherein the PNC energy storage coordination controller performs message filtering processing on all messages reported by each switch or PCS device, and obtains network storm messages and non-network storm messages including:
[0011] The FPGA data processing module performs pre-decoding processing on all messages received by each optical network port to obtain the message type of each message;
[0012] The FPGA data processing module determines whether each message is a subscription type message according to the preset subscription type and the message type of each message, and regards the non-subscription type message as a network storm message, and regards the subscription type message as the first non-network storm message.
[0013] Preferably, the PNC energy storage coordination controller performs message filtering processing on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, and further includes:
[0014] The FPGA data processing module performs full-field parsing processing on all messages of the first non-network storm message to obtain a characteristic field of each message in the first non-network storm message;
[0015] The FPGA data processing module determines whether each message in the first non-network storm message is a subscription message according to the message subscription verification rules and the characteristic fields of each message in the first non-network storm message, and treats the messages that are not subscription messages as network storm messages, and treats the messages that are subscription messages as second non-network storm messages.
[0016] Preferably, the PNC energy storage coordination controller performs message filtering processing on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, and further includes:
[0017] The FPGA data processing module performs second message full-field parsing processing on all messages of the second non-network storm message to obtain an event counter and a message counter of each message in the second non-network storm message, and determines whether each message in the second non-network storm message is a single-frame storm message according to the event counter and the message counter of each message in the second non-network storm message;
[0018] When the FPGA data processing module determines that there is a single-frame storm message in the second non-network storm message, the first few frames of the single-frame storm message are used as the third non-network storm message, and the other frames of the single-frame storm message are used as network storm messages;
[0019] The FPGA data processing module uses the message in the second non-network storm message that is not a single-frame storm message as the fourth non-network storm message.
[0020] Preferably, the PNC energy storage coordination controller performs message filtering processing on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, and further includes:
[0021] The FPGA data processing module determines whether the first few frames of the third non-network storm message are shift frame messages according to the message shift frame judgment mechanism rule and the event counter and message counter of the third non-network storm message;
[0022] The FPGA data processing module uses the first few frames of the third non-network storm message that are not shift frames as network storm messages, and uses the first few frames of the third non-network storm message that are shift frames as fifth non-network storm messages.
[0023] Preferably, the PNC energy storage coordination controller performs message filtering processing on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, and further includes:
[0024] The FPGA data processing module determines whether each message in the fourth non-network storm message is a shift frame message according to the message shift frame judgment mechanism rule and the event counter and message counter of the fourth non-network storm message;
[0025] The FPGA data processing module regards the messages that are not shift frames in the fourth non-network storm messages as network storm messages, and regards the messages that are shift frames in the fourth non-network storm messages as non-network storm messages.
[0026] Preferably, the FPGA data processing module determines whether each message in the second non-network storm message is a single-frame storm message according to the event counter and the message counter of each message in the second non-network storm message, including:
[0027] If the event counter and the message counter of any message in the second non-network storm message do not change, the FPGA data processing module determines the message whose event counter and the message counter do not change as a single-frame storm message;
[0028] If the event counter and / or message counter of any message in the second non-network storm message changes, the FPGA data processing module determines the message with the changed event counter and / or message counter as not being a single-frame storm message.
[0029] Preferably, the PNC energy storage coordination controller transmits the non-network storm message to a specific memory area for subsequent processing, including:
[0030] The FPGA data processing module transmits each non-network storm message to the corresponding address interval in the memory area according to the privately agreed storage rules, and sends it to the CPU processing module at the same time.
[0031] The embodiment of the present invention further provides a PNC energy storage coordination controller for resisting network storms, comprising a plurality of optical network ports, an FPGA data processing module and a CPU data processing module, wherein the FPGA data processing module comprises:
[0032] A detection unit, used to start a network storm protection function when a message network storm is detected;
[0033] A message filtering unit is used to filter all messages reported by each switch or PCS device by the PNC energy storage coordination controller after the network storm protection function is started to obtain network storm messages and non-network storm messages;
[0034] The message processing unit is used to discard the network storm message and transmit the non-network storm message to a specific memory area for subsequent processing.
[0035] Preferably, the message processing unit is specifically used to transmit each non-network storm message to a corresponding address interval in the memory area according to a privately agreed storage rule, and send it to the CPU processing module at the same time.
[0036] The beneficial effect of the present invention is that the non-subscription type messages are filtered out through the first filter, and then the non-subscription messages are filtered out through the hardware decoding filter, and then the single-frame storm message is filtered out through the single-frame storm filter. After passing through the first three filters, the FPGA sends the transformed frame message to the CPU data processing module through the single-frame uploading filter. The number of messages processed by such a four-layer filter mechanism is greatly reduced, thereby greatly reducing the processing burden of the CPU. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a structural diagram of the PNC energy storage coordination control system provided by the prior art;
[0038] Figure 2 It is a flow chart of a method for resisting network storm provided by the present invention;
[0039] Figure 3 It is a structural schematic diagram of the PNC energy storage coordination control system provided by the present invention;
[0040] Figure 4 It is a method flow chart of the quadruple filter mechanism of the FPGA data processing module provided by the present invention. DETAILED DESCRIPTION
[0041] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. In the subsequent description, the use of suffixes such as "module", "component" or "unit" used to represent elements is only to facilitate the description of the present invention and has no specific meaning in itself. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0042] The present invention realizes high-speed processing of message data based on the SOC platform, and adopts a quadruple filter mechanism to realize the function of completing the coordinated control normally under network storms. Storm messages that may appear in the coordinated control system network include messages of non-subscription message types, message storms of single-frame subscription message types, and concentrated bursts of subscription messages. In response to the possible network storm message impact on the coordinated control system, the present invention uses quadruple filters such as message type filters, single-frame storm filters, hardware decoding filters, and shift frame sending filters to resist network storm messages outside the CPU processor, greatly reducing the CPU burden and achieving rapid response of coordinated control system messages.
[0043] Figure 2 It is a flow chart of a method for resisting network storm provided by the present invention, such as Figure 2 As shown, including:
[0044] Step S1: When the PNC energy storage coordination controller detects a message network storm, it starts a network storm protection function;
[0045] Step S2: After starting the network storm protection function, the PNC energy storage coordination controller performs message filtering on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages;
[0046] Step S3: The PNC energy storage coordination controller discards the network storm message and transmits the non-network storm message to a specific memory area for subsequent processing.
[0047] In an optional embodiment of the present application, the PNC energy storage coordination controller includes multiple optical network ports, FPGA data processing modules and CPU data processing modules, wherein the PNC energy storage coordination controller performs message filtering processing on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, including: the FPGA data processing module obtains the message type of each message by pre-decoding all messages received by each optical network port; the FPGA data processing module determines whether each message is a subscription type message based on a pre-set subscription type and the message type of each message, and treats messages that are not subscription type as network storm messages, and treats subscription type messages as first non-network storm messages.
[0048] In an optional embodiment of the present application, the PNC energy storage coordination controller performs message filtering processing on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, which also includes: the FPGA data processing module performs full-field parsing processing of the first message on all messages of the first non-network storm message to obtain the characteristic field of each message in the first non-network storm message; the FPGA data processing module determines whether each message in the first non-network storm message is a subscription message based on the message subscription verification rules and the characteristic field of each message in the first non-network storm message, and treats the messages that are not subscription messages as network storm messages, and at the same time treats the messages that are subscription messages as second non-network storm messages.
[0049] In an optional embodiment of the present application, the PNC energy storage coordination controller performs message filtering processing on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, which also includes: the FPGA data processing module performs full-field parsing processing on all messages of the second non-network storm message to obtain an event counter and a message counter for each message in the second non-network storm message, and judges whether each message in the second non-network storm message is a single-frame storm message based on the event counter and the message counter of each message in the second non-network storm message; when the FPGA data processing module judges that there is a single-frame storm message in the second non-network storm message, the first few frames of the single-frame storm message are used as the third non-network storm message, and the other frames of the single-frame storm message are used as network storm messages; the FPGA data processing module regards the messages in the second non-network storm message that are not single-frame storm messages as the fourth non-network storm message.
[0050] In an optional embodiment of the present application, the PNC energy storage coordination controller performs message filtering processing on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, and also includes: the FPGA data processing module determines whether the first few frames of messages in the third non-network storm message are shift frame messages according to the message shift frame judgment mechanism rules and the event counter and message counter of the third non-network storm message; the FPGA data processing module regards the messages in the first few frames of messages in the third non-network storm message that are not shift frames as network storm messages, and regards the messages in the first few frames of messages in the third non-network storm message that are shift frames as fifth non-network storm messages.
[0051] In an optional embodiment of the present application, the PNC energy storage coordination controller performs message filtering processing on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, and also includes: the FPGA data processing module determines whether each message in the fourth non-network storm message is a shift frame message according to the message shift frame judgment mechanism rules and the event counter and message counter of the fourth non-network storm message; the FPGA data processing module treats the messages in the fourth non-network storm message that are not shift frames as network storm messages, and treats the messages in the fourth non-network storm message that are shift frames as non-network storm messages.
[0052] In an optional embodiment of the present application, the FPGA data processing module determines whether each message in the second non-network storm message is a single-frame storm message based on the event counter and the message counter of each message in the second non-network storm message, including: if the event counter and the message counter of any message in the second non-network storm message do not change, the FPGA data processing module determines the message whose event counter and the message counter do not change as a single-frame storm message; if the event counter and / or the message counter of any message in the second non-network storm message changes, the FPGA data processing module determines the message whose event counter and / or the message counter changes as not a single-frame storm message.
[0053] In an optional embodiment of the present application, the PNC energy storage coordination controller transmits the non-network storm message to a specific memory area for subsequent processing, including: the FPGA data processing module transmits each non-network storm message to the corresponding address interval in the memory area according to the privately agreed storage rules, and sends it to the CPU processing module at the same time.
[0054] An embodiment of the present invention also provides a PNC energy storage coordination controller for resisting network storms, including multiple optical network ports, an FPGA data processing module and a CPU data processing module, wherein the FPGA data processing module includes: a detection unit, which is used to start the network storm resistance function when a message network storm is detected; a message filtering unit, which is used to filter all messages reported by each switch or PCS device by the PNC energy storage coordination controller after the network storm resistance function is started, so as to obtain network storm messages and non-network storm messages; a message processing unit, which is used to discard the network storm messages and transmit the non-network storm messages to a specific memory area for subsequent processing.
[0055] In an optional embodiment of the present application, the message processing unit is specifically used to transmit each non-network storm message to a corresponding address interval in the memory area according to a privately agreed storage rule, and send it to the CPU processing module at the same time.
[0056] like Figure 3 As shown in the figure, the PNC energy storage coordination controller includes a CPU data processing module, an FPGA data processing module and a configuration module. The CPU data processing module mainly completes functions such as configuration management, bit shift frame processing, and host computer communication. The FPGA data processing module mainly completes functions such as optical network port driver, message parsing, and quadruple filter management. The configuration module completes the management of subscription message rules, including various verification contents of subscription messages, such as the verification configuration of fields such as the APPID of the Goose message.
[0057] The quadruple filter mechanism of the present invention realizes the ability to resist network storms based on real-time data processing of the FPGA data processing module. Messages from switches or other devices enter the FPGA data processing module through the optical network port of the PNC energy storage coordination controller, and the messages of non-subscribed message types are filtered out through the first filter, and then the messages are decoded and processed in real time through the hardware decoding filter, and then the single-frame storm messages are filtered out through the single-frame storm filter. After passing through the first three filters, the FPGA sends the shifted frame message to the CPU data processing module through the single-frame upload filter. The number of messages processed by such a quadruple filter mechanism is greatly reduced, thereby greatly reducing the processing burden of the CPU.
[0058] The network storm scenarios applicable to the embodiments of the present invention are as follows:
[0059] 1. A) Some devices in the network send a large number of ARP requests or ARP replies, which cause network congestion and cause ARP broadcast storms. ARP broadcast storms will cause a large amount of bandwidth in the network to be occupied, and the network equipment will be overloaded. At this time, if the CPU directly processes these messages, the CPU resources will not be able to cope with it and cause downtime. B) UDP multicast is to send a packet generated by a source to a group of D-class address destination IPs (224.0.0.0-239.255.255.255). On a specific switch, a UDP packet may be sent from multiple interfaces to multiple backups. If there is a loop in the entire network system, one or more packets will be returned to the input interface, and the packet will also be copied and transmitted to other ports. The message is constantly copied between switches. This process may cause multicast storms, seriously affecting network performance, or causing network paralysis.
[0060] 2. One of the PCSs in the entire energy storage system malfunctions and continuously sends a Goose message with the same data content. This Goose message is also subscribed to by the coordination controller. If the switch configuration is not properly managed and there is a ring network between switches, the Goose message subscribed to by a coordination controller is likely to be continuously copied between switches, causing a storm transmission of this Goose message, affecting or even paralyzing the entire network.
[0061] 3. If, during the coordinated control process, the various PCS devices work together, the messages sent by more than a hundred PCSs are instantaneous and concentrated at the same time, or the threshold is set too small and sensitive, resulting in frequent bursts of messages and excessive network traffic. Even if there is no storm, the CPU alone cannot respond in time. At this time, FPGA is needed to assist in hardware decoding.
[0062] In view of the above example, a quadruple filter mechanism is used to resist network anomalies and ensure the normal operation of the entire system. Figure 4 As shown, the specific steps include:
[0063] Step 100: The PNC energy storage coordination controller receives messages from each switch or PCS. The FPGA data processing module receives all messages from each network port.
[0064] Step 102: Continuing from step 100, the FPGA data processing module performs pre-decoding of the first filter for all messages of each network port. The message type filter of the FPGA data processing parses the message type of the current message of the current network port, such as 0x88B8 (Goose message), 0x88BA (SV message) or other message type values. This message type value will be used to determine whether it is a subscribed message type. For example: Taking Goose subscription as an example, it is suitable for Goose subscription but not limited to Goose subscription message. The message type in the present invention is all network message types. This step performs pre-decoding to determine the message type value. This message type value will be used to determine whether it is a subscribed message type. Among them, the pre-decoding only parses the message type field, and no subsequent decoding is performed. The hardware decoding module performs full field parsing of the message.
[0065] Step 104: Continuing from step 102, the FPGA data processing module performs the first message type filter for each network port to filter out non-subscription type messages, such as filtering out the UDP messages in the above example, filtering out messages whose message type is not 0x88B8, and aggregating and transmitting the subscription type messages after filtering out non-Goose messages to the hardware decoding filter.
[0066] Step 106: Continuing from step 104, the FPGA data processing module continues to parse the full fields of the message that has passed the first filter, that is, the only remaining Goose message, and determines whether the message of this subscription type is a subscription message (a message that meets all subscription judgment fields) according to the Goose message subscription verification rules of the State Grid Power System. The coordination controller verifies all characteristic fields such as APPID, GocbRef, DatSet, GoI, etc. in the Goose message. If all characteristic fields are present, it is a subscription message. If the message of this subscription type is a subscription message of the coordination controller, it continues to the next link, otherwise it discards the message. This is the filtering of the hardware decoding filter.
[0067] For example, if the APPID field of the received Goose message is 4010, and the APPID of the Goose message to be subscribed does not contain 4010, then this message is not a subscription message. A Goose message that is judged as a subscription message must meet all the State Grid Goose verification rules.
[0068] Step 108: Following step 106, the FPGA data processing module continues to parse the entire message field, extracts the ST and SQ fields in the Goose message, and determines whether the message filtered by the hardware decoding filter is a single-frame storm message, that is, for messages that have passed all feature field checks such as APPID, GocbRef, DatSet, GoID, etc., it is determined whether it is a single-frame storm message by determining whether the StNum (status number, i.e., event counter) and SqNum (sequence number, i.e., message counter) in the Goose message have changed. If the continuous message in which both StNum and SqNum do not change is determined to be a single-frame storm message. If it is a single-frame storm message, only the first few frames of messages are retained, and subsequent repeated messages are discarded until the StNum or SqNum of the received message changes. After filtering by the single-frame storm message filter, continue to enter the next step for processing.
[0069] Step 110: Continuing from step 108, the FPGA data processing module continues to determine whether the message is a position-shifted frame message. Based on the StNum and SqNum in the parsed message and the State Grid power system's Goose message position-shifted frame judgment mechanism rules, determine whether the message is a position-shifted frame message, retain the position-shifted frame message, and discard other messages. For example, a subscription Goose message with a changed StNum is a case of a position-shifted frame message.
[0070] Step 112: Continuing from step 110, the FPGA data processing module continues to transmit the shifted frame message to a specific memory area according to the private agreed rules for subsequent processing by the CPU data processing module, which is the single frame transmission filter. According to the private agreed storage rules, the FPGA data processing module transmits the shifted frame message of each Goose to the corresponding address interval in the memory area in real time through the high-speed bus, and sends some flag information to the CPU to indicate whether the corresponding Goose has a shifted frame message available, and also sends some alarm flag information such as communication interruption, subscription verification abnormality, etc.
[0071] Step 114: Continuing from step 112, when the corresponding Goose has a position-shifting frame available, the CPU processing module reads the corresponding Goose message in the memory, continues to process the position-shifting frame message, and extracts the required related data. This is a step after the processing of the quadruple filter mechanism. The messages entering the CPU processing module are already very limited, and the CPU is fully capable of responding in a timely manner.
[0072] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the present invention is not limited thereby. Any modification, equivalent substitution and improvement made by those skilled in the art without departing from the scope and essence of the present invention shall be within the scope of the present invention.
Claims
1. A method for resisting network storms, It is characterized in that include: When the PNC energy storage coordination controller detects a message network storm, it starts the network storm protection function; After the network storm protection function is enabled, the PNC energy storage coordination controller filters all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages; The PNC energy storage coordination controller discards the network storm message and transmits the non-network storm message to a specific memory area for subsequent processing.
2. The method according to claim 1, It is characterized in that The PNC energy storage coordination controller includes multiple optical network ports, an FPGA data processing module and a CPU data processing module, wherein the PNC energy storage coordination controller performs message filtering on all messages reported by each switch or PCS device, and obtains network storm messages and non-network storm messages including: The FPGA data processing module performs pre-decoding processing on all messages received by each optical network port to obtain the message type of each message; The FPGA data processing module determines whether each message is a subscription type message according to the preset subscription type and the message type of each message, and regards the non-subscription type message as a network storm message, and regards the subscription type message as the first non-network storm message.
3. The method according to claim 2, It is characterized in that The PNC energy storage coordination controller performs message filtering on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, and further includes: The FPGA data processing module performs full-field parsing processing on all messages of the first non-network storm message to obtain a characteristic field of each message in the first non-network storm message; The FPGA data processing module determines whether each message in the first non-network storm message is a subscription message according to the message subscription verification rules and the characteristic fields of each message in the first non-network storm message, and treats the messages that are not subscription messages as network storm messages, and treats the messages that are subscription messages as second non-network storm messages.
4. The method according to claim 3, It is characterized in that The PNC energy storage coordination controller performs message filtering on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, and further includes: The FPGA data processing module performs second message full-field parsing processing on all messages of the second non-network storm message to obtain an event counter and a message counter of each message in the second non-network storm message, and determines whether each message in the second non-network storm message is a single-frame storm message according to the event counter and the message counter of each message in the second non-network storm message; When the FPGA data processing module determines that there is a single-frame storm message in the second non-network storm message, the first few frames of the single-frame storm message are used as the third non-network storm message, and the other frames of the single-frame storm message are used as network storm messages; The FPGA data processing module uses the message in the second non-network storm message that is not a single-frame storm message as the fourth non-network storm message.
5. The method according to claim 4, It is characterized in that The PNC energy storage coordination controller performs message filtering on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, and further includes: The FPGA data processing module determines whether the first few frames of the third non-network storm message are shift frame messages according to the message shift frame judgment mechanism rule and the event counter and message counter of the third non-network storm message; The FPGA data processing module uses the first few frames of the third non-network storm message that are not shift frames as network storm messages, and uses the first few frames of the third non-network storm message that are shift frames as fifth non-network storm messages.
6. The method according to claim 4, It is characterized in that The PNC energy storage coordination controller performs message filtering on all messages reported by each switch or PCS device to obtain network storm messages and non-network storm messages, and further includes: The FPGA data processing module determines whether each message in the fourth non-network storm message is a shift frame message according to the message shift frame judgment mechanism rule and the event counter and message counter of the fourth non-network storm message; The FPGA data processing module regards the messages that are not shift frames in the fourth non-network storm messages as network storm messages, and regards the messages that are shift frames in the fourth non-network storm messages as non-network storm messages.
7. The method according to claim 4, It is characterized in that The FPGA data processing module determines whether each message in the second non-network storm message is a single-frame storm message according to the event counter and the message counter of each message in the second non-network storm message, including: If the event counter and the message counter of any message in the second non-network storm message do not change, the FPGA data processing module determines the message whose event counter and the message counter do not change as a single-frame storm message; If the event counter and / or message counter of any message in the second non-network storm message changes, the FPGA data processing module determines the message with the changed event counter and / or message counter as not being a single-frame storm message.
8. The method according to claim 2, It is characterized in that The PNC energy storage coordination controller transmits the non-network storm message to a specific memory area for subsequent processing, including: The FPGA data processing module transmits each non-network storm message to the corresponding address interval in the memory area according to the privately agreed storage rules, and sends it to the CPU processing module at the same time.
9. A PNC energy storage coordination controller to resist network storms. It is characterized in that It includes multiple optical network ports, an FPGA data processing module and a CPU data processing module, wherein the FPGA data processing module includes: A detection unit, used to start a network storm protection function when a message network storm is detected; A message filtering unit is used to filter all messages reported by each switch or PCS device by the PNC energy storage coordination controller after the network storm protection function is started to obtain network storm messages and non-network storm messages; The message processing unit is used to discard the network storm message and transmit the non-network storm message to a specific memory area for subsequent processing.
10. The PNC energy storage coordination controller according to claim 9, It is characterized in that The message processing unit is specifically used to transmit each non-network storm message to the corresponding address interval in the memory area according to the privately agreed storage rules, and send it to the CPU processing module at the same time.
