WO2017197856A1 - Data communication method, apparatus and system - Google Patents
Data communication method, apparatus and system Download PDFInfo
- Publication number
- WO2017197856A1 WO2017197856A1 PCT/CN2016/105517 CN2016105517W WO2017197856A1 WO 2017197856 A1 WO2017197856 A1 WO 2017197856A1 CN 2016105517 W CN2016105517 W CN 2016105517W WO 2017197856 A1 WO2017197856 A1 WO 2017197856A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- channel
- receiving
- receiving device
- bit
- delay
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/077—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using a supervisory or additional signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/077—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using a supervisory or additional signal
- H04B10/0775—Performance monitoring and measurement of transmission parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/364—Delay profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0041—Arrangements at the transmitter end
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
Definitions
- the present invention relates to the field of optical communication technologies, and in particular, to a data communication method, apparatus, and system.
- the EPON 100 may include at least one optical line terminal (OLT) 110, an optical distribution network 120 (ODN), and a plurality of optical network units (ONUs) 130.
- ODN optical line terminal
- ONUs optical network units
- the ODN sends Ethernet packets to multiple ONUs. To distinguish between different ONUs, you need to set a unique Logical Link Identifier (LLID) for each ONU to uniquely identify each ONU.
- LLID Logical Link Identifier
- 100G EPON is the next-generation EPON system after 10G EPON.
- the physical layer of EPON architecture can only achieve 25Gbps.
- the rate, to reach the system rate of 100Gbps, needs to bind 4 channels of 25Gbps to carry 100Gbps traffic.
- the OLT distributes the data packets of one service flow to the four wavelength channels for transmission, and the ONU needs to receive the data packets from the four wavelength channels, and the data packets of the four channels are received. Reorganize to form a business flow.
- the ONU reassembles the data packet according to the receiving time of the first bit in the received data packet.
- the ONU receives and reassembles the data packet, it assumes that the overall delay of each wavelength channel from the transmitting side to the receiving side is the same and constant. In actual situations, each channel may pass different lengths of optical fibers and different wavelengths. If the channel uses different wavelengths, the delay between the channels of the wavelengths is not the same. This makes the ONU receive the first bit of the data packet according to the calculation, and the data packet of the ONU is reorganized. sequence.
- Embodiments of the present invention provide a data communication method, related device, and system, which are used to solve data that is reassembled by a receiving device due to a delay of a wavelength channel in a next-generation EPON system.
- the problem of out-of-order of the message enables the delay measurement accuracy of each channel of the next-generation EPON system to reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, which greatly improves the reliability of the system. Sex.
- an embodiment of the present application provides a data communication method, which is applied to a receiving device in a passive optical network system, where the receiving device receives data through at least two channels, and the method includes:
- the delay measurement accuracy of each channel of the next-generation EPON system can reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, thereby greatly improving the system. reliability.
- the receiving device obtains the delay deviation of each channel specifically includes:
- the receiving device When the receiving device detects that the number of the FEC codeword received on each channel is the same, the recorded receiving time of the specific bit of the FEC codeword received by each channel; and calculating each time according to the receiving time of the recorded specific bit The delay of the channel.
- the receiving device records the reception time of a particular bit of the FEC codeword received by each channel.
- the receiving device obtains the delay deviation of each channel specifically includes:
- the delay deviation of each channel is calculated according to the receiving time of the recorded specific bits.
- the receiving device obtains the delay deviation of each channel specifically includes:
- the receiving device When the receiving device detects that the synchronization header Sync Header of the FEC codeword received by each channel is a specific value, the receiving time of the specific bit of the FEC codeword is received according to the recorded channel, and the delay of each channel is calculated. Time offset; wherein the Sync Header is a sync header Sync Header in the parity block Parity Block in the FEC codeword.
- the receiving device adjusts according to the delay deviation of each channel.
- the receiving time of receiving the first bit in the data packet on each channel specifically includes:
- the receiving device compensates for the arrival time of the first bit of the data packet on each channel according to the delay deviation of each channel, and obtains the data packet after compensation on each channel.
- the reception time of the first bit is the delay deviation of each channel.
- the receiving device reassembling the received message according to the receiving time of the first bit in the adjusted data packet includes:
- the receiving device reassembles the received message according to the sequence of the arrival time of the first bit of the data data packet on the adjusted channel.
- an embodiment of the present application provides a receiving device, where the receiving device includes:
- the receiving port unit receives the forward error correction code code word FEC codeword sent by the sending device by using a channel corresponding to the interface unit, and sends the received FEC codeword to the FEC processor;
- the FEC processor is configured to The received FEC codeword is parsed, and the parsed data packet is sent to a timer; the timer is configured to record a receiving time of receiving the first bit in the data packet from each channel;
- the receiving time of the first bit of each channel is sent to the delay compensator;
- the delay calculator is used to calculate the delay deviation of each channel, and the delay deviation of each channel is sent to the delay compensator;
- the delay compensator is configured to adjust, according to the delay deviation of each channel, a receiving time of receiving the first bit in the data packet on each channel;
- the message reassembler is used according to the The receiving time of the first bit in the adjusted data message is used to reassemble the received message.
- the FEC processor is specifically configured to: when the receiving device detects that the number of the FEC codeword received on each channel is the same, the received bit of the FEC codeword received by each channel is received.
- the time delay is sent to the delay calculator; the delay calculator is specifically configured to calculate a delay deviation of each channel according to the received time of the record.
- the FEC processor is specifically configured to record a receiving time of a specific bit of the FEC codeword received by each channel; when it is detected that the number of the FEC codeword received on each channel is the same, the The received time of the record is sent to the delay calculator;
- the delay calculator is specifically configured to calculate a delay deviation of each channel according to the received time of the record.
- the FEC processor is specifically configured to record a receiving time of a specific bit of the FEC codeword received by each channel; when detecting that the synchronization header Sync Header of the FEC codeword received by each channel is a specific value, Transmitting the received time of the record to the delay calculator; wherein the Sync Header is a sync header Sync Header in the Parity Block of the FEC codeword; the delay calculator is specifically used for Based on the received time of the record, the delay deviation of each channel is calculated.
- the delay compensator is specifically configured to compensate for the arrival time of the first bit of the data packet on each channel according to the delay deviation of each channel, and obtain the The receiving time of the first bit of the data message after compensation on each channel is described.
- an embodiment of the present application provides an optical network unit, where the optical network unit includes any one of the receiving devices provided in the above related possibilities.
- the embodiment of the present application provides an optical line terminal, which includes any one of the receiving devices provided in the above related possibilities.
- the embodiment of the present application provides a passive optical network system, where the passive optical network system includes: a sending device and a receiving device, where the sending device sends data through at least two channels, and the receiving device passes at least The two channels receive data; the sending device is used for the forward error correction code code word FEC codeword sent in each channel; the receiving device is any one of the receiving devices mentioned above.
- the delay measurement accuracy of each channel of the next-generation EPON system can reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, thereby greatly improving the system. reliability.
- the sending device is specifically configured to align the FEC codeword to be sent on each channel, and send the aligned FEC codeword.
- the sending device is specifically configured to set a value of a sync header Sync Header of a parity block Parity block in the FEC codeword to be sent to a specific value, and send the Sync Header to a FEC codeword of a specific value.
- the embodiment of the present application provides a passive optical network system, where the passive optical network system includes: an optical line terminal, a wavelength division multiplexer/demultiplexer, a beam splitter, and at least one optical network. a unit, the optical line terminal and the optical network unit are connected by the optical splitter, and the optical line terminal and any one of the optical network units have at least two channels, and the optical network unit includes any of the above mentioned A receiving device.
- the delay measurement accuracy of each channel of the next-generation EPON system can reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, thereby greatly improving the system. reliability.
- FIG. 1 is a schematic diagram of a network architecture of a PON system provided by the prior art
- FIG. 2 is a schematic diagram of a network architecture of a next-generation EPON system according to an embodiment of the present invention
- FIG. 3 is a data communication method according to an embodiment of the present invention.
- 4A is a frame structure diagram of an FEC codeword according to an embodiment of the present invention.
- 4B is a schematic diagram of sending an FEC codeword according to an embodiment of the present invention.
- 4C is a schematic diagram of delay deviation of a channel according to an embodiment of the present invention.
- 4D is a sequence diagram of receiving a first bit in a data packet according to an embodiment of the present invention.
- 4E is a timing diagram of receiving a first bit in a data packet according to an embodiment of the present invention.
- 4F is a schematic diagram of a packet reassembly according to a first bit arrival time of a modified packet according to an embodiment of the present disclosure
- 4G is a schematic diagram of a recombined FEC codeword according to an embodiment of the present invention.
- 4H is a schematic diagram of a packet distribution manner sent by a sending device according to an embodiment of the present disclosure
- 4I is a schematic diagram of a reassembly packet of a receiving device according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a receiving device according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a network of another PON system according to an embodiment of the present disclosure.
- FIG. 7 is a schematic structural diagram of another receiving device according to an embodiment of the present invention.
- the embodiment of the present invention provides a data communication method, a related device, and a system, which are used to solve the problem of out-of-order data packets received by the receiving device due to the delay of the wavelength channel in the next-generation EPON system, and realize the next generation.
- the delay measurement accuracy of each channel of the EPON system can reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, which greatly improves the reliability of the system.
- the next-generation EPON system 100 includes an OLT 110, a plurality of ONUs 120, and an Optical Distribution Network (ODN) 130.
- ODN Optical Distribution Network
- the OLT 110 includes a message distributor and respective downlink ports.
- the illustration is given by the message distributor as a demultiplexer DeMultiplexing, which is given as four downlink ports in the example of the downlink port diagram, here given as an example, at least two downlink ports are provided.
- An electrical signal is generated between the DeMultiplexing and the port, and the DeMultiplexing and the downlink port are both disposed on a board of the OLT, and each of the downlink ports can convert an electrical signal into an optical signal and output through the port.
- the four downlink ports of the OLT and the multiplexer WDM are connected by a branch fiber, and optical signals are transmitted in each branch fiber.
- the wavelengths of the optical signals transmitted in the branched fibers may be the same or different. It should be noted that if the WDM is set in the OLT, the downlink ports of the OLT and the WDM are connected by a waveguide. The WDM and the beam splitter 130 are connected by a trunk fiber, and the beam splitter 130 is connected to the WDM of the terminal side through a branch fiber. The WDM is connected to the message reassembler through the uplink ports of the terminal-side device ONU, and the message reassembler is a multiplexer or a multiplexer in the example of FIG. 2, including but not limited to the multiplexer or the multiplexer. Waves.
- the WDM on the terminal side and the uplink ports on the ONU 120 transmit optical signals through the branch fibers.
- the WDM of the terminal is set on the ONU 120
- the WDM and the ONU 120 are connected by a waveguide for transmitting an optical signal.
- Each uplink port on the ONU 120 converts the optical signal into The electrical signal is transmitted to the Multiplxing for message reassembly, and an electrical signal is transmitted between the respective uplink ports and the Multiplxing.
- the ONU sends the reassembled service flow to the user through each downlink port (not shown in FIG. 2).
- the network structure diagram of FIG. 2 is described in the following manner: the OLT receives a service flow from the network side, and distributes the service flow through at least two channels through each downlink port, and FIG. 2 gives For example, four channels are respectively transmitted for ⁇ 0- ⁇ 4, wherein the one service stream is split into data packets of variable lengths and transmitted through respective channels.
- the WDM aggregates the data packets of the respective channels, and transmits them to the WDM of each terminal side through the optical splitter 130, and demultiplexes them to the respective channels ⁇ 0- ⁇ 4 of the respective ONUs 120 by the WDM on the terminal side, and performs datagrams through the respective channels.
- the transmission of the text finally reorganizes the message through Multiplexing, and sends the reassembled data packet, that is, the service flow, to the user.
- the above channel can be understood as a wavelength channel, or it can be another channel.
- the channel can be a logical channel or a physical layer fiber link.
- the channel can be understood as a logical or physical link from each downlink port of the OLT to each uplink port of the ONU.
- the network architecture of the above-mentioned next-generation EPON is an example of a 100GEPON architecture, that is, data transmission is performed between the OLT and the ONU through four channels, each channel carrying 25 Gbps data packets, and a total of 100 Gbps data packets can be transmitted. It should be noted that if the OLT and the ONU transmit data through two channels, each channel carries 25 Gbps data packets, and a total of 50 Gbps data packets can be transmitted.
- the architecture of the above example can also be a 50 G EPON architecture. There are no restrictions here.
- the data packet transmitted between the OLT and the ONU may be Ethernet data or a forward error correction code code word FEC codeword, and the Ethernet data is encapsulated and transmitted in the payload data block of the FEC codeword.
- the receiving device is applied to the receiving device in the optical network system.
- the receiving device may be the receiving device included in the OLT in FIG. 2 or the receiving device on the ONU side.
- the receiving device receives data through at least two channels, and the method includes:
- the receiving device receives, from each channel, a forward error correction code sent by the sending device.
- Code word FEC codeword FEC codeword
- the receiving device obtains a delay deviation of each channel.
- the receiving device obtains the delay deviation of each channel in the following manners:
- the first type is that the receiving device can perform the number statistics on the FEC codeword.
- the receiving device detects that the number of the FEC codeword received on each channel is the same, the receiving time of the specific bit of the FEC codeword received by each channel is recorded; The delay deviation of each channel is calculated based on the reception time of the recorded specific bit.
- the specific method for calculating the delay deviation of each channel by the receiving device is as follows:
- the receiving device uses the receiving time of the specific bit of the receiving FEC codeword on any one of the wavelength channels as a reference value, and calculates the receiving time and the specific bit of the same number of FEC codeword received on the other wavelength channel.
- the difference between the reference values which is the delay deviation of other wavelength channels.
- the second type is that the receiving device records the receiving time of the specific bit of the FEC codeword received by each channel; when the receiving device detects that the number of the FEC codeword received on each channel is the same, according to the specificity of the record The bit delay time is calculated, and the delay deviation of each channel is calculated.
- the third type is that when the receiving device detects that the synchronization header Sync Header of the FEC codeword received by each channel is a specific value, the receiving time of the specific bit of the FEC codeword is received according to the recorded channel, and the calculation is performed.
- the delay deviation of the above calculation channel can be buffered in a certain period, and the delay deviation of each wavelength channel of the buffer can be used in the set period, and the delay deviation of each wavelength channel is refreshed again according to the above manner in the next cycle. .
- the specific bit of the FEC codeword may be any bit of the FEC codeword, for example, the first bit of the FEC codeword, or the last bit, and the like.
- the frame structure diagram of the FEC codeword can be seen in Figure 4, specifically This is the frame structure of the FEC codeword defined in the prior art, for example, the standard of IEEE802.3.
- the 66-bit code block generated by the coding as shown in the figure is a data code block or a control code block, and includes an idle code block corresponding to the frame interval (including invalid data), and uniformly performs FEC coding by using 27 code blocks as one packet. According to 27 code blocks, 4 Parity code blocks are obtained.
- the common data code block and the control code block use 01 and 10 as synchronization heads respectively, and the 4 Parity code blocks adopt 00, 11, and 11, respectively. 00 as a sync header. Please refer to the relevant chapters of the standard for the description of Figure 4 here, and will not repeat them.
- Step 1 The sending device aligns the FEC codewords of the four channels and sends them. As shown in Figure 4B.
- the sending device controls the FEC codeword of the four channels so that the timing of each channel is aligned, thereby ensuring that the FEC codeword is aligned and transmitted.
- Step 2 The receiving device detects the receiving time of the specific bit of the FECcodeword of each channel, and can calculate the delay deviation of the remaining channels relative to the reference channel by using a specified channel as the reference channel, and the delay deviation can be positive or negative, and the delay is generated. table.
- Table 1 shows the delay deviation table for each channel:
- the sending time, ts2 is the sending time of the sending device to send the FEC codeword on channel 2, and so on.
- the receiving device parses the data packet from the FEC codeword, and obtains a receiving time of receiving the first bit in the data packet from each channel.
- the structure of the FEC codeword is as shown in FIG. 4, and the data block of the payload block is obtained as a data packet, and the receiving time of receiving the first bit in the data packet on each channel is recorded.
- the receiving device adjusts, according to the delay deviation of each channel, a receiving time of receiving the first bit in the data packet on each channel.
- the receiving device compensates for the arrival time of the first bit of the data packet on each channel according to the delay deviation of each channel, and obtains the data packet after compensation on each channel.
- the reception time of the first bit is the delay deviation of each channel.
- Table 2 below is a comparison table of receiving the reception time of the first bit in the data message and the reception time of the corrected first bit from the respective channels.
- FIG. 4D a timing diagram of receiving the first bit in the data packet from each channel is shown in FIG. 4D and FIG. 4E.
- t1_x' t1_x
- t2_x' t2_x + ⁇ t2
- t3_x' t3_x + ⁇ t3
- t4_x' t4_x + ⁇ t4.
- the receiving device reassembles the received packet according to the receiving time of the first bit in the adjusted data packet.
- the receiving device After the order, the received message is reorganized.
- the receiving device reassembles the packet according to the time when the first packet of the corrected packet reaches the time, as shown in FIG. 4F.
- Table 3 is a table of generated channel delay differences:
- Table 4 shows the receiving time of the first bit in the data packet received by the receiving device:
- Table 5 shows the time of the first bit of the received data packet according to Table 3 and Table 4.
- Table 5 shows the first bit reception time of the modified corrected packet for each wavelength channel:
- the time delay of Table 4 is used to correct the time of Table 3, and the time of Table 5 obtained by the modification is used for message reorganization.
- the receiving device calculates the delay of each channel according to the receiving time of the specific bit of the FEC codeword of each channel, and records the receiving time of the first bit in the data packet of the FEC codeword of each channel, and the first bit of each channel packet.
- the receiving time is corrected, and the packet reassembly is performed according to the corrected first bit receiving time of each channel packet, that is, the packet is scheduled from each channel queue according to the first bit arrival time of each channel packet, and the first bit arrival time is more Early, the first to get the schedule.
- the receiving device can calculate the delay deviation of each channel for each FEC codeword, or calculate the delay deviation of each channel according to a certain period. For example, the delay deviation update of each channel is performed once every N FEC codewords.
- the periodic calculation can be implemented by setting a counter. For example, a counter is set for each channel, and each FEC codeword is incremented by one, when the counter reaches N. Reset the counter and trigger the Delay Calculator to calculate the delay deviation of each channel. You can also set a timer for each channel. The initial value is N. Each time an FEC codeword is received, the timer is reset. When the timer is 0, the timer is reset. At the same time, the receiving device is triggered to calculate the delay deviation of each channel.
- the synchronization header Sync Header of the parity block Parity block of the partial FEC codeword may also be flipped in a certain period, when the Sync Header of the inverted Parity Block is detected. After that, the receiving device is triggered to calculate the delay deviation of each channel.
- each FEC codeword is composed of 27 payload blocks and 4 Parity blocks, and the Sync Headers of 4 Parity blocks are 00, 11, respectively. 11, 00, the Sync Header of the Parity block of the FEC codeword is flipped, that is, the Sync Headers of the four Parity blocks are 11, 00, 00, and 11, respectively.
- the Sync Header of the Parity block of consecutive multiple FEC code words may be flipped in a certain period.
- the setting specific value of the Sync Header of the Parity block of the specific FEC code word can be as shown in FIG. 4G.
- the packet distribution manner sent by the sending device can be as shown in FIG. 4H.
- the receiving device reassembly message can be as shown in FIG. 4I.
- the delay measurement accuracy of each channel of the next-generation EPON system can reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, and greatly improve The reliability of the system.
- the embodiment of the invention further provides a receiving device.
- the receiving device includes:
- the receiving port unit Port receives the forward error correction code code word FEC codeword sent by the sending device by using a channel corresponding to the interface unit, and sends the received FEC codeword to the FEC processor.
- the receiving port unit Port may be at least two receiving port units such as port-1 and port-2.
- the FEC processor FEC-X is configured to parse the received FEC codeword and send the parsed data packet to a timer.
- the FEC-X may be FEC-1, FEC-2 or the like.
- the timer Timer-x is configured to record a receiving time of receiving the first bit in the data packet from each channel, and send a receiving time of the first bit of each channel to a delay compensator.
- the Timer-x may be Timer-1, Timer-2, or the like.
- the delay calculator Delay Caculator is used to calculate the delay deviation of each channel, and send the delay deviation of each channel to the delay compensator.
- the delay compensator is configured to adjust a receiving time of receiving the first bit in the data packet on each channel according to the delay deviation of each channel.
- the packet reassembler Pcket Combiner is configured to reassemble the received packet according to the receiving time of the first bit in the adjusted data packet.
- the FEC processor is specifically configured to: when the receiving device detects that the number of the FEC codeword received on each channel is the same, the received time of the specific bit of the FEC codeword received by each channel is recorded; The received time of the record is sent to the delay calculator.
- the delay calculator is specifically configured to calculate a delay deviation of each channel according to the received time of the record.
- the FEC processor is specifically configured to record a receiving time of a specific bit of the FEC codeword received by each channel; and when it is detected that the number of the FEC codeword received on each channel is the same, the receiving of the record is performed. The time is sent to the delay calculator.
- the delay calculator is specifically configured to calculate a delay deviation of each channel according to the received time of the record.
- the FEC processor is specifically configured to record a receiving time of a specific bit of the FEC codeword received by each channel; when detecting that the synchronization header Sync Header of the FEC codeword received by each channel is a specific value, The receiving time of the record is sent to the delay calculator; wherein the Sync Header is a sync header Sync Header in the parity block Parity Block in the FEC codeword;
- the delay calculator is specifically configured to calculate a delay deviation of each channel according to the received time of the record.
- the delay compensator is specifically configured to compensate for the arrival time of the first bit of the data packet on each channel according to the delay deviation of each channel, to obtain the channels The received time of the first bit of the compensated data message.
- the buffer buffer can also be included in the foregoing Figure 5 for buffering the foregoing data packet.
- the optical network unit includes: any one of the receiving devices as described above; or an optical line terminal in the system of FIG. 2, the line terminal includes: Any of the receiving devices described.
- the delay measurement accuracy of each channel of the next-generation EPON system can reach the bit level, so that the receiving device can implement the packet in any case. Indeed, reorganization has greatly improved the reliability of the system.
- the embodiment of the present invention further provides a passive optical network system.
- the system includes: a sending device and a receiving device, where the sending device sends data through at least two channels, and the receiving device passes at least The two channels receive data; the sending device is used for the forward error correction code code word FEC codeword sent in each channel; the receiving device may be any one of the receiving devices described in the foregoing embodiments.
- the sending device is specifically configured to align the FEC codeword to be sent on each channel, and send the aligned FEC codeword.
- the sending device is specifically configured to set a value of a synchronization header Sync Header of the parity block Parity block in the FEC codeword to be sent to a specific value, and send the Sync Header to a FEC codeword of a specific value.
- each unit of the transmitting device can be referred to the receiving device, which is the reverse process of the receiving device.
- an embodiment of the present invention further provides a passive optical network system, where the passive optical network system includes: an optical line terminal, a wavelength division multiplexer/demultiplexer, a beam splitter, and at least one light.
- the passive optical network system includes: an optical line terminal, a wavelength division multiplexer/demultiplexer, a beam splitter, and at least one light.
- a network unit, the optical line terminal and the optical network unit are connected by the optical splitter, and the optical line terminal and any one of the optical network units have at least two channels, and the optical network unit includes the foregoing embodiment description. Any one of the receiving devices.
- An embodiment of the present invention further provides a receiving device.
- the receiving device includes: a processor, a memory, and a bus system, where the processor and the memory are connected by the bus system, and the memory
- the processor is configured to execute the instructions stored by the memory
- the processor is configured to: receive, from each channel, a forward error correction code code word FEC codeword sent by the sending device; obtain a delay deviation of each channel; and parse the data packet from the FEC codeword, Obtaining a receiving time of receiving the first bit in the data packet from each channel; adjusting a receiving time of receiving the first bit in the data packet on each channel according to the delay deviation of each channel And reassembling the received message according to the receiving time of the first bit in the adjusted data packet.
- the disclosed apparatus may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the above units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
- the units described above as separate components may or may not be physically separated.
- the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the above-described integrated unit if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium.
- the instructions include a plurality of instructions for causing a computer device (which may be a personal computer, server or network device, etc., and in particular a processor in a computer device) to perform all or part of the steps of the above-described methods of various embodiments of the present invention.
- the foregoing storage medium may include: a U disk, a mobile hard disk, a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), and the like.
- the media of the sequence code may be implemented in the form of a software functional unit and sold or used as a stand-alone product.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Environmental & Geological Engineering (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本发明涉及光通信技术领域,具体涉及数据通信方法、装置以及系统。The present invention relates to the field of optical communication technologies, and in particular, to a data communication method, apparatus, and system.
无源光网络(PON,Passive Optical Network)技术是一种点到多点的光纤接入技术,随着技术的不断发展,出现了EPON(Ethernet Passive Optical Network,以太网无源光网络)和GPON(Gigabit passive Optical Network,千兆比特容量无源光网络)以及NG PON(下一代PON)等。图1所示为现有EPON的网络结构,所述EPON100可以包括至少一个光线路终端(OLT)110、一个光分配网络120(ODN)和多个光网络单元(ONU)130,所述OLT通过ODN给多个ONU发送以太网报文。为了区分出不同ONU,需要给每个ONU设置一个唯一的逻辑链路标识(Logical Link Identifier,LLID),用于唯一标识每个ONU。Passive Optical Network (PON) technology is a point-to-multipoint fiber access technology. With the continuous development of technology, EPON (Ethernet Passive Optical Network) and GPON have emerged. (Gigabit passive Optical Network, Gigabit-capacity passive optical network) and NG PON (Next-Generation PON). 1 shows a network structure of an existing EPON. The
为了进一步扩展PON的应用,满足未来更大的带宽需求,在原有EPON、10GEPON的基础上,提出100G EPON,100GEPON是面向10G EPON后的下一代EPON系统,目前EPON架构的物理层只能实现25Gbps的速率,要到达100Gbps的系统速率,需要将4个通道的25Gbps进行绑定以承载100Gbps的业务流。在100G的EPON中,所述OLT将一条业务流的数据报文分发至4个波长通道进行发送,而ONU则需要从4个波长通道接收上述数据报文,并将4个通道的数据报文进行重组形成一条业务流。In order to further expand the application of PON and meet the greater bandwidth demand in the future, based on the original EPON and 10GEPON, 100G EPON is proposed. 100GEPON is the next-generation EPON system after 10G EPON. At present, the physical layer of EPON architecture can only achieve 25Gbps. The rate, to reach the system rate of 100Gbps, needs to bind 4 channels of 25Gbps to carry 100Gbps traffic. In the EPON of the 100G, the OLT distributes the data packets of one service flow to the four wavelength channels for transmission, and the ONU needs to receive the data packets from the four wavelength channels, and the data packets of the four channels are received. Reorganize to form a business flow.
现有技术中,ONU根据接收到数据报文中第一比特的接收时间重组该数据报文。其中,ONU接收数据报文并进行重组时,假设各个波长通道从发送侧到接收侧的总体时延相同且恒定,而在实际情况中,由于各个通道可能经过不同长度的光纤,并且不同的波长通道采用不同的波长,会导致各个波长通道间的时延并不相同,这样就使得ONU根据计算获得数据报文的第一比特的接收时间并不准确,进而导致ONU重组的数据报文发生乱序。In the prior art, the ONU reassembles the data packet according to the receiving time of the first bit in the received data packet. When the ONU receives and reassembles the data packet, it assumes that the overall delay of each wavelength channel from the transmitting side to the receiving side is the same and constant. In actual situations, each channel may pass different lengths of optical fibers and different wavelengths. If the channel uses different wavelengths, the delay between the channels of the wavelengths is not the same. This makes the ONU receive the first bit of the data packet according to the calculation, and the data packet of the ONU is reorganized. sequence.
发明内容Summary of the invention
本发明实施例提供了一种数据通信方法和相关设备以及系统,用以解决了下一代EPON系统中由于波长通道的时延导致接收设备重组接收的数据 报文的乱序问题,实现了下一代EPON系统的各通道的延时测量精度可达到bit级,使得接收设备无论何种情况下都能实现报文的准确重组,极大地提高了系统的可靠性。Embodiments of the present invention provide a data communication method, related device, and system, which are used to solve data that is reassembled by a receiving device due to a delay of a wavelength channel in a next-generation EPON system. The problem of out-of-order of the message enables the delay measurement accuracy of each channel of the next-generation EPON system to reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, which greatly improves the reliability of the system. Sex.
一方面,本申请的实施例提供一种数据通信方法,应用于无源光网络系统中的接收设备,所述接收设备通过至少2条通道接收数据,所述方法包括:In one aspect, an embodiment of the present application provides a data communication method, which is applied to a receiving device in a passive optical network system, where the receiving device receives data through at least two channels, and the method includes:
所述接收设备从所述各通道接收所述发送设备发送的前向纠错码码字FEC codeword;所述接收设备获得各通道的延时偏差;所述接收设备从所述FEC codeword中解析出数据报文,获得从所述各通道上接收所述数据报文中第一比特的接收时间;所述接收设备根据所述各通道的延时偏差,调整所述各通道上接收所述数据报文中第一比特的接收时间;所述接收设备根据所述调整后的数据报文中第一比特的接收时间,对接收到的报文进行重组。通过本实施例提供的方案,实现了下一代EPON系统的各通道的延时测量精度可达到bit级,使得接收设备无论何种情况下都能实现报文的准确重组,极大地提高了系统的可靠性。Receiving, by the receiving device, a forward error correction code code word FEC codeword sent by the sending device; the receiving device obtains a delay deviation of each channel; the receiving device parses out from the FEC codeword Receiving, by the data packet, a receiving time of receiving the first bit in the data packet from each channel; the receiving device adjusting the receiving the datagram on each channel according to the delay deviation of each channel The receiving time of the first bit in the text; the receiving device reassembles the received message according to the receiving time of the first bit in the adjusted data message. Through the solution provided by the embodiment, the delay measurement accuracy of each channel of the next-generation EPON system can reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, thereby greatly improving the system. reliability.
在一个可能的设计中,所述接收设备获得各通道的延时偏差具体包括:In a possible design, the receiving device obtains the delay deviation of each channel specifically includes:
当所述接收设备检测到所述各通道上接收到FEC codeword的编号相同,则记录的各通道接收的FEC codeword的特定比特的接收时间;根据所述记录的特定比特的接收时间,计算出各通道的延时偏差。When the receiving device detects that the number of the FEC codeword received on each channel is the same, the recorded receiving time of the specific bit of the FEC codeword received by each channel; and calculating each time according to the receiving time of the recorded specific bit The delay of the channel.
在一个可能的设计中,所述接收设备记录各通道接收的FEC codeword的特定比特的接收时间。In one possible design, the receiving device records the reception time of a particular bit of the FEC codeword received by each channel.
在一个可能的设计中,所述接收设备获得各通道的延时偏差具体包括:In a possible design, the receiving device obtains the delay deviation of each channel specifically includes:
当所述接收设备检测到所述各通道上接收到FEC codeword的编号相同,则根据所述记录的特定比特的接收时间,计算出各通道的延时偏差。When the receiving device detects that the numbers of the FEC codewords received on the respective channels are the same, the delay deviation of each channel is calculated according to the receiving time of the recorded specific bits.
在一个可能的设计中,所述接收设备获得各通道的延时偏差具体包括:In a possible design, the receiving device obtains the delay deviation of each channel specifically includes:
当所述接收设备检测到所述各通道接收的FEC codeword的同步头Sync Header为特定值,则根据所述记录的所述各通道接收FEC codeword的特定比特的接收时间,计算出各通道的延时偏差;其中,所述Sync Header为所述FEC codeword中奇偶块Parity Block中的同步头Sync Header。When the receiving device detects that the synchronization header Sync Header of the FEC codeword received by each channel is a specific value, the receiving time of the specific bit of the FEC codeword is received according to the recorded channel, and the delay of each channel is calculated. Time offset; wherein the Sync Header is a sync header Sync Header in the parity block Parity Block in the FEC codeword.
在一个可能的设计中,所述接收设备根据所述各通道的延时偏差,调整 所述各通道上接收所述数据报文中第一比特的接收时间具体包括:In a possible design, the receiving device adjusts according to the delay deviation of each channel. The receiving time of receiving the first bit in the data packet on each channel specifically includes:
所述接收设备根据所述各通道的延时偏差,对所述各通道上的所述数据报文的第一比特到达的时间进行补偿,获得所述各通道上补偿后的所述数据报文的第一比特的接收时间。The receiving device compensates for the arrival time of the first bit of the data packet on each channel according to the delay deviation of each channel, and obtains the data packet after compensation on each channel. The reception time of the first bit.
在一个可能的设计中,所述接收设备根据所述调整后的数据报文中第一比特的接收时间,对接收到的报文进行重组具体包括:In a possible design, the receiving device reassembling the received message according to the receiving time of the first bit in the adjusted data packet includes:
所述接收设备根据所述调整后的所述各通道上的所述数据数据报文的第一比特到达的时间的先后顺序,对接收到的报文进行重组。The receiving device reassembles the received message according to the sequence of the arrival time of the first bit of the data data packet on the adjusted channel.
另一方面,本申请的实施例提供了一种接收设备,所述接收设备包括:On the other hand, an embodiment of the present application provides a receiving device, where the receiving device includes:
接收端口单元,通过与所述接口单元对应的通道接收发送设备发送的前向纠错码码字FEC codeword,将所述接收的FEC codeword发送给FEC处理器;所述FEC处理器,用于将所述接收的FEC codeword进行解析,将解析出的数据报文发送给计时器;所述计时器,用于记录从所述各通道接收所述数据报文中第一比特的接收时间;将所述各通道的第一比特的接收时间发送给延时补偿器;所述延时计算器,用于计算各通道的延时偏差,将所述各通道的延时偏差发送给延时补偿器;所述延时补偿器,用于根据所述各通道的延时偏差,调整所述各通道上接收所述数据报文中第一比特的接收时间;所述报文重组器,用于根据所述调整后的数据报文中第一比特的接收时间,对接收到的报文进行重组。通过本实施例提供的方案,实现了下一代EPON系统的各通道的延时测量精度可达到bit级,使得接收设备无论何种情况下都能实现报文的准确重组,极大地提高了系统的可靠性。The receiving port unit receives the forward error correction code code word FEC codeword sent by the sending device by using a channel corresponding to the interface unit, and sends the received FEC codeword to the FEC processor; the FEC processor is configured to The received FEC codeword is parsed, and the parsed data packet is sent to a timer; the timer is configured to record a receiving time of receiving the first bit in the data packet from each channel; The receiving time of the first bit of each channel is sent to the delay compensator; the delay calculator is used to calculate the delay deviation of each channel, and the delay deviation of each channel is sent to the delay compensator; The delay compensator is configured to adjust, according to the delay deviation of each channel, a receiving time of receiving the first bit in the data packet on each channel; the message reassembler is used according to the The receiving time of the first bit in the adjusted data message is used to reassemble the received message. Through the solution provided by the embodiment, the delay measurement accuracy of each channel of the next-generation EPON system can reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, thereby greatly improving the system. reliability.
在一个可能的设计中,所述FEC处理器,具体用于当所述接收设备检测到所述各通道上接收到FEC codeword的编号相同,则记录的各通道接收的FEC codeword的特定比特的接收时间;将所述记录的接收时间发送给所述延时计算器;所述延时计算器,具体用于根据所述记录的接收时间,计算出各通道的延时偏差。In a possible design, the FEC processor is specifically configured to: when the receiving device detects that the number of the FEC codeword received on each channel is the same, the received bit of the FEC codeword received by each channel is received. The time delay is sent to the delay calculator; the delay calculator is specifically configured to calculate a delay deviation of each channel according to the received time of the record.
在一个可能的设计中,所述FEC处理器,具体用于记录各通道接收的FEC codeword的特定比特的接收时间;当检测到所述各通道上接收到FEC codeword的编号相同,则将所述记录的接收时间发送给所述延时计算器; In a possible design, the FEC processor is specifically configured to record a receiving time of a specific bit of the FEC codeword received by each channel; when it is detected that the number of the FEC codeword received on each channel is the same, the The received time of the record is sent to the delay calculator;
所述延时计算器,具体用于根据所述记录的接收时间,计算出各通道的延时偏差。The delay calculator is specifically configured to calculate a delay deviation of each channel according to the received time of the record.
在一个可能的设计中,所述FEC处理器,具体用于记录各通道接收的FEC codeword的特定比特的接收时间;当检测到所述各通道接收的FEC codeword的同步头Sync Header为特定值,则将所述记录的接收时间发送给所述延时计算器;其中,所述Sync Header为所述FEC codeword中奇偶块Parity Block中的同步头Sync Header;所述延时计算器,具体用于根据所述记录的接收时间,计算出各通道的延时偏差。In a possible design, the FEC processor is specifically configured to record a receiving time of a specific bit of the FEC codeword received by each channel; when detecting that the synchronization header Sync Header of the FEC codeword received by each channel is a specific value, Transmitting the received time of the record to the delay calculator; wherein the Sync Header is a sync header Sync Header in the Parity Block of the FEC codeword; the delay calculator is specifically used for Based on the received time of the record, the delay deviation of each channel is calculated.
在一个可能的设计中,所述延时补偿器具体用于根据所述各通道的延时偏差,对所述各通道上的所述数据报文的第一比特到达的时间进行补偿,获得所述各通道上补偿后的所述数据报文的第一比特的接收时间。In a possible design, the delay compensator is specifically configured to compensate for the arrival time of the first bit of the data packet on each channel according to the delay deviation of each channel, and obtain the The receiving time of the first bit of the data message after compensation on each channel is described.
另一方面,本申请实施例提供了一种光网络单元,所述光网络单元包括如上述可能的涉及中提供的任意一种接收设备。On the other hand, an embodiment of the present application provides an optical network unit, where the optical network unit includes any one of the receiving devices provided in the above related possibilities.
另一方面,本申请实施例提供了一种光线路终端,所述光线路终端包括如上述可能的涉及中提供的任意一种接收设备。On the other hand, the embodiment of the present application provides an optical line terminal, which includes any one of the receiving devices provided in the above related possibilities.
一方面,本申请实施例提供了一种无源光网络系统,所述无源光网络系统包括:发送设备和接收设备,所述发送设备通过至少2条通道发送数据,所述接收设备通过至少2条通道接收数据;所述发送设备,用于在各通道发送的前向纠错码码字FEC codeword;所述接收设备如上述提到的任意一接收设备。通过本实施例提供的方案,实现了下一代EPON系统的各通道的延时测量精度可达到bit级,使得接收设备无论何种情况下都能实现报文的准确重组,极大地提高了系统的可靠性。In one aspect, the embodiment of the present application provides a passive optical network system, where the passive optical network system includes: a sending device and a receiving device, where the sending device sends data through at least two channels, and the receiving device passes at least The two channels receive data; the sending device is used for the forward error correction code code word FEC codeword sent in each channel; the receiving device is any one of the receiving devices mentioned above. Through the solution provided by the embodiment, the delay measurement accuracy of each channel of the next-generation EPON system can reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, thereby greatly improving the system. reliability.
在一个可能的设计中,所述发送设备,具体用于在各通道上将待发送的FEC codeword进行对齐,并发送对齐后的FEC codeword。In a possible design, the sending device is specifically configured to align the FEC codeword to be sent on each channel, and send the aligned FEC codeword.
在一个可能的设计中,所述发送设备,具体用于将待发送的FEC codeword中奇偶块Parity block的同步头Sync Header的值设置为特定值,发送所述Sync Header为特定值的FEC codeword。In a possible design, the sending device is specifically configured to set a value of a sync header Sync Header of a parity block Parity block in the FEC codeword to be sent to a specific value, and send the Sync Header to a FEC codeword of a specific value.
另一方面,本申请实施例提供了一种无源光网络系统,所述无源光网络系统包括:光线路终端、波分复用器/解复用器、分光器以及至少一个光网络 单元,所述光线路终端与所述光网络单元通过所述分光器连接,所述光线路终端与任意一个光网络单元之间有至少2条通道,所述光网络单元包括上述提到的任意一接收设备。通过本实施例提供的方案,实现了下一代EPON系统的各通道的延时测量精度可达到bit级,使得接收设备无论何种情况下都能实现报文的准确重组,极大地提高了系统的可靠性。On the other hand, the embodiment of the present application provides a passive optical network system, where the passive optical network system includes: an optical line terminal, a wavelength division multiplexer/demultiplexer, a beam splitter, and at least one optical network. a unit, the optical line terminal and the optical network unit are connected by the optical splitter, and the optical line terminal and any one of the optical network units have at least two channels, and the optical network unit includes any of the above mentioned A receiving device. Through the solution provided by the embodiment, the delay measurement accuracy of each channel of the next-generation EPON system can reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, thereby greatly improving the system. reliability.
为了更清楚地说明本发明实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments and the prior art description will be briefly described below. Obviously, the drawings in the following description are only some implementations of the present invention. For example, other drawings may be obtained from those of ordinary skill in the art based on these drawings without any inventive labor.
图1为现有技术提供的一种PON系统的网络架构示意图;1 is a schematic diagram of a network architecture of a PON system provided by the prior art;
图2为本发明实施例提供的一种下一代EPON系统的网络架构示意图;2 is a schematic diagram of a network architecture of a next-generation EPON system according to an embodiment of the present invention;
图3为本发明实施例提供的一种数据通信方法;FIG. 3 is a data communication method according to an embodiment of the present invention;
图4A为本发明实施例提供的FEC codeword的帧结构图;4A is a frame structure diagram of an FEC codeword according to an embodiment of the present invention;
图4B为本发明实施例提供的发送FEC codeword的示意图;4B is a schematic diagram of sending an FEC codeword according to an embodiment of the present invention;
图4C为本发明实施例提供的一种通道的时延偏差示意图;4C is a schematic diagram of delay deviation of a channel according to an embodiment of the present invention;
图4D为本发明实施例提供的一种接收数据报文中第一比特的时序图;4D is a sequence diagram of receiving a first bit in a data packet according to an embodiment of the present invention;
图4E为本发明实施例提供的一种接收数据报文中第一比特的时序图;4E is a timing diagram of receiving a first bit in a data packet according to an embodiment of the present invention;
图4F为本发明实施例提供的一种接收设备根据修正后的报文第一bit达到时间进行报文重组的示意图;4F is a schematic diagram of a packet reassembly according to a first bit arrival time of a modified packet according to an embodiment of the present disclosure;
图4G为本发明实施例提供的一种重组后的FEC codeword的示意图;4G is a schematic diagram of a recombined FEC codeword according to an embodiment of the present invention;
图4H为本发明实施例提供的一种发送设备发送的报文分发方式示意图;4H is a schematic diagram of a packet distribution manner sent by a sending device according to an embodiment of the present disclosure;
图4I为本发明实施例提供的一种接收设备重组报文的示意图;4I is a schematic diagram of a reassembly packet of a receiving device according to an embodiment of the present invention;
图5为本发明实施例提供的一种接收设备的结构示意图;FIG. 5 is a schematic structural diagram of a receiving device according to an embodiment of the present disclosure;
图6为本发明实施例提供的另一种PON系统的网络结构示意图;FIG. 6 is a schematic structural diagram of a network of another PON system according to an embodiment of the present disclosure;
图7为本发明实施例提供的另一种接收设备的结构示意图。FIG. 7 is a schematic structural diagram of another receiving device according to an embodiment of the present invention.
本发明实施例提供了一种数据通信方法和相关设备以及系统,用以解决了下一代EPON系统中由于波长通道的时延导致接收设备重组接收的数据报文的乱序问题,实现了下一代EPON系统的各通道的延时测量精度可达到bit级,使得接收设备无论何种情况下都能实现报文的准确重组,极大地提高了系统的可靠性。The embodiment of the present invention provides a data communication method, a related device, and a system, which are used to solve the problem of out-of-order data packets received by the receiving device due to the delay of the wavelength channel in the next-generation EPON system, and realize the next generation. The delay measurement accuracy of each channel of the EPON system can reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, which greatly improves the reliability of the system.
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the object, the features and the advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图2为下一代EPON系统的网络架构示意图,如图2所示,下一代EPON系统100包括一个OLT110,多个ONU120和光分配网络(Optical Distribution Network,ODN)130。2 is a schematic diagram of a network architecture of a next-generation EPON system. As shown in FIG. 2, the next-
下面先介绍下图2的网络结构组成。所述OLT110包括报文分发器和各个下行端口。图示以报文分发器为解复用器DeMultiplexing为示例给出,所述下行端口图示例中给出为4个下行端口,这里为示例给出,至少设置有2个下行端口。所述DeMultiplexing与所述端口之间是电信号,所述DeMultiplexing和所述下行端口都设置在OLT的单板上,所述各下行端口可以将电信号转换成光信号,通过该端口输出。OLT的4个下行端口与复用器WDM之间通过分支光纤连接,各分支光纤中传输光信号。所述分支光纤中传输的光信号的波长可以相同,也可以不相同。这里需要说明的是,若所述WDM设置在OLT内,则OLT的各下行端口与WDM之间通过波导连接。所述WDM与所述分光器130之间通过主干光纤连接,所述分光器130通过分支光纤与终端侧的WDM连接。所述WDM通过终端侧设备ONU的各上行端口与报文重组器连接,所述报文重组器在图2示例中为复用器或者合波器Multiplexing,包括但不限于该复用器或者合波器。其中所述终端侧的WDM与ONU120上的各上行端口之间通过各分支光纤传输光信号。当所述终端的的WDM设置在ONU120上时,所述WDM与ONU120之间通过波导连接,用于传输光信号。所述ONU120上的各个上行端口将光信号转换成
电信号,传输到Multiplxing进行报文重组,在所述各个上行端口与所述Multiplxing之间传输的是电信号。最后ONU通过各下行端口(图2中未示例给出)将重组后的业务流发送给用户。The following describes the network structure of Figure 2 below. The
以数据流的方式对上述图2的组网结构图进行描述如下:所述OLT接收来自网络侧的一条业务流,通过各个下行端口将该业务流通过至少2个通道进行进行分发,图2给出示例为4个通道分别为λ0-λ4进行发送,其中,所述一条业务流被拆分成各个可变长度的数据包,分别通过各自的通道进行发送。所述WDM将各个通道的数据包进行汇聚,通过分光器130发送到各个终端侧的WDM上,由终端侧的WDM解复用到各个ONU120的各个通道λ0-λ4上,通过各自通道进行数据报文的传输,最终通过Multiplexing进行报文重组,并将重组后的数据报文即业务流发送给用户。The network structure diagram of FIG. 2 is described in the following manner: the OLT receives a service flow from the network side, and distributes the service flow through at least two channels through each downlink port, and FIG. 2 gives For example, four channels are respectively transmitted for λ0-λ4, wherein the one service stream is split into data packets of variable lengths and transmitted through respective channels. The WDM aggregates the data packets of the respective channels, and transmits them to the WDM of each terminal side through the
上述的通道可以理解为波长通道,也可以是其它通道,该通道可以是逻辑上的通道,也可以是物理层的光纤链路。在上述的网络架构图中,所述的通道可以理解为从OLT的各个下行端口到ONU的各个上行端口之间的逻辑或者物理链路。The above channel can be understood as a wavelength channel, or it can be another channel. The channel can be a logical channel or a physical layer fiber link. In the above network architecture diagram, the channel can be understood as a logical or physical link from each downlink port of the OLT to each uplink port of the ONU.
另外,上述下一代EPON的网络架构是以100GEPON的架构为示例,即OLT到ONU之间通过4个通道进行数据传输,每个通道承载25Gbps的数据报文,共可以传输100Gbps的数据报文。需要说明的是,如果OLT到ONU之间通过2个通道进行数据传输,每个通道承载25Gbps的数据报文,共可以传输50Gbps的数据报文,上述示例的架构也可以为50G EPON的架构,这里不做限制。In addition, the network architecture of the above-mentioned next-generation EPON is an example of a 100GEPON architecture, that is, data transmission is performed between the OLT and the ONU through four channels, each channel carrying 25 Gbps data packets, and a total of 100 Gbps data packets can be transmitted. It should be noted that if the OLT and the ONU transmit data through two channels, each channel carries 25 Gbps data packets, and a total of 50 Gbps data packets can be transmitted. The architecture of the above example can also be a 50 G EPON architecture. There are no restrictions here.
所述OLT到ONU之间传输的数据报文可以为以太网数据,也可以为前向纠错码码字FEC codeword,通过所述以太网数据封装在FEC codeword的净荷data block中传输。The data packet transmitted between the OLT and the ONU may be Ethernet data or a forward error correction code code word FEC codeword, and the Ethernet data is encapsulated and transmitted in the payload data block of the FEC codeword.
下面基于上面图2提供的网络架构,提供一种数据通信方法,如图3所示。应用于无源上述光网络系统中的接收设备,所述接收设备可以为上述图2中的OLT包括的接收设备,也可以为ONU侧的接收设备。所述接收设备通过至少2条通道接收数据,所述方法包括:Based on the network architecture provided in FIG. 2 above, a data communication method is provided, as shown in FIG. The receiving device is applied to the receiving device in the optical network system. The receiving device may be the receiving device included in the OLT in FIG. 2 or the receiving device on the ONU side. The receiving device receives data through at least two channels, and the method includes:
S300、所述接收设备从所述各通道接收所述发送设备发送的前向纠错码 码字FEC codeword。S300. The receiving device receives, from each channel, a forward error correction code sent by the sending device. Code word FEC codeword.
S302、所述接收设备获得各通道的延时偏差。S302. The receiving device obtains a delay deviation of each channel.
可选地,所述接收设备获得各通道的延时偏差的方式有以下几种:Optionally, the receiving device obtains the delay deviation of each channel in the following manners:
第一种为,接收设备可对FEC codeword进行编号统计,当所述接收设备检测到所述各通道上接收到FEC codeword的编号相同,则记录各通道接收的FEC codeword的特定比特的接收时间;根据所述记录的特定比特的接收时间,计算出各通道的延时偏差。The first type is that the receiving device can perform the number statistics on the FEC codeword. When the receiving device detects that the number of the FEC codeword received on each channel is the same, the receiving time of the specific bit of the FEC codeword received by each channel is recorded; The delay deviation of each channel is calculated based on the reception time of the recorded specific bit.
其中,具体所述接收设备计算出各通道的延时偏差的具体方法如下:The specific method for calculating the delay deviation of each channel by the receiving device is as follows:
所述接收设备以所述各波长通道中的任意一通道上的接收FEC codeword的特定比特的接收时间为参考值,计算其它波长通道上接收的相同编号的FEC codeword的特定比特的接收时间与所述参考值的差值,所述差值即为其它波长通道的延时偏差。The receiving device uses the receiving time of the specific bit of the receiving FEC codeword on any one of the wavelength channels as a reference value, and calculates the receiving time and the specific bit of the same number of FEC codeword received on the other wavelength channel. The difference between the reference values, which is the delay deviation of other wavelength channels.
下面几种方式中具体所述接收设备计算出各通道的延时偏差的具体方法都是一样的,这里就不再赘述了。The specific methods for calculating the delay deviation of each channel by the receiving device in the following manners are the same, and will not be described here.
第二种为,所述接收设备记录各通道接收的FEC codeword的特定比特的接收时间;当所述接收设备检测到所述各通道上接收到FEC codeword的编号相同,则根据所述记录的特定比特的接收时间,计算出各通道的延时偏差。The second type is that the receiving device records the receiving time of the specific bit of the FEC codeword received by each channel; when the receiving device detects that the number of the FEC codeword received on each channel is the same, according to the specificity of the record The bit delay time is calculated, and the delay deviation of each channel is calculated.
第三种为,当所述接收设备检测到所述各通道接收的FEC codeword的同步头Sync Header为特定值,则根据所述记录的所述各通道接收FEC codeword的特定比特的接收时间,计算出各通道的延时偏差;其中,所述Sync Header为所述FEC codeword中奇偶块Parity Block中的同步头Sync Header。The third type is that when the receiving device detects that the synchronization header Sync Header of the FEC codeword received by each channel is a specific value, the receiving time of the specific bit of the FEC codeword is received according to the recorded channel, and the calculation is performed. The delay deviation of each channel; wherein the Sync Header is a sync header Sync Header in the parity block Parity Block in the FEC codeword.
上述计算通道的延时偏差可以在一定周期内进行缓存,在设定的周期内可以使用缓存的各个波长通道的延时偏差,下一个周期再重新根据上述的方式刷新各个波长通道的延时偏差。The delay deviation of the above calculation channel can be buffered in a certain period, and the delay deviation of each wavelength channel of the buffer can be used in the set period, and the delay deviation of each wavelength channel is refreshed again according to the above manner in the next cycle. .
另外,需要说明的是,所述FEC codeword的特定比特可以为FEC codeword的任意一比特,例如所述FEC codeword的第一比特,或者最后一比特等。其中所述FEC codeword的帧结构示意图可以参见图4所示,具体 这个为现有技术中例如IEEE802.3的标准中定义的FEC codeword的帧结构。如图所示编码生成的66bits码块无论是数据码块还是控制码块,包括帧间隔对应的空闲码块(包含无效的数据),统一按27个码块为一个分组进行固定的FEC编码。根据27个码块计算得到4个Parity码块,普通的数据码块和控制码块分别用01、10作为同步头(Sync Header),而4个Parity码块则分别采用00、11、11、00作为同步头。这里对图4的描述请具体参见标准相关章节,就不再赘述。In addition, it should be noted that the specific bit of the FEC codeword may be any bit of the FEC codeword, for example, the first bit of the FEC codeword, or the last bit, and the like. The frame structure diagram of the FEC codeword can be seen in Figure 4, specifically This is the frame structure of the FEC codeword defined in the prior art, for example, the standard of IEEE802.3. The 66-bit code block generated by the coding as shown in the figure is a data code block or a control code block, and includes an idle code block corresponding to the frame interval (including invalid data), and uniformly performs FEC coding by using 27 code blocks as one packet. According to 27 code blocks, 4 Parity code blocks are obtained. The common data code block and the control code block use 01 and 10 as synchronization heads respectively, and the 4 Parity code blocks adopt 00, 11, and 11, respectively. 00 as a sync header. Please refer to the relevant chapters of the standard for the description of Figure 4 here, and will not repeat them.
具体上述各种方式,下面具体进行介绍。Specifically, the above various manners are specifically described below.
步骤1:发送设备将4个通道的FEC codeword对齐后进行发送。如图4B所示。Step 1: The sending device aligns the FEC codewords of the four channels and sends them. As shown in Figure 4B.
发送设备对4个通道的FEC codeword进行控制,以便各个通道时序对齐,进而保证FEC codeword对齐发送。The sending device controls the FEC codeword of the four channels so that the timing of each channel is aligned, thereby ensuring that the FEC codeword is aligned and transmitted.
步骤2:接收设备检测各个通道的FECcodeword的特定比特的接收时间,可以以某个指定通道作为参考通道,计算其余通道相对参考通道的时延偏差,时延偏差可正可负,生成时延偏差表。Step 2: The receiving device detects the receiving time of the specific bit of the FECcodeword of each channel, and can calculate the delay deviation of the remaining channels relative to the reference channel by using a specified channel as the reference channel, and the delay deviation can be positive or negative, and the delay is generated. table.
具体的时延偏差请结合图4C和表1。The specific delay deviation is combined with Figure 4C and Table 1.
表1为各通道的时延偏差表:Table 1 shows the delay deviation table for each channel:
表1Table 1
具体推导公式为:te1=ts1+d1;te2=ts2+d2;te3=ts3+d3;te4=ts4+d4;当发送设备的对齐FEC codeword发送后,ts1为发送设备在通道1发送FEC codeword的发送时间,ts2为发送设备在通道2发送FEC codeword的发送时间,依次类推,显然,ts1-ts4的发送时间是相等的,因此,△t2=te2-te1=d2-d1,依次类推,即可以生成上述波长通道与各通道的时延偏差表,该表记录了各
波长通道的时延偏差。The specific derivation formula is: te1=ts1+d1; te2=ts2+d2; te3=ts3+d3; te4=ts4+d4; ts1 is the sending device sending FEC codeword on
S304、所述接收设备从所述FEC codeword中解析出数据报文,获得从所述各通道上接收所述数据报文中第一比特的接收时间。S304. The receiving device parses the data packet from the FEC codeword, and obtains a receiving time of receiving the first bit in the data packet from each channel.
所述FEC codeword的结构如图4所示,可以通过解析,获得净荷块data block即为数据报文,记录所述各个通道上接收所述数据报文中第一比特的接收时间。The structure of the FEC codeword is as shown in FIG. 4, and the data block of the payload block is obtained as a data packet, and the receiving time of receiving the first bit in the data packet on each channel is recorded.
S306、所述接收设备根据所述各通道的延时偏差,调整所述各通道上接收所述数据报文中第一比特的接收时间。S306. The receiving device adjusts, according to the delay deviation of each channel, a receiving time of receiving the first bit in the data packet on each channel.
所述接收设备根据所述各通道的延时偏差,对所述各通道上的所述数据报文的第一比特到达的时间进行补偿,获得所述各通道上补偿后的所述数据报文的第一比特的接收时间。The receiving device compensates for the arrival time of the first bit of the data packet on each channel according to the delay deviation of each channel, and obtains the data packet after compensation on each channel. The reception time of the first bit.
上述步骤S304和S306的具体内容请参见下面的具体描述:For details of the above steps S304 and S306, please refer to the following detailed description:
如下表2为从所述各通道上接收所述数据报文中第一比特的接收时间与修正后的第一比特的接收时间的对照表。Table 2 below is a comparison table of receiving the reception time of the first bit in the data message and the reception time of the corrected first bit from the respective channels.
表2Table 2
具体的从所述各通道上接收所述数据报文中第一比特的时序图,如图4D和图4E所示。Specifically, a timing diagram of receiving the first bit in the data packet from each channel is shown in FIG. 4D and FIG. 4E.
其中,t1_x’=t1_x,t2_x’=t2_x+△t2,t3_x’=t3_x+△t3,t4_x’=t4_x+△t4。Where t1_x' = t1_x, t2_x' = t2_x + Δt2, t3_x' = t3_x + Δt3, t4_x' = t4_x + Δt4.
S308、所述接收设备根据所述调整后的数据报文中第一比特的接收时间,对接收到的报文进行重组。S308. The receiving device reassembles the received packet according to the receiving time of the first bit in the adjusted data packet.
所述接收设备根据所述调整后的数据报文中第一比特的接收时间的先 后顺序,对接收到的报文进行重组。Receiving, according to the receiving time of the first bit in the adjusted data packet, the receiving device After the order, the received message is reorganized.
接收设备根据修正后的报文第一bit达到时间进行报文重组,具体如图4F所示。The receiving device reassembles the packet according to the time when the first packet of the corrected packet reaches the time, as shown in FIG. 4F.
具体上述几个表的具体关系可以通过下面的表进行统一描述:The specific relationship of the above several tables can be uniformly described by the following table:
表3为生成的通道时延差的表:Table 3 is a table of generated channel delay differences:
表3table 3
表4为接收设备接收的数据报文中第一bit的接收时间:Table 4 shows the receiving time of the first bit in the data packet received by the receiving device:
表4Table 4
表5为根据表3和表4,对接收的数据报文的第一bit的时间进行修正,表5为各波长通道对修改后的修正后的报文第一bit接收时间:Table 5 shows the time of the first bit of the received data packet according to Table 3 and Table 4. Table 5 shows the first bit reception time of the modified corrected packet for each wavelength channel:
表5 table 5
其中,表4的时延用于对表3的时间进行修正,修正得到的表5的时间用于进行报文重组。The time delay of Table 4 is used to correct the time of Table 3, and the time of Table 5 obtained by the modification is used for message reorganization.
其中,接收设备根据各通道FEC codeword特定比特的接收时间计算各通道的时延偏差,以及记录各通道所述FEC codeword的数据报文中第一bit的接收时间,对各通道报文第一bit接收时间进行修正,根据修正后的各通道报文第一bit接收时间进行报文重组,即根据各通道报文第一bit到达时间先后从各通道队列中调度报文,第一bit到达时间越早,越先得到调度。The receiving device calculates the delay of each channel according to the receiving time of the specific bit of the FEC codeword of each channel, and records the receiving time of the first bit in the data packet of the FEC codeword of each channel, and the first bit of each channel packet. The receiving time is corrected, and the packet reassembly is performed according to the corrected first bit receiving time of each channel packet, that is, the packet is scheduled from each channel queue according to the first bit arrival time of each channel packet, and the first bit arrival time is more Early, the first to get the schedule.
接收设备可针对每一个FEC codeword计算各个通道的时延偏差,也可以按一定周期计算各个通道的时延偏差,例如每N个FEC码字进行一次各通道的时延偏差更新。The receiving device can calculate the delay deviation of each channel for each FEC codeword, or calculate the delay deviation of each channel according to a certain period. For example, the delay deviation update of each channel is performed once every N FEC codewords.
进一步地,当接收设备按一定周期计算各通道的时延偏差时,可通过设置计数器的方式实现定期计算,例如各个通道设置一个计数器,每接收到一个FEC码字增1,当计数器达到N时,复位计数器,同时触发Delay Calculator计算各通道的时延偏差;也可以各个通道设置一个定时器,初始值为N,每接收到一个FEC码字减1,当定时器为0时,复位定时器,同时触发接收设备计算各通道的时延偏差。Further, when the receiving device calculates the delay deviation of each channel according to a certain period, the periodic calculation can be implemented by setting a counter. For example, a counter is set for each channel, and each FEC codeword is incremented by one, when the counter reaches N. Reset the counter and trigger the Delay Calculator to calculate the delay deviation of each channel. You can also set a timer for each channel. The initial value is N. Each time an FEC codeword is received, the timer is reset. When the timer is 0, the timer is reset. At the same time, the receiving device is triggered to calculate the delay deviation of each channel.
进一步地,当接收设备按一定周期计算各通道的时延偏差时,也可以按一定周期将部分FEC codeword的奇偶块Parity block的同步头Sync Header进行翻转,当检测到翻转的Parity Block的Sync Header后,即触发接收设备计算各通道的时延偏差。Further, when the receiving device calculates the delay deviation of each channel according to a certain period, the synchronization header Sync Header of the parity block Parity block of the partial FEC codeword may also be flipped in a certain period, when the Sync Header of the inverted Parity Block is detected. After that, the receiving device is triggered to calculate the delay deviation of each channel.
以10G EPON的FEC为例,每个FEC码字由27个payload block和4个Parity block组成,其中4个Parity block的Sync Header分别为00、11、 11、00,将FEC码字的Parity block的Sync Header进行翻转,即4个Parity block的Sync Header分别为11、00、00、11。Taking FEC of 10G EPON as an example, each FEC codeword is composed of 27 payload blocks and 4 Parity blocks, and the Sync Headers of 4 Parity blocks are 00, 11, respectively. 11, 00, the Sync Header of the Parity block of the FEC codeword is flipped, that is, the Sync Headers of the four Parity blocks are 11, 00, 00, and 11, respectively.
可选地,为了提高可靠性,可按一定周期将连续多个FEC码字的Parity block的Sync Header进行翻转。Optionally, in order to improve reliability, the Sync Header of the Parity block of consecutive multiple FEC code words may be flipped in a certain period.
具体FEC码字的Parity block的Sync Header的设置特定数值可以如图4G所示。The setting specific value of the Sync Header of the Parity block of the specific FEC code word can be as shown in FIG. 4G.
另外,发送设备发送的报文分发方式可以如图4H所示。In addition, the packet distribution manner sent by the sending device can be as shown in FIG. 4H.
接收设备重组报文可如图4I所示。The receiving device reassembly message can be as shown in FIG. 4I.
通过本实施例提供的数据通信的方法,实现了下一代EPON系统的各通道的延时测量精度可达到bit级,使得接收设备无论何种情况下都能实现报文的准确重组,极大地提高了系统的可靠性。Through the data communication method provided in this embodiment, the delay measurement accuracy of each channel of the next-generation EPON system can reach the bit level, so that the receiving device can accurately reassemble the message regardless of the circumstances, and greatly improve The reliability of the system.
本发明实施例还提供了一种接收设备,如图5所示,所述接收设备包括:The embodiment of the invention further provides a receiving device. As shown in FIG. 5, the receiving device includes:
接收端口单元Port,通过与所述接口单元对应的通道接收发送设备发送的前向纠错码码字FEC codeword,将所述接收的FEC codeword发送给FEC处理器。The receiving port unit Port receives the forward error correction code code word FEC codeword sent by the sending device by using a channel corresponding to the interface unit, and sends the received FEC codeword to the FEC processor.
所述接收端口单元Port可以为至少port-1,port-2等2个接收端口单元。The receiving port unit Port may be at least two receiving port units such as port-1 and port-2.
所述FEC处理器FEC-X,用于将所述接收的FEC codeword进行解析,将解析出的数据报文发送给计时器。The FEC processor FEC-X is configured to parse the received FEC codeword and send the parsed data packet to a timer.
所述FEC-X可以为FEC-1,FEC-2等。The FEC-X may be FEC-1, FEC-2 or the like.
所述计时器Timer-x,用于记录从所述各通道接收所述数据报文中第一比特的接收时间;将所述各通道的第一比特的接收时间发送给延时补偿器。The timer Timer-x is configured to record a receiving time of receiving the first bit in the data packet from each channel, and send a receiving time of the first bit of each channel to a delay compensator.
所述Timer-x可以为Timer-1,Timer-2等。The Timer-x may be Timer-1, Timer-2, or the like.
所述延时计算器Delay Caculator,用于计算各通道的延时偏差,将所述各通道的延时偏差发送给延时补偿器。The delay calculator Delay Caculator is used to calculate the delay deviation of each channel, and send the delay deviation of each channel to the delay compensator.
所述延时补偿器Delay Compensator,用于根据所述各通道的延时偏差,调整所述各通道上接收所述数据报文中第一比特的接收时间。The delay compensator is configured to adjust a receiving time of receiving the first bit in the data packet on each channel according to the delay deviation of each channel.
所述报文重组器Pcket Combiner,用于根据所述调整后的数据报文中第一比特的接收时间,对接收到的报文进行重组。 The packet reassembler Pcket Combiner is configured to reassemble the received packet according to the receiving time of the first bit in the adjusted data packet.
进一步地,所述FEC处理器,具体用于当所述接收设备检测到所述各通道上接收到FEC codeword的编号相同,则记录的各通道接收的FEC codeword的特定比特的接收时间;将所述记录的接收时间发送给所述延时计算器。Further, the FEC processor is specifically configured to: when the receiving device detects that the number of the FEC codeword received on each channel is the same, the received time of the specific bit of the FEC codeword received by each channel is recorded; The received time of the record is sent to the delay calculator.
所述延时计算器,具体用于根据所述记录的接收时间,计算出各通道的延时偏差。The delay calculator is specifically configured to calculate a delay deviation of each channel according to the received time of the record.
可选地,所述FEC处理器,具体用于记录各通道接收的FEC codeword的特定比特的接收时间;当检测到所述各通道上接收到FEC codeword的编号相同,则将所述记录的接收时间发送给所述延时计算器。Optionally, the FEC processor is specifically configured to record a receiving time of a specific bit of the FEC codeword received by each channel; and when it is detected that the number of the FEC codeword received on each channel is the same, the receiving of the record is performed. The time is sent to the delay calculator.
所述延时计算器,具体用于根据所述记录的接收时间,计算出各通道的延时偏差。The delay calculator is specifically configured to calculate a delay deviation of each channel according to the received time of the record.
可选地,所述FEC处理器,具体用于记录各通道接收的FEC codeword的特定比特的接收时间;当检测到所述各通道接收的FEC codeword的同步头Sync Header为特定值,则将所述记录的接收时间发送给所述延时计算器;其中,所述Sync Header为所述FEC codeword中奇偶块Parity Block中的同步头Sync Header;Optionally, the FEC processor is specifically configured to record a receiving time of a specific bit of the FEC codeword received by each channel; when detecting that the synchronization header Sync Header of the FEC codeword received by each channel is a specific value, The receiving time of the record is sent to the delay calculator; wherein the Sync Header is a sync header Sync Header in the parity block Parity Block in the FEC codeword;
所述延时计算器,具体用于根据所述记录的接收时间,计算出各通道的延时偏差。The delay calculator is specifically configured to calculate a delay deviation of each channel according to the received time of the record.
进一步地,所述延时补偿器具体用于根据所述各通道的延时偏差,对所述各通道上的所述数据报文的第一比特到达的时间进行补偿,获得所述各通道上补偿后的所述数据报文的第一比特的接收时间。Further, the delay compensator is specifically configured to compensate for the arrival time of the first bit of the data packet on each channel according to the delay deviation of each channel, to obtain the channels The received time of the first bit of the compensated data message.
上述图5中还可以包括缓存器buffer,用于缓存上述数据报文。The buffer buffer can also be included in the foregoing Figure 5 for buffering the foregoing data packet.
具体上述接收设备的各个模块的工作方式可以参见上述图3所示的实施例的具体描述,这里就不再赘述。For details, refer to the detailed description of the embodiment shown in FIG. 3 above, and details are not described herein again.
另外,如图2系统中的光网络单元,所述光网络单元包括:如上述所描述的任意一接收设备;也可以为如图2系统中的光线路终端,所述线路终端包括:如上述所描述的任意一接收设备。In addition, as shown in the optical network unit in the system of FIG. 2, the optical network unit includes: any one of the receiving devices as described above; or an optical line terminal in the system of FIG. 2, the line terminal includes: Any of the receiving devices described.
通过本实施例提供的接收设备,实现了下一代EPON系统的各通道的延时测量精度可达到bit级,使得接收设备无论何种情况下都能实现报文的准 确重组,极大地提高了系统的可靠性。With the receiving device provided in this embodiment, the delay measurement accuracy of each channel of the next-generation EPON system can reach the bit level, so that the receiving device can implement the packet in any case. Indeed, reorganization has greatly improved the reliability of the system.
本发明实施例还提供了一种无源光网络系统,如图6所示,所述系统包括:发送设备和接收设备,所述发送设备通过至少2条通道发送数据,所述接收设备通过至少2条通道接收数据;所述发送设备,用于在各通道发送的前向纠错码码字FEC codeword;所述接收设备可以为上述实施例描述的所述的任意一接收设备。The embodiment of the present invention further provides a passive optical network system. As shown in FIG. 6, the system includes: a sending device and a receiving device, where the sending device sends data through at least two channels, and the receiving device passes at least The two channels receive data; the sending device is used for the forward error correction code code word FEC codeword sent in each channel; the receiving device may be any one of the receiving devices described in the foregoing embodiments.
进一步地,所述发送设备,具体用于在各通道上将待发送的FEC codeword进行对齐,并发送对齐后的FEC codeword。Further, the sending device is specifically configured to align the FEC codeword to be sent on each channel, and send the aligned FEC codeword.
进一步地,所述发送设备,具体用于将待发送的FEC codeword中奇偶块Parity block的同步头Sync Header的值设置为特定值,发送所述Sync Header为特定值的FEC codeword。Further, the sending device is specifically configured to set a value of a synchronization header Sync Header of the parity block Parity block in the FEC codeword to be sent to a specific value, and send the Sync Header to a FEC codeword of a specific value.
其中,所示发送设备的各个单元完成的功能可以参见接收设备,是接收设备的相反过程。The function performed by each unit of the transmitting device can be referred to the receiving device, which is the reverse process of the receiving device.
如图2所示,本发明实施例还提供一种无源光网络系统,所述无源光网络系统包括:光线路终端、波分复用器/解复用器、分光器以及至少一个光网络单元,所述光线路终端与所述光网络单元通过所述分光器连接,所述光线路终端与任意一个光网络单元之间有至少2条通道,所述光网络单元包括上述实施例描述的任意一接收设备。As shown in FIG. 2, an embodiment of the present invention further provides a passive optical network system, where the passive optical network system includes: an optical line terminal, a wavelength division multiplexer/demultiplexer, a beam splitter, and at least one light. a network unit, the optical line terminal and the optical network unit are connected by the optical splitter, and the optical line terminal and any one of the optical network units have at least two channels, and the optical network unit includes the foregoing embodiment description. Any one of the receiving devices.
本发明实施例还提供了一种接收设备,如图7所示,所述接收设备包括:处理器、存储器和总线系统,所述处理器和所述存储器通过所述总线系统相连,所述存储器用于存储指令,所述处理器用于执行所述存储器存储的指令,An embodiment of the present invention further provides a receiving device. As shown in FIG. 7, the receiving device includes: a processor, a memory, and a bus system, where the processor and the memory are connected by the bus system, and the memory For storing instructions, the processor is configured to execute the instructions stored by the memory,
其中,所述处理器用于:从所述各通道接收所述发送设备发送的前向纠错码码字FEC codeword;获得各通道的延时偏差;从所述FEC codeword中解析出数据报文,获得从所述各通道上接收所述数据报文中第一比特的接收时间;根据所述各通道的延时偏差,调整所述各通道上接收所述数据报文中第一比特的接收时间;根据所述调整后的数据报文中第一比特的接收时间,对接收到的报文进行重组。The processor is configured to: receive, from each channel, a forward error correction code code word FEC codeword sent by the sending device; obtain a delay deviation of each channel; and parse the data packet from the FEC codeword, Obtaining a receiving time of receiving the first bit in the data packet from each channel; adjusting a receiving time of receiving the first bit in the data packet on each channel according to the delay deviation of each channel And reassembling the received message according to the receiving time of the first bit in the adjusted data packet.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。 In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可能可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the above units is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本发明各个实施例上述方法的全部或部分步骤。其中,而前述的存储介质可包括:U盘、移动硬盘、磁碟、光盘、只读存储器(ROM,Read-Only Memory)或者随机存取存储器(RAM,Random Access Memory)等各种可以存储程 序代码的介质。The above-described integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. The instructions include a plurality of instructions for causing a computer device (which may be a personal computer, server or network device, etc., and in particular a processor in a computer device) to perform all or part of the steps of the above-described methods of various embodiments of the present invention. The foregoing storage medium may include: a U disk, a mobile hard disk, a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), and the like. The media of the sequence code.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.
Claims (18)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610326710.2 | 2016-05-16 | ||
| CN201610326710.2A CN107395270A (en) | 2016-05-16 | 2016-05-16 | Data communications method, device and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017197856A1 true WO2017197856A1 (en) | 2017-11-23 |
Family
ID=60325640
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/105517 Ceased WO2017197856A1 (en) | 2016-05-16 | 2016-11-11 | Data communication method, apparatus and system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107395270A (en) |
| WO (1) | WO2017197856A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119449894A (en) * | 2025-01-09 | 2025-02-14 | 中国船舶集团有限公司第七〇七研究所 | A dynamic source selection and selection method for multi-sensor information on ships |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113904960B (en) * | 2021-12-06 | 2022-03-15 | 上海金仕达软件科技有限公司 | Method, device, system and storage medium for measuring data transmission delay |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1794697A (en) * | 2005-12-23 | 2006-06-28 | 润欣通信技术(上海)有限公司 | Method of group transmission Ethernet passive light notwork upgoing chain circuit data |
| CN101841480A (en) * | 2010-04-26 | 2010-09-22 | 华为技术有限公司 | Multilink message sending method, equipment and system |
| CN102123073A (en) * | 2010-01-07 | 2011-07-13 | 华为技术有限公司 | Packet reordering method and device |
| EP2903218A1 (en) * | 2012-10-18 | 2015-08-05 | ZTE Corporation | Method and device for modifying and forwarding message in data communication network |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101877633B (en) * | 2009-04-28 | 2014-06-04 | 华为技术有限公司 | Signal synchronizing method and system, signal receiving device and signal sending device |
| CN102946294A (en) * | 2012-10-19 | 2013-02-27 | 浪潮电子信息产业股份有限公司 | Method for removing deviation among high-speed serial communication channels |
-
2016
- 2016-05-16 CN CN201610326710.2A patent/CN107395270A/en not_active Withdrawn
- 2016-11-11 WO PCT/CN2016/105517 patent/WO2017197856A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1794697A (en) * | 2005-12-23 | 2006-06-28 | 润欣通信技术(上海)有限公司 | Method of group transmission Ethernet passive light notwork upgoing chain circuit data |
| CN102123073A (en) * | 2010-01-07 | 2011-07-13 | 华为技术有限公司 | Packet reordering method and device |
| CN101841480A (en) * | 2010-04-26 | 2010-09-22 | 华为技术有限公司 | Multilink message sending method, equipment and system |
| EP2903218A1 (en) * | 2012-10-18 | 2015-08-05 | ZTE Corporation | Method and device for modifying and forwarding message in data communication network |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119449894A (en) * | 2025-01-09 | 2025-02-14 | 中国船舶集团有限公司第七〇七研究所 | A dynamic source selection and selection method for multi-sensor information on ships |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107395270A (en) | 2017-11-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8570874B2 (en) | Method, system and optical network device for synchronizing time of a passive optical network | |
| US10484098B2 (en) | Channel bonding in passive optical networks | |
| CN102136900B (en) | Time synchronization method for passive optical network, device and system | |
| US10491323B2 (en) | Data transmission control method, passive optical network equipment, apparatus, and passive optical network | |
| CN108075903B (en) | Method and apparatus for establishing flexible Ethernet groups | |
| CN103125085B (en) | Relay device, station-side optical communication device, communication system, and bandwidth allocation method | |
| KR101708605B1 (en) | Optical burst tranport network, node, transmission method and computer storage medium | |
| WO2010088830A1 (en) | Time synchronization method and corresponding synchronization system for passive optical network system | |
| CN102104428B (en) | Method, system and device for adjusting register window of passive optical network (PON) | |
| CN101860401B (en) | Dispersion compensation adjustment method, device and system thereof | |
| CN101953119B (en) | Band allocation method and passive optical communication network system | |
| WO2020057187A1 (en) | Passive optical network (pon) channel bonding protocol | |
| CN101378311A (en) | Method, system and equipment for protecting rearrange | |
| US20100183316A1 (en) | Methods and Systems for Dynamic Equalization Delay Passive Optical Networks | |
| CN101252388B (en) | Apparatus and method for sending data | |
| US20080155255A1 (en) | Encryption apparatus | |
| WO2019019073A1 (en) | Data processing method, optical line terminal, optical network unit and system | |
| CN106664234B (en) | WDM/TDM-PON system and its transmission start time correction method | |
| CN113424453A (en) | Passive Optical Network (PON) frame design | |
| CN111316575B (en) | Data sending and receiving method in PON system, network equipment and system | |
| WO2017197856A1 (en) | Data communication method, apparatus and system | |
| KR101217962B1 (en) | Method for clock synchronizing and ethernet system for the same | |
| WO2009135415A1 (en) | Method, equipment and system for processing multiframe | |
| US20250373963A1 (en) | Extended delimiter for burst mode communications | |
| Tanaka et al. | Demonstration and performance study of symmetric 10G-EPON system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16902235 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16902235 Country of ref document: EP Kind code of ref document: A1 |