CN103888303A - Method and device for controlling data messages - Google Patents

Method and device for controlling data messages Download PDF

Info

Publication number
CN103888303A
CN103888303A CN201410159520.7A CN201410159520A CN103888303A CN 103888303 A CN103888303 A CN 103888303A CN 201410159520 A CN201410159520 A CN 201410159520A CN 103888303 A CN103888303 A CN 103888303A
Authority
CN
China
Prior art keywords
data message
data
optical
data buffer
pon mouth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410159520.7A
Other languages
Chinese (zh)
Inventor
邵炜平
马平
徐志强
卢业
张磊
高钧利
徐伟东
张倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HANGZHOU CHENXIAO TECHNOLOGIES CO LTD
State Grid Corp of China SGCC
State Grid Zhejiang Electric Power Co Ltd
Shaoxing Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
HANGZHOU CHENXIAO TECHNOLOGIES CO LTD
State Grid Corp of China SGCC
State Grid Zhejiang Electric Power Co Ltd
Shaoxing Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HANGZHOU CHENXIAO TECHNOLOGIES CO LTD, State Grid Corp of China SGCC, State Grid Zhejiang Electric Power Co Ltd, Shaoxing Power Supply Co of State Grid Zhejiang Electric Power Co Ltd filed Critical HANGZHOU CHENXIAO TECHNOLOGIES CO LTD
Priority to CN201410159520.7A priority Critical patent/CN103888303A/en
Publication of CN103888303A publication Critical patent/CN103888303A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and device for controlling data messages, and the method and device are applied to an optical network distribution unit. The optical network distribution unit comprises a user port, a data buffer, a PON port and a standby port, wherein the user port is used for receiving the data messages, the data buffer is used for buffering the data messages, and the PON port is used for sending the data messages read from the data buffer. The method comprises the step of detecting whether the PON port of the optical network distribution unit loses connection or not, wherein if yes, the data messages read from the data buffer are sent out through the standby port and the data messages sent by the standby port are counted; if not, the data messages read from the data buffer are sent through the PON port to an optical line terminal through a passive optical branching device. According to the method and device, the accuracy of network fault positioning is improved, and the network can be rapidly recovered.

Description

A kind of control method of data message and device
Technical field
The present invention relates to Ethernet passive optical network technical field, relate in particular a kind of control method and device of data message.
Background technology
Ethernet passive optical network (Ethernet Passive Optical Network, EPON) system is a kind of point-to-multipoint network system, in this network system, multiple optical-fiber network allocation units (Optical Network Units, ONU) be connected by passive optical splitter and an optical line terminal (Optical Line Terminal, OLT).Wherein, ONU mainly comprises with the registered permanent residence, PON mouth and data buffer, in working order, ONU can be from registered permanent residence receiving data packets and be written to data buffer, obtain from PON mouth the time window that OLT distributes for it, and on this time window, the data message reading is sent to OLT from PON mouth from data buffer.
But, in the time that PON mouth goes offline, ONU can not be sent to OLT by PON mouth the data message in data buffer, now, because the data buffer of ONU is also at data writing message endlessly, make in the time that PON mouth is reached the standard grade again, the data with existing message in data buffer has been invalid data message, if will be sent to OLT from PON mouth by these data messages, the extra bandwidth on will busy line.
Therefore, in the prior art, in the time detecting that PON mouth goes offline, ONU can all empty the data message in data writing buffer and close and continue to write with forbidden data message with the registered permanent residence.And in network system, generally need to carry out according to the data message of each node place statistics the location of network failure, and adopt said method by the data message inaccuracy that makes to add up on PON mouth and the node with the registered permanent residence, thereby cause the location of network failure inaccurate, affect the fast quick-recovery of network.
Summary of the invention
In view of this, the invention provides a kind of control method and device of data message, to solve in prior art, the data message number inaccuracy of adding up on PON mouth or the node with the registered permanent residence, thereby cause the location of network failure inaccurate, affect the technical problem of the fast quick-recovery of network.
For achieving the above object, the invention provides following technical scheme:
A kind of control method of data message, be applied in optical-fiber network allocation units, described optical-fiber network allocation units comprise for receiving data packets with the registered permanent residence, for the data buffer of data cached message, for sending PON mouth and the standby port of the data message reading from described data buffer;
The method comprises:
Whether the PON mouth that detects described optical-fiber network allocation units goes offline;
If so, the data message reading from described data buffer is sent by described standby port;
The data message that statistics sends by described standby port;
If not, the data message reading from described data buffer is sent by described PON mouth, via extremely described optical line terminal of described passive optical splitter.
Preferably, after the data message that described statistics sends by described standby port, also comprise:
Whether detect the PON mouth of described optical-fiber network allocation units reaches the standard grade;
If so, by the data message reading from described data buffer by described standby port send switch to by described PON mouth send with via described passive optical splitter to described optical line terminal;
If not, keep the data message reading from described data buffer to send by described standby port.
Preferably, described by the data message reading from described data buffer by described standby port send switch to by described PON mouth send with via described passive optical splitter to before described optical line terminal, also comprise:
Determine to read in described data buffer, to meet pre-conditioned all data messages, and the data message reading all sends by described standby port.
Preferably, described definite reading in described data buffer storage meets pre-conditioned all data messages, is specially:
The write address of the data message that detection writes described data buffer in the time that described PON mouth is reached the standard grade;
Determine read described data buffer data message to read address identical with described write address.
Preferably, whether the PON mouth that detects described optical-fiber network allocation units goes offline, and specifically comprises:
Whether the PON mouth that detects described optical-fiber network allocation units does not receive light signal.
A kind of control device of data message, be applied in optical-fiber network allocation units, described optical-fiber network allocation units comprise for receiving data packets with the registered permanent residence, for the data buffer of data cached message, for sending PON mouth and the standby port of the data message reading from described data buffer;
This device comprises:
Whether the first detecting unit, go offline for detection of the PON mouth of described optical-fiber network allocation units;
The first transmitting element, in the time detecting that described optical-fiber network allocation units go offline, sends the data message reading from described data buffer by described standby port;
The first statistic unit, for adding up the data message sending by described standby port;
The second transmitting element, in the time detecting that described optical-fiber network allocation units do not go offline, sends the data message reading from described data buffer by described PON mouth, via extremely described optical line terminal of described passive optical splitter.
Preferably, also comprise:
Whether the second detecting unit, reach the standard grade for detection of the PON mouth of described optical-fiber network allocation units;
The first switch unit, for in the time that the PON mouth that described optical-fiber network allocation units detected is reached the standard grade, by the data message reading from described data buffer by described standby port send switch to by described PON mouth send with via described passive optical splitter to described optical line terminal;
The first holding unit, in the time that the PON mouth that described optical-fiber network allocation units detected is not reached the standard grade, keeps the data message reading from described data buffer to send by described standby port.
Preferably, also comprise:
The first determining unit, for determining that reading described data buffer meets pre-conditioned all data messages, and the data message reading all sends by described standby port.
Preferably, described the first determining unit comprises:
First detection module, the write address for detection of the data message that writes described data buffer in the time that described PON mouth is reached the standard grade;
The first determination module, for determine read described data buffer data message to read address identical with described write address;
The first sending module, for all sending read data message by described standby port.
Preferably, whether described the first detecting unit does not receive light signal specifically for the PON mouth that detects described optical-fiber network allocation units.
Known via above-mentioned technical scheme, compared with prior art, the present invention openly provides a kind of control method of data message, can be applied in optical-fiber network allocation units, these optical-fiber network allocation units comprise standby port, in the method, in the time that the PON mouth that described optical-fiber network allocation units detected goes offline, the data message reading from data buffer can be sent by standby port, and the data message that sends by described standby port of statistics, thereby can be according to the data message locating network fault in standby port place statistics, and owing to using the registered permanent residence without closing, can also be according to the data message locating network fault by registered permanent residence place statistics, therefore, the present invention has improved the fixed accuracy of network failure, make network quick-recovery soon.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, other accompanying drawing can also be provided according to the accompanying drawing providing.
Fig. 1 is the structural representation of a kind of EPON network system disclosed by the invention;
Fig. 2 is the schematic flow sheet of an embodiment of the control method of a kind of data message disclosed by the invention;
Fig. 3 is the schematic flow sheet of another embodiment of the control method of a kind of data message disclosed by the invention;
Fig. 4 is the schematic flow sheet of the another embodiment of the control method of a kind of data message disclosed by the invention;
Fig. 5 is the structural representation of an embodiment of the control device of a kind of data message disclosed by the invention;
Fig. 6 is the structural representation of another embodiment of the control device of a kind of data message disclosed by the invention;
Fig. 7 is the structural representation of the another embodiment of the control device of a kind of data message disclosed by the invention.
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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of control method of data message, the method can be applied in optical-fiber network allocation units;
Wherein, optical-fiber network allocation units are EPON(Ethernet Passive Optical Network, Ethernet passive optical network) part of system, referring to Fig. 1, show the structural representation of EPON system;
As seen from Figure 1, this system can comprise ONU (Optical Network Units, optical-fiber network allocation units) group 100, passive optical splitter 200 and OLT(Optical Line Terminal, optical line terminal) 300; ONU group 100 comprises ONU1, ONU2 ..., ONUn;
Wherein, each ONU all can comprise for receiving data packets with the registered permanent residence, for the data buffer of data cached message, for sending PON mouth and the standby port of the data message reading from described data buffer.
It should be noted that, in this EPON network system, on its down direction, OLT can send datagram to each ONU by passive optical splitter, is a point-to-point configuration; And on up direction, each ONU all sends datagram to same OLT via passive optical splitter by PON mouth, multiple ONU share same optical fiber between passive optical splitter and OLT, for multiple spot is to a spot net.
Fig. 2 discloses the schematic flow sheet of an a kind of embodiment of control method of data message, and as shown in Figure 2, the method can comprise the following steps:
Step 201: whether the PON mouth that detects optical-fiber network allocation units goes offline; If so, enter step 202; If not, enter step 204;
Wherein, the PON mouth of optical-fiber network allocation units goes offline and specifically refers to that the PON mouth of optical-fiber network allocation units can not receive light signal, corresponding, and whether the PON mouth that step 201 is specifically as follows detection optical-fiber network allocation units does not receive light signal, if so, enter step 202; If not, enter step 204.
Wherein, the reason that PON mouth goes offline has multiple, as optical fiber between optical-fiber network allocation units and optical line terminal disconnects, the transmission optical module of opposite end breaks down, the reception optical module of local terminal breaks down, opposite equip. power down etc.
Step 202: the data message reading from data buffer is sent by standby port;
Wherein, after the PON of optical-fiber network allocation units mouth goes offline, ONU can not be sent to OLT by PON mouth the data message reading from data buffer, in this case, ONU with the registered permanent residence also at receiving data packets endlessly, the data message receiving is also in data writing buffer endlessly, and data message in data writing buffer has been invalid packet, therefore, ONU can continue reading out data message from data buffer, and read data message is sent by standby port, use the registered permanent residence without closing.
It should be noted that, the data message being sent by standby port can't transfer to optical line terminal, but is simply discarded.
Step 203: the data message that statistics sends by described standby port;
Wherein, the data message that statistics sends by standby port is specifically as follows: the number of the data message that statistics sends by standby port; Certainly, can also add up the attribute information of each data message, as length of each packet etc.; Finally, make to carry out network failure location according to this statistics.
Step 204: the data message reading from described data buffer is sent by described PON mouth, via described passive optical splitter to optical line terminal.
In the time that the PON of optical-fiber network allocation units mouth does not go offline, illustrate that ONU can send the data message reading from data buffer by PON mouth, via passive optical splitter to OLT.
In embodiments of the present invention, in the time that the PON mouth that described optical-fiber network allocation units detected goes offline, the data message reading from data buffer can be sent by standby port, and the data message that sends by described standby port of statistics, thereby can be according to the data message locating network fault in standby port place statistics, and owing to using the registered permanent residence without closing, can also be according to the data message locating network fault by registered permanent residence place statistics, therefore, the present invention has improved the fixed accuracy of network failure, makes network quick-recovery soon.
Another embodiment of the present invention also discloses a kind of control method of data message, and as shown in Figure 3, the method can comprise the following steps:
Step 301: whether the PON mouth that detects optical-fiber network allocation units goes offline; If so, enter step 302, if not, enter step 306;
Step 302: the data message reading from data buffer is sent by standby port;
Step 303: the data message that statistics sends by standby port;
Step 304: whether the PON mouth that detects optical-fiber network allocation units reaches the standard grade; If so, enter step 305, if not, return to step 302;
Wherein, after the PON of optical-fiber network allocation units mouth goes offline, the data message in data buffer has been invalid packet, in this case, can the data message that is invalid packet be sent by standby port; After the PON of optical-fiber network allocation units mouth is reached the standard grade, the data message in data writing buffer is effective message again, and these effective messages need to be sent to optical line terminal by PON mouth.
Therefore, need the PON mouth that detects in real time optical-fiber network allocation units whether to reach the standard grade, if do not reach the standard grade, can keep sending by standby port the data message reading from data buffer.
Step 305: by the data message reading from data buffer by standby port send switch to by PON mouth send with via passive optical splitter to optical line terminal;
Wherein, after detecting that the PON mouth of optical-fiber network allocation units is reached the standard grade, data message in data writing buffer is effective message, therefore, can switch action, the data message reading from data buffer can be sent by PON mouth, and via passive splitter to optical line terminal.
Step 306: the data message reading from data buffer is sent by PON mouth, via passive optical splitter to optical line terminal.
In embodiments of the present invention, in the time that the PON mouth that described optical-fiber network allocation units detected goes offline, the data message reading from data buffer can be sent by standby port, and the data message that sends by described standby port of statistics, thereby can be according to the data message locating network fault in standby port place statistics, and owing to using the registered permanent residence without closing, can also be according to the data message locating network fault by registered permanent residence place statistics, therefore, the present invention has improved the fixed accuracy of network failure, makes network quick-recovery soon; In addition, in the present invention, the data message sending by standby port can directly abandon, and after the PON of optical-fiber network allocation units is reached the standard grade again, has reduced the invalid packet of busy line bandwidth.
In embodiments of the present invention, before being sent datagram by standby port and switching to and sent datagram by PON, if the data message in data writing buffer before the PON of optical-fiber network allocation units mouth is reached the standard grade again all can not be emptied, to cause so also existing in data buffer invalid packet, make a part of invalid packet still can be sent to optical line terminal by PON mouth, busy line bandwidth, affects network speed.
Based on this, further embodiment of this invention also discloses a kind of control method of data message, and as shown in Figure 4, the method can comprise the following steps:
Step 401: whether the PON mouth that detects optical-fiber network allocation units goes offline; If so, enter step 402, if not, enter step 407;
Step 402: the data message reading from data buffer is sent by standby port;
Step 403: the data message that statistics sends by standby port;
Step 404: whether the PON mouth that detects optical-fiber network allocation units reaches the standard grade;
Step 405: determine to read to meet pre-conditioned all data messages in data buffer, and the data message reading all sends by standby port;
Wherein, this pre-conditioned condition that the data message in data writing buffer before the PON of optical-fiber network allocation units mouth is reached the standard grade again is all emptied that refers to;
Data message before the PON of optical-fiber network allocation units mouth is reached the standard grade again in data writing buffer is invalid packet, in order to prevent data message is sent and switched to while being sent to optical line terminal by PON mouth by standby port, the extra bandwidth of wireless message busy line, need to all empty the invalid packet in data buffer.
It should be noted that, the data buffer in the present invention is FIFO(First In First Out first in first out) memory, that is, the data message in first data writing buffer is preferably read, and the data message in rear data writing buffer reads after selecting.
Wherein, empty not concrete restriction of mode of invalid packet in data buffer, as a kind of implementation, step 405 can specifically comprise:
The write address of data message in detection data writing buffer in the time that PON mouth is reached the standard grade;
Wherein, in the time that the PON mouth that optical-fiber network allocation units detected is reached the standard grade, can determine the now write address of the data message of data writing buffer,, data message before this write address is all invalid packet, and the data message after this write address is effective message.
Determine reading out data buffer data message to read address identical with this write address.
Wherein, in the time that Du address of the data message of reading out data buffer is identical with this write address, illustrate that all invalid packets in data buffer are all read complete.
Read data message is all sent by standby port.
As another kind of implementation, can carry out mark for the data message in data writing buffer in the time that PON mouth is reached the standard grade, whether the data message in the data buffer that detection reads carries this mark, the data message reading if detect carries this mark, determine all invalid packets in data buffer are all read complete, by read data message is all sent by standby port, make to empty all invalid packets in data buffer.
By read data message is sent by standby port, invalid packet in data buffer is all cleared, accordingly, when switched to by PON mouth by standby port, the data message sending is all effective message, thereby ensure the extra bandwidth that invalid packet can busy line, improved network speed.
Step 406: by the data message reading from data buffer by standby port send switch to by PON mouth send with via passive optical splitter to optical line terminal;
Step 407: the data message reading from data buffer is sent by PON mouth, via passive optical splitter to optical line terminal.
One embodiment of the invention discloses a kind of control device of data message, and this device can be applied in optical-fiber network allocation units;
Wherein, optical-fiber network allocation units are EPON(Ethernet Passive Optical Network, Ethernet passive optical network) part of system, the concrete structure of EPON system can be referring to Fig. 1, and in this not go into detail.
Wherein, each ONU all can comprise for receiving data packets with the registered permanent residence, for the data buffer of data cached message, for sending PON mouth and the standby port of the data message reading from described data buffer.
Referring to Fig. 5, this device can comprise: the first detecting unit 501, the first transmitting element 502, the first statistic unit 503, the second transmitting element 504; Wherein:
Whether the first detecting unit 501, can go offline for detection of the PON mouth of described optical-fiber network allocation units;
Wherein, whether the first detecting unit specifically can not receive light signal for detection of the PON mouth of described optical-fiber network allocation units.
The first transmitting element 502, can, in the time detecting that described optical-fiber network allocation units go offline, send the data message reading from described data buffer by described standby port;
The first statistic unit 503, the data message that can send by described standby port for statistics;
The second transmitting element 504, can, in the time detecting that described optical-fiber network allocation units do not go offline, send the data message reading from described data buffer by described PON mouth, via extremely described optical line terminal of described passive optical splitter.
In embodiments of the present invention, in the time that the PON mouth that described optical-fiber network allocation units detected goes offline, the data message reading from data buffer can be sent by standby port, and the data message that sends by described standby port of statistics, thereby can be according to the data message locating network fault in standby port place statistics, and owing to using the registered permanent residence without closing, can also be according to the data message locating network fault by registered permanent residence place statistics, therefore, the present invention has improved the fixed accuracy of network failure, makes network quick-recovery soon.
Another embodiment of the present invention is the control device of disclosed a kind of data message also, referring to Fig. 6, this device can comprise: the first detecting unit 601, the first transmitting element 602, the first statistic unit 603, the second detecting unit 604, the first switch unit 605, the first holding unit 606, the second transmitting element 607; Wherein:
Whether the first detecting unit 601, can go offline for detection of the PON mouth of described optical-fiber network allocation units;
The first transmitting element 602, can, in the time detecting that described optical-fiber network allocation units go offline, send the data message reading from described data buffer by described standby port;
The first statistic unit 603, the data message that can send by described standby port for statistics;
Whether the second detecting unit 604, can reach the standard grade for detection of the PON mouth of described optical-fiber network allocation units;
The first switch unit 605, can be in the time that the PON mouth that described optical-fiber network allocation units detected be reached the standard grade, by the data message reading from described data buffer by described standby port send switch to by described PON mouth send with via described passive optical splitter to described optical line terminal;
The first holding unit 606, can be in the time that the PON mouth that described optical-fiber network allocation units detected not be reached the standard grade, and keeps the data message reading from described data buffer to send by described standby port;
The second transmitting element 607, can, in the time detecting that described optical-fiber network allocation units do not go offline, send the data message reading from described data buffer by described PON mouth, via extremely described optical line terminal of described passive optical splitter.
In embodiments of the present invention, in the time that the PON mouth that described optical-fiber network allocation units detected goes offline, the data message reading from data buffer can be sent by standby port, and the data message that sends by described standby port of statistics, thereby can be according to the data message locating network fault in standby port place statistics, and owing to using the registered permanent residence without closing, can also be according to the data message locating network fault by registered permanent residence place statistics, therefore, the present invention has improved the fixed accuracy of network failure, makes network quick-recovery soon; In addition, in the present invention, the data message sending by standby port can directly abandon, and after the PON of optical-fiber network allocation units is reached the standard grade again, has reduced the invalid packet of busy line bandwidth.
Further embodiment of this invention is the control device of disclosed a kind of data message also, referring to Fig. 7, this device can comprise: the first detecting unit 701, the first transmitting element 702, the first statistic unit 703, the second detecting unit 704, the first determining unit 705, the first switch unit 706, the first holding unit 707, the second transmitting element 708; Wherein:
Whether the first detecting unit 701, can go offline for detection of the PON mouth of described optical-fiber network allocation units;
The first transmitting element 702, can, in the time detecting that described optical-fiber network allocation units go offline, send the data message reading from described data buffer by described standby port;
The first statistic unit 703, the data message that can send by described standby port for statistics;
Whether the second detecting unit 704, can reach the standard grade for detection of the PON mouth of described optical-fiber network allocation units;
The first determining unit 705, can in described data buffer, meet pre-conditioned all data messages for determining to read, and the data message reading all sends by described standby port.
The first determining unit can comprise: first detection module, the first determination module and the first sending module; Wherein:
First detection module, can be for detection of the data message that writes described data buffer the write address in the time that described PON mouth is reached the standard grade;
The first determination module, can for determine read described data buffer data message to read address identical with described write address;
The first sending module, can be for all sending read data message by described standby port.
The first switch unit 706, can be in the time that the PON mouth that described optical-fiber network allocation units detected be reached the standard grade, by the data message reading from described data buffer by described standby port send switch to by described PON mouth send with via described passive optical splitter to described optical line terminal;
The first holding unit 707, can be in the time that the PON mouth that described optical-fiber network allocation units detected not be reached the standard grade, and keeps the data message reading from described data buffer to send by described standby port;
The second transmitting element 708, can, in the time detecting that described optical-fiber network allocation units do not go offline, send the data message reading from described data buffer by described PON mouth, via extremely described optical line terminal of described passive optical splitter.
In embodiments of the present invention, in described data buffer, meet pre-conditioned all data messages by determining to read, and the data message reading all sends by described standby port, invalid packet in data buffer is all cleared, accordingly, when switched to by PON mouth by standby port, the data message sending is all effective message, thereby ensure the extra bandwidth that invalid packet can busy line, improved network speed.
The embodiment of each device is corresponding with embodiment of the method above, and specific implementation can be referring to embodiment of the method, and in this not go into detail.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates referring to method part.
To the above-mentioned explanation of the disclosed embodiments, make professional and technical personnel in the field can realize or use the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiment, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. the control method of a data message, it is characterized in that, be applied in optical-fiber network allocation units, described optical-fiber network allocation units comprise for receiving data packets with the registered permanent residence, for the data buffer of data cached message, for sending PON mouth and the standby port of the data message reading from described data buffer;
The method comprises:
Whether the PON mouth that detects described optical-fiber network allocation units goes offline;
If so, the data message reading from described data buffer is sent by described standby port;
The data message that statistics sends by described standby port;
If not, the data message reading from described data buffer is sent by described PON mouth, via extremely described optical line terminal of described passive optical splitter.
2. method according to claim 1, is characterized in that, after the data message that described statistics sends by described standby port, also comprises:
Whether detect the PON mouth of described optical-fiber network allocation units reaches the standard grade;
If so, by the data message reading from described data buffer by described standby port send switch to by described PON mouth send with via described passive optical splitter to described optical line terminal;
If not, keep the data message reading from described data buffer to send by described standby port.
3. method according to claim 2, it is characterized in that, described by the data message reading from described data buffer by described standby port send switch to by described PON mouth send with via described passive optical splitter to before described optical line terminal, also comprise:
Determine to read in described data buffer, to meet pre-conditioned all data messages, and the data message reading all sends by described standby port.
4. method according to claim 3, is characterized in that, described definite reading in described data buffer storage meets pre-conditioned all data messages, is specially:
The write address of the data message that detection writes described data buffer in the time that described PON mouth is reached the standard grade;
Determine read described data buffer data message to read address identical with described write address.
5. method according to claim 1, is characterized in that, whether the PON mouth that detects described optical-fiber network allocation units goes offline, and specifically comprises:
Whether the PON mouth that detects described optical-fiber network allocation units does not receive light signal.
6. the control device of a data message, it is characterized in that, be applied in optical-fiber network allocation units, described optical-fiber network allocation units comprise for receiving data packets with the registered permanent residence, for the data buffer of data cached message, for sending PON mouth and the standby port of the data message reading from described data buffer;
This device comprises:
Whether the first detecting unit, go offline for detection of the PON mouth of described optical-fiber network allocation units;
The first transmitting element, in the time detecting that described optical-fiber network allocation units go offline, sends the data message reading from described data buffer by described standby port;
The first statistic unit, for adding up the data message sending by described standby port;
The second transmitting element, in the time detecting that described optical-fiber network allocation units do not go offline, sends the data message reading from described data buffer by described PON mouth, via extremely described optical line terminal of described passive optical splitter.
7. device according to claim 6, is characterized in that, also comprises:
Whether the second detecting unit, reach the standard grade for detection of the PON mouth of described optical-fiber network allocation units;
The first switch unit, for in the time that the PON mouth that described optical-fiber network allocation units detected is reached the standard grade, by the data message reading from described data buffer by described standby port send switch to by described PON mouth send with via described passive optical splitter to described optical line terminal;
The first holding unit, in the time that the PON mouth that described optical-fiber network allocation units detected is not reached the standard grade, keeps the data message reading from described data buffer to send by described standby port.
8. device according to claim 7, is characterized in that, also comprises:
The first determining unit, for determining that reading described data buffer meets pre-conditioned all data messages, and the data message reading all sends by described standby port.
9. device according to claim 8, is characterized in that, described the first determining unit comprises:
First detection module, the write address for detection of the data message that writes described data buffer in the time that described PON mouth is reached the standard grade;
The first determination module, for determine read described data buffer data message to read address identical with described write address;
The first sending module, for all sending read data message by described standby port.
10. device according to claim 6, is characterized in that, whether described the first detecting unit does not receive light signal specifically for the PON mouth that detects described optical-fiber network allocation units.
CN201410159520.7A 2014-04-21 2014-04-21 Method and device for controlling data messages Pending CN103888303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410159520.7A CN103888303A (en) 2014-04-21 2014-04-21 Method and device for controlling data messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410159520.7A CN103888303A (en) 2014-04-21 2014-04-21 Method and device for controlling data messages

Publications (1)

Publication Number Publication Date
CN103888303A true CN103888303A (en) 2014-06-25

Family

ID=50957030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410159520.7A Pending CN103888303A (en) 2014-04-21 2014-04-21 Method and device for controlling data messages

Country Status (1)

Country Link
CN (1) CN103888303A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213176A (en) * 2019-06-28 2019-09-06 北京东土军悦科技有限公司 Message processing method, device, equipment and the medium of interchanger

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080145064A1 (en) * 2006-12-13 2008-06-19 Masaki Ohira Optical line terminal and optical network terminal
CN101656573A (en) * 2009-09-07 2010-02-24 中兴通讯股份有限公司 Method and optical line terminal for protecting passive optical network service
CN101834687A (en) * 2009-03-11 2010-09-15 华为技术有限公司 Method, system and device for switching main and spare light access networks
CN102137282A (en) * 2010-12-15 2011-07-27 华为技术有限公司 Method, device, nodes and system for detecting faulted link
CN102186117A (en) * 2011-03-30 2011-09-14 深圳市同洲电子股份有限公司 Network state judgment method and digital television terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080145064A1 (en) * 2006-12-13 2008-06-19 Masaki Ohira Optical line terminal and optical network terminal
CN101834687A (en) * 2009-03-11 2010-09-15 华为技术有限公司 Method, system and device for switching main and spare light access networks
CN101656573A (en) * 2009-09-07 2010-02-24 中兴通讯股份有限公司 Method and optical line terminal for protecting passive optical network service
CN102137282A (en) * 2010-12-15 2011-07-27 华为技术有限公司 Method, device, nodes and system for detecting faulted link
CN102186117A (en) * 2011-03-30 2011-09-14 深圳市同洲电子股份有限公司 Network state judgment method and digital television terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213176A (en) * 2019-06-28 2019-09-06 北京东土军悦科技有限公司 Message processing method, device, equipment and the medium of interchanger

Similar Documents

Publication Publication Date Title
EP2618508B1 (en) Method and system for extending passive optical network and relay device
CN101282276B (en) Method and apparatus for protecting Ethernet tree service
CN101557539B (en) Optical network data transmission method as well as system and equipment thereof
CN102377479B (en) Data synchronization method and system and optical network units
JP2004096734A (en) Apparatus and method for duplexing gigabit ethernet (r) passive optical network system, and frame format for controlling the same
CN105025400A (en) Probabilistic bandwidth control in a passive optical network (PON)
CN102917286A (en) Hand-in-hand protection switching method and system in EPON (Ethernet Passive Optical Network)
CN102687427A (en) Ranging method for passive optical network, system, and device
US20160056888A1 (en) Active and Standby Changeover Method, Apparatus, Device, and System for Network Device
CN101997605B (en) Optical distribution network as well as fault processing method, registration method and physical positioning method for optical network unit
US9680575B2 (en) Relay device, station side device, and communication system and communication method using relay device
US9455913B2 (en) Management of traffic buffering in internal and external memories in a passive optical network
CN102369737A (en) Data communication method of optical network system, optical network units and system
TW201348686A (en) Passive optical fiber plant analysis
US20140093239A1 (en) Olt mac module for efficiently processing oam frames
US20130156423A1 (en) Method and apparatus for laser overlap detection
US11429551B2 (en) Board of optical line terminal and optical line terminal
CN101047443B (en) Fault detection debugging method of passive optical network system and communication message device
CN104579779B (en) Concurrent management ONU method and system in EPON
CN103888303A (en) Method and device for controlling data messages
US20150063811A1 (en) Central-office termination apparatus of adaptively changing connection to subscriber-terminal terminator and path switching method
CN101616338A (en) A kind of method, apparatus and system that data transmit in the multiple spot multi-plexing light accessing system
KR101357646B1 (en) Total PON MAC apparatus and total PON OLT System using the same
CN101179451A (en) Transmission path connectivity detecting method, system, head end equipment and tail end equipment
CN102648590A (en) Method, system and device for communication in the optical network system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140625