A kind of suppressing method and device of intelligent substation network storm
Technical field
The invention belongs to data processing field, more particularly to a kind of suppressing method and dress of intelligent substation network storm
Put.
Background technology
The universal exchange of intelligent substation be due to that can not accurately identify all types of business stream packets at present, therefore
When suppressing to network storm, still Goose and SV messages and other type messages with the square processing made no exception, nothing
Method distinguishes to important Goose messages and SV messages, and carries out specially treated.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of suppressing method and device of intelligent substation network storm, with solution
The problem of certainly prior art can not make a distinction processing to the different messages in intelligent substation.
The embodiment of the present invention is achieved in that a kind of suppressing method of intelligent substation network storm, methods described bag
Include:
According to the transmission characteristic matching message of message, the transmission characteristic includes:Transmission path, message flow and transmission road
Footpath;
By the message compared with default change threshold values;
When the message exceedes the change threshold values, the flow of the message is suppressed.
The another object of the embodiment of the present invention is to provide a kind of restraining device of intelligent substation network storm, the dress
Put including:
Matching unit, for the transmission characteristic matching message according to message, the transmission characteristic includes:Transmission path, report
Literary flow and transmitting path;
Comparing unit, for by the message that the message matching unit matches with it is default change threshold values compared with;
Suppress unit, for when the message exceed the comparing unit it is default change threshold values when, to the message
Flow is suppressed.
The embodiment of the present invention, the various messages in intelligent network transformer station are matched, according to the type of message by after matching
Message works as internet storm occurring, when message exceedes the change threshold values, to the message compared with default change threshold values
Flow suppressed, realize the different disposal to different messages, effectively inhibit network storm to intelligent network become
The harm in power station.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the flow chart of intelligent substation network storm suppressing method provided in an embodiment of the present invention;
Fig. 2 is the structure chart of intelligent substation network storm restraining device provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
The embodiment of the present invention, the various messages in intelligent network transformer station are matched, according to the type of message by after matching
Message works as internet storm occurring, when message exceedes the change threshold values, to the message compared with default change threshold values
Flow suppressed, realize the different disposal to different messages, effectively inhibit network storm to intelligent network become
The harm in power station.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
It is the flow chart of intelligent substation network storm suppressing method provided in an embodiment of the present invention as shown in Figure 1, it is described
Method comprises the following steps:
In step S101, according to the transmission characteristic matching message of message, the transmission characteristic includes:Transmission path, report
Literary flow and transmitting path.
In embodiments of the present invention, being used to send the message of message in intelligent substation includes:Goose(Generic
Object Oriented Substation Event are referred to as:Towards the transformer substation case of general object)Message, SV(Sample
Value is referred to as:Sampled value)Message, MMS(Manufacturing Message Specification are referred to as:Manufacture message rule
Model)Message, pair when message.Therefore can be divided into this step:
1st, Goose messages are matched according to the transmission characteristic of Goose messages, the transmission characteristic includes:Transmission path, message
Flow and transmitting path;Or
2nd, SV messages are matched according to the transmission characteristic of SV messages, the transmission characteristic includes:Transmission path, message flow and
Transmitting path;Or
3rd, MMS messages are matched according to the transmission characteristic of MMS messages, the transmission characteristic includes:Transmission path, message flow
And transmitting path;Or
4th, message, the transmission characteristic include during the transmission characteristic matching pair of message during basis pair:Transmission path, message flow
Amount and transmitting path.
In step s 102, by the message compared with default change threshold values.
In embodiments of the present invention, intelligent substation presets different change threshold values according to the transmission features of different messages,
By different messages compared with default change threshold values, including:
1st, compared with the Goose messages being changed into threshold values with default transmission frequency.
In embodiments of the present invention, the transmission characteristic of Goose messages is:Carry out repeating transmission with certain transmission frequency,
And in internet storm occurring, the transmission frequency can accelerate, i.e. and the transmission frequency of Goose messages is 5 seconds under normal circumstances,
The transmission frequency of Goose messages is for 2 seconds or shorter during network storm, therefore transmission frequency can be changed into threshold values and be arranged to 3
Second, and by the transmission frequency of Goose messages compared with transmission frequency change threshold values.
2nd, compared with the SV messages being changed into threshold values with default transmission frequency.
In embodiments of the present invention, the transmission characteristic of SV messages is:Sent with certain transmission frequency(With Goose messages
Unlike:Goose messages are to repeat to send the message of identical content with certain transmission frequency), and in internet storm occurring
When, the transmission frequency can accelerate, therefore can set a transmission frequency change threshold values, and by the transmission frequency of SV messages with being somebody's turn to do
Transmission frequency change threshold values is compared.
3rd, compared with the MMS messages being changed into threshold values with default transmission frequency.
In embodiments of the present invention, MMS messages determine transmission frequency in systems, therefore when generation network storm
When, the transmission frequency of MMS messages can also change, therefore can preset the transmission frequency change threshold values of MMS messages, and will
Compared with the transmission frequency of MMS messages changes threshold values with the transmission frequency.
4th, compared with message at described pair being changed into threshold values with default transmission frequency.
In embodiments of the present invention, pair message determines transmission frequency in systems when, therefore when network storm occurs
When, pair when message transmission frequency can also change, therefore when can preset pair message transmission frequency change threshold values, and will
Pair when message transmission frequency and the transmission frequency change threshold values compared with.
In step s 103, when the message exceedes the change threshold values, the flow of the message is suppressed.
In embodiments of the present invention, when the transmission frequency of message exceedes default threshold values, system is the flow to message
Suppressed, including:
1st, when the transmission frequency of the Goose messages exceedes default transmission frequency change threshold values, the Goose is reported
The flow of text is suppressed, and the suppression includes:
Abandon the Goose messages that Stnum is identical and Sqnum is out of order;If still above threshold values,
Abandon the out of order Goose messages of Stnum;If still above threshold values,
Conventional Goose messages are abandoned in proportion;If still above threshold values,
Quick Goose messages are cached in order, and increase the ratio for abandoning conventional Goose messages.
2nd, when the transmission frequency of the SV messages exceedes default transmission frequency change threshold values, to the stream of the SV messages
Amount is suppressed, and the suppression includes:
Abandon the out of order SV messages of smpcnt;If still above threshold values,
Conventional SV messages are abandoned in proportion;If still above threshold values,
Quick SV messages are cached in order, and increase the ratio for abandoning conventional SV messages.
3rd, when the transmission frequency of the MMS messages exceedes default transmission frequency change threshold values, to the MMS messages
Flow is suppressed, and the suppression includes:Abandon the MMS messages more than the threshold values.
4th, when the transmission frequency of message exceedes default transmission frequency change threshold values when described pair, to message at described pair
Flow suppressed, the suppression includes:Abandon more than the threshold values pair when message.
The embodiment of the present invention, the various messages in intelligent network transformer station are matched, according to the type of message by after matching
Message works as internet storm occurring, when message exceedes the change threshold values, to the message compared with default change threshold values
Flow suppressed, realize the different disposal to different messages, effectively inhibit network storm to intelligent network become
The harm in power station.
Embodiment two
The structure chart of intelligent substation network storm restraining device provided in an embodiment of the present invention is illustrated in figure 2, in order to
It is easy to illustrate, the part related to the embodiment of the present invention is only shown, including:
Matching unit 201, for the transmission characteristic matching message according to message, the transmission characteristic includes:Transmission path,
Message flow and transmitting path.
In embodiments of the present invention, being used to send the message of message in intelligent substation includes:Goose(Generic
Object Oriented Substation Event are referred to as:Towards the transformer substation case of general object)Message, SV(Sample
Value is referred to as:Sampled value)Message, MMS(Manufacturing Message Specification are referred to as:Manufacture message rule
Model)Message, pair when message.The matching unit 201 includes:
Goose messages coupling subelement 2011, it is described for matching Goose messages according to the transmission characteristic of Goose messages
Transmission characteristic includes:Transmission path, message flow and transmitting path;Or
SV messages coupling subelement 2012, for matching SV messages, the transmission characteristic according to the transmission characteristic of SV messages
Including:Transmission path, message flow and transmitting path;Or
MMS messages coupling subelement 2013, for matching MMS messages according to the transmission characteristic of MMS messages, the transmission is special
Property includes:Transmission path, message flow and transmitting path;Or
Pair when message coupling subelement 2014, for according to pair when message transmission characteristic matching pair when message, the biography
Defeated characteristic includes:Transmission path, message flow and transmitting path.
Comparing unit 202, for the message that the message matching unit 201 matches and default change threshold values to be compared
Compared with.
In embodiments of the present invention, intelligent substation presets different change threshold values according to the transmission features of different messages,
By different messages compared with default change threshold values.The comparing unit 202, including:
Goose messages comparing subunit 2021, for the Goose for matching the Goose messages coupling subelement 2011
Compared with message changes threshold values with default transmission frequency.
In embodiments of the present invention, the transmission characteristic of Goose messages is:Carry out repeating transmission with certain transmission frequency,
And in internet storm occurring, the transmission frequency can accelerate, i.e. and the transmission frequency of Goose messages is 5 seconds under normal circumstances,
The transmission frequency of Goose messages is for 2 seconds or shorter during network storm, therefore transmission frequency can be changed into threshold values and be arranged to 3
Second, and by the transmission frequency of Goose messages compared with transmission frequency change threshold values.
SV messages comparing subunit 2022, for the SV messages for matching the SV messages coupling subelement 2012 and preset
Transmission frequency change threshold values be compared.
In embodiments of the present invention, the transmission characteristic of SV messages is:Sent with certain transmission frequency(With Goose messages
Unlike:Goose messages are to repeat to send the message of identical content with certain transmission frequency), and in internet storm occurring
When, the transmission frequency can accelerate, therefore can set a transmission frequency change threshold values, and by the transmission frequency of SV messages with being somebody's turn to do
Transmission frequency change threshold values is compared.
MMS messages comparing subunit 2023, for the MMS messages that match the MMS messages coupling subelement 2013 with
Default transmission frequency change threshold values is compared.
In embodiments of the present invention, MMS messages determine transmission frequency in systems, therefore when generation network storm
When, the transmission frequency of MMS messages can also change, therefore can preset the transmission frequency change threshold values of MMS messages, and will
Compared with the transmission frequency of MMS messages changes threshold values with the transmission frequency.
Pair when message comparing subunit 2024, for by message coupling subelement 2014 at described pair match pair when message
Compared with changing threshold values with default transmission frequency.
In embodiments of the present invention, pair message determines transmission frequency in systems when, therefore when network storm occurs
When, pair when message transmission frequency can also change, therefore when can preset pair message transmission frequency change threshold values, and will
Pair when message transmission frequency and the transmission frequency change threshold values compared with.
Suppress unit 203, for when the message exceed the comparing unit 202 it is default change threshold values when, to described
The flow of message is suppressed.
In embodiments of the present invention, when the transmission frequency of message exceedes default threshold values, system is the flow to message
Suppressed.The suppression unit 203, including:
Goose messages suppress subelement 2031, are reported for the transmission frequency when the Goose messages more than the Goose
During literary 2021 default transmission frequency of comparing subunit change threshold values, the flow of the Goose messages is suppressed, the suppression
System includes:
Abandon the Goose messages that Stnum is identical and Sqnum is out of order;If still above threshold values,
Abandon the out of order Goose messages of Stnum;If still above threshold values,
Conventional Goose messages are abandoned in proportion;If still above threshold values,
Quick Goose messages are cached in order, and increase the ratio for abandoning conventional Goose messages.
SV messages suppress subelement 2032, exceed the more sub- list of SV messages for the transmission frequency when the SV messages
When 2022 default transmission frequency of member changes threshold values, the flow of the SV messages is suppressed, the suppression includes:
Abandon the out of order SV messages of smpcnt;If still above threshold values,
Conventional SV messages are abandoned in proportion;If still above threshold values,
Quick SV messages are cached in order, and increase the ratio for abandoning conventional SV messages.
MMS messages suppress subelement 2033, compare for the transmission frequency when the MMS messages more than the MMS messages
When 2023 default transmission frequency of subelement changes threshold values, the flow of the MMS messages is suppressed, the suppression includes:
Abandon the MMS messages more than the threshold values.
Pair when message repressor unit 2034, for message ratio when the transmission frequency of message exceedes described pair when described pair
When changing threshold values compared with 2024 default transmission frequency of subelement, the flow of message at described pair is suppressed, it is described to suppress bag
Include:Abandon more than the threshold values pair when message.
The embodiment of the present invention, the various messages in intelligent network transformer station are matched, according to the type of message by after matching
Message works as internet storm occurring, when message exceedes the change threshold values, to the message compared with default change threshold values
Flow suppressed, realize the different disposal to different messages, effectively inhibit network storm to intelligent network become
The harm in power station.
One of ordinary skill in the art will appreciate that it is that the unit included by above-described embodiment two is according to function
What logic was divided, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each function
The specific name of unit is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
Those of ordinary skill in the art are further appreciated that all or part of step realized in above-described embodiment method is can
To instruct the hardware of correlation to complete by program, described program can be stored in a computer read/write memory medium
In, described storage medium, including ROM/RAM, disk, CD etc..
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
All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.