WO2017197978A1 - Ranging method, optical line terminal and optical network unit - Google Patents

Ranging method, optical line terminal and optical network unit Download PDF

Info

Publication number
WO2017197978A1
WO2017197978A1 PCT/CN2017/077913 CN2017077913W WO2017197978A1 WO 2017197978 A1 WO2017197978 A1 WO 2017197978A1 CN 2017077913 W CN2017077913 W CN 2017077913W WO 2017197978 A1 WO2017197978 A1 WO 2017197978A1
Authority
WO
WIPO (PCT)
Prior art keywords
onu
olt
ranging
wavelength
channel
Prior art date
Application number
PCT/CN2017/077913
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 中兴通讯股份有限公司
Publication of WO2017197978A1 publication Critical patent/WO2017197978A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation
    • H04J14/0241Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths
    • H04J14/0242Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON
    • H04J14/0249Wavelength allocation for communications one-to-one, e.g. unicasting wavelengths in WDM-PON for upstream transmission, e.g. ONU-to-OLT or ONU-to-ONU
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/27Arrangements for networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring

Definitions

  • This document relates to, but is not limited to, the field of communications, and in particular, to a ranging method, an optical line terminal, and an optical network unit in a Passive Optical Network (PON).
  • PON Passive Optical Network
  • the topology of the PON system is shown in Figure 1.
  • the PON system usually consists of the Optical Line Terminal (OLT) on the central office, the Optical Network Unit (ONU) on the user side, and the Optical Distribution Network (ODN). It is usually a point-to-multipoint network. structure.
  • ODN consists of passive optical components such as single-mode fiber and optical splitter, optical connector, etc., providing optical transmission medium for the physical connection between OLT and ONU.
  • the related art proposes to simultaneously transmit data on multiple wavelengths in one fiber; wherein, the data of different ONUs on the same wavelength adopts time division multiplexing mode, and the uplink adopts time division multiplexing.
  • Each OLT manages multiple groups of ONUs.
  • the upstream wavelengths of the uplink data sent by a group of ONUs on the same upstream wavelength and downstream wavelength are the same.
  • the downlink wavelengths for receiving downlink data are also the same.
  • the uplink wavelengths of the uplink data transmitted by the ONU group are different on different uplink wavelengths and downlink wavelengths, and the downlink wavelengths for receiving downlink data are also different.
  • the related art In order to support the ONU to transmit data exceeding the single channel rate, the related art also proposes that the ONU can support data transmission on multiple sets of wavelength channels. Under this architecture, how can the ONU register and activate on multiple channels, that is, how the OLT obtains The wavelength channel information supported by the ONU, on which wavelength channel the ONU is registered, how the OLT completes the ranging of the ONU on multiple channels, and the related art does not propose a solution.
  • Embodiments of the present invention provide a ranging method, an optical line terminal, and an optical network unit to implement activation registration of an ONU on multiple wavelength channels.
  • An embodiment of the present invention provides a ranging method, including:
  • the optical network unit ONU opens all receivers to receive downlink data, and after responding to the registration request of the optical line terminal (OLT) on a downlink wavelength channel, responds to the registration request of the OLT; wherein the registration request carries the registered uplink bandwidth information;
  • OLT optical line terminal
  • the ONU reports the media access control address or the sequence number information to the OLT for ranging in the registered uplink bandwidth.
  • the request for registration of the response OLT includes:
  • the ONU responds to the registration request of the OLT on the downlink channel;
  • the ONU selects a channel of a minimum wavelength or a channel of a maximum wavelength among the supported wavelength channels in response to a registration request of the OLT.
  • the ranging method further includes: reporting, by the ONU, the medium access control address or the serial number information to the OLT, and reporting all wavelength channel information supported by the ONU; or
  • the ONU After receiving the message that the OLT queries the wavelength channel capability, the ONU reports all the wavelength channel information supported by the ONU.
  • the ranging method further includes: the ONU receiving a logical link identifier or the ONU identifier information that is allocated by the OLT to the ONU.
  • the ranging method further includes:
  • the ONU receives a ranging result on each wavelength channel sent by the OLT;
  • the uplink data is sent by using a delay determined according to the ranging result corresponding to the wavelength channel.
  • the ranging method further includes:
  • the uplink data transmission time information transmits uplink data.
  • An embodiment of the present invention provides an optical network unit, including:
  • the listening module is configured to enable all receivers to receive downlink data, and after receiving the registration request of the optical line terminal OLT on the downlink channel, respond to the registration request; wherein the registration request carries the information of the registered uplink bandwidth;
  • the reporting module is configured to report the media access control address or the serial number information to the OLT for ranging in the registered uplink bandwidth.
  • the requesting module is configured to respond to the registration request of the OLT, including:
  • the channel of the smallest wavelength or the channel of the largest wavelength is selected among the wavelength channels supported by the optical network unit in response to the registration request of the OLT.
  • the reporting module is configured to:
  • the optical network unit further includes:
  • the first receiving module is configured to receive a logical link identifier or the ONU identifier information that is allocated by the OLT to the ONU.
  • the optical network unit further includes:
  • a second receiving module configured to receive a ranging result on each wavelength channel sent by the OLT
  • the second sending module is configured to send the uplink data by using the delay determined by the ranging result corresponding to the wavelength channel when the uplink data is sent on the wavelength channel.
  • the optical network unit further includes:
  • the third receiving module is configured to receive uplink data sending time information corresponding to each wavelength channel sent by the OLT;
  • the third sending module uses the corresponding wavelength channel when transmitting the uplink data on the wavelength channel.
  • the uplink data transmission time information transmits uplink data.
  • An embodiment of the present invention provides a ranging method, including:
  • the optical line terminal OLT After receiving the medium access control address or sequence number information reported by the optical network unit ONU, the optical line terminal OLT allocates a logical link identifier or the ONU identifier information to the ONU;
  • the OLT After receiving, by the OLT, all the wavelength channel information supported by the ONU, the OLT performs ranging on the wavelength channel supported by the ONU.
  • the measuring, by the OLT, the ONU on the wavelength channel supported by the ONU includes:
  • the OLT simultaneously performs ranging on the ONUs on all wavelength channels supported by the ONU;
  • the OLT performs a first ranging result on the first ONU supporting all the wavelength channels in the passive optical network system to obtain a first ranging result, and obtains the optical fibers of all the wavelength channels by using the first ranging result. a length difference; the OLT performs ranging on a wavelength channel of the second ONU in the passive optical network system, and obtains a second ranging result of the second ONU on the wavelength channel, according to the The fiber length difference of the all wavelength channels, the second ranging result, and the wavelength value of the wavelength channel to be measured calculate the ranging result of the ONU in the wavelength channel to be measured.
  • the ranging method further includes:
  • the ranging result of the ONU on each wavelength channel is respectively sent to the ONU on each wavelength channel;
  • each wavelength channel and its corresponding ranging result are sent to the ONU on one of the wavelength channels;
  • the ranging result of the ONU on each wavelength channel is stored.
  • the measuring, by the OLT, the ONU on the wavelength channel supported by the ONU includes:
  • the OLT simultaneously measures the ONU on all wavelength channels supported by the ONU;
  • the OLT tests the ONUs successively on all wavelength channels supported by the ONU. distance.
  • the ranging method further includes:
  • the uplink data transmission time of the ONU is determined according to the ranging result corresponding to the ONU on each wavelength channel, and each determined wavelength channel is corresponding.
  • the uplink data transmission time information is sent to the ONU.
  • An embodiment of the present invention provides an optical line terminal, including:
  • the distribution module is configured to: after receiving the medium access control address or the serial number information reported by the ONU of the optical network unit, assign the logical link identifier or the ONU identification information to the ONU;
  • the ranging module is configured to: after receiving all the wavelength channel information supported by the ONU reported by the ONU, perform ranging on the ONU supported wavelength channel.
  • the ranging module is configured to: perform simultaneous ranging on the ONUs on all wavelength channels supported by the ONU; or
  • the second ONU in the passive optical network system performs ranging on one wavelength channel, and obtains a second ranging result of the second ONU on the wavelength channel, according to the length of the optical fiber of all the wavelength channels.
  • the difference value, the second ranging result, and the wavelength value of the wavelength channel to be measured calculate the ranging result of the ONU in the wavelength channel to be measured.
  • the optical line terminal further includes:
  • the optical line terminal further includes:
  • a fourth sending module configured to send a ranging result of the ONU on each wavelength channel to the ONU on each wavelength channel after the ranging module completes ranging; or Sending each wavelength channel and its corresponding ranging result to the ONU on a wavelength channel;
  • a storage module configured to store a ranging result for the ONU on each wavelength channel.
  • the ranging module is configured to: simultaneously measure the ONUs on all the wavelength channels supported by the ONU; or, the OLTs are aligned on all the wavelength channels supported by the ONUs.
  • the ONU performs ranging.
  • the optical line terminal further includes:
  • a determining module configured to: when the ONU sends a bandwidth allocation message on the multi-wavelength channel, determine, according to the ranging result corresponding to the ONU on each wavelength channel, an uplink data sending time of the ONU, and each wavelength to be determined The uplink data transmission time information corresponding to the channel is sent to the ONU.
  • the technical solution provided by the embodiment of the present invention includes: an optical network unit (ONU) turns on all receivers to receive downlink data, and after detecting a registration request of an optical line terminal (OLT) on a downlink wavelength channel, And responding to the registration request of the OLT; wherein the registration request carries the information of the registered uplink bandwidth; the ONU reports the media access control address or the serial number information to the OLT for ranging in the registered uplink bandwidth.
  • OLT optical line terminal
  • FIG. 1 is a structural diagram of a related art passive optical network
  • FIG. 3 is a flowchart of a method for ranging on an ONU side according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for ranging on an OLT side according to an embodiment of the present invention
  • FIG. 5 is a topological diagram of a time division wavelength division PON according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic diagram of an optical network unit according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an optical line terminal according to an embodiment of the present invention.
  • the OLT includes multiple wavelength channels, each of which uses one downlink wavelength and one uplink wavelength, and each wavelength channel manages a group of ONUs, and the group of ONUs adopts time division and complex
  • the uplink data is sent by the access mode, and different groups of ONUs on different wavelength channels use WDM to transmit data.
  • An ONU can support multiple wavelength channels. This hair
  • the embodiment of the present invention solves the problem of how the ONU registers and activates on multiple wavelength channels in the case where the ONU supports multiple wavelength channels, that is, how the OLT obtains the wavelength channel information supported by the ONU, and on which wavelength channel the ONU is registered. How the OLT completes the problem of ranging of ONUs on multiple wavelength channels.
  • FIG. 3 is a flowchart of a method for ranging on an ONU side according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • Step (S) 11 The optical network unit (ONU) turns on all receivers to receive downlink data, and after detecting the registration request of the optical line terminal (OLT) on the downlink channel, responds to the registration request of the OLT; wherein the registration request carries the registration Information of the upstream bandwidth;
  • detecting the registration request of the OLT on the downlink channel includes detecting the registration request of the OLT on a downlink channel.
  • the ONU reports the media access control address or the serial number information to the OLT for ranging in the registered uplink bandwidth.
  • the request for registration in response to the OLT in the embodiment of the present invention includes:
  • the ONU responds to the registration request of the OLT on the downlink channel; or,
  • the ONU selects the channel of the smallest wavelength or the channel of the largest wavelength in the supported wavelength channel in response to the registration request of the OLT.
  • the ranging method of the embodiment of the present invention further includes:
  • the ONU When the ONU reports the media access control address or the serial number information to the OLT, it reports all the wavelength channel information supported by the ONU; or
  • the ONU After receiving the message that the OLT queries the wavelength channel capability, the ONU reports all the wavelength channel information supported by the ONU.
  • the ranging method of the embodiment of the present invention further includes:
  • the ONU receives the logical link identifier or ONU identification information that the OLT assigns to the ONU.
  • the ranging method of the embodiment of the present invention further includes:
  • the ONU receives the ranging result on each wavelength channel sent by the OLT;
  • the ranging corresponding to the wavelength channel is used.
  • the resulting delay sends the upstream data.
  • the ranging method of the embodiment of the present invention further includes:
  • the ONU receives uplink data transmission time information corresponding to each wavelength channel sent by the OLT;
  • the uplink data is transmitted using the uplink data transmission time information corresponding to the wavelength channel.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the ranging method.
  • the embodiment of the invention further provides a distance measuring device, comprising: a memory and a processor; wherein
  • the processor is configured to execute program instructions in the memory
  • the media access control address or the serial number information is reported to the OLT for ranging in the registered upstream bandwidth.
  • FIG. 4 is a flowchart of a method for ranging on the OLT side according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
  • the OLT After receiving the media access control address or sequence number information reported by the ONU, the OLT allocates a logical link identifier or ONU identifier information to the ONU.
  • the OLT After the OLT receives all the wavelength channel information supported by the ONU reported by the ONU, the OLT performs ranging on the wavelength channel supported by the ONU.
  • the OLT measures the ONU on the wavelength channel supported by the ONU, including:
  • the OLT simultaneously measures the ONU on all wavelength channels supported by the ONU;
  • the OLT performs a first ranging result on all wavelength channels of a first ONU supporting all wavelength channels in the passive optical network system, and obtains a fiber length difference of all wavelength channels by using the first ranging result;
  • the second ONU performs ranging on one wavelength channel, and obtains a second ranging result of the second ONU on the wavelength channel, according to the first ranging result, the fiber length difference of all wavelength channels and the waiting
  • the wavelength value of the ranging wavelength channel calculates the ranging result of the ONU in the wavelength channel to be measured.
  • the ONU turns on all receivers to receive downlink data, and listens for a registration request on a downlink wavelength channel, where the registration request carries the information of the registered uplink bandwidth, and responds to the registration request of the OLT on the wavelength channel; or
  • the ONU selects the minimum or maximum wavelength channel in its own supported wavelength channel to respond to the OLT's registration request.
  • the ONU reports its own media access control address or serial number information to the OLT in the registered upstream bandwidth.
  • the ONU can report the media access control address or the serial number information, and simultaneously report all the wavelength channel information supported by the ONU.
  • the wavelength channel information may include the wavelength corresponding to the channel or the code information corresponding to the wavelength channel; or the ONU queries at the OLT. After supporting the wavelength channel capability, it reports all wavelength channel information supported by itself.
  • the OLT After receiving the media access control address or the serial number information sent by the ONU, the OLT sends the logical link identifier or the ONU identifier information of the ONU to the ONU.
  • the ranging result of the ONUs on each wavelength channel is respectively sent to the ONUs in each wavelength channel; or, in one of the wavelength channels, each wavelength channel and its corresponding measurement are respectively performed.
  • the result information is sent to the ONU.
  • the OLT stores the ranging result of the ONU on each wavelength channel.
  • the uplink data transmission time of the ONU is scheduled according to the ranging result corresponding to the ONU on each wavelength channel, and the determined uplink data sending time information is sent to the ONU.
  • the delay is determined according to the ranging result corresponding to the wavelength channel, and the uplink data is sent after the delay; or the uplink data is sent according to the uplink data sending time information sent by the OLT. .
  • the OLT When the OLT performs ranging on the ONUs on all the wavelength channels supported by the ONU, the ONU turns on all the supported transmitters to respond to the OLT's ranging commands.
  • the OLT can measure the ONUs on all the channels supported by the ONUs.
  • all wavelength channels supported by the ONU can be determined by related techniques.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the ranging method.
  • the embodiment of the invention further provides a distance measuring device, comprising: a memory and a processor; wherein
  • the processor is configured to execute program instructions in the memory
  • the logical link identifier or the ONU identifier information is allocated to the ONU;
  • the ONU After receiving all the wavelength channel information supported by the ONU reported by the ONU, the ONU is measured on the wavelength channel supported by the ONU.
  • Embodiment 1 (EPON (Ethernet Passive Optical Network) - Ranging all channels of all ONUs)
  • the OLT includes multiple wavelength channels, each of which uses one downlink wavelength and one upstream wavelength. Each channel manages a group of ONUs.
  • the group of ONUs uses the time division multiplexing access mode to send uplink data, and different groups on different wavelength channels.
  • the ONU uses wavelength division multiplexing to transmit data.
  • An ONU can support multiple wavelength channels and can transmit and receive data on multiple wavelength channels.
  • the OLT and ONU use the following main steps for registration activation:
  • Step 101 The ONU turns on all the receivers to receive the downlink data, and after receiving the registration request on a downlink channel, responds to the registration request on the wavelength channel, and reports its own media access control address to the OLT in the window. Or, the ONU selects the smallest or most of the wavelength channels it supports. The large wavelength channel responds to the registration request of the OLT.
  • Step 102 When the ONU can report the media access control address information, report all wavelength channel information supported by the ONU.
  • the wavelength channel information may be the wavelength corresponding to the channel or the code information corresponding to the channel.
  • Step 103 After receiving the media access control address information sent by the ONU, the OLT sends the logical link identifier assigned to the ONU to the ONU.
  • Step 104 After obtaining all the wavelength channel information supported by the ONU, the OLT performs ranging on the ONUs in all the wavelength channels supported by the ONU, and stores the ranging result of the ONU on each channel.
  • Step 105 When the OLT sends the bandwidth allocation to the ONU on the multi-wavelength channel, the uplink data transmission time of the ONU is scheduled according to the ranging result corresponding to the ONU on each wavelength channel.
  • step 102 when the ONU can report the medium access control address information, report all the wavelength channel information supported by the ONU at the same time.
  • the wavelength channel information may be the wavelength corresponding to the channel or the code information corresponding to the channel; or the ONU asks the OLT for support. After the wavelength channel capability, report all wavelength channel information that it supports.
  • the OLT can simultaneously measure the ONU on all the channels supported by the ONU, and the ONU turns on all the supported transmitters to respond to the ranging command of the OLT; or the OLT can perform ranging on the ONUs on all channels supported by the ONU. .
  • Embodiment 2 (EPON-to-one ONU ranging)
  • the OLT includes multiple wavelength channels, each of which uses one downlink wavelength and one upstream wavelength. Each channel manages a group of ONUs.
  • the group of ONUs uses the time division multiplexing access mode to send uplink data, and different groups on different wavelength channels.
  • the ONU uses wavelength division multiplexing to transmit data.
  • An ONU can support multiple wavelength channels and can transmit and receive data on multiple wavelength channels.
  • the OLT and ONU use the following main steps for registration activation:
  • the OLT includes four ports, each port is connected to one channel, one channel uses one set of uplink wavelength and downlink wavelength, and one channel corresponds to one OLT port. And a set of ONUs on which the OLT port and the group ONU.
  • An ONU can support sending and receiving data on multiple channels, that is, one ONU can be connected to multiple channels, and multiple OLT ports can send and receive data.
  • the difference in fiber length between different channels of the PON system is measured as follows. Methods as below:
  • the loop delay of the ONU1 measured by the OLT in channel 1 is t1
  • the loop delay of the ONU1 measured by the OLT in channel 2 is t2.
  • the loop delay of the ONU1 measured by the OLT in channel 3 is t3, and the OLT is measured in channel 4.
  • the loop delay of ONU1 is t4, then the difference between the two channels of channel 1 and channel 2 is (t2-t1)*c/(2n), and the difference between the two channels of channel 1 and channel 3 is L13 ( T3-t1)*c/(2n), channel 1 and channel 4 two channel fiber difference L14 is (t4-t1)*c/(2n), then channel 2 and channel 3 two channel fiber difference L23 is (t3-t2)*c/(2n), channel 2 and channel 4 two-channel fiber difference L24 is (t4-t2)*c/(2n), channel 3 and channel 4 two channel fiber difference L34 is (t4-t3)*c/(2n), where c is the speed of light, and n is the refractive index of the light wave of the transmitted optical signal in the channel within the fiber.
  • Step 201 The ONU turns on all the receivers to receive the downlink data, and after detecting the registration window on a downlink channel, responds to the registration request on the channel, and reports its own media access control address to the OLT in the window. Or the ONU selects the minimum or maximum wavelength channel in its own supported wavelength channel to respond to the OLT registration request.
  • Step 202 When the ONU can report the media access control address information, report all the wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel.
  • Step 203 After receiving the media access control address information sent by the ONU, the OLT sends the logical link identifier assigned to the ONU to the ONU.
  • Step 204 The OLT performs ranging on the ONU registration channel to obtain the ranging result of the ONU in the registration channel.
  • the OLT determines the wavelength of the optical path of the different channels according to the ranging result and the wavelength of the other to-be-measured channel supported by the ONU.
  • the value calculates the ranging result of the ONU in other channels to be measured.
  • Step 205 When the OLT sends the bandwidth allocation to the ONU on the multi-channel, the uplink data transmission time of the ONU is scheduled according to the ranging result corresponding to the ONU on each channel.
  • step 202 when the ONU can report the medium access control address information, it simultaneously reports all the wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel; or the ONU asks the OLT for the supported wavelength. After the channel capability, report all wavelength channel information that it supports.
  • Embodiment 3 (Gigabit-Capable Passive Optical Network (GPON) - for all ONU ranging)
  • the OLT includes multiple wavelength channels, each of which uses one downlink wavelength and one upstream wavelength. Each channel manages a group of ONUs.
  • the group of ONUs uses the time division multiplexing access mode to send uplink data, and different groups on different wavelength channels.
  • the ONU uses wavelength division multiplexing to transmit data.
  • An ONU can support multiple wavelength channels and can transmit and receive data on multiple wavelength channels.
  • the OLT and ONU use the following main steps for registration activation:
  • Step 301 The ONU turns on all the receivers to receive the downlink data, and after detecting the registration window on a downlink channel, responds to the registration request on the channel, and reports its own serial number to the OLT in the window. Or the ONU selects the minimum or maximum wavelength channel in its own supported wavelength channel to respond to the OLT registration request.
  • Step 302 When the ONU can report the serial number, report all wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel.
  • Step 303 After receiving the sequence number information sent by the ONU, the OLT sends the ONU identifier assigned to the ONU to the ONU.
  • Step 304 After obtaining all the wavelength channel information supported by the ONU, the OLT performs ranging on the ONUs in all the wavelength channels supported by the ONU, and sends the ranging results of the ONUs on each channel to the ONUs in each channel, or Among them, one channel sends all channels and their corresponding ranging result information to the ONU.
  • Step 305 The OLT sends a bandwidth allocation to the ONU on multiple channels.
  • the uplink data is sent after the delay of the corresponding ranging result of the channel.
  • step 302 when the ONU can report the serial number information, it simultaneously reports all the wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel; or the ONU after the OLT queries its supported wavelength channel capability. Report all wavelength channel information that you support.
  • the OLT can simultaneously measure the ONU on all channels supported by the ONU, and the ONU turns on all the supported transmitters to respond to the ranging command of the OLT; or the OLT can perform ranging on the ONUs on all channels supported by the ONU. .
  • Embodiment 4 (GPON-to-one ONU ranging)
  • the OLT includes multiple wavelength channels, each of which uses one downlink wavelength and one upstream wavelength. Each channel manages a group of ONUs.
  • the group of ONUs uses the time division multiplexing access mode to send uplink data, and different groups on different wavelength channels.
  • the ONU uses wavelength division multiplexing to transmit data.
  • An ONU can support multiple wavelength channels and can transmit and receive data on multiple wavelength channels.
  • the OLT and ONU use the following main steps for registration activation:
  • the OLT consists of four ports. Each port is connected to one channel.
  • One channel uses one upstream wavelength and one downstream wavelength, and one channel corresponds to one OLT port.
  • An ONU can support sending and receiving data on multiple channels, that is, one ONU can be connected to multiple channels, and multiple OLT ports can send and receive data.
  • the difference in fiber length between different channels of the PON system is measured as follows. Methods as below:
  • the OLT measures the loop delay of ONU1 to be t1 on channel 1, and the OLT measures ONU1 on channel 2.
  • the loop delay is t2
  • the loop delay of the ONU1 measured by the OLT in channel 3 is t3
  • the loop delay of the ONU1 measured by the OLT in channel 4 is t4
  • the difference between the two channels of channel 1 and channel 2 is L12 is (t2-t1)*c/(2n)
  • the difference between the two channels of channel 1 and channel 3 is L13 (t3-t1)*c/(2n)
  • the difference between two channels of channel 1 and channel 4 L14 is (t4-t1)*c/(2n)
  • the difference between the two channels of channel 2 and channel 3 is L23 (t3-t2)*c/(2n)
  • the channel 2 and channel 4 are poor.
  • the value L24 is (t4-t2)*c/(2n), and the channel L3 of channel 3 and channel 4 is (t4-t3)*c/(2n), c is the speed of light, and n is the transmission in the channel.
  • Step 401 The ONU turns on all the receivers to receive the downlink data, and after detecting the registration window on a downlink channel, responds to the registration request on the channel, and reports its own serial number to the OLT in the window. Or the ONU selects the minimum or maximum wavelength channel in its own supported wavelength channel to respond to the OLT registration request.
  • Step 402 When the ONU can report the serial number, report all wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel.
  • Step 403 After receiving the serial number information sent by the ONU, the OLT sends the ONU identifier assigned to the ONU to the ONU.
  • Step 404 The OLT performs ranging on the ONU to obtain the ranging result of the ONU in the registration channel.
  • the OLT obtains the difference between the optical fibers of different channels and other to-be-measured channels supported by the ONU according to the foregoing ranging result.
  • the wavelength value calculates the ranging result of the ONU in other channels to be measured.
  • Step 405 The OLT sends the bandwidth allocation to the ONU on the multi-channel.
  • the ONR sends the uplink data after using the ranging result corresponding to the channel.
  • step 402 of the embodiment when the ONU can report the serial number information, it simultaneously reports all the wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel; or the ONU asks the OLT for the supported wavelength at the OLT. After the channel capability, report all wavelength channel information that it supports.
  • FIG. 6 is a schematic diagram of an optical network unit according to an embodiment of the present invention. As shown in FIG. 6, the method includes:
  • the listening module is configured to enable all receivers to receive downlink data, and after receiving the registration request of the OLT on the downlink channel, respond to the registration request; wherein the registration request carries the information of the registered uplink bandwidth;
  • the reporting module is configured to report the media access control address or the serial number information to the OLT for ranging in the registered uplink bandwidth.
  • the listening module is configured to respond to the registration request of the OLT, including:
  • the channel of the smallest wavelength or the channel of the largest wavelength is selected in the wavelength channel supported by the optical network unit in response to the registration request of the OLT.
  • the reporting module is configured to: report the medium access control address or the serial number information to the OLT, and report all the wavelength channel information supported by the optical network unit; or, after receiving the message that the OLT queries the wavelength channel capability, Report all wavelength channel information supported by the optical network unit.
  • the optical network unit may further include:
  • the first receiving module is configured to receive a logical link identifier or ONU identifier information that is allocated by the OLT to the ONU.
  • the optical network unit may further include:
  • a second receiving module configured to receive a ranging result on each wavelength channel sent by the OLT
  • the second sending module is configured to send uplink data by using a delay determined by the ranging result corresponding to the wavelength channel when the uplink data is sent on different wavelength channels.
  • the optical network unit may further include:
  • the third receiving module is configured to receive uplink data sending time information corresponding to each wavelength channel sent by the OLT;
  • the third sending module is configured to send the uplink data by using the uplink data sending time information corresponding to the corresponding wavelength channel when the uplink data is sent on different wavelength channels.
  • FIG. 7 is a schematic diagram of an optical line terminal according to an embodiment of the present invention. As shown in FIG. 7, the method includes:
  • the distribution module is configured to receive the logical link identifier or the ONU identifier information to the ONU after receiving the medium access control address or the sequence number information reported by the ONU of the optical network unit;
  • the ranging module is configured to receive the ONUs on the wavelength channel supported by the ONU after receiving all the wavelength channel information supported by the ONUs reported by the ONU.
  • the ranging module is configured to perform simultaneous ranging on the ONUs on all wavelength channels supported by the ONU;
  • the first ONU supporting all wavelength channels in the passive optical network system performs ranging on all wavelength channels to obtain a first ranging result, and the first ranging result obtains the fiber length difference of all wavelength channels;
  • the second ONU in the source optical network system performs ranging on one wavelength channel, and obtains a second ranging result of the second ONU on the wavelength channel, according to the fiber length difference of all wavelength channels, the second ranging result, and the to-be-tested
  • the distance value of the wavelength channel is calculated from the distance measurement of the ONU in the wavelength channel to be measured.
  • the optical line terminal may further include:
  • the fourth sending module is configured to: after the ranging module completes the ranging, send the ranging result of the ONU on each wavelength channel to the ONU on each wavelength channel; or, on one of the wavelength channels, The wavelength channels and their corresponding ranging results are sent to the ONU;
  • a storage module configured to store a ranging result for the ONU on each wavelength channel.
  • the ranging module is configured to perform ranging on the ONUs on all the wavelength channels supported by the ONU.
  • the OLT performs ranging on the ONUs on all wavelength channels supported by the ONU.
  • the optical line terminal may further include:
  • the determining module is configured to: when the ONU sends the bandwidth allocation message on the multi-wavelength channel, determine the uplink data sending time of the ONU according to the ranging result corresponding to the ONU on each wavelength channel, and send the determined uplink data corresponding to each wavelength channel.
  • the time information is sent to the ONU.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the above technical solution implements fast registration of the OLT when the ONU supports multiple channels, and avoids uplink data conflicts with other ONUs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Optical Communication System (AREA)
  • Small-Scale Networks (AREA)

Abstract

A ranging method, an optical line terminal (OLT) and an optical network unit (ONU). The method comprises: an optical network unit (ONU) opening all receivers to receive downlink data, and after monitoring a registration request of an optical line terminal (OLT) in a downlink wavelength channel, responding to the registration request of the OLT, the registration request carrying information of the registered uplink bandwidth; and the ONU reporting the media access control address or sequence number information in the registered uplink bandwidth to the OLT to perform ranging. Embodiments of the present invention achieve rapid registration of the OLT when the ONU supports a plurality of channels, avoiding uplink data conflicts with other ONUs.

Description

一种测距方法、光线路终端和光网络单元Ranging method, optical line terminal and optical network unit 技术领域Technical field
本文涉及但不限于通信领域,尤其涉及一种无源光网络(Passive Optical Network,简称PON)中的测距方法、光线路终端和光网络单元。This document relates to, but is not limited to, the field of communications, and in particular, to a ranging method, an optical line terminal, and an optical network unit in a Passive Optical Network (PON).
背景技术Background technique
随着网络技术的发展,可以利用网络传输大量的语音、数据、视频等业务,因此对带宽的要求不断提高,无源光网络(PON)就是在这种需求下产生的。With the development of network technology, a large amount of voice, data, video and other services can be transmitted by using the network, so the bandwidth requirements are continuously improved, and a passive optical network (PON) is generated under such a demand.
PON***的拓扑结构如图1所示,PON***通常由局侧的光线路终端(OLT)、用户侧的光网络单元(ONU)和光分配网络(ODN)组成,一般为点到多点的网络结构。ODN由单模光纤和光分路器、光连接器等无源光器件组成,为OLT和ONU之间的物理连接提供光传输媒质。为了在节省光纤资源情况下提升线路速率,相关技术中提出了在一根光纤中多个波长上同时传输数据;其中,同一波长上不同ONU的数据下行采用时分复用方式,上行采用时分复用接入方式,这样的***称为波分时分PON***,拓扑结构如图2所示,每个OLT管理多组ONU,在同一上行波长和下行波长上一组ONU发送上行数据的上行波长相同,并且接收下行数据的下行波长也相同,不同上行波长和下行波长上ONU组发送上行数据的上行波长不同,并且接收下行数据的下行波长也不同。The topology of the PON system is shown in Figure 1. The PON system usually consists of the Optical Line Terminal (OLT) on the central office, the Optical Network Unit (ONU) on the user side, and the Optical Distribution Network (ODN). It is usually a point-to-multipoint network. structure. ODN consists of passive optical components such as single-mode fiber and optical splitter, optical connector, etc., providing optical transmission medium for the physical connection between OLT and ONU. In order to improve the line rate in the case of saving fiber resources, the related art proposes to simultaneously transmit data on multiple wavelengths in one fiber; wherein, the data of different ONUs on the same wavelength adopts time division multiplexing mode, and the uplink adopts time division multiplexing. Access mode, such a system is called a wavelength division time division PON system. The topology is shown in Figure 2. Each OLT manages multiple groups of ONUs. The upstream wavelengths of the uplink data sent by a group of ONUs on the same upstream wavelength and downstream wavelength are the same. The downlink wavelengths for receiving downlink data are also the same. The uplink wavelengths of the uplink data transmitted by the ONU group are different on different uplink wavelengths and downlink wavelengths, and the downlink wavelengths for receiving downlink data are also different.
为了支持ONU能够传输超过单通道速率的数据,相关技术中还提出了ONU可以支持在多组波长通道上传输数据,在这种架构下,ONU如何在多种通道上注册激活,即OLT如何获得ONU支持的波长通道信息,ONU在哪个波长通道上注册,OLT如何完成ONU在多个通道上的测距,相关技术未提出解决方法。In order to support the ONU to transmit data exceeding the single channel rate, the related art also proposes that the ONU can support data transmission on multiple sets of wavelength channels. Under this architecture, how can the ONU register and activate on multiple channels, that is, how the OLT obtains The wavelength channel information supported by the ONU, on which wavelength channel the ONU is registered, how the OLT completes the ranging of the ONU on multiple channels, and the related art does not propose a solution.
发明概述Summary of invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。 The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种测距方法、光线路终端及光网络单元,以实现ONU在多种波长通道上注册激活。Embodiments of the present invention provide a ranging method, an optical line terminal, and an optical network unit to implement activation registration of an ONU on multiple wavelength channels.
本发明实施例提供了一种测距方法,包括:An embodiment of the present invention provides a ranging method, including:
光网络单元ONU打开所有接收机接收下行数据,在一下行波长通道上侦听到光线路终端(OLT)的注册请求后,响应OLT的注册请求;其中,所述注册请求携带注册的上行带宽的信息;The optical network unit ONU opens all receivers to receive downlink data, and after responding to the registration request of the optical line terminal (OLT) on a downlink wavelength channel, responds to the registration request of the OLT; wherein the registration request carries the registered uplink bandwidth information;
所述ONU在所述注册的上行带宽内将媒质接入控制地址或者序列号信息上报给所述OLT进行测距。The ONU reports the media access control address or the sequence number information to the OLT for ranging in the registered uplink bandwidth.
可选地,所述响应OLT的注册请求包括:Optionally, the request for registration of the response OLT includes:
所述ONU在所述下行通道上响应所述OLT的注册请求;或者,The ONU responds to the registration request of the OLT on the downlink channel; or
所述ONU在支持的波长通道中选择最小波长的通道或者最大波长的通道响应所述OLT的注册请求。The ONU selects a channel of a minimum wavelength or a channel of a maximum wavelength among the supported wavelength channels in response to a registration request of the OLT.
可选地,所述测距方法还包括:所述ONU将媒质接入控制地址或者序列号信息上报给所述OLT的同时,上报所述ONU支持的所有波长通道信息;或者,Optionally, the ranging method further includes: reporting, by the ONU, the medium access control address or the serial number information to the OLT, and reporting all wavelength channel information supported by the ONU; or
所述ONU接收到所述OLT询问波长通道能力的消息后,上报所述ONU支持的所有波长通道信息。After receiving the message that the OLT queries the wavelength channel capability, the ONU reports all the wavelength channel information supported by the ONU.
可选地,所述测距方法还包括:所述ONU接收所述OLT分配给所述ONU的逻辑链路标识或者所述ONU标识信息。Optionally, the ranging method further includes: the ONU receiving a logical link identifier or the ONU identifier information that is allocated by the OLT to the ONU.
可选地,所述测距方法还包括:Optionally, the ranging method further includes:
所述ONU接收所述OLT发送的每一个波长通道上的测距结果;The ONU receives a ranging result on each wavelength channel sent by the OLT;
所述ONU在波长通道上发送上行数据时,使用根据该波长通道对应的测距结果确定的延时发送上行数据。When the ONU sends uplink data on the wavelength channel, the uplink data is sent by using a delay determined according to the ranging result corresponding to the wavelength channel.
可选地,所述测距方法还包括:Optionally, the ranging method further includes:
所述ONU接收所述OLT发送的每个波长通道对应的上行数据发送时间信息;Receiving, by the ONU, uplink data transmission time information corresponding to each wavelength channel sent by the OLT;
所述ONU在波长通道上发送上行数据时,使用与波长通道对应的所述 上行数据发送时间信息发送上行数据。When the ONU sends uplink data on the wavelength channel, the corresponding to the wavelength channel is used. The uplink data transmission time information transmits uplink data.
本发明实施例提供一种光网络单元,包括:An embodiment of the present invention provides an optical network unit, including:
侦听模块,配置为打开所有接收机接收下行数据,在下行通道上侦听到光线路终端OLT的注册请求后,响应注册请求;其中,所述注册请求携带注册的上行带宽的信息;The listening module is configured to enable all receivers to receive downlink data, and after receiving the registration request of the optical line terminal OLT on the downlink channel, respond to the registration request; wherein the registration request carries the information of the registered uplink bandwidth;
上报模块,配置为在所述注册的上行带宽内将媒质接入控制地址或者序列号信息上报给所述OLT进行测距。The reporting module is configured to report the media access control address or the serial number information to the OLT for ranging in the registered uplink bandwidth.
可选地,所述侦听模块配置为响应OLT的注册请求包括:Optionally, the requesting module is configured to respond to the registration request of the OLT, including:
在所述下行通道上响应所述OLT的注册请求;或者,Responding to the registration request of the OLT on the downlink channel; or
在所述光网络单元支持的波长通道中选择最小波长的通道或者最大波长的通道响应所述OLT的注册请求。The channel of the smallest wavelength or the channel of the largest wavelength is selected among the wavelength channels supported by the optical network unit in response to the registration request of the OLT.
可选地,所述上报模块是配置为:Optionally, the reporting module is configured to:
将媒质接入控制地址或者序列号信息上报给所述OLT的同时,上报所述光网络单元支持的所有波长通道信息;或者,接收到所述OLT询问波长通道能力的消息后,上报所述光网络单元支持的所有波长通道信息。Evaluating all the wavelength channel information supported by the optical network unit while reporting the medium access control address or the serial number information to the OLT; or, after receiving the message that the OLT queries the wavelength channel capability, reporting the light All wavelength channel information supported by the network unit.
可选地,所述光网络单元还包括:Optionally, the optical network unit further includes:
第一接收模块,配置为接收所述OLT分配给所述ONU的逻辑链路标识或者所述ONU标识信息。The first receiving module is configured to receive a logical link identifier or the ONU identifier information that is allocated by the OLT to the ONU.
可选地,所述光网络单元还包括:Optionally, the optical network unit further includes:
第二接收模块,配置为接收所述OLT发送的每一个波长通道上的测距结果;a second receiving module, configured to receive a ranging result on each wavelength channel sent by the OLT;
第二发送模块,配置为在波长通道上发送上行数据时,使用该波长通道对应的测距结果确定的延时发送上行数据。The second sending module is configured to send the uplink data by using the delay determined by the ranging result corresponding to the wavelength channel when the uplink data is sent on the wavelength channel.
可选地,所述光网络单元还包括:Optionally, the optical network unit further includes:
第三接收模块,配置为接收所述OLT发送的每个波长通道对应的上行数据发送时间信息;The third receiving module is configured to receive uplink data sending time information corresponding to each wavelength channel sent by the OLT;
第三发送模块,在波长通道上发送上行数据时,使用与波长通道对应的 所述上行数据发送时间信息发送上行数据。The third sending module uses the corresponding wavelength channel when transmitting the uplink data on the wavelength channel. The uplink data transmission time information transmits uplink data.
本发明实施例提供一种测距方法,包括:An embodiment of the present invention provides a ranging method, including:
光线路终端OLT接收到光网络单元ONU上报的媒质接入控制地址或者序列号信息后,向所述ONU分配逻辑链路标识或者所述ONU标识信息;After receiving the medium access control address or sequence number information reported by the optical network unit ONU, the optical line terminal OLT allocates a logical link identifier or the ONU identifier information to the ONU;
所述OLT接收到所述ONU上报的所述ONU支持的所有波长通道信息后,在所述ONU支持的波长通道上对所述ONU进行测距。After receiving, by the OLT, all the wavelength channel information supported by the ONU, the OLT performs ranging on the wavelength channel supported by the ONU.
可选地,所述OLT在所述ONU支持的波长通道上对所述ONU进行测距包括:Optionally, the measuring, by the OLT, the ONU on the wavelength channel supported by the ONU includes:
所述OLT在所述ONU支持的所有波长通道上对所述ONU同时进行测距;或者,The OLT simultaneously performs ranging on the ONUs on all wavelength channels supported by the ONU; or
所述OLT对一个支持所述无源光网络***中所有波长通道的第一ONU在所有波长通道上进行测距得到第一测距结果,通过所述第一测距结果获得所有波长通道的光纤长度差值;所述OLT对所述无源光网络***中第二ONU在一个波长通道上进行测距,获得所述第二ONU在所述波长通道上的第二测距结果,根据所述所有波长通道的光纤长度差值、第二测距结果和待测距波长通道的波长值计算出所述ONU在待测距波长通道的测距结果。The OLT performs a first ranging result on the first ONU supporting all the wavelength channels in the passive optical network system to obtain a first ranging result, and obtains the optical fibers of all the wavelength channels by using the first ranging result. a length difference; the OLT performs ranging on a wavelength channel of the second ONU in the passive optical network system, and obtains a second ranging result of the second ONU on the wavelength channel, according to the The fiber length difference of the all wavelength channels, the second ranging result, and the wavelength value of the wavelength channel to be measured calculate the ranging result of the ONU in the wavelength channel to be measured.
可选地,所述测距方法还包括:Optionally, the ranging method further includes:
所述OLT完成测距后,将在每个波长通道上对所述ONU的测距结果在每个波长通道上分别发送给所述ONU;或者,After the OLT completes the ranging, the ranging result of the ONU on each wavelength channel is respectively sent to the ONU on each wavelength channel; or
所述OLT完成测距后,在其中一个波长通道上将每个波长通道及其对应的测距结果发送给所述ONU;或者,After the OLT completes the ranging, each wavelength channel and its corresponding ranging result are sent to the ONU on one of the wavelength channels; or
所述OLT完成测距后,存储每个波长通道上对所述ONU的测距结果。After the OLT completes the ranging, the ranging result of the ONU on each wavelength channel is stored.
可选地,所述OLT在所述ONU支持的波长通道上对所述ONU进行测距包括:Optionally, the measuring, by the OLT, the ONU on the wavelength channel supported by the ONU includes:
所述OLT在所述ONU支持的所有波长通道上同时对所述ONU进行测距;或者,The OLT simultaneously measures the ONU on all wavelength channels supported by the ONU; or
所述OLT在所述ONU支持的所有波长通道上先后对所述ONU进行测 距。The OLT tests the ONUs successively on all wavelength channels supported by the ONU. distance.
可选地,所述测距方法还包括:Optionally, the ranging method further includes:
所述OLT给所述ONU在多波长通道上发送带宽分配消息时,根据每个波长通道上所述ONU对应的测距结果确定所述ONU的上行数据发送时间,将确定的每个波长通道对应的上行数据发送时间信息发送给所述ONU。When the OLT sends the bandwidth allocation message to the ONU on the multi-wavelength channel, the uplink data transmission time of the ONU is determined according to the ranging result corresponding to the ONU on each wavelength channel, and each determined wavelength channel is corresponding. The uplink data transmission time information is sent to the ONU.
本发明实施例提供一种光线路终端,包括:An embodiment of the present invention provides an optical line terminal, including:
分配模块,配置为接收到光网络单元ONU上报的媒质接入控制地址或者序列号信息后,向所述ONU分配逻辑链路标识或者所述ONU标识信息;The distribution module is configured to: after receiving the medium access control address or the serial number information reported by the ONU of the optical network unit, assign the logical link identifier or the ONU identification information to the ONU;
测距模块,配置为接收到所述ONU上报的所述ONU支持的所有波长通道信息后,在所述ONU支持的波长通道上对所述ONU进行测距。The ranging module is configured to: after receiving all the wavelength channel information supported by the ONU reported by the ONU, perform ranging on the ONU supported wavelength channel.
可选地,所述测距模块是配置为:在所述ONU支持的所有波长通道上对所述ONU同时进行测距;或者,Optionally, the ranging module is configured to: perform simultaneous ranging on the ONUs on all wavelength channels supported by the ONU; or
对一个支持所述无源光网络***中所有波长通道的第一ONU在所有波长通道上进行测距得到第一测距结果,通过所述第一测距结果获得所有波长通道的光纤长度差值;对所述无源光网络***中第二ONU在一个波长通道上进行测距,获得所述第二ONU在所述波长通道上的第二测距结果,根据所述所有波长通道的光纤长度差值、第二测距结果和待测距波长通道的波长值计算出所述ONU在待测距波长通道的测距结果。Performing a first ranging result on a first ONU supporting all wavelength channels in the passive optical network system to obtain a first ranging result, and obtaining a fiber length difference of all wavelength channels by using the first ranging result The second ONU in the passive optical network system performs ranging on one wavelength channel, and obtains a second ranging result of the second ONU on the wavelength channel, according to the length of the optical fiber of all the wavelength channels. The difference value, the second ranging result, and the wavelength value of the wavelength channel to be measured calculate the ranging result of the ONU in the wavelength channel to be measured.
可选地,所述光线路终端还包括:Optionally, the optical line terminal further includes:
所述光线路终端还包括:The optical line terminal further includes:
第四发送模块,配置为在所述测距模块完成测距后,将在每个波长通道上对所述ONU的测距结果在每个波长通道上分别发送给所述ONU;或者,在其中一个波长通道上将每个波长通道及其对应的测距结果发送给所述ONU;a fourth sending module, configured to send a ranging result of the ONU on each wavelength channel to the ONU on each wavelength channel after the ranging module completes ranging; or Sending each wavelength channel and its corresponding ranging result to the ONU on a wavelength channel;
存储模块,配置为存储每个波长通道上对所述ONU的测距结果。a storage module configured to store a ranging result for the ONU on each wavelength channel.
可选地,所述测距模块是配置为:在所述ONU支持的所有波长通道上同时对所述ONU进行测距;或者,所述OLT在所述ONU支持的所有波长通道上先后对所述ONU进行测距。 Optionally, the ranging module is configured to: simultaneously measure the ONUs on all the wavelength channels supported by the ONU; or, the OLTs are aligned on all the wavelength channels supported by the ONUs. The ONU performs ranging.
可选地,所述光线路终端还包括:Optionally, the optical line terminal further includes:
确定模块,配置为给所述ONU在多波长通道上发送带宽分配消息时,根据每个波长通道上所述ONU对应的测距结果确定所述ONU的上行数据发送时间,将确定的每个波长通道对应的上行数据发送时间信息发送给所述ONU。a determining module, configured to: when the ONU sends a bandwidth allocation message on the multi-wavelength channel, determine, according to the ranging result corresponding to the ONU on each wavelength channel, an uplink data sending time of the ONU, and each wavelength to be determined The uplink data transmission time information corresponding to the channel is sent to the ONU.
与相关技术相比,本发明实施例提供的技术方案,包括:光网络单元(ONU)打开所有接收机接收下行数据,在一下行波长通道上侦听到光线路终端(OLT)的注册请求后,响应OLT的注册请求;其中,注册请求携带注册的上行带宽的信息;ONU在注册的上行带宽内将媒质接入控制地址或者序列号信息上报给OLT进行测距。本发明实施例,在ONU支持多个通道时,实现了OLT的快速注册,避免了与其他ONU的上行数据冲突。Compared with the related art, the technical solution provided by the embodiment of the present invention includes: an optical network unit (ONU) turns on all receivers to receive downlink data, and after detecting a registration request of an optical line terminal (OLT) on a downlink wavelength channel, And responding to the registration request of the OLT; wherein the registration request carries the information of the registered uplink bandwidth; the ONU reports the media access control address or the serial number information to the OLT for ranging in the registered uplink bandwidth. In the embodiment of the present invention, when the ONU supports multiple channels, the OLT is quickly registered, and the uplink data conflict with other ONUs is avoided.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是相关技术的无源光网络的组成结构图;1 is a structural diagram of a related art passive optical network;
图2是相关技术的时分波分PON的拓扑图;2 is a topological view of a time division wavelength division PON of the related art;
图3为本发明实施例的ONU侧的测距方法的流程图;3 is a flowchart of a method for ranging on an ONU side according to an embodiment of the present invention;
图4为本发明实施例的OLT侧的测距方法的流程图;4 is a flowchart of a method for ranging on an OLT side according to an embodiment of the present invention;
图5为本发明实施例二的时分波分PON的拓扑图;5 is a topological diagram of a time division wavelength division PON according to Embodiment 2 of the present invention;
图6为本发明实施例的光网络单元的示意图;6 is a schematic diagram of an optical network unit according to an embodiment of the present invention;
图7为本发明实施例的光线路终端的示意图。FIG. 7 is a schematic diagram of an optical line terminal according to an embodiment of the present invention.
详述Detailed
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
在本发明实施例中,如图2所示,OLT包括多个波长通道,每个波长通道上使用一个下行波长和一个上行波长,每个波长通道上管理一组ONU,该组ONU采用时分复用接入方式发送上行数据,不同波长通道上的不同组ONU采用波分复用方式发送数据。一个ONU可以支持多个波长通道。本发 明实施例解决了在上述架构下,存在ONU支持多个波长通道情况下,ONU如何在多种波长通道上注册激活,即OLT如何获得ONU支持的波长通道信息,ONU在哪个波长通道上注册,OLT如何完成ONU在多个波长通道上的测距的问题。In the embodiment of the present invention, as shown in FIG. 2, the OLT includes multiple wavelength channels, each of which uses one downlink wavelength and one uplink wavelength, and each wavelength channel manages a group of ONUs, and the group of ONUs adopts time division and complex The uplink data is sent by the access mode, and different groups of ONUs on different wavelength channels use WDM to transmit data. An ONU can support multiple wavelength channels. This hair The embodiment of the present invention solves the problem of how the ONU registers and activates on multiple wavelength channels in the case where the ONU supports multiple wavelength channels, that is, how the OLT obtains the wavelength channel information supported by the ONU, and on which wavelength channel the ONU is registered. How the OLT completes the problem of ranging of ONUs on multiple wavelength channels.
图3为本发明实施例的ONU侧的测距方法的流程图,如图3所示,包括:FIG. 3 is a flowchart of a method for ranging on an ONU side according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
步骤(S)11、光网络单元(ONU)打开所有接收机接收下行数据,在下行通道上侦听到光线路终端(OLT)的注册请求后,响应OLT的注册请求;其中,注册请求携带注册的上行带宽的信息;Step (S) 11. The optical network unit (ONU) turns on all receivers to receive downlink data, and after detecting the registration request of the optical line terminal (OLT) on the downlink channel, responds to the registration request of the OLT; wherein the registration request carries the registration Information of the upstream bandwidth;
这里,在下行通道上侦听到OLT的注册请求包括在一个下行通道上侦听到OLT的注册请求。Here, detecting the registration request of the OLT on the downlink channel includes detecting the registration request of the OLT on a downlink channel.
S12、ONU在注册的上行带宽内将媒质接入控制地址或者序列号信息上报给OLT进行测距。S12. The ONU reports the media access control address or the serial number information to the OLT for ranging in the registered uplink bandwidth.
可选的,本发明实施例响应OLT的注册请求包括:Optionally, the request for registration in response to the OLT in the embodiment of the present invention includes:
ONU在下行通道上响应OLT的注册请求;或者,The ONU responds to the registration request of the OLT on the downlink channel; or,
ONU在支持的波长通道中选择最小波长的通道或者最大波长的通道响应OLT的注册请求。The ONU selects the channel of the smallest wavelength or the channel of the largest wavelength in the supported wavelength channel in response to the registration request of the OLT.
可选的,本发明实施例测距方法还包括:Optionally, the ranging method of the embodiment of the present invention further includes:
ONU将媒质接入控制地址或者序列号信息上报给OLT时,上报ONU支持的所有波长通道信息;或者,When the ONU reports the media access control address or the serial number information to the OLT, it reports all the wavelength channel information supported by the ONU; or
ONU接收到OLT询问波长通道能力的消息后,上报ONU支持的所有波长通道信息。After receiving the message that the OLT queries the wavelength channel capability, the ONU reports all the wavelength channel information supported by the ONU.
可选的,本发明实施例测距方法还包括:Optionally, the ranging method of the embodiment of the present invention further includes:
ONU接收OLT分配给ONU的逻辑链路标识或者ONU标识信息。The ONU receives the logical link identifier or ONU identification information that the OLT assigns to the ONU.
可选的,本发明实施例测距方法还包括:Optionally, the ranging method of the embodiment of the present invention further includes:
ONU接收OLT发送的每一个波长通道上的测距结果;The ONU receives the ranging result on each wavelength channel sent by the OLT;
ONU在波长通道上发送上行数据时,使用根据该波长通道对应的测距 结果确定的延时发送上行数据。When the ONU sends uplink data on the wavelength channel, the ranging corresponding to the wavelength channel is used. The resulting delay sends the upstream data.
可选的,本发明实施例测距方法还包括:Optionally, the ranging method of the embodiment of the present invention further includes:
ONU接收OLT发送的每个波长通道对应的上行数据发送时间信息;The ONU receives uplink data transmission time information corresponding to each wavelength channel sent by the OLT;
ONU在波长通道上发送上行数据时,使用与波长通道对应的上行数据发送时间信息发送上行数据。When the ONU transmits uplink data on the wavelength channel, the uplink data is transmitted using the uplink data transmission time information corresponding to the wavelength channel.
本发明实施例还提供一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行上述测距方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the ranging method.
本发明实施例还提供一种测距装置,包括:存储器和处理器;其中,The embodiment of the invention further provides a distance measuring device, comprising: a memory and a processor; wherein
处理器被配置为执行存储器中的程序指令;The processor is configured to execute program instructions in the memory;
程序指令在处理器读取执行以下操作:Program instructions perform the following operations on the processor read:
打开所有接收机接收下行数据,在下行波长通道上侦听到光线路终端OLT的注册请求后,响应OLT的注册请求;其中,注册请求携带注册的上行带宽的信息;Turning on all receivers to receive downlink data, and after receiving the registration request of the optical line terminal OLT on the downlink wavelength channel, responding to the registration request of the OLT; wherein the registration request carries the information of the registered uplink bandwidth;
在注册的上行带宽内将媒质接入控制地址或者序列号信息上报给OLT进行测距。The media access control address or the serial number information is reported to the OLT for ranging in the registered upstream bandwidth.
图4为本发明实施例的OLT侧的测距方法的流程图,如图4所示,包括:FIG. 4 is a flowchart of a method for ranging on the OLT side according to an embodiment of the present invention. As shown in FIG. 4, the method includes:
S21、OLT接收到ONU上报的媒质接入控制地址或者序列号信息后,向ONU分配逻辑链路标识或者ONU标识信息;S21. After receiving the media access control address or sequence number information reported by the ONU, the OLT allocates a logical link identifier or ONU identifier information to the ONU.
S22、OLT接收到ONU上报的ONU支持的所有波长通道信息后,在ONU支持的波长通道上对ONU进行测距。After the OLT receives all the wavelength channel information supported by the ONU reported by the ONU, the OLT performs ranging on the wavelength channel supported by the ONU.
其中,OLT在ONU支持的波长通道上对ONU进行测距,包括:The OLT measures the ONU on the wavelength channel supported by the ONU, including:
OLT在ONU支持的所有波长通道上对ONU同时进行测距;或者, The OLT simultaneously measures the ONU on all wavelength channels supported by the ONU; or
OLT对一个支持无源光网络***中所有波长通道的第一ONU在所有波长通道上进行测距得到第一测距结果,通过第一测距结果获得所有波长通道的光纤长度差值;OLT对无源光网络***中第二ONU在一个波长通道上进行测距,获得第二ONU在波长通道上的第二测距结果,根据第一测距结果、所有波长通道的光纤长度差值和待测距波长通道的波长值计算出ONU在待测距波长通道的测距结果。The OLT performs a first ranging result on all wavelength channels of a first ONU supporting all wavelength channels in the passive optical network system, and obtains a fiber length difference of all wavelength channels by using the first ranging result; In the passive optical network system, the second ONU performs ranging on one wavelength channel, and obtains a second ranging result of the second ONU on the wavelength channel, according to the first ranging result, the fiber length difference of all wavelength channels and the waiting The wavelength value of the ranging wavelength channel calculates the ranging result of the ONU in the wavelength channel to be measured.
本实施例中,ONU打开所有接收机接收下行数据,在某个下行波长通道上侦听到注册请求,注册请求携带注册的上行带宽的信息,在该波长通道上响应OLT的注册请求;或者,ONU在自己支持的波长通道中选择最小或者最大波长通道响应OLT的注册请求。ONU将自己的媒质接入控制地址或者序列号信息在注册的上行带宽内上报给OLT。In this embodiment, the ONU turns on all receivers to receive downlink data, and listens for a registration request on a downlink wavelength channel, where the registration request carries the information of the registered uplink bandwidth, and responds to the registration request of the OLT on the wavelength channel; or The ONU selects the minimum or maximum wavelength channel in its own supported wavelength channel to respond to the OLT's registration request. The ONU reports its own media access control address or serial number information to the OLT in the registered upstream bandwidth.
其中,ONU可以汇报媒质接入控制地址或者序列号信息时,同时汇报自身支持的所有波长通道信息,该波长通道信息可以包括通道对应的波长,或者波长通道对应的代码信息;或者ONU在OLT询问其支持的波长通道能力后,汇报自身支持的所有波长通道信息。The ONU can report the media access control address or the serial number information, and simultaneously report all the wavelength channel information supported by the ONU. The wavelength channel information may include the wavelength corresponding to the channel or the code information corresponding to the wavelength channel; or the ONU queries at the OLT. After supporting the wavelength channel capability, it reports all wavelength channel information supported by itself.
OLT收到ONU发送的媒质接入控制地址或者序列号信息后,将分配给该ONU的逻辑链路标识或者ONU标识信息发送给ONU。After receiving the media access control address or the serial number information sent by the ONU, the OLT sends the logical link identifier or the ONU identifier information of the ONU to the ONU.
可选地,OLT对ONU完成测距后,将每个波长通道上ONU的测距结果在每个波长通道分别发送给ONU;或者,在其中一个波长通道将每个波长通道和其对应的测距结果信息发送给ONU。Optionally, after the OLT completes the ranging for the ONU, the ranging result of the ONUs on each wavelength channel is respectively sent to the ONUs in each wavelength channel; or, in one of the wavelength channels, each wavelength channel and its corresponding measurement are respectively performed. The result information is sent to the ONU.
或者,OLT对ONU完成测距后,OLT存储每个波长通道上该ONU的测距结果。Alternatively, after the OLT completes the ranging for the ONU, the OLT stores the ranging result of the ONU on each wavelength channel.
可选地,OLT给ONU在多波长通道上发带宽分配消息时,根据每个波长通道上ONU对应的测距结果安排该ONU的上行数据发送时间,将确定的上行数据发送时间信息发送给ONU。Optionally, when the OLT sends a bandwidth allocation message to the ONU on the multi-wavelength channel, the uplink data transmission time of the ONU is scheduled according to the ranging result corresponding to the ONU on each wavelength channel, and the determined uplink data sending time information is sent to the ONU. .
ONU在不同的波长通道上发送上行数据时,根据该波长通道对应的测距结果确定延时,进行延时后发送上行数据;或者,根据接收到OLT发送的上行数据发送时间信息来发送上行数据。 When the ONU sends uplink data on different wavelength channels, the delay is determined according to the ranging result corresponding to the wavelength channel, and the uplink data is sent after the delay; or the uplink data is sent according to the uplink data sending time information sent by the OLT. .
当OLT在ONU支持的所有波长通道上同时对ONU进行测距,ONU打开所有支持的发射机响应OLT的测距命令;也可以OLT在ONU支持的所有通道上先后对ONU进行测距。这里,ONU支持的所有波长通道可以通过相关技术进行确定。When the OLT performs ranging on the ONUs on all the wavelength channels supported by the ONU, the ONU turns on all the supported transmitters to respond to the OLT's ranging commands. Alternatively, the OLT can measure the ONUs on all the channels supported by the ONUs. Here, all wavelength channels supported by the ONU can be determined by related techniques.
本发明实施例还提供一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行上述测距方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the ranging method.
本发明实施例还提供一种测距装置,包括:存储器和处理器;其中,The embodiment of the invention further provides a distance measuring device, comprising: a memory and a processor; wherein
处理器被配置为执行存储器中的程序指令;The processor is configured to execute program instructions in the memory;
程序指令在处理器读取执行以下操作:Program instructions perform the following operations on the processor read:
接收到光网络单元ONU上报的媒质接入控制地址或者序列号信息后,向ONU分配逻辑链路标识或者ONU标识信息;After receiving the media access control address or sequence number information reported by the ONU of the optical network unit, the logical link identifier or the ONU identifier information is allocated to the ONU;
接收到ONU上报的ONU支持的所有波长通道信息后,在ONU支持的波长通道上对ONU进行测距。After receiving all the wavelength channel information supported by the ONU reported by the ONU, the ONU is measured on the wavelength channel supported by the ONU.
以下以几个实施例对本申请的无源光网络中的测距方法进行说明。The ranging method in the passive optical network of the present application will be described below in several embodiments.
实施例一(EPON(Ethernet Passive Optical Network,以太网无源光网络)-对所有ONU所有通道测距)Embodiment 1 (EPON (Ethernet Passive Optical Network) - Ranging all channels of all ONUs)
OLT包括多个波长通道,每个通道上使用一个下行波长和一个上行波长,每个通道上管理一组ONU,该组ONU采用时分复用接入方式发送上行数据,不同波长通道上的不同组ONU采用波分复用方式发送数据。一个ONU可以支持多个波长通道,可以在多个波长通道上发送接收数据。OLT和ONU采用下面的主要步骤进行注册激活:The OLT includes multiple wavelength channels, each of which uses one downlink wavelength and one upstream wavelength. Each channel manages a group of ONUs. The group of ONUs uses the time division multiplexing access mode to send uplink data, and different groups on different wavelength channels. The ONU uses wavelength division multiplexing to transmit data. An ONU can support multiple wavelength channels and can transmit and receive data on multiple wavelength channels. The OLT and ONU use the following main steps for registration activation:
步骤101:ONU打开所有接收机接收下行数据,在一下行通道上侦听到注册请求后,在波长通道上响应注册请求,将自身的媒质接入控制地址在该窗口内上报给OLT。或者,ONU在自身支持的波长通道中选择最小或者最 大波长通道响应OLT的注册请求。Step 101: The ONU turns on all the receivers to receive the downlink data, and after receiving the registration request on a downlink channel, responds to the registration request on the wavelength channel, and reports its own media access control address to the OLT in the window. Or, the ONU selects the smallest or most of the wavelength channels it supports. The large wavelength channel responds to the registration request of the OLT.
步骤102:ONU可以汇报媒质接入控制地址信息时,同时汇报自身支持的所有波长通道信息,该波长通道信息可以是通道对应的波长,或者通道对应的代码信息。Step 102: When the ONU can report the media access control address information, report all wavelength channel information supported by the ONU. The wavelength channel information may be the wavelength corresponding to the channel or the code information corresponding to the channel.
步骤103:OLT收到ONU发送的媒质接入控制地址信息后,将分配给该ONU的逻辑链路标识发送给ONU。Step 103: After receiving the media access control address information sent by the ONU, the OLT sends the logical link identifier assigned to the ONU to the ONU.
步骤104:OLT获得ONU支持的所有波长通道信息后,在该ONU支持的所有波长通道对该ONU进行测距,并存储每一个通道上该ONU的测距结果。Step 104: After obtaining all the wavelength channel information supported by the ONU, the OLT performs ranging on the ONUs in all the wavelength channels supported by the ONU, and stores the ranging result of the ONU on each channel.
步骤105:OLT给ONU在多波长通道上发带宽分配时,根据每一个波长通道上ONU对应的测距结果安排ONU的上行数据发送时间。Step 105: When the OLT sends the bandwidth allocation to the ONU on the multi-wavelength channel, the uplink data transmission time of the ONU is scheduled according to the ranging result corresponding to the ONU on each wavelength channel.
步骤102中,ONU可以汇报媒质接入控制地址信息时,同时汇报自身支持的所有波长通道信息,该波长通道信息可以是通道对应的波长,或者通道对应的代码信息;或者ONU在OLT询问其支持的波长通道能力后,汇报自己支持的所有波长通道信息。In step 102, when the ONU can report the medium access control address information, report all the wavelength channel information supported by the ONU at the same time. The wavelength channel information may be the wavelength corresponding to the channel or the code information corresponding to the channel; or the ONU asks the OLT for support. After the wavelength channel capability, report all wavelength channel information that it supports.
步骤104中,OLT可以在ONU支持的所有通道上同时对ONU进行测距,ONU打开所有支持的发射机响应OLT的测距命令;也可以OLT在ONU支持的所有通道上先后对ONU进行测距。In step 104, the OLT can simultaneously measure the ONU on all the channels supported by the ONU, and the ONU turns on all the supported transmitters to respond to the ranging command of the OLT; or the OLT can perform ranging on the ONUs on all channels supported by the ONU. .
实施例二(EPON-对一个ONU测距)Embodiment 2 (EPON-to-one ONU ranging)
OLT包括多个波长通道,每个通道上使用一个下行波长和一个上行波长,每个通道上管理一组ONU,该组ONU采用时分复用接入方式发送上行数据,不同波长通道上的不同组ONU采用波分复用方式发送数据。一个ONU可以支持多个波长通道,可以在多个波长通道上发送接收数据。OLT和ONU采用下面的主要步骤进行注册激活:The OLT includes multiple wavelength channels, each of which uses one downlink wavelength and one upstream wavelength. Each channel manages a group of ONUs. The group of ONUs uses the time division multiplexing access mode to send uplink data, and different groups on different wavelength channels. The ONU uses wavelength division multiplexing to transmit data. An ONU can support multiple wavelength channels and can transmit and receive data on multiple wavelength channels. The OLT and ONU use the following main steps for registration activation:
以一个四通道的PON***为例,如图5所示,OLT包含4个端口,每个端口连接到一个通道上,一个通道上使用一组上行波长和下行波长,一个通道上对应一个OLT端口和一组ONU,在该通道上该OLT端口和该组 ONU。一个ONU可以支持在多个通道上发送和接收数据,即一个ONU可以连接到多个通道上,和多个OLT端口发送接收数据。以一个***中所有的ONU都支持4通道数据传输为例,按照下述方法测量PON***不同通道之间的光纤长度差值。方法如下:Taking a four-channel PON system as an example, as shown in FIG. 5, the OLT includes four ports, each port is connected to one channel, one channel uses one set of uplink wavelength and downlink wavelength, and one channel corresponds to one OLT port. And a set of ONUs on which the OLT port and the group ONU. An ONU can support sending and receiving data on multiple channels, that is, one ONU can be connected to multiple channels, and multiple OLT ports can send and receive data. Taking all the ONUs in a system to support 4-channel data transmission as an example, the difference in fiber length between different channels of the PON system is measured as follows. Methods as below:
OLT在通道1测得ONU1的环路时延为t1,OLT在通道2测得ONU1的环路时延为t2,OLT在通道3测得ONU1的环路时延为t3,OLT在通道4测得ONU1的环路时延为t4,则通道1和通道2两个通道光纤差值L12为(t2-t1)*c/(2n),通道1和通道3两个通道光纤差值L13为(t3-t1)*c/(2n),通道1和通道4两个通道光纤差值L14为(t4-t1)*c/(2n),则通道2和通道3两个通道光纤差值L23为(t3-t2)*c/(2n),通道2和通道4两个通道光纤差值L24为(t4-t2)*c/(2n),通道3和通道4两个通道光纤差值L34为(t4-t3)*c/(2n),c为光速,n为通道内的传输光信号的光波在光纤内的折射率。The loop delay of the ONU1 measured by the OLT in channel 1 is t1, and the loop delay of the ONU1 measured by the OLT in channel 2 is t2. The loop delay of the ONU1 measured by the OLT in channel 3 is t3, and the OLT is measured in channel 4. The loop delay of ONU1 is t4, then the difference between the two channels of channel 1 and channel 2 is (t2-t1)*c/(2n), and the difference between the two channels of channel 1 and channel 3 is L13 ( T3-t1)*c/(2n), channel 1 and channel 4 two channel fiber difference L14 is (t4-t1)*c/(2n), then channel 2 and channel 3 two channel fiber difference L23 is (t3-t2)*c/(2n), channel 2 and channel 4 two-channel fiber difference L24 is (t4-t2)*c/(2n), channel 3 and channel 4 two channel fiber difference L34 is (t4-t3)*c/(2n), where c is the speed of light, and n is the refractive index of the light wave of the transmitted optical signal in the channel within the fiber.
如果OLT在通道1对ONU2测距,得到ONU2的在通道1的均衡时延值为EqD1,则OLT根据通道1和通道2的光纤差值可以计算ONU2在通道2的EqD2=EqD1-L12/C/n21-L12/C/n22,其中,n21为通道2的下行波长在光纤中的折射率,n22为通道2的上行波长在光纤中的折射率;则OLT根据通道1和通道3的光纤差值可以计算ONU2在通道3的EqD3=EqD1-L13/C/n31-L13/C/n32,其中,n31为通道3的下行波长在光纤中的折射率,n32为通道3的上行波长在光纤中的折射率;则OLT根据通道1和通道4的光纤差值可以计算ONU2在通道4的EqD4=EqD1-L14/C/n41-L14/C/n42,其中,n41为通道4的下行波长在光纤中的折射率,n42为通道4的上行波长在光纤中的折射率。If the OLT is ranging from channel 1 to ONU2 and the equalization delay value of channel 1 of the ONU2 is EqD1, the OLT can calculate the EQD2=EqD1-L12/C of channel 2 according to the fiber difference between channel 1 and channel 2. /n21-L12/C/n22, where n21 is the refractive index of the downstream wavelength of channel 2 in the fiber, and n22 is the refractive index of the upstream wavelength of channel 2 in the fiber; then the OLT is based on the difference in fiber between channel 1 and channel 3. The value can be calculated as EQD3=EqD1-L13/C/n31-L13/C/n32 of channel 3 of ONU2, where n31 is the refractive index of the downstream wavelength of channel 3 in the fiber, and n32 is the upstream wavelength of channel 3 in the fiber. The refractive index of the OLT can be calculated according to the fiber difference between channel 1 and channel 4: EQD4=EqD1-L14/C/n41-L14/C/n42 of channel 4, where n41 is the downstream wavelength of channel 4 in the fiber The refractive index in the middle, n42 is the refractive index of the upstream wavelength of channel 4 in the fiber.
步骤201:ONU打开所有接收机接收下行数据,在一下行通道上侦听到注册开窗后,在该通道上响应注册请求,将自身的媒质接入控制地址在该窗口内上报给OLT。或者ONU在自己支持的波长通道中选择最小或者最大波长通道响应OLT的注册请求。Step 201: The ONU turns on all the receivers to receive the downlink data, and after detecting the registration window on a downlink channel, responds to the registration request on the channel, and reports its own media access control address to the OLT in the window. Or the ONU selects the minimum or maximum wavelength channel in its own supported wavelength channel to respond to the OLT registration request.
步骤202:ONU可以汇报媒质接入控制地址信息时,同时汇报自身支持的所有波长通道信息,该信息可以是通道对应的波长,或者通道对应的代码信息。 Step 202: When the ONU can report the media access control address information, report all the wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel.
步骤203:OLT收到ONU发送的媒质接入控制地址信息后,将分配给ONU的逻辑链路标识发送给ONU。Step 203: After receiving the media access control address information sent by the ONU, the OLT sends the logical link identifier assigned to the ONU to the ONU.
步骤204:OLT在ONU的注册通道上对ONU进行测距,获得ONU在注册通道的测距结果;OLT根据上述测距结果、不同通道的光纤差值和ONU支持的其他待测距通道的波长值计算出该ONU在其他待测距通道的测距结果。Step 204: The OLT performs ranging on the ONU registration channel to obtain the ranging result of the ONU in the registration channel. The OLT determines the wavelength of the optical path of the different channels according to the ranging result and the wavelength of the other to-be-measured channel supported by the ONU. The value calculates the ranging result of the ONU in other channels to be measured.
步骤205:OLT给ONU在多通道上发带宽分配时,根据每一个通道上ONU对应的测距结果安排该ONU的上行数据发送时间。Step 205: When the OLT sends the bandwidth allocation to the ONU on the multi-channel, the uplink data transmission time of the ONU is scheduled according to the ranging result corresponding to the ONU on each channel.
步骤202中,ONU可以汇报媒质接入控制地址信息时,同时汇报自己支持的所有波长通道信息,该信息可以是通道对应的波长,或者通道对应的代码信息;或者ONU在OLT询问其支持的波长通道能力后,汇报自己支持的所有波长通道信息。In step 202, when the ONU can report the medium access control address information, it simultaneously reports all the wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel; or the ONU asks the OLT for the supported wavelength. After the channel capability, report all wavelength channel information that it supports.
实施例三(GPON(Gigabit-Capable Passive Optical Network,吉比特无源光网络)-对所有ONU测距)Embodiment 3 (Gigabit-Capable Passive Optical Network (GPON) - for all ONU ranging)
OLT包括多个波长通道,每个通道上使用一个下行波长和一个上行波长,每个通道上管理一组ONU,该组ONU采用时分复用接入方式发送上行数据,不同波长通道上的不同组ONU采用波分复用方式发送数据。一个ONU可以支持多个波长通道,可以在多个波长通道上发送接收数据。OLT和ONU采用下面的主要步骤进行注册激活:The OLT includes multiple wavelength channels, each of which uses one downlink wavelength and one upstream wavelength. Each channel manages a group of ONUs. The group of ONUs uses the time division multiplexing access mode to send uplink data, and different groups on different wavelength channels. The ONU uses wavelength division multiplexing to transmit data. An ONU can support multiple wavelength channels and can transmit and receive data on multiple wavelength channels. The OLT and ONU use the following main steps for registration activation:
步骤301:ONU打开所有接收机接收下行数据,在一下行通道上侦听到注册开窗后,在该通道上响应注册请求,将自己的序列号在该窗口内上报给OLT。或者ONU在自己支持的波长通道中选择最小或者最大波长通道响应OLT的注册请求。Step 301: The ONU turns on all the receivers to receive the downlink data, and after detecting the registration window on a downlink channel, responds to the registration request on the channel, and reports its own serial number to the OLT in the window. Or the ONU selects the minimum or maximum wavelength channel in its own supported wavelength channel to respond to the OLT registration request.
步骤302:ONU可以汇报序列号时,同时汇报自身支持的所有波长通道信息,该信息可以是通道对应的波长,或者通道对应的代码信息。Step 302: When the ONU can report the serial number, report all wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel.
步骤303:OLT收到ONU发送的序列号信息后,将分配给该ONU的ONU标识发送给ONU。 Step 303: After receiving the sequence number information sent by the ONU, the OLT sends the ONU identifier assigned to the ONU to the ONU.
步骤304:OLT获得ONU支持的所有波长通道信息后,在该ONU支持的所有波长通道对该ONU进行测距,并将每一个通道上ONU的测距结果在每一个通道分别发送给ONU,或者在其中,一个通道将所有通道和其对应的测距结果信息发送给ONU。Step 304: After obtaining all the wavelength channel information supported by the ONU, the OLT performs ranging on the ONUs in all the wavelength channels supported by the ONU, and sends the ranging results of the ONUs on each channel to the ONUs in each channel, or Among them, one channel sends all channels and their corresponding ranging result information to the ONU.
步骤305:OLT给ONU在多通道上发带宽分配,ONU在不同的通道上发送上行数据时,使用该通道对应的测距结果进行延时后发送上行数据。Step 305: The OLT sends a bandwidth allocation to the ONU on multiple channels. When the ONU sends uplink data on different channels, the uplink data is sent after the delay of the corresponding ranging result of the channel.
步骤302中,ONU可以汇报序列号信息时,同时汇报自己支持的所有波长通道信息,该信息可以是通道对应的波长,或者通道对应的代码信息;或者ONU在OLT询问其支持的波长通道能力后,汇报自己支持的所有波长通道信息。In step 302, when the ONU can report the serial number information, it simultaneously reports all the wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel; or the ONU after the OLT queries its supported wavelength channel capability. Report all wavelength channel information that you support.
步骤304中,OLT可以在ONU支持的所有通道上同时对ONU进行测距,ONU打开所有支持的发射机响应OLT的测距命令;也可以OLT在ONU支持的所有通道上先后对ONU进行测距。In step 304, the OLT can simultaneously measure the ONU on all channels supported by the ONU, and the ONU turns on all the supported transmitters to respond to the ranging command of the OLT; or the OLT can perform ranging on the ONUs on all channels supported by the ONU. .
实施例四(GPON-对一个ONU测距)Embodiment 4 (GPON-to-one ONU ranging)
OLT包括多个波长通道,每个通道上使用一个下行波长和一个上行波长,每个通道上管理一组ONU,该组ONU采用时分复用接入方式发送上行数据,不同波长通道上的不同组ONU采用波分复用方式发送数据。一个ONU可以支持多个波长通道,可以在多个波长通道上发送接收数据。OLT和ONU采用下面的主要步骤进行注册激活:The OLT includes multiple wavelength channels, each of which uses one downlink wavelength and one upstream wavelength. Each channel manages a group of ONUs. The group of ONUs uses the time division multiplexing access mode to send uplink data, and different groups on different wavelength channels. The ONU uses wavelength division multiplexing to transmit data. An ONU can support multiple wavelength channels and can transmit and receive data on multiple wavelength channels. The OLT and ONU use the following main steps for registration activation:
以一个四通道的PON***为例,如图3所示,OLT包含4个端口,每个端口连接到一个通道上,一个通道上使用一组上行波长和下行波长,一个通道上对应一个OLT端口和一组ONU,在该通道上该OLT端口和该组ONU。一个ONU可以支持在多个通道上发送和接收数据,即一个ONU可以连接到多个通道上,和多个OLT端口发送接收数据。以一个***中所有的ONU都支持4通道数据传输为例,按照下述方法测量PON***不同通道之间的光纤长度差值。方法如下:Take a four-channel PON system as an example. As shown in Figure 3, the OLT consists of four ports. Each port is connected to one channel. One channel uses one upstream wavelength and one downstream wavelength, and one channel corresponds to one OLT port. And a group of ONUs, the OLT port and the group of ONUs on the channel. An ONU can support sending and receiving data on multiple channels, that is, one ONU can be connected to multiple channels, and multiple OLT ports can send and receive data. Taking all the ONUs in a system to support 4-channel data transmission as an example, the difference in fiber length between different channels of the PON system is measured as follows. Methods as below:
OLT在通道1测得ONU1的环路时延为t1,OLT在通道2测得ONU1 的环路时延为t2,OLT在通道3测得ONU1的环路时延为t3,OLT在通道4测得ONU1的环路时延为t4,则通道1和通道2两个通道光纤差值L12为(t2-t1)*c/(2n),通道1和通道3两个通道光纤差值L13为(t3-t1)*c/(2n),通道1和通道4两个通道光纤差值L14为(t4-t1)*c/(2n),则通道2和通道3两个通道光纤差值L23为(t3-t2)*c/(2n),通道2和通道4两个通道光纤差值L24为(t4-t2)*c/(2n),通道3和通道4两个通道光纤差值L34为(t4-t3)*c/(2n),c为光速,n为通道内的传输光信号的光波在光纤内的折射率。The OLT measures the loop delay of ONU1 to be t1 on channel 1, and the OLT measures ONU1 on channel 2. The loop delay is t2, the loop delay of the ONU1 measured by the OLT in channel 3 is t3, and the loop delay of the ONU1 measured by the OLT in channel 4 is t4, and the difference between the two channels of channel 1 and channel 2 is L12 is (t2-t1)*c/(2n), the difference between the two channels of channel 1 and channel 3 is L13 (t3-t1)*c/(2n), and the difference between two channels of channel 1 and channel 4 L14 is (t4-t1)*c/(2n), then the difference between the two channels of channel 2 and channel 3 is L23 (t3-t2)*c/(2n), and the channel 2 and channel 4 are poor. The value L24 is (t4-t2)*c/(2n), and the channel L3 of channel 3 and channel 4 is (t4-t3)*c/(2n), c is the speed of light, and n is the transmission in the channel. The refractive index of the light wave of the optical signal within the fiber.
如果OLT在通道1对ONU2测距,得到ONU2的在通道1的均衡时延值为EqD1,则OLT根据通道1和通道2的光纤差值可以计算ONU2在通道2的EqD2=EqD1-L12/C/n21-L12/C/n22,其中,n21为通道2的下行波长在光纤中的折射率,n22为通道2的上行波长在光纤中的折射率;则OLT根据通道1和通道3的光纤差值可以计算ONU2在通道3的EqD3=EqD1-L13/C/n31-L13/C/n32,其中,n31为通道3的下行波长在光纤中的折射率,n32为通道3的上行波长在光纤中的折射率;则OLT根据通道1和通道4的光纤差值可以计算ONU2在通道4的EqD4=EqD1-L14/C/n41-L14/C/n42,其中,n41为通道4的下行波长在光纤中的折射率,n42为通道4的上行波长在光纤中的折射率;If the OLT is ranging from channel 1 to ONU2 and the equalization delay value of channel 1 of the ONU2 is EqD1, the OLT can calculate the EQD2=EqD1-L12/C of channel 2 according to the fiber difference between channel 1 and channel 2. /n21-L12/C/n22, where n21 is the refractive index of the downstream wavelength of channel 2 in the fiber, and n22 is the refractive index of the upstream wavelength of channel 2 in the fiber; then the OLT is based on the difference in fiber between channel 1 and channel 3. The value can be calculated as EQD3=EqD1-L13/C/n31-L13/C/n32 of channel 3 of ONU2, where n31 is the refractive index of the downstream wavelength of channel 3 in the fiber, and n32 is the upstream wavelength of channel 3 in the fiber. The refractive index of the OLT can be calculated according to the fiber difference between channel 1 and channel 4: EQD4=EqD1-L14/C/n41-L14/C/n42 of channel 4, where n41 is the downstream wavelength of channel 4 in the fiber The refractive index in the middle, n42 is the refractive index of the upstream wavelength of the channel 4 in the optical fiber;
步骤401:ONU打开所有接收机接收下行数据,在一个下行通道上侦听到注册开窗后,在该通道上响应注册请求,将自身的序列号在该窗口内上报给OLT。或者ONU在自己支持的波长通道中选择最小或者最大波长通道响应OLT的注册请求。Step 401: The ONU turns on all the receivers to receive the downlink data, and after detecting the registration window on a downlink channel, responds to the registration request on the channel, and reports its own serial number to the OLT in the window. Or the ONU selects the minimum or maximum wavelength channel in its own supported wavelength channel to respond to the OLT registration request.
步骤402:ONU可以汇报序列号时,同时汇报自身支持的所有波长通道信息,该信息可以是通道对应的波长,或者通道对应的代码信息。Step 402: When the ONU can report the serial number, report all wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel.
步骤403:OLT收到ONU发送的序列号信息后,将分配给该ONU的ONU标识发送给ONU。Step 403: After receiving the serial number information sent by the ONU, the OLT sends the ONU identifier assigned to the ONU to the ONU.
步骤404:OLT在ONU的注册通道上对该ONU进行测距,获得该ONU在注册通道的测距结果;OLT根据上述测距结果、不同通道的光纤差值和ONU支持的其他待测距通道的波长值计算出该ONU在其他待测距通道的测距结果。 Step 404: The OLT performs ranging on the ONU to obtain the ranging result of the ONU in the registration channel. The OLT obtains the difference between the optical fibers of different channels and other to-be-measured channels supported by the ONU according to the foregoing ranging result. The wavelength value calculates the ranging result of the ONU in other channels to be measured.
步骤405:OLT给ONU在多通道上发带宽分配,ONU在不同的通道上发送上行数据时,使用该通道对应的测距结果进行延时后发送上行数据。Step 405: The OLT sends the bandwidth allocation to the ONU on the multi-channel. When the ONU sends the uplink data on different channels, the ONR sends the uplink data after using the ranging result corresponding to the channel.
该实施例步骤402中,ONU可以汇报序列号信息时,同时汇报自己支持的所有波长通道信息,该信息可以是通道对应的波长,或者通道对应的代码信息;或者ONU在OLT询问其支持的波长通道能力后,汇报自己支持的所有波长通道信息。In step 402 of the embodiment, when the ONU can report the serial number information, it simultaneously reports all the wavelength channel information supported by the ONU, and the information may be the wavelength corresponding to the channel or the code information corresponding to the channel; or the ONU asks the OLT for the supported wavelength at the OLT. After the channel capability, report all wavelength channel information that it supports.
图6为本发明实施例的光网络单元的示意图,如图6所示,包括:FIG. 6 is a schematic diagram of an optical network unit according to an embodiment of the present invention. As shown in FIG. 6, the method includes:
侦听模块,配置为打开所有接收机接收下行数据,在下行通道上侦听到OLT的注册请求后,响应注册请求;其中,注册请求携带注册的上行带宽的信息;The listening module is configured to enable all receivers to receive downlink data, and after receiving the registration request of the OLT on the downlink channel, respond to the registration request; wherein the registration request carries the information of the registered uplink bandwidth;
上报模块,配置为在注册的上行带宽内将媒质接入控制地址或者序列号信息上报给OLT进行测距。The reporting module is configured to report the media access control address or the serial number information to the OLT for ranging in the registered uplink bandwidth.
可选地,侦听模块配置为响应OLT的注册请求包括:Optionally, the listening module is configured to respond to the registration request of the OLT, including:
在下行通道上响应OLT的注册请求;或者,Responding to the OLT registration request on the downstream channel; or,
在光网络单元支持的波长通道中选择最小波长的通道或者最大波长的通道响应OLT的注册请求。The channel of the smallest wavelength or the channel of the largest wavelength is selected in the wavelength channel supported by the optical network unit in response to the registration request of the OLT.
可选地,上报模块是配置为:将媒质接入控制地址或者序列号信息上报给OLT的同时,上报光网络单元支持的所有波长通道信息;或者,接收到OLT询问波长通道能力的消息后,上报光网络单元支持的所有波长通道信息。Optionally, the reporting module is configured to: report the medium access control address or the serial number information to the OLT, and report all the wavelength channel information supported by the optical network unit; or, after receiving the message that the OLT queries the wavelength channel capability, Report all wavelength channel information supported by the optical network unit.
可选地,光网络单元还可以包括:Optionally, the optical network unit may further include:
第一接收模块,配置为接收OLT分配给ONU的逻辑链路标识或者ONU标识信息。The first receiving module is configured to receive a logical link identifier or ONU identifier information that is allocated by the OLT to the ONU.
可选地,光网络单元还可以包括:Optionally, the optical network unit may further include:
第二接收模块,配置为接收OLT发送的每一个波长通道上的测距结果;a second receiving module, configured to receive a ranging result on each wavelength channel sent by the OLT;
第二发送模块,配置为在不同的波长通道上发送上行数据时,使用该波长通道对应的测距结果确定的延时发送上行数据。 The second sending module is configured to send uplink data by using a delay determined by the ranging result corresponding to the wavelength channel when the uplink data is sent on different wavelength channels.
可选地,光网络单元还可以包括:Optionally, the optical network unit may further include:
第三接收模块,配置为接收OLT发送的每个波长通道对应的上行数据发送时间信息;The third receiving module is configured to receive uplink data sending time information corresponding to each wavelength channel sent by the OLT;
第三发送模块,配置为在不同的波长通道上发送上行数据时,使用对应波长通道对应的上行数据发送时间信息发送上行数据。The third sending module is configured to send the uplink data by using the uplink data sending time information corresponding to the corresponding wavelength channel when the uplink data is sent on different wavelength channels.
图7为本发明实施例的光线路终端的示意图,如图7所示,包括:FIG. 7 is a schematic diagram of an optical line terminal according to an embodiment of the present invention. As shown in FIG. 7, the method includes:
分配模块,配置为接收到光网络单元ONU上报的媒质接入控制地址或者序列号信息后,向ONU分配逻辑链路标识或者ONU标识信息;The distribution module is configured to receive the logical link identifier or the ONU identifier information to the ONU after receiving the medium access control address or the sequence number information reported by the ONU of the optical network unit;
测距模块,配置为接收到ONU上报的ONU支持的所有波长通道信息后,在ONU支持的波长通道上对ONU进行测距。The ranging module is configured to receive the ONUs on the wavelength channel supported by the ONU after receiving all the wavelength channel information supported by the ONUs reported by the ONU.
可选地,测距模块是配置为:在ONU支持的所有波长通道上对ONU同时进行测距;或者,Optionally, the ranging module is configured to perform simultaneous ranging on the ONUs on all wavelength channels supported by the ONU; or
对一个支持无源光网络***中所有波长通道的第一ONU在所有波长通道上进行测距得到第一测距结果,通过第一测距结果获得所有波长通道的光纤长度差值;OLT对无源光网络***中第二ONU在一个波长通道上进行测距,获得第二ONU在波长通道上的第二测距结果,根据所有波长通道的光纤长度差值、第二测距结果和待测距波长通道的波长值计算出ONU在待测距波长通道的测距结果。The first ONU supporting all wavelength channels in the passive optical network system performs ranging on all wavelength channels to obtain a first ranging result, and the first ranging result obtains the fiber length difference of all wavelength channels; The second ONU in the source optical network system performs ranging on one wavelength channel, and obtains a second ranging result of the second ONU on the wavelength channel, according to the fiber length difference of all wavelength channels, the second ranging result, and the to-be-tested The distance value of the wavelength channel is calculated from the distance measurement of the ONU in the wavelength channel to be measured.
可选地,光线路终端还可以包括:Optionally, the optical line terminal may further include:
第四发送模块,配置为在测距模块完成测距后,将在每个波长通道上对ONU的测距结果在每个波长通道上分别发送给ONU;或者,在其中一个波长通道上将每个波长通道及其对应的测距结果发送给ONU;The fourth sending module is configured to: after the ranging module completes the ranging, send the ranging result of the ONU on each wavelength channel to the ONU on each wavelength channel; or, on one of the wavelength channels, The wavelength channels and their corresponding ranging results are sent to the ONU;
存储模块,配置为存储每个波长通道上对ONU的测距结果。A storage module configured to store a ranging result for the ONU on each wavelength channel.
可选地,测距模块是配置为,在ONU支持的所有波长通道上同时对ONU进行测距;或者,OLT在ONU支持的所有波长通道上先后对ONU进行测距。Optionally, the ranging module is configured to perform ranging on the ONUs on all the wavelength channels supported by the ONU. Alternatively, the OLT performs ranging on the ONUs on all wavelength channels supported by the ONU.
可选地,光线路终端还可以包括: Optionally, the optical line terminal may further include:
确定模块,配置为给ONU在多波长通道上发送带宽分配消息时,根据每个波长通道上ONU对应的测距结果确定ONU的上行数据发送时间,将确定的每个波长通道对应的上行数据发送时间信息发送给ONU。The determining module is configured to: when the ONU sends the bandwidth allocation message on the multi-wavelength channel, determine the uplink data sending time of the ONU according to the ranging result corresponding to the ONU on each wavelength channel, and send the determined uplink data corresponding to each wavelength channel. The time information is sent to the ONU.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions. The invention is not limited to any specific form of combination of hardware and software.
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请,如本发明实施方式中的具体的实现方法。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。The embodiments disclosed in the present application are as described above, but the descriptions are only for the purpose of understanding the present application, and are not intended to limit the present application, such as the specific implementation method in the embodiments of the present invention. Any modifications and changes in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the disclosure. The scope defined by the appended claims shall prevail.
工业实用性Industrial applicability
上述技术方案在ONU支持多个通道时,实现了OLT的快速注册,避免了与其他ONU的上行数据冲突。 The above technical solution implements fast registration of the OLT when the ONU supports multiple channels, and avoids uplink data conflicts with other ONUs.

Claims (22)

  1. 一种测距方法,包括:A ranging method includes:
    光网络单元ONU打开所有接收机接收下行数据,在下行波长通道上侦听到光线路终端OLT的注册请求后,响应OLT的注册请求;其中,所述注册请求携带注册的上行带宽的信息;The ONU of the optical network unit turns on all the receivers to receive the downlink data, and after receiving the registration request of the optical line terminal OLT on the downlink wavelength channel, responds to the registration request of the OLT; wherein the registration request carries the information of the registered uplink bandwidth;
    所述ONU在所述注册的上行带宽内将媒质接入控制地址或者序列号信息上报给所述OLT进行测距。The ONU reports the media access control address or the sequence number information to the OLT for ranging in the registered uplink bandwidth.
  2. 如权利要求1所述的测距方法,其中,所述响应OLT的注册请求包括:The ranging method of claim 1, wherein the registration request of the response OLT comprises:
    所述ONU在所述下行通道上响应所述OLT的注册请求;或者,The ONU responds to the registration request of the OLT on the downlink channel; or
    所述ONU在支持的波长通道中选择最小波长的通道或者最大波长的通道响应所述OLT的注册请求。The ONU selects a channel of a minimum wavelength or a channel of a maximum wavelength among the supported wavelength channels in response to a registration request of the OLT.
  3. 如权利要求1所述的测距方法,所述测距方法还包括:The ranging method according to claim 1, wherein the ranging method further comprises:
    所述ONU将媒质接入控制地址或者序列号信息上报给所述OLT的同时,上报所述ONU支持的所有波长通道信息;或者,The ONU reports the media access control address or the serial number information to the OLT, and reports all the wavelength channel information supported by the ONU; or
    所述ONU接收到所述OLT询问波长通道能力的消息后,上报所述ONU支持的所有波长通道信息。After receiving the message that the OLT queries the wavelength channel capability, the ONU reports all the wavelength channel information supported by the ONU.
  4. 如权利要求1所述的测距方法,所述测距方法还包括:The ranging method according to claim 1, wherein the ranging method further comprises:
    所述ONU接收所述OLT分配给所述ONU的逻辑链路标识或者所述ONU标识信息。The ONU receives a logical link identifier or the ONU identifier information that is allocated by the OLT to the ONU.
  5. 如权利要求1-4任一项所述的测距方法,所述测距方法还包括:The ranging method according to any one of claims 1 to 4, further comprising:
    所述ONU接收所述OLT发送的每一个波长通道上的测距结果;The ONU receives a ranging result on each wavelength channel sent by the OLT;
    所述ONU在波长通道上发送上行数据时,使用根据该波长通道对应的测距结果确定的延时发送上行数据。When the ONU sends uplink data on the wavelength channel, the uplink data is sent by using a delay determined according to the ranging result corresponding to the wavelength channel.
  6. 如权利要求1-4任一项所述的测距方法,所述测距方法还包括:The ranging method according to any one of claims 1 to 4, further comprising:
    所述ONU接收所述OLT发送的每个波长通道对应的上行数据发送时间 信息;Receiving, by the ONU, an uplink data sending time corresponding to each wavelength channel sent by the OLT information;
    所述ONU在波长通道上发送上行数据时,使用与波长通道对应的所述上行数据发送时间信息发送上行数据。When the ONU sends uplink data on the wavelength channel, the uplink data is sent by using the uplink data transmission time information corresponding to the wavelength channel.
  7. 一种光网络单元,包括:An optical network unit comprising:
    侦听模块,配置为打开所有接收机接收下行数据,在下行通道上侦听到光线路终端OLT的注册请求后,响应注册请求;其中,所述注册请求携带注册的上行带宽的信息;The listening module is configured to enable all receivers to receive downlink data, and after receiving the registration request of the optical line terminal OLT on the downlink channel, respond to the registration request; wherein the registration request carries the information of the registered uplink bandwidth;
    上报模块,配置为在所述注册的上行带宽内将媒质接入控制地址或者序列号信息上报给所述OLT进行测距。The reporting module is configured to report the media access control address or the serial number information to the OLT for ranging in the registered uplink bandwidth.
  8. 如权利要求7所述的光网络单元,其中,所述侦听模块配置为响应OLT的注册请求包括:The optical network unit of claim 7, wherein the listening module is configured to respond to the registration request of the OLT to include:
    在所述下行通道上响应所述OLT的注册请求;或者,Responding to the registration request of the OLT on the downlink channel; or
    在所述光网络单元支持的波长通道中选择最小波长的通道或者最大波长的通道响应所述OLT的注册请求。The channel of the smallest wavelength or the channel of the largest wavelength is selected among the wavelength channels supported by the optical network unit in response to the registration request of the OLT.
  9. 如权利要求7所述的光网络单元,其中,所述上报模块是配置为:The optical network unit of claim 7, wherein the reporting module is configured to:
    将媒质接入控制地址或者序列号信息上报给所述OLT的同时,上报所述光网络单元支持的所有波长通道信息;或者,接收到所述OLT询问波长通道能力的消息后,上报所述光网络单元支持的所有波长通道信息。Evaluating all the wavelength channel information supported by the optical network unit while reporting the medium access control address or the serial number information to the OLT; or, after receiving the message that the OLT queries the wavelength channel capability, reporting the light All wavelength channel information supported by the network unit.
  10. 如权利要求7所述的光网络单元,所述光网络单元还包括:The optical network unit of claim 7, the optical network unit further comprising:
    第一接收模块,配置为接收所述OLT分配给所述ONU的逻辑链路标识或者所述ONU标识信息。The first receiving module is configured to receive a logical link identifier or the ONU identifier information that is allocated by the OLT to the ONU.
  11. 如权利要求7-9任一项所述的光网络单元,所述光网络单元还包括:The optical network unit according to any one of claims 7 to 9, wherein the optical network unit further comprises:
    第二接收模块,配置为接收所述OLT发送的每一个波长通道上的测距结果;a second receiving module, configured to receive a ranging result on each wavelength channel sent by the OLT;
    第二发送模块,配置为在波长通道上发送上行数据时,使用该波长通道对应的测距结果确定的延时发送上行数据。The second sending module is configured to send the uplink data by using the delay determined by the ranging result corresponding to the wavelength channel when the uplink data is sent on the wavelength channel.
  12. 如权利要求7-9任一项所述的光网络单元,所述光网络单元还包括: The optical network unit according to any one of claims 7 to 9, wherein the optical network unit further comprises:
    第三接收模块,配置为接收所述OLT发送的每个波长通道对应的上行数据发送时间信息;The third receiving module is configured to receive uplink data sending time information corresponding to each wavelength channel sent by the OLT;
    第三发送模块,在波长通道上发送上行数据时,使用与波长通道对应的所述上行数据发送时间信息发送上行数据。The third sending module sends the uplink data by using the uplink data sending time information corresponding to the wavelength channel when transmitting the uplink data on the wavelength channel.
  13. 一种测距方法,包括:A ranging method includes:
    光线路终端OLT接收到光网络单元ONU上报的媒质接入控制地址或者序列号信息后,向所述ONU分配逻辑链路标识或者所述ONU标识信息;After receiving the medium access control address or sequence number information reported by the optical network unit ONU, the optical line terminal OLT allocates a logical link identifier or the ONU identifier information to the ONU;
    所述OLT接收到所述ONU上报的所述ONU支持的所有波长通道信息后,在所述ONU支持的波长通道上对所述ONU进行测距。After receiving, by the OLT, all the wavelength channel information supported by the ONU, the OLT performs ranging on the wavelength channel supported by the ONU.
  14. 如权利要求13所述的测距方法,其中,所述OLT在所述ONU支持的波长通道上对所述ONU进行测距包括:The ranging method of claim 13, wherein the ranging of the OLT by the OLT on the wavelength channel supported by the ONU includes:
    所述OLT在所述ONU支持的所有波长通道上对所述ONU同时进行测距;或者,The OLT simultaneously performs ranging on the ONUs on all wavelength channels supported by the ONU; or
    所述OLT对一个支持所述无源光网络***中所有波长通道的第一ONU在所有波长通道上进行测距得到第一测距结果,通过所述第一测距结果获得所有波长通道的光纤长度差值;所述OLT对所述无源光网络***中第二ONU在一个波长通道上进行测距,获得所述第二ONU在所述波长通道上的第二测距结果,根据所述所有波长通道的光纤长度差值、第二测距结果和待测距波长通道的波长值计算出所述ONU在待测距波长通道的测距结果。The OLT performs a first ranging result on the first ONU supporting all the wavelength channels in the passive optical network system to obtain a first ranging result, and obtains the optical fibers of all the wavelength channels by using the first ranging result. a length difference; the OLT performs ranging on a wavelength channel of the second ONU in the passive optical network system, and obtains a second ranging result of the second ONU on the wavelength channel, according to the The fiber length difference of the all wavelength channels, the second ranging result, and the wavelength value of the wavelength channel to be measured calculate the ranging result of the ONU in the wavelength channel to be measured.
  15. 如权利要求13或14所述的测距方法,所述测距方法还包括:The ranging method according to claim 13 or 14, wherein the ranging method further comprises:
    所述OLT完成测距后,将在每个波长通道上对所述ONU的测距结果在每个波长通道上分别发送给所述ONU;或者,After the OLT completes the ranging, the ranging result of the ONU on each wavelength channel is respectively sent to the ONU on each wavelength channel; or
    所述OLT完成测距后,在其中一个波长通道上将每个波长通道及其对应的测距结果发送给所述ONU;或者,After the OLT completes the ranging, each wavelength channel and its corresponding ranging result are sent to the ONU on one of the wavelength channels; or
    所述OLT完成测距后,存储每个波长通道上对所述ONU的测距结果。After the OLT completes the ranging, the ranging result of the ONU on each wavelength channel is stored.
  16. 如权利要求13所述的测距方法,其中,所述OLT在所述ONU支持的波长通道上对所述ONU进行测距包括: The ranging method of claim 13, wherein the ranging of the OLT by the OLT on the wavelength channel supported by the ONU includes:
    所述OLT在所述ONU支持的所有波长通道上同时对所述ONU进行测距;或者,The OLT simultaneously measures the ONU on all wavelength channels supported by the ONU; or
    所述OLT在所述ONU支持的所有波长通道上先后对所述ONU进行测距。The OLT performs ranging on the ONUs on all the wavelength channels supported by the ONU.
  17. 如权利要求13所述的测距方法,所述测距方法还包括:The ranging method according to claim 13, wherein the ranging method further comprises:
    所述OLT给所述ONU在多波长通道上发送带宽分配消息时,根据每个波长通道上所述ONU对应的测距结果确定所述ONU的上行数据发送时间,将确定的每个波长通道对应的上行数据发送时间信息发送给所述ONU。When the OLT sends the bandwidth allocation message to the ONU on the multi-wavelength channel, the uplink data transmission time of the ONU is determined according to the ranging result corresponding to the ONU on each wavelength channel, and each determined wavelength channel is corresponding. The uplink data transmission time information is sent to the ONU.
  18. 一种光线路终端,包括:An optical line terminal comprising:
    分配模块,配置为接收到光网络单元ONU上报的媒质接入控制地址或者序列号信息后,向所述ONU分配逻辑链路标识或者所述ONU标识信息;The distribution module is configured to: after receiving the medium access control address or the serial number information reported by the ONU of the optical network unit, assign the logical link identifier or the ONU identification information to the ONU;
    测距模块,配置为接收到所述ONU上报的所述ONU支持的所有波长通道信息后,在所述ONU支持的波长通道上对所述ONU进行测距。The ranging module is configured to: after receiving all the wavelength channel information supported by the ONU reported by the ONU, perform ranging on the ONU supported wavelength channel.
  19. 如权利要求18所述的光线路终端,其中,The optical line terminal according to claim 18, wherein
    所述测距模块是配置为:在所述ONU支持的所有波长通道上对所述ONU同时进行测距;或者,The ranging module is configured to simultaneously perform ranging on the ONUs on all wavelength channels supported by the ONU; or
    对一个支持所述无源光网络***中所有波长通道的第一ONU在所有波长通道上进行测距得到第一测距结果,通过所述第一测距结果获得所有波长通道的光纤长度差值;对所述无源光网络***中第二ONU在一个波长通道上进行测距,获得所述第二ONU在所述波长通道上的第二测距结果,根据所述所有波长通道的光纤长度差值、第二测距结果和待测距波长通道的波长值计算出所述ONU在待测距波长通道的测距结果。Performing a first ranging result on a first ONU supporting all wavelength channels in the passive optical network system to obtain a first ranging result, and obtaining a fiber length difference of all wavelength channels by using the first ranging result The second ONU in the passive optical network system performs ranging on one wavelength channel, and obtains a second ranging result of the second ONU on the wavelength channel, according to the length of the optical fiber of all the wavelength channels. The difference value, the second ranging result, and the wavelength value of the wavelength channel to be measured calculate the ranging result of the ONU in the wavelength channel to be measured.
  20. 如权利要求18或19所述的光线路终端,所述光线路终端还包括:The optical line terminal according to claim 18 or 19, wherein the optical line terminal further comprises:
    第四发送模块,配置为在所述测距模块完成测距后,将在每个波长通道上对所述ONU的测距结果在每个波长通道上分别发送给所述ONU;或者,在其中一个波长通道上将每个波长通道及其对应的测距结果发送给所述ONU;a fourth sending module, configured to send a ranging result of the ONU on each wavelength channel to the ONU on each wavelength channel after the ranging module completes ranging; or Sending each wavelength channel and its corresponding ranging result to the ONU on a wavelength channel;
    存储模块,配置为存储每个波长通道上对所述ONU的测距结果。 a storage module configured to store a ranging result for the ONU on each wavelength channel.
  21. 如权利要求20所述的光线路终端,其中,The optical line terminal according to claim 20, wherein
    所述测距模块是配置为:在所述ONU支持的所有波长通道上同时对所述ONU进行测距;或者,所述OLT在所述ONU支持的所有波长通道上先后对所述ONU进行测距。The ranging module is configured to: perform ranging on the ONUs on all the wavelength channels supported by the ONU; or the OLT tests the ONUs on all wavelength channels supported by the ONUs. distance.
  22. 如权利要求18所述的光线路终端,所述光线路终端还包括:The optical line terminal of claim 18, wherein the optical line terminal further comprises:
    确定模块,配置为给所述ONU在多波长通道上发送带宽分配消息时,根据每个波长通道上所述ONU对应的测距结果确定所述ONU的上行数据发送时间,将确定的每个波长通道对应的上行数据发送时间信息发送给所述ONU。 a determining module, configured to: when the ONU sends a bandwidth allocation message on the multi-wavelength channel, determine, according to the ranging result corresponding to the ONU on each wavelength channel, an uplink data sending time of the ONU, and each wavelength to be determined The uplink data transmission time information corresponding to the channel is sent to the ONU.
PCT/CN2017/077913 2016-05-16 2017-03-23 Ranging method, optical line terminal and optical network unit WO2017197978A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610322316.1A CN107395315A (en) 2016-05-16 2016-05-16 Distance-finding method, optical line terminal and optical network unit in a kind of EPON
CN201610322316.1 2016-05-16

Publications (1)

Publication Number Publication Date
WO2017197978A1 true WO2017197978A1 (en) 2017-11-23

Family

ID=60326427

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/077913 WO2017197978A1 (en) 2016-05-16 2017-03-23 Ranging method, optical line terminal and optical network unit

Country Status (2)

Country Link
CN (1) CN107395315A (en)
WO (1) WO2017197978A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104927A (en) * 2019-06-17 2020-12-18 中兴通讯股份有限公司 Wavelength switching and configuration method and device of passive optical network

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345003A (en) * 2018-03-09 2018-07-31 中天宽带技术有限公司 A kind of range accuracy optimization method based on PON network
CN110418217A (en) 2018-04-26 2019-11-05 中兴通讯股份有限公司 The method and apparatus and register method, device and system of open peace and quiet window
CN110943783B (en) * 2018-09-25 2022-08-19 中兴通讯股份有限公司 Distance measurement method of optical network, OLT, ONU and optical network system
CN112738659B (en) * 2019-10-28 2022-06-14 华为技术有限公司 Communication method based on passive optical network, related equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902662A (en) * 2009-05-26 2010-12-01 中兴通讯股份有限公司 Optical network unit (ONU) registration activating method and system
US20120294613A1 (en) * 2011-05-16 2012-11-22 David Hood Method for onu registration in a passive optical network
CN103841474A (en) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 Passive optical network wavelength tuning method, system and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4410789B2 (en) * 2006-12-08 2010-02-03 株式会社日立コミュニケーションテクノロジー Passive optical network system, optical termination device and optical network unit
CN102882801B (en) * 2012-09-28 2015-06-10 武汉长光科技有限公司 Automatic wavelength tuning method and automatic wavelength tuning system based on TWDM-PON (time wavelength division multiplexing-passive optical network)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902662A (en) * 2009-05-26 2010-12-01 中兴通讯股份有限公司 Optical network unit (ONU) registration activating method and system
US20120294613A1 (en) * 2011-05-16 2012-11-22 David Hood Method for onu registration in a passive optical network
CN103841474A (en) * 2012-11-23 2014-06-04 中兴通讯股份有限公司 Passive optical network wavelength tuning method, system and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104927A (en) * 2019-06-17 2020-12-18 中兴通讯股份有限公司 Wavelength switching and configuration method and device of passive optical network
EP3985992A4 (en) * 2019-06-17 2022-08-03 ZTE Corporation Wavelength switching and configuration methods and devices for passive optical network
CN112104927B (en) * 2019-06-17 2023-11-17 中兴通讯股份有限公司 Wavelength switching and configuration method and device for passive optical network

Also Published As

Publication number Publication date
CN107395315A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
WO2017197978A1 (en) Ranging method, optical line terminal and optical network unit
US10389472B2 (en) Optical line terminal communication method and device with data structure
EP2040397B1 (en) Method for measuring the length of optical fiber, optical line terminal and optical network system
US8670663B2 (en) Methods, systems, and computer-readable media for providing notification of a power failure
US7809262B2 (en) Methods, systems, and computer-readable media for determining physical layer failures
CN113347513A (en) Port detection method, optical network equipment and passive optical network system
TWI507669B (en) Passive optical fiber plant analysis
CN102917285B (en) Method and device for testing Ethernet passive optical network devices
WO2010111954A1 (en) Method for measuring optical power, optical line terminal and optical network unit
JP2015523811A (en) Multi-wavelength passive optical network wavelength negotiation method and apparatus, and multi-wavelength passive optical network system
TW201342826A (en) Ranging method, system, and apparatus for passive optical network
CN110476374B (en) Control and management of passive optical network distance extenders
CN105451840A (en) Optical time domain reflectometer implementation apparatus and system
WO2020063581A1 (en) Ranging method for optical network, olt, onu, and optical network system
WO2011079656A1 (en) Device and method for obtaining optical power of optical network unit (onu) in online manner
WO2017113814A1 (en) Method and apparatus for realizing optical network unit activation
JP6205847B2 (en) Communication control device and program
WO2017032162A1 (en) Data transmission method, device, and system, onu and olt
JP5759420B2 (en) Optical communication system and new connection terminal detection method
CN110944248A (en) Optical network registration method, OLT, OUN and optical network system
WO2021082669A1 (en) Passive optical network-based communication method, related device, and system
WO2022237288A1 (en) Method, apparatus, and system applied to pon system, and storage medium
JP2011035738A (en) Failed onu specification method and device
WO2022222618A1 (en) Link status measurement method and apparatus, system, and storage medium
US20240204904A1 (en) Coordinated Transmission in Multi-Passive Optical Network (PON) Systems

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 17798543

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17798543

Country of ref document: EP

Kind code of ref document: A1