WO2020147023A1 - Method and apparatus for converting burst signals to continuous signals - Google Patents

Method and apparatus for converting burst signals to continuous signals Download PDF

Info

Publication number
WO2020147023A1
WO2020147023A1 PCT/CN2019/071848 CN2019071848W WO2020147023A1 WO 2020147023 A1 WO2020147023 A1 WO 2020147023A1 CN 2019071848 W CN2019071848 W CN 2019071848W WO 2020147023 A1 WO2020147023 A1 WO 2020147023A1
Authority
WO
WIPO (PCT)
Prior art keywords
continuous
data packet
burst
bits
signal
Prior art date
Application number
PCT/CN2019/071848
Other languages
French (fr)
Chinese (zh)
Inventor
周雷
刘翔
李胜平
聂世玮
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2019/071848 priority Critical patent/WO2020147023A1/en
Priority to CN201980059707.0A priority patent/CN112690007B/en
Publication of WO2020147023A1 publication Critical patent/WO2020147023A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Definitions

  • This application relates to the field of communications, and more specifically, to a method and device for converting a burst signal to a continuous signal.
  • the PON system includes two types of network elements: optical line terminal (OLT) and optical network unit (ONU).
  • OLT optical line terminal
  • ONU optical network unit
  • the PON system is a point-to-multipoint time-division multiplexing system, and usually the working mode of upstream transmission is burst mode. In other words, the OLT needs to receive signals from different ONUs at different times. Because the physical distance between each ONU and the OLT is different, the signals sent by different ONUs received by the OLT may have different amplitudes and a series of burst data packets with different intervals in time.
  • the OLT side optical module can only pass the burst serializer/deserializer (serializer/deserializer, SerDes) and the OLT single board after receiving the burst signal of the ONU.
  • SerDes serializer/deserializer
  • the OLT single board After receiving the burst signal of the ONU.
  • SerDes serializer/deserializer
  • the MAC chip connection and data transmission On the MAC chip connection and data transmission.
  • 25G/50G/100G and other next-generation PONs the continued use of burst SerDes for data transmission in optical modules and MAC chips will result in a significant reduction in the efficiency of data transmission.
  • This application provides a method and device for converting burst signals to continuous signals, which can convert burst signals received from multiple ONUs into continuous signals, so that the OLT side optical module can realize data transmission to the MAC chip through continuous SerDes. This can improve the efficiency of data transmission.
  • a method for converting a burst signal to a continuous signal includes: an optical processing device performs data filling on the interval between the burst data packets contained in the burst signal to obtain a continuous signal containing continuous data packets , Wherein the burst signal comes from multiple ONUs; the continuous data packet is encoded to obtain a continuous signal containing the encoded continuous data packet; and the continuous SerDes is used to convert the continuous data packet containing the encoded continuous data packet The signal is sent to the network processing device.
  • the optical processing device can convert the burst signal into a continuous signal, the optical processing device can use continuous SerDes to transmit the continuous signal to the network processing device. Using this solution can improve the efficiency of data transmission.
  • the optical processing device can also perform various processing on the burst optical signals sent by multiple ONUs, for example:
  • the burst optical signal is converted into a current signal;
  • the optical processing device converts the current signal into a voltage signal, and amplifies the voltage signals with different amplitudes to basically the same amplitude;
  • the optical processing device converts the analog voltage signal into a digital signal;
  • optical processing samples multiple burst data packets contained in the digital signal to obtain multiple optimal sampling points and interference information, and then these optimal sampling points and interference information form a burst data packet;
  • optical processing equipment can also shape and process, The above interference information is removed, and only the burst data packet containing the best sampling point is retained;
  • the optical processing device can also decode the burst data packet;
  • the optical processing device can also demodulate the decoded burst data packet, Obtain burst data packets containing only 0 or 1.
  • the optical processing device in the embodiment of the present application may be an optical module of an OLT.
  • the optical module in the embodiment of the present application fills the intervals between the burst data packets contained in the burst signal, which may be specifically: using a scrambling polynomial to correct the burst.
  • the burst data packet contained in the signal and the interval between the burst data packet are calculated and processed.
  • the interval between the burst data packet and the burst data packet Take n bits from all the bits included in the interval in turn, take the m-th bit and the n-th bit in every n bits; take the m-th bit and the n-th bit in every n bits Adding the first bit in every n bits to obtain the scrambled data of every n bits, and all the scrambled data of every n bits form a continuous data packet.
  • a method for converting a burst signal to a continuous signal includes: a network processing device receives a continuous signal sent by an optical processing device through a continuous SerDes, and the continuous signal contains an encoded continuous data packet; The encoded continuous data packet is decoded to obtain a continuous signal including the decoded continuous data packet; the data filled in the decoded continuous data packet is removed to obtain the decoded burst data packet.
  • removing the data filled in the decoded continuous data packet may be specifically: using a descrambling code polynomial to calculate the decoded continuous data packet Processing, wherein the descrambling code polynomial and the scrambling code polynomial adopted by the optical processing device are the same or have a reciprocal relationship.
  • the descrambling code polynomial is used to calculate and process the decoded continuous data packet, which can be understood as: take out n bits in turn from all the bits contained in the encoded continuous data packet, and take out every n bits The mth bit and the nth bit; in each n bits, the mth bit and the nth bit are subtracted from the first bit in every n bits to obtain the every n
  • the data after the descrambling code of one bit, and all the data after the descrambling code of every n bits form a burst data packet.
  • an embodiment of the present application provides an optical processing device, which includes several functional units for implementing any method of the first aspect.
  • the optical processing equipment may include:
  • the scrambling code module is used to fill the intervals between the burst data packets contained in the burst signal to obtain a continuous signal containing continuous data packets, where the burst signal comes from multiple ONUs.
  • the encoding module is configured to encode the continuous data packet to obtain a continuous signal containing the encoded continuous data packet, and send the continuous signal containing the encoded continuous data packet to the network processing device through the continuous SerDes.
  • an embodiment of the present application provides a network processing device, including several functional units for implementing any method of the second aspect.
  • the network processing equipment may include:
  • the decoding module is used to receive the continuous signal sent by the optical processing device through the continuous SerDes, the continuous signal contains the encoded continuous data packet, decode the encoded continuous data packet, and obtain the continuous signal containing the decoded continuous data packet Continuous signal.
  • the descrambling code module is used to remove the data filled in the decoded continuous data packet to obtain the decoded burst data packet.
  • an embodiment of the present application provides an optical processing device, including: a non-volatile memory and a processor coupled with each other, the processor calls the program code stored in the memory to execute any of the first aspect Part or all of the steps of a method.
  • an embodiment of the present application provides a network processing device, including: a non-volatile memory and a processor coupled with each other, the processor calls the program code stored in the memory to execute any of the second aspect Part or all of the steps of a method.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores program code, wherein the program code includes part or Instructions for all steps.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores program code, wherein the program code includes part or Instructions for all steps.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute part or all of the steps of any method in the first aspect.
  • an embodiment of the present application provides a computer program product that, when the computer program product runs on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect.
  • an embodiment of the present application provides a system, including: an optical processing device as in any third aspect and a network processing device as in any fourth aspect.
  • Fig. 1 is a schematic diagram of an application scenario of a PON provided by an embodiment of the present application.
  • Fig. 2 is a schematic diagram of a PON reference model provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a reference model of an OLT provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for converting a burst signal to a continuous signal according to an embodiment of the present application.
  • Fig. 5 is a schematic block diagram of scrambling code calculation of a scrambling code polynomial provided in an embodiment of the present application.
  • Fig. 6 is a schematic diagram of a frame format of a continuous data packet provided by an embodiment of the present application.
  • Fig. 7 is a schematic block diagram of the descrambling code calculation of the descrambling code polynomial provided.
  • Fig. 8 is a schematic diagram of a simulation example of an embodiment of the present application.
  • FIG. 9 is a schematic block diagram of an optical processing device 900 provided by an embodiment of the present application.
  • FIG. 10 is a schematic block diagram of a network processing device 1000 according to an embodiment of the present application.
  • FIG. 11 is a schematic block diagram of another optical processing device 1100 according to an embodiment of the present application.
  • FIG. 12 is a schematic block diagram of another network processing device 1200 according to an embodiment of the present application.
  • the technical solutions of the embodiments of the present invention can be applied to various Ethernet Passive Optical Network (EPON) and Gigabit Passive Optical Network (GPON), such as 10G EPON, single wave 25G EPON, 2x25G EPON, single-wave 50G EPON, 2x50G EPON, 100G EPON, etc., as well as GPON, XGPON, XGSPON, time and wavelength division multiplexing based passive optical networks (time wavelength division multiplexing, passive optical network, TWDMPON) or others Type of GPON.
  • EPON Ethernet Passive Optical Network
  • GPON Gigabit Passive Optical Network
  • 10G EPON single wave 25G EPON, 2x25G EPON, single-wave 50G EPON, 2x50G EPON, 100G EPON, etc.
  • GPON XGPON, XGSPON
  • time and wavelength division multiplexing based passive optical networks time wavelength division multiplexing, passive optical network, TWDMPON
  • the optical line terminal (optical line terminal, OLT) is the core component of the PON and provides a user-oriented optical fiber interface for the passive optical network.
  • OLT optical line terminal
  • One end of the OLT is connected to the upper network to complete the upstream access of the PON.
  • the upper network may be an Internet Protocol (IP) backbone network or a public switched telephone network (PSTN).
  • IP Internet Protocol
  • PSTN public switched telephone network
  • the other end of the OLT connects to an optical network unit (ONU) through an optical distribution network (optical distribution network, ODN), completes the downstream transmission of the PON, and realizes functions such as ONU control, management, and ranging.
  • ODN optical distribution network
  • the OLT in the figure can provide services for multiple ONUs at the same time through ODN, and one ONU can serve multiple user equipments at the same time, such as mobile phones, computers, etc., which is not limited here.
  • FIG. 2 is a schematic diagram of the architecture of a PON system to which various embodiments of the present invention are applied.
  • the PON system 200 includes at least one OLT 210, at least one ODN 220 and multiple ONUs 230.
  • the OLT 210 provides a network side interface for the PON system 200
  • the ONU 230 provides a user side interface for the PON system 200, which is connected to the ODN 220.
  • the ONU 230 directly provides the user port function, it is called an optical network terminal (Optical Network Terminal, ONT).
  • ONT optical Network Terminal
  • the ONU 230 mentioned below collectively refers to an ONT that can directly provide a user port function and an ONU that provides a user-side interface.
  • ODN 220 is a network composed of optical fibers and passive optical splitting devices, used to connect OLT210 equipment and ONU230 equipment, and used to distribute or multiplex data signals between OLT210 and ONU230.
  • the direction from the OLT 210 to the ONU 230 is defined as the downstream direction, and the direction from the ONU 230 to the OLT 210 is defined as the upstream direction.
  • the OLT 210 uses Time Division Multiplexing (TDM) to broadcast downstream data to multiple ONUs 230 managed by the OLT 110, and each ONU 230 only receives the data carrying its own identity; while in the upstream direction, multiple ONUs 230 It communicates with the OLT 210 in a Time Division Multiple Access (TDMA) manner, and each ONU 230 transmits uplink data according to the time domain resources (also referred to as time slots) allocated by the OLT 210 to it.
  • TDM Time Division Multiplexing
  • TDMA Time Division Multiple Access
  • the TDMA technology is used to divide the fiber occupation into time periods. In each time period, only one ONU can occupy the fiber to send data to the OLT, and the other ONUs turn off the laser and do not send optical signals.
  • the OLT specifies the time period for the ONU to send data by sending control data packets to avoid conflicts. In order to obtain the correct time offset and power adjustment, the OLT needs to perform ranging on different ONUs. Because the results of ranging may have errors, these errors may cause conflicts caused by the OLT receiving optical signals sent by different ONUs at the same time.
  • the OLT introduces a protection mechanism in which there is a time interval between optical signals sent by different ONUs to ensure that there is an interval between the OLT receiving optical signals sent by different ONUs, thereby avoiding the above conflicts, but also causing the OLT to receive different ONUs
  • the optical signals are bursty, that is, discontinuous. Therefore, using the above mechanism, the downstream optical signal sent by the OLT 210 is a continuous optical signal, and the upstream optical signal sent by the ONU 230 is a burst optical signal.
  • the OLT 210 is usually located in a central office (Central Office, CO), and can uniformly manage at least one ONU 230 and transmit data between the ONU 230 and the upper network. Specifically, the OLT 210 can act as an intermediary between the ONU 230 and the upper-layer network (such as the Internet, Public Switched Telephone Network (PSTN)), and forward data received from the upper-layer network to the ONU 230, and The data received by the ONU 230 is forwarded to the upper network.
  • the specific structure and configuration of the OLT 210 may vary depending on the specific type of the PON system 200. For example, in an embodiment, the OLT 210 may include a transmitter and a receiver.
  • the transmitter is used to send the downstream continuous optical signal to the ONU230, and the receiver is used to receive the upstream burst optical signal from the ONU230, wherein the downstream optical signal and the upstream optical signal can be transmitted through the ODN220, but the embodiment of the present invention is not limited to this.
  • the ONU 230 can be distributed in a user-side location (such as a user premises).
  • the ONU 230 may be a network device used to communicate with the OLT 210 and the user.
  • the ONU 230 may act as an intermediary between the OLT 210 and the user. For example, the ONU 230 may forward the data received from the OLT 210 to the user, and transfer The data received from the user is forwarded to the OLT 210.
  • ODN220 can be a data distribution network, which can include optical fibers, optical couplers, optical splitters, or other devices.
  • the optical fiber, optical coupler, optical splitter, or other device may be a passive optical device, specifically, the optical fiber, optical coupler, optical splitter, or other device may be distributed between the OLT 210 and the ONU 230 A device that does not require power support for data signals.
  • the optical splitter can be connected to the OLT 210 through a backbone fiber, and connected to multiple ONUs 230 through multiple branch fibers, thereby realizing the point between the OLT 210 and the ONU 230 To multipoint connection.
  • the ODN 220 may also include one or more processing devices, for example, an optical amplifier or a relay device (Relay device).
  • the ODN 220 may specifically extend from the OLT 210 to multiple ONUs 230, but may also be configured in any other point-to-multipoint structure, and the embodiment of the present invention is not limited thereto.
  • FIG. 3 is a schematic diagram of a reference model of an OLT provided by an embodiment of the present application.
  • the OLT includes a single board 31 and an optical template 32.
  • the single board 31 includes a clock module 311 and a media access control (media access control, MAC) chip 312.
  • the MAC chip 312 includes a MAC module 3121 , De-scrambling code module 3122 and hard decision decoder 3123.
  • the optical module 32 includes a burst-to-continuous module 321, a transimpedance amplifier (TIA) 322, and a photoelectric receiver (PD) 323.
  • TIA transimpedance amplifier
  • PD photoelectric receiver
  • the burst-to-continuous module 321 also includes a hard decision code A device 3211, a scrambling code module 3212, a demodulation module 3213, a soft decision decoder 3214, an equalizer 3215, a clock recovery module 3216, and an analog-to-digital converter (ADC) 3217.
  • the OLT may also include other components, such as a dust-proof net, a cable management frame, and a fan module, which are not limited here.
  • the optical module 32 may be integrated in the single board 31, or may be used as an external device of the single board, which is not limited here. In the following embodiment, an external device in which the optical module 32 is the single board 31 is taken as an example for description.
  • the MAC chip 312 can control the node's access to the physical layer through the MAC protocol.
  • the optical template 32 can perform photoelectric conversion of the received optical signal and conversion of a burst signal to a continuous signal.
  • the clock module 311 can send two differential clock signals to the optical module 32.
  • the clock signal is generated by a clock generator and has a fixed clock frequency. It is usually used in synchronization circuits to determine when the state in the logic unit is updated. It is a signal with a fixed period and independent of operation. , So as to play the role of a timer, to ensure that the related electronic components can be synchronized operation.
  • the clock generator uses an oscillator that can provide a square wave output to generate the clock.
  • the oscillator circuit always uses feedback to make the oscillator oscillate. By feeding back the corresponding parameters, the oscillator works at a specific frequency.
  • differential transmission and two differential clock signals are used to ensure that the MAC chip 312 and the optical module 32 operate in synchronization.
  • the clock module 311 may also be integrated in the MAC chip 312, which is not limited here.
  • the clock module provides clocks for both the MAC chip and the optical module at the same time (signal of a single frequency, drives the optical module and the MAC chip to perform business processing according to this frequency), so that the clocks of the optical module and the MAC chip remain the same, thereby ensuring the processing of the MAC chip and the optical module
  • the frequency of the received signal is the same, which ensures the synchronization of the two processing and avoids the congestion of the processing signal of one party.
  • the optical module PD323 can be used to convert upstream burst optical signals from different ONUs into current signals.
  • the PD323 can be a photodetector that uses the photoelectric effect to convert an optical signal in communication into a current signal, such as a photodetector or a photodiode (such as an avalanche diode).
  • TIA322 can be used to convert current signals into voltage signals and adjust the different amplitudes of the voltage signals to be basically the same.
  • TIA322 can adopt a high input impedance negative feedback structure, which has the characteristics of simple design and high bandwidth.
  • ADC3217 can convert analog signals (voltage signals) into digital signals.
  • the clock recovery module 3216 can extract the clock signal from the digital signal and find the correct phase relationship between the data and the clock, and use the recovered clock signal to sample the data in the data stream to obtain multiple data packets in each burst The best sampling point, all the best sampling points contained in each burst data packet reconstitute the burst data packet after clock recovery.
  • This burst data packet after clock recovery contains interference information.
  • the equalizer 3215 can be used for equalizing and shaping processing to remove interference information in the burst data packet after clock recovery.
  • the equalizer 3215 can be mainly used to compensate for the impact of insufficient bandwidth optical components or fiber dispersion on high-rate data, and to compensate for signal distortion caused by inter-symbol interference and channel fading in the transmission channel (ie, optical fiber).
  • the soft decision decoder 3214 can be used to perform error correction decoding on the burst data packet contained in the digital signal.
  • the demodulation module 3213 is used to demodulate the decoded burst data packet so that the demodulated burst data packet only contains 0 or 1 bits.
  • the scrambling code module 3212 is used to fill the intervals between discontinuous burst data packets with some scrambling codes, so that these discontinuous data become continuous signals.
  • the hard decision encoder 3211 can be used to perform error correction encoding on the converted continuous signal, and send the converted continuous signal to the MAC chip of the single board through continuous continuous SerDes.
  • the hard decision decoder 3123 of the MAC chip can be used to receive the converted continuous signal through continuous continuous SerDes, and perform error correction and decoding on the continuous digital signal.
  • the descrambling code module 3122 can be used to remove the scrambling code in the converted continuous signal and restore it to a non-continuous burst signal.
  • the MAC module 3121 may be used for MAC normal processing of discontinuous burst signals.
  • the following presents a method for processing burst signals to continuous signals in a PON system.
  • the time synchronization method provided by the embodiments of the present invention will be described in detail below in conjunction with FIGS. 3 and 4.
  • the method includes Steps S400 to S411, the specific implementation of each step is as follows:
  • the PD323 in the optical module 32 receives upstream optical signals sent from different ONUs. These optical signals carry user data. These optical signals are bursts. Therefore, the user data is also called burst data packets. Sending data packets forms a data stream. Since different ONUs have different physical distances from the OLT, the amplitudes of the optical signals from different ONUs when they reach the PD323 are different, such as burst packet 1, burst packet 2, and burst in Figure 3 Packet 3. In addition, because the OLT needs to perform ranging on the ONU, there may be errors in the results of the ranging, which may cause the OLT to receive the conflict between the optical signals sent by different ONUs at the same time.
  • the OLT introduces the optical signals sent by different ONUs.
  • There is a time interval protection mechanism so there is a certain interval in time between the OLT receiving the optical signals sent by different ONUs.
  • PD323 converts the received optical signal into a current signal E1, because the process of PD323 receiving the optical signal is continuous, and this conversion process is also continuous.
  • the burst data packet carried by the photoelectric conversion signal is unchanged, so the amplitude and interval of each burst data packet contained in the current signal E1 after conversion remain unchanged.
  • PD323 sends the current signal E1 to TIA322.
  • the TIA322 receives the current signal E1, can convert the current signal E1 into a voltage signal E2, and amplify the amplitudes of the voltage signals E2 carrying burst data packets with different amplitudes to be basically the same, for example: the unified amplified amplitude can be Set to 500mv.
  • the TIA322 sends the voltage signal E2 to the burst-to-continuous module 321.
  • the ADC 3217 in the burst-to-continuous module 321 receives the voltage signal E2, converts the voltage signal E2 into a digital signal E3, and sends the digital signal E3 to the clock recovery module 3216.
  • the different burst data packets contained in the digital signal E3 are close to the same in amplitude, but a certain interval is left between the different burst data packets in time, that is, the burst data packets are not continuous.
  • the clock recovery module 3216 receives the digital signal E3, uses clock data recovery (CDR) technology to extract the clock information from the digital signal E3 and finds the correct phase relationship between the burst data packet and the clock, and uses this The extracted clock signal samples different burst data packets to obtain the best sampling point of each burst data packet. These best sampling points form the digital signal E4. Because in the sampling process, each best sampling point is The optimal sampling point adjacent to the left and right may cause interference to the optimal sampling point, so the digital signal E4 also contains interference information.
  • the above clock information may be the transmission rate of burst data packets. There are multiple optimal sampling points contained in each burst data packet.
  • the time consumed to sample each burst data packet is the same, the time value occupied by each burst data packet is different. Therefore, the number of optimal sampling points contained in each burst data packet may also be different. For example: in Figure 3, the best sampling points contained in burst packet 1 may be 80, the best sampling points contained in burst packet 2 may be 100, and the best sampling points contained in burst packet 3 may be Is 50. All the best sampling points contained in each burst data packet reconstitute the burst data packet after clock recovery. This burst data packet after clock recovery contains interference information.
  • the equalizer 3215 receives the digital signal E4, performs equalization and shaping processing on the digital signal E4, removes the interference information contained in the digital signal E4, obtains the digital signal E5, and sends the digital signal E5 to the soft decision decoder 3214.
  • the equalizer 3215 can be used to optimize signal quality.
  • the digital signal E5 contains burst data packets from which interference information is removed.
  • the soft decision decoder 3214 receives the digital signal E5, performs error correction decoding on the digital signal E5, obtains the digital signal E6, and sends the digital signal E6 to the demodulation module 3213. Since the signals sent in the ONU are all error-corrected and encoded, the error-corrected-encoded signals cannot be filled with data. In order to fill the digital signal E5 with data, the soft decision decoder 3214 needs to perform error correction and decoding on the digital signal E5. The purpose of decoding here is to ensure error-free transmission between ONU and OLT. Since the ONU uses a soft decision encoder to encode burst data packets, a soft decision decoder is used in the optical module for decoding. The soft decision codec method can make the pre-correction error rate reach 2 ⁇ 10 -2 .
  • the demodulation module 3213 receives the digital signal E6, demodulates the digital signal E6, that is, each burst data packet contains 0 or 1 data bits, and obtains the digital signal E7 containing the demodulated burst data packet , And send the digital signal E7 to the scrambling module 3212.
  • the scrambling module 3212 receives the digital signal E7, and scrambles the interval between the burst data packet and the burst data packet, so that the interval between the burst data packets contained in the digital signal E7 is filled with data , Thereby realizing the conversion of the burst digital signal E7 into a continuous digital signal E8.
  • the scrambling module 3212 sends the digital signal E8 to the hard decision encoder 3211, and the digital signal E8 contains continuous data packets.
  • the scrambling method can use the scrambling polynomial to calculate the interval between the burst data packet and the burst data packet to obtain the scrambled data.
  • Using the scrambling code polynomial to calculate the interval between the burst data packet and the burst data packet can be understood as: Take n out of all the bits contained in the interval between the burst data packet and the burst data packet in sequence.
  • Bits (if the number of n bits taken in the last time is not enough for n, you can fill in the number of bits with an appropriate number of 0 or 1), take the mth bit and the nth bit in every n bits Bits, adding the mth bit and the nth bit in each n bits to the first bit in every n bits to obtain the scrambled data of every n bits , All the scrambled data of every n bits form a continuous data packet.
  • the polynomial operation process of Figure 5 is: sequentially take out 58 bits from the burst data packet and the interval between the burst data packet, and then take out every 58 bits
  • the 39th and 58th bits are two bits, and then the 39th and 58th bits are added to the first bit of the 58 bits to obtain the 58-bit scrambled data.
  • all Every 58 bits of scrambled data together form a continuous data packet, that is, the output data.
  • the hard decision encoder 3211 receives the digital signal E8, performs error correction coding on the digital signal E8, obtains the digital signal E9, and transmits the digital signal E9 to the serializer/deserializer (serializer/deserializer, SerDes) MAC chip. Because the signal transmitted between the optical module and the MAC chip needs to be encoded, the digital signal E8 needs to be coded with hard decision error correction. The pre-correction error rate of this hard decision can reach 1*10 -3 .
  • the frame format of the continuous data packet carried by the digital signal E9 may be shown in Figure 6.
  • the frame includes a delimiter (Dilimiter) and a series of codewords carrying specific content.
  • the delimiter is used to determine the frame header s position.
  • Each codeword also contains scrambled data (Scrambled Data) and parity (Parity), and the scrambled data is obtained by scrambling consecutive data packets.
  • the hard decision decoder 3123 of the MAC chip receives the digital signal E9 through continuous SerDes, performs error correction decoding on the digital signal E9, obtains the digital signal E10, and sends the digital signal E10 to the descrambling code module 3122. Because the encoder in the optical module is a hard decision encoder, the decoder in the MAC chip is a hard decision decoder.
  • the descrambling code module 3122 receives the digital signal E10, and removes the filling data between each continuous data packet contained in the digital signal E10, so that the continuous data packet is restored to a burst data packet with gaps between the data packets.
  • the continuous digital signal E10 is converted into a burst digital signal E11. Obtain the digital signal E11, and send the digital signal E11 to the MAC module 3121.
  • the process of descrambling code is the inverse process of data filling.
  • the interval between the burst data packet and the burst data packet can be calculated by using the descrambling code polynomial to obtain the data after the descrambling code.
  • Using the descrambling code polynomial to calculate the interval between the burst data packet and the burst data packet can be understood as: take out n bits in sequence from all the bits contained in the continuous data packet (if the last n bits are taken) If the number of bits is not enough n, the n number of bits can be filled with an appropriate number of 0s or 1s), the mth bit and the nth bit are taken out of every n bits, and in every n bits Subtract the mth bit and the nth bit from the first bit in every n bits to obtain the descrambling data of every n bits. After scrambling, the data is restored to burst data packets.
  • the calculation process using the descrambling code polynomial in Figure 5 is: sequentially take out 58 bits from the continuous data (if the number of 58 bits taken in the last time is not enough 58, then you can Fill in 58 bits with an appropriate number of 0s or 1s), then take out the 39th and 58th bits out of every 58 bits, and then combine the 39th and 58th bits with the 58 Subtract the first bit among the bits to obtain the 58-bit descrambling data. In this way, all the 58-bit descrambling data together form a burst data packet, that is, the output data .
  • the scrambling code mode adopted by the scrambling code module in step S407 has a certain relationship with the descrambling code mode adopted by the descrambling code module, and they are usually relative or the same, for example: the scrambling code in step S407
  • the polynomial is the same as the descrambling polynomial of S410.
  • the MAC module 3121 receives the digital signal E11, and performs regular corresponding processing on the digital signal E11.
  • Fig. 8 is the simulation result obtained according to the method of Fig. 4, where part A is the original burst data packet (Burst1,...BurstN) with different time intervals. Part B is to obtain continuous data packets after data filling. It can be seen from the simulation diagram that the intervals between burst data packets have been filled, and the burst data packets become continuous data packets. Part C is the digital signal E9 obtained after error correction coding. Part D refers to the digital signal E10 obtained after error correction and decoding on the MAC chip side. Part E refers to the burst data packet recovered after descrambling the digital signal E10 on the MAC side.
  • the continuous data packet is restored to a burst data packet
  • the recovered burst data packet It is basically the same as the burst data packet of part A, which shows that the burst-to-continuous processing in the embodiment of the present invention can be realized. Since the optical module can convert the burst signal into a continuous signal, the optical module can use the continuous SerDes to transmit the continuous signal to the MAC chip, improve the efficiency of data transmission, and restore the burst signal in the MAC chip without loss.
  • FIG. 9 shows a schematic block diagram of an optical processing device 900 according to an embodiment of the present application.
  • the modules in the optical processing device 900 are respectively used to perform actions or processing procedures performed by the optical module of the OLT in the foregoing method.
  • the optical processing device 900 may specifically be an optical module of an OLT.
  • FIG. 9 is a schematic block diagram of an optical processing device 900 provided by an embodiment of the present application.
  • the light processing device 900 may include:
  • the scrambling module 910 is used for data filling the intervals between the burst data packets contained in the burst signal to obtain a continuous signal containing continuous data packets, wherein the burst signal comes from multiple ONUs.
  • the scrambling module 910 is the scrambling module 3212 shown in FIG. 3.
  • the encoding module 920 is configured to encode the continuous data packet to obtain a continuous signal containing the encoded continuous data packet, and send the continuous signal containing the encoded continuous data packet to the network processing device through the continuous SerDes.
  • the burst signal comes from multiple ONUs; when the optical processing device is specifically an optical module of an OLT, the encoding module 920 is the hard decision encoder 3211 shown in FIG. 3.
  • the scrambling code module 910 is specifically configured to use a scrambling code polynomial to calculate and process the burst data packet contained in the burst signal and the interval between the burst data packet.
  • the data filling module 910 is specifically configured to: sequentially extract n bits from all bits included in the interval between the burst data packet and the burst data packet, and in every n bits Take out the mth bit and the nth bit; add the mth bit and the nth bit in each n bits to the first bit in every n bits to obtain the After n bits of scrambled data, all the scrambled data of every n bits form a continuous data packet.
  • the frame of the encoded continuous data packet includes a delimiter used to determine the position of the frame header and a codeword carrying specific content, wherein each codeword also includes a scrambled Data and check digit.
  • the optical processing device 900 may also include a demodulation module, a soft decision decoder, an equalizer, a clock recovery module, an analog-to-digital converter, a transimpedance amplifier, and a receiving module, the specific functions of which correspond to The demodulation module 3213, the soft decision decoder 3214, the equalizer 3215, the clock recovery module 3216, the analog-to-digital converter 3217, the transimpedance amplifier 322 and the optoelectronic receiver 323 shown in FIG. It is not shown in Figure 9 here.
  • FIG. 10 shows a schematic block diagram of a network processing device 1000 according to an embodiment of the present application.
  • the modules in the network processing device 1000 are respectively used to execute various actions or processing procedures performed by the MAC chip in the foregoing method.
  • the network processing device may specifically be the MAC chip of the OLT.
  • FIG. 10 is a schematic block diagram of a network processing device 1000 according to an embodiment of the present application.
  • the network processing device 1000 may include:
  • the decoding module 1010 is configured to receive a continuous signal sent by an optical processing device through a continuous SerDes, the continuous signal containing a continuous data packet after encoding, decoding the continuous data packet after encoding, to obtain a continuous data packet containing the decoded data Continuous signal.
  • the decoding module 1010 may specifically be a hard decision decoder 3123 as shown in FIG. 3,
  • the descrambling code module 1020 is used to remove the data filled in the decoded continuous data packet to obtain the decoded burst data packet.
  • the descrambling code module 1020 may be specifically configured to: use descrambling code polynomials to perform calculation processing on the decoded continuous data packets, where the descrambling code polynomials are The scrambling code polynomials used by the optical processing equipment are the same or have a reciprocal relationship.
  • the network processing device 1000 further includes a MAC module for receiving and performing MAC regular processing on the burst data table from the descrambling code module.
  • the MAC module may be as shown in FIG. 3
  • the MAC module 3121 is no longer shown in Figure 10.
  • FIG. 11 is a schematic block diagram of an optical processing device 1100 according to an embodiment of the present application.
  • the optical processing device 1100 may include: a processor 1101, a receiver 1102, a transmitter 1103, and a memory 1104.
  • the processor 1101 may be in communication connection with the receiver 1102 and the transmitter 1103.
  • the memory 1104 can be used to store the program code and data of the network device. Therefore, the memory 1104 may be a storage unit inside the processor 1101, an external storage unit independent of the processor 1101, or a storage unit inside the processor 1101 and an external storage unit independent of the processor 1101. part.
  • the optical processing device 1100 may further include a bus 1105.
  • the receiver 1102, the transmitter 1103, and the memory 1104 can be connected to the processor 1101 through a bus 1105;
  • the bus 1105 can be a peripheral component interconnect (PCI) bus or an extended industry standard structure (extended industry standard). architecture, EISA) bus, etc.
  • the bus 1105 can be divided into an address bus, a data bus, a control bus, and so on. For ease of representation, only a thick line is used in FIG. 11, but it does not mean that there is only one bus or one type of bus.
  • the processor 1101 may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application-specific integrated circuit (ASIC), and a field programmable gate.
  • Array field programmable gate array, FPGA or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in conjunction with the disclosure of the present application.
  • the processor may also be a combination for realizing computing functions, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
  • the receiver 1102 and the transmitter 1103 may be circuits including the above-mentioned antenna, transmitter chain and receiver chain, and the two may be independent circuits or the same circuit.
  • the receiver 1102 When the program is executed, the receiver 1102 is used to receive burst optical signals sent by multiple ONUs.
  • the transmitter 1103 performs the following operations through the processor 1101: for sending the continuous signal containing the encoded continuous data packet to the network processing device.
  • FIG. 12 is a schematic block diagram of a network processing device 1200 according to an embodiment of the present application.
  • the terminal device 1200 may include: a processor 1201, a receiver 1202, a transmitter 1203, and a memory 1204.
  • the processor 1201 may be connected to the receiver 1202 and the transmitter 1203 in communication.
  • the memory 1204 can be used to store the program code and data of the terminal device. Therefore, the memory 1204 may be a storage unit inside the processor 1201, or an external storage unit independent of the processor 1201, or may include a storage unit inside the processor 1201 and an external storage unit independent of the processor 1201. part.
  • the network processing device 1200 may further include a bus 1205.
  • the receiver 1202, the transmitter 1203, and the memory 1204 may be connected to the processor 1201 through a bus 1205; the bus 1205 may be a PCI bus or an extended EISA bus.
  • the bus 1205 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used to represent in FIG. 12, but it does not mean that there is only one bus or one type of bus.
  • the processor 1201 may be, for example, a CPU, a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in conjunction with the disclosure of the present application.
  • the processor may also be a combination for realizing computing functions, for example, including a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
  • the receiver 1202 and the transmitter 1203 may be circuits including the above-mentioned antenna, transmitter chain and receiver chain, and the two may be independent circuits or the same circuit.
  • the receiver 1202 is used to receive the continuous signal sent by the optical processing device.
  • the embodiment of the present application also provides a chip, including a memory, a processor, and a transceiver.
  • the memory is used to store a program; the processor is used to execute the program stored in the memory.
  • the processor executes the method described in any one of the possible implementations of the optical processing device.
  • the embodiment of the present application also provides a chip, including a memory, a processor, and a transceiver.
  • the memory is used to store a program; the processor is used to execute the program stored in the memory.
  • the processor executes the method described in any one of the possible implementation manners of the foregoing network processing equipment.
  • the embodiment of the present application also provides a computer-readable storage medium, including a computer program.
  • the computer program runs on a computer, the computer executes the method described in S400-S411 and the like.
  • the embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the method described in steps S400-S411 and the like.
  • the embodiment of the present application also provides a system, including the foregoing optical processing device and/or the foregoing network processing device.
  • various aspects or features of the present application may be implemented as methods, devices, or articles using standard programming and/or engineering techniques.
  • article of manufacture encompasses a computer program accessible from any computer-readable device, carrier, or medium.
  • computer-readable media may include, but are not limited to: magnetic storage devices (eg, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (eg, compact discs (CD), digital universal discs (digital) discs, DVDs) Etc.), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.).
  • various storage media described herein may represent one or more devices and/or other machine-readable media for storing information.
  • machine-readable medium may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application essentially or part of the contribution to the existing technology or part of the technical solution can be embodied in the form of a software product
  • the computer software product is stored in a storage medium, including Several instructions are used to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .

Abstract

Provided are a method and apparatus for converting burst signals to continuous signals. The method comprises: an optical processing apparatus filling data in gaps between burst data packets contained in burst signals to obtain continuous signals containing continuous data packets, wherein the burst signals are received from multiple ONUs; encoding the continuous data packets to obtain continuous signals containing the encoded continuous data packets; and sending, to a network processing apparatus, and by means of a continuous SerDes, the continuous signals containing the encoded continuous data packets. In the above solution, the optical processing apparatus can convert burst signals to continuous signals, and transmit the continuous signals to a network processing apparatus by means of a continuous SerDes, thereby enhancing data transmission efficiency.

Description

一种突发信号转连续信号的方法、设备Method and equipment for converting burst signal to continuous signal 技术领域Technical field
本申请涉及通信领域,并且更具体地,涉及一种突发信号转连续信号的方法、设备。This application relates to the field of communications, and more specifically, to a method and device for converting a burst signal to a continuous signal.
背景技术Background technique
宽带接入技术近年来发展迅速,无源光纤网络(passive optical network,PON)已经完成大规模普及和迅速扩建。而随着用户数据需求量的不断急剧增大,10G PON已经进入规模部署阶段,下一代的PON系统标准也在逐步制定和完善。下一代PON系统的传输速率需要显著提升,ITU已经正式立项50G PON。Broadband access technology has developed rapidly in recent years, and passive optical network (PON) has completed large-scale popularization and rapid expansion. With the rapid increase in user data demand, 10G PON has entered the stage of large-scale deployment, and the next-generation PON system standards are gradually being formulated and improved. The transmission rate of the next-generation PON system needs to be significantly improved, and the ITU has officially established a 50G PON project.
PON系统包括了光线路终端(optical line terminal,OLT)和光网络单元(Optical Network Unit,ONU)两类网元,当上行传输时,OLT将会接收来自于不同ONU的信号,在下行传输时,OLT将会向ONU发送信号。PON系统是点对多点的时分复用的系统,通常上行传输的工作模式为突发模式。也就是说,OLT在不同的时刻需要接收来自不同ONU的信号。由于每个ONU与OLT之间的物理距离不同,OLT接收到的不同ONU发送的信号可能出现幅度不同,时间上有不同间隔的一系列突发数据包。The PON system includes two types of network elements: optical line terminal (OLT) and optical network unit (ONU). When transmitting upstream, the OLT will receive signals from different ONUs. When transmitting downstream, The OLT will send a signal to the ONU. The PON system is a point-to-multipoint time-division multiplexing system, and usually the working mode of upstream transmission is burst mode. In other words, the OLT needs to receive signals from different ONUs at different times. Because the physical distance between each ONU and the OLT is different, the signals sent by different ONUs received by the OLT may have different amplitudes and a series of burst data packets with different intervals in time.
目前现有技术中,在10G等当前PON技术中,OLT侧光模块接收到ONU的突发信号后,只能通过突发串行器/解串器(serializer/deserializer,SerDes)与OLT单板上的MAC芯片连接和数据传输。在25G/50G/100G等下一代PON中,继续采用突发SerDes在光模块和MAC芯片进行数据传输,将导致数据传输的效率大幅降低。In the current existing technology, in current PON technologies such as 10G, the OLT side optical module can only pass the burst serializer/deserializer (serializer/deserializer, SerDes) and the OLT single board after receiving the burst signal of the ONU. On the MAC chip connection and data transmission. In 25G/50G/100G and other next-generation PONs, the continued use of burst SerDes for data transmission in optical modules and MAC chips will result in a significant reduction in the efficiency of data transmission.
发明内容Summary of the invention
本申请提供一种突发信号转连续信号的方法、设备,可以将从多个ONU接收到的突发信号转换成连续信号,从而OLT侧光模块可以实现通过连续SerDes向MAC芯片进行数据传输,这可以提高数据传输的效率。This application provides a method and device for converting burst signals to continuous signals, which can convert burst signals received from multiple ONUs into continuous signals, so that the OLT side optical module can realize data transmission to the MAC chip through continuous SerDes. This can improve the efficiency of data transmission.
第一方面,提供了一种突发信号转连续信号的方法,该方法包括:光处理设备对突发信号包含的突发数据包之间的间隔进行数据填充,获得包含连续数据包的连续信号,其中,所述突发信号来自于多个ONU;对所述连续数据包进行编码,获得包含编码后的连续数据包的连续信号;通过连续SerDes将所述包含编码后的连续数据包的连续信号发送给网络处理设备。In the first aspect, a method for converting a burst signal to a continuous signal is provided. The method includes: an optical processing device performs data filling on the interval between the burst data packets contained in the burst signal to obtain a continuous signal containing continuous data packets , Wherein the burst signal comes from multiple ONUs; the continuous data packet is encoded to obtain a continuous signal containing the encoded continuous data packet; and the continuous SerDes is used to convert the continuous data packet containing the encoded continuous data packet The signal is sent to the network processing device.
应理解,由于光处理设备可以实现对突发信号转换成连续信号,这样光处理设备就可以利用连续SerDes向网络处理设备传输连续信号,采用该种方案,可以提高数据传输的效率。It should be understood that since the optical processing device can convert the burst signal into a continuous signal, the optical processing device can use continuous SerDes to transmit the continuous signal to the network processing device. Using this solution can improve the efficiency of data transmission.
应理解,光处理设备在对突发信号包含的突发数据包之间的间隔进行数据填充之前,还可以做多种对多个ONU发送的突发光信号进行处理,比如:光处理设备将突发光信号转换成电流信号;光处理设备将电流信号转换成电压信号,并将幅度不同的电压信号都放 大成幅度基本一致;光处理设备将模拟化的电压信号转换成数字信号;光处理设备对数字信号包含的多个突发数据包进行采样,获得多个最佳采样点和干扰信息,然后这些最佳采样点和干扰信息组成突发数据包;光处理设备还可以将整形处理,将上述干扰信息去除,只保留了包含最佳采样点的突发数据包;光处理设备还可以将突发数据包进行解码;光处理设备还可以对解码后的突发数据包进行解调,获得只包含0或1的突发数据包。在本发明实施例中,不管是哪类信号或者信号被做了如何处理,该信号均包含数据包,数据包根据情况可能为突发数据包或者连续数据包。It should be understood that before the optical processing device fills the intervals between the burst data packets contained in the burst signal, it can also perform various processing on the burst optical signals sent by multiple ONUs, for example: The burst optical signal is converted into a current signal; the optical processing device converts the current signal into a voltage signal, and amplifies the voltage signals with different amplitudes to basically the same amplitude; the optical processing device converts the analog voltage signal into a digital signal; optical processing The device samples multiple burst data packets contained in the digital signal to obtain multiple optimal sampling points and interference information, and then these optimal sampling points and interference information form a burst data packet; optical processing equipment can also shape and process, The above interference information is removed, and only the burst data packet containing the best sampling point is retained; the optical processing device can also decode the burst data packet; the optical processing device can also demodulate the decoded burst data packet, Obtain burst data packets containing only 0 or 1. In the embodiment of the present invention, no matter what type of signal or how the signal is processed, the signal includes a data packet, and the data packet may be a burst data packet or a continuous data packet according to the situation.
应理解,作为一个示例,本申请实施例中的光处理设备可以为OLT的光模块。It should be understood that, as an example, the optical processing device in the embodiment of the present application may be an optical module of an OLT.
结合第一方面,在第一方面的某些实现方式中,本申请实施例光模块对突发信号包含的突发数据包之间的间隔进行数据填充,可以具体为:利用扰码多项式对突发信号包含的突发数据包和所述突发数据包之间的间隔进行计算处理。作为一个示例,该扰码多项式为G(x)=1+X m+X n,其中,X m表示第m个比特,X n表示第n个比特,m和n自然数,n>m;此时利用扰码多项式对突发信号包含的突发数据包和所述突发数据包之间的间隔进行计算处理,具体可以理解为:在突发数据包和所述突发数据包之间的间隔所包含的所有比特中依次取出n个比特,在每n个比特中取出第m个比特和第n个比特;在所述每n个比特中将所述第m个比特和第n个比特与所述每n个比特中第1个比特相加,获得所述每n个比特的扰码后数据,所有的每n个比特数的扰码后数据形成连续数据包。 With reference to the first aspect, in some implementations of the first aspect, the optical module in the embodiment of the present application fills the intervals between the burst data packets contained in the burst signal, which may be specifically: using a scrambling polynomial to correct the burst. The burst data packet contained in the signal and the interval between the burst data packet are calculated and processed. As an example, the scrambling polynomial is G(x)=1+X m + X n , where X m represents the m-th bit, X n represents the n-th bit, m and n are natural numbers, and n>m; When using a scrambling code polynomial to calculate and process the interval between the burst data packet contained in the burst signal and the burst data packet, it can be specifically understood as: the interval between the burst data packet and the burst data packet Take n bits from all the bits included in the interval in turn, take the m-th bit and the n-th bit in every n bits; take the m-th bit and the n-th bit in every n bits Adding the first bit in every n bits to obtain the scrambled data of every n bits, and all the scrambled data of every n bits form a continuous data packet.
第二方面,提供了一种突发信号转连续信号的方法,该方法包括:网络处理设备通过连续SerDes接收光处理设备发送的连续信号,所述连续信号包含了编码后的连续数据包;对所述编码后的连续数据包进行解码,获得包含解码后的连续数据包的连续信号;去除所述解码后的连续数据包中填充的数据,获得解码后的突发数据包。In a second aspect, a method for converting a burst signal to a continuous signal is provided. The method includes: a network processing device receives a continuous signal sent by an optical processing device through a continuous SerDes, and the continuous signal contains an encoded continuous data packet; The encoded continuous data packet is decoded to obtain a continuous signal including the decoded continuous data packet; the data filled in the decoded continuous data packet is removed to obtain the decoded burst data packet.
结合第二方面,在第二方面的某些实现方式中,去除所述解码后的连续数据包中填充的数据,可以具体为:利用去扰码多项式对所述解码后的连续数据包进行计算处理,其中,所述去扰码多项式与所述光处理设备采用的扰码多项式是相同或者具有互逆关系。作为一个示例,该去扰码多项式为G(x)=1+X m+X n,其中,X m表示第m个比特,X n表示第n个比特,m和n自然数,n>m;此时利用去扰码多项式对解码后的连续数据包进行计算处理,可以理解为:在所述编码后的连续数据包所包含的所有比特中依次取出n个比特,在每n个比特中取出第m个比特和第n个比特;在所述每n个比特中将所述第m个比特和第n个比特与所述每n个比特中第1个比特相减,获得所述每n个比特的去扰码后数据,所有的每n个比特数的去扰码后数据形成突发数据包。 With reference to the second aspect, in some implementations of the second aspect, removing the data filled in the decoded continuous data packet may be specifically: using a descrambling code polynomial to calculate the decoded continuous data packet Processing, wherein the descrambling code polynomial and the scrambling code polynomial adopted by the optical processing device are the same or have a reciprocal relationship. As an example, the descrambling code polynomial is G(x)=1+X m + X n , where X m represents the m-th bit, X n represents the n-th bit, m and n are natural numbers, and n>m; At this time, the descrambling code polynomial is used to calculate and process the decoded continuous data packet, which can be understood as: take out n bits in turn from all the bits contained in the encoded continuous data packet, and take out every n bits The mth bit and the nth bit; in each n bits, the mth bit and the nth bit are subtracted from the first bit in every n bits to obtain the every n The data after the descrambling code of one bit, and all the data after the descrambling code of every n bits form a burst data packet.
第三方面,本申请实施例提供了一种光处理设备,包括用于实施第一方面的任意一种方法的若干个功能单元。举例来说,光处理设备可以包括:In the third aspect, an embodiment of the present application provides an optical processing device, which includes several functional units for implementing any method of the first aspect. For example, the optical processing equipment may include:
扰码模块,用于对突发信号包含的突发数据包之间的间隔进行数据填充,获得包含连续数据包的连续信号,其中,所述突发信号来自于多个ONU。The scrambling code module is used to fill the intervals between the burst data packets contained in the burst signal to obtain a continuous signal containing continuous data packets, where the burst signal comes from multiple ONUs.
编码模块,用于对所述连续数据包进行编码,获得包含编码后的连续数据包的连续信号,并通过连续SerDes将所述包含编码后的连续数据包的连续信号发送给网络处理设备。The encoding module is configured to encode the continuous data packet to obtain a continuous signal containing the encoded continuous data packet, and send the continuous signal containing the encoded continuous data packet to the network processing device through the continuous SerDes.
第四方面,本申请实施例提供了一种网络处理设备,包括用于实施第二方面的任意一种方法的若干个功能单元。举例来说,网络处理设备可以包括:In a fourth aspect, an embodiment of the present application provides a network processing device, including several functional units for implementing any method of the second aspect. For example, the network processing equipment may include:
解码模块,用于通过连续SerDes接收光处理设备发送的连续信号,所述连续信号包 含了编码后的连续数据包对所述编码后的连续数据包进行解码,获得包含解码后的连续数据包的连续信号。The decoding module is used to receive the continuous signal sent by the optical processing device through the continuous SerDes, the continuous signal contains the encoded continuous data packet, decode the encoded continuous data packet, and obtain the continuous signal containing the decoded continuous data packet Continuous signal.
去扰码模块,用于去除所述解码后的连续数据包中填充的数据,获得解码后的突发数据包。The descrambling code module is used to remove the data filled in the decoded continuous data packet to obtain the decoded burst data packet.
第五方面,本申请实施例提供一种光处理设备,包括:相互耦合的非易失性存储器和处理器,所述处理器调用存储在所述存储器中的程序代码以执行第一方面的任意一种方法的部分或全部步骤。In a fifth aspect, an embodiment of the present application provides an optical processing device, including: a non-volatile memory and a processor coupled with each other, the processor calls the program code stored in the memory to execute any of the first aspect Part or all of the steps of a method.
第六方面,本申请实施例提供一种网络处理设备,包括:相互耦合的非易失性存储器和处理器,所述处理器调用存储在所述存储器中的程序代码以执行第二方面的任意一种方法的部分或全部步骤。In a sixth aspect, an embodiment of the present application provides a network processing device, including: a non-volatile memory and a processor coupled with each other, the processor calls the program code stored in the memory to execute any of the second aspect Part or all of the steps of a method.
第七方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储了程序代码,其中,所述程序代码包括用于执行第一方面的任意一种方法的部分或全部步骤的指令。In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores program code, wherein the program code includes part or Instructions for all steps.
第八方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储了程序代码,其中,所述程序代码包括用于执行第二方面的任意一种方法的部分或全部步骤的指令。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores program code, wherein the program code includes part or Instructions for all steps.
第九方面,本申请实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。In a ninth aspect, the embodiments of the present application provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute part or all of the steps of any method in the first aspect.
第十方面,本申请实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面的任意一种方法的部分或全部步骤。According to a tenth aspect, an embodiment of the present application provides a computer program product that, when the computer program product runs on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect.
第十一方面,本申请实施例提供了一种系统,包括:如任意第三方面的光处理设备和如任意第四方面的网络处理设备。In an eleventh aspect, an embodiment of the present application provides a system, including: an optical processing device as in any third aspect and a network processing device as in any fourth aspect.
应当理解的是,本申请的第二至十一方面与本申请的第一方面的技术方案一致,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。It should be understood that the second to eleventh aspects of the present application are consistent with the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and corresponding feasible implementation manners are similar, and will not be repeated.
附图说明BRIEF DESCRIPTION
图1是本申请实施例提供的一种PON的应用场景示意图。Fig. 1 is a schematic diagram of an application scenario of a PON provided by an embodiment of the present application.
图2是本申请实施例提供的一种PON的参考模型示意图。Fig. 2 is a schematic diagram of a PON reference model provided by an embodiment of the present application.
图3是本申请实施例提供的一种OLT的参考模型示意图。FIG. 3 is a schematic diagram of a reference model of an OLT provided by an embodiment of the present application.
图4是本申请实施例提供的一种突发信号转连续信号的方法的示意性流程图。FIG. 4 is a schematic flowchart of a method for converting a burst signal to a continuous signal according to an embodiment of the present application.
图5是本申请实施例提供的扰码多项式的扰码计算的示意性框图。Fig. 5 is a schematic block diagram of scrambling code calculation of a scrambling code polynomial provided in an embodiment of the present application.
图6是本申请实施例提供的连续数据包的帧格式示意图。Fig. 6 is a schematic diagram of a frame format of a continuous data packet provided by an embodiment of the present application.
图7是提供的去扰码多项式的去扰码计算的示意性框图。Fig. 7 is a schematic block diagram of the descrambling code calculation of the descrambling code polynomial provided.
图8是本申请实施例的一个仿真例子的示意图。Fig. 8 is a schematic diagram of a simulation example of an embodiment of the present application.
图9是本申请实施例提供的光处理设备900的示意性框图。FIG. 9 is a schematic block diagram of an optical processing device 900 provided by an embodiment of the present application.
图10是本申请实施例提供的网络处理设备1000的示意性框图。FIG. 10 is a schematic block diagram of a network processing device 1000 according to an embodiment of the present application.
图11是本申请实施例提供的另一种光处理设备1100的示意性框图。FIG. 11 is a schematic block diagram of another optical processing device 1100 according to an embodiment of the present application.
图12是本申请实施例提供的另一种网络处理设备1200的示意性框图。FIG. 12 is a schematic block diagram of another network processing device 1200 according to an embodiment of the present application.
具体实施方式detailed description
下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below in conjunction with the drawings.
本发明实施例的技术方案,可以应用于各种以太网无源光网络(Ethernet Passive Optical Network,EPON)和吉比特无源光网络(Gigabit Passive Optical Network,GPON)中,如10G EPON、单波25G EPON、2ⅹ25G EPON、单波50G EPON、2ⅹ50G EPON以及100G EPON等,以及GPON,XGPON,XGSPON,基于时分和波分复用的无源光网络(time wavelength division multiplexing passive optical network,TWDMPON)或其他类型的GPON中。The technical solutions of the embodiments of the present invention can be applied to various Ethernet Passive Optical Network (EPON) and Gigabit Passive Optical Network (GPON), such as 10G EPON, single wave 25G EPON, 2ⅹ25G EPON, single-wave 50G EPON, 2ⅹ50G EPON, 100G EPON, etc., as well as GPON, XGPON, XGSPON, time and wavelength division multiplexing based passive optical networks (time wavelength division multiplexing, passive optical network, TWDMPON) or others Type of GPON.
在当前的网络结构中,已经实现了网络主干的铺设。通过无源光网络(passive optical network,PON)的大规模普及和迅速扩建,实现了连接网络主干和局域网或家庭用户之间的一段。如参考图1所示,为PON在网络结构中的位置的示意图,光线路终端(optical line terminal,OLT)是PON的核心部件,提供面向用户的无源光网络的光纤接口。OLT的一端向上连接上层网络,完成PON的上行接入。上层网络可以是互联网协议(internet protocol,IP)骨干网或公共交换电话网络(public switched telephone network,PSTN)。OLT的另一端通过光分配网络(optical distribution network,ODN)向下连接光网络单元(optical network unit,ONU),完成PON的下行传输,实现对ONU的控制、管理和测距等功能。图示中的OLT可以通过ODN同时为多个ONU提供服务,而1个ONU又可以同时为多个用户设备服务,如手机、电脑等,此处不做限定。In the current network structure, the laying of the network backbone has been achieved. Through the large-scale popularization and rapid expansion of passive optical network (PON), a section between the network backbone and the local area network or home users has been realized. As shown with reference to Figure 1, it is a schematic diagram of the position of the PON in the network structure. The optical line terminal (optical line terminal, OLT) is the core component of the PON and provides a user-oriented optical fiber interface for the passive optical network. One end of the OLT is connected to the upper network to complete the upstream access of the PON. The upper network may be an Internet Protocol (IP) backbone network or a public switched telephone network (PSTN). The other end of the OLT connects to an optical network unit (ONU) through an optical distribution network (optical distribution network, ODN), completes the downstream transmission of the PON, and realizes functions such as ONU control, management, and ranging. The OLT in the figure can provide services for multiple ONUs at the same time through ODN, and one ONU can serve multiple user equipments at the same time, such as mobile phones, computers, etc., which is not limited here.
图2为适用本发明各个实施例的PON系统的架构示意图,如图2所示,PON系统200包括至少一个OLT210、至少一个ODN220和多个ONU230。其中,OLT210为PON系统200提供网络侧接口,ONU230为PON系统200提供用户侧接口,与ODN 220相连。如果ONU230直接提供用户端口功能,则称为光网络终端(Optical Network Terminal,ONT)。为了便于描述,下文所提到的ONU230统指可以直接提供用户端口功能的ONT和提供用户侧接口的ONU。ODN 220是由光纤和无源分光器件组成的网络,用于连接OLT210设备和ONU230设备,用于分发或复用OLT210和ONU 230之间的数据信号。FIG. 2 is a schematic diagram of the architecture of a PON system to which various embodiments of the present invention are applied. As shown in FIG. 2, the PON system 200 includes at least one OLT 210, at least one ODN 220 and multiple ONUs 230. Among them, the OLT 210 provides a network side interface for the PON system 200, and the ONU 230 provides a user side interface for the PON system 200, which is connected to the ODN 220. If the ONU 230 directly provides the user port function, it is called an optical network terminal (Optical Network Terminal, ONT). For ease of description, the ONU 230 mentioned below collectively refers to an ONT that can directly provide a user port function and an ONU that provides a user-side interface. ODN 220 is a network composed of optical fibers and passive optical splitting devices, used to connect OLT210 equipment and ONU230 equipment, and used to distribute or multiplex data signals between OLT210 and ONU230.
在该PON系统200中,从OLT 210到ONU230的方向定义为下行方向,而从ONU230到OLT210的方向定义为上行方向。在下行方向,OLT210采用时分复用(Time Division Multiplexing,TDM)方式将下行数据广播给该OLT 110管理的多个ONU230,各个ONU 230只接收携带自身标识的数据;而在上行方向,多个ONU230采用时分多址(Time Division Multiple Access,TDMA)的方式与OLT210进行通信,每个ONU230按照OLT210为其分配的时域资源(又可以称为时隙)发送上行数据。在上行方向,采用TDMA技术,把光纤的占用按一定时间长度分成时段,在每个时段,只有一台ONU能够占用光纤向OLT发送数据,其余ONU则关闭激光器,不发送光信号。OLT通过发送控制数据包指定ONU发送数据的时段,来避免冲突的产生。OLT为了获得正确的时间偏移量和功率调整,需要对不同的ONU进行测距,由于测距的结果可能存在误差,这些误差可能会引起OLT同时接收不同ONU发送光信号而导致的冲突,为了避免这个冲突,OLT引入了不同ONU发送光信号之间存在时间间隔的保护机制,确保了OLT接收不同ONU发送的光信号之间存在间隔,从而避免了上述冲突,但也导致了OLT接收不同ONU的光信号之间是突发的,即非连续的。因此采用上述机制,OLT210发送的下行光信号为连续的光信号,而ONU230 发送的上行光信号为突发的光信号。In the PON system 200, the direction from the OLT 210 to the ONU 230 is defined as the downstream direction, and the direction from the ONU 230 to the OLT 210 is defined as the upstream direction. In the downstream direction, the OLT 210 uses Time Division Multiplexing (TDM) to broadcast downstream data to multiple ONUs 230 managed by the OLT 110, and each ONU 230 only receives the data carrying its own identity; while in the upstream direction, multiple ONUs 230 It communicates with the OLT 210 in a Time Division Multiple Access (TDMA) manner, and each ONU 230 transmits uplink data according to the time domain resources (also referred to as time slots) allocated by the OLT 210 to it. In the upstream direction, the TDMA technology is used to divide the fiber occupation into time periods. In each time period, only one ONU can occupy the fiber to send data to the OLT, and the other ONUs turn off the laser and do not send optical signals. The OLT specifies the time period for the ONU to send data by sending control data packets to avoid conflicts. In order to obtain the correct time offset and power adjustment, the OLT needs to perform ranging on different ONUs. Because the results of ranging may have errors, these errors may cause conflicts caused by the OLT receiving optical signals sent by different ONUs at the same time. To avoid this conflict, the OLT introduces a protection mechanism in which there is a time interval between optical signals sent by different ONUs to ensure that there is an interval between the OLT receiving optical signals sent by different ONUs, thereby avoiding the above conflicts, but also causing the OLT to receive different ONUs The optical signals are bursty, that is, discontinuous. Therefore, using the above mechanism, the downstream optical signal sent by the OLT 210 is a continuous optical signal, and the upstream optical signal sent by the ONU 230 is a burst optical signal.
OLT210通常位于中心局(Central Office,CO),可以统一管理至少一个ONU230,并在ONU230与上层网络之间传输数据。具体来说,该OLT210可以充当ONU230与所述上层网络(比如因特网、公共交换电话网络(Public Switched Telephone Network,PSTN)之间的媒介,将从上层网络接收到的数据转发到ONU230,以及将从ONU230接收到的数据转发到该上层网络。该OLT210的具体结构配置可能会因该PON系统200的具体类型而异,比如,在一种实施例中,该OLT210可以包括发射机和接收机,该发射机用于向ONU230发送下行连续光信号,该接收机用于接收来自ONU230的上行突发光信号,其中该下行光信号和上行光信号可以通过该ODN220进行传输,但本发明实施例不限于此。The OLT 210 is usually located in a central office (Central Office, CO), and can uniformly manage at least one ONU 230 and transmit data between the ONU 230 and the upper network. Specifically, the OLT 210 can act as an intermediary between the ONU 230 and the upper-layer network (such as the Internet, Public Switched Telephone Network (PSTN)), and forward data received from the upper-layer network to the ONU 230, and The data received by the ONU 230 is forwarded to the upper network. The specific structure and configuration of the OLT 210 may vary depending on the specific type of the PON system 200. For example, in an embodiment, the OLT 210 may include a transmitter and a receiver. The transmitter is used to send the downstream continuous optical signal to the ONU230, and the receiver is used to receive the upstream burst optical signal from the ONU230, wherein the downstream optical signal and the upstream optical signal can be transmitted through the ODN220, but the embodiment of the present invention is not limited to this.
ONU230可以分布式地设置在用户侧位置(比如用户驻地)。该ONU230可以为用于与OLT210和用户进行通信的网络设备,具体而言,该ONU230可以充当OLT210与用户之间的媒介,例如,ONU230可以将从该OLT210接收到的数据转发到用户,以及将从该用户接收到的数据转发到OLT210。The ONU 230 can be distributed in a user-side location (such as a user premises). The ONU 230 may be a network device used to communicate with the OLT 210 and the user. Specifically, the ONU 230 may act as an intermediary between the OLT 210 and the user. For example, the ONU 230 may forward the data received from the OLT 210 to the user, and transfer The data received from the user is forwarded to the OLT 210.
ODN220可以是一个数据分发网络,可以包括光纤、光耦合器、分光器或其他设备。在一个实施例中,该光纤、光耦合器、分光器或其他设备可以是无源光器件,具体来说,该光纤、光耦合器、分光器或其他设备可以是在OLT210和ONU230之间分发数据信号时不需要电源支持的器件。具体地说,以光分路器(Splitter)为例,该光分路器可以通过主干光纤连接到OLT210,并分别通过多个分支光纤连接到多个ONU230,从而实现OLT210和ONU230之间的点到多点连接。另外,在其他实施例中,该ODN220还可以包括一个或多个处理设备,例如,光放大器或者中继设备(Relay device)。另外,ODN220具体可以从OLT 210延伸到多个ONU 230,但也可以配置成其他任何点到多点的结构,本发明实施例不限于此。ODN220 can be a data distribution network, which can include optical fibers, optical couplers, optical splitters, or other devices. In an embodiment, the optical fiber, optical coupler, optical splitter, or other device may be a passive optical device, specifically, the optical fiber, optical coupler, optical splitter, or other device may be distributed between the OLT 210 and the ONU 230 A device that does not require power support for data signals. Specifically, taking an optical splitter (Splitter) as an example, the optical splitter can be connected to the OLT 210 through a backbone fiber, and connected to multiple ONUs 230 through multiple branch fibers, thereby realizing the point between the OLT 210 and the ONU 230 To multipoint connection. In addition, in other embodiments, the ODN 220 may also include one or more processing devices, for example, an optical amplifier or a relay device (Relay device). In addition, the ODN 220 may specifically extend from the OLT 210 to multiple ONUs 230, but may also be configured in any other point-to-multipoint structure, and the embodiment of the present invention is not limited thereto.
图3是本申请实施例提供的一种OLT的参考模型示意。图3所示,OLT包括了单板31和光模板32,其中单板31包含了时钟模块311和媒质接入控制(media access control,MAC)芯片312,进一步地,MAC芯片312包含了MAC模块3121,去扰码模块3122和硬判决解码器3123。光模块32包含了突发转连续模块321、跨阻放大器(transimpedance ampl ifier,TIA)322和光电接收机(photoelectric receptor,PD)323,进一步地,突发转连续模块321还包含了硬判决编码器3211、扰码模块3212、解调模块3213、软判决解码器3214、均衡器3215、时钟恢复模块3216和模数转换器(analogue-to-digital converter,ADC)3217。OLT还可以包括其他部件,例如:防尘网、理线架、风扇模块等,此处不做限定。在一些可行的实施例中,光模块32可以集成在单板31中,也可以作为单板的外接设备,此处不做限定。下面的实施例中,以光模块32为单板31的外界设备为例进行说明。需要说明的是,MAC芯片312可以通过MAC协议控制节点对物理层的访问。在本申请实施例中,光模板32可以对接收的光信号进行光电转换以及突发信号到连续信号的转换。FIG. 3 is a schematic diagram of a reference model of an OLT provided by an embodiment of the present application. As shown in FIG. 3, the OLT includes a single board 31 and an optical template 32. The single board 31 includes a clock module 311 and a media access control (media access control, MAC) chip 312. Further, the MAC chip 312 includes a MAC module 3121 , De-scrambling code module 3122 and hard decision decoder 3123. The optical module 32 includes a burst-to-continuous module 321, a transimpedance amplifier (TIA) 322, and a photoelectric receiver (PD) 323. Furthermore, the burst-to-continuous module 321 also includes a hard decision code A device 3211, a scrambling code module 3212, a demodulation module 3213, a soft decision decoder 3214, an equalizer 3215, a clock recovery module 3216, and an analog-to-digital converter (ADC) 3217. The OLT may also include other components, such as a dust-proof net, a cable management frame, and a fan module, which are not limited here. In some feasible embodiments, the optical module 32 may be integrated in the single board 31, or may be used as an external device of the single board, which is not limited here. In the following embodiment, an external device in which the optical module 32 is the single board 31 is taken as an example for description. It should be noted that the MAC chip 312 can control the node's access to the physical layer through the MAC protocol. In the embodiment of the present application, the optical template 32 can perform photoelectric conversion of the received optical signal and conversion of a burst signal to a continuous signal.
时钟模块311可以向光模块32发送2路差分时钟信号。需要说明的是,时钟信号是由时钟发生器产生的,具有固定的时钟频率,通常被用于同步电路当中,决定逻辑单元中的状态何时更新,是有固定周期并与运行无关的信号量,从而扮演计时器的角色,保证相关的电子组件得以同步运作。时钟发生器是用一个可以提供方波输出的振荡器来生成时钟 的,振荡器电路始终使用反馈的方式来使振荡器振荡,通过反馈相应的参数,使得振荡器工作在一个特定频率。在一个可能的例子中,通过差分传输的方式和2路差分时钟信号,以保证MAC芯片312和光模块32以同步运作。在一些可行的实施例中,时钟模块311也可以集成在MAC芯片312中,此处不做限定。时钟模块同时为MAC芯片和光模块提供时钟(单一频率的信号,驱动光模块和MAC芯片按照该频率进行业务处理),使得光模块和MAC芯片的时钟保持同源,从而保证了MAC芯片和光模块处理接收的信号频率相同,确保两者处理的同步,避免了某一方的处理信号的拥塞。The clock module 311 can send two differential clock signals to the optical module 32. It should be noted that the clock signal is generated by a clock generator and has a fixed clock frequency. It is usually used in synchronization circuits to determine when the state in the logic unit is updated. It is a signal with a fixed period and independent of operation. , So as to play the role of a timer, to ensure that the related electronic components can be synchronized operation. The clock generator uses an oscillator that can provide a square wave output to generate the clock. The oscillator circuit always uses feedback to make the oscillator oscillate. By feeding back the corresponding parameters, the oscillator works at a specific frequency. In a possible example, differential transmission and two differential clock signals are used to ensure that the MAC chip 312 and the optical module 32 operate in synchronization. In some feasible embodiments, the clock module 311 may also be integrated in the MAC chip 312, which is not limited here. The clock module provides clocks for both the MAC chip and the optical module at the same time (signal of a single frequency, drives the optical module and the MAC chip to perform business processing according to this frequency), so that the clocks of the optical module and the MAC chip remain the same, thereby ensuring the processing of the MAC chip and the optical module The frequency of the received signal is the same, which ensures the synchronization of the two processing and avoids the congestion of the processing signal of one party.
光模块PD323可以用于对来自于不同ONU的上行突发光信号转换成电流信号。PD323可以是利用光电效应把通信中光信号转换为电流信号的光电检测器,例如光电检波器或者光电二极管(如雪崩二极管)等实现。TIA322可以用于将电流信号转换成电压信号,并将电压信号的不同幅度调整成基本一致。TIA322可以采用高输入阻抗负反馈结构,这种结构具有设计简单和带宽较高的特点。ADC3217可以实现对模拟信号(电压信号)转换成数字信号。时钟恢复模块3216可以在数字信号中提取时钟信号并找出数据和时钟正确的相位关系,并利用这个恢复出来的时钟信号对数据流中的数据进行采样,获得每个突发数据包中多个最佳采样点,每个突发数据包所包含所有最佳采样点又重新组成了时钟恢复后的突发数据包。这个时钟恢复后的突发数据包包含了干扰信息。均衡器3215可以用于均衡整形处理,去除掉时钟恢复后的突发数据包中的干扰信息。均衡器3215主要可用于补偿由于带宽不足的光器件或者光纤色散对高速率数据的影响,以及,补偿数据在传输信道(即光纤)中受到的码间干扰、信道衰落等因素造成的信号畸变,从而正确恢复对端发送的数据。软判决解码器3214可以用于将数字信号包含的突发数据包进行纠错解码。解调模块3213用于对解码后的突发数据包进行解调,使得解调后的突发数据包仅包含0或1的比特。扰码模块3212用于对非连续的突发数据包之间的间隔填充一些扰码,使得这些非连续的数据变成连续的信号。硬判决编码器3211可以用于对转换成连续的信号进行纠错编码,并通过连续的连续SerDes将转换后的连续信号发送给单板的MAC芯片。The optical module PD323 can be used to convert upstream burst optical signals from different ONUs into current signals. The PD323 can be a photodetector that uses the photoelectric effect to convert an optical signal in communication into a current signal, such as a photodetector or a photodiode (such as an avalanche diode). TIA322 can be used to convert current signals into voltage signals and adjust the different amplitudes of the voltage signals to be basically the same. TIA322 can adopt a high input impedance negative feedback structure, which has the characteristics of simple design and high bandwidth. ADC3217 can convert analog signals (voltage signals) into digital signals. The clock recovery module 3216 can extract the clock signal from the digital signal and find the correct phase relationship between the data and the clock, and use the recovered clock signal to sample the data in the data stream to obtain multiple data packets in each burst The best sampling point, all the best sampling points contained in each burst data packet reconstitute the burst data packet after clock recovery. This burst data packet after clock recovery contains interference information. The equalizer 3215 can be used for equalizing and shaping processing to remove interference information in the burst data packet after clock recovery. The equalizer 3215 can be mainly used to compensate for the impact of insufficient bandwidth optical components or fiber dispersion on high-rate data, and to compensate for signal distortion caused by inter-symbol interference and channel fading in the transmission channel (ie, optical fiber). In this way, the data sent by the opposite end is restored correctly. The soft decision decoder 3214 can be used to perform error correction decoding on the burst data packet contained in the digital signal. The demodulation module 3213 is used to demodulate the decoded burst data packet so that the demodulated burst data packet only contains 0 or 1 bits. The scrambling code module 3212 is used to fill the intervals between discontinuous burst data packets with some scrambling codes, so that these discontinuous data become continuous signals. The hard decision encoder 3211 can be used to perform error correction encoding on the converted continuous signal, and send the converted continuous signal to the MAC chip of the single board through continuous continuous SerDes.
MAC芯片的硬判决解码器3123可以用于通过连续的连续SerDes接收转换后的连续信号,对连续数字信号进行纠错解码。去扰码模块3122可以用于对转换成连续的信号中扰码去除掉,恢复成非连续的突发信号。MAC模块3121可以用于对非连续的突发信号的MAC正常处理。The hard decision decoder 3123 of the MAC chip can be used to receive the converted continuous signal through continuous continuous SerDes, and perform error correction and decoding on the continuous digital signal. The descrambling code module 3122 can be used to remove the scrambling code in the converted continuous signal and restore it to a non-continuous burst signal. The MAC module 3121 may be used for MAC normal processing of discontinuous burst signals.
以下提出一种PON系统中的突发信号转连续信号处理方法,下面将结合附图3和4,对本发明实施例所提供的时间同步方法进行详细的描述,如图4所示,该方法包括步骤S400至S411,各个步骤的具体实施方式如下:The following presents a method for processing burst signals to continuous signals in a PON system. The time synchronization method provided by the embodiments of the present invention will be described in detail below in conjunction with FIGS. 3 and 4. As shown in FIG. 4, the method includes Steps S400 to S411, the specific implementation of each step is as follows:
S400:光模块32内的PD323接收来自于不同ONU发送的上行光信号,这些光信号承载了用户数据,这些光信号是突发的,因此也将用户数据称为突发数据包,多个突发数据包形成了数据流。由于不同的ONU离OLT的物理距离不同,因此来自于不同ONU的光信号到达PD323时的幅度是各不相同的,比如附图3中的突发数据包1,突发数据包2和突发数据包3。另外,由于OLT需要对ONU进行测距,但是测距的结果可能存在误差,这可能导致OLT将同时接收不同ONU发送光信号的冲突,为了避免这个冲突,OLT引入了不同ONU发送光信号之间存在时间间隔的保护机制,因此OLT接收不同ONU发送的光信号之间在时间上留有一定的间隔。PD323将接收到的光信号转换成电流信号E1, 因为PD323接收光信号的过程是持续的,这个转换过程也是是持续。进行光电转换的信号所承载的突发数据包是不变的,因此转换后电流信号E1所包含的各个突发数据包的幅度和间隔保持不变。PD323将电流信号E1发送给TIA322。S400: The PD323 in the optical module 32 receives upstream optical signals sent from different ONUs. These optical signals carry user data. These optical signals are bursts. Therefore, the user data is also called burst data packets. Sending data packets forms a data stream. Since different ONUs have different physical distances from the OLT, the amplitudes of the optical signals from different ONUs when they reach the PD323 are different, such as burst packet 1, burst packet 2, and burst in Figure 3 Packet 3. In addition, because the OLT needs to perform ranging on the ONU, there may be errors in the results of the ranging, which may cause the OLT to receive the conflict between the optical signals sent by different ONUs at the same time. In order to avoid this conflict, the OLT introduces the optical signals sent by different ONUs. There is a time interval protection mechanism, so there is a certain interval in time between the OLT receiving the optical signals sent by different ONUs. PD323 converts the received optical signal into a current signal E1, because the process of PD323 receiving the optical signal is continuous, and this conversion process is also continuous. The burst data packet carried by the photoelectric conversion signal is unchanged, so the amplitude and interval of each burst data packet contained in the current signal E1 after conversion remain unchanged. PD323 sends the current signal E1 to TIA322.
S401:TIA322接收到了电流信号E1,可以将电流信号E1转换成电压信号E2,以及将各个幅度不同的承载突发数据包的电压信号E2的幅度放大基本一致,例如:该统一放大后的幅度可以设定为500mv。TIA322将电压信号E2发送给突发转连续模块321。S401: The TIA322 receives the current signal E1, can convert the current signal E1 into a voltage signal E2, and amplify the amplitudes of the voltage signals E2 carrying burst data packets with different amplitudes to be basically the same, for example: the unified amplified amplitude can be Set to 500mv. The TIA322 sends the voltage signal E2 to the burst-to-continuous module 321.
S402:突发转连续模块321中的ADC3217接收到了电压信号E2,并将电压信号E2转换成数字信号E3,将数字信号E3发送到时钟恢复模块3216。其中,数字信号E3所包含的不同突发数据包在幅度上接近一致,但不同的突发数据包之间在时间上留有一定的间隔,即突发数据包之间是不连续的。S402: The ADC 3217 in the burst-to-continuous module 321 receives the voltage signal E2, converts the voltage signal E2 into a digital signal E3, and sends the digital signal E3 to the clock recovery module 3216. Among them, the different burst data packets contained in the digital signal E3 are close to the same in amplitude, but a certain interval is left between the different burst data packets in time, that is, the burst data packets are not continuous.
S403:时钟恢复模块3216接收了数字信号E3,利用时钟数据恢复(clock data recovery,CDR)技术,在数字信号E3中提取时钟信息并找出突发数据包和时钟正确的相位关系,并利用这个提取出来的时钟信号对不同突发数据包进行采样,获得每个突发数据包的最佳采样点,这些最佳采样点形成了数字信号E4,由于在采样过程中,各个最佳采样点的左右相邻最佳采样点可能会对该最佳采样点形成干扰,因此该数字信号E4中还包含了干扰信息。上述时钟信息可以为突发数据包传输的速率。每个突发数据包所包含的最佳采样点是具有多个的,由于采样每个突发数据包所消耗的时间是相同,但是每个突发数据包所占用的时间值是不同的,因此每个突发数据包所包含的最佳采样点个数可能也不同。例如:附图3中突发数据包1所包含最佳采样点可能为80个,突发数据包2所包含最佳采样点可能为100个,突发数据包3所包含最佳采样点可能为50个。每个突发数据包所包含所有最佳采样点又重新组成了时钟恢复后的突发数据包。这个时钟恢复后的突发数据包包含了干扰信息。S403: The clock recovery module 3216 receives the digital signal E3, uses clock data recovery (CDR) technology to extract the clock information from the digital signal E3 and finds the correct phase relationship between the burst data packet and the clock, and uses this The extracted clock signal samples different burst data packets to obtain the best sampling point of each burst data packet. These best sampling points form the digital signal E4. Because in the sampling process, each best sampling point is The optimal sampling point adjacent to the left and right may cause interference to the optimal sampling point, so the digital signal E4 also contains interference information. The above clock information may be the transmission rate of burst data packets. There are multiple optimal sampling points contained in each burst data packet. Since the time consumed to sample each burst data packet is the same, the time value occupied by each burst data packet is different. Therefore, the number of optimal sampling points contained in each burst data packet may also be different. For example: in Figure 3, the best sampling points contained in burst packet 1 may be 80, the best sampling points contained in burst packet 2 may be 100, and the best sampling points contained in burst packet 3 may be Is 50. All the best sampling points contained in each burst data packet reconstitute the burst data packet after clock recovery. This burst data packet after clock recovery contains interference information.
S404:均衡器3215接收了数字信号E4,对数字信号E4进行均衡整形处理,去掉数字信号E4包含的干扰信息,获得数字信号E5,以及将数字信号E5发送给软判决解码器3214。均衡器3215可以用于优化信号质量。数字信号E5包含了去除了干扰信息的突发数据包。S404: The equalizer 3215 receives the digital signal E4, performs equalization and shaping processing on the digital signal E4, removes the interference information contained in the digital signal E4, obtains the digital signal E5, and sends the digital signal E5 to the soft decision decoder 3214. The equalizer 3215 can be used to optimize signal quality. The digital signal E5 contains burst data packets from which interference information is removed.
S405:软判决解码器3214接收了数字信号E5,对数字信号E5进行纠错解码,获得数字信号E6,以及将数字信号E6发送给解调模块3213。由于ONU中发送的信号均被纠错编码,被纠错编码的信号无法进行数据填充等,为了能够对数字信号E5进行数据填充,则需要软判决解码器3214对数字信号E5进行纠错解码。此处解码目的是为了确保ONU到OLT之间无误码传输。由于ONU端对突发数据包采用的是软判决编码器的编码,所以在光模块中相应地采用了软判决解码器进行解码,采用了软判决编解码方式可以使得纠前误码率能够达到2×10 -2S405: The soft decision decoder 3214 receives the digital signal E5, performs error correction decoding on the digital signal E5, obtains the digital signal E6, and sends the digital signal E6 to the demodulation module 3213. Since the signals sent in the ONU are all error-corrected and encoded, the error-corrected-encoded signals cannot be filled with data. In order to fill the digital signal E5 with data, the soft decision decoder 3214 needs to perform error correction and decoding on the digital signal E5. The purpose of decoding here is to ensure error-free transmission between ONU and OLT. Since the ONU uses a soft decision encoder to encode burst data packets, a soft decision decoder is used in the optical module for decoding. The soft decision codec method can make the pre-correction error rate reach 2×10 -2 .
S406:解调模块3213接收了数字信号E6,对数字信号E6进行解调,即每个突发数据包包含了0或者1的数据比特,获得包含解调后的突发数据包的数字信号E7,以及将数字信号E7发送给扰码模块3212。S406: The demodulation module 3213 receives the digital signal E6, demodulates the digital signal E6, that is, each burst data packet contains 0 or 1 data bits, and obtains the digital signal E7 containing the demodulated burst data packet , And send the digital signal E7 to the scrambling module 3212.
S407:扰码模块3212接收了数字信号E7,对突发数据包和突发数据包之间的间隔进行扰码,从而使得数字信号E7包含的各个突发数据包之间的间隔实现了数据填充,从而实现了将突发的数字信号E7转换成连续的数字信号E8。扰码模块3212将数字信号E8发 送给硬判决编码器3211,数字信号E8包含了连续数据包。S407: The scrambling module 3212 receives the digital signal E7, and scrambles the interval between the burst data packet and the burst data packet, so that the interval between the burst data packets contained in the digital signal E7 is filled with data , Thereby realizing the conversion of the burst digital signal E7 into a continuous digital signal E8. The scrambling module 3212 sends the digital signal E8 to the hard decision encoder 3211, and the digital signal E8 contains continuous data packets.
这里扰码的方式可以利用扰码多项式对突发数据包和突发数据包之间的间隔进行计算,获得扰码后的数据。扰码多项式可以有多种不同的,如图5的扰码多项式为G(x)=1+X m+X n是一个例子,X m表示第m个比特(bit),X n表示第n个比特,m和n自然数,n>m。利用该扰码多项式对突发数据包和突发数据包之间的间隔进行计算可以理解为:在突发数据包和所述突发数据包之间的间隔所包含的所有比特中依次取出n个比特(如果最后一次所取的n个比特的数量不够n,则可以通过适当数量的0或者1来补齐n个数量的比特),在每n个比特中取出第m个比特和第n个比特,在所述每n个比特中将所述第m个比特和第n个比特与所述每n个比特中第1个比特相加,获得所述每n个比特的扰码后数据,所有的每n个比特数的扰码后数据形成连续数据包。 The scrambling method can use the scrambling polynomial to calculate the interval between the burst data packet and the burst data packet to obtain the scrambled data. There can be many different scrambling polynomials. The scrambling polynomial in Figure 5 is G(x)=1+X m +X n is an example, X m represents the mth bit (bit), and X n represents the nth bit. Bits, m and n natural numbers, n>m. Using the scrambling code polynomial to calculate the interval between the burst data packet and the burst data packet can be understood as: Take n out of all the bits contained in the interval between the burst data packet and the burst data packet in sequence. Bits (if the number of n bits taken in the last time is not enough for n, you can fill in the number of bits with an appropriate number of 0 or 1), take the mth bit and the nth bit in every n bits Bits, adding the mth bit and the nth bit in each n bits to the first bit in every n bits to obtain the scrambled data of every n bits , All the scrambled data of every n bits form a continuous data packet.
例如m=39,n=58,则利用图5的多项式操作过程为:依次在突发数据包和所述突发数据包之间的间隔中取出58个比特,然后在每58个比特中取出第39个和第58个这两个bit,接着将第39个和第58个比特与该58个比特中的第1比特相加,获得该58个比特的扰码后的数据,这样,所有每58个比特的扰码后的数据共同组成了连续数据包,即输出的数据。通过对数字信号E7增加扰码,可以确保不会出现多个连续0的情况,从而避免了不同的突发之间的间隔。For example, m=39, n=58, the polynomial operation process of Figure 5 is: sequentially take out 58 bits from the burst data packet and the interval between the burst data packet, and then take out every 58 bits The 39th and 58th bits are two bits, and then the 39th and 58th bits are added to the first bit of the 58 bits to obtain the 58-bit scrambled data. In this way, all Every 58 bits of scrambled data together form a continuous data packet, that is, the output data. By adding a scrambling code to the digital signal E7, it can be ensured that there will not be multiple consecutive 0s, thereby avoiding the interval between different bursts.
S408:硬判决编码器3211接收了数字信号E8,对数字信号E8进行纠错编码,获得数字信号E9,以及通过连续串行器/解串器(serializer/deserializer,SerDes)将数字信号E9传输到MAC芯片。因为光模块与MAC芯片之间传输的信号需要为编码过的,因此此处需要将数字信号E8进行硬判决纠错编码。该硬判决的纠前误码率能够达到1*10 -3S408: The hard decision encoder 3211 receives the digital signal E8, performs error correction coding on the digital signal E8, obtains the digital signal E9, and transmits the digital signal E9 to the serializer/deserializer (serializer/deserializer, SerDes) MAC chip. Because the signal transmitted between the optical module and the MAC chip needs to be encoded, the digital signal E8 needs to be coded with hard decision error correction. The pre-correction error rate of this hard decision can reach 1*10 -3 .
数字信号E9所承载的连续数据包的帧格式可能如图6所示,该帧包括了定界符(Dilimiter)和一系列承载具体内容的码字(Codeword),定界符用于确定帧头的位置。每个码字还包含扰码后的数据(Scrambled Data)和校验位(Parity),扰码后的数据为对连续数据包扰码后所得到的。The frame format of the continuous data packet carried by the digital signal E9 may be shown in Figure 6. The frame includes a delimiter (Dilimiter) and a series of codewords carrying specific content. The delimiter is used to determine the frame header s position. Each codeword also contains scrambled data (Scrambled Data) and parity (Parity), and the scrambled data is obtained by scrambling consecutive data packets.
S409:MAC芯片的硬判决解码器3123通过连续SerDes接收了数字信号E9,对数字信号E9进行纠错解码,获得数字信号E10,以及将数字信号E10发送给去扰码模块3122。因为光模块中编码器为硬判决编码器,因此MAC芯片中的解码器则为硬判决解码器。S409: The hard decision decoder 3123 of the MAC chip receives the digital signal E9 through continuous SerDes, performs error correction decoding on the digital signal E9, obtains the digital signal E10, and sends the digital signal E10 to the descrambling code module 3122. Because the encoder in the optical module is a hard decision encoder, the decoder in the MAC chip is a hard decision decoder.
S410:去扰码模块3122接收了数字信号E10,对数字信号E10包含的各个连续数据包之间所填充数据去除,这样连续数据包恢复成了数据包之间存在间隔的突发数据包,从而实现了将连续的数字信号E10转换成成突发的数字信号E11。获得数字信号E11,以及将数字信号E11发送给MAC模块3121。S410: The descrambling code module 3122 receives the digital signal E10, and removes the filling data between each continuous data packet contained in the digital signal E10, so that the continuous data packet is restored to a burst data packet with gaps between the data packets. The continuous digital signal E10 is converted into a burst digital signal E11. Obtain the digital signal E11, and send the digital signal E11 to the MAC module 3121.
去扰码的过程是数据填充的逆过程,可以采用去扰码多项式对突发数据包和突发数据包之间的间隔进行计算,获得去扰码后的数据。扰码多项式可以有多种不同的,如图7的去扰码多项式为G(x)=1+X m+X n是一个例子,X m表示第m个比特(bit),X n表示第n个比特,m和n自然数,n>m,扰码多项式和去扰码多项式需要相同或者相反。利用该去扰码多项式对突发数据包和突发数据包之间的间隔进行计算可以理解为:在连续数据包所包含的所有比特中依次取出n个比特(如果最后一次所取的n个比特的数量不够n,则可以通过适当数量的0或者1来补齐n个数量的比特),在每n个比特中取出第m个比特和第n个比特,在所述每n个比特中将所述第m个比特和第n个比特与所述每n个比特中 第1个比特相减,获得所述每n个比特的去扰码后数据,所有的每n个比特数的去扰码后数据恢复成突发数据包。 The process of descrambling code is the inverse process of data filling. The interval between the burst data packet and the burst data packet can be calculated by using the descrambling code polynomial to obtain the data after the descrambling code. There can be many different scrambling code polynomials. The descrambling code polynomial in Figure 7 is G(x)=1+X m +X n is an example, X m represents the mth bit (bit), and X n represents the first bit. n bits, m and n natural numbers, n>m, the scrambling polynomial and descrambling polynomial need to be the same or opposite. Using the descrambling code polynomial to calculate the interval between the burst data packet and the burst data packet can be understood as: take out n bits in sequence from all the bits contained in the continuous data packet (if the last n bits are taken) If the number of bits is not enough n, the n number of bits can be filled with an appropriate number of 0s or 1s), the mth bit and the nth bit are taken out of every n bits, and in every n bits Subtract the mth bit and the nth bit from the first bit in every n bits to obtain the descrambling data of every n bits. After scrambling, the data is restored to burst data packets.
例如m=39,n=58,则利用图5的去扰码多项式进行计算的过程为:依次在连续数据中取出58个比特(如果最后一次所取的58个比特的数量不够58,则可以通过适当数量的0或者1来补齐58个数量的比特),然后在每58个比特中取出第39个和第58个这两个bit,接着将第39个和第58个比特与该58个比特中的第1个比特相减,获得该58个比特的去扰码后的数据,这样,所有每58个比特的去扰码后的数据共同组成了突发数据包,即输出的数据。需要注意的是:步骤S407中扰码模块所采用的扰码方式和去扰码模块所采用的去扰码方式是具有一定关系的,通常是相对的或者相同,例如:步骤S407中的扰码多项式和S410的去扰码多项式是相同的。For example, m=39, n=58, the calculation process using the descrambling code polynomial in Figure 5 is: sequentially take out 58 bits from the continuous data (if the number of 58 bits taken in the last time is not enough 58, then you can Fill in 58 bits with an appropriate number of 0s or 1s), then take out the 39th and 58th bits out of every 58 bits, and then combine the 39th and 58th bits with the 58 Subtract the first bit among the bits to obtain the 58-bit descrambling data. In this way, all the 58-bit descrambling data together form a burst data packet, that is, the output data . It should be noted that the scrambling code mode adopted by the scrambling code module in step S407 has a certain relationship with the descrambling code mode adopted by the descrambling code module, and they are usually relative or the same, for example: the scrambling code in step S407 The polynomial is the same as the descrambling polynomial of S410.
S411:MAC模块3121接收了数字信号E11,并对数字信号E11进行常规地相应处理。S411: The MAC module 3121 receives the digital signal E11, and performs regular corresponding processing on the digital signal E11.
如图8是依据图4的方法所得到的仿真结果,其中A部分为原始的具有不同时间间隔突发数据包(Burst1,..BurstN)。B部分是经过数据填充后得到连续数据包,通过仿真图可见,突发数据包之间的间隔已经被填充,突发数据包变成连续数据包。C部分经过纠错编码后得到的数字信号E9。D部分指的是MAC芯片侧进行纠错解码后得到的数字信号E10。E部分指的是在MAC侧对数字信号E10进行去扰码后恢复的突发数据包,从E部分可以看出将连续数据包恢复成了突发数据包,并且恢复后的突发数据包和A部分的突发数据包基本上是一致的,说明本发明实施例中的突发转连续处理是可以实现的。由于光模块可以实现对突发信号转换成连续信号,这样光模块就可以利用连续SerDes向MAC芯片传输连续信号,提高数据传输的效率,并且在MAC芯片可以无损地恢复成突发信号。Fig. 8 is the simulation result obtained according to the method of Fig. 4, where part A is the original burst data packet (Burst1,...BurstN) with different time intervals. Part B is to obtain continuous data packets after data filling. It can be seen from the simulation diagram that the intervals between burst data packets have been filled, and the burst data packets become continuous data packets. Part C is the digital signal E9 obtained after error correction coding. Part D refers to the digital signal E10 obtained after error correction and decoding on the MAC chip side. Part E refers to the burst data packet recovered after descrambling the digital signal E10 on the MAC side. It can be seen from Part E that the continuous data packet is restored to a burst data packet, and the recovered burst data packet It is basically the same as the burst data packet of part A, which shows that the burst-to-continuous processing in the embodiment of the present invention can be realized. Since the optical module can convert the burst signal into a continuous signal, the optical module can use the continuous SerDes to transmit the continuous signal to the MAC chip, improve the efficiency of data transmission, and restore the burst signal in the MAC chip without loss.
上文结合图1至图7,详细描述了本发明实施例提供的一种突发信号转连续信号的方法,下面将结合图9至图12,详细描述本申请的装置实施例。应理解,方法实施例的描述与装置实施例的描述相互对应,因此,未详细描述的部分可以参见前面方法实施例。The foregoing describes in detail a method for converting a burst signal to a continuous signal according to an embodiment of the present invention with reference to FIGS. 1 to 7. The device embodiment of the present application will be described in detail below with reference to FIGS. 9 to 12. It should be understood that the description of the method embodiments corresponds to the description of the device embodiments, therefore, for the parts that are not described in detail, please refer to the previous method embodiments.
图9示出了本申请实施例的光处理设备900的示意性框图,该光处理设备900中各模块分别用于执行上述方法中OLT的光模块所执行的各动作或处理过程,这里,为了避免赘述,详细说明可以参照上文中的描述。该光处理设备900具体可以为OLT的光模块。FIG. 9 shows a schematic block diagram of an optical processing device 900 according to an embodiment of the present application. The modules in the optical processing device 900 are respectively used to perform actions or processing procedures performed by the optical module of the OLT in the foregoing method. Here, in order to To avoid repetition, the detailed description can refer to the above description. The optical processing device 900 may specifically be an optical module of an OLT.
图9是本申请实施例提供的光处理设备900的示意性框图。该光处理设备900可以包括:FIG. 9 is a schematic block diagram of an optical processing device 900 provided by an embodiment of the present application. The light processing device 900 may include:
扰码模块910,用于对突发信号包含的突发数据包之间的间隔进行数据填充,获得包含连续数据包的连续信号,其中,所述突发信号来自于多个ONU。当光处理设备具体为OLT的光模块时,则该扰码模块910即为图3所示的扰码模块3212。The scrambling module 910 is used for data filling the intervals between the burst data packets contained in the burst signal to obtain a continuous signal containing continuous data packets, wherein the burst signal comes from multiple ONUs. When the optical processing device is specifically an optical module of an OLT, the scrambling module 910 is the scrambling module 3212 shown in FIG. 3.
编码模块920,用于对所述连续数据包进行编码,获得包含编码后的连续数据包的连续信号,并通过连续SerDes将所述包含编码后的连续数据包的连续信号发送给网络处理设备。其中,所述突发信号来自于多个ONU;当光处理设备具体为OLT的光模块时,则该编码模块920即为图3所示的硬判决编码器3211。The encoding module 920 is configured to encode the continuous data packet to obtain a continuous signal containing the encoded continuous data packet, and send the continuous signal containing the encoded continuous data packet to the network processing device through the continuous SerDes. Wherein, the burst signal comes from multiple ONUs; when the optical processing device is specifically an optical module of an OLT, the encoding module 920 is the hard decision encoder 3211 shown in FIG. 3.
可选地,在一些实施例中,扰码模块910具体用于:利用扰码多项式对突发信号包含的突发数据包和所述突发数据包之间的间隔进行计算处理。Optionally, in some embodiments, the scrambling code module 910 is specifically configured to use a scrambling code polynomial to calculate and process the burst data packet contained in the burst signal and the interval between the burst data packet.
可选地,在一些实施例中,扰码多项式为G(x)=1+X m+X n,其中,X m表示第m个比特,X n表示第n个比特,m和n自然数,n>m;所述数据填充模块910具体用于:在所述突发 数据包和所述突发数据包之间的间隔所包含的所有比特中依次取出n个比特,在每n个比特中取出第m个比特和第n个比特;在所述每n个比特中将所述第m个比特和第n个比特与所述每n个比特中第1个比特相加,获得所述每n个比特的扰码后数据,所有的每n个比特数的扰码后数据形成连续数据包。 Optionally, in some embodiments, the scrambling polynomial is G(x)=1+X m + X n , where X m represents the m-th bit, X n represents the n-th bit, and m and n are natural numbers, n>m; the data filling module 910 is specifically configured to: sequentially extract n bits from all bits included in the interval between the burst data packet and the burst data packet, and in every n bits Take out the mth bit and the nth bit; add the mth bit and the nth bit in each n bits to the first bit in every n bits to obtain the After n bits of scrambled data, all the scrambled data of every n bits form a continuous data packet.
可选地,在一些实施例中,编码后的连续数据包的帧包括了用于确定帧头位置的定界符和承载具体内容的码字,其中,每个码字还包含扰码后的数据和校验位。Optionally, in some embodiments, the frame of the encoded continuous data packet includes a delimiter used to determine the position of the frame header and a codeword carrying specific content, wherein each codeword also includes a scrambled Data and check digit.
可选地,在一些实施例中,光处理设备900还可以包括解调模块,软判决解码器,均衡器,时钟恢复模块,模数转换器,跨阻放大器和接收模块,其具体功能分别对应图3所示的解调模块3213,软判决解码器3214,均衡器3215,时钟恢复模块3216,模数转换器3217,跨阻放大器322和光电接收机323。这里就不再附图9中显示了。Optionally, in some embodiments, the optical processing device 900 may also include a demodulation module, a soft decision decoder, an equalizer, a clock recovery module, an analog-to-digital converter, a transimpedance amplifier, and a receiving module, the specific functions of which correspond to The demodulation module 3213, the soft decision decoder 3214, the equalizer 3215, the clock recovery module 3216, the analog-to-digital converter 3217, the transimpedance amplifier 322 and the optoelectronic receiver 323 shown in FIG. It is not shown in Figure 9 here.
图10示出了本申请实施例的网络处理设备1000的示意性框图,该网络处理设备1000中各模块分别用于执行上述方法中MAC芯片所执行的各动作或处理过程,这里,为了避免赘述,详细说明可以参照上文中的描述。该网络处理设备具体可以为OLT的MAC芯片。FIG. 10 shows a schematic block diagram of a network processing device 1000 according to an embodiment of the present application. The modules in the network processing device 1000 are respectively used to execute various actions or processing procedures performed by the MAC chip in the foregoing method. Here, in order to avoid repetition For detailed description, please refer to the above description. The network processing device may specifically be the MAC chip of the OLT.
图10是本申请实施例提供的网络处理设备1000的示意性框图。该网络处理设备1000可以包括:FIG. 10 is a schematic block diagram of a network processing device 1000 according to an embodiment of the present application. The network processing device 1000 may include:
解码模块1010,用于通过连续SerDes接收光处理设备发送的连续信号,所述连续信号包含了编码后的连续数据包对所述编码后的连续数据包进行解码,获得包含解码后的连续数据包的连续信号。当网络处理设备1000具体为OLT的MAC芯片时,该解码模块1010具体可以如图3的硬判决解码器3123,The decoding module 1010 is configured to receive a continuous signal sent by an optical processing device through a continuous SerDes, the continuous signal containing a continuous data packet after encoding, decoding the continuous data packet after encoding, to obtain a continuous data packet containing the decoded data Continuous signal. When the network processing device 1000 is specifically a MAC chip of an OLT, the decoding module 1010 may specifically be a hard decision decoder 3123 as shown in FIG. 3,
去扰码模块1020,用于去除所述解码后的连续数据包中填充的数据,获得解码后的突发数据包。The descrambling code module 1020 is used to remove the data filled in the decoded continuous data packet to obtain the decoded burst data packet.
可选地,在一些实施例中,所述去扰码模块1020具体可以用于:利用去扰码多项式对所述解码后的连续数据包进行计算处理,其中,所述去扰码多项式与所述光处理设备采用的扰码多项式是相同或者具有互逆关系。Optionally, in some embodiments, the descrambling code module 1020 may be specifically configured to: use descrambling code polynomials to perform calculation processing on the decoded continuous data packets, where the descrambling code polynomials are The scrambling code polynomials used by the optical processing equipment are the same or have a reciprocal relationship.
可选地,在一些实施例中,去扰码多项式为G(x)=1+X m+X n,其中,X m表示第m个比特,X n表示第n个比特,m和n自然数,n>m;则所述去填充模块1020具体可以用于:在所述编码后的连续数据包所包含的所有比特中依次取出n个比特,在每n个比特中出第m个比特和第n个比特;在所述每n个比特中将所述第m个比特和第n个比特与所述每n个比特中第1个比特相减,获得所述每n个比特的去扰码后数据,所有的每n个比特数的去扰码后数据形成突发数据包。 Optionally, in some embodiments, the descrambling code polynomial is G(x)=1+X m + X n , where X m represents the m-th bit, X n represents the n-th bit, and m and n are natural numbers , N>m; then the de-stuffing module 1020 can be specifically used to: sequentially extract n bits from all the bits contained in the encoded continuous data packet, and extract the m-th bit sum in every n bits The nth bit; subtract the mth bit and the nth bit from the first bit in every n bits in each n bits to obtain the descrambling of every n bits After coded data, all the data after the descrambling code of every n bits form a burst data packet.
可选地,在一些实施例中,该网络处理设备1000还包括MAC模块,用于接收对来自于去扰码模块的突发的数据表进行MAC常规处理,该MAC模块可以如图3所示的MAC模块3121,在附图10就不再显示了。Optionally, in some embodiments, the network processing device 1000 further includes a MAC module for receiving and performing MAC regular processing on the burst data table from the descrambling code module. The MAC module may be as shown in FIG. 3 The MAC module 3121 is no longer shown in Figure 10.
图11是本申请实施例提供的一种光处理设备1100的示意性框图。该光处理设备1100可以包括:处理器1101、接收器1102、发送器1103、以及存储器1104。FIG. 11 is a schematic block diagram of an optical processing device 1100 according to an embodiment of the present application. The optical processing device 1100 may include: a processor 1101, a receiver 1102, a transmitter 1103, and a memory 1104.
其中,该处理器1101可以与接收器1102和发送器1103通信连接。该存储器1104可以用于存储该网络设备的程序代码和数据。因此,该存储器1104可以是处理器1101内部的存储单元,也可以是与处理器1101独立的外部存储单元,还可以是包括处理器1101内部的存储单元和与处理器1101独立的外部存储单元的部件。Wherein, the processor 1101 may be in communication connection with the receiver 1102 and the transmitter 1103. The memory 1104 can be used to store the program code and data of the network device. Therefore, the memory 1104 may be a storage unit inside the processor 1101, an external storage unit independent of the processor 1101, or a storage unit inside the processor 1101 and an external storage unit independent of the processor 1101. part.
可选的,光处理设备1100还可以包括总线1105。其中,接收器1102、发送器1103、以及存储器1104可以通过总线1105与处理器1101连接;总线1105可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线1105可以分为地址总线、数据总线、控制总线等。为便于表示,图11中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Optionally, the optical processing device 1100 may further include a bus 1105. Among them, the receiver 1102, the transmitter 1103, and the memory 1104 can be connected to the processor 1101 through a bus 1105; the bus 1105 can be a peripheral component interconnect (PCI) bus or an extended industry standard structure (extended industry standard). architecture, EISA) bus, etc. The bus 1105 can be divided into an address bus, a data bus, a control bus, and so on. For ease of representation, only a thick line is used in FIG. 11, but it does not mean that there is only one bus or one type of bus.
处理器1101例如可以是中央处理器(central processing unit,CPU),通用处理器,数字信号处理器(digital signal processor,DSP),专用集成电路(application-specific integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The processor 1101 may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application-specific integrated circuit (ASIC), and a field programmable gate. Array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in conjunction with the disclosure of the present application. The processor may also be a combination for realizing computing functions, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
接收器1102和发送器1103可以是包括上述天线和发射机链和接收机链的电路,二者可以是独立的电路,也可以是同一个电路。The receiver 1102 and the transmitter 1103 may be circuits including the above-mentioned antenna, transmitter chain and receiver chain, and the two may be independent circuits or the same circuit.
当程序被执行时,所述接收器1102用于:接收多个ONU发送的突发的光信号。When the program is executed, the receiver 1102 is used to receive burst optical signals sent by multiple ONUs.
发送器1103通过所述处理器1101执行以下操作:用于将所述包含编码后的连续数据包的连续信号发送给网络处理设备。The transmitter 1103 performs the following operations through the processor 1101: for sending the continuous signal containing the encoded continuous data packet to the network processing device.
图12是本申请实施例提供的一种网络处理设备1200的示意性框图。该终端设备1200可以包括:处理器1201、接收器1202、发送器1203、以及存储器1204。FIG. 12 is a schematic block diagram of a network processing device 1200 according to an embodiment of the present application. The terminal device 1200 may include: a processor 1201, a receiver 1202, a transmitter 1203, and a memory 1204.
其中,该处理器1201可以与接收器1202和发送器1203通信连接。该存储器1204可以用于存储该终端设备的程序代码和数据。因此,该存储器1204可以是处理器1201内部的存储单元,也可以是与处理器1201独立的外部存储单元,还可以是包括处理器1201内部的存储单元和与处理器1201独立的外部存储单元的部件。Wherein, the processor 1201 may be connected to the receiver 1202 and the transmitter 1203 in communication. The memory 1204 can be used to store the program code and data of the terminal device. Therefore, the memory 1204 may be a storage unit inside the processor 1201, or an external storage unit independent of the processor 1201, or may include a storage unit inside the processor 1201 and an external storage unit independent of the processor 1201. part.
可选的,网络处理设备1200还可以包括总线1205。其中,接收器1202、发送器1203、以及存储器1204可以通过总线1205与处理器1201连接;总线1205可以是PCI总线或扩展EISA总线等。所述总线1205可以分为地址总线、数据总线、控制总线等。为便于表示,图12中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Optionally, the network processing device 1200 may further include a bus 1205. Among them, the receiver 1202, the transmitter 1203, and the memory 1204 may be connected to the processor 1201 through a bus 1205; the bus 1205 may be a PCI bus or an extended EISA bus. The bus 1205 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used to represent in FIG. 12, but it does not mean that there is only one bus or one type of bus.
处理器1201例如可以是CPU,通用处理器,DSP,ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The processor 1201 may be, for example, a CPU, a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules and circuits described in conjunction with the disclosure of the present application. The processor may also be a combination for realizing computing functions, for example, including a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
接收器1202和发送器1203可以是包括上述天线和发射机链和接收机链的电路,二者可以是独立的电路,也可以是同一个电路。The receiver 1202 and the transmitter 1203 may be circuits including the above-mentioned antenna, transmitter chain and receiver chain, and the two may be independent circuits or the same circuit.
当程序被执行时,接收器1202用于接收光处理设备发送的连续信号。When the program is executed, the receiver 1202 is used to receive the continuous signal sent by the optical processing device.
本申请实施例还提供了一种芯片,包括存储器、处理器,收发器,所述存储器用于存储程序;所述处理器用于执行所述存储器中存储的程序,当所述程序被执行时,所述处理器执行上述光处理设备中任意一种可能的实现方式中所述的方法。The embodiment of the present application also provides a chip, including a memory, a processor, and a transceiver. The memory is used to store a program; the processor is used to execute the program stored in the memory. When the program is executed, The processor executes the method described in any one of the possible implementations of the optical processing device.
本申请实施例还提供了一种芯片,包括存储器、处理器,收发器,所述存储器用于存储程序;所述处理器用于执行所述存储器中存储的程序,当所述程序被执行时,所述处理 器执行上述网络处理设备中任意一种可能的实现方式中所述的方法。The embodiment of the present application also provides a chip, including a memory, a processor, and a transceiver. The memory is used to store a program; the processor is used to execute the program stored in the memory. When the program is executed, The processor executes the method described in any one of the possible implementation manners of the foregoing network processing equipment.
本申请实施例还提供了一种计算机可读存储介质,包括计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行如S400-S411等中所述的方法。The embodiment of the present application also provides a computer-readable storage medium, including a computer program. When the computer program runs on a computer, the computer executes the method described in S400-S411 and the like.
本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得该计算机执行如步骤S400-S411等中所述的方法。The embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the method described in steps S400-S411 and the like.
本申请实施例还提供了一种系统,包括前述的光处理设备和/或前述的网络处理设备。The embodiment of the present application also provides a system, including the foregoing optical processing device and/or the foregoing network processing device.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art may realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
另外,本申请的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本申请中使用的术语“制品”涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(compact disc,CD)、数字通用盘(digital versatile disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(erasable programmable read-only memory,EPROM)、卡、棒或钥匙驱动器等)。另外,本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。In addition, various aspects or features of the present application may be implemented as methods, devices, or articles using standard programming and/or engineering techniques. The term "article of manufacture" as used in this application encompasses a computer program accessible from any computer-readable device, carrier, or medium. For example, computer-readable media may include, but are not limited to: magnetic storage devices (eg, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (eg, compact discs (CD), digital universal discs (digital) discs, DVDs) Etc.), smart cards and flash memory devices (for example, erasable programmable read-only memory (EPROM), cards, sticks or key drives, etc.). In addition, the various storage media described herein may represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的 介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application essentially or part of the contribution to the existing technology or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a storage medium, including Several instructions are used to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

  1. 一种突发信号转连续信号的方法,其特征在于,包括:A method for converting a burst signal to a continuous signal is characterized in that it includes:
    对突发信号包含的突发数据包之间的间隔进行数据填充,获得包含连续数据包的连续信号,其中,所述突发信号来自于多个光网络单元ONU;Data filling the interval between burst data packets contained in the burst signal to obtain a continuous signal containing continuous data packets, where the burst signal comes from a plurality of optical network unit ONUs;
    对所述连续数据包进行编码,获得包含编码后的连续数据包的连续信号;Encoding the continuous data packet to obtain a continuous signal including the encoded continuous data packet;
    通过连续串行器/解串器SerDes将所述包含编码后的连续数据包的连续信号发送给网络处理设备。The continuous signal containing the encoded continuous data packet is sent to the network processing device through the continuous serializer/deserializer SerDes.
  2. 根据权利要求1所述的方法,其特征在于,所述光模块对突发信号包含的突发数据包之间的间隔进行数据填充,包括:The method according to claim 1, wherein the optical module performs data filling of the intervals between the burst data packets contained in the burst signal, comprising:
    所述利用扰码多项式对突发信号包含的突发数据包和所述突发数据包之间的间隔进行计算处理。The scrambling code polynomial is used to calculate and process the burst data packet contained in the burst signal and the interval between the burst data packet.
  3. 根据权利要求2所述的方法,其特征在于,所述扰码多项式为G(x)=1+X m+X n,其中,X m表示第m个比特,X n表示第n个比特,m和n自然数,n>m; The method according to claim 2, wherein the scrambling polynomial is G(x)=1+X m + X n , wherein X m represents the m-th bit, and X n represents the n-th bit, m and n natural numbers, n>m;
    所述利用扰码多项式对突发信号包含的突发数据包和所述突发数据包之间的间隔进行计算处理,具体为:The calculation and processing of the interval between the burst data packet contained in the burst signal and the burst data packet by using the scrambling code polynomial is specifically:
    在所述突发数据包和所述突发数据包之间的间隔所包含的所有比特中依次取出n个比特,在每n个比特中取出第m个比特和第n个比特;Take out n bits in sequence from all the bits included in the interval between the burst data packet and the burst data packet, and take out the mth bit and the nth bit in every n bits;
    在所述每n个比特中将所述第m个比特和第n个比特与所述每n个比特中第1个比特相加,获得所述每n个比特的扰码后数据,所有的每n个比特数的扰码后数据形成连续数据包。Add the mth bit and the nth bit to the first bit in every n bits in each n bits to obtain the scrambled data of every n bits, all Every n bits of scrambled data forms a continuous data packet.
  4. 根据权利要求1或2所述的方法,其特征在于,所述编码后的连续数据包的帧包括了用于确定帧头位置的定界符和承载具体内容的码字,其中,每个码字还包含扰码后的数据和校验位。The method according to claim 1 or 2, wherein the frame of the encoded continuous data packet includes a delimiter used to determine the position of the frame header and a code word carrying specific content, wherein each code The word also contains scrambled data and check bits.
  5. 一种突发信号转连续信号的方法,其特征在于,包括:A method for converting a burst signal to a continuous signal is characterized in that it includes:
    通过连续串行器/解串器SerDes接收光处理设备发送的连续信号,所述连续信号包含了编码后的连续数据包;Receiving the continuous signal sent by the optical processing device through the continuous serializer/deserializer SerDes, the continuous signal including the encoded continuous data packet;
    对所述编码后的连续数据包进行解码,获得包含解码后的连续数据包的连续信号;Decoding the encoded continuous data packet to obtain a continuous signal including the decoded continuous data packet;
    去除所述解码后的连续数据包中填充的数据,获得解码后的突发数据包。The data filled in the decoded continuous data packets are removed to obtain a decoded burst data packet.
  6. 根据权利要求5所述的方法,其特征在于,所述去除所述解码后的连续数据包中填充的数据,具体为:The method according to claim 5, wherein the removing data filled in the decoded continuous data packet is specifically:
    利用去扰码多项式对所述解码后的连续数据包进行计算处理,其中,所述去扰码多项式与所述光处理设备采用的扰码多项式是相同或者具有互逆关系。A descrambling code polynomial is used to calculate and process the decoded continuous data packets, wherein the descrambling code polynomial and the scrambling code polynomial adopted by the optical processing device are the same or have a reciprocal relationship.
  7. 根据权利要求6所述的方法,其特征在于,所述去扰码多项式为G(x)=1+X m+X n,其中,X m表示第m个比特,X n表示第n个比特,m和n自然数,n>m; The method according to claim 6, wherein the descrambling code polynomial is G(x)=1+X m + X n , wherein X m represents the m-th bit, and X n represents the n-th bit , M and n natural numbers, n>m;
    所述利用去扰码多项式对所述解码后的连续数据包进行计算处理,具体为:The calculation and processing of the decoded continuous data packet by using the descrambling code polynomial is specifically:
    在所述编码后的连续数据包所包含的所有比特中依次取出n个比特,在每n个比特中取出第m个比特和第n个比特;Take out n bits in sequence from all the bits contained in the encoded continuous data packet, and take out the mth bit and the nth bit in every n bits;
    在所述每n个比特中将所述第m个比特和第n个比特与所述每n个比特中第1个比 特相减,获得所述每n个比特的去扰码后数据,所有的每n个比特数的去扰码后数据形成突发数据包。Subtract the mth bit and the nth bit from the first bit in every n bits in every n bits to obtain the descrambling data of every n bits, all After every n bits of descrambling code, the data forms a burst data packet.
  8. 一种光处理设备,其特征在于,所述光处理设备包括:存储器、处理器和收发器,An optical processing device, characterized in that the optical processing device includes a memory, a processor, and a transceiver,
    所述存储器用于存储程序;The memory is used to store programs;
    所述处理器用于执行所述存储器中存储的程序,当所述程序被执行时,所述处理器通过所述收发器执行权利要求1至4中任一项所述的方法。The processor is configured to execute a program stored in the memory, and when the program is executed, the processor executes the method according to any one of claims 1 to 4 through the transceiver.
  9. 一种网络处理设备,其特征在于,所述网络处理设备包括:存储器、处理器和收发器,A network processing device, characterized in that the network processing device includes: a memory, a processor, and a transceiver,
    所述存储器用于存储程序;The memory is used to store programs;
    所述处理器用于执行所述存储器中存储的程序,当所述程序被执行时,所述处理器通过所述收发器执行权利要求5至7中任一项所述的方法。The processor is configured to execute a program stored in the memory, and when the program is executed, the processor executes the method according to any one of claims 5 to 7 through the transceiver.
  10. 一种计算机可读存储介质,其特征在于,包括计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如1至4中任一项所述的方法。A computer-readable storage medium is characterized by comprising a computer program, which when the computer program runs on a computer, causes the computer to execute the method described in any one of 1 to 4.
  11. 一种计算机可读存储介质,其特征在于,包括计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如5至7中任一项所述的方法。A computer-readable storage medium, characterized by comprising a computer program, which when the computer program runs on a computer, causes the computer to execute the method according to any one of 5 to 7.
PCT/CN2019/071848 2019-01-16 2019-01-16 Method and apparatus for converting burst signals to continuous signals WO2020147023A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/071848 WO2020147023A1 (en) 2019-01-16 2019-01-16 Method and apparatus for converting burst signals to continuous signals
CN201980059707.0A CN112690007B (en) 2019-01-16 2019-01-16 Method and equipment for converting burst signal into continuous signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/071848 WO2020147023A1 (en) 2019-01-16 2019-01-16 Method and apparatus for converting burst signals to continuous signals

Publications (1)

Publication Number Publication Date
WO2020147023A1 true WO2020147023A1 (en) 2020-07-23

Family

ID=71613011

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/071848 WO2020147023A1 (en) 2019-01-16 2019-01-16 Method and apparatus for converting burst signals to continuous signals

Country Status (2)

Country Link
CN (1) CN112690007B (en)
WO (1) WO2020147023A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315726A (en) * 2021-07-29 2021-08-27 深圳市迅特通信技术股份有限公司 Phase demodulation circuit and optical module for NRZ burst reception
CN113346954A (en) * 2021-08-05 2021-09-03 深圳市迅特通信技术股份有限公司 Local side equipment used in passive optical network with power of over 50G

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113727223B (en) * 2021-08-18 2023-11-03 烽火通信科技股份有限公司 Uplink data transmission method, abnormal light emitting detection method, equipment and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263674A (en) * 2005-12-09 2008-09-10 古河电气工业株式会社 Light relay device and light transmission system
CN102143408A (en) * 2010-06-10 2011-08-03 华为技术有限公司 Method, device and system for communicating passive optical network
CN102215103A (en) * 2009-12-15 2011-10-12 美国博通公司 System and method for converting upstream impulse mode data to continuous mode data
CN103609083A (en) * 2013-05-13 2014-02-26 华为技术有限公司 Receiving device and optical switching fabric apparatus
US20140133857A1 (en) * 2008-11-03 2014-05-15 Huawei Technologies Co., Ltd Method, Device, and System for Implementing LR-PON

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4817142A (en) * 1985-05-21 1989-03-28 Scientific Atlanta, Inc. Restoring framing in a communications system
US6618395B1 (en) * 1999-05-27 2003-09-09 3Com Corporation Physical coding sub-layer for transmission of data over multi-channel media
DE102006055928A1 (en) * 2006-11-27 2008-06-12 Siemens Ag Method and arrangement for controlling a regenerator for data burst signals of a system with point-to-multipoint connections, point-to-multipoint transmission system and regenerator
US8208815B1 (en) * 2006-11-30 2012-06-26 Marvell International Ltd. Bit accurate upstream burst transmission phase method for reducing burst data arrival variation
ATE494682T1 (en) * 2007-07-24 2011-01-15 Alcatel Lucent METHOD AND DEVICE FOR DETECTING THE BEGINNING OF A DATA PACKET IN BURST MODE
CN101365250B (en) * 2008-08-14 2010-12-08 浙江工业大学 Hardware platform system of GPON ONU system designed based on FPGA
CN104009801B (en) * 2013-02-27 2016-09-07 中兴通讯股份有限公司 The optical signal processing method of a kind of optical-fiber network and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101263674A (en) * 2005-12-09 2008-09-10 古河电气工业株式会社 Light relay device and light transmission system
US20140133857A1 (en) * 2008-11-03 2014-05-15 Huawei Technologies Co., Ltd Method, Device, and System for Implementing LR-PON
CN102215103A (en) * 2009-12-15 2011-10-12 美国博通公司 System and method for converting upstream impulse mode data to continuous mode data
CN102143408A (en) * 2010-06-10 2011-08-03 华为技术有限公司 Method, device and system for communicating passive optical network
CN103609083A (en) * 2013-05-13 2014-02-26 华为技术有限公司 Receiving device and optical switching fabric apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315726A (en) * 2021-07-29 2021-08-27 深圳市迅特通信技术股份有限公司 Phase demodulation circuit and optical module for NRZ burst reception
CN113346954A (en) * 2021-08-05 2021-09-03 深圳市迅特通信技术股份有限公司 Local side equipment used in passive optical network with power of over 50G
CN113346954B (en) * 2021-08-05 2021-12-17 深圳市迅特通信技术股份有限公司 Local side equipment used in passive optical network with power of over 50G

Also Published As

Publication number Publication date
CN112690007B (en) 2022-04-05
CN112690007A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
US10484098B2 (en) Channel bonding in passive optical networks
JP4823110B2 (en) Passive optical network system and data transmission method in passive optical network
US8738988B2 (en) Data sending/receiving method with forward error correction and related component and system for gigabit ethernet
US8903250B2 (en) Cost-effective multi-rate upstream for 10GEPON based on high efficiency coding
US6430201B1 (en) Method and apparatus for transporting gigabit ethernet and fiber channel signals in wavelength-division multiplexed systems
US8122325B2 (en) Forward error correction for 64b66b coded systems
JP4819882B2 (en) Method and system for reducing Raman crosstalk in an Ethernet passive optical network
US9654250B2 (en) Adding operations, administration, and maintenance (OAM) information in 66-bit code
WO2020147023A1 (en) Method and apparatus for converting burst signals to continuous signals
CN112368964B (en) Communication method and device in point-to-multipoint communication network
JP5053328B2 (en) Method and apparatus for providing uplink burst data in a passive optical network system
JP7152488B2 (en) Data encoding method and device, data decoding method and device, OLT, ONU, and PON system
JP2012529854A (en) Method and apparatus for improved upstream frame synchronization in passive optical networks
CN107925422A (en) Passive optical network(PON)In adaptive forward error correction(FEC)
JP2018513629A (en) Apparatus and method for error correction and passive optical network
CN110391871B (en) Data coding and decoding method and device, OLT, ONU and PON system
US20080267634A1 (en) 9b10b Code for Passive Optical Networks
Faucher et al. A Standalone Receiver With Multiple Access Interference Rejection, Clock and Data Recovery, and FEC for 2-D $ lambda-t $ OCDMA
WO2022017182A1 (en) Data scrambling method, data descrambling method, and related device
CN113347510B (en) Communication device, MAC chip and optical module
EP4156553A1 (en) An apparatus and a method for transmitting and receiving in a passive optical network
EP2790428A2 (en) Device and method for the secure transmission of data over z channels using cdma

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19910248

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19910248

Country of ref document: EP

Kind code of ref document: A1