CN105449845B - Processing method, device and the system of message - Google Patents
Processing method, device and the system of message Download PDFInfo
- Publication number
- CN105449845B CN105449845B CN201410240978.5A CN201410240978A CN105449845B CN 105449845 B CN105449845 B CN 105449845B CN 201410240978 A CN201410240978 A CN 201410240978A CN 105449845 B CN105449845 B CN 105449845B
- Authority
- CN
- China
- Prior art keywords
- message
- time
- network equipment
- interface
- pon
- 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.)
- Active
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/16—Electric power substations
Landscapes
- Small-Scale Networks (AREA)
Abstract
The present embodiments relate to a kind of processing method of message, device and system.Methods described includes:The network equipment receives the first message and the second message, and the time for receiving first message receives the time for first, and the time for receiving second message receives the time for second;The network equipment caches first message and the second message;When reaching for the first transmission time, the network equipment sends first message, and the first transmission time is the described first reception time to add delay value, and the delay value is default fixed value;When reaching for the second transmission time, the network equipment sends second message, and the second transmission time is the described second reception time to add the delay value.
Description
Technical field
The present invention relates to communication technique field, more particularly to a kind of processing method of message, device and system.
Background technology
At present, in intelligent substation (English:Smart substation) in, relay protector (English:Protective
Relay the real-time current or real-time voltage data of the power circuit) gathered by obtaining transformer, judge the confession of power circuit
Electric situation, and then realize the protection to power circuit.
As shown in figure 1, transformer is acquired to the real-time current or voltage data of power circuit, transformer is to merging
Unit (English:Merging Unit, abbreviation:MU the electric current or voltage data of the cable run of collection) are sent.MU is to cable
The electric current or voltage data of circuit carry out digital-to-analogue conversion (English:Digital-to-analog conversion, contracting
Write:DAC), sampled value (Sampled Value, abbreviation are generated:SV) message.MU to interchanger send SV messages, interchanger to after
Non-electricity protector forwards SV messages.The SV messages that relay protector forwards according to interchanger, judge the electric power thus supplied of cable run, it is real
Now to the relay protection of power circuit.
When interchanger is to relay protector forwarding SV messages, due to the interrupt instruction inside interchanger or memory read-write etc.
Operation so that interchanger temporarily ceases to relay protector and sends SV messages, and turns to go to perform interrupt instruction or memory read-write
Deng operation, interchanger can not forward SV messages in strict accordance with the acquisition time interval of transformer, cause the erroneous judgement of relay protector.
The content of the invention
The invention provides a kind of processing method of message, device and system, and solving interchanger can not be according to transformer
Acquisition time interval forwarding SV messages, cause SV messages shake it is larger the problem of.
In a first aspect, the invention provides a kind of processing method of message, methods described includes:
The network equipment receives the first message and the second message, and the time for receiving first message receives the time for first,
The time for receiving second message receives the time for second;
The network equipment caches first message and the second message;
When reaching first and sending the time, the network equipment sends first message, and the first transmission time is
The first reception time adds delay value, and the delay value is default fixed value;
When reaching second and sending the time, the network equipment sends second message, and the second transmission time is
The second reception time adds the delay value.
In the first possible implementation of first aspect, the network equipment receives the first message and the second message
Afterwards, the network equipment also includes before caching first message and the second message:
The network equipment determines to receive the first interface numbering of the physical interface of first message;
The network equipment determines to receive the second interface numbering of the physical interface of second message;
The network equipment caches first message and the second message and specifically included:
Numbered according to the first interface, first message is deposited and compiled into the first interface by the network equipment
In buffer queue corresponding to number;
Numbered according to the second interface, second message is deposited and compiled into the second interface by the network equipment
In buffer queue corresponding to number.
With reference to the possible implementation of the first of first aspect or first aspect, second in first aspect is possible
In implementation, the network equipment is passive optical network PON equipment;
The network equipment also includes before caching first message:
The PON equipment judges that described first receives the time whether in the current polling time slot of the PON equipment;
If the first reception time is in the current polling time slot of the PON equipment, the PON equipment caching
First message;
If described first receives the time outside the current polling time slot of the PON equipment, the PON equipment determines institute
The the first active delay time and the second active delay time of the first message are stated, according to the first active delay time and second
Active delay time, cache first message;
Wherein, the first active delay time is that the PON device pollings connect to the physics for receiving first message
Time at mouthful subtracts described first and receives the time;
The second active delay time is that the delay value subtracts the first active delay time.
In second aspect, the invention provides a kind of processing unit of message, described device includes:
Receiving unit, for receiving the first message and the second message, the time for receiving first message receives for first
Time, the time for receiving second message receive the time for second;
Buffer unit, for caching first message and the second message;
Transmitting element, for when reaching for the first transmission time, sending first message, the first transmission time is
The first reception time adds delay value, and the delay value is default fixed value;
The transmitting element is additionally operable to, and when reaching for the second transmission time, sends second message, described second sends
Time is the described second reception time to add the delay value.
In the first possible implementation of second aspect, described device also includes:
Determining unit, the first interface numbering of the physical interface for determining to receive first message;
The determining unit is additionally operable to, it is determined that receiving the second interface numbering of the physical interface of second message;
The buffer unit is specifically used for, according to the first interface number, by first message deposit into it is described
In buffer queue corresponding to first interface numbering;
The buffer unit also particularly useful for, according to the second interface number, by second message deposit into institute
State in buffer queue corresponding to second interface numbering.
With reference to the possible implementation of the first of second aspect or second aspect, second in second aspect is possible
In implementation, described device is passive optical network PON equipment;
Described device also includes:Judging unit, for judge it is described first receive the time whether the PON equipment work as
In preceding polling time slot;
The buffer unit is additionally operable to, if the first reception time is in the current polling time slot of the PON equipment
It is interior, then cache first message;
The buffer unit is additionally operable to, if described first receives the time outside the current polling time slot of the PON equipment,
The the first active delay time and the second active delay time of first message are then determined, when being actively delayed according to described first
Between and the second active delay time, cache first message;
Wherein, the first active delay time is that the PON device pollings connect to the physics for receiving first message
Time at mouthful subtracts described first and receives the time;
The second active delay time is that the delay value subtracts the first active delay time.
In the third aspect, the invention provides a kind of processing system of message, the system includes:The network equipment and relay
Protector;
The network equipment, the time is received for first for receiving the time of first message, receive second report
The time of text receives the time for second, caches first message and the second message, when reaching first and sending the time, to described
Relay protector sends first message, and the first transmission time is the described first reception time to add delay value, described
Delay value is default fixed value, and when reaching for the second transmission time, second message, institute are sent to the relay protector
It is the described second reception time to add the delay value to state for the second transmission time;
The relay protector, first message and the second message sent for receiving the network equipment.
In the first possible implementation of the third aspect, the network equipment is additionally operable to, it is determined that receiving described the
The first interface numbering of the physical interface of one message;It is determined that receive the second interface numbering of the physical interface of second message;
The network equipment is specifically used for, according to the first interface number, by first message deposit into it is described
In buffer queue corresponding to first interface numbering;According to the second interface number, by second message deposit into it is described
In buffer queue corresponding to second interface numbering.
With reference to the possible implementation of the first of the third aspect or the third aspect, second in the third aspect is possible
In implementation, the network equipment is passive optical network PON equipment;
The network equipment is additionally operable to, and judges that described first receives the time whether in the current poll of the PON equipment
In gap;
If the first reception time is in the current polling time slot of the PON equipment, connect according to described first
Between time receiving, first message is cached;
If described first receives the time outside the current polling time slot of the PON equipment, the PON equipment determines institute
The the first active delay time and the second active delay time of the first message are stated, according to the first active delay time and second
Active delay time, cache first message;
Wherein, the first active delay time is that the PON device pollings connect to the physics for receiving first message
Time at mouthful subtracts described first and receives the time;
The second active delay time is that the delay value subtracts the first active delay time.
With reference to any one in the first of the third aspect and the third aspect to second of possible implementation,
In the third possible implementation of three aspects, the system also includes:At least one transformer and at least one combining unit;
The transformer, sent for gathering the current data or voltage data of cable run, and to the combining unit
The current data or voltage data of the cable run of collection;
The combining unit, for sending first message and the second message, first report to the network equipment
Any data in the current data or voltage data of the text carrying cable run, second message carry the cable
Any data in the current data or voltage data on road.
Therefore, by processing method, device and the system of application message provided by the invention, the network equipment to reception the
One message and the second message carry out caching process, and when reaching the transmission time of each message, the network equipment sends message, sends
Time adds delay value to receive the reception time of message, and delay value is default fixed value.Because the network equipment is being sent often
Before individual message, for the delay value of each packet buffer fixation so that the network equipment is when sending each message, still according to reception
Reception time interval during message is transmitted, and is reduced message shake, is also caused relay protector to be accurately received message,
And then judge the electric power thus supplied of cable run, realize the relay protection to power circuit.
Brief description of the drawings
Fig. 1 is the process flow figure of message provided in an embodiment of the present invention;
Fig. 2 is a kind of processing unit schematic diagram of message provided in an embodiment of the present invention;
Fig. 3 is the processing unit schematic diagram of another message provided in an embodiment of the present invention;
Fig. 4 is the processing unit hardware architecture diagram of message provided in an embodiment of the present invention;
Fig. 5 is the processing system structural representation of message provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is explicitly described, it is clear that described embodiment be the present invention
Part of the embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having
The every other embodiment obtained under the premise of creative work is made, belongs to the scope of protection of the invention.
For ease of the understanding to the embodiment of the present invention, it is further explained below in conjunction with accompanying drawing with specific embodiment
Bright, embodiment does not form the restriction to the embodiment of the present invention.
Describe the processing method for the message that the embodiment of the present invention one provides in detail by taking Fig. 1 as an example below, Fig. 1 is real for the present invention
The process flow figure of the message of example offer is applied, subject of implementation is the network equipment in embodiments of the present invention.As shown in figure 1,
The embodiment specifically includes following steps:
Step 110, the network equipment receive the first message and the second message, and the time for receiving first message connects for first
Between time receiving, the time for receiving second message receives the time for second.
Specifically, the current data or voltage data of transformer collection cable run, transformer is to being connected with itself
MU sends the current data or voltage data of collection.After MU receives current data or voltage data, to current data or
Person's voltage data carries out D/A switch, generates SV messages, and the message includes the current data or voltage after digital-to-analogue conversion
A data in data.The network equipment can be connected with multiple MU, and each MU in multiple MU is according to coupled mutual inductance
The current data or voltage data of device collection continue to send message to relay protector.The network equipment receives these MU transmissions
Multiple messages.The embodiment of the present invention with any two message in this multiple message, i.e. the first message and the second message, exemplified by
Illustrate the operation of the network equipment.The network equipment is to each message in this multiple message according to described in the embodiment of the present invention
Mode forwards.In embodiments of the present invention, current data or electricity are carried according to the different type of transformer, first message
Any data in data is pressed, likewise, the second message carries any data in current data or voltage data.
For example, a transformer in the multiple transformers being connected with a MU in multiple MU is current transformer (English
Text:Current Transformer, abbreviation:CT), the current transformer sends the current data of collection to the MU, and MU is received
After current data, D/A switch is carried out to current data, generates SV messages, the message carries the electric current after digital-to-analogue conversion
Data.
First message and the second message are SV messages.
The time that the network equipment receives the first message receives the time for first, and the time for receiving the second message receives for second
Time.
Step 120, the network equipment cache first message and the second message.
Optionally, the network equipment is by the first message and the second message, in the buffer queue for sequentially depositing the network equipment,
In buffer queue, the first message and the second message are cached.
Step 130, when reaching first and sending the time, the network equipment sends first message, first hair
The time is sent to add delay value for the described first reception time, the delay value is default fixed value.
Specifically, the network equipment determines that send the first message first sends the time, and described first sends the time as first
The reception time adds delay value, and the delay value is default fixed value.
When reaching for the first transmission time, the network equipment sends the first message to relay protector.
In one implementation, the network equipment determines that send the first message first sends the time by timer.Net
Network equipment formerly sets timer, and the timed length of timer is delay value (for example, 50 microseconds), is receiving the first message,
And when the first message is deposited into buffer queue, the network equipment starts timer function, often cross 1 microsecond timer and subtract 1, when timing
When device is kept to 0, the network equipment is determined to reach for the first transmission time, and the first message is sent to relay protector.
In another implementation, the network equipment receives the time by first, it is determined that sending the first hair of the first message
Send the time.
The network equipment obtains the first reception time for receiving the first message, is worth to the first reception time plus delay
Send the first of the first message and send the time, and record first and send the time.The network equipment periodically judges whether to have reached
First sends the time, and when reaching for the first transmission time, the network equipment sends the first message to relay protector.
When not up to first sends the time, the network equipment continues to cache the first message.
Step 140, when reaching second and sending the time, the network equipment sends second message, second hair
The time is sent to add the delay value for the described second reception time.
Specifically, the network equipment determines that send the second message second sends the time, and described second sends the time as second
The reception time adds delay value, and the delay value is default fixed value.
When reaching for the second transmission time, the network equipment sends the second message to relay protector.
In one implementation, the network equipment determines that send the second message second sends the time by timer.
The network equipment formerly sets timer, and the timed length of timer is delay value (for example, 50 microseconds), is being received
Second message, and when the second message is deposited into buffer queue, the network equipment starts timer function, often crosses 1 microsecond timer
Subtract 1, when timer is kept to 0, the network equipment is determined to reach for the second transmission time, and the second message is sent to relay protector.
In another implementation, the network equipment receives the time by second, it is determined that sending the second hair of the second message
Send the time.
The network equipment obtains the second reception time for receiving the second message, is worth to the second reception time plus delay
Send the second of the second message and send the time, and record second and send the time.The network equipment periodically judges whether to have reached
Second sends the time, and when reaching for the second transmission time, the network equipment sends the second message to relay protector.
When not up to second sends the time, the network equipment continues to cache the second message.
Because the network equipment is before the first message and the second message is sent, it is each packet buffer identical delay value, makes
The network equipment is sending the first message and during the second message, still according to reception when receiving the first message and the second message when
Between be spaced and be transmitted, reduce shake, also cause relay protector to be accurately received message, and then judge cable run
Electric power thus supplied, realize the relay protection to power circuit.
Alternatively, before step 120 of the embodiment of the present invention, in addition to the network equipment determines to receive the first message and second
The step of interface index of the physical interface of message, by the step, the network equipment can be made to cache the first message and the second report
Wen Shi, according to interface index, the first message and the second message are deposited in buffer queue corresponding with interface index respectively, entered
And simplify the complexity of distribution spatial cache.Comprise the following steps that:
The network equipment determines to receive the first interface numbering of the physical interface of first message;
The network equipment determines to receive the second interface numbering of the physical interface of second message;
Specifically, after the network equipment receives the first message and the second message, determine that the physics for receiving the first message connects respectively
The first interface numbering of mouth, it is determined that receiving the second interface numbering of the physical interface of the second message.When the first message and second are reported
When text is that same physical interface is sent, first interface numbers (for example, being all 01) identical with second interface numbering;When the first report
When text and the second message are that different physical interfaces are sent, first interface numbering is different (for example, first interface with second interface numbering
Numbering is 01,03) second interface numbering is.
Correspondingly, the step 120 is specially:Numbered according to first interface, the network equipment by the first message deposit into
In buffer queue corresponding to first interface numbering;Numbered according to second interface, the network equipment deposits the second message into second
In buffer queue corresponding to interface index.
Specifically, number of the network equipment according to own physical interface or the number according to the MU being connected with itself, it is
Buffer queue corresponding to each physical interface or each MU establishments.When it is determined that receiving the first interface of the physical interface of the first message
During numbering (for example, first interface numbering is 01), then the first message is deposited into caching team corresponding with first interface numbering 01
In row;When it is determined that receiving the second interface numbering of the physical interface of the second message (for example, second interface numbering is 03), then will
Second message deposit with 03 corresponding buffer queue of second interface numbering.Cached by the way that the message of reception is corresponded to, can letter
Change the complexity of distribution spatial cache, the message of reception is rapidly introduced into buffer queue and cached.
The network equipment also can only establish a buffer queue, and the message received is all deposited in buffer queue;Or
Person, the network equipment distribute spatial cache for message temporarily when receiving message.
In embodiments of the present invention, the network equipment can be interchanger or passive optical network PON equipment.
When the network equipment is interchanger, then step 110 can be performed to step 140 according to hereinbefore described process.
When the network equipment is PON equipment.Then before step 110 caches the first message, in addition to PON equipment judges the
One receives the time whether in the current polling time slot of PON equipment, and according to the step of judged result the first message of caching.Specifically
Step is as follows:
The PON equipment judges that described first receives the time whether in the current polling time slot of the PON equipment;
If the first reception time is in the current polling time slot of the PON equipment, the PON equipment caching
First message;
If described first receives the time outside the current polling time slot of the PON equipment, the PON equipment determines institute
The the first active delay time and the second active delay time of the first message are stated, according to the first active delay time and second
Active delay time, cache first message;
Wherein, the first active delay time is that the PON device pollings connect to the physics for receiving first message
Time at mouthful subtracts described first and receives the time;
The second active delay time is that the delay value subtracts the first active delay time.
The operation principle of PON equipment is sketched herein.PON equipment includes optical line terminal (English:Optical Line
Terminal, abbreviation:OLT) and multiple optical network units are (English:Optical Network Unit, abbreviation:ONU).OLT with
Multiple ONU connections.
In uplink communication, PON equipment is using time division multiple acess (English:Time Division Multiple Access,
Abbreviation:TDMA) mode transmitting message.That is OLT is in a polling cycle, each ONU of poll, and being averaged for each ONU successively
Distribute polling time slot.ONU receives the physical interface of message as PON equipment.The polling time slot that each ONU distributes in OLT (is specified
Period) in OLT send message, OLT receive message.If the wheel that a certain ONU (for example, ONU1) is currently distributed in OLT
Ask in time slot and do not send message to OLT in time, then OLT no longer receives the message of ONU transmissions, and it is next to continue poll
ONU (ONU2), when OLT is polled to ONU1 again, ONU1 sends message to OLT again.
Specifically, after PON equipment receives the first message, judge whether the first reception time in PON equipment worked as front-wheel
Ask in time slot, if the first reception time was in the current polling time slot of PON equipment, when PON equipment receives according to first
Between, the first message is cached, that is, performs step 230.
If first receives the time outside the current polling time slot of PON equipment, PON equipment determines the first of the first message
Active delay time and the second active delay time, according to the first active delay time and the second active delay time, caching the
One message.
For example, it is assumed that the first reception time for receiving the first message is W, PON equipment is polled to the report of reception first again
Time at the physical interface of text is U, the default fixed value X of delay value, then the first active delay time is U-W;Second actively
Delay time is X- (U-W).
PON equipment caches the first message, specifically, slow according to the first active delay time and the second active delay time
The time deposited is that the first active delay time adds the second active delay time, that is, the time cached is:U-W+X- (U-W)=X,
It that is to say, the delay value X that PON equipment is fixed to the first packet buffer.
It is understood that the reception time for each message that PON equipment interconnections are received does above-mentioned judgement processing, example
Such as, also do above-mentioned judgement to the second reception time for receiving the second message to handle, no longer repeat herein.
Further, in embodiments of the present invention, each ONU is connected with a MU, and ONU receives the message of MU transmissions,
And send message to OLT in polling time slot.
ONU1 sends the first message in OLT distribution polling time slots to OLT, after OLT receives the first message, judges first
The time is received whether in ONU1 current polling time slot, if the first reception time was in ONU1 current polling time slot,
Then OLT receives the time according to first, caches the first message, that is, performs step 230.
If first receives the time outside ONU1 current polling time slot, OLT determines that the first active of the first message is prolonged
When time and the second active delay time, according to the first active delay time and the second active delay time, cache the first message.
For example, it is assumed that the first reception time that ONU1 receives the first message is W, OLT is polled to ONU1 time again
For U, the default fixed value X of delay value, the time is received outside current polling time slot because ONU1 receives the first of the first message, then
ONU1 by the first packet buffer in ONU1, wait OLT again poll when, to OLT send the first message, the first message is in OUN1
In cache-time be the first active delay time;Because the first message has cached (U-W) at ONU1, then OLT is connecing
After receiving message, the time that the first message cached is subtracted with delay value, obtains the cache-time of the first message in the olt as the
Two active delay times,
Therefore, the time of caching of first message in PON equipment is that the first active delay time prolongs plus the second active
When the time, that is, the time cached is:U-W+X- (U-W)=X, that is to say, the delay value X that OLT fixes to the first packet buffer.
Therefore, the processing method of application message provided in an embodiment of the present invention, first report of the network equipment to reception are passed through
Text and the second message carry out caching process, and when reaching the transmission time of each message, the network equipment sends message, sends the time
Delay value is added to receive the reception time of message, delay value is default fixed value.Because the network equipment is sending each report
Wen Qian, the delay value fixed for each packet buffer so that the network equipment is when sending each message, still according to reception message
When reception time interval be transmitted, reduce message shake, also cause relay protector can be accurately received message, and then
Judge the electric power thus supplied of cable run, realize the relay protection to power circuit.
The processing method of message can be achieved in the method for above-described embodiment description, and correspondingly, the embodiment of the present invention also provides
A kind of processing unit of message, to realize the processing method of the message provided in previous embodiment, as shown in Fig. 2 described
Device includes:Receiving unit 210, buffer unit 220 and transmitting element 230.
The receiving unit 210 that described device includes, for receiving the first message and the second message, receive first message
Time receive the time for first, the time for receiving second message receives the time for second;
Buffer unit 220, for caching first message and the second message;
Transmitting element 230, for when reaching first and sending the time, sending first message, described first when sending
Between be it is described first reception the time add delay value, the delay value is default fixed value;
The transmitting element 230 is additionally operable to, when reaching for the second transmission time, transmission second message, and described second
It is the described second reception time to add the delay value to send the time.
Described device also includes:Determining unit 240, connect for determining to receive the first of physical interface of first message
Mouth numbering;
The determining unit 240 is additionally operable to, it is determined that receiving the second interface numbering of the physical interface of second message;
The buffer unit 220 is specifically used for, according to the first interface number, by first message deposit into institute
State in buffer queue corresponding to first interface numbering;
The buffer unit 220 also particularly useful for, according to the second interface number, by second message deposit into
In buffer queue corresponding to the second interface numbering.
Further, described device is passive optical network PON equipment;
As shown in figure 3, when described device is PON equipment, described device also includes:Judging unit 310, for judging
Stated for the first reception time whether in the current polling time slot of the PON equipment;
The buffer unit 220 is additionally operable to, if the first reception time is in the current poll of the PON equipment
In gap, then first message is cached;
The buffer unit 220 is additionally operable to, if described first receives current polling time slot of the time in the PON equipment
Outside, it is determined that the first active delay time and the second active delay time of first message, prolonged according to first active
When time and the second active delay time, cache first message;
Wherein, the first active delay time is that the PON device pollings connect to the physics for receiving first message
Time at mouthful subtracts described first and receives the time;
The second active delay time is that the delay value subtracts the first active delay time.
Therefore, the processing unit of application message provided in an embodiment of the present invention, first report of the described device to reception are passed through
Text and the second message carry out caching process, and when reaching the transmission time of each message, described device sends message, sends the time
Delay value is added to receive the reception time of message, delay value is default fixed value.Because described device is sending each report
Wen Qian, the delay value fixed for each packet buffer so that described device is when sending each message, still according to reception message
When reception time interval be transmitted, reduce message shake, also cause relay protector can be accurately received message, and then
Judge the electric power thus supplied of cable run, realize the relay protection to power circuit.
In addition, the implementation that the processing unit of message provided in an embodiment of the present invention can also use is as follows, to reality
The processing method of message in the existing foregoing embodiment of the present invention, as shown in figure 4, the processing unit of the message includes:Physics connects
Mouth 410, processor 420, memory 430.System bus 440 is used to connect physical interface 410, processor 420 and memory
430。
The physical interface 410 is used for, and receives the first message and the second message, and by first message of reception and the
For two message transmissions to processor, the time for receiving first message receives the time for first, receive second message when
Between for second receive the time;
The processor 420 is used for, and first message and the second message of physical interface transmission is received, by described first
Message and the second message transmissions are to the memory;
The memory 430 is used for, and receives first message and the second message of processor transmission, described in caching
First message and the second message;
The processor 420 is additionally operable to, and when reaching for the first transmission time, first report is obtained from the memory
Text, by first message transmissions to the physical interface, the first transmission time is to add the described first reception time to prolong
Duration, the delay value are default fixed value;
The physical interface 410 is additionally operable to, and sends first message;
The processor 420 is additionally operable to, and when reaching for the second transmission time, second report is obtained from the memory
Text, by second message transmissions to the physical interface, the second transmission time is to add the described second reception time to prolong
Duration, the delay value are default fixed value;
The physical interface 410 is additionally operable to, and sends second message.
It should be noted that processor 420 can be the general designation of a processor or multiple treatment elements.Example
Such as, the processor 420 can be arranged to implement one or more integrated circuits of the embodiment of the present invention, such as:One or
The multiple field programmable gate arrays of person (English:Field Programmable GateArray, abbreviation:FPGA), or, one or
The multiple network processing units of person (English:Network Processor, abbreviation:NP).
Memory 430 can be the general designation of a storage device or multiple memory elements, and for storing and can hold
Parameter, data etc. required for line program code or the operation of access network management equipment.And memory 430 can be deposited including arbitrary access
Reservoir (English:Random-access memory, abbreviation:RAM), read-only storage (English:Read-only memory, contracting
Write:ROM nonvolatile memory (English can also), be included:Non-volatile memory), for example, magnetic disk storage, dodges
Deposit (English:Flash) etc..Memory 430 can be independent, can also be integrated in physical interface 410 or processor 420.
Further, the processor 420 is additionally operable to, and performs the instruction of procedure below:
It is determined that receive the first interface numbering of the physical interface of first message;
It is determined that receive the second interface numbering of the physical interface of second message;
Further, the processor 420 is specifically used for, and performs the instruction of procedure below:
By the first interface numbering and second interface numbered transmission to the memory of determination.
The memory 430 is additionally operable to, and the first interface numbering and second interface for receiving the processor transmission are compiled
Number, numbered according to the first interface, first message is deposited and the corresponding buffer queue of first interface numbering
In;
Numbered according to the second interface, second message is deposited into caching corresponding with second interface numbering
In queue.
Further, described device is passive optical network PON equipment, and the processor 420 is additionally operable to, and performs procedure below
Instruction:
Judge that described first receives the time whether in the current polling time slot of the PON equipment;
If the first reception time is in the current polling time slot of the PON equipment, by first message
Transmit to the memory;
The memory 430 is additionally operable to, and caches first message;
If described first receives the time outside the current polling time slot of the PON equipment, it is determined that first message
The first active delay time and the second active delay time, when being actively delayed according to the first active delay time and second
Between, by first message transmissions to the memory;
The memory 430 is additionally operable to, and caches first message;
Wherein, the first active delay time is that the PON device pollings connect to the physics for receiving first message
Time at mouthful subtracts described first and receives the time;
The second active delay time is that the delay value subtracts the first active delay time.
Therefore, the processing unit of application message provided in an embodiment of the present invention, first report of the described device to reception are passed through
Text and the second message carry out caching process, and when reaching the transmission time of each message, described device sends message, sends the time
Delay value is added to receive the reception time of message, delay value is default fixed value.Because described device is sending each report
Wen Qian, the delay value fixed for each packet buffer so that described device is when sending each message, still according to reception message
When reception time interval be transmitted, reduce message shake, also cause relay protector can be accurately received message, and then
Judge the electric power thus supplied of cable run, realize the relay protection to power circuit.
In addition, the embodiment of the present invention additionally provides a kind of processing system of message, as shown in figure 5, the system includes, net
Network equipment 510 and relay protector 520.
The network equipment 510, the time is received for first for receiving the time of first message, receives described second
The time of message was the second reception time, cached first message and the second message, when reaching for the first transmission time, to institute
State relay protector and send first message, the first transmission time is the described first reception time to add delay value, institute
It is default fixed value to state delay value, and when reaching for the second transmission time, second message is sent to the relay protector,
The second transmission time is the described second reception time to add the delay value;
The relay protector 520, first message and the second message sent for receiving the network equipment.
Further, the network equipment 510 is additionally operable to, it is determined that receive the physical interface of first message first connects
Mouth numbering;It is determined that receive the second interface numbering of the physical interface of second message;
The network equipment 510 is specifically used for, according to the first interface number, by first message deposit into institute
State in buffer queue corresponding to first interface numbering;According to the second interface number, by second message deposit into institute
State in buffer queue corresponding to second interface numbering.
Further, the network equipment 510 is passive optical network PON equipment;
The network equipment 510 is additionally operable to, judge it is described first receive the time whether the PON equipment current poll
In time slot;
If the first reception time is in the current polling time slot of the PON equipment, connect according to described first
Between time receiving, first message is cached;
If described first receives the time outside the current polling time slot of the PON equipment, it is determined that first message
The first active delay time and the second active delay time, prolonged according to the first active delay time and second active
When the time, cache first message;
Wherein, the first active delay time is that the PON device pollings connect to the physics for receiving first message
Time at mouthful subtracts described first and receives the time;
The second active delay time is that the delay value subtracts the first active delay time.
Further, the system also includes:At least one transformer 530 and at least one combining unit 540;
The transformer 530, sent out for gathering the current data or voltage data of cable run, and to the combining unit
Send the current data or voltage data of the cable run of collection;
The combining unit 540, for sending first message and the second message to the network equipment, described first
Any data in the current data or voltage data of the message carrying cable run, second message carry the cable
Any data in the current data or voltage data of circuit.
In Figure 5, the network equipment is interchanger or PON equipment.
Transformer gathers the current data or voltage data of cable run, and the current data or electricity of collection are sent to MU
Press data.MU carries out D/A switch to current data or voltage data, generates SV messages, for example, the first message and the second report
Text.MU sends the first message and the second message to the network equipment.
The network equipment receives the first message and the second message that MU is sent, when the time for receiving the first message is the first reception
Between, the time for receiving the second message receives the time for second.The network equipment caches the first message and the second message, when arrival first
When sending the time, the network equipment sends the first message to relay protector, and the first transmission time is to add the first reception time
Upper delay value, the delay value are default fixed value, and when reaching for the second transmission time, the network equipment is sent out to relay protector
The second message is sent, the second transmission time is the second reception time to add delay value.
Relay protector receives the first message and the second message that the network equipment is sent.Time of the first message is received as the
Three receive the time, and the time for receiving the second message receives the time for the 4th.
Relay protector determined for the first primary reception time, and the first primary reception time is to subtract the 3rd reception time
Delay value.
Alternatively, the delay value for formerly configuration in relay protector, or, the network equipment with relay protector
Interaction when, the network equipment to relay protector forward delay interval value, or, relay protector passes through the communication with the network equipment, MU
Interactive computing delay value..
According to the first primary reception time, the first of relay protector reduction MU the first messages of transmission to relay protector is true
Between in real time, according to the first actual time, corresponding to the current data or voltage data of the cable run that reduction transformer gathers
Analog signal.
Relay protector determined for the second primary reception time, and the second primary reception time is to subtract the 4th reception time
Delay value.
According to the second primary reception time, the second of relay protector reduction MU the second messages of transmission to relay protector is true
Between in real time, according to the second actual time, corresponding to the current data or voltage data of the cable run that reduction transformer gathers
Analog signal.
Similarly, relay protector carries out above-mentioned processing to each message of reception, restores the cable of transformer collection
Analog signal corresponding to the current data or voltage data of circuit, and then cable run is judged according to the analog signal restored
Electric power thus supplied, realize the protection to power circuit.
Therefore, the processing system of the message provided according to embodiments of the present invention, the network equipment to the first message of reception and
Second message carries out caching process, and when reaching the transmission time of each message, the network equipment sends message to relay protector,
The reception time that the time is sent as reception message adds delay value, and delay value is default fixed value.Because the network equipment is being sent out
Before sending each message, for each packet buffer fix delay value so that the network equipment when sending each message, still according to
Reception time interval when receiving message is transmitted, and is reduced message shake, also relay protector can be accurately received
Message, and then judge the electric power thus supplied of cable run, realize the relay protection to power circuit.
Those skilled in the art should further appreciate that, be described with reference to the embodiments described herein each
The unit and step of example can be realized by computer software, be described in general manner according to function in the above description
The composition and step of each example.These functions are performed with hardware or software mode actually, spy depending on technical scheme
Fixed application and design constraint.Those skilled in the art can to each specific application come using distinct methods to realize
The function of description, but this realization is it is not considered that beyond the scope of this invention.
The method that is described with reference to the embodiments described herein can pass through the soft of, computing device the step of algorithm
Part module is implemented.Software module can be placed in RAM, ROM, electrically programmable ROM, electrically erasable ROM, register, hard
In any other form of storage medium well known in disk, moveable magnetic disc or technical field.
Above-described embodiment, the purpose of the present invention, technical scheme and beneficial effect are carried out further
Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention
Protection domain, it is all on the basis of technical scheme, any modification, equivalent substitution and improvements done etc., all should wrap
It is contained within protection scope of the present invention.
Claims (10)
1. a kind of processing method of message, it is characterised in that methods described includes:
The network equipment receives the first message and the second message, and the time for receiving first message receives the time for first, receives
The time of second message was the second reception time;
The network equipment caches first message and the second message;
When reaching for the first transmission time, the network equipment sends first message, and the first transmission time is described
First reception time added delay value, and the delay value is default fixed value;
When reaching for the second transmission time, the network equipment sends second message, and the second transmission time is described
Second reception time added the delay value.
2. the processing method of message according to claim 1, it is characterised in that the network equipment receive the first message and
After second message, the network equipment also includes before caching first message and the second message:
The network equipment determines to receive the first interface numbering of the physical interface of first message;
The network equipment determines to receive the second interface numbering of the physical interface of second message;
The network equipment caches first message and the second message and specifically included:
According to the first interface number, the network equipment by first message deposit into the first interface numbering pair
In the buffer queue answered;
According to the second interface number, the network equipment by second message deposit into the second interface numbering pair
In the buffer queue answered.
3. according to the processing method of any described message of claim 1 or 2, it is characterised in that the network equipment is passive
Optical-fiber network PON equipment;
The network equipment also includes before caching first message:
The PON equipment judges that described first receives the time whether in the current polling time slot of the PON equipment;
If the first reception time is in the current polling time slot of the PON equipment, described in the PON equipment caching
First message;
If described first receives the time outside the current polling time slot of the PON equipment, the PON equipment determines described the
The the first active delay time and the second active delay time of one message, according to the first active delay time and second actively
Delay time, cache first message;
Wherein, the first active delay time is the PON device pollings at the physical interface for receiving first message
Time subtract it is described first receive the time;
The second active delay time is that the delay value subtracts the first active delay time.
4. a kind of processing unit of message, it is characterised in that described device includes:
Receiving unit, for receiving the first message and the second message, the time for receiving first message receives the time for first,
The time for receiving second message receives the time for second;
Buffer unit, for caching first message and the second message;
Transmitting element, for when reaching for the first transmission time, sending first message, the first transmission time is described
First reception time added delay value, and the delay value is default fixed value;
The transmitting element is additionally operable to, and when reaching for the second transmission time, sends second message, described second sends the time
The delay value is added for the described second reception time.
5. the processing unit of message according to claim 4, it is characterised in that described device also includes:
Determining unit, the first interface numbering of the physical interface for determining to receive first message;
The determining unit is additionally operable to, it is determined that receiving the second interface numbering of the physical interface of second message;
The buffer unit is specifically used for, and is numbered according to the first interface, and first message is deposited into described first
In buffer queue corresponding to interface index;
The buffer unit according to the second interface also particularly useful for numbering, second message deposited into described the
In buffer queue corresponding to two interface indexs.
6. according to the processing unit of any described message of claim 4 or 5, it is characterised in that described device is passive optical network
Network PON equipment;
Described device also includes:Judging unit, for judging whether the first reception time in the PON equipment works as front-wheel
Ask in time slot;
The buffer unit is additionally operable to, if the first reception time is in the current polling time slot of the PON equipment,
Cache first message;
The buffer unit is additionally operable to, if described first receives the time outside the current polling time slot of the PON equipment, really
The the first active delay time and the second active delay time of fixed first message, according to the first active delay time and
Second active delay time, cache first message;
Wherein, the first active delay time is the PON device pollings at the physical interface for receiving first message
Time subtract it is described first receive the time;
The second active delay time is that the delay value subtracts the first active delay time.
7. a kind of processing system of message, it is characterised in that the system includes:The network equipment and relay protector;
The network equipment, for receiving the first message and the second message, the time for receiving first message receives for first
Time, the time for receiving second message receive the time for second, cache first message and the second message, when reaching the
During one transmission time, first message is sent to the relay protector, described first sends the time as the described first reception
Time adds delay value, and the delay value is default fixed value, when reaching for the second transmission time, to the relay protector
Second message is sent, the second transmission time is the described second reception time to add the delay value;
The relay protector, first message and the second message sent for receiving the network equipment.
8. the processing system of message according to claim 7, it is characterised in that the network equipment is additionally operable to, it is determined that connecing
Receive the first interface numbering of the physical interface of first message;It is determined that receive the physical interface of second message second connects
Mouth numbering;
The network equipment is specifically used for, and is numbered according to the first interface, and first message is deposited into described first
In buffer queue corresponding to interface index;Numbered according to the second interface, second message is deposited into described second
In buffer queue corresponding to interface index.
9. according to the processing system of any described message of claim 7 or 8, it is characterised in that the network equipment is passive
Optical-fiber network PON equipment;
The network equipment is additionally operable to, and judges that described first receives the time whether in the current polling time slot of the PON equipment;
If the first reception time is in the current polling time slot of the PON equipment, when being received according to described first
Between, cache first message;
If described first receives the time outside the current polling time slot of the PON equipment, the PON equipment determines described the
The the first active delay time and the second active delay time of one message, according to the first active delay time and second actively
Delay time, cache first message;
Wherein, the first active delay time is the PON device pollings at the physical interface for receiving first message
Time subtract it is described first receive the time;
The second active delay time is that the delay value subtracts the first active delay time.
10. the processing system of the message according to claim 7 or 8, it is characterised in that the system also includes:At least one
Transformer and at least one combining unit;
The transformer, for gathering the current data or voltage data of cable run, and send and gather to the combining unit
The cable run current data or voltage data;
The combining unit, taken for sending first message and the second message, first message to the network equipment
Any data in current data or voltage data with the cable run, second message carry the cable run
Any data in current data or voltage data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410240978.5A CN105449845B (en) | 2014-05-30 | 2014-05-30 | Processing method, device and the system of message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410240978.5A CN105449845B (en) | 2014-05-30 | 2014-05-30 | Processing method, device and the system of message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105449845A CN105449845A (en) | 2016-03-30 |
CN105449845B true CN105449845B (en) | 2017-12-12 |
Family
ID=55559750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410240978.5A Active CN105449845B (en) | 2014-05-30 | 2014-05-30 | Processing method, device and the system of message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105449845B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110850204B (en) * | 2019-11-11 | 2022-02-08 | 深圳供电局有限公司 | Message transmission method and relay protection testing device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123571A (en) * | 2006-08-07 | 2008-02-13 | 北京三星通信技术研究有限公司 | Adjustment method for scheduling policy based on self-adapted jitter buffer |
CN201750226U (en) * | 2010-08-12 | 2011-02-16 | 广东电网公司佛山供电局 | Remote detecting system of substation |
CN103209137A (en) * | 2013-03-21 | 2013-07-17 | 国家电网公司 | Configurable high-accuracy control system of time interval frame release Ethernet interface |
CN103633741A (en) * | 2013-12-05 | 2014-03-12 | 长园深瑞继保自动化有限公司 | Intelligent substation sampled value network data switching method and device |
CN103701718A (en) * | 2013-12-19 | 2014-04-02 | 华南理工大学 | Dynamic buffer allocation method for transformer substation communication network switches |
CN103715766A (en) * | 2013-12-18 | 2014-04-09 | 南京国电南自电网自动化有限公司 | Ring network distributed bus protection synchronization method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5849786B2 (en) * | 2012-03-08 | 2016-02-03 | 富士通株式会社 | Data block output device, communication system, data block output method, and communication method |
-
2014
- 2014-05-30 CN CN201410240978.5A patent/CN105449845B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123571A (en) * | 2006-08-07 | 2008-02-13 | 北京三星通信技术研究有限公司 | Adjustment method for scheduling policy based on self-adapted jitter buffer |
CN201750226U (en) * | 2010-08-12 | 2011-02-16 | 广东电网公司佛山供电局 | Remote detecting system of substation |
CN103209137A (en) * | 2013-03-21 | 2013-07-17 | 国家电网公司 | Configurable high-accuracy control system of time interval frame release Ethernet interface |
CN103633741A (en) * | 2013-12-05 | 2014-03-12 | 长园深瑞继保自动化有限公司 | Intelligent substation sampled value network data switching method and device |
CN103715766A (en) * | 2013-12-18 | 2014-04-09 | 南京国电南自电网自动化有限公司 | Ring network distributed bus protection synchronization method |
CN103701718A (en) * | 2013-12-19 | 2014-04-02 | 华南理工大学 | Dynamic buffer allocation method for transformer substation communication network switches |
Also Published As
Publication number | Publication date |
---|---|
CN105449845A (en) | 2016-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6031821A (en) | Apparatus and method for generating a pause frame in a buffered distributor based on lengths of data packets distributed according to a round robin repeater arbitration | |
US20130272699A1 (en) | Ranging method, system, and apparatus for passive optical network | |
CN103715766B (en) | A kind of looped network decentralized bus protection synchronous method | |
CN105284085A (en) | Method and device for allocating dynamic bandwidth in passive optical network | |
CN102957558B (en) | A kind of protection supervisory equipment with SV, GOOSE transparent transmission function | |
KR20090119856A (en) | A dynamic bandwidth allocation device for a passive optical network system and the method implemented | |
CN105099954A (en) | Transformer substation process layer message networking-sharing port-sharing transmission system | |
CN105449845B (en) | Processing method, device and the system of message | |
CN109314692A (en) | Ethernet passive optical network communication means, optical network unit and optical line terminal | |
CN107845251A (en) | Meter register method based on bandwidth carrier communication | |
CN109981496A (en) | OMCI framing device and framing method for XGPON OLT | |
CN106781429A (en) | Intelligent electric meter, concentrator and meter register method | |
CN103633741B (en) | Intelligent substation sampled value network data switching method | |
KR101739267B1 (en) | Bit-interleaver for an optical line terminal | |
CN106877904A (en) | The method and apparatus that control meter equipment is accessed | |
CN104184643B (en) | A kind of data transmission system and method | |
CN107733812A (en) | A kind of data packet dispatching method, device and equipment | |
KR20210061630A (en) | Centralized scheduling apparatus and method considering non-uniform traffic | |
JP5746099B2 (en) | Dynamic bandwidth allocation method | |
CN106209340A (en) | Intelligent substation test equipment SV, GOOSE synchronism output control method | |
CN105009512A (en) | Method, device, and system for configuring maintenance association (MA) | |
CN203193631U (en) | Electric power carrier communication system | |
CN104426684B (en) | PON system and its state updating method | |
CN106488047A (en) | A kind of communicating data transfer control method based on mobile terminal and system | |
Seijo et al. | On-line evaluation and planning tool for Medium Voltage-Broadband over Power Line cells |
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 |