CN111447149A - Shared storage-based GOOSE message dual-network inhibition method - Google Patents
Shared storage-based GOOSE message dual-network inhibition method Download PDFInfo
- Publication number
- CN111447149A CN111447149A CN202010552831.5A CN202010552831A CN111447149A CN 111447149 A CN111447149 A CN 111447149A CN 202010552831 A CN202010552831 A CN 202010552831A CN 111447149 A CN111447149 A CN 111447149A
- Authority
- CN
- China
- Prior art keywords
- goose
- goose message
- message
- received
- traffic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/29—Flow control; Congestion control using a combination of thresholds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/32—Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/6245—Modifications to standard FIFO or LIFO
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a GOOSE message dual-network inhibition method based on shared storage, which comprises the following steps: s1: identifying the received GOOSE message, and preprocessing the GOOSE message; s2: discarding repeated messages of the received GOOSE message, and only uploading a first frame message; s3: GOOSE messages received by different ports are uploaded through a shared FIFO; s4: carrying out flow calculation on the received GOOSE message, and judging whether to enter a flow suppression mode or not according to the flow; s5: and sending the GOOSE message after the flow suppression to the processor. According to the invention, through a storage sharing mechanism, the logic resources are greatly reduced, the processor can still be ensured to process the GOOSE message in time under the condition that external multiple network ports simultaneously enter a storm mode, the reliable operation of the relay protection device is ensured, and the method has practical significance in the design of a communication scheme of a digital substation.
Description
Technical Field
The invention relates to the field of communication of electric power digital substations, in particular to a GOOSE message double-network inhibition method based on shared storage.
Background
In a digital transformer substation, the GOOSE dual-network communication ensures the reliability of data communication, how to correctly identify the GOOSE dual-network, and still ensure the reliability and real-time performance of the action of a protection device when one network is abnormal, and new requirements are provided for a GOOSE dual-network communication mechanism.
CN107835067A discloses a method for suppressing the storm of GOOSE message reception based on a programmable device, wherein a programmable device is added between the received message and a CPU, a time sequence logic is constructed in the programmable device to extract the CRC check code of the currently received message, and the CRC check codes of the three recently received GOOSE messages are stored, when the current CRC is detected to be the same as any one of the CRC of the recorded three GOOSE messages, the current message is the storm message and is not received; and if the CRC codes are different from the recorded three CRC codes, the current message is considered not to be the storm message, the receiving and the storage are finished, and the CRC code of the current message is taken as the latest received CRC code and is updated to the recorded three CRC codes. The method can not ensure the reliability and real-time performance of the action of the protection device when the GOOSE dual-network is abnormal in one network.
Disclosure of Invention
The invention provides a shared storage-based dual-network GOOSE message inhibition method, which can ensure that a relay protection device can still normally act and respond under the storm condition of hundred-megabyte bandwidth data flow.
In order to solve the technical problems, the technical scheme of the invention is as follows:
a dual-network inhibition method of GOOSE messages based on shared storage comprises the following steps:
s1: identifying the received GOOSE message, and preprocessing the GOOSE message;
s2: the received GOOSE message is subjected to repeated message discarding, only the first frame message is uploaded, the repeated message is directly discarded, and the calculation load of a processor is reduced;
s3: GOOSE messages received by different ports are uploaded through a shared FIFO;
s4: carrying out flow calculation on the received GOOSE message, and judging whether to enter a flow suppression mode or not according to the flow;
s5: and sending the GOOSE message after the flow suppression to the processor.
Preferably, the step S1 identifies the received GOOSE packet, specifically:
and identifying the receiving MA C address, the message APPID and the GOOSE message receiving port number in the GOOSE message.
Preferably, the preprocessing of the GOOSE message in step S1 is to perform 32-bit CRC calculation on the GOOSE message, and add a GOOSE message receiving port number to the CRC.
Preferably, the GOOSE messages received by different ports in step S3 are respectively delivered to the shared FIFO through FIFOs with size of 4kb, and the FIFOs with size of 4kb are used for buffering the GOOSE messages.
Preferably, the shared FIFO size of step S3 is 16 kb.
Preferably, the step S4 performs traffic calculation on the received GOOSE messages, specifically including calculating the number of GOOSE messages received in 1S and calculating real-time traffic of GOOSE messages.
Preferably, in step S4, it is determined whether to enter the traffic suppression mode according to the traffic, and if the number of GOOSE packets received in 1S exceeds the traffic suppression threshold t _ F L OW2 of the GOOSE packets, the method enters the traffic suppression mode.
Preferably, in step S4, it is determined whether to enter the traffic suppression mode according to the traffic, and if the real-time traffic of the GOOSE packet exceeds the GOOSE packet traffic suppression threshold t _ F L OW1, the flow suppression mode is entered.
Preferably, in step S4, it is further determined whether to enter the traffic suppression mode by determining the size of the remaining space of the shared FIFO.
Preferably, in step S5, the GOOSE message after flow suppression is sent to the processor at 2 frames/15 ms intervals.
Compared with the prior art, the technical scheme of the invention has the beneficial effects that:
according to the method for achieving independent flow suppression of the GOOSE message A/B network under the condition that a plurality of external GOOSE messages are communicated by optimizing the GOOSE message flow suppression algorithm, logic resources are greatly reduced through a storage sharing mechanism, a processor can still be guaranteed to process the GOOSE messages in time under the condition that a plurality of external network ports enter a storm mode at the same time, reliable operation of a relay protection device is guaranteed, and the method has practical significance in design of a communication scheme of a digital substation.
Drawings
FIG. 1 is a schematic flow chart of the method of the present invention.
Fig. 2 is a schematic diagram of GOOSE message traffic suppression in the embodiment.
Fig. 3 is a flow chart of GOOSE message storm suppression in the embodiment.
Detailed Description
The drawings are for illustrative purposes only and are not to be construed as limiting the patent;
for the purpose of better illustrating the embodiments, certain features of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product;
it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The technical solution of the present invention is further described below with reference to the accompanying drawings and examples.
Example 1
The embodiment provides a dual-network suppression method for GOOSE messages based on shared storage, which includes the following steps, as shown in fig. 1:
s1: identifying the received GOOSE message, and preprocessing the GOOSE message;
s2: discarding repeated messages of the received GOOSE message, and only uploading a first frame message;
s3: GOOSE messages received by different ports are uploaded through a shared FIFO;
s4: carrying out flow calculation on the received GOOSE message, and judging whether to enter a flow suppression mode or not according to the flow;
s5: and sending the GOOSE message after the flow suppression to the processor.
In step S1, identifying the received GOOSE packet specifically includes:
and identifying the receiving MA C address, the message APPID and the GOOSE message receiving port number in the GOOSE message.
In step S1, the preprocessing of the GOOSE packet is to perform 32-bit CRC calculation on the GOOSE packet, and add a GOOSE packet receiving port number to the CRC.
GOOSE messages received by different ports in step S3 are respectively delivered to the shared FIFO through FIFOs with size of 4kb, as shown in fig. 2, where the FIFOs with size of 4kb are used for buffering the GOOSE messages.
The shared FIFO size of step S3 is 16 kb.
In step S4, the flow calculation of the received GOOSE packets specifically includes calculating the number of GOOSE packets received within 1S and calculating real-time flow of GOOSE packets.
In step S4, it is determined whether to enter the traffic suppression mode according to the traffic, and if the number of GOOSE packets received in 1S exceeds the GOOSE packet traffic suppression threshold t _ F L OW2, the method enters the traffic suppression mode.
In step S4, it is determined whether to enter a traffic suppression mode according to the traffic, and if the real-time traffic of the GOOSE packet exceeds the traffic suppression threshold t _ F L OW1 of the GOOSE packet, the flow suppression mode is entered.
In step S4, it is also determined whether to enter the traffic suppression mode by determining the size of the remaining space of the shared FIFO.
In step S5, the GOOSE message after flow suppression is sent to the processor at 2 frames/15 ms intervals.
In a specific implementation process, as shown in fig. 3, a filter register is designed in the FPGA, and CRC32 calculation is performed for key fields in the GOOSE message, including receiving an MAC address, a message APPID, a GOOSE message receiving port number, and the like, for GOOSE message receiving identification;
designing an Ethernet message repeated message filtering algorithm in the FPGA to realize filtering of repeated messages, and establishing 4KB FIFO for each GOOSE receiving port for buffering the GOOSE messages;
designing a GOOSE message packet counter PackFlow in the FPGA, calculating message flow according to an A/B network, counting the GOOSE message packets received in 1s by the counter PackFlow, and entering a flow inhibition mode if the value of the counter PackFlow in 1s is greater than a packet inhibition threshold t _ F L OW 2;
designing a GOOSE message flow counter DataFlow in the FPGA, calculating message flow according to an A/B network, counting the real-time flow of the GOOSE message by the counter DataFlow, and entering a flow suppression mode when the value of the counter DataFlow is greater than a flow suppression threshold t _ F L OW 1;
designing a GOOSE message receiving FIFO with the size of 16KB in the FPGA, filling the GOOSE message into a shared FIFO after flow suppression, and immediately entering a GOOSE message flow suppression mode when 4KB remains in the shared FIFO space;
after entering a GOOSE message flow suppression mode, sending GOOSE messages to the processor at 2 frames/15 ms intervals.
The same or similar reference numerals correspond to the same or similar parts;
the terms describing positional relationships in the drawings are for illustrative purposes only and are not to be construed as limiting the patent;
it should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the claims of the present invention.
Claims (10)
1. A dual-network suppression method for GOOSE messages based on shared storage is characterized by comprising the following steps:
s1: identifying the received GOOSE message, and preprocessing the GOOSE message;
s2: discarding repeated messages of the received GOOSE message, and only uploading a first frame message;
s3: GOOSE messages received by different ports are uploaded through a shared FIFO;
s4: carrying out flow calculation on the received GOOSE message, and judging whether to enter a flow suppression mode or not according to the flow;
s5: and sending the GOOSE message after the flow suppression to the processor.
2. The dual-network GOOSE message throttling method based on shared storage according to claim 1, wherein the step S1 is implemented to identify the received GOOSE message, specifically:
and identifying the receiving MA C address, the message APPID and the GOOSE message receiving port number in the GOOSE message.
3. The dual-network GOOSE message throttling method according to claim 2, wherein the preprocessing of the GOOSE message in step S1 is to perform 32-bit CRC calculation on the GOOSE message, and add GOOSE message receiving port number to the CRC.
4. The dual-network GOOSE message throttling method according to claim 3, wherein GOOSE messages received from different ports in step S3 are respectively sent to the shared FIFO through FIFOs of 4kb size.
5. The dual-network GOOSE message throttling method based on shared storage according to claim 4, wherein the size of the shared FIFO in step S3 is 16 kb.
6. The dual-network GOOSE message throttling method based on shared storage according to claim 5, wherein in step S4, the traffic calculation of the received GOOSE messages specifically includes calculating the number of GOOSE messages received within 1S and calculating real-time traffic of GOOSE messages.
7. The dual-network throttling method of GOOSE packets based on shared storage according to claim 6, wherein in step S4, it is determined whether to enter traffic throttling mode according to traffic, and if the number of GOOSE packets received in 1S exceeds GOOSE packet traffic throttling threshold t _ F L OW2, the method enters traffic throttling mode.
8. The dual-network GOOSE message throttling method according to claim 7, wherein in step S4, it is determined whether to enter a traffic throttling mode according to traffic, and if the real-time traffic of the GOOSE message exceeds the GOOSE message traffic throttling threshold t _ F L OW1, the GOOSE message enters the traffic throttling mode.
9. The dual-network throttling method for GOOSE messages based on shared storage according to claim 6, wherein in step S4, it is further determined whether to enter traffic throttling mode by determining the size of the remaining space of the shared FIFO.
10. The dual-network GOOSE message throttling method based on shared storage as claimed in claim 7, wherein the GOOSE message after traffic throttling in step S5 is sent to the processor at 2 frames/15 ms intervals.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010552831.5A CN111447149A (en) | 2020-06-17 | 2020-06-17 | Shared storage-based GOOSE message dual-network inhibition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010552831.5A CN111447149A (en) | 2020-06-17 | 2020-06-17 | Shared storage-based GOOSE message dual-network inhibition method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111447149A true CN111447149A (en) | 2020-07-24 |
Family
ID=71655503
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010552831.5A Pending CN111447149A (en) | 2020-06-17 | 2020-06-17 | Shared storage-based GOOSE message dual-network inhibition method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111447149A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113037740A (en) * | 2021-03-04 | 2021-06-25 | 南京国电南自电网自动化有限公司 | GOOSE message sender restart frame judging method |
CN114244749A (en) * | 2021-12-31 | 2022-03-25 | 国电南京自动化股份有限公司 | Dual-network GOOSE message suppression method and device |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753584A (en) * | 2010-01-09 | 2010-06-23 | 东方电子股份有限公司 | Method for improving rapid message processing speed of intelligent transformer substation under VxWorks system |
CN103326963A (en) * | 2013-06-03 | 2013-09-25 | 麦康世 | Digital substation process level data exchanging device |
CN103378654A (en) * | 2012-04-27 | 2013-10-30 | 南京南瑞继保电气有限公司 | Method for filtering network messages of process level of intelligent substation |
CN103685079A (en) * | 2014-01-02 | 2014-03-26 | 武汉迈威实达软件有限公司 | Self-adaptive Ethernet single-loop network algorithm |
CN103716239A (en) * | 2013-12-24 | 2014-04-09 | 南京磐能电力科技股份有限公司 | Network storm inhibition method in process layer of intelligent transformer station |
CN106411611A (en) * | 2016-11-11 | 2017-02-15 | 安徽维德工业自动化有限公司 | Industrial Ethernet switch redundant ring system |
CN107196823A (en) * | 2017-06-08 | 2017-09-22 | 全球能源互联网研究院 | A kind of network storm restraining device and its method based on IEC61850 chips |
CN107835067A (en) * | 2017-11-29 | 2018-03-23 | 长园深瑞继保自动化有限公司 | GOOSE message based on programming device receives storm suppressing method |
CN108781348A (en) * | 2017-05-17 | 2018-11-09 | 华为技术有限公司 | A kind of dispatching method and terminal |
CN109617923A (en) * | 2019-01-25 | 2019-04-12 | 南京国电南自电网自动化有限公司 | A kind of transformer station process layer network packet filtering retransmission unit |
CN109698734A (en) * | 2019-01-30 | 2019-04-30 | 南方电网科学研究院有限责任公司 | Abnormal judgment method based on GOOSE dual-network receiving mechanism |
CN110852903A (en) * | 2019-11-15 | 2020-02-28 | 积成电子股份有限公司 | Ladder type elastic network storm filtering method based on FPGA |
-
2020
- 2020-06-17 CN CN202010552831.5A patent/CN111447149A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753584A (en) * | 2010-01-09 | 2010-06-23 | 东方电子股份有限公司 | Method for improving rapid message processing speed of intelligent transformer substation under VxWorks system |
CN103378654A (en) * | 2012-04-27 | 2013-10-30 | 南京南瑞继保电气有限公司 | Method for filtering network messages of process level of intelligent substation |
CN103326963A (en) * | 2013-06-03 | 2013-09-25 | 麦康世 | Digital substation process level data exchanging device |
CN103716239A (en) * | 2013-12-24 | 2014-04-09 | 南京磐能电力科技股份有限公司 | Network storm inhibition method in process layer of intelligent transformer station |
CN103685079A (en) * | 2014-01-02 | 2014-03-26 | 武汉迈威实达软件有限公司 | Self-adaptive Ethernet single-loop network algorithm |
CN106411611A (en) * | 2016-11-11 | 2017-02-15 | 安徽维德工业自动化有限公司 | Industrial Ethernet switch redundant ring system |
CN108781348A (en) * | 2017-05-17 | 2018-11-09 | 华为技术有限公司 | A kind of dispatching method and terminal |
CN107196823A (en) * | 2017-06-08 | 2017-09-22 | 全球能源互联网研究院 | A kind of network storm restraining device and its method based on IEC61850 chips |
CN107835067A (en) * | 2017-11-29 | 2018-03-23 | 长园深瑞继保自动化有限公司 | GOOSE message based on programming device receives storm suppressing method |
CN109617923A (en) * | 2019-01-25 | 2019-04-12 | 南京国电南自电网自动化有限公司 | A kind of transformer station process layer network packet filtering retransmission unit |
CN109698734A (en) * | 2019-01-30 | 2019-04-30 | 南方电网科学研究院有限责任公司 | Abnormal judgment method based on GOOSE dual-network receiving mechanism |
CN110852903A (en) * | 2019-11-15 | 2020-02-28 | 积成电子股份有限公司 | Ladder type elastic network storm filtering method based on FPGA |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113037740A (en) * | 2021-03-04 | 2021-06-25 | 南京国电南自电网自动化有限公司 | GOOSE message sender restart frame judging method |
CN113037740B (en) * | 2021-03-04 | 2023-08-18 | 南京国电南自电网自动化有限公司 | GOOSE message sending Fang Chongqi frame discrimination method |
CN114244749A (en) * | 2021-12-31 | 2022-03-25 | 国电南京自动化股份有限公司 | Dual-network GOOSE message suppression method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103036893B (en) | A kind of one deck network data processing method being applicable to intelligent substation | |
WO2016107210A1 (en) | Redundant industrial ethernet system with multistage packet filtering and service classification control | |
US9363200B2 (en) | Transmission of data over a low-bandwidth communication channel | |
CN111447149A (en) | Shared storage-based GOOSE message dual-network inhibition method | |
CN107135049B (en) | Reliable asynchronous communication method facing discrete data stream | |
CN111901356A (en) | Intelligent substation process layer network storm suppression method and device and electronic equipment | |
WO2020147836A1 (en) | Ethernet frame transmission method and communication device | |
AU2019443141B2 (en) | Wireless communication method and apparatus | |
CN103369593B (en) | A kind of method compressing reconciliation compressed ethernet message and network element device | |
WO2018227906A1 (en) | Voice over long-term evolution (volte) data guarantee method and device | |
CN102082773B (en) | Communication method based on inter-column security communication network protocol of reactor protection system | |
EP0223459B1 (en) | Runt packet filter | |
CN107566294B (en) | Network storm suppression method applicable to IEC62439 standard | |
CN105530245A (en) | System for improving non-private network GOOSE message transmission reliability | |
Gao et al. | Study on communication service strategy for congestion issue in smart substation communication network | |
CN102255790A (en) | Method and system for informing congestion control information | |
CN107277011B (en) | Data classification method and device for terminal equipment | |
CN102970177A (en) | Method for analyzing and filtering communication data error codes of computer monitoring system | |
CN104065587A (en) | FPGA-based intelligent transformer station network storm processing module and solution | |
CN107425998A (en) | A kind of communication link support method based on industrial WIFI | |
CN115811351A (en) | Voice transmission method, device and system based on Beidou satellite communication | |
CN101854396B (en) | Method and device for processing bandwidth capacity of MLPPP group | |
CN106533975B (en) | A kind of sampled value frame decoding implementation method based on gigabit networking | |
CN114244749A (en) | Dual-network GOOSE message suppression method and device | |
Liang et al. | Intelligent Substation Switch Traffic Scheduling Model Based on Time-Sensitive Network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200724 |
|
RJ01 | Rejection of invention patent application after publication |