Method, apparatus and system for transmitting upstream burst data in PON system
09686036 ยท 2017-06-20
Assignee
Inventors
- Jing Li (Shenzhen, CN)
- Dongyu GENG (Shenzhen, CN)
- Dongning Feng (Shenzhen, CN)
- Raymond W. K. Leung (Shenzhen, CN)
- Frank Effenberger (Freehold, NJ, US)
Cpc classification
H04J3/1694
ELECTRICITY
H04Q11/0067
ELECTRICITY
H04Q2011/0064
ELECTRICITY
International classification
H04J3/16
ELECTRICITY
Abstract
A method, an apparatus and a system for transmitting upstream burst data in a passive optical network system. Delimitation of end of upstream burst data is realized in the method. The method includes: transmitting a sync pattern sequence and a burst delimiter after turning on a laser; transmitting data to be sent; and transmitting an end-of-burst delimiter after the transmitting of data to be sent is finished. A method for receiving upstream burst data and a related apparatus and system are also provided in the embodiments of the invention.
Claims
1. A method of transmitting upstream burst data to an Optical Line Terminal (OLT) in a passive optical network system, the method comprising: detecting forward-error-correction (FEC) protected data in a first-in-first-out (FIFO) queue; transmitting a sync pattern sequence and a burst delimiter after turning on a laser; transmitting upstream burst data comprising the FEC protected data to be sent to the OLT; and transmitting an end-of-burst delimiter after the transmitting of upstream burst data has been completed, wherein the end-of-burst delimiter enables the OLT to determine the end of the upstream burst data and the end-of-burst delimiter comprises a binary sequence with alternating zeroes and ones that is 66 bits in length.
2. The method according to claim 1, wherein the end-of-burst delimiter is sent after it is detected that a First In First Out queue of a data detector is all filled with control blocks.
3. The method according to claim 1, further comprising: turning off the laser.
4. The method according to claim 3, further comprising setting a control block in a First In First Out queue of a data detector as an all-zero data block while starting turning off the laser or after starting turning off the laser.
5. The method according to claim 1, further comprising: reading the data to be sent after the transmitting of the sync pattern sequence and the burst delimiter.
6. The method according to claim 5, further comprising: determining whether the data transmitting is finished, and if the data transmitting is not finished, reading of the data to be sent continues.
7. The method according to claim 1, further comprising: detecting whether there is data to be sent, and if there is no data to be sent, the detecting continues; if it is detected that there is an Ethernet data frame to be sent, turning on the laser.
8. An Optical Network Unit (ONU), comprising: a sync pattern sequence transmitting module configured to transmit a sync pattern sequence after a laser is turned on; a burst delimiter transmitting module configured to transmit a burst delimiter after the laser is turned on; an end-of-burst delimiter transmitting module configured to transmit an end-of-burst delimiter after the transmitting of upstream burst data has been completed, wherein the end-of-burst delimiter comprises a binary sequence with alternating zeroes and onesthat is 66 bits in length; and a transmitting module configured to transmit the data to be sent to an Optical Line Terminal (OLT).
9. The apparatus according to claim 8, further comprising: a data detecting module configured to detect data to be sent, and instruct to turn on the laser when the data to be sent is detected.
10. The apparatus according to claim 8, further comprising: a control identifier modifying module configured to set a control block in a First In First Out queue of a data detector as an all-zero data block after the transmitting of the data to be sent is finished and before the laser is turned off.
11. The apparatus according to claim 8, further comprising: a data reading module configured to read the data to be sent from a transmitting buffer.
12. A passive optical network communication system, comprising an Optical Network Unit (ONU) and an Optical Line Terminal (OLT), wherein the ONU comprises: a sync pattern sequence transmitting module configured to transmit a sync pattern sequence after the laser is turned on; a burst delimiter transmitting module configured to transmit a burst delimiter after the laser is turned on; an end-of-burst delimiter transmitting module configured to inform the OLT of the end of the upstream burst data by transmitting an end-of-burst delimiter, wherein the end-of-burst delimiter comprises a binary sequence with alternating zeroes and ones that is 66 bits in length; and a transmitting module configured to transmit the data to be sent to the OLT receiving end; the OLT comprises: a data receiving module configured to receive and shift data; a burst delimiter matching module configured to perform matching of a burst delimiter on data of the data receiving module; and an end-of-burst delimiter matching module configured to perform matching of an end-of-burst delimiter on the data of the data receiving module.
13. The system according to claim 12, wherein the ONU further comprises: a data detecting module configured to detect data to be sent, and instruct to turn on a laser when the data to be sent is detected.
14. The system according to claim 12, wherein the ONU further comprises: a data reading module configured to read the data to be sent from a transmitting buffer.
15. The system according to claim 12, wherein the ONU further comprises: a control identifier modifying module configured to set a control block in a First In First Out queue of a data detector as an all-zero data block after the transmitting of the data to be sent is finished and before the laser is turned off.
16. The system according to claim 12, wherein the OLT further comprises: an additional sequence matching module configured to perform matching of an all-zero sequence with a particular length after the matching of the burst delimiter by the burst delimiter matching module succeeds.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION
(10) Embodiments of the invention will be described in conjunction with an EPON system. Delimitation of end of burst data is realized by adding an End-Of-Burst delimiter (EOB) at the end of each upstream burst data.
(11) Referring to
(12) Referring to
(13) S201: It is detected whether there is data to be sent, and if there is no data to be sent, the detecting continues; if it is detected that there is an Ethernet data frame to be sent, S202 is performed to turn on a laser.
(14) S203: After the laser is turned on, a sync pattern and a burst delimiter are inserted before the data to be sent and sent. In this embodiment, the sync pattern is 0x555 . . . , and the burst delimiter is 66 bits in length, which is the length of one block.
(15) S204: Read the data to be sent. The data to be sent is obtained.
(16) S205: The data is sent.
(17) S206: It is determined whether the data transmitting is finished, and if the data transmitting is not finished, reading of the data to be sent continues; if the data transmitting is finished, S207 is performed.
(18) S207: An EOB is inserted and the EOB is sent. The unit of the inserted EOB format may be the block defined in 10 G EPON (block, 66 bits each). The length of the EOB is preferred as the length of two blocks, and a corresponding binary sequence is an all-zero binary sequence or a binary sequence with alternating zeroes and ones with a length of 132 bits, e.g. a 000000 . . . sequence, or a 101010 . . . sequence, or a 010101 . . . sequence.
(19) S208: The laser is turned off after the transmitting of the EOB is finished.
(20) The on and off of the laser are controlled by a particular state of a First In First Out (FIFO) queue in a data detector of the ONU transmitting end.
(21)
(22)
(23) By adding an EOB at the end of each upstream burst data, the above solution realizes the delimitation of end of the burst data. In particular, as a complement, the laser may start being turned off when transmitting of the FEC protected data (a.k.a. FEC data) is finished, i.e. the laser starts being turned off when it is detected that there are all control blocks in the FIFO sequence. A period of time is needed for the laser to be turned off, during which the laser remains transmitting data. However, due to physical characteristics of the laser, when the laser is instructed to be turned off, transmission power of the laser eventually drops off until the laser is finally off. Therefore, after starting turning off the laser, an all-zero binary sequence may be inserted and transmitted. Without being part of the burst data, the all-zero binary sequence goes right after the burst data, therefore the all-zero binary sequence may be used as an EOB of the foregoing burst data. The length of the all-zero binary sequence may be a natural number times 66 bits. 132 bits is preferred.
(24) Referring to
(25) a data detecting module 501, adapted to detect data to be sent, instruct to turn on the laser when arrival of the data to be sent is detected, and in particular, adapted to detect whether there is the data to be sent, instruct to turn on the laser when detecting that FEC protected data to be sent appears at the end of the FIFO queue, which indicates that the data to be sent arrives, and instruct to turn off the laser when detecting that the data to be sent ends and transmitting of the end-of-burst delimiter is finished;
(26) a sync pattern sequence transmitting module 503, adapted to transmit the sync pattern after the laser is turned on;
(27) a burst delimiter transmitting module 504, adapted to transmit the burst delimiter after the laser is turned on;
(28) a data reading module 505, adapted to read the data to be sent from a transmitting buffer, and transmit through a transmitting module 502;
(29) an end-of-burst delimiter transmitting module 506, adapted to transmit an end-of-burst delimiter; and
(30) the transmitting module 502, adapted to transmit the data to be sent to an OLT receiving end.
(31) After the transmitting of the EOB is finished, the laser is turned off, and the burst ends.
(32) Furthermore, the ONU transmitting end includes a control identifier modifying module (not shown in the figure), adapted to set the control blocks in the FIFO queue to be all-zero blocks before the laser is turned off after the transmitting of the data to be sent is finished.
(33) Another embodiment of an ONU transmitting end is provided by the invention, different from the above embodiment as follows:
(34) The data detecting module is further adapted to detect the data to be sent, instruct to turn on the laser when arrival of the data to be sent out is detected, and instruct to turn off the laser when end of the transmitting of the data to be sent is detected; this embodiment further includes an additional sequence transmitting module (not shown in the figure) adapted to transmit an all-zero binary sequence with a particular length after the laser starts being turned off, the all-zero binary sequence being sent out by the transmitting module 502.
(35) Transmitting of burst data by the ONU transmitting end is described above.
(36) The burst data has to be received and processed at an OLT transmitting end.
(37) Referring to
(38) S600: The OLT is started and initialized.
(39) S601: The data receiving module starts to receive data.
(40) S602: Burst delimiter matching is performed on the received data; the matching is performed on the received data with a length of the burst delimiter (one block).
(41) S603: It is determined whether the matching succeeds, and a Hamming Distance (HD) between the received data and the burst delimiter sequence is calculated. If the HD is less than a predefined threshold T1, the matching is determined to be a success.
(42) If the matching fails, the data receiving module shifts the data by one bit (or, the data may be shifted in groups), the matching continues, and new data is received. If the matching succeeds, S604 is performed.
(43) S604: The data is shifted; the data is shifted in bits, in this embodiment, data is shifted by one bit, in practice, the length of FEC plus a BD may be skipped in first, and shifting may be performed in bits, in blocks, or in groups.
(44) S605: EOB matching is performed on the shifted data in the unit of two blocks;
(45) S606: It is determined whether the EOB matching succeeds, a Hamming Distance (HD) between the received data and the EOB sequence is calculated. If the HD is less than a predefined threshold T2, the matching is determined to be a success. If the matching fails, the data is shifted by one block (66 bits), the matching continues, and new data is received; if the EOB search matching succeeds, it is determined that the current burst ends, and S601 is performed, the next burst is to be received and delimited.
(46) Further, matching of an all-zero sequence with a particular length is started after the matching of the burst delimiter is finished, which is called additional matching. The additional matching may be performed at the same time with the EOB matching, and if the additional matching succeeds, it is determined that the EOB matching succeeds. The length of the all-zero sequence may be a natural number times the length of one block. An all-zero sequence with a length of two blocks is preferred.
(47)
(48)
(49) Shifting may be performed in blocks in a particular EOB matching, as described above. Other embodiments of the invention are provided. Shifting may be performed in bits, or, EOB shifting and matching may be performed after data with a particular length is skipped in first. For example, a length of one EFC code word may be skipped in first (In 10 G EPON systems, the length of data part is at least the length of one FEC code word, which is 31 blocks). The matching of the EOB is determined to be a success if a Hamming Distance (HD) between the EOB and the received data meets the following requirements: when the EOB is 000000 . . . , i.e. an all-zero binary sequence, if HD<T2, the matching is determined to be a success; when the EOB is 010101 . . . or 101010 . . . , i.e., an binary sequence with alternating zeroes and ones, and if it is allowed to match 010101 (a binary sequence with alternating zeroes and ones and with 01 as the repetition) to 101010 (a binary sequence with alternating zeroes and ones and with 10 as the repetition), then if HD>132-T2 or HD<T2, the matching is determined to be a success with T2 being the tolerance threshold, otherwise, i.e., if it is not allowed to match 010101 (a binary sequence with alternating zeroes and ones and with 01 as the repetition) to 101010 (a binary sequence with alternating zeroes and ones and with 10 as the repetition), then if HD<T2, the matching is determined to be a success with T2 being the tolerance threshold.
(50) The length and particular value of the EOB may be set according to the actual situation of the system or apparatus in this embodiment. The length of the EOB is preferred as the length of two blocks, and the particular value is preferred as an all-zero binary sequence 000000 . . . or a binary sequence with alternating zeroes and ones (010101 . . . or 101010 . . . ).
(51) When the EOB is a binary sequence with alternating zeroes and ones 010101 . . . or 101010 . . . , if the EOB cannot be matched correctly due to code error brought in by channel transmission, because the sync pattern of the next burst is also 1010101010 . . . , secondary matching protection may be provided. However, bit mis-position may happen due to the way of shifting in block, i.e., if 010101 . . . is used to perform the matching, the actual matched sequence may be 101010 . . . , but as long as the determination criteria uses HD>132-T2 or HD<T2, the success of matching may also be achieved, therefore before matching of a new burst delimiter the former burst ends, and burst delimiter matching starts timely.
(52) When the EOB is an all-zero sequence 000000 . . . , because no data is transmitted between bursts, there are all-zero data in the channel. Similarly, if the EOB cannot be matched correctly due to code error brought in by channel transmission, secondary matching protection may be provided by the all-zero data between bursts. If the all-zero data between burst is not long enough to match the EOB, and the secondary matching may not be achieved, the sync pattern of the next burst may be used. Therefore, besides 00000 . . . , as long as the 010101 . . . or 101010 in the sync pattern matches, the matching is considered a success. Furthermore, because the particular value of EOB is an all-zero binary sequence 000000 . . . , the Physical Medium Dependent (PMD) sublayer of the ONU transmitting end may get into the state off more quickly.
(53) Referring to
(54) According to the above description, searching of the next burst delimiter for its synchronization may be started after the data receiving module 901 switches the output switch to the burst delimiter matching module 902 again. Therefore, synchronized receiving and delimitation of each burst data from the ONU may be realized.
(55) As discussed above, matching of the EOB is performed during receiving of burst data by the receiving end. In practice, the receiving end does not identify whether the EOB is inserted to the burst data by the transmitter. However, as to the receiver, the matching of the EOB is treated as a matching of a particular sequence, which may be an all-zero binary sequence 0000000 . . . or a binary sequence with alternating zeroes and ones (010101 . . . or 101010 . . . ), the length of which is preferred as 132 bits. The EOB is just an end-of-burst delimiter to the receiving end. Due to the intervals between adjacent bursts, there are all-zero data in the channel, the data sequence therebetween may also be an end-of-burst identifier to the receiving end. At the receiving end, an EOB is not restricted to the data inserted by the transmitter, but is a particular sequence, which may be inserted by the transmitting end to the burst data, or may be the data between adjacent bursts, or a combination of the two. In addition, the end-of-burst identifier, in practice, may be a combination of data inserted in a former burst, data between bursts and a sync pattern of a latter burst, or a combination of data between bursts and a sync pattern of a latter burst. Therefore, it should be noted that an EOB of burst data is not only data inserted in the burst, but also the kinds of data stated above. During receiving, the matching of EOB is matching of a particular data sequence.
(56) An embodiment of the invention further provides a PON communication system, including the above ONU transmitting end and the above OLT receiving end apparatus.
(57) The ONU transmitting end includes: a data detecting module, adapted to detect data to be sent, instruct to turn on a laser when arrival of the data to be sent is detected; a sync pattern sequence transmitting module, adapted to transmit a sync pattern sequence after the laser is turned on; a burst delimiter transmitting module, adapted to transmit a burst delimiter after the laser is turned on; an end-of-burst delimiter transmitting module, adapted to transmit an end-of-burst delimiter; and a transmitting module, adapted to transmit the data to be sent to the OLT receiving end.
(58) The OLT receiving end includes: a data receiving module, adapted to receive and shift data; a burst delimiter matching module, adapted to perform matching of a burst delimiter on data of the data receiving module; and an end-of-burst delimiter matching module, adapted to perform matching of an end-of-burst delimiter on the data of the data receiving module.
(59) The ONU transmitting end further includes: a control identifier modifying module, adapted to set all control blocks in an FIFO queue of a data detector to all-zero data blocks after the transmitting of the data to be sent is finished and before the laser is turned off.
(60) The OLT receiving end further includes: an additional sequence matching module, adapted to perform matching of an all-zero sequence with a particular length after the matching of the burst delimiter by the burst delimiter matching module succeeds.
(61) The methods and the apparatus provided by the embodiments of the invention realize delimitation of burst data by adding an end-of-burst delimiter after the burst data. The receiving end delimits the burst data by matching of the added end-of-burst delimiter. Such a solution does not need to add an interface between the physical layer and an upper layer application, does not need to break down functional independence of the MDIO register, and readily realizes delimitation of burst data at the physical layer. Complexity of the solution is low.