CN103338158A - GOOSE message transmission delay jitter suppression method - Google Patents

GOOSE message transmission delay jitter suppression method Download PDF

Info

Publication number
CN103338158A
CN103338158A CN2013102263276A CN201310226327A CN103338158A CN 103338158 A CN103338158 A CN 103338158A CN 2013102263276 A CN2013102263276 A CN 2013102263276A CN 201310226327 A CN201310226327 A CN 201310226327A CN 103338158 A CN103338158 A CN 103338158A
Authority
CN
China
Prior art keywords
goose message
frame
ethernet
normal frames
goose
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.)
Granted
Application number
CN2013102263276A
Other languages
Chinese (zh)
Other versions
CN103338158B (en
Inventor
吴鹏
陈磊
刘川
陶静
吴军民
张刚
黄在朝
黄辉
邓辉
王玮
沈文
侯功
于海
虞跃
姚启桂
张增华
王向群
李春龙
孙晓艳
王鹤
于鹏飞
喻强
陈伟
任杰
黄治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shandong Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shandong Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI, State Grid Shandong Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201310226327.6A priority Critical patent/CN103338158B/en
Publication of CN103338158A publication Critical patent/CN103338158A/en
Application granted granted Critical
Publication of CN103338158B publication Critical patent/CN103338158B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention belongs to the power system communication technical field and provides a GOOSE message transmission delay jitter suppression method. According to the GOOSE message transmission delay jitter suppression method, a backup retransmission mechanism is adopted to back up normal frames which are being transmitted by a port to a buffer zone; if GOOSE messages are transmitted to the port, the transmission of the normal frames stops, and the forwarding of the GOOSE messages begins; and after the GOOSE messages have already been forwarded, the normal frames which are backed up in the buffer zone previously are re-transmitted. With the GOOSE message transmission delay jitter suppression method adopted, jitter caused by forward delay of the GOOSE messages can be avoided, wherein the forward delay is caused by a situation where the normal frames occupy the port; and at the same time, the GOOSE message transmission delay jitter suppression method is compatible with existing various Ethernet standards, software/hardware modification is not required to be performed on terminal equipment.

Description

A kind of GOOSE message transmissions delay variation inhibition method
Technical field
The invention belongs to the communication of power system technical field, be specifically related to a kind of GOOSE message transmissions delay variation inhibition method.
Background technology
Intelligent substation adopts IEC61850 to unify communication protocol, usually be divided into process layer, wall and station level, wall and station level equipment, process layer and bay device are interconnected by communication network, the GOOSE message that is used for the control switch tripping operation or closes a floodgate is by this communication network transmission, so the real-time communication of GOOSE message is very crucial.
At present, can be made as the GOOSE message priority the highest by the QoS technology, perhaps mark the GOOSE message private queue of a limit priority separately, the method that adopts message to identify is simultaneously sent into the GOOSE message in this private queue and is transmitted, and these two kinds of methods guarantee the real-time of GOOSE message to a certain extent; Particularly a kind of method in back can guarantee that the GOOSE priority of messages is higher than all normal frames, thereby reduces GOOSE message transmissions time delay.
But, be subjected to the restriction of switch forwarding mechanism, if there is normal frames to send in the switch ports themselves, even the GOOSE message has limit priority, also need wait for that normal frames could begin after being sent completely to send, so the frame length of the normal frames that sending according to port of postponing a meeting or conference during the forwarding of GOOSE message in switch produces shake.According to the standard of Ethernet, normal frames length in 64 bytes between 1518 bytes, when port speed is 100M bit/s, the scope that can calculate GOOSE message delay variation in 5.12 microseconds between 121.44 microseconds.This delay variation is far longer than the mean transit delay (about 10 microseconds) of switch, has had a strong impact on the real-time of GOOSE message, need adopt an effective measure and suppress.
Summary of the invention
At the deficiencies in the prior art, the present invention proposes a kind of GOOSE message transmissions delay variation inhibition method, is used for suppressing the GOOSE message transmissions delay variation of Industrial Ethernet switch.
A kind of GOOSE message transmissions delay variation inhibition method provided by the invention, its improvements are that described method comprises the steps:
(1) sets the normal frames buffering area of 1518 bytes at the ethernet port of switch;
(2) set the GOOSE message private queue of a limit priority at the ethernet port of switch;
(3) after the ethernet port of switch receives a frame, by target MAC (Media Access Control) address and the ethernet type value of GOOSE message identification module judgement received frame, if the GOOSE message is sent it into the GOOSE message private queue of corresponding port;
When (4) ethernet port of switch sends normal frames, send again after described normal frames backed up to buffering area;
(5) when in the GOOSE of the ethernet port message private queue GOOSE message being arranged, if this ethernet port is then transmitted the GOOSE message not sending normal frames; If this port sending normal frames, then stop to send described normal frames, when the next clock cycle begins, transmit described GOOSE message, treat that described GOOSE message is sent completely after, the described normal frames that backs up again in intransit buffering the district in.
Wherein, in the step (3), GOOSE message identification module judges that the target MAC (Media Access Control) address of received frame and the processing procedure of ethernet type value comprise:
If the target MAC (Media Access Control) address of received frame is between 0x010CCD010000---between the 0x010CCD0101FF, and the ethernet type value is 0x88B8, judges that then described received frame is the GOOSE message, and it is sent into the GOOSE message private queue of corresponding port;
If the target MAC (Media Access Control) address of received frame does not belong to 0x010CCD010000---between the 0x010CCD0101FF, judge that then described received frame is normal frames, transmits according to forwarding mechanism;
If the target MAC (Media Access Control) address of received frame is between 0x010CCD010000---between the 0x010CCD0101FF, the ethernet type value is not 0x88B8, judges that then described received frame is normal frames, transmits according to forwarding mechanism.
Wherein, in the step (4), in buffering area, after complete the sending of every frame normal frames, empty described buffering area.
Wherein, in the step (3), the ethernet port of described switch carries out the frame length inspection when receiving ethernet frame, abandons the ethernet frame of frame length mistake.
Wherein, the mode that ethernet frame is carried out length check comprises:
1) judges according to frame length, if frame length less than 64 bytes, then keeps described ethernet frame, otherwise abandons;
2) judge according to the definition of frame length, if do not meet the frame length definition, then abandon, otherwise keep described ethernet frame.
Compared with the prior art, beneficial effect of the present invention is:
The present invention sets the normal frames buffering area of 1518 bytes at the ethernet port of switch, is used for the normal frames of storage backup, and the processing when the GOOSE message occurring is ready, and has guaranteed the accuracy of data.
The present invention has guaranteed accuracy and the real-time of GOOSE message in the GOOSE message private queue of a limit priority of ethernet port setting of switch.
The present invention sends after described normal frames is backed up to buffering area again; In buffering area, after complete the sending of every frame normal frames, empty buffering area, guaranteed the integrality of common card, and space resources has been saved in the operating process that empties buffering area.
When the present invention sends normal frames at port, if the GOOSE message enters private queue, then stop to send described normal frames, when beginning, transmits the next clock cycle GOOSE message, after treating that the GOOSE message is sent completely, again in the intransit buffering district backup normal frames, this method can guarantee that the GOOSE message forwarding is not subjected to the influence of normal frames, make that the propagation delay time of GOOSE message in switch is fixed value, suppressed normal frames and occupied the delay variation that port causes.
The present invention carries out the frame length inspection when the ethernet port of switch receives ethernet frame, abandon the ethernet frame of frame length mistake, has guaranteed the correctness of information, has saved the time, has improved efficient.
The present invention and existing various ethernet standard compatibility need not terminal equipment and carry out any software and hardware modification, have guaranteed the generality of method.
Description of drawings
Fig. 1 is judgement GOOSE method of message flow chart provided by the invention.
Fig. 2 is the flow chart that port provided by the invention sends message.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is described in further detail.
The present invention proposes a kind of GOOSE message transmissions delay variation inhibition method, comprises the steps:
(1) sets the normal frames buffering area of 1518 bytes at the ethernet port of switch; (" normal frames " of present embodiment is used for difference GOOSE file, and namely the frame except the GOOSE message is normal frames)
(2) set the GOOSE message private queue of a limit priority at the ethernet port of switch;
(3) after the ethernet port of switch receives a frame, by target MAC (Media Access Control) address and the ethernet type value of GOOSE message identification module judgement received frame, if the GOOSE message is sent it into the GOOSE message private queue of corresponding port;
Wherein, the target MAC (Media Access Control) address of GOOSE message identification module judgement received frame and the processing procedure of ethernet type value comprise as shown in Figure 1:
If the target MAC (Media Access Control) address of received frame is between 0x010CCD010000---between the 0x010CCD0101FF, and the ethernet type value is 0x88B8, judges that then described received frame is the GOOSE message, and it is sent into the GOOSE message private queue of corresponding port;
If the target MAC (Media Access Control) address of received frame does not belong to 0x010CCD010000---between the 0x010CCD0101FF, judge that then described received frame is normal frames, transmits according to forwarding mechanism;
If the target MAC (Media Access Control) address of received frame is between 0x010CCD010000---between the 0x010CCD0101FF, the ethernet type value is not 0x88B8, judges that then described received frame is normal frames, transmits according to forwarding mechanism.
Wherein, the ethernet port of switch receives ethernet frame and carries out the frame length inspection when (comprising GOOSE message and normal frames), abandons the ethernet frame of frame length mistake.The mode of ethernet frame being carried out length check comprises:
Judge according to frame length, if frame length less than 64 bytes, then keeps described ethernet frame, otherwise abandons; Or
Definition according to frame length is judged, if do not meet the frame length definition, then abandons, otherwise keeps described ethernet frame.
When (4) ethernet port of switch sends normal frames, send again after described normal frames backed up to buffering area; In buffering area, after complete the sending of every frame normal frames, empty described buffering area;
(5) when in the GOOSE of the ethernet port message private queue GOOSE message being arranged, if this ethernet port is then normally transmitted the GOOSE message not sending normal frames; If this port is sending normal frames, then stop to send described normal frames, when the next clock cycle begins, transmit described GOOSE message, treat that described GOOSE message is sent completely after, again the described normal frames of backup in the intransit buffering district again, its process as shown in Figure 2.
Should be noted that at last: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit, although with reference to above-described embodiment the present invention is had been described in detail, those of ordinary skill in the field are to be understood that: still can make amendment or be equal to replacement the specific embodiment of the present invention, and do not break away from any modification of spirit and scope of the invention or be equal to replacement, it all should be encompassed in the middle of the claim scope of the present invention.

Claims (5)

1. a GOOSE message transmissions delay variation inhibition method is characterized in that described method comprises the steps:
(1) sets the normal frames buffering area of 1518 bytes at the ethernet port of switch;
(2) set the GOOSE message private queue of a limit priority at the ethernet port of switch;
(3) after the ethernet port of switch receives a frame, by target MAC (Media Access Control) address and the ethernet type value of GOOSE message identification module judgement received frame, if the GOOSE message is sent it into the GOOSE message private queue of corresponding port;
When (4) ethernet port of switch sends normal frames, send again after described normal frames backed up to buffering area;
(5) when in the GOOSE of the ethernet port message private queue GOOSE message being arranged, if this ethernet port is then transmitted the GOOSE message not sending normal frames; If this port sending normal frames, then stop to send described normal frames, when the next clock cycle begins, transmit described GOOSE message, treat that described GOOSE message is sent completely after, the described normal frames that backs up again in intransit buffering the district in.
2. the method for claim 1 is characterized in that, in the step (3), GOOSE message identification module judges that the target MAC (Media Access Control) address of received frame and the processing procedure of ethernet type value comprise:
If the target MAC (Media Access Control) address of received frame is between 0x010CCD010000---between the 0x010CCD0101FF, and the ethernet type value is 0x88B8, judges that then described received frame is the GOOSE message, and it is sent into the GOOSE message private queue of corresponding port;
If the target MAC (Media Access Control) address of received frame does not belong to 0x010CCD010000---between the 0x010CCD0101FF, judge that then described received frame is normal frames, transmits according to forwarding mechanism;
If the target MAC (Media Access Control) address of received frame is between 0x010CCD010000---between the 0x010CCD0101FF, the ethernet type value is not 0x88B8, judges that then described received frame is normal frames, transmits according to forwarding mechanism.
3. the method for claim 1 is characterized in that, in the step (4), after complete the sending of every frame normal frames, empties described buffering area in buffering area.
4. the method for claim 1 is characterized in that, in the step (3), the ethernet port of described switch carries out the frame length inspection when receiving ethernet frame, abandons the ethernet frame of frame length mistake.
5. method as claimed in claim 4 is characterized in that, the mode of ethernet frame being carried out length check comprises:
1) judges according to frame length, if frame length less than 64 bytes, then keeps described ethernet frame, otherwise abandons;
2) judge according to the definition of frame length, if do not meet the frame length definition, then abandon, otherwise keep described ethernet frame.
CN201310226327.6A 2013-06-07 2013-06-07 A kind of GOOSE message transmission delay jitter suppression method Active CN103338158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310226327.6A CN103338158B (en) 2013-06-07 2013-06-07 A kind of GOOSE message transmission delay jitter suppression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310226327.6A CN103338158B (en) 2013-06-07 2013-06-07 A kind of GOOSE message transmission delay jitter suppression method

Publications (2)

Publication Number Publication Date
CN103338158A true CN103338158A (en) 2013-10-02
CN103338158B CN103338158B (en) 2017-11-21

Family

ID=49246258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310226327.6A Active CN103338158B (en) 2013-06-07 2013-06-07 A kind of GOOSE message transmission delay jitter suppression method

Country Status (1)

Country Link
CN (1) CN103338158B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812787A (en) * 2014-03-03 2014-05-21 国家电网公司 Electric power telecommunication network message prior forwarding method
CN105049346A (en) * 2015-07-31 2015-11-11 南京荣桓电力自动化有限公司 Method for locating dynamic communication link of smart substation
CN106936728A (en) * 2017-03-01 2017-07-07 中国科学院沈阳计算技术研究所有限公司 A kind of fixed delay control method of industrial ethernet switch
CN110290198A (en) * 2019-06-21 2019-09-27 上海东土远景工业科技有限公司 A kind of GOOSE message sending method and device
CN112202519A (en) * 2020-08-26 2021-01-08 浙江双成电气有限公司 Method for controlling message transmission delay jitter
WO2021114494A1 (en) * 2019-12-12 2021-06-17 国家电网有限公司 Wind power plant network switch output optimization method and system for reducing key service time delay

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488897A (en) * 2009-02-25 2009-07-22 北京东土科技股份有限公司 Zero packet loss technique implementing method when fast redundancy reverse occurs
CN101753584A (en) * 2010-01-09 2010-06-23 东方电子股份有限公司 Method for improving rapid message processing speed of intelligent transformer substation under VxWorks system
CN102347894A (en) * 2011-06-09 2012-02-08 国网电力科学研究院 GOOSE message prior forwarding method for industrial Ethernet exchanger
CN202978439U (en) * 2012-12-21 2013-06-05 湖北省电力公司电力科学研究院 Process level networking structure applicable to centralized station domain protection communication of intelligent substations

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488897A (en) * 2009-02-25 2009-07-22 北京东土科技股份有限公司 Zero packet loss technique implementing method when fast redundancy reverse occurs
CN101753584A (en) * 2010-01-09 2010-06-23 东方电子股份有限公司 Method for improving rapid message processing speed of intelligent transformer substation under VxWorks system
CN102347894A (en) * 2011-06-09 2012-02-08 国网电力科学研究院 GOOSE message prior forwarding method for industrial Ethernet exchanger
CN202978439U (en) * 2012-12-21 2013-06-05 湖北省电力公司电力科学研究院 Process level networking structure applicable to centralized station domain protection communication of intelligent substations

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812787A (en) * 2014-03-03 2014-05-21 国家电网公司 Electric power telecommunication network message prior forwarding method
CN105049346A (en) * 2015-07-31 2015-11-11 南京荣桓电力自动化有限公司 Method for locating dynamic communication link of smart substation
CN105049346B (en) * 2015-07-31 2018-01-12 南京荣桓电力自动化有限公司 The localization method of intelligent substation dynamic communication link
CN106936728A (en) * 2017-03-01 2017-07-07 中国科学院沈阳计算技术研究所有限公司 A kind of fixed delay control method of industrial ethernet switch
CN110290198A (en) * 2019-06-21 2019-09-27 上海东土远景工业科技有限公司 A kind of GOOSE message sending method and device
CN110290198B (en) * 2019-06-21 2022-03-04 上海东土远景工业科技有限公司 GOOSE message sending method and device
WO2021114494A1 (en) * 2019-12-12 2021-06-17 国家电网有限公司 Wind power plant network switch output optimization method and system for reducing key service time delay
CN112202519A (en) * 2020-08-26 2021-01-08 浙江双成电气有限公司 Method for controlling message transmission delay jitter

Also Published As

Publication number Publication date
CN103338158B (en) 2017-11-21

Similar Documents

Publication Publication Date Title
CN103338158A (en) GOOSE message transmission delay jitter suppression method
US8817806B2 (en) Method and apparatus for flow control between RLC and PDCP in a communication
US11032205B2 (en) Flow control method and switching device
CN101330451B (en) Method for processing forwarding of data packet, node and packet core apparatus
US9729459B2 (en) System and method for credit-based link level flow control
KR101872543B1 (en) Method and device for transmitting data having variable bit length
CA2694997A1 (en) Method and apparatus for transmission of circuit switched voice over packet switched networks
CN102244568B (en) Wireless network congestion control method with attached-type cross-layer design
WO2016090978A1 (en) Traffic switching method and device
CN101594308B (en) Method and system for transmitting message
CN103200622A (en) Communication handling method, device and gateway equipment
CN102611620A (en) Congestion control method and message processing device
CN104486243A (en) Data transmission method, equipment and system
CN103546258A (en) Method and device for data transmission
CN101784067A (en) Method for quickly sensing meeting nodes based on cross-layer triggering in opportunistic network
CN103152278B (en) Congested defining method, device and the network equipment
CN103916318A (en) Single-loop network implementation method
CN104486187B (en) A kind of CAN communication device and method of dynamic synchronization
KR101397299B1 (en) Method and apparatus for controlling transmitting and receiving frame in ring network applied hsr protocol
CN109586932A (en) Method of multicasting and terminal device
CN103746842A (en) Method and system for detecting fault restarting of line card
CN107995315B (en) Method and device for synchronizing information between service boards, storage medium and computer equipment
CN102340508B (en) Data transmission method and equipment
CN105530065B (en) For system and method at IEEE1588 pairs of PRP/HSR
US9887927B2 (en) End-to-end credit recovery

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant