WO2017190442A1 - 一种无源光网络的注册方法、装置和无源光网络*** - Google Patents

一种无源光网络的注册方法、装置和无源光网络*** Download PDF

Info

Publication number
WO2017190442A1
WO2017190442A1 PCT/CN2016/095345 CN2016095345W WO2017190442A1 WO 2017190442 A1 WO2017190442 A1 WO 2017190442A1 CN 2016095345 W CN2016095345 W CN 2016095345W WO 2017190442 A1 WO2017190442 A1 WO 2017190442A1
Authority
WO
WIPO (PCT)
Prior art keywords
registration
onu
olt
optical network
wavelength
Prior art date
Application number
PCT/CN2016/095345
Other languages
English (en)
French (fr)
Inventor
张伟良
耿丹
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP16900964.4A priority Critical patent/EP3454518B1/en
Publication of WO2017190442A1 publication Critical patent/WO2017190442A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • 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/0064Arbitration, scheduling or medium access control 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/0088Signalling aspects

Definitions

  • the present application relates to, but is not limited to, the field of passive optical network technologies, and in particular, to a method and a device for registering a passive optical network and a passive optical network system.
  • the optical network technology includes an Active Optical Network (AON) and a Passive Optical Network (PON).
  • AON Active Optical Network
  • PON Passive Optical Network
  • the PON access mode has a small initial investment, its transmission distance is shorter than AON, its coverage is small, and it has the characteristics of low cost and easy maintenance, and is more suitable for serving home users.
  • the data transmission mode between the Optical Network Unit (ONU) and the Optical Line Terminal (OLT) includes burst mode and continuous mode.
  • the continuous mode has higher bandwidth utilization than the burst mode, and the cost of the optical module is lower.
  • the Wavelength Division Multiplexing PON (WDM PON) system uses a point-to-point (PtP) connection, that is, one OLT connects multiple ONUs, and each ONU A pair of wavelength pairs is occupied, as shown in FIG. 1 , which is a schematic diagram of a network architecture in a related WDM PON system.
  • the OLT 1 can communicate with the OLT separately after completing the communication connection with the OLT, and the multiple ONUs in the Time Division Multiple Access (TDMA) PON system share a pair of wavelength pairs.
  • TDMA Time Division Multiple Access
  • the registration process after the ONU is powered on in the WDM PON system because the ONU selects the uncertainty of the wavelength pair, the data transmission of the uplinks of multiple ONUs is not isolated from each other, that is, a collision may occur on the OLT side. Therefore, on the ONU.
  • the post-electrical registration process needs to select or preempt a pair of wavelengths to establish a communication connection with the OLT.
  • the ONU needs to compete for the upstream wavelength during the registration process, that is, the ONU still needs to adopt the burst mode in the uplink direction.
  • the ONU needs to transmit uplink data in burst mode during the registration process, thereby reducing system bandwidth utilization and increasing the cost of optical modules and systems.
  • the registration mode in the related WDM PON system because the ONU needs to transmit uplink data in the burst mode during the registration process, thereby reducing the utilization of the system bandwidth, And increased the cost of optical modules and systems.
  • the embodiment of the invention provides a method and a device for registering a passive optical network and a passive optical network system, so as to solve the registration mode in the related WDM PON system, since the ONU needs to transmit uplink data in a burst mode during the registration process, This results in reduced system bandwidth utilization and increased optical module and system cost issues.
  • an embodiment of the present invention provides a method for registering a passive optical network, including:
  • the optical line terminal receives the registration information continuously transmitted by the optical network unit (ONU) through the preset wavelength pair, and the registration information is continuously sent to the OLT after the ONU performs a random delay;
  • the OLT performs registration processing based on the received registration information.
  • the OLT performs a registration process according to the received registration information, including:
  • the first wavelength pair allocated by the OLT to the first ONU is: a wavelength pair used when the first ONU sends registration information, or another wavelength pair specified by the OLT.
  • the method before the OLT receives the registration information that is continuously sent by the ONU through the preset wavelength pair, the method further includes:
  • the OLT sends a registration indication message to the ONU, where the registration indication message includes at least one of the following information: a random delay threshold, and the preset wavelength pair used for registration by each ONU in the optical network system.
  • the random delay threshold is used to indicate a range of random delays that are performed when the ONU continuously transmits registration information to the OLT.
  • the method before the OLT sends the registration indication message to the ONU, the method further includes: the OLT generating the random delay threshold according to the length of the registration information and the preset number of ONUs.
  • the registration information received by the OLT includes registration information sent by the second ONU and the third ONU, where the preset wavelength pair includes a first wavelength pair and a second wavelength pair; after the OLT performs registration processing,
  • the above methods also include:
  • the registration feedback message includes wavelength allocation information, where the wavelength allocation information is used to indicate that the second ONU passes the first wavelength. Establishing a communication connection with the OLT, the wavelength allocation information is further used to instruct the third ONU to continuously send registration information to the OLT through the second wavelength pair;
  • the registration feedback message is used to instruct the second ONU and the third ONU to continuously send registration information to the OLT.
  • the method further includes:
  • the OLT adjusts the preset number of ONUs, and regenerates a random delay threshold according to the length of the registration information and the number of the adjusted ONUs, and the registration feedback message sent by the OLT further includes the regenerated Random delay threshold.
  • an embodiment of the present invention provides a method for registering a passive optical network, including:
  • the ONU performs a random delay on the registration information to be sent
  • the ONU selects a pair of wavelength pairs in the preset wavelength pair to continuously transmit registration information to the OLT.
  • the method further includes: the ONU receiving, by the OLT, a registration indication message sent by the OLT, where the registration indication message includes at least one of the following information: random a delay threshold, the preset wavelength pair used for registration by each ONU in the optical network system;
  • the ONU randomly delays the registration information to be sent, including:
  • the ONU randomly delays the registration information within a range represented by the random delay threshold.
  • the method further includes:
  • the ONU receives the registration feedback message sent by the OLT, where the registration feedback message includes wavelength allocation information or re-registration indication information, where the wavelength allocation information includes a first wavelength pair allocated by the OLT.
  • the preset wavelength pair includes the first wavelength pair and the second wavelength pair; if the registration feedback message includes the wavelength allocation information, the ONU receives the registration feedback message sent by the OLT After that, the above method further includes:
  • the ONU establishes a communication connection with the OLT by using the first wavelength pair, where the first wavelength pair is: the pair of wavelength pairs used by the ONU to send the registration information, or the OLT Other wavelength pairs specified; or,
  • the ONU continuously sends the registration information to the OLT through the second wavelength pair according to the wavelength allocation information.
  • the preset wavelength pair includes the first wavelength pair and the second wavelength pair; if the registration feedback message includes the re-registration indication information, the ONU receives the registration feedback sent by the OLT After the message, the above method further includes:
  • the ONU selects the second wavelength pair according to the re-registration indication information to continuously send registration information to the OLT.
  • the registration feedback message further includes the OLT adjusted random delay threshold, and the method further includes:
  • the ONU After the ONU performs a random delay according to the adjusted random delay threshold, the ONU continuously transmits the registration information to the OLT.
  • the time when the ONU performs the random delay is greater than or equal to the time for sending each of the registration information; or the time when the ONU performs the random delay is an integer multiple of the time used to send each of the registration information.
  • an embodiment of the present invention provides a method for registering a passive optical network, including:
  • the ONU performs a random delay on the registration information to be sent
  • the ONU selects a pair of wavelength pairs in a preset wavelength pair to continuously send registration information to the OLT;
  • the OLT performs registration processing based on the received registration information.
  • the OLT performs a registration process according to the received registration information, including:
  • the OLT correctly parses the registration information sent by the first ONU, assigning a first wavelength pair to the first ONU, and the first wavelength pair is a wavelength pair used when the registration information is sent by the first ONU, Or other wavelength pairs specified for the OLT;
  • the method further includes: sending, by the OLT, a registration indication message to the ONU, where the OLT sends the registration indication message to the ONU, where the registration indication message includes at least one of the following information: a random delay threshold, the preset wavelength pair used for registration by each ONU in the optical network system;
  • the ONU randomly delays the registration information to be sent, including:
  • the ONU randomly delays the registration information within a range represented by the random delay threshold.
  • the method before the OLT sends the registration indication message to the ONU, the method further includes: the OLT generating the random delay threshold according to the length of the registration information and the preset number of ONUs.
  • the registration information received by the OLT includes registration information sent by the second ONU and the third ONU, where the preset wavelength pair includes a first wavelength pair and a second wavelength pair; after the OLT performs registration processing,
  • the above methods also include:
  • the OLT sends a registration feedback message to the second ONU and the third ONU, where the registration feedback message includes wavelength allocation information or re-registration indication information, where the wavelength allocation information includes the OLT allocation The first wavelength pair.
  • the registration feedback message includes the wavelength allocation information; the method further includes:
  • the second ONU establishes a communication connection with the OLT by using the first wavelength pair, and the third ONU continuously sends registration information to the OLT through the second wavelength pair;
  • the registration The re-registration indication information is included in the feedback message; the method further includes:
  • the second ONU and the third ONU continuously send registration information to the OLT according to the registration feedback message.
  • the method further includes:
  • the OLT adjusts the preset number of ONUs, and regenerates a random delay threshold according to the length of the registration information and the number of the adjusted ONUs, and the registration feedback message sent by the OLT further includes the regenerated Random delay threshold;
  • the ONU After the ONU performs a random delay according to the adjusted random delay threshold, the ONU continuously transmits the registration information to the OLT.
  • the time when the ONU performs the random delay is greater than or equal to the time for sending each of the registration information; or the time when the ONU performs the random delay is an integer multiple of the time used to send each of the registration information.
  • an embodiment of the present invention provides a device for registering a passive optical network, where the device for registering the passive optical network includes:
  • the receiving module is configured to receive the registration information that the ONU continuously transmits through the preset wavelength pair, where the registration information is continuously sent to the OLT after the ONU performs a random delay;
  • a processing module connected to the receiving module is configured to be capable of performing a registration process according to the registration information received by the receiving module.
  • the processing module is configured to allocate the first wavelength pair to the first ONU when the registration information sent by the first ONU received by the receiving module is correctly parsed; When the registration information sent by each of the ONUs is received by the receiving module, it is determined that the operation of assigning a pair of wavelengths is not performed.
  • the first wavelength pair allocated by the OLT to the first ONU is: a wavelength pair used when the first ONU sends registration information, or another wavelength pair specified by the OLT.
  • the registration device of the passive optical network further includes: a sending module connected to the receiving module, configured to be configured, before the receiving module receives the registration information continuously sent by the ONU through a preset wavelength pair Sending a registration indication message to the ONU, where the registration refers to The message includes at least one of the following information: a random delay threshold, the preset wavelength pair used for registration by each ONU in the optical network system; the random delay threshold is used to indicate that the ONU continuously sends a registration to the OLT. The range of random delays that are made when the information is made.
  • the registration device of the passive optical network further includes:
  • the generating module connected to the sending module is configured to generate the random delay threshold according to the length of the registration information and the preset number of ONUs before the sending module sends a registration indication message to the ONU.
  • the registration information received by the receiving module includes registration information sent by the second ONU and the third ONU, where the preset wavelength pair includes a first wavelength pair and a second wavelength pair;
  • the sending module is further configured to send a registration feedback message to the second ONU and the third ONU after the processing module performs the registration process;
  • the registration feedback message includes wavelength allocation information, where the wavelength allocation information is used to indicate that the second ONU passes the The first wavelength pair establishes a communication connection with the OLT, and the wavelength allocation information is further used to instruct the third ONU to continuously send registration information to the OLT through the second wavelength pair;
  • the registration feedback message is used to instruct the second ONU and the third ONU to continuously send the registration information to the OLT.
  • the registration device of the passive optical network further includes:
  • an adjustment module respectively connected to the processing module, the sending module, and the generating module, configured to be able to send the registration in the sending module after the processing module determines that the operation of assigning a wavelength pair is not performed Before the feedback message, the preset number of ONUs is adjusted;
  • the generating module is further configured to regenerate a random delay threshold according to the length of the registration information and the number of ONUs that are adjusted by the adjusting module; and the registration feedback message sent by the sending module further includes the regenerated Random delay threshold.
  • an embodiment of the present invention provides a device for registering a passive optical network, where the device for registering the passive optical network includes:
  • a delay module configured to perform random delay on registration information to be sent
  • the transmitting module connected to the delay module is configured to be capable of continuously transmitting registration information to the OLT by selecting a pair of wavelength pairs among the preset wavelength pairs.
  • the registration device of the passive optical network further includes: a receiving module connected to the delay module, configured to receive the OLT sending before the delay information of the delay module to be sent is randomly delayed a registration indication message, wherein the registration indication message includes at least one of the following information: a random delay threshold, the preset wavelength pair used for registration by each ONU in the optical network system;
  • the delay module is configured to be capable of randomly delaying the registration information within a range represented by a random delay threshold received by the receiving module.
  • the registration device of the passive optical network further includes: a receiving module connected to the sending module, configured to enable the transmitting module to select a pair of wavelengths in the preset pair of wavelengths After the OLT continuously sends the registration information, the registration feedback message sent by the OLT is received, where the registration feedback message includes wavelength allocation information or re-registration indication information, where the wavelength allocation information includes the OLT allocation One wavelength pair.
  • the preset wavelength pair includes the first wavelength pair and the second wavelength pair
  • the registration device of the passive optical network further includes a communication module connected to the receiving module; if the registration feedback The message includes the wavelength allocation information, and the communication module is configured to be able to establish a communication connection with the OLT by using the first wavelength pair after the receiving module receives the registration feedback message sent by the OLT, where
  • the first wavelength pair is: the pair of wavelength pairs used by the ONU to send the registration information, or other wavelength pairs specified by the OLT; or
  • the sending module is further configured to, after the receiving module receives the registration feedback message sent by the OLT, continuously re-send the registration to the OLT by using the second wavelength pair according to the wavelength allocation information received by the receiving module. information.
  • the preset wavelength pair includes the first wavelength pair and the second wavelength pair; if the registration feedback message includes the re-registration indication information, the sending module is further configured to be capable of After receiving the registration feedback message sent by the OLT, the receiving module selects the second wavelength pair to resend the registration information to the OLT according to the re-registration indication information received by the receiving module.
  • the registration feedback message received by the receiving module further includes the OLT adjusted a random delay threshold
  • the delay module is further configured to be capable of performing a random delay according to the adjusted random delay threshold received by the receiving module
  • the sending module is further configured to re-route the delay module after performing a random delay
  • the OLT continuously sends registration information.
  • the time that the delay module performs the random delay is greater than or equal to the time that the sending module sends each of the registration information; or the time that the delay module performs the random delay is sent by the sending module.
  • an embodiment of the present invention provides a passive optical network system, including: an OLT and at least one ONU, where the OLT is respectively connected to each of the ONUs;
  • the OLT is provided with the registration device of the passive optical network according to any one of the above fourth aspects, wherein each of the ONUs is provided with the passive optical network according to any one of the above fifth aspects. Registration device.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed to implement the registration method of the passive optical network on the OLT side.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed to implement the registration method of the passive optical network on the ONU side.
  • the OLT receives the registration information continuously transmitted by the ONU of the registered state through the preset wavelength, and the registration information is randomly delayed by the ONUs.
  • the OLT can continuously send the registration operation according to the received registration information.
  • the ONU instructs the ONU to continuously send the registration information by using the preset wavelength pair, thereby avoiding the form of opening the quiet window.
  • FIG. 1 is a schematic diagram of a network architecture in a related WDM PON system
  • FIG. 2 is a flowchart of a method for registering a passive optical network according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an application scenario in a method for registering a passive optical network according to the embodiment shown in FIG. 2;
  • FIG. 4 is a flowchart of another method for registering a passive optical network according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of still another method for registering a passive optical network according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of still another method for registering a passive optical network according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of still another method for registering a passive optical network according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for registering a passive optical network according to an embodiment of the present disclosure
  • FIG. 9 is an interaction flowchart of a method for registering a passive optical network according to Embodiment 1 of the present application.
  • FIG. 10 is a schematic diagram of an application scenario in a method for registering a passive optical network according to the embodiment shown in FIG. 9;
  • FIG. 11 is an interaction flowchart of a method for registering a passive optical network according to Embodiment 2 of the present application.
  • FIG. 12 is a schematic diagram of an application scenario in a method for registering a passive optical network according to the embodiment shown in FIG. 11;
  • FIG. 13 is a schematic structural diagram of a device for registering a passive optical network according to an embodiment of the present disclosure
  • FIG. 14 is a schematic structural diagram of another device for registering a passive optical network according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of still another device for registering a passive optical network according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of another apparatus for registering a passive optical network according to an embodiment of the present disclosure.
  • FIG. 17 is a schematic structural diagram of a device for registering a passive optical network according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of a passive optical network system according to an embodiment of the present invention.
  • the TDMA PON system is, for example, an Ethernet Passive Optical Network (EPON) system, a Gigabit-Capable PON (GPON) system, and a 10-Gigabit rate Ethernet.
  • EPON Ethernet Passive Optical Network
  • GPON Gigabit-Capable PON
  • XG-PON1 10 Gigabit Passive Optical Network
  • a plurality of ONUs in a TDMA PON system can work in the same pair of wavelengths.
  • the OLT needs to open a quiet window. In the quiet window, the ONU in the working state stops sending uplink data, and the ONU in the registered state is in the uplink.
  • the registration information is sent in the direction to avoid mutual interference between the ONU in the registration state and the ONU in the working state.
  • the ONU transmits in the uplink direction according to the bandwidth allocation of the OLT, and only transmits when there is bandwidth allocation.
  • no uplink data is sent when there is no bandwidth allocation, that is, the ONU transmits in burst mode in the uplink direction.
  • burst mode In contrast to burst mode, continuous mode means that the sender is always transmitting data.
  • both the uplink and downlink directions use burst mode; in the International Telecommunication Union Telecommunication Standardization Organization ( In the GPON/XG-PON1 system defined by the International Telecommunication Union Telecommunication Standardization Sector (ITU-T), the downlink mode is continuous mode and the uplink direction is burst mode.
  • IEEE Institute of Electrical and Electronics Engineers
  • the above-mentioned interval does not exist in the continuous mode, that is, all bandwidths or times can be used for data transmission, which has high bandwidth efficiency, and there is no time requirement for the optical module to be turned on or off, that is, the cost of the optical module. Lower.
  • the WDM PON system is based on an optical distribution network (ODN) composed of a splitter.
  • ODN optical distribution network
  • the ODN is composed of passive devices such as Splitter, and the splitter is set at the OLT and the ONU.
  • the ONU can communicate with the OLT separately, that is, the OLT allocates a pair of wavelength pairs for each ONU that completes the communication.
  • each ONU in the WDM PON system occupies a pair of wavelength pairs and transmits data in a connected mode, thereby having the advantages of high bandwidth utilization and low cost of the optical module.
  • the upstream wavelength needs to be contend, that is, the OLT needs to open the quiet window for the ONU of the registration state to register.
  • the ONU in the working state needs to stop the uplink transmission, thereby reducing the utilization of the system bandwidth, and the ONU needs
  • the burst mode is used to transmit uplink data during the registration process, which also increases the cost of optical modules and systems. Therefore, providing a more efficient registration method for the registration process of the WDM PON system and reducing the cost of optical modules and systems has become an urgent problem to be solved.
  • the technical solutions of the present application are described in detail in the following embodiments.
  • the OLT and the ONU in the following embodiments are terminals in the WDM PON system, and the system adopts a PtP connection mode, that is, one OLT connects multiple ONUs.
  • the following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments.
  • FIG. 2 is a flowchart of a method for registering a passive optical network according to an embodiment of the present invention.
  • the registration method of the passive optical network provided in this embodiment is applicable to the ONU registration in the WDM PON system
  • the method may be performed by a registration device of the passive optical network, and the registration device of the passive optical network passes the hardware and The software is combined to implement the device, which can be integrated into the processor of the OLT for use by the processor.
  • the method in this embodiment may include the following steps:
  • Step S110 The OLT receives the registration information that the ONU continuously transmits through the preset wavelength pair, and the registration information is continuously sent to the OLT after the ONU performs a random delay.
  • the method for registering a passive optical network is a method for registering an ONU in the WDM PON system to the OLT.
  • the OLT in this embodiment does not need to open a quiet window, and can directly open the registration.
  • the ONU refers to the ONU that is registered in the WDM PON system.
  • the OLT in this embodiment has already opened the registration to the ONUs in the registered state, that is, the ONUs can transmit the registration information by using the preset wavelength pair.
  • each ONU that sends the registration information can select a wavelength pair by selecting, and
  • the wavelength pair used by the ONU to send the registration information may be the wavelength pair indicated by the OLT.
  • the ONU continuously sends registration information to the OLT at a certain frequency, for example, by using a serial number (Serial Number, Referred to as: SN) message or Media Access Control (MAC) message.
  • SN Serial Number
  • MAC Media Access Control
  • each ONU is indicated by the random delay threshold at the random delay threshold.
  • the registration information is sent after the random delay is performed in the range. Generally, the time for each ONU to perform the random delay is different, so that the conflict generated by the multiple ONUs simultaneously transmitting the registration information can be effectively avoided.
  • the time when the ONU performs the random delay is greater than or equal to the time for sending each registration information, and the registration information usually has a fixed content, that is, the length of the registration information and the time for sending the registration information are usually also fixed, for example,
  • the time when the ONU performs the random delay may be an integer multiple of the time taken to send each registration information, so that the OLT can further ensure that the OLT can receive the complete registration information sent by one of the ONUs more effectively, so that the OLT can correctly resolve the registration information, thereby Enables the ONU to perform registration efficiently.
  • FIG. 3 is a schematic diagram of an application scenario in a method for registering a passive optical network according to the embodiment shown in FIG. 2. Only one ONU is shown in FIG. 3, and FIG. 3 uses a ONU to perform a random delay. It is shown as an example of the time taken for each registration information to be sent.
  • step S120 the OLT performs registration processing according to the received registration information.
  • the registration information received by the OLT may be complete registration information or may be endless.
  • the registration information of the OLT and the OLT receiving the registration information affect whether the OLT can correctly parse the registration information sent by one of the ONUs, that is, whether the OLT can correctly parse the registration information and the time delay of each ONU that sends the registration information to perform a random delay. Therefore, the subsequent processing of the OLT is also related to the case of the registration information received by the OLT, that is, the OLT performs subsequent registration processing according to the registration information it receives, which includes, for example, performing an operation of assigning a pair of wavelengths, or determining not to perform an allocation wavelength pair.
  • Operation or instruct the ONU to re-initiate registration with other wavelength pairs.
  • the OLT can correctly parse the registration information sent by an ONU, assign a wavelength pair to the ONU; if the OLT does not correctly parse the registration information sent by each ONU, determine that the operation of assigning the wavelength pair is not performed. .
  • the ONU in this embodiment does not need the OLT to open a quiet window for the ONU in the registration process, that is, the ONU that does not need the working state stops working in the quiet window, that is, this embodiment
  • the ONU in the registered state does not interfere with the ONU in the working state when performing registration, thereby improving the utilization of the bandwidth; and the ONU in the registered state continuously transmits the registration information through the OLT indicating the wavelength pair, thereby preventing the ONU from using the registration process.
  • the burst mode transmits the uplink data, thereby further improving the bandwidth utilization.
  • the burst mode is not required in the embodiment, the requirements for the optical module and the system cost can be reduced.
  • the OLT receives the registration information continuously transmitted by the ONU of the registered state through the preset wavelength pair, and the registration information is continuously delayed and sent to the OLT by the ONUs, so that the OLT can
  • the registration operation is performed according to the received registration information.
  • the ONU instructs the ONU to continuously transmit the registration information by using the preset wavelength pair, thereby avoiding the manner of sending the uplink data through the open quiet window and the burst mode.
  • the registration is performed to solve the registration method in the related WDM PON system. Since the ONU needs to transmit uplink data in the burst mode during the registration process, the system bandwidth utilization is reduced, and the optical module and system cost are increased.
  • the random delay threshold sent by the OLT in the embodiment indicates that the ONU sends the registration information after performing the random delay, which can effectively improve the wavelength-to-competition efficiency in the ONU registration process, thereby ensuring the efficiency of the ONU registration.
  • FIG. 4 is a flowchart of another method for registering a passive optical network according to an embodiment of the present invention. Based on the embodiment shown in FIG. 1 above, the method provided in this embodiment is in step S110. Previously included:
  • Step S101 The OLT sends a registration indication message to the ONU, where the registration indication message includes at least one of the following information: a random delay threshold, and a preset wavelength pair used for registration by each ONU in the optical network system.
  • the OLT indicates to the ONU in the registration state that the OLT is open for registration by means of the registration indication message sent to the ONU, and the OLT specifies to register some wavelength pairs in the system for the ONU when the OLT registers for open registration. , that is, the preset wavelength pair in the registration indication message.
  • the registration indication message in this embodiment further includes a random delay threshold, which is used to indicate a range of random delays when the ONU continuously sends registration information to the OLT.
  • the ONU may be at a random delay threshold. After the random delay is performed within the range indicated, the registration information is continuously transmitted to the OLT.
  • the OLT sends a registration indication message, which may be sent to all ONUs in the WDM PON system in a registered state, that is, an ONU that may register with the OLT may receive the registration indication message. , but the ONU that did not receive the registration indication message will initiate registration.
  • the ONU that sends the registration information to the OLT includes, for example, the first ONU and other ONUs, and the OLT performs wavelength allocation.
  • Step S120 may include:
  • Step S121 when the OLT correctly parses the registration information sent by the first ONU, assign the first wavelength pair to the first ONU.
  • the first wavelength pair assigned by the OLT to the first ONU may be a wavelength pair used when the first ONU sends registration information, and may also be other wavelength pairs specified by the OLT.
  • the first ONU sends the registration information by using the first wavelength pair, and when the OLT receives the complete content of the registration information sent by the first ONU and correctly parses the first ONU, the first wavelength pair used when the first ONU sends the registration information is allocated.
  • the first ONU performs subsequent communication; for example, the first ONU sends the registration information by using the second wavelength pair, and when the OLT receives the complete content of the registration information sent by the first ONU and correctly parses, the OLT assigns the first ONU to be allocated.
  • the first wavelength pair registers the second wavelength pair used when the first ONU transmits the registration information for other ONUs.
  • the OLT allocates a wavelength pair in the embodiment
  • the other ONUs are stopped from entering the first wavelength pair.
  • the first ONU establishes a communication connection with the OLT through the first wavelength, it becomes an ONU in a working state, and the first wavelength pair used by the first ONU is no longer used for registration, and the ONU in the registration state can be instructed according to the OLT.
  • the other wavelength pairs are registered.
  • Step S122 when the OLT does not correctly parse the registration information sent by each ONU, it is determined that the operation of assigning the wavelength pair is not performed.
  • the registration information sent by multiple ONUs may generate a collision on the OLT side, where the collision may be caused by the same time of random delay of the multiple ONUs, or may be the random delay of the OLT side notification.
  • the setting of the threshold is not reasonable.
  • the OLT determines not to perform the operation of assigning the pair of wavelengths, and may subsequently re-instruct the ONU to register by changing the registration mode.
  • step S121 and step S122 in this embodiment are selectively performed, and one of them is executed according to the content of the registration information received by the OLT.
  • FIG. 5 is a flowchart of still another method for registering a passive optical network according to an embodiment of the present invention.
  • the method provided in this embodiment may further include:
  • step S100 the OLT generates a random delay threshold according to the length of the registration information and the preset number of ONUs.
  • the random delay threshold in the registration indication message sent by the OLT in the embodiment of the present application is usually generated by the OLT side, and may be obtained according to an empirical value, or may be calculated by the OLT according to the length of the registration information and the preset number of ONUs.
  • the foregoing has explained that the length of the registration information is related to its content, and is generally determined, that is, the length of the registration information is known on both the OLT and the ONU side, and the preset number of ONUs is the predicted number of ONUs in the registration state, and the initial value may be It is set by the designer or it can be configured based on historical values.
  • the random delay threshold may be the product of the length of the registration information and the number of preset ONUs.
  • the method provided by the example further includes:
  • Step S130 the OLT sends a registration feedback message to the second ONU and the third ONU.
  • the OLT allocates the first pair of wavelengths to the second ONU, and the registration feedback message sent by the OLT includes wavelength allocation information, and the wavelength is included.
  • the allocation information is used to indicate that the second ONU establishes a communication connection with the OLT through the first wavelength pair, and the wavelength allocation information is further used to instruct the third ONU to continuously send the registration information to the OLT through the second wavelength pair.
  • the OLT determines that the operation of assigning the wavelength pair is not performed, that is, when the OLT performs step S122, the registration feedback message sent by the OLT is used to instruct the second ONU and the third ONU to continuously send the registration information to the OLT again.
  • the registration feedback message sent by the OLT is used to instruct the second ONU and the third ONU to continuously send the registration information to the OLT again.
  • the first wavelength pair may be used, or the second wavelength pair may be used.
  • the third ONU in this embodiment may refer to one or more ONUs, that is, the OLT that the OLT sends the registration information but the OLT does not successfully resolve, and the second wavelength pair may also be one or more.
  • the second wavelength pair may also be one or more.
  • a pair of wavelengths that is, a pair of wavelengths included in the registration indication message that have not been assigned to an ONU.
  • the random delay threshold in this embodiment may be generated by the OLT according to the length of the registration information and the preset number of ONUs, and the length of the registration information is relatively determined, and the preset number of ONUs has an uncertainty. That is, the number of currently preset ONUs may not match the actual situation. For example, the number of currently preset ONUs is 10. However, there are currently 50 ONUs that need to be registered, that is, the current random delay threshold cannot be For the current 50 ONUs to meet the requirements of the random delay, it is easy to generate a conflict on the OLT side. Therefore, the method provided in this embodiment may further include: between step S120 and step S130:
  • Step S123 the OLT adjusts the preset number of ONUs, and regenerates the random delay threshold according to the length of the registration information and the adjusted number of ONUs. Therefore, the registration feedback message sent by the OLT in step S130 of the embodiment may further include a regenerated random delay threshold. In addition, the registration feedback message in this embodiment may further include other parameters indicating that the ONU changes the transmission mode, for example, indicating that the transmission frequency of the ONU is changed.
  • the random delay threshold indicated to the ONU is changed, and when the conflict occurs on the OLT side, the registration information is re-transmitted by changing the ONU to send the registration information, which is beneficial to improving the success of the ONU registration. rate.
  • FIG. 6 is a flowchart of still another method for registering a passive optical network according to an embodiment of the present invention.
  • the registration method of the passive optical network provided by the embodiment is applicable to the ONU registration in the WDM PON system
  • the method can be performed by a registration device of the passive optical network, and the registration device of the passive optical network passes hardware and software.
  • the device can be integrated into the processor of the ONU for use by the processor.
  • the method in this embodiment may include the following steps:
  • step S210 the ONU performs a random delay on the registration information to be sent.
  • the method for registering a passive optical network is a method for registering an ONU in the WDM PON system to the OLT.
  • the OLT in this embodiment does not need to open a quiet window, and can directly open the registration.
  • the ONU refers to the ONU that is registered in the WDM PON system.
  • the ONU in this embodiment is known to open the registration of the ONU to the ONU in the registration state. At this time, the ONU that needs to send the registration information may perform a random delay on the registration information to be sent first, and then perform the transmission operation.
  • the ONUs in this embodiment may be one or more, and the operations of this embodiment may be performed as long as the ONUs in the above-mentioned registered state and the ONUs that need to send registration information.
  • the manner in which the ONU in the embodiment performs the random delay may be, for example, performing random delay according to default information, or performing random delay according to indication information of the OLT.
  • step S220 the ONU selects a pair of wavelength pairs in the preset wavelength pair to continuously transmit the registration information to the OLT.
  • the ONU performs a random delay on the registration information to be sent, and then may send the registration information by using the wavelength pair indicated in the registration indication message.
  • each ONU that sends the registration information may be pre-selected.
  • the wavelength pair is selected to select a wavelength pair, and the wavelength pair used by the ONU to send the registration information may be the wavelength pair indicated by the OLT.
  • the ONU continuously sends registration information to the OLT at a certain frequency, the registration.
  • the information can also be sent via an SN message or a MAC message.
  • the OLT side may not be correctly parsed. Therefore, different ONUs perform randomization within the range of the random delay threshold. After the delay, the registration information is sent. Usually, the time for each ONU to perform the random delay is different, so that the conflict generated by the multiple ONUs simultaneously transmitting the registration information can be effectively avoided.
  • the time when the ONU performs the random delay is greater than or equal to the time for sending each registration information, because the length of the registration information and the time for sending the registration information are usually also fixed.
  • the time for the ONU to perform the random delay may be An integer multiple of the time taken to send each registration information, so that the OLT can further ensure that the complete registration information sent by one of the ONUs is received more efficiently, so that the OLT can correctly resolve the registration information, thereby realizing the efficiency of the ONU performing registration.
  • the ONU performs random delay and sends registration information.
  • the application scenario shown in FIG. 3 can also be referred to.
  • the registration information received by the OLT may be registration information of complete content, or may be registration information with incomplete content, and the OLT may receive registration information.
  • the subsequent processing of the OLT is also related to the case of the registration information received by the OLT, that is, the OLT can also perform subsequent registration processing according to the registration information it receives, which includes, for example, performing an operation of assigning a pair of wavelengths, or not performing the allocation of wavelengths.
  • the correct operation or instruct the ONU to re-initiate registration with other wavelength pairs. If the OLT can correctly resolve the registration information sent by an ONU, the OLT can assign a wavelength pair to the ONU. If the OLT does not correctly parse the registration information sent by each ONU, it determines that the assigned wavelength pair is not executed. operating.
  • the ONU in this embodiment does not need the OLT to open a quiet window for the ONU in the registration process, that is, the ONU that does not need the working state stops working in the quiet window, that is, this embodiment
  • the ONU in the registration state does not interfere with the ONU in the working state when the registration is performed, so that the bandwidth utilization can be improved.
  • the ONU in this embodiment continuously transmits the registration information by the OLT indicating the wavelength pair, thereby avoiding the ONU in the registration process.
  • the burst data is used to transmit the uplink data, thereby further improving the bandwidth utilization.
  • the burst mode is not required in the embodiment, the requirements for the optical module and the system cost can be reduced.
  • the ONU performs random delay on the registration information to be sent, and then the ONU selects one of the pair of wavelengths to continuously send registration information to the OLT in the preset wavelength pair, and the ONU sends the registration information.
  • the manner of registering information enables the OLT to perform a registration operation according to the received registration information; the ONU of the embodiment receives the registration indication message by the party
  • the registration information is continuously transmitted by using the specified wavelength pair, and the registration is performed in the form of an open quiet window and the uplink data is transmitted in a burst mode, and the registration mode in the related WDM PON system is solved, because the ONU needs to be in the registration process.
  • the burst mode is used to transmit uplink data, which leads to a reduction in system bandwidth utilization and an increase in the cost of optical modules and systems.
  • the ONU sends the registration information after performing the random delay in the range of the random delay threshold by using the received random delay threshold, which can effectively improve the wavelength-to-competition efficiency in the ONU registration process, thereby ensuring that the ONU performs the ONU.
  • the efficiency of registration can effectively improve the wavelength-to-competition efficiency in the ONU registration process, thereby ensuring that the ONU performs the ONU. The efficiency of registration.
  • FIG. 7 is a flowchart of a method for registering a passive optical network according to an embodiment of the present invention.
  • the method provided in this embodiment may further include:
  • Step S200 The ONU receives a registration indication message sent by the OLT, where the registration indication message includes at least one of the following information: a random delay threshold, which is used for a preset wavelength pair registered by each ONU in the optical network system.
  • a random delay threshold which is used for a preset wavelength pair registered by each ONU in the optical network system.
  • the ONU obtains that the OLT has opened the registration to the ONU in the registration state by receiving the registration indication message sent by the OLT, and the OLT specifies to register some wavelength pairs in the system for the ONU when the OLT registers for open registration. That is, the preset wavelength pair in the registration indication message.
  • the registration indication message in this embodiment further includes a random delay threshold, which may be a time standard for the ONU to perform a random delay before transmitting the registration information.
  • the registration information to be sent by the ONU is randomly delayed, that is, the step S210 may be: the ONU randomly delays the registration information within the range indicated by the random delay threshold.
  • the OLT sends a registration indication message, which may be sent to all ONUs in the WDM PON system in a registered state, that is, an ONU that may register with the OLT may receive the registration indication message.
  • the ONU that does not receive the registration indication message performs step S210 and step S220.
  • the preset wavelength pair in the embodiment may include, for example, a first wavelength pair and a second wavelength pair.
  • the method provided in this embodiment may further include:
  • Step S230 the ONU receives the registration feedback message sent by the OLT, where the registration feedback message is included in the packet.
  • the wavelength assignment information or the re-registration indication information is included, and the wavelength assignment information includes a first wavelength pair allocated by the OLT.
  • the ONUs that send the registration information to the OLT may be more than one.
  • the registration feedback message includes wavelength allocation information, and the wavelength allocation information includes OLT allocation.
  • the first wavelength pair may be sent by the ONU in the embodiment, which may be sent by the ONU in the embodiment, or may be sent by other ONUs, that is, the wavelength allocation information may be instructed to be allocated to the ONU in this embodiment.
  • the first wavelength pair may also indicate that the first wavelength pair is allocated to other ONUs.
  • the OLT does not correctly parse the registration information sent by each ONU, and the registration feedback message includes re-registration indication information.
  • the registration feedback message includes the wavelength allocation information.
  • the method provided in this embodiment may include:
  • step S240 the ONU establishes a communication connection with the OLT through the first wavelength pair.
  • the ONU in this embodiment allocates an ONU of a wavelength pair to the OLT, and the first wavelength pair indicated in the wavelength allocation information may be a pair of wavelength pairs used when transmitting registration information for the ONU, or may be other wavelengths specified by the OLT. Correct.
  • the application scenario has been described in the above embodiments, and therefore will not be described herein.
  • the OLT will allocate the foregoing first wavelength pair to other ONUs, that is, after the step S230, the method in this embodiment may further include:
  • Step S241 the ONU continuously sends the registration information to the OLT through the second wavelength pair according to the wavelength allocation information.
  • the OLT in this embodiment allocates the first wavelength pair, but the allocated object is the other ONU that sends the registration information. Therefore, after receiving the registration feedback message, the ONU in this embodiment may use the unassigned according to the wavelength allocation information.
  • the wavelength pair, the second wavelength pair resends the registration information.
  • the manner in which the ONU continuously transmits the registration information to the OLT is the same as the manner of transmitting the registration information, and also needs to be continuously transmitted after performing the random delay.
  • the ONU that is not assigned to the wavelength pair is stopped to register on the first wavelength pair, that is, any After the ONU establishes a communication connection with the OLT through the first wavelength, the ONU becomes an active ONU.
  • the first wavelength pair used by the ONU in the working state is no longer used for registration, and the ONU in the registered state can perform other wavelength pairs indicated by the OLT. registered.
  • the second wavelength pair in this embodiment may be one or more pairs of wavelength pairs, that is, a wavelength pair included in the registration indication message and not yet allocated to an ONU.
  • the registration feedback message includes re-registration indication information, and correspondingly, after the step S230, the method in this embodiment may further include:
  • Step S250 the ONU selects the second wavelength pair according to the re-registration indication information to continuously send the registration information to the OLT.
  • the registration information sent by the multiple ONUs may generate a collision on the OLT side, where the collision may be caused by the same time of the random delay of the multiple ONUs, or may be the random notification by the OLT side.
  • the setting of the delay threshold is not reasonable.
  • the OLT temporarily does not perform the operation of assigning a pair of wavelengths, and may subsequently re-instruct the ONU to register by changing the registration mode.
  • the manner in which the ONU continuously transmits the registration information to the OLT is the same as the manner of transmitting the registration information, and also needs to be continuously transmitted after performing the random delay.
  • step S240, step S241, and step S250 in this embodiment are selectively performed, and one of them is executed according to the content of the registration feedback message received by the ONU.
  • FIG. 8 is a flowchart of a method for registering a passive optical network according to an embodiment of the present invention.
  • the random delay threshold in this embodiment may also be generated by the OLT according to the length of the registration information and the preset number of ONUs. Accordingly, when the OLT receives the registration information to generate a conflict, the OLT may also adjust the random number by adjusting the preset number of ONUs.
  • the delay threshold that is, the registration feedback message received by the ONU in this embodiment includes the re-registration indication information and the OLT-adjusted random delay threshold. Therefore, the method provided in this embodiment further includes:
  • Step S260 After the ONU performs a random delay according to the adjusted random delay threshold, the ONU continuously transmits the registration information to the OLT. Similarly, the manner in which the ONU continuously transmits registration information to the OLT is the same as the manner of transmitting the registration information, and also needs to be continuously transmitted after performing a random delay.
  • the registration feedback message in this embodiment may further include other parameters indicating that the ONU changes the transmission mode, for example, indicating that the transmission frequency of the ONU is changed.
  • the registration information is re-transmitted by changing the ONU to send the registration information, which is beneficial to improving the success rate of the ONU registration. .
  • FIG. 9 is an interaction flowchart of a method for registering a passive optical network according to Embodiment 1 of the present application.
  • the application scenario of this embodiment is, for example, the ONU of the WDM PON system in the registered state includes the ONU1 and the ONU2.
  • the method provided in the embodiment shown in FIG. 9 includes the following steps:
  • step S310 the ONU1 and the ONU2 respectively perform random delay on the registration information to be sent.
  • step S320 the ONU1 and the ONU2 respectively select a pair of wavelength pairs in the preset wavelength pair to continuously transmit the registration information to the OLT.
  • the registration information in this embodiment may also be sent by using an SN message or a MAC message.
  • step S330 the OLT performs registration processing according to the received registration information.
  • the manner in which the OLT performs the registration process is the same as that in the foregoing embodiment. If the OLT correctly parses the registration information sent by the ONU1, the first wavelength pair is allocated to the ONU1; if the OLT does not correctly resolve the ONU1 and the ONU2 When the registration information is transmitted, it is determined that the operation of assigning the wavelength pair is not performed.
  • FIG. 10 is a schematic diagram of an application scenario in a method for registering a passive optical network according to the embodiment shown in FIG. 9.
  • the ONU1 in FIG. 10 performs a random delay for a small amount of time, for example, the time required to transmit the registration information once, and the ONU2 performs a random delay for a long time, for example, the time required to transmit the registration information on both sides, that is, ONU1 and ONU2.
  • the registration information sent on the OLT side does not conflict.
  • the OLT can receive and correctly resolve the registration information sent by the ONU1. Therefore, the OLT can assign a wavelength pair to the ONU1.
  • step S330 is: assigning the first wavelength pair to the ONU1.
  • the first wavelength pair in this embodiment may be a wavelength pair used when the ONU1 sends registration information, and may also be another wavelength pair specified by the OLT for the ONU1.
  • step S340 the OLT sends a registration feedback message to the ONU1 and the ONU2.
  • the registration feedback message in this embodiment may include wavelength allocation information, where the wavelength allocation information refers to The ONU1 registration is successful, and the ONU2 registration fails.
  • step S350 the ONU1 establishes a communication connection with the OLT through the first wavelength pair.
  • the ONU 2 in this embodiment may continue to transmit registration information through the second wavelength pair, or may temporarily stop transmitting the registration information according to the indication of the OLT.
  • the embodiment shown in FIG. 9 may further include:
  • step S300 the OLT generates a random delay threshold according to the length of the registration information and the preset number of ONUs.
  • the OLT sends a registration indication message to the ONU1 and the ONU2.
  • the registration indication message in this embodiment also includes at least one of the following information: a random delay threshold, a preset wavelength pair used for registration by each ONU in the optical network system.
  • the OLT of the present embodiment notifies that the preset wavelength pairs of ONU1 and ONU2 can be used for registration, for example, the OLT indicates that the first wavelength pair and the second wavelength pair are used for registration, and indicates a range of random delay thresholds, thereby opening the registration.
  • step S310 may be: ONU1 and ONU2 respectively perform random delay on the registration information to be sent within the range indicated by the random delay threshold.
  • FIG. 11 is an interaction flowchart of a method for registering a passive optical network according to Embodiment 2 of the present application.
  • the application scenario of this embodiment is as follows:
  • the ONU of the WDM PON system in the registration state also includes the ONU1 and the ONU2, and the method provided in the embodiment shown in FIG. 11 includes:
  • Step S410 the OLT generates a random delay threshold according to the length of the registration information and the preset number of ONUs.
  • the OLT sends a registration indication message to the ONU1 and the ONU2.
  • the registration indication message in this embodiment also includes at least one of the following information: a random delay threshold, which is used for a preset wavelength pair registered by each ONU in the optical network system.
  • the OLT of the present embodiment notifies ONU1 and ONU2 that one or more pairs of wavelength pairs can be used for registration, for example, the OLT indicates that the first wavelength pair and the second wavelength pair are used for registration, and indicates a range of random delay thresholds, thereby opening the registration.
  • step S430 the ONU1 and the ONU2 respectively perform a random delay within a range represented by the random delay threshold.
  • step S440 the ONU1 and the ONU2 respectively select a pair of wavelength pairs to continuously transmit registration information to the OLT.
  • the registration information in this embodiment may also be sent by using an SN message or a MAC message.
  • Step S450 the OLT determines, according to the received registration information, that the operation of assigning the pair of wavelengths is not performed.
  • FIG. 12 is a schematic diagram of an application scenario in a method for registering a passive optical network provided in the embodiment shown in FIG.
  • the time when the ONU1 performs the random delay in FIG. 12 is different from the time when the ONU2 performs the random delay.
  • the OLT does not receive the complete registration information sent by the ONU1, the ONU2 has started to send the registration information, and the registration information on the OLT side conflicts. Therefore, the OLT cannot correctly parse the registration information sent by each ONU, and the OLT cannot allocate a wavelength pair for any ONU.
  • step S460 the OLT sends a registration feedback message to the ONU1 and the ONU2.
  • the registration feedback message in this embodiment may include re-registration indication information indicating that both ONU1 and ONU2 fail to register.
  • the following operations may also be performed:
  • Step S470 the ONU1 and the ONU2 switch the wavelength pair and then continuously send the registration information to the OLT.
  • step S470 can refer to step S430 and step S440 described above.
  • the OLT in this embodiment may further perform:
  • step S451 the OLT adjusts the random delay threshold.
  • the OLT can also adjust the random delay threshold by adjusting the preset number of ONUs.
  • the registration feedback message sent by the OLT in step S460 of the embodiment may further include an adjusted random delay threshold.
  • ONU1 and ONU2 can also perform:
  • Step S480 after ONU1 and ONU2 perform random delay according to the adjusted random delay threshold, The registration information is continuously sent back to the OLT.
  • the ONU retransmits the registration information in the same manner as the foregoing manner of transmitting the registration information, and also needs to continuously transmit after performing the random delay. That is, the execution step of step S480 can refer to step S430 and step S440 described above.
  • FIG. 13 is a schematic structural diagram of a device for registering a passive optical network according to an embodiment of the present invention.
  • the registration device of the passive optical network provided in this embodiment is applicable to the ONU registration in the WDM PON system, the registration device of the passive optical network is implemented by combining hardware and software, and the device can be integrated in the OLT.
  • the processor for the processor to call.
  • the registration device of the passive optical network of this embodiment includes: a receiving module 11 and a processing module 12.
  • the receiving module 11 is configured to receive the registration information continuously sent by the ONU through the preset wavelength pair, where the registration information is continuously delayed by the ONU and then continuously sent to the OLT.
  • the device for registering the passive optical network is a device provided by the ONU in the WDM PON system to register with the OLT.
  • the OLT in this embodiment does not need to open a quiet window, and can directly open the registration.
  • the implementation is performed.
  • the ONU in the example refers to the ONU in the WDM PON system that is in the registered state.
  • the OLT in this embodiment has already opened the registration to the ONUs in the registered state, that is, the ONUs can transmit the registration information by using the preset wavelength pair.
  • each ONU that sends the registration information can select a wavelength pair by selecting, and
  • the wavelength pair used by the ONU to send the registration information may be the pair of wavelengths indicated by the OLT.
  • the ONU continuously sends registration information to the OLT at a certain frequency, for example, by sending an SN message or a MAC message. of.
  • each ONU is indicated by the random delay threshold at the random delay threshold.
  • the registration information is sent after the random delay is performed in the range. Generally, the time for each ONU to perform the random delay is different, so that the conflict generated by the multiple ONUs simultaneously transmitting the registration information can be effectively avoided.
  • the time for the ONU to perform the random delay is also greater than or equal to the time for transmitting each registration information.
  • the time when the ONU performs the random delay may be an integer multiple of the time used to send each registration information.
  • the manner in which the ONU performs random delay and sends registration information may also refer to the application scenario shown in FIG. 3.
  • the processing module 12 connected to the receiving module 11 is configured to be able to perform registration processing according to the registration information received by the receiving module 11.
  • the receiving module 11 may receive the registration information sent by the multiple ONUs to the OLT, the registration information received by the receiving module 11 may be complete registration information or may be an incomplete registration.
  • the information receiving condition of the receiving module 11 affects whether the processing module 12 can correctly parse the registration information sent by one of the ONUs, that is, whether the processing module 12 can correctly parse the registration information and the time delay of each ONU transmitting the registration information for random delay.
  • the subsequent processing of the OLT is also related to the case of the registration information received by the OLT, that is, the OLT performs subsequent registration processing according to the registration information it receives, which includes, for example, performing an operation of assigning a pair of wavelengths, or determining not to perform an allocation wavelength pair.
  • the processing module 12 can correctly parse the registration information sent by an ONU, the ONU is assigned a wavelength pair; if the processing module 12 does not correctly parse the registration information sent by each ONU, it is determined that the allocated wavelength is not executed. Right operation.
  • the registration device of the passive optical network provided by the embodiment of the present invention is used to perform the registration method of the passive optical network provided by the embodiment shown in FIG. 2, and has a corresponding functional module, and the implementation principle and the technical effect are similar. Narration.
  • FIG. 14 is a schematic structural diagram of another device for registering a passive optical network according to an embodiment of the present invention.
  • the registration device of the passive optical network in this embodiment further includes: a sending module 13 connected to the receiving module 11, configured to receive the ONU through the preset in the receiving module 11 Before the wavelength information is continuously sent, the registration indication message is sent to the ONU, where the registration indication message includes at least one of the following information: a random delay threshold, and a preset wavelength pair used for registration by each ONU in the optical network system.
  • the sending module 13 indicates to the ONU in the registration state that the OLT has been open for registration by means of the registration indication message sent to the ONU, and the OLT specifies to use part of the wavelength pair in the system for the ONU when the OLT is open for registration. Registration is done, ie the preset wavelength pair in the registration indication message.
  • the registration indication message in this embodiment further includes a random delay threshold, which is used to indicate a range of random delays when the ONU continuously sends registration information to the OLT.
  • the ONU may be at a random delay threshold. After the random delay is performed within the range indicated, the registration information is continuously transmitted to the OLT.
  • the sending module 13 in this embodiment sends a registration indication message, which may be sent to all ONUs in the WDM PON system in a registered state, that is, an ONU that may register with the OLT can receive the registration.
  • the ONU indicating the message, but not receiving the registration indication message, will initiate the registration.
  • the ONU that sends the registration information to the OLT includes, for example, the first ONU and the other ONUs.
  • the processing module 12 performs the registration processing on the one hand, and is configured to correctly parse the receiving module 11 for receiving.
  • the first wavelength pair is assigned to the first ONU.
  • the first wavelength pair assigned by the processing module 12 to the first ONU may be a wavelength pair used when the first ONU sends registration information, and may also be other wavelength pairs specified by the OLT.
  • the manner in which the processing module 12 allocates the foregoing first wavelength pair has been described in the foregoing embodiment, and therefore is not described herein again.
  • the processing module 12 of the embodiment allocates a wavelength pair
  • the other ONUs are stopped to register on the first wavelength pair.
  • the first ONU establishes a communication connection with the OLT through the first wavelength, it becomes an ONU in a working state, and the first wavelength pair used by the first ONU is no longer used for registration, and the ONU in the registration state may be other according to the OLT indication.
  • the wavelength pair is registered.
  • the processing module 12 determines that the operation of assigning the pair of wavelengths is not performed when the registration information transmitted by each of the ONUs received by the receiving module 11 is not correctly parsed.
  • the registration information sent by the multiple ONUs in this embodiment may cause a collision on the OLT side.
  • the processing module 12 determines that the operation of assigning the wavelength pair is not performed, and may subsequently re-instruct the ONU to register by changing the registration mode.
  • the registration device of the passive optical network provided by the embodiment of the present invention is used to perform the registration method of the passive optical network provided by the embodiment shown in FIG. 4, and has a corresponding functional module, and the implementation principle and technical effect are similar. Narration.
  • FIG. 15 is a schematic structural diagram of another apparatus for registering a passive optical network according to an embodiment of the present invention.
  • the registration device of the passive optical network in this embodiment further includes: a generating module 14 connected to the sending module 13 configured to be able to send a registration indication to the ONU in the sending module 13 on the basis of the foregoing embodiment shown in FIG. Before the message, a random delay threshold is generated according to the length of the registration information and the preset number of ONUs.
  • the random delay threshold in the registration indication message sent by the sending module 13 in this embodiment of the present application It is generated by the OLT side, for example, may be obtained according to an empirical value, or may be calculated by the generating module 14 according to the length of the registration information and the preset number of ONUs.
  • the random delay threshold may be the length of the registration information. The product of the number of preset ONUs.
  • the sending module 13 in this embodiment is further configured to send a registration feedback message to the second ONU and the third ONU after the processing module 12 performs the registration process.
  • the processing module 12 allocates the first wavelength pair to the second ONU
  • the registration feedback message includes wavelength allocation information, where the wavelength allocation information is used to indicate that the second ONU establishes a communication connection with the OLT through the first wavelength pair.
  • the wavelength assignment information is further used to indicate that the third ONU continuously retransmits the registration information to the OLT by using the second wavelength pair; if the processing module 12 determines that the operation of assigning the wavelength pair is not performed, the registration feedback message is used to indicate the second ONU and the third ONU.
  • the registration information is continuously sent to the OLT.
  • the wavelength information may be re-transmitted without limiting the wavelength pair used by the second ONU and the third ONU.
  • the first wavelength pair may be used, or the second wavelength pair may be used.
  • the third ONU in this embodiment may refer to one or more ONUs, that is, the OLT that the OLT sends the registration information but the OLT does not successfully resolve, and the second wavelength pair may also be one or more.
  • the second wavelength pair may also be one or more.
  • a pair of wavelengths that is, a pair of wavelengths included in the registration indication message that have not been assigned to an ONU.
  • the passive provided by this embodiment may further include: an adjustment module 15 respectively connected to the processing module 12, the sending module 13, and the generating module 14, configured to be capable of after the processing module 12 determines not to perform the operation of assigning a pair of wavelengths, and in the transmitting module Before the registration feedback message is sent, the number of preset ONUs is adjusted; correspondingly, the generating module 14 is further configured to regenerate the random delay threshold according to the length of the registration information and the number of ONUs adjusted by the adjustment module 15, and the sending module The re-generated random delay threshold is also included in the registration feedback message sent by 13.
  • the registration feedback message in this embodiment may further include other parameters indicating that the ONU changes the transmission mode, for example, indicating that the transmission frequency of the ONU is changed.
  • the registration device of the passive optical network provided by the embodiment of the present invention is used to execute the embodiment shown in FIG.
  • the registration method of the passive optical network is provided with corresponding functional modules, and the implementation principle and technical effects are similar, and will not be described here.
  • the sending module 13 and the receiving module 11 in the embodiment shown in FIG. 13 to FIG. 15 can be implemented by the transceiver of the OLT, and the processing module 12, the generating module 14 and the adjusting module 15 can be implemented by the processor of the OLT.
  • the processor may be, for example, a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or an implementation of an embodiment of the present invention. Multiple integrated circuits.
  • FIG. 16 is a schematic structural diagram of another apparatus for registering a passive optical network according to an embodiment of the present invention.
  • the registration device of the passive optical network provided in this embodiment is applicable to the ONU registration in the WDM PON system, the registration device of the passive optical network is implemented by combining hardware and software, and the device can be integrated in the ONU.
  • the processor for the processor to call.
  • the registration device of the passive optical network of this embodiment includes a delay module 21 and a transmission module 22.
  • the delay module 21 is configured to perform random delay on the registration information to be sent.
  • the device for registering the passive optical network is a device provided by the ONU in the WDM PON system to register with the OLT.
  • the OLT in this embodiment does not need to open a quiet window, and can directly open the registration.
  • the implementation is performed.
  • the ONU in the example refers to the ONU in the WDM PON system that is in the registered state.
  • the ONU in this embodiment knows that the OLT is open to the ONU in the registered state.
  • the delay module 21 in the ONU that needs to send the registration information may perform a random delay on the registration information to be sent first, and then perform a transmission operation.
  • the ONUs in this embodiment may be one or more, and the operations of this embodiment may be performed as long as the ONUs in the above-mentioned registered state and the ONUs that need to send registration information.
  • the manner in which the delay module 21 in the embodiment performs the random delay may be, for example, performing random delay according to default information, or performing random delay according to indication information of the OLT.
  • the transmitting module 22 connected to the delay module 21 is configured to be capable of continuously transmitting registration information to the OLT by selecting a pair of wavelength pairs among the preset wavelength pairs.
  • the ONU performs a random delay on the registration information to be sent, and then the sending module 22 may send the registration information by using the wavelength pair indicated in the registration indication message.
  • each ONU that sends the registration information may select Way of selecting a wavelength pair in a preset wavelength pair, And the wavelength pair used by the sending module 22 to send the registration information may be a pair of wavelengths indicated by the OLT.
  • the ONU continuously sends registration information to the OLT at a certain frequency, and the registration information may also be an SN message. Or a MAC message sent.
  • the OLT side may not be correctly parsed. Therefore, different ONUs perform randomization within the range of the random delay threshold. After the delay, the registration information is sent. Usually, the time for each ONU to perform the random delay is different, so that the conflict generated by the multiple ONUs simultaneously transmitting the registration information can be effectively avoided.
  • the delay time of the delay module 21 for performing the random delay is also greater than or equal to the time for transmitting each registration information.
  • the delay of the delay module 21 for performing the random delay may be an integer multiple of the time used for transmitting each registration information.
  • the manner in which the delay module 21 performs the random delay and the sending module 22 sends the registration information in the embodiment can also refer to the application scenario shown in FIG. 3 .
  • the registration information received by the OLT may be registration information of complete content, or may be registration information with incomplete content, and the OLT may receive registration information.
  • the subsequent processing of the OLT is also related to the case of the registration information received by the OLT, that is, the OLT can also perform subsequent registration processing according to the registration information it receives, which includes, for example, performing an operation of assigning a pair of wavelengths, or not performing the allocation of wavelengths.
  • the correct operation or instruct the ONU to re-initiate registration with other wavelength pairs. If the OLT can correctly resolve the registration information sent by an ONU, the OLT can assign a wavelength pair to the ONU. If the OLT does not correctly parse the registration information sent by each ONU, it determines that the assigned wavelength pair is not executed. operating.
  • the registration device of the passive optical network provided by the embodiment of the present invention is used to perform the registration method of the passive optical network provided by the embodiment shown in FIG. 6, and has a corresponding functional module, and the implementation principle and technical effect are similar. Narration.
  • FIG. 17 is a schematic structural diagram of a device for registering a passive optical network according to an embodiment of the present invention.
  • the apparatus provided in this embodiment further includes: a receiving module 23 connected to the delay module 21, configured to be capable of being sent in the delay module 21 Before the registration information is randomly delayed, the registration indication message sent by the OLT is received.
  • the registration indication message includes at least one of the following information: a random delay threshold, and a preset wavelength pair used for registration by each ONU in the optical network system.
  • the manner in which the delay module 21 in the embodiment performs random delay on the registration information to be sent may be configured to be capable of randomly delaying the registration information within a range indicated by the random delay threshold received by the receiving module 23.
  • the OLT sends a registration indication message, which may be sent to all ONUs in the WDM PON system in a registered state, that is, an ONU that may register with the OLT may receive the registration indication message. , but the ONU that did not receive the registration indication message will initiate registration.
  • the preset wavelength pair in this embodiment includes, for example, a first wavelength pair and a second wavelength pair.
  • the receiving module 23 is further connected to the sending module 22, and the receiving module is 23 is further configured to receive the registration feedback message sent by the OLT after the sending module 22 selects a pair of wavelength pairs in the preset wavelength pair to continuously send the registration information to the OLT, where the registration feedback message includes wavelength allocation information or re-registration Instructing information, the wavelength allocation information includes a first wavelength pair allocated by the OLT.
  • the ONUs that send the registration information to the OLT may be more than one.
  • the registration feedback message includes wavelength allocation information, and the wavelength allocation information includes OLT allocation.
  • the first wavelength pair may be sent by the ONU in the embodiment, which may be sent by the ONU in the embodiment, or may be sent by other ONUs, that is, the wavelength allocation information may be instructed to be allocated to the ONU in this embodiment.
  • the first wavelength pair may also indicate that the first wavelength pair is allocated to other ONUs.
  • the OLT does not correctly parse the registration information sent by each ONU, and the registration feedback message includes re-registration indication information.
  • the registration feedback message includes the wavelength allocation information.
  • the registration device of the passive optical network further includes: The communication module 24 is configured to be able to establish a communication connection with the OLT through the first wavelength pair after the receiving module 23 receives the registration feedback message sent by the OLT, where the first wavelength pair can be used to send the registration information to the ONU. A pair of wavelength pairs used, or other wavelength pairs specified by the OLT.
  • the OLT allocates the first wavelength pair to the other ONUs.
  • the sending module 22 in this embodiment is further configured to receive the registration feedback message sent by the OLT in the receiving module 23. Then, according to the wavelength allocation information received by the receiving module 23, the registration information is continuously transmitted to the OLT through the second wavelength pair.
  • the sending module 22 retransmits the registration information in the same manner as the foregoing manner of transmitting the registration information. Similarly, after the delay module 21 performs the random delay, the sending module 22 performs continuous transmission.
  • the ONU that is not assigned to the wavelength pair is stopped to register on the first wavelength pair, that is, any ONU passes the first wavelength.
  • the OLT establishes a communication connection, it becomes an ONU in a working state, and the first wavelength pair used by the ONU in the working state is no longer used for registration, and the ONU in the registered state can register according to other wavelength pairs indicated by the OLT.
  • the second wavelength pair in this embodiment may be one or more pairs of wavelength pairs, that is, a wavelength pair included in the registration indication message and not yet allocated to an ONU.
  • the registration feedback message includes the re-registration indication information.
  • the sending module 22 in this embodiment is further configured to be able to receive the registration feedback message sent by the OLT after the receiving module 23 receives the OLT. And selecting the second wavelength pair according to the re-registration indication information received by the receiving module 23 to continuously send the registration information to the OLT.
  • the sending module 22 retransmits the registration information in the same manner as the foregoing manner of transmitting the registration information.
  • the transmitting module 22 performs continuous transmission.
  • the registration device of the passive optical network provided by the embodiment of the present invention is used to execute the registration method of the passive optical network provided by the embodiment shown in FIG. 7 , and has a corresponding functional module, and the implementation principle and technical effect thereof are similar. Narration.
  • the random delay threshold in this embodiment may also be generated by the OLT according to the length of the registration information and the preset number of ONUs. Accordingly, when the OLT generates a conflict in receiving the registration information, the OLT may also adjust the preset ONU.
  • the number of the random delay thresholds is adjusted, that is, the registration feedback message received by the receiving module 23 in this embodiment further includes an OLT-adjusted random delay threshold.
  • the delay module 21 is further configured to be able to receive the adjustment according to the receiving module 23.
  • the subsequent random delay threshold performs a random delay
  • the transmitting module 22 is further configured to resend the registration information to the OLT continuously after the delay module 21 performs the random delay.
  • the registration feedback message in this embodiment may also be included in the package. Other parameters indicating that the ONU changes the transmission mode, such as indicating the change of the transmission frequency of the ONU, and the like.
  • the registration device of the passive optical network provided by the embodiment of the present invention is used to execute the registration method of the passive optical network provided by the embodiment shown in FIG. 8 , and has a corresponding functional module, and the implementation principle and technical effect thereof are similar. Narration.
  • the receiving module 23 and the transmitting module 22 in the embodiment shown in FIG. 16 and FIG. 17 can be implemented by a transceiver of the ONU, and the delay module 21 and the communication module 24 can be implemented by a processor of the ONU.
  • a processor of the ONU For example, it may be a CPU, or an ASIC, or one or more integrated circuits that implement embodiments of the present invention.
  • FIG. 18 is a schematic structural diagram of a passive optical network system according to an embodiment of the present invention.
  • the passive optical network system includes: an OLT 31 and at least one ONU 32, and the OLT 31 is respectively connected to each ONU 32;
  • the OLT 31 is provided with a registration device for the passive optical network in each of the embodiments shown in FIG. 13 to FIG. 15, and each ONU 32 is provided with a passive optical network as in the embodiment shown in FIG. 16 and FIG.
  • the registration device, the passive optical network system shown in FIG. 17, is shown by taking three ONUs 32 as an example.
  • Each network element in the passive optical network system of this embodiment is used for registration in the WDM PON system, and is the same as the manner in which the corresponding network element is registered in the WDM PON system in the embodiment shown in FIG. 13 to FIG.
  • the registration method of the passive optical network provided by any of the embodiments shown in FIG. 1 to FIG. 12 is provided with a corresponding physical device, and the implementation principle and technical effects thereof are similar, and details are not described herein again.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed to implement the registration method of the passive optical network on the OLT side.
  • the embodiment of the invention further provides a computer readable storage medium storing computer executable instructions, which are implemented when the computer executable instructions are executed to implement the registration method of the passive optical network on the ONU side.
  • a program to instruct related hardware e.g., a processor
  • a computer readable storage medium such as a read only memory, disk or optical disk. Wait.
  • all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits.
  • each of the above embodiments The modules/units may be implemented in the form of hardware, for example by an integrated circuit to implement their respective functions, or in the form of software functional modules, for example by a processor executing a program/instruction stored in a memory to perform its respective functions.
  • Embodiments of the invention are not limited to any specific form of combination of hardware and software.
  • the embodiment of the present invention provides a method and a device for registering a passive optical network, which avoids the manner of performing the registration by opening an open window and transmitting the uplink data in a burst mode, and solving the registration mode in the related WDM PON system,
  • the ONU needs to transmit uplink data in burst mode during the registration process, resulting in reduced system bandwidth utilization and increased optical module and system cost issues.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)

Abstract

一种无源光网络的注册方法包括:光线路终端OLT接收光网络单元ONU通过预置波长对连续发送的注册信息,该注册信息为ONU进行随机延迟后向OLT连续发送的;该OLT根据接收到的注册信息执行注册处理。上述方案解决了相关WDM PON***中的注册方式,由于ONU需要在注册过程中采用突发模式传输上行数据,从而导致降低了***带宽的利用率,以及增加了光模块和***成本的问题。

Description

一种无源光网络的注册方法、装置和无源光网络*** 技术领域
本申请涉及但不限于无源光网络技术领域,尤指一种无源光网络的注册方法、装置和无源光网络***。
背景技术
光网络技术包括有源光网络(Active Optical Network,简称为:AON)和无源光网络(Passive Optical Network,简称为:PON)。PON接入方式的前期投资小,其传输距离比AON更短,覆盖范围较小,并且具有造价低和易于维护的特点,更加适用于为居家用户服务。
相关的PON***中,光网络单元(Optical Network Unit,简称为:ONU)与光线路终端(Optical Line Terminal,简称为:OLT)间的数据传输模式包括突发模式和连续模式,相比来说,连续模式比突发模式的带宽利用率更高,光模块的成本较低。波分复用无源光网络(Wavelength Division Multiplexing PON,简称为:WDM PON)***采用点到点(Point to Point,简称为:PtP)连接方式,即一个OLT分别连接多个ONU,每个ONU占用一对波长对,如图1所示,为相关的WDM PON***中的网络架构示意图。图1中的ONU与OLT完成通信连接后即可以与OLT进行单独通信,不同于在时分多址(Time Division Multiple Access,简称为:TDMA)PON***中的多个ONU共享一对波长对。但是,WDM PON***中ONU上电后的注册过程中,由于ONU选择波长对的不确定性,多个ONU上行方向的数据发送不会相互隔离,即在OLT侧可能产生冲突,因此,ONU上电后的注册过程需要选择或者抢占一对波长对与OLT建立通信连接,也就是说,ONU在注册过程中需要竞争上行波长,即ONU上行方向仍然需要采用突发模式。采用连续模式工作的WDM PON***,ONU需要在注册过程中采用突发模式传输上行数据,从而降低了***带宽的利用率,并且增加了光模块和***的成本。
综上所述,相关WDM PON***中的注册方式,由于ONU需要在注册过程中采用突发模式传输上行数据,从而导致降低了***带宽的利用率,以 及增加了光模块和***成本的问题。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供了一种无源光网络的注册方法、装置和无源光网络***,以解决相关WDM PON***中的注册方式,由于ONU需要在注册过程中采用突发模式传输上行数据,从而导致降低了***带宽的利用率,以及增加了光模块和***成本的问题。
第一方面,本发明实施例提供一种无源光网络的注册方法,包括:
光线路终端(OLT)接收光网络单元(ONU)通过预置波长对连续发送的注册信息,所述注册信息为所述ONU进行随机延迟后向所述OLT连续发送的;
所述OLT根据接收到的注册信息执行注册处理。
可选地,所述OLT根据接收到的注册信息执行注册处理,包括:
当所述OLT正确解析出所述第一ONU发送的注册信息时,将第一波长对分配给所述第一ONU;
当所述OLT未正确解析出每个所述ONU发送的注册信息时,确定不执行分配波长对的操作。
可选地,所述OLT分配给所述第一ONU的第一波长对为:所述第一ONU发送注册信息时使用的波长对,或者为所述OLT指定的其他波长对。
可选地,所述OLT接收ONU通过预置波长对连续发送的注册信息之前,上述方法还包括:
所述OLT向所述ONU发送注册指示消息,其中,所述注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的所述预置波长对;所述随机延迟阈值用于表示所述ONU向OLT连续发送注册信息时所进行的随机延迟的范围。
可选地,所述OLT向所述ONU发送注册指示消息之前,上述方法还包括:所述OLT根据所述注册信息的长度和预置的ONU数量,生成所述随机延迟阈值。
可选地,所述OLT接收到的注册信息包括第二ONU和第三ONU发送的注册信息,所述预置波长对包括第一波长对和第二波长对;所述OLT执行注册处理之后,上述方法还包括:
所述OLT向所述第二ONU和所述第三ONU发送注册反馈消息;
若所述OLT将所述第一波长对分配给所述第二ONU,则所述注册反馈消息中包括波长分配信息,所述波长分配信息用于指示所述第二ONU通过所述第一波长对与所述OLT建立通信连接,所述波长分配信息还用于指示所述第三ONU通过所述第二波长对重新向所述OLT连续发送注册信息;
若所述OLT确定不执行分配波长对的操作,则所述注册反馈消息用于指示所述第二ONU和所述第三ONU重新向所述OLT连续发送注册信息。
可选地,所述OLT确定不执行分配波长对的操作之后,且发送所述注册反馈消息之前,上述方法还包括:
所述OLT对所述预置的ONU数量进行调整,并根据所述注册信息的长度和调整后的ONU数量重新生成随机延迟阈值,所述OLT发送的注册反馈消息中还包括所述重新生成的随机延迟阈值。
第二方面,本发明实施例提供一种无源光网络的注册方法,包括:
ONU对待发送的注册信息进行随机延迟;
所述ONU在预置波长对中选择一对波长对向OLT连续发送注册信息。
可选地,所述ONU对待发送的注册信息进行随机延迟之前,上述方法还包括:所述ONU接收所述OLT发送的注册指示消息,所述注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的所述预置波长对;
所述ONU对待发送的注册信息进行随机延迟,包括:
所述ONU在所述随机延迟阈值所表示的范围内对所述注册信息进行随机延迟。
可选地,所述ONU在预置波长对中选择一对波长对向所述OLT连续发送注册信息之后,上述方法还包括:
所述ONU接收所述OLT发送的注册反馈消息,所述注册反馈消息中包括波长分配信息或重注册指示信息,其中,所述波长分配信息中包括所述OLT分配的第一波长对。
可选地,所述预置波长对包括所述第一波长对和第二波长对;若所述注册反馈消息中包括所述波长分配信息,则所述ONU接收所述OLT发送的注册反馈消息之后,上述方法还包括:
所述ONU通过所述第一波长对与所述OLT建立通信连接,其中,所述第一波长对为:本ONU发送所述注册信息时使用的所述一对波长对,或者为所述OLT指定的其他波长对;或者,
所述ONU根据所述波长分配信息通过所述第二波长对重新向所述OLT连续发送注册信息。
可选地,所述预置波长对包括所述第一波长对和第二波长对;若所述注册反馈消息中包括所述重注册指示信息,则所述ONU接收所述OLT发送的注册反馈消息之后,上述方法还包括:
所述ONU根据所述重注册指示信息选择所述第二波长对重新向所述OLT连续发送注册信息。
可选地,所述注册反馈消息中还包括所述OLT调整后的随机延迟阈值,所述方法还包括:
所述ONU根据所述调整后的随机延迟阈值进行随机延迟后,重新向所述OLT连续发送注册信息。
可选地,所述ONU进行随机延迟的时间大于或等于发送每个所述注册信息的时间;或者,所述ONU进行随机延迟的时间为发送每个所述注册信息所用时间的整数倍。
第三方面,本发明实施例提供一种无源光网络的注册方法,包括:
ONU对待发送的注册信息进行随机延迟;
所述ONU在预置波长对中选择一对波长对向OLT连续发送注册信息;
所述OLT根据接收到的注册信息执行注册处理。
可选地,所述OLT根据接收到的注册信息执行注册处理,包括:
当所述OLT正确解析出第一ONU发送的注册信息时,将第一波长对分配给所述第一ONU,所述第一波长对为所述第一ONU发送注册信息时使用的波长对,或者为所述OLT指定的其他波长对;
当所述OLT未正确解析出每个所述ONU发送的注册信息时,确定不执行分配波长对的操作。
可选地,所述ONU对待发送的注册信息进行随机延迟之前,上述方法还包括:所述OLT向所述ONU发送注册指示消息,其中,所述注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的所述预置波长对;
所述ONU对待发送的注册信息进行随机延迟,包括:
所述ONU在所述随机延迟阈值所表示的范围内对所述注册信息进行随机延迟。
可选地,所述OLT向所述ONU发送注册指示消息之前,上述方法还包括:所述OLT根据所述注册信息的长度和预置的ONU数量,生成所述随机延迟阈值。
可选地,所述OLT接收到的注册信息包括第二ONU和第三ONU发送的注册信息,所述预置波长对包括第一波长对和第二波长对;所述OLT执行注册处理之后,上述方法还包括:
所述OLT向所述第二ONU和所述第三ONU发送注册反馈消息,所述注册反馈消息中包括波长分配信息或重注册指示信息,其中,所述波长分配信息中包括所述OLT分配的第一波长对。
可选地,若所述OLT执行注册处理为将所述第一波长对分配给所述第二ONU,则所述注册反馈消息中包括所述波长分配信息;所述方法还包括:
所述第二ONU通过所述第一波长对与所述OLT建立通信连接,所述第三ONU通过所述第二波长对重新向所述OLT连续发送注册信息;
若所述OLT执行注册处理为确定不执行分配波长对的操作,则所述注册 反馈消息中包括所述重注册指示信息;所述方法还包括:
所述第二ONU和所述第三ONU根据所述注册反馈消息重新向所述OLT连续发送注册信息。
可选地,所述OLT确定不执行分配波长对的操作之后,且发送所述注册反馈消息之前,上述方法还包括:
所述OLT对所述预置的ONU数量进行调整,并根据所述注册信息的长度和调整后的ONU数量重新生成随机延迟阈值,所述OLT发送的注册反馈消息中还包括所述重新生成的随机延迟阈值;
所述ONU根据所述调整后的随机延迟阈值进行随机延迟后,重新向所述OLT连续发送注册信息。
可选地,所述ONU进行随机延迟的时间大于或等于发送每个所述注册信息的时间;或者,所述ONU进行随机延迟的时间为发送每个所述注册信息所用时间的整数倍。
第四方面,本发明实施例提供一种无源光网络的注册装置,设置于OLT中,所述无源光网络的注册装置包括:
接收模块,配置为能够接收ONU通过预置波长对连续发送的注册信息,其中,所述注册信息为所述ONU进行随机延迟后向所述OLT连续发送的;
与所述接收模块相连接的处理模块,配置为能够根据所述接收模块接收到的注册信息执行注册处理。
可选地,所述处理模块配置为在正确解析出所述接收模块接收的第一ONU发送的注册信息时,将第一波长对分配给所述第一ONU;还配置为在未正确解析出所述接收模块接收的每个所述ONU发送的注册信息时,确定不执行分配波长对的操作。
可选地,所述OLT分配给所述第一ONU的第一波长对为:所述第一ONU发送注册信息时使用的波长对,或者为所述OLT指定的其他波长对。
可选地,所述无源光网络的注册装置还包括:与所述接收模块相连接的发送模块,配置为能够在所述接收模块接收所述ONU通过预置波长对连续发送的注册信息之前,向所述ONU发送注册指示消息,其中,所述注册指 示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的所述预置波长对;所述随机延迟阈值用于表示所述ONU向OLT连续发送注册信息时所进行的随机延迟的范围。
可选地,所述无源光网络的注册装置还包括:
与所述发送模块相连接的生成模块,配置为能够在所述发送模块向所述ONU发送注册指示消息之前,根据所述注册信息的长度和预置的ONU数量,生成所述随机延迟阈值。
可选地,所述接收模块接收到的注册信息包括第二ONU和第三ONU发送的注册信息,所述预置波长对包括第一波长对和第二波长对;
所述发送模块,还配置为能够在所述处理模块执行注册处理之后,向所述第二ONU和所述第三ONU发送注册反馈消息;
其中,若所述处理模块将所述第一波长对分配给所述第二ONU,则所述注册反馈消息中包括波长分配信息,所述波长分配信息用于指示所述第二ONU通过所述第一波长对与所述OLT建立通信连接,所述波长分配信息还用于指示所述第三ONU通过所述第二波长对重新向所述OLT连续发送注册信息;
若所述处理模块确定不执行分配波长对的操作,则所述注册反馈消息用于指示所述第二ONU和所述第三ONU重新向所述OLT连续发送注册信息。
可选地,所述无源光网络的注册装置还包括:
分别与所述处理模块、所述发送模块和所述生成模块相连接的调整模块,配置为能够在所述处理模块确定不执行分配波长对的操作之后,且在所述发送模块发送所述注册反馈消息之前,对所述预置的ONU数量进行调整;
所述生成模块,还配置为能够根据所述注册信息的长度和所述调整模块调整后的ONU数量重新生成随机延迟阈值;并且所述发送模块发送的注册反馈消息中还包括所述重新生成的随机延迟阈值。
第五方面,本发明实施例提供一种无源光网络的注册装置,设置于ONU中,所述无源光网络的注册装置包括:
延迟模块,配置为能够对待发送的注册信息进行随机延迟;
与所述延迟模块相连接的发送模块,配置为能够在预置波长对中选择一对波长对向OLT连续发送注册信息。
可选地,所述无源光网络的注册装置还包括:与所述延迟模块相连接的接收模块,配置为能够在所述延迟模块对待发送的注册信息进行随机延迟之前,接收所述OLT发送的注册指示消息,其中,所述注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的所述预置波长对;
所述延迟模块配置为能够在所述接收模块接收到的随机延迟阈值所表示的范围内对所述注册信息进行随机延迟。
可选地,所述无源光网络的注册装置还包括:与所述发送模块相连接的接收模块,配置为能够在所述发送模块在所述预置的波长对中选择一对波长对向所述OLT连续发送注册信息之后,接收所述OLT发送的注册反馈消息,其中,所述注册反馈消息中包括波长分配信息或重注册指示信息,所述波长分配信息中包括所述OLT分配的第一波长对。
可选地,所述预置波长对包括所述第一波长对和第二波长对,所述无源光网络的注册装置还包括与所述接收模块相连接的通信模块;若所述注册反馈消息中包括所述波长分配信息,则所述通信模块,配置为能够在所述接收模块接收所述OLT发送的注册反馈消息之后,通过所述第一波长对与所述OLT建立通信连接,其中,所述第一波长对为:本ONU发送所述注册信息时使用的所述一对波长对,或者为所述OLT指定的其他波长对;或者,
所述发送模块,还配置为能够在所述接收模块接收所述OLT发送的注册反馈消息之后,根据所述接收模块接收的波长分配信息通过所述第二波长对重新向所述OLT连续发送注册信息。
可选地,所述预置波长对包括所述第一波长对和第二波长对;若所述注册反馈消息中包括所述重注册指示信息,则所述发送模块,还配置为能够在所述接收模块接收所述OLT发送的注册反馈消息之后,根据所述接收模块接收的重注册指示信息选择所述第二波长对重新发向所述OLT连续送注册信息。
可选地,所述接收模块接收的注册反馈消息中还包括所述OLT调整后的 随机延迟阈值,所述延迟模块还配置为能够根据所述接收模块接收到的调整后的随机延迟阈值进行随机延迟,所述发送模块还配置为在所述延迟模块进行随机延迟之后,重新向所述OLT连续发送注册信息。
可选地,所述延迟模块进行随机延迟的时间大于或等于所述发送模块发送每个所述注册信息的时间;或者,所述延迟模块进行随机延迟的时间为所述发送模块发送每个所述注册信息所用时间的整数倍。
第六方面,本发明实施例提供一种无源光网络***,包括:OLT和至少一个ONU,所述OLT分别和每个所述ONU相连接;
其中,所述OLT中设置有如上述第四方面中任一项所述的无源光网络的注册装置,每个所述ONU中设置有如上述第五方面中任一项所述的无源光网络的注册装置。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述OLT侧的无源光网络的注册方法。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述ONU侧的无源光网络的注册方法。
本发明实施例提供的无源光网络的注册方法、装置和无源光网络***,OLT通过接收注册状态的ONU通过预置波长对连续发送的注册信息,该注册信息为这些ONU进行随机延迟后向OLT连续发送的,从而OLT可以根据接收到的注册信息执行注册操作;本发明实施例通过OLT开放注册的方式,指示ONU采用预置波长对连续发送注册信息,避免了通过开放安静窗口的形式以及采用突发模式发送上行数据的方式执行注册,解决了相关WDM PON***中的注册方式,由于ONU需要在注册过程中采用突发模式传输上行数据,从而导致降低了***带宽的利用率,以及增加了光模块和***成本的问题。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。
图1为相关WDM PON***中的网络架构示意图;
图2为本发明实施例提供的一种无源光网络的注册方法的流程图;
图3为图2所示实施例提供的无源光网络的注册方法中一种应用场景示意图;
图4为本发明实施例提供的另一种无源光网络的注册方法的流程图;
图5为本发明实施例提供的又一种无源光网络的注册方法的流程图;
图6为本发明实施例提供的再一种无源光网络的注册方法的流程图;
图7为本发明实施例提供的还一种无源光网络的注册方法的流程图;
图8为本发明实施例提供的还一种无源光网络的注册方法的流程图;
图9为本申请实例一提供的一种无源光网络的注册方法的交互流程图;
图10为图9所示实施例提供的无源光网络的注册方法中一种应用场景示意图;
图11为本申请实例二提供的一种无源光网络的注册方法的交互流程图;
图12为图11所示实施例提供的无源光网络的注册方法中一种应用场景示意图;
图13为本发明实施例提供的一种无源光网络的注册装置的结构示意图;
图14为本发明实施例提供的另一种无源光网络的注册装置的结构示意图;
图15为本发明实施例提供的又一种无源光网络的注册装置的结构示意图;
图16为本发明实施例提供的再一种无源光网络的注册装置的结构示意图;
图17为本发明实施例提供的还一种无源光网络的注册装置的结构示意 图;
图18为本发明实施例提供的一种无源光网络***的结构示意图。
本发明的实施方式
下文中将结合附图对本发明实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机***中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
PON***通常包括WDM PON***和TDMA PON***,数据传输模式包括突发模式和连续模式。TDMA PON***例如为以太网无源光网络(Ethernet Passive Optical Network,简称为:EPON)***、吉比特无源光接入网络(Gigabit-Capable PON,简称为:GPON)***、10吉速率以太网无源光网络(10GEPON)***或10吉比特无源光网络(XG-PON1)***等。TDMA PON***中的多个ONU可以工作在同一对波长对中,其中,在注册过程中OLT需要开放安静窗口,在安静窗口内,工作状态的ONU停止发送上行数据,而注册状态的ONU在上行方向发送注册信息,通过上述方式避免注册状态的ONU和工作状态的ONU间的彼此干扰;另外,在TDMA PON***中,ONU在上行方向上根据OLT的带宽分配进行发送,有带宽分配时才发送上行数据,没有带宽分配时不发送上行数据,即ONU在上行方向采用突发模式进行发送。相对于突发模式,连续模式是指发送端一直在发送数据。
举例来说,在电气和电子工程师协会(Institute of Electrical and Electronics Engineers,简称为:IEEE)定义的EPON/10GEPON***中,上行和下行方向都采用突发模式;在国际电信联盟远程通信标准化组织(International Telecommunication Union Telecommunication Standardization Sector,简称为:ITU-T)定义的GPON/XG-PON1***中,下行方向采用连续模式,上行方向采用突发模式。
采用突发模式发送数据时,两次发送之间存在间隔,这段间隔不发送数 据或者发送特殊码型数据,并且为了接收方能够正确接收,通常需要在一次发送的数据头中携带前导部分和定界部分,因此突发模式的带宽效率较低。另一方面,为了尽量减少两次发送之间的间隔,对终端的光模块有一定的要求,即要求光模块的开或关尽量快,因此光模块的成本会较高。相对于突发模式,连续模式不存在上述间隔,即所有带宽或者时间都可以用于数据发送,具有较高的带宽效率,对光模块也不存在开或关的时间要求,即光模块的成本较低。
WDM PON***为基于由光分路器(Splitter)组成的光分配网络(Optical Distribution Network,简称为:ODN),在该***中,ODN由Splitter等无源器件组成,并且Splitter设置于OLT和ONU之间,使得每个ONU与OLT完成通信连接后即可以与OLT进行单独通信,即OLT为每个完成通信的ONU分配一对波长对。然而,上述背景技术中已经介绍,WDM PON***中的每个ONU占用一对波长对,并且采用连接模式传输数据,因此具有带宽利用率较高和光模块成本较低的优势,然而,在ONU的上电注册过程中需要竞争上行波长,即同样需要OLT开放安静窗口用于注册状态的ONU进行注册,此时,工作状态的ONU需要停止上行发送,从而降低了***带宽的利用率,并且ONU需要在注册过程中采用突发模式传输上行数据,该方式还增加了光模块和***的成本。因此,为WDM PON***的注册过程提供一种更高效的注册方式,以及降低光模块和***成本成为的要求成为目前亟需解决的问题。
下面通过实施例对本申请的技术方案进行详细说明,本申请以下实施例中的OLT和ONU均为WDM PON***中的终端,并且该***采用PtP连接方式,即一个OLT连接多个ONU。本申请提供以下几个实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例不再赘述。
图2为本发明实施例提供的一种无源光网络的注册方法的流程图。本实施例提供的无源光网络的注册方法适用于WDM PON***中的ONU进行注册的情况中,该方法可以由无源光网络的注册装置执行,该无源光网络的注册装置通过硬件和软件结合的方式来实现,该装置可以集成在OLT的处理器中,供处理器调用使用。如图2所示,本实施例的方法可以包括以下步骤:
步骤S110,OLT接收ONU通过预置波长对连续发送的注册信息,该注册信息为ONU进行随机延迟后向该OLT连续发送的。
本发明实施例提供的无源光网络的注册方法,为WDM PON***中的ONU向OLT进行注册的方式,本实施例中的OLT无需开放安静窗口,可以直接开放注册,另外,本实施例中的ONU是指WDM PON***中处于注册状态的ONU。本实施例中的OLT已经向注册状态的ONU开放注册,即这些ONU可以采用预置波长对发送注册信息,可选地,每个发送注册信息的ONU可以通过选择的方式选择一个波长对,并且ONU发送注册信息使用的波长对可以是OLT向其指示的波长对,ONU在选择一个波长对后,以一定的频率连续的向OLT发送注册信息,该注册信息例如为通过序列号(Serial Number,简称为:SN)消息或媒体接入控制(Media Access Control,简称为:MAC)消息发送的。
需要说明的是,由于在同一个波长对上需要注册的ONU可能不只一个,若多个ONU同时发送注册信息可能导致OLT无法正确解析,因此通过随机延迟阈值指示每个ONU在该随机延迟阈值的范围内进行随机延迟后发送注册信息,通常每个ONU进行随机延迟的时间是不同的,这样可以有效地避免由多个ONU同时发送注册信息产生的冲突。
本实施例在实现中,ONU进行随机延迟的时间大于或等于发送每个注册信息的时间,注册信息中通常具有固定的内容,即注册信息的长度与发送注册信息的时间通常也是固定的,例如,ONU进行随机延迟的时间可以为发送每个注册信息所用时间的整数倍,这样,可以进一步保证OLT更加有效地接收到其中一个ONU发送的完整注册信息,以便OLT可以正确地解析注册信息,从而实现ONU执行注册的高效性。如图3所示,图3为图2所示实施例提供的无源光网络的注册方法中一种应用场景示意图,图3中仅示出一个ONU,并且图3以ONU进行随机延迟的时间为其发送每个注册信息所用时间的2倍为例予以示出。
步骤S120,OLT根据接收到的注册信息执行注册处理。
在本实施例中,由于OLT可能会接收到多个ONU向其发送的注册信息,因此OLT接收到的注册信息可能是内容完整的注册信息,也可能是内容不完 整的注册信息,OLT接收注册信息的情况影响该OLT是否可以正确解析其中一个ONU发送的注册信息,即OLT是否可以正确解析注册信息与发送注册信息的每个ONU进行随机延迟的时间相关。因此,OLT的后续处理也与其接收到的注册信息的情况相关,即OLT根据其接收到的注册信息执行后续注册处理,该注册处理例如包括执行分配波长对的操作,或者确定不执行分配波长对的操作,或者指示ONU采用其它波长对重新发起注册。在实现中,若该OLT可以正确解析出某个ONU发送的注册信息,则为该ONU分配波长对;若OLT未正确解析出每个ONU发送的注册信息,则确定不执行分配波长对的操作。
与相关WDM PON中的注册方式相比,本实施例中的ONU在注册过程中,并不需要OLT为其开放安静窗口,即不需要工作状态的ONU在安静窗口内停止工作,即本实施例中注册状态的ONU在执行注册时不会对工作状态的ONU造成干扰,从而可以提高带宽的利用率;并且,注册状态的ONU通过OLT指示波长对连续发送注册信息,避免ONU在注册过程中使用突发模式发送上行数据,从而进一步地提高了带宽的利用率;另外,由于本实施例中无需采用突发模式,从而可以降低对光模块和***成本的要求。
本实施例提供的无源光网络的注册方法,OLT通过接收注册状态的ONU通过预置波长对连续发送的注册信息,该注册信息为这些ONU进行随机延迟后向OLT连续发送的,从而OLT可以根据接收到的注册信息执行注册操作;本实施例通过OLT开放注册的方式,指示ONU采用预置波长对连续发送注册信息,避免了通过开放安静窗口的形式以及采用突发模式发送上行数据的方式执行注册,解决了相关WDM PON***中的注册方式,由于ONU需要在注册过程中采用突发模式传输上行数据,从而导致降低了***带宽的利用率,以及增加了光模块和***成本的问题。
可选地,本实施例中通过OLT发送的随机延迟阈值指示ONU进行随机延迟后发送注册信息,可以有效提高ONU注册过程中的波长对竞争效率,从而保证ONU进行注册的高效性。
可选地,图4为本发明实施例提供的另一种无源光网络的注册方法的流程图。在上述图1所示实施例的基础上,本实施例提供的方法在步骤S110 之前还包括:
步骤S101,OLT向ONU发送注册指示消息,该注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的预置波长对。
在本实施例中,OLT通过向ONU发送的注册指示消息的方式,向注册状态的ONU指示该OLT已开放注册,并且OLT在开放注册时会指定将***中的部分波长对用于ONU进行注册,即注册指示消息中的预置波长对。另外,本实施例中的注册指示消息中还包括随机延迟阈值,该随机延迟阈值用于表示ONU向OLT连续发送注册信息时所进行的随机延迟的范围,可选地,ONU可以在随机延迟阈值所表示的范围内进行随机延迟后向OLT连续发送注册信息。
需要说明的是,本实施例中的OLT发送注册指示消息,可以是向WDM PON***中处于注册状态的所有ONU发送的,即是有可能向OLT进行注册的ONU都可以接收到该注册指示消息,但并非接收到该注册指示消息的ONU都会发起注册。
本实施例在实现中,向OLT发送注册信息的ONU例如包括第一ONU和其他ONU,OLT进行波长分配的方式,即步骤S120可以包括:
步骤S121,当OLT正确解析出第一ONU发送的注册信息时,将第一波长对分配给第一ONU。
在本实施例中,OLT分配给第一ONU的第一波长对,可以为该第一ONU发送注册信息时使用的波长对,还可以为OLT指定的其他波长对。举例来说,第一ONU采用第一波长对发送注册信息,OLT接收到第一ONU发送的注册信息的完整内容并正确解析时,将该第一ONU发送注册信息时使用的第一波长对分配该第一ONU进行后续通信;再举例来说,第一ONU采用第二波长对发送注册信息,OLT接收到第一ONU发送的注册信息的完整内容并正确解析时,指定为该第一ONU分配第一波长对,将第一ONU发送注册信息时使用的第二波长对用于其他ONU进行注册。
需要说明的是,本实施例的OLT分配波长对的上述任一方式中,OLT给第一ONU分配到了第一波长对后,会停止其他ONU在该第一波长对上进 行注册,即第一ONU通过该第一波长对于OLT建立通信连接后,成为工作状态的ONU,该第一ONU使用的第一波长对也不再用于注册,注册状态的ONU可以根据OLT指示的其他波长对进行注册。
步骤S122,当OLT未正确解析出每个ONU发送的注册信息时,确定不执行分配波长对的操作。
在本实施例中,多个ONU发送的注册信息可能在OLT侧产生冲突,其中,有可能是由于该多个ONU进行随机延迟的时间相同而造成的冲突,也有可能是OLT侧通知的随机延迟阈值的设置并不合理造成的。在该情况下,OLT确定不执行分配波长对的操作,后续可以通过改变注册方式重新指示ONU进行注册。
需要说明的是,本实施例中的步骤S121和步骤S122为选择性执行的,根据OLT接收到的注册信息的内容,执行其中之一。
可选地,图5为本发明实施例提供的又一种无源光网络的注册方法的流程图。在上述图4实施例的基础上,本实施例提供的方法在步骤S101之前,还可以包括:
步骤S100,OLT根据注册信息的长度和预置的ONU数量,生成随机延迟阈值。
本申请实施例中OLT发送的注册指示消息中的随机延迟阈值通常是OLT侧生成的,例如可以是根据经验值获取的,也可以是OLT根据注册信息的长度和预置的ONU数量计算得到的,上述已经说明注册信息的长度与其内容相关,通常为确定的,即OLT和ONU侧均已知注册信息的长度,预置的ONU数量即是预测的处于注册状态的ONU数量,其初始值可以是设计者设置的,也可以是根据历史值配置的。举例来说,随机延迟阈值可以是注册信息的长度与预置的ONU数量的乘积。
本实施例在实现中,若OLT接收到的注册信息包括第二ONU和第三ONU发送的注册信息,并且注册指示消息中的预置波长对包括第一波长对和第二波长对,本实施例提供的方法在步骤S120之后,还包括:
步骤S130,OLT向第二ONU和第三ONU发送注册反馈消息。
在本实施例中,若OLT执行分配波长对的操作,即本实施中的步骤S121为:OLT将第一波长对分配给第二ONU,其发送的注册反馈消息中包括波长分配信息,该波长分配信息用于指示第二ONU通过第一波长对与OLT建立通信连接,并且该波长分配信息还用于指示第三ONU通过第二波长对重新向OLT连续发送注册信息。另外,若OLT确定不执行分配波长对的操作,即OLT执行步骤S122时,其发送的注册反馈消息用于指示第二ONU和第三ONU重新向OLT连续发送注册信息,在该情况中,可以不限定第二ONU和第三ONU采用哪个波长对重新发送注册信息,可以采用第一波长对,也可以采用第二波长对。
需要说明的是,本实施例中的第三ONU可以指一个或多个ONU,即泛指向OLT发送了注册信息,但OLT没有成功解析的ONU,第二波长对也可以是一对或多对波长对,即泛指注册指示消息中包括的,且尚未分配给某个ONU的波长对。
可选地,由于本实施例中的随机延迟阈值可以是OLT根据注册信息的长度和预置的ONU数量生成的,并且注册信息的长度是相对确定的,而预置的ONU数量具有不确定性,也就是说,当前预置的ONU数量可能与实际情况并不符合,例如,当前预置的ONU数量为10个,然而,当前有50个ONU需要进行注册,即当前的随机延迟阈值并不能满足当前这50个ONU进行随机延迟的需求,很容易在OLT侧产生冲突,因此,本实施例提供的方法在步骤S120与步骤S130之间,还可以包括:
步骤S123,OLT对预置的ONU数量进行调整,并根据注册信息的长度和调整后的ONU数量重新生成随机延迟阈值。因此,本实施例的步骤S130中OLT发送的注册反馈消息中还可以包括重新生成的随机延迟阈值。另外,本实施例的注册反馈消息中还可以包括指示ONU改变发送方式的其他参数,例如指示改变ONU的发送频率等。
本实施例通过调整预置的ONU数量,来改变向ONU指示的随机延迟阈值,实现在OLT侧产生冲突时,通过改变ONU发送注册信息的方式重新发送注册信息,有利于提高ONU进行注册的成功率。
图6为本发明实施例提供的再一种无源光网络的注册方法的流程图。本 实施例提供的无源光网络的注册方法适用于WDM PON***中的ONU进行注册的情况中,该方法可以由无源光网络的注册装置执行,该无源光网络的注册装置通过硬件和软件结合的方式来实现,该装置可以集成在ONU的处理器中,供处理器调用使用。如图6所示,本实施例的方法可以包括以下步骤:
步骤S210,ONU对待发送的注册信息进行随机延迟。
本发明实施例提供的无源光网络的注册方法,为WDM PON***中的ONU向OLT进行注册的方式,本实施例中的OLT无需开放安静窗口,可以直接开放注册,另外,本实施例中的ONU是指WDM PON***中处于注册状态的ONU。本实施例中的ONU已知OLT向注册状态的ONU开放注册,此时,需要发送注册信息的ONU可以先对待发送的注册信息进行随机延迟,随后执行发送操作。
需要说明的是,本实施例中的ONU可以是一个或多个,只要是上述注册状态的ONU,且需要发送注册信息的ONU,都可以执行本实施例的操作。另外,本实施例中的ONU进行随机延迟的方式例如可以是按照默认信息进行随机延迟,也可以根据OLT的指示信息进行随机延迟。
步骤S220,ONU在预置波长对中选择一对波长对向OLT连续发送注册信息。
在本实施例中,ONU对待发送的注册信息进行随机延迟,随后可以采用注册指示消息中的指示的波长对发送注册信息,可选地,每个发送注册信息的ONU可以通过选择的方式在预置波长对中选择一个波长对,并且ONU发送注册信息使用的波长对可以是OLT向其指示的波长对,ONU在选择一个波长对后,以一定的频率连续的向OLT发送注册信息,该注册信息同样可以为通过SN消息或MAC消息发送的。
需要说明的是,由于在同一个波长对上需要注册的ONU可能不只一个,若多个ONU同时发送注册信息可能导致OLT侧无法正确解析,因此不同的ONU在该随机延迟阈值的范围内进行随机延迟后发送注册信息,通常每个ONU进行随机延迟的时间是不同的,这样可以有效地避免由多个ONU同时发送注册信息产生的冲突。
本实施例在实现中,ONU进行随机延迟的时间大于或等于发送每个注册信息的时间,由于注册信息的长度与发送注册信息的时间通常也是固定的,例如,ONU进行随机延迟的时间可以为发送每个注册信息所用时间的整数倍,这样,可以进一步保证OLT更加有效地接收到其中一个ONU发送的完整注册信息,以便OLT可以正确地解析注册信息,从而实现ONU执行注册的高效性。本实施例中ONU进行随机延迟和发送注册信息的情况同样可以参考图3所示的应用场景。
本实施例中,由于可能会有多个ONU向OLT发送注册信息,因此OLT接收到的注册信息可能是内容完整的注册信息,也可能是内容不完整的注册信息,OLT接收注册信息的情况影响该OLT是否可以正确解析其中一个ONU发送的注册信息,即OLT是否可以正确解析注册信息与发送注册信息的每个ONU进行随机延迟的时间相关。因此,OLT的后续处理也与其接收到的注册信息的情况相关,即OLT同样可以根据其接收到的注册信息执行后续注册处理,该注册处理例如包括执行分配波长对的操作,或者不执行分配波长对的操作,或者指示ONU采用其它波长对重新发起注册。与上述实例相同的,若OLT可以正确解析出某个ONU发送的注册信息,则为该ONU分配波长对;若OLT未正确解析出每个ONU发送的注册信息,则确定不执行分配波长对的操作。
与相关WDM PON中的注册方式相比,本实施例中的ONU在注册过程中,并不需要OLT为其开放安静窗口,即不需要工作状态的ONU在安静窗口内停止工作,即本实施例中注册状态的ONU在执行注册时不会对工作状态的ONU造成干扰,从而可以提高带宽的利用率;并且,本实施例中的ONU通过OLT指示波长对连续发送注册信息,避免ONU在注册过程中使用突发模式发送上行数据,从而进一步地提高了带宽的利用率;另外,由于本实施例中无需采用突发模式,从而可以降低对光模块和***成本的要求。
本实施例提供的无源光网络的注册方法,ONU通过对待发送的注册信息进行随机延迟,随后该ONU在预置波长对中选择其中一对波长对向OLT连续的发送注册信息,上述ONU发送注册信息的方式使得OLT可以根据接收到的注册信息执行注册操作;本实施例的ONU通过接收注册指示消息的方 式,采用指定的波长对连续发送注册信息,避免了通过开放安静窗口的形式以及采用突发模式发送上行数据的方式执行注册,解决了相关WDM PON***中的注册方式,由于ONU需要在注册过程中采用突发模式传输上行数据,从而导致降低了***带宽的利用率,以及增加了光模块和***成本的问题。
可选地,本实施例中ONU通过接收到的随机延迟阈值,在该随机延迟阈值的范围内进行随机延迟后发送注册信息,可以有效提高ONU注册过程中的波长对竞争效率,从而保证ONU进行注册的高效性。
可选地,图7为本发明实施例提供的还一种无源光网络的注册方法的流程图。在上述图6所示实施例的基础上,本实施例提供的方法在步骤S210之前还可以包括:
步骤S200,ONU接收OLT发送的注册指示消息,该注册指示消息中包含至少以下信息之一:随机延迟阈值,用于光网络***中每个ONU进行注册的预置波长对。
在本实施例中,ONU通过接收OLT发送的注册指示消息的方式,获知OLT已向注册状态的ONU开放注册,并且OLT在开放注册时会指定将***中的部分波长对用于ONU进行注册,即注册指示消息中的预置波长对。另外,本实施例中的注册指示消息中还包括随机延迟阈值,该随机延迟阈值可以为ONU在发送注册信息前进行随机延迟的时间标准。
相应的,本实施例中ONU对待发送的注册信息进行随机延迟的方式,即步骤S210可以为:ONU在随机延迟阈值所表示的范围内对注册信息进行随机延迟。
需要说明的是,本实施例中的OLT发送注册指示消息,可以是向WDM PON***中处于注册状态的所有ONU发送的,即是有可能向OLT进行注册的ONU都可以接收到该注册指示消息,但并非接收到该注册指示消息的ONU都会执行步骤S210和步骤S220。
可选地,本实施例中的预置波长对例如包括第一波长对和第二波长对,本实施例提供的方法在步骤S220之后还可以包括:
步骤S230,ONU接收OLT发送的注册反馈消息,该注册反馈消息中包 括波长分配信息或重注册指示信息,该波长分配信息中包括OLT分配的第一波长对。
本实施例中向OLT发送注册信息的ONU可能并不只一个,一方面,若OLT正确解析某个ONU发送的注册信息时,则注册反馈消息中包括波长分配信息,该波长分配信息中包括OLT分配的第一波长对,由于OLT接收到并可以正确解析的注册信息可能是本实施例中的ONU发送的,也可能是其它ONU发送的,即波长分配信息可以指示向本实施例中的ONU分配第一波长对,也可以指示向其它ONU分配第一波长对;另一方面,OLT并未正确解析每个ONU发送的注册信息,则注册反馈消息中包括重注册指示信息。
在本实施例的一种应用场景中,注册反馈消息中包括波长分配信息,在该应用场景的一种可能的实现方式中,步骤S230之后,本实施例提供的方法可以包括:
步骤S240,ONU通过第一波长对与OLT建立通信连接。
在本实施例中的ONU为OLT分配波长对的ONU,并且波长分配信息中指示的第一波长对,可以为本ONU发送注册信息时使用的一对波长对,也可以为OLT指定的其他波长对。应用场景在上述实施例中已经说明,故在此不再赘述。
在上述应用场景的一种可能的实现方式中,OLT将为其它ONU分配了上述第一波长对,即在步骤S230之后,本实施例的方法还可以包括:
步骤S241,ONU根据波长分配信息通过第二波长对重新向OLT连续发送注册信息。
本实施例中的OLT虽然分配了第一波长对,但分配的对象是其它发送注册信息的ONU,因此,本实施例的ONU在接收到注册反馈消息后,可以根据波长分配信息采用未分配的波长对,即第二波长对重新发送注册信息。本实施例中ONU重新向OLT连续发送注册信息的方式,与前述发送注册信息的方式相同,同样需要在进行随机延迟后连续发送。
需要说明的是,无论波长分配信息中指示向哪个ONU分配了第一波长对,都会停止未分配到波长对的ONU在该第一波长对上进行注册,即任一 ONU通过该第一波长对于OLT建立通信连接后,成为工作状态的ONU,该工作状态的ONU使用的第一波长对也不再用于注册,注册状态的ONU可以根据OLT指示的其他波长对进行注册。另外,本实施例中的第二波长对可以是一对或多对波长对,即泛指注册指示消息中包括的,且尚未分配给某个ONU的波长对。
在本实施例的另一种应用场景中,注册反馈消息中包括重注册指示信息,相应地,在步骤S230之后,本实施例的方法还可以包括:
步骤S250,ONU根据重注册指示信息选择第二波长对重新向OLT连续发送注册信息。
在本实施例中,多个ONU发送的注册信息可能在OLT侧产生冲突,其中,同样有可能是由于该多个ONU进行随机延迟的时间相同而造成的冲突,也有可能是OLT侧通知的随机延迟阈值的设置并不合理造成的。在该情况下,OLT暂时不执行分配波长对的操作,后续可以通过改变注册方式重新指示ONU进行注册。另外,本实施例中ONU重新向OLT连续发送注册信息的方式,同样与前述发送注册信息的方式相同,同样需要在进行随机延迟后连续发送。
需要说明的是,本实施例中的步骤S240、步骤S241和步骤S250为选择性执行的,根据ONU接收到的注册反馈消息的内容,执行其中之一。
可选地,图8为本发明实施例提供的还一种无源光网络的注册方法的流程图。本实施例中的随机延迟阈值同样可以是OLT根据注册信息的长度和预置的ONU数量生成的,相应地,OLT在接收注册信息产生冲突时,同样可以通过调整预置的ONU数量来调整随机延迟阈值,即本实施例中ONU接收的注册反馈消息中包括重注册指示信息和OLT调整后的随机延迟阈值,因此本实施例提供的方法在步骤S230之后还包括:
步骤S260,ONU根据调整后的随机延迟阈值进行随机延迟后,重新向OLT连续发送注册信息。类似地,ONU重新向OLT连续发送注册信息的方式,与前述发送注册信息的方式相同,同样需要在进行随机延迟后连续发送。另外,本实施例的注册反馈消息中还可以包括指示ONU改变发送方式的其他参数,例如指示改变ONU的发送频率等。
本实施例通过在ONU接收的注册反馈消息中携带调整后的随机延迟阈值,实现在OLT侧产生冲突时,通过改变ONU发送注册信息的方式重新发送注册信息,有利于提高ONU进行注册的成功率。
以下通过一些实例详细说明本申请实施例提供的数据传输方法的应用场景和应用方式。
实例一
图9为本申请实例一提供的一种无源光网络的注册方法的交互流程图。本实施例的应用场景例如为:WDM PON***中注册状态的ONU包括ONU1和ONU2,图9所示实施例提供的方法包括以下步骤:
步骤S310,ONU1和ONU2分别对待发送的注册信息进行随机延迟。
步骤S320,ONU1和ONU2分别在预置波长对中选择一对波长对向OLT连续发送注册信息。本实施例中的注册信息同样可以为通过SN消息或MAC消息发送的。
步骤S330,OLT根据接收到的注册信息执行注册处理。
在本实施例中,OLT执行注册处理的方式与上述实施例相同,若该OLT正确解析出ONU1发送的注册信息时,则将第一波长对分配给ONU1;若OLT未正确解析出ONU1和ONU2发送的注册信息时,则确定不执行分配波长对的操作。
如图10所示,为图9所示实施例提供的无源光网络的注册方法中一种应用场景示意图。图10中的ONU1进行随机延迟的时间较少,例如为发送一次注册信息所需的时间,ONU2进行随机延迟的时间较长,例如为大于发送两侧注册信息所需的时间,即ONU1与ONU2发送的注册信息在OLT侧未产生冲突,OLT可以接收并正确解析ONU1发送的注册信息,因此,OLT可以向ONU1分配波长对,即本实施例中步骤S330为:将第一波长对分配给ONU1。类似地,本实施例中的第一波长对,可以为ONU1发送注册信息时使用的波长对,还可以为OLT为ONU1指定的其它波长对。
步骤S340,OLT向ONU1和ONU2发送注册反馈消息。
本实施例中的注册反馈消息可以包括波长分配信息,该波长分配信息指 示ONU1注册成功,ONU2注册失败。
步骤S350,ONU1通过第一波长对与OLT建立通信连接。
另外,本实施例中的ONU2后续可通过第二波长对继续发送注册信息,或者可以根据OLT的指示暂时停止发送注册信息。
可选地,图9所示实施例在步骤S310之前,还可以包括:
步骤S300,OLT根据注册信息的长度和预置的ONU数量,生成随机延迟阈值。
步骤S301,OLT向ONU1和ONU2发送注册指示消息。本实施例的注册指示消息中同样包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的预置波长对。
本实施例的OLT通知ONU1和ONU2的预置波长对可以用于注册,例如OLT指示第一波长对和第二波长对用于注册,并指示随机延迟阈值的范围,从而开放注册。
本实施例在实现中,步骤S310可以为:ONU1和ONU2分别在随机延迟阈值所表示的范围内对待发送的注册信息进行随机延迟。
实例二
图11为本申请实例二提供的一种无源光网络的注册方法的交互流程图。本实施例的应用场景例如为:WDM PON***中注册状态的ONU同样包括ONU1和ONU2,图11所示实施例提供的方法包括:
步骤S410,OLT根据注册信息的长度和预置的ONU数量,生成随机延迟阈值。
步骤S420,OLT向ONU1和ONU2发送注册指示消息。本实施例的注册指示消息中同样包括以下信息中至少一项:随机延迟阈值,用于光网络***中每个ONU进行注册的预置波长对。
本实施例的OLT通知ONU1和ONU2一对或多对波长对可以用于注册,例如OLT指示第一波长对和第二波长对用于注册,并指示随机延迟阈值的范围,从而开放注册。
步骤S430,ONU1和ONU2分别在随机延迟阈值所表示的范围内进行随机延迟。
步骤S440,ONU1和ONU2分别选择一对波长对向OLT连续发送注册信息。本实施例中的注册信息同样可以为通过SN消息或MAC消息发送的。
步骤S450,OLT根据接收到的注册信息确定不执行分配波长对的操作。
如图12所示,为图11所示实施例提供的无源光网络的注册方法中一种应用场景示意图。图12中的ONU1进行随机延迟的时间与ONU2进行随机延迟的时间相差较小,即OLT未接收到ONU1发送的完整注册信息时,ONU2已经开始发送注册信息,在OLT侧的注册信息产生冲突,因此,OLT不能正确解析出每个ONU发送的注册信息,则该OLT不能为任一个ONU分配波长对。
步骤S460,OLT向ONU1和ONU2发送注册反馈消息。
本实施例中的注册反馈消息可以包括重注册指示信息,该重注册指示信息指示ONU1和ONU2均注册失败。
可选地,本实施例中的ONU1和ONU2注册失败后,还可以执行:
步骤S470,ONU1和ONU2切换波长对后重新向OLT连续发送注册信息。
需要说明的是,本实施例中ONU重新向OLT连续发送注册信息的方式,与前述发送注册信息的方式相同,同样需要在进行随机延迟后连续发送。即步骤S470的执行步骤可以参考上述步骤S430和步骤S440。
可选地,本实施例中的OLT在执行S450之后,还可以执行:
步骤S451,OLT对随机延迟阈值进行调整。
本实施例中的OLT在接收注册信息产生冲突时,同样可以通过调整预置的ONU数量来调整随机延迟阈值。相应地,本实施例的步骤S460中OLT发送的注册反馈消息中还可以包括调整后的随机延迟阈值。
相应地,ONU1和ONU2在接收到该注册反馈消息后,还可以执行:
步骤S480,ONU1和ONU2根据调整后的随机延迟阈值进行随机延迟后, 重新向OLT连续发送注册信息。
需要说明的是,本实施例中ONU重新发送注册信息的方式,与前述发送注册信息的方式相同,同样需要在进行随机延迟后连续发送。即步骤S480的执行步骤可以参考上述步骤S430和步骤S440。
图13为本发明实施例提供的一种无源光网络的注册装置的结构示意图。本实施例提供的无源光网络的注册装置适用于WDM PON***中的ONU进行注册的情况中,该无源光网络的注册装置通过硬件和软件结合的方式来实现,该装置可以集成在OLT的处理器中,供处理器调用使用。如图13所示,本实施例的无源光网络的注册装置包括:接收模块11和处理模块12。
其中,接收模块11,配置为能够接收ONU通过预置波长对连续发送的注册信息,其中,该注册信息为ONU进行随机延迟后向OLT连续发送的。
本发明实施例提供的无源光网络的注册装置,为WDM PON***中的ONU向OLT进行注册所提供的装置,本实施例中的OLT无需开放安静窗口,可以直接开放注册,另外,本实施例中的ONU是指WDM PON***中处于注册状态的ONU。本实施例中的OLT已经向注册状态的ONU开放注册,即这些ONU可以采用预置波长对发送注册信息,可选地,每个发送注册信息的ONU可以通过选择的方式选择一个波长对,并且ONU发送注册信息使用的波长对可以是OLT向其指示的波长对,ONU在选择一个波长对后,以一定的频率连续的向OLT发送注册信息,该注册信息例如为通过SN消息或MAC消息发送的。
需要说明的是,由于在同一个波长对上需要注册的ONU可能不只一个,若多个ONU同时发送注册信息可能导致OLT无法正确解析,因此通过随机延迟阈值指示每个ONU在该随机延迟阈值的范围内进行随机延迟后发送注册信息,通常每个ONU进行随机延迟的时间是不同的,这样可以有效地避免由多个ONU同时发送注册信息产生的冲突。
本实施例在实现中,ONU进行随机延迟的时间同样大于或等于发送每个注册信息的时间,例如,ONU进行随机延迟的时间可以为发送每个注册信息所用时间的整数倍。本实施例中ONU进行随机延迟和发送注册信息的方式同样可以参考图3所示应用场景。
与接收模块11相连接的处理模块12,配置为能够根据接收模块11接收到的注册信息执行注册处理。
在本实施例中,由于接收模块11可能会接收到多个ONU向本OLT发送的注册信息,因此接收模块11接收到的注册信息可能是内容完整的注册信息,也可能是内容不完整的注册信息,接收模块11接收注册信息的情况影响处理模块12是否可以正确解析其中一个ONU发送的注册信息,即处理模块12是否可以正确解析注册信息与发送注册信息的每个ONU进行随机延迟的时间相关。因此,OLT的后续处理也与其接收到的注册信息的情况相关,即OLT根据其接收到的注册信息执行后续注册处理,该注册处理例如包括执行分配波长对的操作,或者确定不执行分配波长对的操作,或者指示ONU采用其它波长对重新发起注册。在实现中,若处理模块12可以正确解析出某个ONU发送的注册信息,则为该ONU分配波长对;若处理模块12未正确解析出每个ONU发送的注册信息,则确定不执行分配波长对的操作。
本发明实施例提供的无源光网络的注册装置用于执行图2所示实施例提供的无源光网络的注册方法,具备相应的功能模块,其实现原理和技术效果类似,此处不再赘述。
可选地,图14为本发明实施例提供的另一种无源光网络的注册装置的结构示意图。在上述图13所示实施例的基础上,本实施例中的无源光网络的注册装置还包括:与接收模块11相连接的发送模块13,配置为能够在接收模块11接收ONU通过预置波长对连续发送的注册信息之前,向ONU发送注册指示消息,该注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的预置波长对。
在本实施例中,发送模块13通过向ONU发送的注册指示消息的方式,向注册状态的ONU指示本OLT已开放注册,并且OLT在开放注册时会指定将***中的部分波长对用于ONU进行注册,即注册指示消息中的预置波长对。另外,本实施例中的注册指示消息中还包括随机延迟阈值,该随机延迟阈值用于表示ONU向OLT连续发送注册信息时所进行的随机延迟的范围,可选地,ONU可以在随机延迟阈值所表示的范围内进行随机延迟后向OLT连续发送注册信息。
需要说明的是,本实施例中的发送模块13发送注册指示消息,可以是向WDM PON***中处于注册状态的所有ONU发送的,即是有可能向OLT进行注册的ONU都可以接收到该注册指示消息,但并非接收到该注册指示消息的ONU都会发起注册。
上述图13所示实例在实现中,向OLT发送注册信息的ONU例如包括第一ONU和其他ONU,处理模块12执行注册处理的方式为:一方面,配置为在正确解析出接收模块11接收的第一ONU发送的注册信息时,将第一波长对分配给第一ONU。本实施例中处理模块12分配给第一ONU的第一波长对,可以为该第一ONU发送注册信息时使用的波长对,还可以为OLT指定的其他波长对。处理模块12分配上述第一波长对的方式上述实施例中已经说明,故在此不再赘述。需要说明的是,本实施例的处理模块12分配波长对的上述任一方式中,处理模块12给第一ONU分配到了第一波长对后,会停止其他ONU在该第一波长对上进行注册,即第一ONU通过该第一波长对于OLT建立通信连接后,成为工作状态的ONU,该第一ONU使用的第一波长对也不再用于注册,注册状态的ONU可以根据OLT指示的其他波长对进行注册。
另一方面,还配置为在未正确解析出接收模块11接收的每个ONU发送的注册信息时,确定不执行分配波长对的操作。本实施例中多个ONU发送的注册信息可能在OLT侧产生冲突,在该情况下,处理模块12确定不执行分配波长对的操作,后续可以通过改变注册方式重新指示ONU进行注册。
本发明实施例提供的无源光网络的注册装置用于执行图4所示实施例提供的无源光网络的注册方法,具备相应的功能模块,其实现原理和技术效果类似,此处不再赘述。
可选地,图15为本发明实施例提供的又一种无源光网络的注册装置的结构示意图。在上述图14所示实施例的基础上,本实施例中的无源光网络的注册装置还包括:与发送模块13相连接的生成模块14,配置为能够在发送模块13向ONU发送注册指示消息之前,根据注册信息的长度和预置的ONU数量,生成随机延迟阈值。
本申请实施例中发送模块13发送的注册指示消息中的随机延迟阈值通 常是OLT侧生成的,例如可以是根据经验值获取的,也可以是生成模块14根据注册信息的长度和预置的ONU数量计算得到的,例如,该随机延迟阈值可以是注册信息的长度与预置的ONU数量的乘积。
本实施例在实现中,若接收模块11接收到的注册信息包括第二ONU和第三ONU发送的注册信息,并且注册指示消息中的预置波长对包括第一波长对和第二波长对,本实施例中的发送模块13,还配置为能够在处理模块12执行注册处理之后,向第二ONU和第三ONU发送注册反馈消息。可选地,若处理模块12将第一波长对分配给第二ONU,则该注册反馈消息中包括波长分配信息,波长分配信息用于指示第二ONU通过第一波长对与OLT建立通信连接,波长分配信息还用于指示第三ONU通过第二波长对重新向OLT连续发送注册信息;若处理模块12确定不执行分配波长对的操作,该注册反馈消息用于指示第二ONU和第三ONU重新向OLT连续发送注册信息,在该情况中,可以不限定第二ONU和第三ONU采用哪个波长对重新发送注册信息,可以采用第一波长对,也可以采用第二波长对。
需要说明的是,本实施例中的第三ONU可以指一个或多个ONU,即泛指向OLT发送了注册信息,但OLT没有成功解析的ONU,第二波长对也可以是一对或多对波长对,即泛指注册指示消息中包括的,且尚未分配给某个ONU的波长对。
可选地,由于本实施例中的随机延迟阈值可以是OLT根据注册信息的长度和预置的ONU数量生成的,并且预置的ONU数量具有不确定性,因此,本实施例提供的无源光网络的注册装置还可以包括:分别与处理模块12、发送模块13和生成模块14相连接的调整模块15,配置为能够在处理模块12确定不执行分配波长对的操作之后,且在发送模块13发送注册反馈消息之前,对预置的ONU数量进行调整;相应地,生成模块14,还配置为能够根据注册信息的长度和调整模块15调整后的ONU数量重新生成随机延迟阈值,并且发送模块13发送的注册反馈消息中还包括重新生成的随机延迟阈值。另外,本实施例的注册反馈消息中还可以包括指示ONU改变发送方式的其他参数,例如指示改变ONU的发送频率等。
本发明实施例提供的无源光网络的注册装置用于执行图5所示实施例提 供的无源光网络的注册方法,具备相应的功能模块,其实现原理和技术效果类似,此处不再赘述。
在实现中,图13到图15所示实施例中的发送模块13和接收模块11可以通过OLT的收发器来实现,处理模块12、生成模块14和调整模块15可以通过OLT的处理器来实现,该处理器例如可以是一个中央处理器(Central Processing Unit,简称为:CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为:ASIC),或者是完成实施本发明实施例的一个或多个集成电路。
图16为本发明实施例提供的再一种无源光网络的注册装置的结构示意图。本实施例提供的无源光网络的注册装置适用于WDM PON***中的ONU进行注册的情况中,该无源光网络的注册装置通过硬件和软件结合的方式来实现,该装置可以集成在ONU的处理器中,供处理器调用使用。如图16所示,本实施例的无源光网络的注册装置包括:延迟模块21和发送模块22。
其中,延迟模块21,配置为能够对待发送的注册信息进行随机延迟。
本发明实施例提供的无源光网络的注册装置,为WDM PON***中的ONU向OLT进行注册所提供的装置,本实施例中的OLT无需开放安静窗口,可以直接开放注册,另外,本实施例中的ONU是指WDM PON***中处于注册状态的ONU。本实施例中的ONU已知OLT向注册状态的ONU开放注册,此时,需要发送注册信息的ONU中的延迟模块21可以先对待发送的注册信息进行随机延迟,随后执行发送操作。
需要说明的是,本实施例中的ONU可以是一个或多个,只要是上述注册状态的ONU,且需要发送注册信息的ONU,都可以执行本实施例的操作。另外,本实施例中的延迟模块21进行随机延迟的方式例如可以是按照默认信息进行随机延迟,也可以根据OLT的指示信息进行随机延迟。
与延迟模块21相连接的发送模块22,配置为能够在预置波长对中选择一对波长对向OLT连续发送注册信息。
在本实施例中,ONU对待发送的注册信息进行随机延迟,随后可以由发送模块22采用注册指示消息中的指示的波长对发送注册信息,可选地,每个发送注册信息的ONU可以通过选择的方式在预置波长对中选择一个波长对, 并且发送模块22发送注册信息使用的波长对可以是OLT向其指示的波长对,ONU在选择一个波长对后,以一定的频率连续的向OLT发送注册信息,该注册信息同样可以为通过SN消息或MAC消息发送的。
需要说明的是,由于在同一个波长对上需要注册的ONU可能不只一个,若多个ONU同时发送注册信息可能导致OLT侧无法正确解析,因此不同的ONU在该随机延迟阈值的范围内进行随机延迟后发送注册信息,通常每个ONU进行随机延迟的时间是不同的,这样可以有效地避免由多个ONU同时发送注册信息产生的冲突。
本实施例在实现中,延迟模块21进行随机延迟的时间同样大于或等于发送每个注册信息的时间,例如,延迟模块21进行随机延迟的时间可以为发送每个注册信息所用时间的整数倍。本实施例中延迟模块21进行随机延迟和发送模块22发送注册信息的方式同样可以参考图3所示的应用场景。
本实施例中,由于可能会有多个ONU向OLT发送注册信息,因此OLT接收到的注册信息可能是内容完整的注册信息,也可能是内容不完整的注册信息,OLT接收注册信息的情况影响该OLT是否可以正确解析其中一个ONU发送的注册信息,即OLT是否可以正确解析注册信息与发送注册信息的每个ONU进行随机延迟的时间相关。因此,OLT的后续处理也与其接收到的注册信息的情况相关,即OLT同样可以根据其接收到的注册信息执行后续注册处理,该注册处理例如包括执行分配波长对的操作,或者不执行分配波长对的操作,或者指示ONU采用其它波长对重新发起注册。与上述实例相同的,若OLT可以正确解析出某个ONU发送的注册信息,则为该ONU分配波长对;若OLT未正确解析出每个ONU发送的注册信息,则确定不执行分配波长对的操作。
本发明实施例提供的无源光网络的注册装置用于执行图6所示实施例提供的无源光网络的注册方法,具备相应的功能模块,其实现原理和技术效果类似,此处不再赘述。
可选地,图17为本发明实施例提供的还一种无源光网络的注册装置的结构示意图。在上述图16所示装置的结构基础上,本实施例提供的装置还包括:与延迟模块21相连接的接收模块23,配置为能够在延迟模块21对待发送的 注册信息进行随机延迟之前,接收OLT发送的注册指示消息,注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的预置波长对。
相应地,本实施例中的延迟模块21对待发送的注册信息进行随机延迟的方式可以为:配置为能够在接收模块23接收到的随机延迟阈值所表示的范围内对注册信息进行随机延迟。
需要说明的是,本实施例中的OLT发送注册指示消息,可以是向WDM PON***中处于注册状态的所有ONU发送的,即是有可能向OLT进行注册的ONU都可以接收到该注册指示消息,但并非接收到该注册指示消息的ONU都会发起注册。
可选地,本实施例中的预置波长对例如包括第一波长对和第二波长对,上述图17所示实施例在实现中,接收模块23还与发送模块22相连接,该接收模块23还配置为能够在发送模块22在预置的波长对中选择一对波长对向OLT连续发送注册信息之后,接收OLT发送的注册反馈消息,其中,注册反馈消息中包括波长分配信息或重注册指示信息,波长分配信息中包括OLT分配的第一波长对。
本实施例中向OLT发送注册信息的ONU可能并不只一个,一方面,若OLT正确解析某个ONU发送的注册信息时,则注册反馈消息中包括波长分配信息,该波长分配信息中包括OLT分配的第一波长对,由于OLT接收到并可以正确解析的注册信息可能是本实施例中的ONU发送的,也可能是其它ONU发送的,即波长分配信息可以指示向本实施例中的ONU分配第一波长对,也可以指示向其它ONU分配第一波长对;另一方面,OLT并未正确解析每个ONU发送的注册信息,则注册反馈消息中包括重注册指示信息。
在本实施例的一种应用场景中,注册反馈消息中包括波长分配信息,在该应用场景的一种可能的实现方式中,无源光网络的注册装置还包括:与接收模块23相连接的通信模块24,该通信模块24配置为能够在接收模块23接收OLT发送的注册反馈消息之后,通过第一波长对与OLT建立通信连接,其中,第一波长对,可以为本ONU发送注册信息时使用的一对波长对,或者为OLT指定的其他波长对。
在上述应用场景的一种可能的实现方式中,OLT将为其它ONU分配了上述第一波长对,本实施例中的发送模块22,还配置为能够在接收模块23接收OLT发送的注册反馈消息之后,根据接收模块23接收的波长分配信息通过第二波长对重新向OLT连续发送注册信息。本实施例中发送模块22重新发送注册信息的方式,与前述发送注册信息的方式相同,同样需要延迟模块21进行随机延迟后,发送模块22进行连续发送。
需要说明的是,无论波长分配信息中指示向哪个ONU分配了第一波长对,都会停止未分配到波长对的ONU在该第一波长对上进行注册,即任一ONU通过该第一波长对于OLT建立通信连接后,成为工作状态的ONU,该工作状态的ONU使用的第一波长对也不再用于注册,注册状态的ONU可以根据OLT指示的其他波长对进行注册。另外,本实施例中的第二波长对可以是一对或多对波长对,即泛指注册指示消息中包括的、且尚未分配给某个ONU的波长对。
在本实施例的另一种应用场景中,注册反馈消息中包括重注册指示信息,相应地,本实施例中的发送模块22,还配置为能够在接收模块23接收OLT发送的注册反馈消息之后,根据接收模块23接收的重注册指示信息选择第二波长对重新向OLT连续发送注册信息。另外,本实施例中发送模块22重新发送注册信息的方式,与前述发送注册信息的方式相同,同样需要延迟模块21进行随机延迟后,发送模块22进行连续发送。
本发明实施例提供的无源光网络的注册装置用于执行图7所示实施例提供的无源光网络的注册方法,具备相应的功能模块,其实现原理和技术效果类似,此处不再赘述。
可选地,本实施例中的随机延迟阈值同样可以是OLT根据注册信息的长度和预置的ONU数量生成的,相应地,OLT在接收注册信息产生冲突时,同样可以通过调整预置的ONU数量来调整随机延迟阈值,即本实施例中的接收模块23接收的注册反馈消息中还包括OLT调整后的随机延迟阈值,相应地,延迟模块21还配置为能够根据接收模块23接收到的调整后的随机延迟阈值进行随机延迟,发送模块22还配置为在延迟模块21进行随机延迟后,重新向OLT连续发送注册信息。另外,本实施例的注册反馈消息中还可以包 括指示ONU改变发送方式的其他参数,例如指示改变ONU的发送频率等。
本发明实施例提供的无源光网络的注册装置用于执行图8所示实施例提供的无源光网络的注册方法,具备相应的功能模块,其实现原理和技术效果类似,此处不再赘述。
在实现中,图16和图17所示实施例中的接收模块23和发送模块22可以通过ONU的收发器来实现,延迟模块21和通信模块24可以通过ONU的处理器来实现,该处理器例如可以是一个CPU,或者是ASIC,或者是完成实施本发明实施例的一个或多个集成电路。
图18为本发明实施例提供的一种无源光网络***的结构示意图。本实施例提供的无源光网络的注册***适用于WDM PON***中的ONU进行注册的情况中,该无源光网络***包括:OLT31和至少一个ONU32,该OLT31分别和每个ONU32相连接;其中,OLT31中设置有如上述图13到图15所示各实施例中的无源光网络的注册装置,每个ONU32中设置有如上述图16和图17所示实施例中的无源光网络的注册装置,图17所示无源光网络***以包括3个ONU32为例予以示出。本实施例的无源光网络***中的各网元用于在WDM PON***中进行注册,与上述图13到图17所示实施例中对应网元在WDM PON***中进行注册的方式相同,同样用于执行图1到图12所示任一实施例提供的无源光网络的注册方法,具备相应的实体装置,其实现原理和技术效果类似,此处不再赘述。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述OLT侧的无源光网络的注册方法。
本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现上述ONU侧的无源光网络的注册方法。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可以通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各 模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和软件的结合。
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。
工业实用性
本申请实施例提供一种无源光网络的注册方法及装置,避免了通过开放安静窗口的形式以及采用突发模式发送上行数据的方式执行注册,解决了相关WDM PON***中的注册方式,由于ONU需要在注册过程中采用突发模式传输上行数据,从而导致降低了***带宽的利用率,以及增加了光模块和***成本的问题。

Claims (37)

  1. 一种无源光网络的注册方法,包括:
    光线路终端OLT接收光网络单元ONU通过预置波长对连续发送的注册信息,所述注册信息为所述ONU进行随机延迟后向所述OLT连续发送的;
    所述OLT根据接收到的注册信息执行注册处理。
  2. 根据权利要求1所述的无源光网络的注册方法,其中,所述OLT根据接收到的注册信息执行注册处理,包括:
    当所述OLT正确解析出第一ONU发送的注册信息时,将第一波长对分配给所述第一ONU;
    当所述OLT未正确解析出每个所述ONU发送的注册信息时,确定不执行分配波长对的操作。
  3. 根据权利要求2所述的无源光网络的注册方法,其中,所述OLT分配给所述第一ONU的第一波长对为:所述第一ONU发送注册信息时使用的波长对,或者为所述OLT指定的其他波长对。
  4. 根据权利要求1所述的无源光网络的注册方法,所述OLT接收ONU通过预置波长对连续发送的注册信息之前,所述无源光网络的注册方法还包括:
    所述OLT向所述ONU发送注册指示消息,所述注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的所述预置波长对;
    其中,所述随机延迟阈值用于表示所述ONU向OLT连续发送注册信息时所进行的随机延迟的范围。
  5. 根据权利要求4所述的无源光网络的注册方法,所述OLT向所述ONU发送注册指示消息之前,所述无源光网络的注册方法还包括:
    所述OLT根据所述注册信息的长度和预置的ONU数量,生成所述随机延迟阈值。
  6. 根据权利要求1至5中任一项所述的无源光网络的注册方法,其中, 所述OLT接收到的注册信息包括第二ONU和第三ONU发送的注册信息,所述预置波长对包括第一波长对和第二波长对;
    所述OLT执行注册处理之后,所述无源光网络的注册方法还包括:
    所述OLT向所述第二ONU和所述第三ONU发送注册反馈消息;
    若所述OLT将所述第一波长对分配给所述第二ONU,则所述注册反馈消息中包括波长分配信息,所述波长分配信息用于指示所述第二ONU通过所述第一波长对与所述OLT建立通信连接,所述波长分配信息还用于指示所述第三ONU通过所述第二波长对重新向所述OLT连续发送注册信息;
    若所述OLT确定不执行分配波长对的操作,则所述注册反馈消息用于指示所述第二ONU和所述第三ONU重新向所述OLT连续发送注册信息。
  7. 根据权利要求6所述的无源光网络的注册方法,所述OLT确定不执行分配波长对的操作之后,且发送所述注册反馈消息之前,所述无源光网络的注册方法还包括:
    所述OLT对所述预置的ONU数量进行调整,并根据所述注册信息的长度和调整后的ONU数量重新生成随机延迟阈值,所述OLT发送的注册反馈消息中还包括所述重新生成的随机延迟阈值。
  8. 一种无源光网络的注册方法,包括:
    光网络单元ONU对待发送的注册信息进行随机延迟;
    所述ONU在预置波长对中选择一对波长对向光线路终端OLT连续发送注册信息。
  9. 根据权利要求8所述的无源光网络的注册方法,所述ONU对待发送的注册信息进行随机延迟之前,所述无源光网络的注册方法还包括:
    所述ONU接收所述OLT发送的注册指示消息,所述注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的所述预置波长对;
    所述ONU对待发送的注册信息进行随机延迟,包括:
    所述ONU在所述随机延迟阈值所表示的范围内对所述注册信息进行随 机延迟。
  10. 根据权利要求8所述的无源光网络的注册方法,所述ONU在预置波长对中选择一对波长对向所述OLT连续发送注册信息之后,所述无源光网络的注册方法还包括:
    所述ONU接收所述OLT发送的注册反馈消息,所述注册反馈消息中包括波长分配信息或重注册指示信息,其中,所述波长分配信息中包括所述OLT分配的第一波长对。
  11. 根据权利要求10所述的无源光网络的注册方法,其中,所述预置波长对包括所述第一波长对和第二波长对;
    若所述注册反馈消息中包括所述波长分配信息,则所述ONU接收所述OLT发送的注册反馈消息之后,所述无源光网络的注册方法还包括:
    所述ONU通过所述第一波长对与所述OLT建立通信连接,所述第一波长对为:本ONU发送所述注册信息时使用的所述一对波长对,或者为所述OLT指定的其他波长对;或者,
    所述ONU根据所述波长分配信息通过所述第二波长对重新向所述OLT连续发送注册信息。
  12. 根据权利要求10所述的无源光网络的注册方法,其中,所述预置波长对包括所述第一波长对和第二波长对;
    若所述注册反馈消息中包括所述重注册指示信息,则所述ONU接收所述OLT发送的注册反馈消息之后,所述无源光网络的注册方法还包括:
    所述ONU根据所述重注册指示信息选择所述第二波长对重新向所述OLT连续发送注册信息。
  13. 根据权利要求10至12中任一项所述的无源光网络的注册方法,其中,所述注册反馈消息中还包括所述OLT调整后的随机延迟阈值;
    所述无源光网络的注册方法还包括:所述ONU根据所述调整后的随机延迟阈值进行随机延迟后,重新向所述OLT连续发送注册信息。
  14. 根据权利要求8至12中任一项所述的无源光网络的注册方法,其中,所述ONU进行随机延迟的时间大于或等于发送每个所述注册信息的时 间;或者,所述ONU进行随机延迟的时间为发送每个所述注册信息所用时间的整数倍。
  15. 一种无源光网络的注册方法,包括:
    光网络单元ONU对待发送的注册信息进行随机延迟;
    所述ONU在预置波长对中选择一对波长对向光线路终端OLT连续发送注册信息;
    所述OLT根据接收到的注册信息执行注册处理。
  16. 根据权利要求15所述的无源光网络的注册方法,其中,所述OLT根据接收到的注册信息执行注册处理,包括:
    当所述OLT正确解析出第一ONU发送的注册信息时,将第一波长对分配给所述第一ONU,所述第一波长对为所述第一ONU发送注册信息时使用的波长对,或者为所述OLT指定的其他波长对;
    当所述OLT未正确解析出每个所述ONU发送的注册信息时,确定不执行分配波长对的操作。
  17. 根据权利要求15所述的无源光网络的注册方法,所述ONU对待发送的注册信息进行随机延迟之前,所述无源光网络的注册方法还包括:
    所述OLT向所述ONU发送注册指示消息,所述注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的所述预置波长对;
    其中,所述光ONU对待发送的注册信息进行随机延迟,包括:
    所述ONU在所述随机延迟阈值所表示的范围内对所述注册信息进行随机延迟。
  18. 根据权利要求17所述的无源光网络的注册方法,所述OLT向所述ONU发送注册指示消息之前,所述无源光网络的注册方法还包括:
    所述OLT根据所述注册信息的长度和预置的ONU数量,生成所述随机延迟阈值。
  19. 根据权利要求15至18中任一项所述的无源光网络的注册方法,其 中,所述OLT接收到的注册信息包括第二ONU和第三ONU发送的注册信息,所述预置波长对包括第一波长对和第二波长对;
    所述OLT执行注册处理之后,所述无源光网络的注册方法还包括:
    所述OLT向所述第二ONU和所述第三ONU发送注册反馈消息,其中,所述注册反馈消息中包括波长分配信息或重注册指示信息,所述波长分配信息中包括所述OLT分配的第一波长对。
  20. 根据权利要求19所述的无源光网络的注册方法,其中,若所述OLT执行注册处理为将所述第一波长对分配给所述第二ONU,则所述注册反馈消息中包括所述波长分配信息;
    所述无源光网络的注册方法还包括:
    所述第二ONU通过所述第一波长对与所述OLT建立通信连接,所述第三ONU通过所述第二波长对重新向所述OLT连续发送注册信息;
    若所述OLT执行注册处理为确定不执行分配波长对的操作,则所述注册反馈消息中包括所述重注册指示信息;所述第二ONU和所述第三ONU根据所述注册反馈消息重新向所述OLT连续发送注册信息。
  21. 根据权利要求19所述的无源光网络的注册方法,所述OLT确定不执行分配波长对的操作之后,且发送所述注册反馈消息之前,所述无源光网络的注册方法还包括:
    所述OLT对所述预置的ONU数量进行调整,并根据所述注册信息的长度和调整后的ONU数量重新生成随机延迟阈值,其中,所述OLT发送的注册反馈消息中还包括所述重新生成的随机延迟阈值;
    所述ONU根据所述调整后的随机延迟阈值进行随机延迟后,重新向所述OLT连续发送注册信息。
  22. 根据权利要求15至18中任一项所述的无源光网络的注册方法,其中,所述ONU进行随机延迟的时间大于或等于发送每个所述注册信息的时间;或者,所述ONU进行随机延迟的时间为发送每个所述注册信息所用时间的整数倍。
  23. 一种无源光网络的注册装置,设置于光线路终端OLT中,所述无源 光网络的注册装置包括:
    接收模块,配置为能够接收光网络单元ONU通过预置波长对连续发送的注册信息,其中,所述注册信息为所述ONU进行随机延迟后向所述OLT连续发送的;
    与所述接收模块相连接的处理模块,配置为能够根据所述接收模块接收到的注册信息执行注册处理。
  24. 根据权利要求23所述的无源光网络的注册装置,其中,所述处理模块配置为在正确解析出所述接收模块接收的第一ONU发送的注册信息时,将第一波长对分配给所述第一ONU;还配置为在未正确解析出所述接收模块接收的每个所述ONU发送的注册信息时,确定不执行分配波长对的操作。
  25. 根据权利要求24所述的无源光网络的注册装置,其中,所述OLT分配给所述第一ONU的第一波长对为:所述第一ONU发送注册信息时使用的波长对,或者,为所述OLT指定的其他波长对。
  26. 根据权利要求23所述的无源光网络的注册装置,所述无源光网络的注册装置还包括:与所述接收模块相连接的发送模块,配置为能够在所述接收模块接收所述ONU通过预置波长对连续发送的注册信息之前,向所述ONU发送注册指示消息,其中,所述注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的所述预置波长对;所述随机延迟阈值用于表示所述ONU向OLT连续发送注册信息时所进行的随机延迟的范围。
  27. 根据权利要求26所述的无源光网络的注册装置,所述无源光网络的注册装置还包括:
    与所述发送模块相连接的生成模块,配置为能够在所述发送模块向所述ONU发送注册指示消息之前,根据所述注册信息的长度和预置的ONU数量,生成所述随机延迟阈值。
  28. 根据权利要求23至27中任一项所述的无源光网络的注册装置,其中,所述接收模块接收到的注册信息包括第二ONU和第三ONU发送的注册信息,所述预置波长对包括第一波长对和第二波长对;
    所述发送模块,还配置为能够在所述处理模块执行注册处理之后,向所述第二ONU和所述第三ONU发送注册反馈消息;
    其中,若所述处理模块将所述第一波长对分配给所述第二ONU,则所述注册反馈消息中包括波长分配信息,所述波长分配信息用于指示所述第二ONU通过所述第一波长对与所述OLT建立通信连接,所述波长分配信息还用于指示所述第三ONU通过所述第二波长对重新向所述OLT连续发送注册信息;
    若所述处理模块确定不执行分配波长对的操作,则所述注册反馈消息用于指示所述第二ONU和所述第三ONU重新向所述OLT连续发送注册信息。
  29. 根据权利要求28所述的无源光网络的注册装置,所述无源光网络的注册装置还包括:
    分别与所述处理模块、所述发送模块和所述生成模块相连接的调整模块,配置为能够在所述处理模块确定不执行分配波长对的操作之后,且在所述发送模块发送所述注册反馈消息之前,对所述预置的ONU数量进行调整;
    所述生成模块,还配置为能够根据所述注册信息的长度和所述调整模块调整后的ONU数量重新生成随机延迟阈值;并且所述发送模块发送的注册反馈消息中还包括所述重新生成的随机延迟阈值。
  30. 一种无源光网络的注册装置,设置于光网络单元ONU中,所述无源光网络的注册装置包括:
    延迟模块,配置为能够对待发送的注册信息进行随机延迟;
    与所述延迟模块相连接的发送模块,配置为能够在预置波长对中选择一对波长对向光线路终端OLT连续发送注册信息。
  31. 根据权利要求30所述的无源光网络的注册装置,所述无源光网络的注册装置还包括:与所述延迟模块相连接的接收模块,配置为能够在所述延迟模块对待发送的注册信息进行随机延迟之前,接收所述OLT发送的注册指示消息,其中,所述注册指示消息中包括以下信息中至少一项:随机延迟阈值、用于光网络***中每个ONU进行注册的所述预置波长对;
    所述延迟模块配置为能够在所述接收模块接收到的随机延迟阈值所表 示的范围内对所述注册信息进行随机延迟。
  32. 根据权利要求30所述的无源光网络的注册装置,所述无源光网络的注册装置还包括:与所述发送模块相连接的接收模块,配置为能够在所述发送模块在所述预置的波长对中选择一对波长对向所述OLT连续发送注册信息之后,接收所述OLT发送的注册反馈消息,其中,所述注册反馈消息中包括波长分配信息或重注册指示信息,所述波长分配信息中包括所述OLT分配的第一波长对。
  33. 根据权利要求32所述的无源光网络的注册装置,其中,所述预置波长对包括所述第一波长对和第二波长对,
    所述无源光网络的注册装置还包括与所述接收模块相连接的通信模块;若所述注册反馈消息中包括所述波长分配信息,则所述通信模块,配置为能够在所述接收模块接收所述OLT发送的注册反馈消息之后,通过所述第一波长对与所述OLT建立通信连接,其中,所述第一波长对为:本ONU发送所述注册信息时使用的所述一对波长对,或者为所述OLT指定的其他波长对;或者,
    所述发送模块,还配置为能够在所述接收模块接收所述OLT发送的注册反馈消息之后,根据所述接收模块接收的波长分配信息通过所述第二波长对重新向所述OLT连续发送注册信息。
  34. 根据权利要求32所述的无源光网络的注册装置,其中,所述预置波长对包括所述第一波长对和第二波长对;若所述注册反馈消息中包括所述重注册指示信息,则所述发送模块,还配置为能够在所述接收模块接收所述OLT发送的注册反馈消息之后,根据所述接收模块接收的重注册指示信息选择所述第二波长对重新发向所述OLT连续送注册信息。
  35. 根据权利要求32至34中任一项所述的无源光网络的注册装置,其中,所述接收模块接收的注册反馈消息中还包括所述OLT调整后的随机延迟阈值,所述延迟模块还配置为能够根据所述接收模块接收到的调整后的随机延迟阈值进行随机延迟,所述发送模块还配置为所述延迟模块进行随机延迟后,重新向所述OLT连续发送注册信息。
  36. 根据权利要求30至34中任一项所述的无源光网络的注册装置,其 中,所述延迟模块进行随机延迟的时间大于或等于所述发送模块发送每个所述注册信息的时间;或者,所述延迟模块进行随机延迟的时间为所述发送模块发送每个所述注册信息所用时间的整数倍。
  37. 一种无源光网络***,包括:光线路终端OLT和至少一个光网络单元ONU,所述OLT分别和每个所述ONU相连接;
    其中,所述OLT中设置有如权利要求23至29中任一项所述的无源光网络的注册装置,每个所述ONU中设置有如权利要求30至36中任一项所述的无源光网络的注册装置。
PCT/CN2016/095345 2016-05-03 2016-08-15 一种无源光网络的注册方法、装置和无源光网络*** WO2017190442A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP16900964.4A EP3454518B1 (en) 2016-05-03 2016-08-15 Method of registering on passive optical network, device, and passive optical network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610290423.0 2016-05-03
CN201610290423.0A CN107342973B (zh) 2016-05-03 2016-05-03 一种无源光网络的注册方法、装置和无源光网络***

Publications (1)

Publication Number Publication Date
WO2017190442A1 true WO2017190442A1 (zh) 2017-11-09

Family

ID=60202595

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/095345 WO2017190442A1 (zh) 2016-05-03 2016-08-15 一种无源光网络的注册方法、装置和无源光网络***

Country Status (3)

Country Link
EP (1) EP3454518B1 (zh)
CN (1) CN107342973B (zh)
WO (1) WO2017190442A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110944249B (zh) * 2018-09-25 2022-10-11 中兴通讯股份有限公司 光网络的通信方法、olt、onu、光网络***
CN112235664B (zh) * 2019-07-15 2023-02-03 中兴通讯股份有限公司 一种实现测距的方法及装置
CN112770318B (zh) * 2019-11-01 2022-11-18 苏州千米电子科技有限公司 一种终端注册方法和装置
CN116405807A (zh) * 2021-12-27 2023-07-07 中兴通讯股份有限公司 光网络单元的认证方法、装置、电子设备和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827099A (zh) * 2010-04-15 2010-09-08 中兴通讯股份有限公司 一种光网络单元的逻辑链路标识的分配方法和装置
CN102098593A (zh) * 2011-02-23 2011-06-15 华为技术有限公司 一种epon***中上行注册的方法和远端设备
US20120163809A1 (en) * 2010-12-27 2012-06-28 Hitachi, Ltd. Burst-Mode Receiver Equipped with Optical Amplifier, Method for Controlling Optical Amplifier, and System
CN102883234A (zh) * 2011-07-15 2013-01-16 上海贝尔股份有限公司 一种以太网无源光网络中的光网络单元注册方法及装置
CN103563303A (zh) * 2012-11-21 2014-02-05 华为技术有限公司 光网络单元的静默方法和装置
US9197351B2 (en) * 2013-02-05 2015-11-24 Electronics And Telecommunications Research Institute Method of selecting wavelength of optical network unit in passive optical network

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1326340C (zh) * 2003-10-21 2007-07-11 华为技术有限公司 无源光网络的动态带宽分配装置及方法
CN101582734B (zh) * 2008-05-14 2013-04-24 上海贝尔阿尔卡特股份有限公司 波分复用无源光网络中的接入控制方法及其装置
JP5051592B2 (ja) * 2008-07-31 2012-10-17 学校法人慶應義塾 光ネットワークにおける回線制御方法及び光ネットワーク
CN102104428B (zh) * 2009-12-18 2014-12-03 华为技术有限公司 无源光网络的注册窗口调整方法、***和装置
CN103391486B (zh) * 2012-05-09 2018-05-04 中兴通讯股份有限公司 一种进行波长调整的方法及光线路终端及光网络单元
WO2015176204A1 (zh) * 2014-05-19 2015-11-26 华为技术有限公司 一种通信方法、装置及***

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827099A (zh) * 2010-04-15 2010-09-08 中兴通讯股份有限公司 一种光网络单元的逻辑链路标识的分配方法和装置
US20120163809A1 (en) * 2010-12-27 2012-06-28 Hitachi, Ltd. Burst-Mode Receiver Equipped with Optical Amplifier, Method for Controlling Optical Amplifier, and System
CN102098593A (zh) * 2011-02-23 2011-06-15 华为技术有限公司 一种epon***中上行注册的方法和远端设备
CN102883234A (zh) * 2011-07-15 2013-01-16 上海贝尔股份有限公司 一种以太网无源光网络中的光网络单元注册方法及装置
CN103563303A (zh) * 2012-11-21 2014-02-05 华为技术有限公司 光网络单元的静默方法和装置
US9197351B2 (en) * 2013-02-05 2015-11-24 Electronics And Telecommunications Research Institute Method of selecting wavelength of optical network unit in passive optical network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3454518A4 *

Also Published As

Publication number Publication date
EP3454518A1 (en) 2019-03-13
CN107342973B (zh) 2021-07-20
EP3454518B1 (en) 2024-05-22
CN107342973A (zh) 2017-11-10
EP3454518A4 (en) 2019-05-15

Similar Documents

Publication Publication Date Title
US9693302B2 (en) Optical wireless access system
JP6445706B2 (ja) 多波長パッシブ光ネットワークに適用される通信方法、装置、及びシステム
JP5470567B2 (ja) パッシブ光ネットワーク(pon)の幾つかのサブネットワークによって共有されるアップリンクtdmaアクセスを調整する方法
EP3223465B1 (en) Optical-wireless access system
WO2017190442A1 (zh) 一种无源光网络的注册方法、装置和无源光网络***
US10608735B2 (en) Systems and methods for performing optical line terminal (OLT) failover switches in optical networks
JP6400111B2 (ja) 光回線終端/光ネットワークユニット波長調節方法及び装置
JP2005124206A (ja) イーサネット(登録商標)・ネットワークでのリアルタイムマルチメディアデータ送信方法
JP6900624B2 (ja) データ通信システム、光回線終端装置およびベースバンドユニット
KR20180044378A (ko) 수동형 광 네트워크 통신 방법과 장치, 및 시스템
WO2016015216A1 (zh) 以太网无源光网络***中设备注册和波长切换的方法和装置
JP4947729B2 (ja) 局側装置
JP6542715B2 (ja) 送信制御方法及び通信システム
JP5640877B2 (ja) 通信システム、親局装置および通信回線切替方法
JP5822857B2 (ja) 光通信システム及び帯域割当方法
JP2008294851A (ja) Ponシステム
JP6093281B2 (ja) 光通信システム、信号送信制御方法及び局側光回線終端装置
JP6827435B2 (ja) 光通信装置、制御方法、及び制御プログラム
JP6093282B2 (ja) 光通信システム、通信制御方法及び局側光回線終端装置
WO2017098611A1 (ja) 宅側装置、ponシステムおよび宅側装置の制御方法
JP2012257163A (ja) 帯域制御装置、帯域制御プログラム及び終端装置
WO2015184604A1 (zh) 波长切换方法、装置和***
JP2015082770A (ja) 光通信システム、登録制御方法及び加入者側光回線終端装置
JP6085244B2 (ja) 光通信システム、信号送信制御方法及び加入者側光回線終端装置
JP2020043499A (ja) 光通信システム、光通信装置、制御方法、及び制御プログラム

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: 16900964

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016900964

Country of ref document: EP

Effective date: 20181203