A kind of message forwarding method and device of intelligent substation simulation training system
Technical field
The present invention relates to technical field of electric power, more particularly to a kind of message forwarding side of intelligent substation simulation training system
Method and device.
Background technology
In power system, it is often necessary to intelligent substation simulation training system.In this intelligent substation emulation training
In system, it is often necessary to which message is forwarded.Because the type of message of intelligent substation is fixed, intelligent substation is being set
The logical relation of all messages is to determine after the completion of meter.But traditional method forwarded to message, it usually needs carry out
Cumbersome VLAN or multicast address configuration, there are the following problems for it:Easily malfunctioned when being forwarded, be cumbersome, stability and
Reliability is not high.
The content of the invention
The technical problem to be solved in the present invention is, easily malfunctions, operates when being forwarded for prior art above-mentioned
Cumbersome, the defects of stability and reliability be not high, there is provided accuracy is higher, simple and quick, stably when one kind is forwarded
The message forwarding method and device of property and the higher intelligent substation simulation training system of reliability.
The technical solution adopted for the present invention to solve the technical problems is:Construct a kind of intelligent substation simulation training system
Message forwarding method, comprise the following steps:
A) after the completion of intelligent substation design, SCD file is downloaded to all interchangers of network;
B) interchanger parses to the SCD file, obtains SCD configuration identifier tables;The SCD configuration identifiers table
List item include application identities, intelligent electronic device title and intelligent electronic device port name;
C the network topology of the interchanger) is obtained by improved ISIS agreements, and the network topology for generating interchanger is closed
It is table;The list item of the network topology table includes switch system mark and switch ports themselves;
D) parsing enters each field of the message of the switch ports themselves, forms the automatic learning table of intelligent electronic device;
E) by the SCD configuration identifiers table, the network topology table and the automatic learning table of intelligent electronic device of interchanger
Mapped, form the forwarding relation table of each port of intelligent electronic device and each port of interchanger;
F intelligent forwarding) is carried out to the message.
In the message forwarding method of intelligent substation simulation training system of the present invention, the message is
IEC61850 messages.
In the message forwarding method of intelligent substation simulation training system of the present invention, the step B) further
Including:
B1) interchanger parses SCD file and obtains message subscribing relationship;
B2 SCD configuration identifier tables) are formed;The list item of the SCD configuration identifiers table includes application identities, smart electronicses are set
Standby title and intelligent electronic device port name.
In the message forwarding method of intelligent substation simulation training system of the present invention, the intelligent electronic device
The list item of automatic learning table includes application identities and switch ports themselves.
In the message forwarding method of intelligent substation simulation training system of the present invention, the step D) further
Including:
D1) the message by the parsing of intelligent electronic device Auto-learning Method into switch ports themselves;
D2 its application identities) is obtained;
D3 the automatic learning table of intelligent electronic device) is generated.
The invention further relates to a kind of device for the message forwarding method for realizing above-mentioned intelligent substation simulation training system, bag
Include:Download unit:After the completion of being designed in intelligent substation, SCD file is downloaded to all interchangers of network;
Parse acquiring unit:For making the interchanger parse the SCD file, SCD configuration identifier tables are obtained;
The list item of the SCD configuration identifiers table includes application identities, intelligent electronic device title and intelligent electronic device port name;
Topology generation unit:For obtaining the network topology of the interchanger by improved ISIS agreements, and it is raw
Into the network topology table of interchanger;The list item of the network topology table includes switch system and identifies and exchange generator terminal
Mouthful;
Field resolution unit:For parsing each field for the message for entering the switch ports themselves, smart electronicses are formed
The automatic learning table of equipment;
Map unit:For by the network topology table and intelligent electronic device of the SCD configuration identifiers table, interchanger
Automatic learning table is mapped, and forms the forwarding relation table of each port of intelligent electronic device and each port of interchanger;
Retransmission unit:For carrying out intelligent forwarding to the message.
In the device of the message forwarding method of the present invention for realizing above-mentioned intelligent substation simulation training system, institute
It is IEC61850 messages to state message.
In the device of the message forwarding method of the present invention for realizing above-mentioned intelligent substation simulation training system, institute
Parsing acquiring unit is stated to further comprise:
Receive message module:For making the interchanger parsing SCD file and obtaining message subscribing relationship;
Configuration identifier table forms module:For forming SCD configuration identifier tables;Wrapped in the list item of the SCD configuration identifiers table
Include application identities, intelligent electronic device title and intelligent electronic device port name.
In the device of the message forwarding method of the present invention for realizing above-mentioned intelligent substation simulation training system, institute
Stating the list item of the automatic learning table of intelligent electronic device includes application identities and switch ports themselves.
In the device of the message forwarding method of the present invention for realizing above-mentioned intelligent substation simulation training system, institute
Field resolution unit is stated to further comprise:
Packet parsing module:For the report by the parsing of intelligent electronic device Auto-learning Method into switch ports themselves
Text;
Application identities acquisition module:For obtaining its application identities;
Automatic study generation module:For generating the automatic learning table of the intelligent electronic device.
Implement the message forwarding method and device of the intelligent substation simulation training system of the present invention, have below beneficial to effect
Fruit:Due to can intelligently be parsed to obtain SCD configuration identifier tables to SCD file, by described in the acquisition of improved ISIS agreements
The network topology of interchanger, and generate the network topology table of interchanger;Parsing enters the message of the switch ports themselves
Each field, form the automatic learning table of intelligent electronic device;Finally by SCD configuration identifiers table, the network topology of interchanger
Table and the automatic learning table of intelligent electronic device are mapped, and form the forwarding of each port of intelligent electronic device and each port of interchanger
Relation table, the intelligence forwarding to message is so achieved that, it no longer needs to carry out cumbersome VLAN or multicast address configuration, institute
Accuracy is higher when being forwarded with it, simple and quick, stability and reliability are higher.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is method in the message forwarding method and device one embodiment of intelligent substation simulation training system of the present invention
Flow chart;
Fig. 2 is that interchanger parses to SCD file in the embodiment, obtains the idiographic flow of SCD configuration identifier tables
Figure;
Fig. 3 is that parsing into each field of the message of switch ports themselves, forms intelligent electronic device in the embodiment
The particular flow sheet of automatic learning table;
Fig. 4 is the structural representation of device in the embodiment.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
In the message forwarding method of intelligent substation simulation training system of the present invention and device embodiment, its intelligent power transformation
Stand simulation training system message forwarding method flow chart it is as shown in Figure 1.In Fig. 1, the intelligent substation simulation training system
Message forwarding method comprise the following steps:
After the completion of the design of step S01 intelligent substations, SCD file is downloaded to all interchangers of network:In this step,
After the completion of intelligent substation design, SCD file is downloaded to all interchangers of network.
Step S02 interchangers parse to SCD file, obtain SCD configuration identifier tables:In this step, interchanger is to SCD
File is parsed, and obtains SCD configuration identifier tables.The list item of the SCD configuration identifier tables includes application identities, smart electronicses are set
Standby title and intelligent electronic device port name.
Step S03 obtains the network topology of interchanger by improved ISIS agreements, and generates the network topology of interchanger
Relation table:In this step, the network topology of interchanger is obtained by improved ISIS agreements, and generates the network topology of interchanger
Relation table, in other words, that is, the syntople by improved ISIS protocol discoverys switch network, generate interchanger
Network topology table.The list item of the network topology table includes switch system mark and switch ports themselves.
Step S04 parsings form the automatic learning table of intelligent electronic device into each field of the message of switch ports themselves:
In this step, parsed respectively to entering each field of message of switch ports themselves, form intelligent electronic device and learn automatically
Practise table.The list item of the above-mentioned automatic learning table of intelligent electronic device includes application identities and switch ports themselves.
Step S05 is by SCD configuration identifiers table, the network topology table of interchanger and the automatic learning table of intelligent electronic device
Mapped, form the forwarding relation table of each port of intelligent electronic device and each port of interchanger:In this step, SCD is configured
Mark table, the network topology table of interchanger and the automatic learning table of intelligent electronic device are combined, and can obtain intelligent electricity completely
The mapping relations of sub- each port of equipment and each port of interchanger, form turn of each port of intelligent electronic device and each port of interchanger
Send out relation table.
Step S06 carries out intelligent forwarding to message:In this step, intelligent forwarding is carried out to message, in the present embodiment, the report
Text is IEC61850 messages.The method of the present embodiment no longer needs to carry out cumbersome VLAN or multicast address configuration, so it enters
Accuracy is higher during row forwarding, simple and quick, stability and reliability are higher.
For the present embodiment, above-mentioned steps S02 can also be refined further, and the flow chart after it is refined is as shown in Figure 2.
In Fig. 2, step S02 further comprises:
Step S21 interchangers parse SCD file and obtain message subscribing relationship:In this step, interchanger parsing SCD file
And obtain message subscribing relationship.Specifically, publisher-subscription of every GOOSE and SV message is can obtain by translating SCD file
Person's relation, realize that the certainty based on application function exchanges.
Step S22 forms SCD configuration identifier tables:In this step, SCD configuration identifier tables are formed, the SCD configuration identifier tables
List item includes application identities, intelligent electronic device title and intelligent electronic device port name.In the present embodiment, function is exchanged
The forwarding relation of the parsing SCD file of intelligence, the artificial parsing work taken time and effort is saved, while patterned can shown virtual
Line, support the daily record and alarm of virtual secondary circuit abnormal conditions.
For the present embodiment, above-mentioned steps S04 can also be refined further, and the flow chart that it is refined is as shown in Figure 3.Figure
In 3, above-mentioned steps S04 further comprises:
Messages of the step S41 by the parsing of intelligent electronic device Auto-learning Method into switch ports themselves:In this step,
By the parsing of intelligent electronic device Auto-learning Method into the message of switch ports themselves, each field of message will be entered
Row parsing.
Step S42 obtains its application identities:In this step, the application identities of each field are obtained.
Step S43 generates the automatic learning table of intelligent electronic device:In this step, generation intelligent electronic device learns automatically
Table.
In the present embodiment, the message forwarding method of the intelligent substation simulation training system supports the intelligence of intelligent electronic device
It can identify, realize " plug and play " of the intelligent electronic device in any thing port, all devices can access the whole network exchange nearby
The arbitrary port of machine, convenient debugging and engineering wiring.Can be by intelligent electronic device and interchanger physical port after the completion of debugging
Bound, and alarm prompting is carried out at misconnection port.Meanwhile the transmission including each intelligent electronic device/connect can be predicted
Receive telegraph literary communication flows, the normal discharge of every kind of message, the important information such as burst flow and abnormal flow can be calculated.
The present embodiment further relates to a kind of device for the message forwarding method for realizing above-mentioned intelligent substation simulation training system,
Its structural representation is as shown in Figure 4.In Fig. 4, the device includes download unit 1, parsing acquiring unit 2, Topology generation list
Member 3, field resolution unit 4, map unit 5 and retransmission unit 6;Wherein, download unit 1 is used to design in intelligent substation and completed
Afterwards, SCD file is downloaded to all interchangers of network;Parsing acquiring unit 2 is used to make the interchanger to the SCD file
Parsed, obtain SCD configuration identifier tables;The list item of the SCD configuration identifiers table includes application identities, intelligent electronic device
Title and intelligent electronic device port name;Topology generation unit 3 is used to obtain interchanger by improved ISIS agreements
Network topology, and generate the network topology table of interchanger;The list item of network topology table includes switch system mark
Knowledge and switch ports themselves;Field resolution unit 4 is used to parse each field into the message of switch ports themselves, forms intelligence electricity
The sub- automatic learning table of equipment;The list item of the automatic learning table of the intelligent electronic device includes application identities and switch ports themselves;Mapping
Unit 5 is used to be reflected SCD configuration identifiers table, the network topology table of interchanger and the automatic learning table of intelligent electronic device
Penetrate, form the forwarding relation table of each port of intelligent electronic device and each port of interchanger;Retransmission unit 6 is used to carry out intelligence to message
Can forwarding.The message is IEC61850 messages.The method of the present embodiment no longer needs to carry out cumbersome VLAN or multicast address is matched somebody with somebody
Put, so accuracy is higher when it is forwarded, simple and quick, stability and reliability are higher.
In the present embodiment, above-mentioned parsing acquiring unit 2 further comprises that Receive message module 21 and configuration identifier table are formed
Module 22;Wherein, Receive message module 21 is used to make interchanger parsing SCD file and obtains message subscribing relationship;Configuration identifier
Table forms module 22 and is used to form SCD configuration identifier tables;The list item of the SCD configuration identifier tables includes application identities, intelligence electricity
Sub- device name and intelligent electronic device port name.In the present embodiment, the forwarding for exchanging the parsing SCD file of function intelligence is closed
System, the artificial parsing work taken time and effort, while the patterned display virtual line of energy are saved, supports that virtual secondary circuit is abnormal
The daily record and alarm of situation.
In the present embodiment, field resolution unit 4 further comprises packet parsing module 41, the and of application identities acquisition module 42
Automatic study generation module 43;Wherein, packet parsing module 41 be used for by intelligent electronic device Auto-learning Method parse into
Enter the message of switch ports themselves;Application identities acquisition module 42 is used to obtain its application identities;Automatic study generation module 43 is used
In the generation automatic learning table of intelligent electronic device.
In a word, the present invention supports the Intelligent Recognition of intelligent electronic device, realizes intelligent electronic device in any thing port
" plug and play ", all devices can access the arbitrary port of the whole network interchanger, convenient debugging and engineering wiring nearby.Debug
Intelligent electronic device and interchanger physical port can be bound after, and alarm prompting is carried out at misconnection port.Together
When, the transmission including each intelligent electronic device/reception message communication flow can be predicted, the normal stream of every kind of message can be calculated
Amount, the important information such as burst flow and abnormal flow.The accurate simple and fast of energy of the invention realizes the forwarding of message, and stably may be used
Lean on.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God any modification, equivalent substitution and improvements made etc., should be included in the scope of the protection with principle.