WO2019205823A1 - 开放安静窗口的方法和装置以及注册方法、装置和系统 - Google Patents

开放安静窗口的方法和装置以及注册方法、装置和系统 Download PDF

Info

Publication number
WO2019205823A1
WO2019205823A1 PCT/CN2019/077353 CN2019077353W WO2019205823A1 WO 2019205823 A1 WO2019205823 A1 WO 2019205823A1 CN 2019077353 W CN2019077353 W CN 2019077353W WO 2019205823 A1 WO2019205823 A1 WO 2019205823A1
Authority
WO
WIPO (PCT)
Prior art keywords
optical network
quiet window
network unit
ranging
identity information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2019/077353
Other languages
English (en)
French (fr)
Inventor
张伟良
袁立权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to US17/049,598 priority Critical patent/US11272272B2/en
Priority to EP19792791.6A priority patent/EP3787308A4/en
Publication of WO2019205823A1 publication Critical patent/WO2019205823A1/zh
Anticipated expiration legal-status Critical
Priority to US17/589,059 priority patent/US11889243B2/en
Ceased legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/0079Operation or maintenance aspects

Definitions

  • the embodiments of the present application relate to a passive optical network (PON) technology, but are not limited to passive optical network technologies, and particularly, a method and apparatus for opening a quiet window, and a registration method, apparatus, and system.
  • PON passive optical network
  • FIG. 1 is a schematic diagram of the architecture of a passive optical network.
  • a channel between an optical line terminal (OLT) and an optical network unit (ONU, Optical Network Unit) transmits both data and management information. That is to say, the OLT and the ONU communicate through one channel.
  • OLT optical line terminal
  • ONU optical network unit
  • ONU optical network unit
  • Transmission delays in passive optical networks include: optical transmission delay, delay caused by open quiet windows, and bandwidth allocation delay.
  • the optical transmission delay is related to the fiber distance, and the transmission time of the optical fiber of 20 kilometers (km) is about 100 micrometers ( ⁇ s).
  • uplink service delay or even packet loss may occur from time to time.
  • Embodiments of the present application provide a method and apparatus for opening a quiet window, and a registration method, apparatus, and system, which can reduce the impact of a quiet window on data transmission delay, thereby reducing transmission delay of the PON system.
  • the embodiment of the present application provides a method for opening a quiet window, including:
  • the first quiet window is used for discovery of an optical network unit.
  • the method further includes:
  • the opening of the first quiet window is stopped.
  • the method further includes:
  • the second quiet window is used for ranging of the optical network unit, and the second quiet window is smaller than the first quiet window.
  • the second quiet window is centered on the estimated arrival time of the ranging response.
  • the embodiment of the present application provides an apparatus for opening a quiet window, including:
  • An open module configured to open the first quiet window when it is determined that the first quiet window needs to be opened
  • the first quiet window is used for discovery of an optical network unit.
  • An embodiment of the present application provides an apparatus for opening a quiet window, including a processor and a computer readable storage medium, wherein the computer readable storage medium stores instructions, when the instructions are executed by the processor, implementing the above Any method of opening a quiet window.
  • the embodiment of the present application proposes a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the steps of any of the above methods for opening a quiet window.
  • the embodiment of the present application proposes a registration method, including:
  • the first quiet window When it is determined that the first quiet window needs to be opened, opening the first quiet window and broadcasting a discovery request; wherein the first quiet window is used for discovery of the optical network unit;
  • Detecting a discovery response sent by the optical network unit opening a second quiet window, and sending a ranging request to the optical network unit; wherein the second quiet window is used for ranging of the optical network unit;
  • the ranging response is received and the ranging result is calculated.
  • the embodiment of the present application proposes a registration device, including:
  • a discovery module configured to open the first quiet window and broadcast a discovery request when it is determined that the first quiet window needs to be opened; wherein the first quiet window is used for discovery of an optical network unit; and the optical network unit is detected Identity information sent;
  • a ranging module configured to open a second quiet window and send a ranging request to the optical network unit; wherein the second quiet window is used for ranging of the optical network unit; receiving a ranging response, and calculating Ranging results.
  • the embodiment of the present application provides a registration apparatus, including a processor and a computer readable storage medium, where the computer readable storage medium stores instructions, and when the instructions are executed by the processor, implements any of the foregoing Registration method.
  • the embodiment of the present application proposes a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the steps of any of the above registration methods.
  • the embodiment of the present application proposes a registration method, including:
  • the method further includes:
  • the ranging response is received and the ranging result is calculated.
  • the method further includes:
  • the embodiment of the present application proposes a registration method, including:
  • the embodiment of the present application proposes a registration device, including:
  • the storage module is configured to save any one of the following: the correspondence between the identity information of the optical network unit and the bandwidth; the correspondence between the identity information of the optical network unit and the ranging result; the identity information of the optical network unit, and the ranging result Correspondence between bandwidth and bandwidth;
  • a sending module configured to broadcast or send the correspondence to the optical network unit.
  • the embodiment of the present application provides a registration device, including: a listening module and at least one of the following: an application module and a sending module;
  • the listening module is configured to listen to any one of the following: the correspondence between the identity information, the ranging result, and the bandwidth; the correspondence between the identity information and the ranging result; the correspondence between the identity information and the bandwidth;
  • the application module is configured to apply the ranging result locally when the identity information of the identity is the same as the identity information in the corresponding relationship;
  • the sending module is configured to send information in the bandwidth when the identity information of the identity is the same as the identity information in the corresponding relationship.
  • the embodiment of the present application provides a registration apparatus, including a processor and a computer readable storage medium, where the computer readable storage medium stores instructions, and when the instructions are executed by the processor, implements any of the foregoing Registration method.
  • the embodiment of the present application proposes a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the steps of any of the above registration methods.
  • the embodiment of the present application includes: opening the first quiet window when it is determined that the first quiet window needs to be opened; wherein the first quiet window is used for discovery of the optical network unit.
  • the embodiment of the present application opens the first quiet window when it is determined that the first quiet window needs to be opened, instead of periodically opening the first quiet window, improving the efficiency of the first quiet window and reducing the data transmission of the first quiet window.
  • the effect of delay which reduces the transmission delay of the PON system.
  • the second quiet window is opened when it is determined that the second quiet window needs to be opened; wherein the second quiet window is used for ranging of the optical network unit, and the second quiet The window is smaller than the first quiet window.
  • the OLT Since the distance between the OLT and the ONU can be estimated when the ONU is found, for example, during the discovery of the ONU, the OLT sends a discovery request to the ONU and records the time T1 at which the discovery request is sent, and the ONU receives the discovery request and sends the discovery request to the OLT.
  • the response carries the time difference T or related information between the received discovery request and the sending discovery response
  • the OLT receives the discovery response and records the time T2
  • the round-trip time between the OLT and the ONU is about (T2- T1-T)
  • the distance D between the OLT and the ONU is estimated to be v(T2-T1-T)/2, that is, the arrival time of the OLT to the ONU ranging response can be estimated, for example, It is assumed that the time when the OLT sends the ranging request is t1, and the OLT predicts that the time required for the ONU to receive the ranging request and send the ranging response is t, then the time when the ranging response sent by the ONU reaches the OLT is about (t1+T2-T1).
  • the quiet window open for ranging can be (t1+T2-T1-T+t- ⁇ t, t1+T2-T1-T+t+ ⁇ t), which is an open window that is open to the ONU.
  • the delay for the working ONU is also small, which reduces the transmission delay of the PON system.
  • 1 is a schematic structural diagram of a passive optical network
  • FIG. 2 is a schematic diagram of a method of opening a quiet window
  • FIG. 3 is a schematic flowchart of a method for opening a quiet window according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of a method for opening a quiet window according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an apparatus for opening a quiet window according to another embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a registration method according to another embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a registration apparatus according to another embodiment of the present application.
  • FIG. 8 is a schematic flowchart of a registration method according to another embodiment of the present application.
  • FIG. 9 is a schematic flowchart of a registration method according to another embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a registration apparatus according to another embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a registration apparatus according to another embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a registration system according to another embodiment of the present application.
  • the open quiet window is used for ONU discovery and ONU ranging, and is the overhead brought by the initialization of the channel connection between the OLT and the ONU.
  • the working ONU cannot obtain the upstream bandwidth, and cannot communicate with the OLT normally.
  • the uplink service may be delayed or even lost.
  • the OLT needs to periodically open a quiet window to discover the ONU, the cycle and the actual application.
  • the period should be a second level, that is, a quiet window of up to 200 microseconds must be opened every 1 second.
  • the quiet window is used for the ONU to be registered to send the uplink signal, and the other ONUs that have completed the registration activation cannot obtain the uplink bandwidth, and cannot perform the normal communication with the OLT, so that the uplink signal cannot be sent in the quiet window.
  • the working ONU has the uplink data to be sent at the beginning of the quiet window. It must wait for the quiet window to finish before it has the opportunity to send the uplink data. In this case, the uplink data sent by the working ONU may cause a maximum of 200 microseconds. The delay of seconds is even the case of packet loss.
  • the OLT when the OLT performs ranging on the ONU, it also needs to open a quiet window, but in fact, when the OLT finds the ONU, it can estimate the distance between the OLT and the ONU, that is, the arrival time of the OLT to the ONU ranging response can be Estimation, and the quiet window for ranging is used exclusively for the ONU to be measured. It does not require multiple ONUs to compete. Therefore, the quiet window opened for ranging can be smaller than the quiet window that the ONU finds open. The latency of a working ONU is also small.
  • the OLT needs to open a quiet window to discover the ONU and perform ranging on the ONU.
  • an embodiment of the present application provides a method for opening a quiet window, including:
  • Step 300 When it is determined that the first quiet window needs to be opened, the first quiet window is opened; wherein the first quiet window is used for discovery of the optical network unit.
  • the method further comprises determining if the first quiet window needs to be opened.
  • the first quiet window may be periodically opened.
  • any of the following methods may be used to determine that the first quiet window needs to be opened. First, determine that the optical network unit needs to be registered.
  • any of the following methods may be employed to determine that an ONU requires registration.
  • the optical network unit determines, according to the pre-configured identity information of the optical network unit to be registered, that the optical network unit needs to be registered. For example, when there is an unregistered ONU in the ONU corresponding to the pre-configured identity information, or there is pre-configured identity information, it is determined that the ONU needs to be registered.
  • the second notification information may be from a network management system.
  • the first notification information it is determined that the first quiet window needs to be opened. That is to say, upon receiving the first notification information, it is determined that the first quiet window needs to be opened.
  • the first notification information may be from a network management system.
  • the method further includes:
  • Step 301 When it is determined that the first quiet window does not need to be opened, stop opening the first quiet window.
  • the step 301 includes but is not limited to the following:
  • the first quiet window is opened in advance in the process of delaying opening of the first quiet window before opening the first quiet window, or opening the first quiet window.
  • any of the following methods may be used to determine that the first quiet window does not need to be opened:
  • any of the following methods may be used to determine that all ONUs to be registered have completed registration.
  • the pre-configured identity information of the ONU to be registered it is determined that all ONUs to be registered complete registration. For example, when the optical network unit corresponding to the identity information of the pre-configured optical network unit is registered, or there is no pre-configured identity information of the ONU to be registered, it is determined that all ONUs to be registered complete registration.
  • the fourth notification information determines, according to the fourth notification information, that all the optical network units to be registered complete registration. That is to say, receiving the fourth notification information, it is determined that all ONUs to be registered complete the registration.
  • the fourth notification information may be from a network management system.
  • the third notification information it is determined that the first quiet window does not need to be opened. That is to say, receiving the third notification information determines that the first quiet window does not need to be opened.
  • the third notification information may be from a network management system.
  • the method further includes:
  • the second quiet window is used for ranging of the optical network unit, and the second quiet window is smaller than the first quiet window.
  • the second quiet window here is smaller than the first quiet window: the duration of the second quiet window is less than the duration of the first quiet window.
  • the method can include:
  • the first quiet window is opened; if the second quiet window needs to be opened, the second quiet window is opened.
  • the quiet window is not opened.
  • the OLT since the distance between the OLT and the ONU can be estimated when the ONU is found, for example, during the discovery of the ONU, the OLT sends a discovery request to the ONU and records the time T1 at which the discovery request is sent, ONU Receiving a discovery request and sending a discovery response to the OLT, wherein the discovery response carries a time difference T or related information between the received discovery request and the sending discovery response, and the OLT receives the discovery response and records the time T2, between the OLT and the ONU.
  • the round-trip time is about (T2-T1-T), and the distance D between the OLT and the ONU is estimated to be v(T2-T1-T)/2 according to the propagation rate v of the light, that is, the arrival time of the OLT to the ONU ranging response.
  • the estimation can be performed.
  • the OLT predicts that the time required for the ONU to receive the ranging request and send the ranging response is t, then the time when the ranging response sent by the ONU arrives at the OLT is about It is (t1+T2-T1-T+t), so the quiet window opened for ranging can be smaller than the quiet window that the ONU finds open, and the delay for the normal working ONU is also small, thus reducing the PON system. Transmission delay.
  • the second quiet window is a period of time centered on the arrival time of the estimated ranging response, such as (t1 + T2 - T1 - T + t - ⁇ t, t1 + T2 - T1 - T + t + ⁇ t).
  • the OLT does not open the quiet window periodically, but opens the quiet window when needed. As shown in FIG. 4, the efficiency of the quiet window is improved, and the quiet window is delayed. influences. For example, the quiet window is opened when there is an ONU to register, and when no ONU needs to register, the open quiet window is stopped.
  • the registration process generally includes: the OLT opens a first quiet window, the ONU reports its own identity in the first quiet window, and the OLT opens a second quiet window to measure the ONU. distance. During this registration process, the ONU does not pass the service. When all ONUs complete the registration, the service is opened. During the follow-up work, the quiet window is no longer opened periodically until there is a need, for example, a new ONU joins, or an old ONU needs to be replaced.
  • the OLT starts to periodically open the first quiet window.
  • the OLT Stop opening the first quiet window.
  • an apparatus such as an OLT
  • opens a quiet window including:
  • An open module configured to open the first quiet window when it is determined that the first quiet window needs to be opened
  • the first quiet window is used for discovery of an optical network unit.
  • the open module is configured as:
  • the first quiet window is periodically opened.
  • the open module is configured to determine that the first quiet window needs to be opened by using any one of the following methods:
  • the open module is configured to determine that the optical network unit needs to be registered by using any one of the following methods:
  • the open module is further configured to:
  • the opening of the first quiet window is stopped.
  • the open module is specifically configured to determine that the first quiet window does not need to be opened by using any one of the following methods:
  • the open module is configured to determine that all optical network units to be registered are registered by using any of the following methods:
  • the open module is further configured to:
  • the second quiet window is used for ranging of the optical network unit, and the second quiet window is smaller than the first quiet window.
  • Another embodiment of the present application provides an apparatus for opening a quiet window, comprising a processor and a computer readable storage medium having instructions stored therein when the instructions are executed by the processor A method of implementing any of the above open quiet windows.
  • Another embodiment of the present application is directed to a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of any of the methods described above for opening a quiet window.
  • FIG. 6 another embodiment of the present application provides a registration method, including:
  • Step 600 When it is determined that the first quiet window needs to be opened, open the first quiet window and broadcast a discovery request; wherein the first quiet window is used for discovery of the optical network unit.
  • the first quiet window may be periodically opened.
  • any of the following methods may be used to determine that the first quiet window needs to be opened.
  • any of the following methods may be employed to determine that an ONU requires registration.
  • the optical network unit determines, according to the pre-configured identity information of the optical network unit to be registered, that the optical network unit needs to be registered. For example, when there is an unregistered ONU in the ONU corresponding to the pre-configured identity information, or there is pre-configured identity information, it is determined that the ONU needs to be registered.
  • the second notification information may be from a network management system.
  • the first notification information it is determined that the first quiet window needs to be opened. That is to say, upon receiving the first notification information, it is determined that the first quiet window needs to be opened.
  • the first notification information may be from a network management system.
  • the discovery request in the International Telecommunication Union is a serial number request bandwidth allocation, and the request is a registration request message in the Institute of Electrical and Electronics Engineers (IEEE). .
  • the ONU to be registered listens for the discovery request, and when the discovery request is detected, sends the identity information of the OLT to the OLT.
  • Step 601 Detect a discovery response sent by the optical network unit, open a second quiet window, and send a ranging request to the optical network unit, where the second quiet window is used for ranging of the optical network unit.
  • the discovery response includes identity information.
  • the influence of the second quiet window on the data transmission delay is reduced, thereby reducing the transmission delay of the PON system.
  • the second quiet window is centered on the estimated arrival response arrival time.
  • the identity information in the ITU is a serial number (SN), and the identity information in the IEEE is a media access control (MAC) address.
  • SN serial number
  • MAC media access control
  • the ranging request in the ITU is a ranging bandwidth allocation
  • the ranging request in the IEEE is a ranging request message
  • the ONU listens to the ranging request, and when detecting the ranging request, returns a ranging response to the OLT.
  • Step 602 Receive a ranging response, and calculate a ranging result.
  • the ranging responses in the ITU and the IEEE are all ranging response messages.
  • the ranging result may be used locally or sent to the ONU.
  • the method further includes:
  • the opening of the first quiet window is stopped.
  • any of the following methods may be used to determine that the first quiet window does not need to be opened:
  • any of the following methods may be used to determine that all ONUs to be registered have completed registration.
  • the pre-configured identity information of the ONU to be registered it is determined that all ONUs to be registered complete registration. For example, when the optical network units corresponding to the identity information of the pre-configured optical network unit are all registered, or there is no pre-configured identity information of the ONU to be registered, it is determined that all ONUs to be registered complete registration.
  • the fourth notification information determines, according to the fourth notification information, that all the optical network units to be registered complete registration. That is to say, receiving the fourth notification information, it is determined that all ONUs to be registered complete the registration.
  • the fourth notification information may be from a network management system.
  • the third notification information it is determined that the first quiet window does not need to be opened. That is to say, receiving the third notification information determines that the first quiet window does not need to be opened.
  • the third notification information may be from a network management system.
  • the method further includes:
  • the ONUs that have completed registration are allocated bandwidth, and the registered ONUs enter the normal working state.
  • the method further includes:
  • the broadcast sends the corresponding relationship, or sends a correspondence to the ONU that specifies the identity information; and receives the information that the ONU sends in the bandwidth.
  • the ONU that needs to be registered listens to the corresponding relationship sent by the OLT. If the identity information of the OLT is the same as the identity information in the corresponding relationship, the ONU obtains the corresponding relationship; obtains the ranging result and applies the ranging result locally, for example, When the ONU sends data, the time corresponding to the ranging result is delayed; the bandwidth is obtained (the bandwidth includes the transmission start time + the end time or the length of time), and the ONU sends information to the OLT in the bandwidth, and the information sent by the ONU to the OLT may be the identity of the ONU. Information, data sent by the ONU, or other information.
  • the sequence of the information in the broadcast correspondence relationship is not limited.
  • the identity information in the corresponding relationship may be sent first, and then the ranging result in the corresponding relationship is sent, and finally the corresponding relationship is sent.
  • Bandwidth or, first, send the identity information in the corresponding relationship, then send the bandwidth in the corresponding relationship, and finally send the ranging result in the corresponding relationship; or simultaneously send the identity information, the ranging result, and the bandwidth in the corresponding relationship; Wait.
  • the corresponding relationship may be broadcasted or sent to the ONU that specifies the identity information, until the information sent by the ONU, such as the identity information of the ONU, the data sent by the ONU, or other information, is received in the uplink bandwidth allocated by the OLT.
  • the ONU connected to the branch fiber is not changed when the ODN branch fiber is not changed.
  • the distance to the OLT does not change, so there is no need to re-register the process, minus unnecessary window opening.
  • the OLT will store the corresponding relationship.
  • the OLT continuously sends the corresponding relationship in the downlink.
  • the offline and offline ONUs need to go online again, when the OLT sends its own correspondence to the OLT, The ONU completes the registration directly, rather than opening the quiet window through the OLT to achieve registration.
  • the OLT stores the ranging result of the ONU, the correspondence between the identity information (such as the SN or MAC address of the old ONU) and the allocated bandwidth, and the OLT always broadcasts the corresponding relationship. Until the OLT receives the information sent by the corresponding ONU in the corresponding bandwidth allocation band.
  • a registration device such as an OLT
  • OLT an OLT
  • a discovery module configured to: when the first quiet window needs to be opened, open the first quiet window, and broadcast a discovery request; wherein the first quiet window is used for discovery of an optical network unit; and the optical network unit is detected Identity information sent;
  • a ranging module configured to open a second quiet window, and send a ranging request to the optical network unit; wherein the second quiet window is used for ranging of the optical network unit; receiving a ranging response, and calculating Ranging results.
  • the discovery module is further configured to:
  • the opening of the first quiet window is stopped.
  • the second quiet window is smaller than the first quiet window.
  • the method further includes:
  • An allocation module configured to allocate bandwidth to the optical network unit
  • a storage module configured to hold either of the following:
  • the method further includes:
  • a sending module configured to broadcast or send the corresponding relationship to the optical network unit
  • the sending module is specifically configured to send the correspondence when at least one of the following is satisfied:
  • Another embodiment of the present application provides a registration apparatus including a processor and a computer readable storage medium having instructions stored therein, when the instructions are executed by the processor, implementing the above A registration method.
  • Another embodiment of the present application is directed to a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of any of the registration methods described above.
  • FIG. 8 another embodiment of the present application provides a registration method, including:
  • Step 800 Save any of the following:
  • Step 801 Broadcast or send the correspondence to the ONU.
  • the sequence of sending the information in the corresponding relationship is not limited.
  • the identity information in the corresponding relationship may be sent first, and then the ranging result in the corresponding relationship is sent, and finally, the corresponding relationship is sent.
  • Bandwidth or, first, send the identity information in the corresponding relationship, then send the bandwidth in the corresponding relationship, and finally send the ranging result in the corresponding relationship; or simultaneously send the identity information, the ranging result, and the bandwidth in the corresponding relationship; Wait.
  • the corresponding relationship may be sent until the information sent by the ONU, such as the identity information of the ONU, the data sent by the ONU, or the information sent by the ONU, is received in the uplink bandwidth allocated by the OLT; or, when at least one of the following is satisfied,
  • the method further includes:
  • Step 802 Receive information that is sent by the optical network unit in the bandwidth.
  • the method further includes:
  • the ranging response is received and the ranging result is calculated.
  • FIG. 9 another embodiment of the present application provides a registration method, including:
  • Step 900 Listen to any of the following: the correspondence between the identity information, the ranging result, and the bandwidth; the correspondence between the identity information and the ranging result; the correspondence between the identity information and the bandwidth.
  • Step 901 When the identity information of the identity information and the identity information in the corresponding relationship are the same, perform at least one of the following:
  • a registration device such as an OLT
  • OLT an OLT
  • the storage module is configured to save any one of the following: the correspondence between the identity information of the optical network unit and the bandwidth; the correspondence between the identity information of the optical network unit and the ranging result; the identity information of the optical network unit, and the ranging result Correspondence between bandwidth and bandwidth;
  • a sending module configured to broadcast or send the correspondence to the optical network unit.
  • the method further includes:
  • a receiving module configured to receive information sent by the optical network unit in the bandwidth.
  • the sending module is configured to: send the correspondence when at least one of the following is satisfied:
  • the receiving module is further configured to:
  • the ranging response is received and the ranging result is calculated.
  • the correspondence also includes a ranging result.
  • a registration device such as an ONU
  • a listening module and at least one of the following: an application module and a sending module;
  • the listening module is configured to listen to any one of the following: the correspondence between the identity information, the ranging result, and the bandwidth; the correspondence between the identity information and the ranging result; the correspondence between the identity information and the bandwidth;
  • the application module is configured to apply the ranging result in the correspondence relationship locally when the identity information of the identity is the same as the identity information in the corresponding relationship.
  • the sending module is configured to send information in a bandwidth in the corresponding relationship when the identity information of the identity is the same as the identity information in the corresponding relationship.
  • Another embodiment of the present application provides a registration apparatus including a processor and a computer readable storage medium having instructions stored therein, when the instructions are executed by the processor, implementing the above A registration method.
  • Another embodiment of the present application is directed to a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of any of the registration methods described above.
  • FIG. 12 another embodiment of the present application provides a registration system, including:
  • the OLT is configured to save any one of the following: the correspondence between the identity information, the ranging result, and the bandwidth; the correspondence between the identity information and the ranging result; the correspondence between the identity information and the bandwidth;
  • the ONU is configured to listen to any of the following: the correspondence between the identity information, the ranging result, and the bandwidth; the correspondence between the identity information and the ranging result; the correspondence between the identity information and the bandwidth;
  • the OLT allows the first quiet window to be opened when the OLT is initially working, so that all ONUs complete the registration, then stop opening the first quiet window, and allocate bandwidth to the registered ONU.
  • the registered ONU is in normal operation.
  • the ONU registration process includes the following steps:
  • the OLT opens the first quiet window and sends a broadcast discovery request in the downlink direction.
  • the discovery request in the ITU requests bandwidth allocation for the sequence number, and the discovery request in the IEEE is the discovery request message.
  • the ONU to be registered listens for the discovery request, and when it hears the discovery request, it sends its own identity information to the OLT.
  • the identity information in the ITU is the SN, and the identity information in the IEEE is the MAC address.
  • the OLT detects the discovery response sent by the ONU, finds that the response includes the identity information, opens the second quiet window, and sends a ranging request to the ONU corresponding to the identity information.
  • the ranging request in the ITU is a ranging bandwidth allocation
  • the ranging request in the IEEE is a ranging request message.
  • the ONU listens to the ranging request, and when detecting the ranging request, returns a ranging response to the OLT.
  • the ranging responses of both ITU and IEEE are ranging response messages.
  • the OLT calculates the ranging result, and uses the ranging result for the OLT local or for sending to the ONU.
  • the OLT stops opening the first quiet window, allocates bandwidth to the ONUs that have completed registration, and completes the registered ONUs to enter normal work.
  • the OLT knows that all ONUs to be registered complete registration, including but not limited to any of the following:
  • the network management system notifies the OLT that all ONUs to be registered have completed registration
  • the network management system allows the OLT to stop opening the first quiet window.
  • the OLT When a new ONU wants to register, the OLT starts to periodically open the first quiet window. When the new ONU completes registration, the OLT stops opening the first quiet window. In this process, the service is interrupted or an exception is generated (for example, the delay becomes large, there is a packet loss, etc.).
  • the process of registering when there is a new ONU includes the following steps:
  • the OLT learns that a new ONU is to be registered, and the OLT opens the first quiet window and sends a broadcast discovery request in the downlink direction.
  • the ONU to be registered listens for the discovery request, and when it hears the discovery request, it sends its own identity information to the OLT.
  • the OLT detects the discovery response sent by the ONU, finds that the response includes the identity information, opens the second quiet window, and sends a ranging request to the ONU corresponding to the identity information.
  • the ONU listens to the ranging request, and when detecting the ranging request, returns a ranging response to the OLT.
  • the OLT After receiving the ranging response message, the OLT calculates the ranging result, and uses the ranging result for the OLT local or for sending to the ONU.
  • the OLT stops opening the first quiet window, allocates bandwidth to the ONUs that have completed registration, and completes the registered ONUs to enter normal work.
  • the OLT knows that there are new ONUs to register, including but not limited to any of the following:
  • the network management system allows the OLT to open the first quiet window.
  • the OLT knows that all the ONUs to be registered complete the registration, including but not limited to any of the following:
  • the network management system notifies the OLT that all ONUs to be registered have completed registration
  • the network management system allows the OLT to stop opening the first quiet window.
  • the OLT allows the first quiet window to be opened when the OLT is initially working, so that all ONUs complete the registration, then stop opening the first quiet window, and allocate bandwidth to the registered ONU.
  • the registered ONU is in normal operation.
  • the ONU registration process includes the following steps:
  • the OLT opens the first quiet window and sends a broadcast discovery request in the downlink direction.
  • the ONU to be registered listens for the discovery request, and when it hears the discovery request, it sends its own identity information to the OLT.
  • the OLT detects the discovery response sent by the ONU, finds that the response includes the identity information, opens the second quiet window, and sends a ranging request to the ONU corresponding to the identity information.
  • the ONU listens to the ranging request, and when detecting the ranging request, returns a ranging response to the OLT.
  • the OLT receives the ranging response, calculates the ranging result, and uses the ranging result for the OLT local or for sending to the ONU.
  • the OLT stops opening the first quiet window, allocates bandwidth to the ONUs that have completed registration, and completes the registered ONUs to enter normal work.
  • the OLT knows that all ONUs to be registered complete registration, including but not limited to any of the following:
  • the network management system notifies the OLT that all ONUs to be registered have completed registration
  • the network management system allows the OLT to stop opening the first quiet window.
  • the OLT stores the ranging result of each completed ONU, the correspondence between the identity information (such as the SN or MAC address of the old ONU or the user identity) and the allocated bandwidth, and stores according to the identity information.
  • identity information such as the SN or MAC address of the old ONU or the user identity
  • the OLT can always broadcast the correspondence of the ONUs that have completed the registration; or the OLT can broadcast the corresponding relationship of the ONUs that have been registered when needed. For example, the OLT finds that the ONU broadcasts the corresponding relationship when it is offline.
  • the network management system configures the OLT broadcast correspondence, that is, the network management system sends configuration information to the OLT, and the OLT broadcasts the corresponding relationship after receiving the configuration information.
  • the new ONU still uses the identity of the old ONU.
  • the OLT always broadcasts the identity, ranging result (eqd) and bandwidth allocation until the OLT receives the corresponding bandwidth.
  • the broadcast is stopped and the new ONU completes the registration.
  • the ONU when the ONU re-registers after repair, the ONU still uses the original identity information, and the OLT always broadcasts the correspondence between the identity information, the ranging result (eqd) and the allocated bandwidth until the OLT is in the allocated bandwidth band. After receiving the information sent by the corresponding ONU, the broadcast correspondence is stopped, and the new ONU completes the registration.
  • the ONU when the branch fiber connected to the ONU does not change, the ONU still uses the original identity information, and the OLT always broadcasts the correspondence between the identity information, the ranging result (eqd), and the allocated bandwidth until the OLT is allocated.
  • the bandwidth receives the information sent by the corresponding ONU, the broadcast is stopped and the new ONU completes the registration.
  • the ONU when the branch fiber connected to the ONU changes, the ONU still uses the original identity information, and the OLT always broadcasts the correspondence between the identity information, the ranging result (eqd), and the allocated bandwidth until the OLT allocates bandwidth.
  • the broadcast is stopped.
  • the distance between the OLT and the OLT needs to be re-ranged.
  • the OLT opens a second quiet window and makes a ranging request to the ONU.
  • the ONU listens to the ranging request and replies to the OLT when the ranging request is heard. Ranging response; after receiving the ranging response message, the OLT calculates the ranging result, uses the ranging result for the OLT locally or sends it to the ONU, and the ONU completes the registration.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)

Abstract

本申请实施例公开了一种开放安静窗口的方法和装置以及注册方法、装置和系统,所述开放安静窗口的方法包括:当确定需要开放第一安静窗口时,开放所述第一安静窗口;其中,所述第一安静窗口用于光网络单元的发现。本申请实施例在确定需要开放第一安静窗口时才开放第一安静窗口,而不是周期性地开放第一安静窗口,提高了第一安静窗口的效率,减小了第一安静窗口对数据传输延迟的影响,从而降低了PON系统的传输延迟。

Description

开放安静窗口的方法和装置以及注册方法、装置和系统
相关申请的交叉引用
本申请基于申请号为201810385960.2、申请日为2018年04月26日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请实施例涉及无源光网络(PON,Passive Optical Network)技术但不限于无源光网络技术,尤指一种开放安静窗口的方法和装置以及注册方法、装置和系统。
背景技术
图1为一种无源光网络的架构示意图。如图1所示,光线路终端(OLT,Optical Line Terminal)和光网络单元(ONU,Optical Network Unit)之间的通道既传输数据,也传输管理信息。也就是说,OLT和ONU之间通过一个通道进行通信。随着移动网络的发展,无源光网络逐渐成为移动前传、移动回传、传感网络、车载网络的承载技术之一,这些网络业务在应用过程中对移动网络、甚至作为承载的无源光网络的传输延迟要求很严格。
无源光网络中的传输延迟包括:光传输延迟、开放安静窗口造成的延迟和带宽分配延迟等。
其中,光传输延迟与光纤距离相关,20千米(km)的光纤的传输时间约100微米(μs)。
在传输过程中时不时会出现上行业务延时甚至丢包情况。
发明内容
本申请实施例提供了一种开放安静窗口的方法和装置以及注册方法、装置和系统,能够减小安静窗口对数据传输延迟的影响,从而降低PON系统的传输延迟。
本申请实施例提供了一种开放安静窗口的方法,包括:
当确定需要开放第一安静窗口时,开放所述第一安静窗口;
其中,所述第一安静窗口用于光网络单元的发现。
在本申请实施例中,该方法还包括:
当确定不需要开放所述第一安静窗口时,停止开放所述第一安静窗口。
在本申请实施例中,该方法还包括:
当确定需要开放第二安静窗口时,开放所述第二安静窗口;
其中,所述第二安静窗口用于光网络单元的测距,且所述第二安静窗口小于所述第一安静窗口。
在本申请实施例中,所述第二安静窗口以预估的测距响应到达时刻为中心。
本申请实施例提出了一种开放安静窗口的装置,包括:
开放模块,配置为当确定需要开放第一安静窗口时,开放所述第一安静窗口;
其中,所述第一安静窗口用于光网络单元的发现。
本申请实施例提出了一种开放安静窗口的装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令被所述处理器执行时,实现上述任一种开放安静窗口的方法。
本申请实施例提出了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一种开放安静窗口的方法的步骤。
本申请实施例提出了一种注册方法,包括:
当确定需要开放第一安静窗口时,开放所述第一安静窗口,并广播发现请求;其中,所述第一安静窗口用于光网络单元的发现;
检测所述光网络单元发送的发现响应,开放第二安静窗口,并向所述光网络单元发送测距请求;其中,所述第二安静窗口用于所述光网络单元的测距;
接收到测距响应,计算测距结果。
本申请实施例提出了一种注册装置,包括:
发现模块,配置为当确定需要开放第一安静窗口时,开放所述第一安静窗口,并广播发现请求;其中,所述第一安静窗口用于光网络单元的发现;检测所述光网络单元发送的身份信息;
测距模块,配置为开放第二安静窗口,并向所述光网络单元发送测距请求;其中,所述第二安静窗口用于所述光网络单元的测距;接收到测距响应,计算测距结果。
本申请实施例提出了一种注册装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令被所述处理器执行时,实现上述任一种注册方法。
本申请实施例提出了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一种注册方法的步骤。
本申请实施例提出了一种注册方法,包括:
保存以下任一个:
光网络单元的身份信息和带宽之间的对应关系;光网络单元的身份信息和测距结果之间的对应关系;光网络单元的身份信息、测距结果和带宽之间的对应关系;
广播发送或者向所述光网络单元发送所述对应关系。
在本申请实施例中,该方法还包括:
开放第二安静窗口,并向所述光网络单元发送测距请求;其中,所述第二安静窗口用于所述光网络单元的测距;
接收到测距响应,计算测距结果。
在本申请实施例中,该方法还包括:
接收到所述光网络单元在所述带宽发送的信息。
本申请实施例提出了一种注册方法,包括:
侦听以下任一个:身份信息、测距结果和带宽之间的对应关系;身份信息和测距结果之间的对应关系;身份信息和带宽之间的对应关系;
当自身的身份信息和所述对应关系中的身份信息相同时,执行以下至少之一:
获取所述对应关系中的测距结果,在本地应用所述测距结果;
获取所述对应关系中的带宽,在所述带宽中发送信息。
本申请实施例提出了一种注册装置,包括:
存储模块,配置为保存以下任一个:光网络单元的身份信息和带宽之间的对应关系;光网络单元的身份信息和测距结果之间的对应关系;光网络单元的身份信息、测距结果和带宽之间的对应关系;
发送模块,配置为广播发送或者向所述光网络单元发送所述对应关系。
本申请实施例提出了一种注册装置,包括:侦听模块和以下至少之一:应用模块、发送模块;
侦听模块,配置为侦听以下任一个:身份信息、测距结果和带宽之间的对应关系;身份信息和测距结果之间的对应关系;身份信息和带宽之间的对应关系;
应用模块,配置为当自身的身份信息和所述对应关系中的身份信息相同时,在本地应用所述测距结果;
发送模块,配置为当自身的身份信息和所述对应关系中的身份信息相同时,在所述带宽中发送信息。
本申请实施例提出了一种注册装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令被所述处理器执行时,实现上述任一种注册方法。
本申请实施例提出了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一种注册方法的步骤。
本申请实施例包括:当确定需要开放第一安静窗口时,开放所述第一安静窗口;其中,所述第一安静窗口用于光网络单元的发现。本申请实施例在确定需要开放第一安静窗口时才开放第一安静窗口,而不是周期性地开放第一安静窗口,提高了第一安静窗口的效率,减小了第一安静窗口对数据传输延迟的影响,从而降低了PON系统的传输延迟。
在一个可选的实施例中,当确定需要开放第二安静窗口时,开放所述第二安静窗口;其中,所述第二安静窗口用于光网络单元的测距,且所述第二安静窗口小于所述第一安静窗口。
由于在发现ONU时,可以对OLT和ONU之间的距离进行预估,例如,在发现ONU过程中,OLT给ONU发送发现请求并记录发送发现请求的时刻T1,ONU收到发现请求并向OLT发送发现响应,其中发现响应中携带收到发现请求和发送发现响应之间的时间差T或者相关信息,OLT收到发现响应并记录时刻T2,则OLT和ONU之间的往返时间约为(T2-T1-T),根据光的传播速率v预估OLT和ONU之间的距离D为v(T2-T1-T)/2,即OLT对ONU测距响应的到达时间可以进行预估,例如,假设OLT发送测距请求的时刻为t1,OLT预测ONU接收到测距请求并发出测距响应所需的时间为t,则ONU发送的测距响应到达OLT的时刻约为(t1+T2-T1-T+t),因此为测距开放的安静窗口可以为(t1+T2-T1-T+t-Δt,t1+T2-T1-T+t+Δt),比为ONU发现开放的安静窗口小,给正常工作的ONU带来的延迟也较小,从而降低了PON系统的传输延迟。
本申请实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请实施例而了解。本申请实施例的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图说明
图1为一种无源光网络的架构示意图;
图2为一种的开放安静窗口的方法的示意图;
图3为本申请一个实施例提出的开放安静窗口的方法的流程示意图;
图4为本申请实施例开放安静窗口的方法的示意图;
图5为本申请另一个实施例提出的开放安静窗口的装置的结构组成示意图;
图6为本申请另一个实施例提出的注册方法的流程示意图;
图7为本申请另一个实施例提出的注册装置的结构组成示意图;
图8为本申请另一个实施例提出的注册方法的流程示意图;
图9为本申请另一个实施例提出的注册方法的流程示意图;
图10为本申请另一个实施例提出的注册装置的结构组成示意图;
图11为本申请另一个实施例提出的注册装置的结构组成示意图;
图12为本申请另一个实施例提出的注册系统的结构组成示意图。
具体实施方式
下文中将结合附图对本申请实施例进行详细说明。
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
开放安静窗口用于ONU发现、ONU测距,属于OLT和ONU之间通道连接初始化带来的开销。在安静窗口开放期间,正常工作的ONU不能获得上行带宽,不能与OLT进行正常的通信,上行业务会出现延迟甚至丢包的情况。如图2所示,为了发现位于距离OLT最大20km的ONU,有必要开放200μs的安静窗口;并且,为了实现快速发现ONU,OLT需周期性地开放安静窗口,以发现ONU,该周期与实际应用相关,如果希望ONU能够在秒级别待注册的ONU,则该周期应该是秒级别,即在每1秒中必须开放最大200微秒的安静窗口。
由于安静窗口用于待注册激活的ONU发送上行信号,而其他已经完成注册激活的、正常工作的ONU不能获得上行带宽,不能与OLT进行通常的通信,从而不能在安静窗口发送上行信号,那么如果正常工作的ONU正好在安静窗口开始时有上行数据要发送,则必须要等待安静窗口结束之后才有机会发送上行数据,这种情况下,正常工作的ONU发送的上行数据将可能造成最大200微秒的延迟甚至丢包的情况。
另外,当OLT对ONU进行测距时,也需要开放安静窗口,但实际上OLT在发现ONU时,可以对OLT和ONU之间的距离进行预估,即OLT对ONU测距响应的到达时间可以进行预估,而且用于测距的安静窗口是专门给待测距ONU用的,不需要多个ONU进行竞争,因此为测距开放的安静窗口可以比为ONU发现开放的安静窗口小,给正常工作的ONU带来的延迟也较小。
并且,当ONU离线后重新上线时,还需要重新注册,即需要OLT开放安静窗口来发现ONU和对ONU进行测距。
参见图3,本申请一个实施例提出了一种开放安静窗口的方法,包括:
步骤300、当确定需要开放第一安静窗口时,开放所述第一安静窗口;其中,所述第一安静窗口用于光网络单元的发现。
在本申请实施例中当确定需要开放第一安静窗口时才开放,而非固定的开放。在一些实施例中,在步骤300之前,所述方法还包括,确定是否需要开放第一安静窗口。在本申请实施例中,可以周期性开放第一安静窗口。
在本申请实施例中,可以采用以下任一种方法确定需要开放第一安静窗口。一、确定有光网络单元需要注册。
在一些实施例中,可以采用以下任一种方法确定有ONU需要注册。
一)、根据预配置的待注册的光网络单元的数量确定有所述光网络单元需要注册。例如,当已完成注册的ONU的数量小于预配置的待注册的ONU的数量,或预配置的待注册的ONU的数量大于或等于1时,确定有ONU需要注册。
二)、根据预配置的所述待注册的光网络单元的身份信息确定有所述光网络单元需要注册。例如,当预配置的身份信息对应的ONU中存在未注册的ONU,或存在预配置的身份信息时,确定有ONU需要注册。
三)、根据第二通知信息确定有所述光网络单元需要注册。也就是说,接收到第二通知信息即确定有ONU需要注册。该第二通知信息可以来自于网管系统。
二、根据第一通知信息确定需要开放第一安静窗口。也就是说,接收到第一通知信息即确定需要开放第一安静窗口。该第一通知信息可以来自于网管系统。
在本申请另一个实施例中,该方法还包括:
步骤301、当确定不需要开放所述第一安静窗口时,停止开放所述第一安静窗口。
所述步骤301包括但不限于以下内容:
若确定出不需要开放第一安静窗口时,在开放第一安静窗口之前延迟开放所述第一安静窗口,或者开放第一安静窗口的过程中,提前结束开放所述第一安静窗口。
在本申请实施例中,可以采用以下任一种方法确定不需要开放第一安静窗口:
一、确定所有待注册的光网络单元均完成注册。
在一些实施例中,可以采用以下任一种方法确定所有待注册的ONU均完成注册。
一)、根据预配置的待注册的ONU的数量确定所有待注册的ONU均完成注册。例如,当完成注册的光网络单元的数量等于预配置的待注册的光网络单元的数量,或待注册的ONU的数量为0时,确定所有待注册的ONU均完成注册。
二)、根据预配置的待注册的ONU的身份信息确定所有待注册的ONU均完成注册。例如,当预配置的待注册的光网络单元的身份信息对应的光网络单元均完成注册,或者没有预配置的待注册的ONU的身份信息时,确 定所有待注册的ONU均完成注册。
三)、在预设时间内没有光网络单元进行注册。
四)、根据第四通知信息确定所有所述待注册的光网络单元均完成注册。也就是说,接收到第四通知信息即确定所有待注册的ONU均完成注册。该第四通知信息可以来自于网管系统。
二、根据第三通知信息确定不需要开放第一安静窗口。也就是说,接收到第三通知信息即确定不需要开放第一安静窗口。该第三通知信息可以来自于网管系统。
在本申请另一个实施例中,该方法还包括:
当确定需要开放第二安静窗口时,开放所述第二安静窗口;
其中,所述第二安静窗口用于光网络单元的测距,且所述第二安静窗口小于所述第一安静窗口。
此处的第二安静窗口小于所述第一安静窗口为:第二安静窗口的时长小于第一安静窗口的时长。
在一些实施例中,所述方法可包括:
确定需要开放的安静窗口的类型,
若确定需要开放第一安静窗口则开放第一安静窗口;若需要开放第二安静窗口则开放第二安静窗口。
在还有一些实施例中,若确定出不需要开放第一安静窗口和第二安静窗口,则不开放安静窗口。
在本申请实施例中,由于在发现ONU时,可以对OLT和ONU之间的距离进行预估,例如,在发现ONU过程中,OLT给ONU发送发现请求并记录发送发现请求的时刻T1,ONU收到发现请求并向OLT发送发现响应,其中发现响应中携带收到发现请求和发送发现响应之间的时间差T或者相关信息,OLT收到发现响应并记录时刻T2,则OLT和ONU之间的往返时间约为(T2-T1-T),根据光的传播速率v预估OLT和ONU之间的距离D为v(T2-T1-T)/2,即OLT对ONU测距响应的到达时间可以进行预估,例如,假设OLT发送测距请求的时刻为t1,OLT预测ONU接收到测距请求并发 出测距响应所需的时间为t,则ONU发送的测距响应到达OLT的时刻约为(t1+T2-T1-T+t),因此为测距开放的安静窗口可以比为ONU发现开放的安静窗口小,给正常工作的ONU带来的延迟也较小,从而降低了PON系统的传输延迟。
例如,第二安静窗口以预估的测距响应到达时刻为中心的一段时间,如(t1+T2-T1-T+t-Δt,t1+T2-T1-T+t+Δt)。
在本申请实施例中,OLT不再周期性地开放安静窗口,而是在需要的时候才开放安静窗口,如图4所示,提高了安静窗口的效率,减小了安静窗口对数据延迟的影响。例如,在有ONU需要注册时才开放安静窗口,当没有ONU需要注册时,停止开放安静窗口。
例如,在部署PON系统时,让所有ONU都完成注册,注册过程大致包括:OLT开放第一安静窗口,ONU在第一安静窗口内报告自身的标识,OLT开放第二安静窗口,对ONU进行测距。在这个注册过程中ONU不通业务,当所有ONU完成注册后,再开通业务。后续工作过程中不再周期性的开放安静窗口,直到有需要,例如有新的ONU加入,或者,有旧的ONU需要更换。
当需要加入新的ONU时,当作业务升级,允许业务中断或者产生异常(例如延迟变大、有丢包等),OLT开始周期性开放第一安静窗口,当新的ONU完成注册后,OLT停止开放第一安静窗口。
参见图5,本申请另一个实施例提出了一种开放安静窗口的装置(如OLT),包括:
开放模块,配置为当确定需要开放第一安静窗口时,开放所述第一安静窗口;
其中,所述第一安静窗口用于光网络单元的发现。
在本申请实施例中,开放模块配置为:
当确定需要开放第一安静窗口时,周期性开放所述第一安静窗口。
在本申请实施例中,开放模块配置为采用以下任一种方法确定需要开放第一安静窗口:
确定有光网络单元需要注册;
根据第一通知信息确定需要开放第一安静窗口。
在本申请实施例中,开放模块配置为采用以下任一种方法确定有光网络单元需要注册:
根据预配置的待注册的光网络单元的数量确定有所述光网络单元需要注册;
根据预配置的所述待注册的光网络单元的身份信息确定有所述光网络单元需要注册;
根据第二通知信息确定有所述光网络单元需要注册。
在本申请另一个实施例中,开放模块还配置为:
当确定不需要开放所述第一安静窗口时,停止开放所述第一安静窗口。
在本申请实施例中,开放模块具体用于采用以下任一种方法确定不需要开放第一安静窗口:
确定所有待注册的光网络单元均完成注册;
根据第三通知信息确定不需要开放第一安静窗口。
在本申请实施例中,开放模块配置为采用以下任一种方法确定所有待注册的光网络单元均完成注册:
根据预配置的待注册的光网络单元的数量确定所有待注册的光网络单元均完成注册;
根据预配置的待注册的光网络单元的身份信息确定所有待注册的光网络单元均完成注册;
在预设时间内没有光网络单元进行注册;
根据第四通知信息确定所有所述待注册的光网络单元均完成注册。
在本申请另一个实施例中,开放模块还配置为:
当确定需要开放第二安静窗口时,开放所述第二安静窗口;
其中,所述第二安静窗口用于光网络单元的测距,且所述第二安静窗口小于所述第一安静窗口。
本申请另一个实施例提出了一种开放安静窗口的装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令被所述处理器执行时,实现上述任一种开放安静窗口的方法。
本申请另一个实施例提出了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一种开放安静窗口的方法的步骤。
参见图6,本申请另一个实施例提出了一种注册方法,包括:
步骤600、当确定需要开放第一安静窗口时,开放所述第一安静窗口,并广播发现请求;其中,所述第一安静窗口用于光网络单元的发现。
在本申请实施例中,可以周期性开放第一安静窗口。
在本申请实施例中,可以采用以下任一种方法确定需要开放第一安静窗口。
一、确定有光网络单元需要注册。
在一些实施例中,可以采用以下任一种方法确定有ONU需要注册。
一)、根据预配置的待注册的光网络单元的数量确定有所述光网络单元需要注册。例如,当已完成注册的ONU的数量小于预配置的待注册的ONU的数量,或预配置的待注册的ONU的数量大于或等于1时,确定有ONU需要注册。
二)、根据预配置的所述待注册的光网络单元的身份信息确定有所述光网络单元需要注册。例如,当预配置的身份信息对应的ONU中存在未注册的ONU,或存在预配置的身份信息时,确定有ONU需要注册。
三)、根据第二通知信息确定有所述光网络单元需要注册。也就是说,接收到第二通知信息即确定有ONU需要注册。该第二通知信息可以来自于网管系统。
二、根据第一通知信息确定需要开放第一安静窗口。也就是说,接收到第一通知信息即确定需要开放第一安静窗口。该第一通知信息可以来自于网管系统。
在本申请实施例中,国际电信联盟(ITU,International  Telecommunication Union)中的发现请求为序列号请求带宽分配,电气和电子工程师协会(IEEE,Institute of Electrical and Electronics Engineers)中发现请求为注册请求消息。
在本申请实施例中,待注册的ONU侦听发现请求,当侦听到发现请求时,向OLT发送自身的身份信息。
步骤601、检测所述光网络单元发送的发现响应,开放第二安静窗口,并向所述光网络单元发送测距请求;其中,所述第二安静窗口用于所述光网络单元的测距。
在本申请实施例中,发现响应包括身份信息。
在本申请实施例中,当第二安静窗口小于所述第一安静窗口时,减小了第二安静窗口对数据传输延迟的影响,从而降低了PON系统的传输延迟。
例如,第二安静窗口以预估的测距响应到达时刻为中心。
在本申请实施例中,ITU中的身份信息为序列号(SN,Serial Number),IEEE中的身份信息为媒体访问控制(MAC,Media Access Control)地址。
在本申请实施例中,ITU中的测距请求为测距带宽分配,IEEE中的测距请求为测距请求消息。
在本申请实施例中,ONU侦听测距请求,当侦听到测距请求时,向OLT回复测距响应。
步骤602、接收到测距响应,计算测距结果。
在本申请实施例中,ITU和IEEE中的测距响应均为测距响应消息。
在本申请实施例中,测距结果可以用于本地或发送给ONU。
在本申请另一个实施例中,该方法还包括:
当确定不需要开放所述第一安静窗口时,停止开放所述第一安静窗口。
在本申请实施例中,可以采用以下任一种方法确定不需要开放第一安静窗口:
一、确定所有待注册的光网络单元均完成注册。
在一些实施例中,可以采用以下任一种方法确定所有待注册的ONU均 完成注册。
一)、根据预配置的待注册的ONU的数量确定所有待注册的ONU均完成注册。例如,当完成注册的光网络单元的数量等于预配置的待注册的光网络单元的数量,或待注册的ONU的数量为0时,确定所有待注册的ONU均完成注册。
二)、根据预配置的待注册的ONU的身份信息确定所有待注册的ONU均完成注册。例如,当预配置的待注册的光网络单元的身份信息对应的光网络单元均完成注册,或者没有预配置的待注册的ONU的身份信息时,确定所有待注册的ONU均完成注册。
三)、在预设时间内没有光网络单元进行注册。
四)、根据第四通知信息确定所有所述待注册的光网络单元均完成注册。也就是说,接收到第四通知信息即确定所有待注册的ONU均完成注册。该第四通知信息可以来自于网管系统。
二、根据第三通知信息确定不需要开放第一安静窗口。也就是说,接收到第三通知信息即确定不需要开放第一安静窗口。该第三通知信息可以来自于网管系统。
在本申请另一个实施例中,该方法还包括:
为所述光网络单元分配带宽;
保存以下任一个:
发现响应中的身份信息、所述测距结果和分配的带宽之间的对应关系;
所述身份信息和所述测距结果之间的对应关系;
身份信息和分配的带宽之间的对应关系。
在本申请实施例中,可以在OLT下所有待注册的ONU均完成注册时,给完成注册的ONU分配带宽,完成注册的ONU进入正常工作状态。
在本申请另一个实施例中,该方法还包括:
广播发送所述对应关系,或者,向指定身份信息的ONU发送对应关系;接收ONU在带宽发送的信息。
需要注册的ONU侦听OLT发送的这种对应关系,如果自身的身份信息和对应关系中的身份信息相同,则ONU获取该对应关系;获得测距结果并在本地应用该测距结果,例如在ONU发送数据时延迟与测距结果相应的时间;获得带宽(带宽包括发送开始时间+结束时间或时间长度),ONU在该带宽中向OLT发送信息,ONU向OLT发送的信息可以是ONU的身份信息、ONU发送的数据、或者其他信息。
本申请实施例对广播对应关系中的信息的先后次序不作限定,例如,在发送对应关系时,可以先发送对应关系中的身份信息,再发送对应关系中的测距结果,最后发送对应关系中的带宽;或者,先发送对应关系中的身份信息,再发送对应关系中的带宽,最后发送对应关系中的测距结果;或者,同时发送对应关系中的身份信息、测距结果和带宽;等等。
在本申请实施例中,可以广播发送或者向指定身份信息的ONU发送对应关系,直到在OLT所分配的上行带宽中接收到ONU发送的信息,如ONU的身份信息、ONU发送的数据,或者其他ONU发送的信息;或者,当满足以下至少之一时广播发送或者向指定身份信息的ONU发送所述对应关系:
检测到所述光网络单元离线;
接收到所述光网络单元的配置信息。
在本申请实施例中,对于OLT和ONU之间的光分配网络(ODN,Optical Distribution Network)未发生改变的分支光纤连接的ONU,由于ODN分支光纤未发生改变时,与该分支光纤连接的ONU和OLT之间的距离不变,因此,不需要重新注册过程,减去不必要的安静窗口开放。ONU一旦完成注册,OLT将存储对应关系,OLT在ONU下线、离线后,在下行持续发送对应关系,当下线、离线的ONU需要再次上线时,获得到OLT发送的属于自己的对应关系时,ONU直接完成注册,而不要通过OLT开放安静窗口来实现注册。
例如,当需要更换旧的ONU为新的ONU时,OLT存储该ONU的测距结果、身份信息(例如旧ONU的SN或者MAC地址)和分配的带宽之间的对应关系,OLT一直广播对应关系,直到OLT在相应的带宽分配带收 到相应ONU发送的信息。
参见图7,本申请另一个实施例提出了一种注册装置(如OLT),包括:
发现模块,用于当确定需要开放第一安静窗口时,开放所述第一安静窗口,并广播发现请求;其中,所述第一安静窗口用于光网络单元的发现;检测所述光网络单元发送的身份信息;
测距模块,用于开放第二安静窗口,并向所述光网络单元发送测距请求;其中,所述第二安静窗口用于所述光网络单元的测距;接收到测距响应,计算测距结果。
在本申请另一个实施例中,发现模块还用于:
当确定不需要开放所述第一安静窗口时,停止开放所述第一安静窗口。
在本申请实施例中,所述第二安静窗口小于所述第一安静窗口。
在本申请另一个实施例中,还包括:
分配模块,配置为为所述光网络单元分配带宽;
存储模块,配置为保存以下任一个:
所述发现响应中的身份信息、所述测距结果和分配的带宽之间的对应关系;
所述身份信息和测距结果之间的对应关系;
所述身份信息和分配的带宽之间的对应关系。
在本申请另一个实施例中,还包括:
发送模块,用于广播发送或者向所述光网络单元发送所述对应关系;
接收到所述光网络单元在所述带宽发送的信息。
在本申请实施例中,发送模块具体用于当满足以下至少之一时发送所述对应关系:
检测到所述光网络单元离线;
接收到ONU的配置信息。
本申请另一个实施例提出了一种注册装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令被所述处理器执行时,实现上述任一种注册方法。
本申请另一个实施例提出了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一种注册方法的步骤。
参见图8,本申请另一个实施例提出了一种注册方法,包括:
步骤800、保存以下任一个:
光网络单元的身份信息和带宽之间的对应关系;光网络单元的身份信息和测距结果之间的对应关系;光网络单元的身份信息、测距结果和带宽之间的对应关系。
步骤801、广播发送或者向ONU发送所述对应关系。
本申请实施例对发送对应关系中的信息的先后次序不作限定,例如,在发送对应关系时,可以先发送对应关系中的身份信息,再发送对应关系中的测距结果,最后发送对应关系中的带宽;或者,先发送对应关系中的身份信息,再发送对应关系中的带宽,最后发送对应关系中的测距结果;或者,同时发送对应关系中的身份信息、测距结果和带宽;等等。
其中,可以发送对应关系,直到在OLT所分配的上行带宽中接收到ONU发送的信息,如ONU的身份信息、ONU发送的数据,或者其他ONU发送的信息;或者,当满足以下至少之一时发送所述对应关系:
检测到所述光网络单元离线;
接收到所述光网络单元的配置信息。
在本申请另一个实施例中,该方法还包括:
步骤802、接收到所述光网络单元在所述带宽发送的信息。
在本申请另一个实施例中,该方法还包括:
开放第二安静窗口,并向所述光网络单元发送测距请求;其中,所述第二安静窗口用于所述光网络单元的测距;
接收到测距响应,计算测距结果。
参见图9,本申请另一个实施例提出了一种注册方法,包括:
步骤900、侦听以下任一个:身份信息、测距结果和带宽之间的对应关系;身份信息和测距结果之间的对应关系;身份信息和带宽之间的对应关系。
步骤901、当自身的身份信息和所述对应关系中的身份信息相同时,执行以下至少之一:
获取所述对应关系中的测距结果,在本地应用所述测距结果;
获取所述对应关系中的带宽,在所述带宽中发送信息。
参见图10、本申请另一个实施例提出了一种注册装置(如OLT),包括:
存储模块,配置为保存以下任一个:光网络单元的身份信息和带宽之间的对应关系;光网络单元的身份信息和测距结果之间的对应关系;光网络单元的身份信息、测距结果和带宽之间的对应关系;
发送模块,配置为广播发送或者向所述光网络单元发送所述对应关系。
在本申请另一个实施例中,还包括:
接收模块,配置为接收到所述光网络单元在所述带宽发送的信息。
其中,发送模块配置为:当满足以下至少之一时发送所述对应关系:
检测到所述光网络单元离线;
接收到所述光网络单元的配置信息。
在本申请另一个实施例中,接收模块还用于:
开放第二安静窗口,并向所述光网络单元发送测距请求;其中,所述第二安静窗口用于所述光网络单元的测距;
接收到测距响应,计算测距结果。
其中,所述对应关系还包括测距结果。
参见图11,本申请另一个实施例提出了一种注册装置(如ONU),包括:侦听模块和以下至少之一:应用模块、发送模块;
侦听模块,配置为侦听以下任一个:身份信息、测距结果和带宽之间的对应关系;身份信息和测距结果之间的对应关系;身份信息和带宽之间的对应关系;
应用模块,配置为当自身的身份信息和所述对应关系中的身份信息相同时,在本地应用所述对应关系中的测距结果。
发送模块,配置为当自身的身份信息和所述对应关系中的身份信息相同时,在所述对应关系中的带宽发送信息。
本申请另一个实施例提出了一种注册装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令被所述处理器执行时,实现上述任一种注册方法。
本申请另一个实施例提出了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一种注册方法的步骤。
参见图12,本申请另一个实施例提出了一种注册系统,包括:
OLT,配置为保存以下任一个:身份信息、测距结果和带宽之间的对应关系;身份信息和测距结果之间的对应关系;身份信息和带宽之间的对应关系;
ONU,配置为侦听以下任一个:身份信息、测距结果和带宽之间的对应关系;身份信息和测距结果之间的对应关系;身份信息和带宽之间的对应关系;
当自身的身份信息和所述对应关系中的身份信息相同时,执行以下至少之一:
获取所述对应关系中的测距结果,在本地应用所述测距结果;
获取所述对应关系中的带宽,在所述带宽中发送信息。
下面通过具体示例详细说明本申请实施例的具体实现方式。
示例1
在初始部署PON系统、或者ODN发生重大变化时,OLT初始工作时,OLT允许开放第一安静窗口,让所有ONU都完成注册,再停止开放第一安 静窗口,给完成注册的ONU分配带宽,完成注册的ONU进入正常工作。
ONU注册过程包括以下步骤:
1、OLT打开第一安静窗口,并在下行方向发送广播发现请求。
ITU中的发现请求为序列号请求带宽分配,IEEE中的发现请求为发现请求消息。
2、待注册的ONU侦听发现请求,当侦听到发现请求时,向OLT发送自身的身份信息。
ITU中的身份信息为SN,IEEE中的身份信息为MAC地址。
3、OLT检测到ONU发送的发现响应,发现响应包括身份信息,开放第二安静窗口,并向该身份信息对应的ONU发送测距请求。
ITU中的测距请求为测距带宽分配,IEEE中的测距请求为测距请求消息。
4、ONU侦听测距请求,当侦听到测距请求时,向OLT回复测距响应。
ITU和IEEE的测距响应均为测距响应消息。
5、OLT收到测距响应后,计算测距结果,将测距结果用于OLT本地或者发送给ONU。
6、当OLT下的所有待注册ONU都完成注册时,OLT停止开放第一安静窗口,并给完成注册的ONU分配带宽,完成注册的ONU进入正常工作。
OLT获知所有待注册的ONU完成注册的方式包括但不限于以下任一种:
(1)预配置待注册的ONU的数量,当完成注册的ONU达到待注册的ONU数量时,认为所有待注册的ONU完成注册;
(2)预配置待注册ONU的身份信息库,当库中所有的ONU完成注册时,认为所有待注册的ONU完成注册;
(3)在规定时间内没有ONU继续进行注册时,认为所有待注册的ONU完成注册;
(4)网管系统通知OLT所有待注册ONU已经完成注册;
(5)网管系统让OLT停止开放第一安静窗口。
示例2
当有新的ONU要注册时,OLT开始周期性开放第一安静窗口,当新的ONU完成注册后,OLT停止开放第一安静窗口。在这个过程中允许业务中断或者产生异常(例如延迟变大、有丢包等)。
当有新的ONU要注册的过程包括以下步骤:
1、OLT获知有新的ONU要注册,OLT打开第一安静窗口,并在下行方向发送广播发现请求。
2、待注册的ONU侦听发现请求,当侦听到发现请求时,向OLT发送自身的身份信息。
3、OLT检测到ONU发送的发现响应,发现响应包括身份信息,开放第二安静窗口,并向该身份信息对应的ONU发送测距请求。
4、ONU侦听测距请求,当侦听到测距请求时,向OLT回复测距响应。
5、OLT收到测距响应消息后,计算测距结果,将测距结果用于OLT本地或者发送给ONU。
6、当新的ONU都注册时,OLT停止开放第一安静窗口,并给完成注册的ONU分配带宽,完成注册的ONU进入正常工作。
OLT获知有新的ONU要注册的方式包括但不限于以下任一种:
(1)当预配置有待注册的ONU的数量时,认为有新的ONU要注册;
(2)当预配置有待注册的ONU的身份信息库时,认为有新的ONU要注册;
(3)网管系统让OLT允许开放第一安静窗口。
如示例1,OLT获知所有待注册的ONU完成注册的方式包括但不限于以下任一种:
(1)预配置待注册的ONU的数量,当完成注册的ONU达到待注册的ONU数量时,认为所有待注册的ONU完成注册;
(2)预配置待注册ONU的身份信息库,当库中所有的ONU完成注册 时,认为所有待注册的ONU完成注册;
(3)在规定时间内没有ONU继续进行注册时,认为所有待注册的ONU完成注册;
(4)网管系统通知OLT所有待注册ONU已经完成注册;
(5)网管系统让OLT停止开放第一安静窗口。
示例3
在初始部署PON系统、或者ODN发生重大变化时,OLT初始工作时,OLT允许开放第一安静窗口,让所有ONU都完成注册,再停止开放第一安静窗口,给完成注册的ONU分配带宽,完成注册的ONU进入正常工作。
ONU注册过程包括以下步骤:
1、OLT打开第一安静窗口,并在下行方向发送广播发现请求。
2、待注册的ONU侦听发现请求,当侦听到发现请求时,向OLT发送自身的身份信息。
3、OLT检测到ONU发送的发现响应,发现响应包括身份信息,开放第二安静窗口,并向该身份信息对应的ONU发送测距请求。
4、ONU侦听测距请求,当侦听到测距请求时,向OLT回复测距响应。
5、OLT收到测距响应,计算测距结果,将测距结果用于OLT本地或者发送给ONU。
6、当OLT下的所有待注册ONU都完成注册时,OLT停止开放第一安静窗口,并给完成注册的ONU分配带宽,完成注册的ONU进入正常工作。
OLT获知所有待注册的ONU完成注册的方式包括但不限于以下任一种:
(1)预配置待注册的ONU的数量,当完成注册的ONU达到待注册的ONU数量时,认为所有待注册的ONU完成注册;
(2)预配置待注册ONU的身份信息库,当库中所有的ONU完成注册时,认为所有待注册的ONU完成注册;
(3)在规定时间内没有ONU继续进行注册时,认为所有待注册的ONU 完成注册;
(4)网管系统通知OLT所有待注册ONU已经完成注册;
(5)网管系统让OLT停止开放第一安静窗口。
OLT存储各完成注册的ONU的测距结果、身份信息(例如旧ONU的SN或者MAC地址或者用户身份)和分配的带宽之间的对应关系,根据身份信息存储。
OLT可以一直广播已完成注册的ONU的对应关系;或者,OLT也可以在需要的时候才广播已完成注册的ONU的对应关系。例如,OLT发现ONU离线时广播对应关系;又如,网管系统配置OLT广播对应关系,即网管系统向OLT发送配置信息,OLT接收到配置信息后广播对应关系。
例如,当需要更换旧的ONU为新的ONU时,新的ONU仍然使用旧ONU的身份标识,OLT一直广播身份标识、测距结果(eqd)和带宽分配,直到OLT在相应的带宽分配带收到相应ONU发送的信息,则停止广播,新的ONU完成注册。
又如,当ONU进行修理后重新注册时,ONU仍然延用原来的身份信息,OLT一直广播身份信息、测距结果(eqd)和分配的带宽之间的对应关系,直到OLT在分配的带宽带收到相应ONU发送的信息,则停止广播对应关系,新的ONU完成注册。
又如,当连接ONU的分支光纤未发生变化时,ONU仍然延用原来的身份信息,OLT一直广播身份信息、测距结果(eqd)和分配的带宽之间的对应关系,直到OLT在分配的带宽收到相应ONU发送的信息,则停止广播,新的ONU完成注册。
又如,当连接ONU的分支光纤发生变化时,ONU仍然延用原来的身份信息,OLT一直广播身份信息、测距结果(eqd)和分配的带宽之间的对应关系,直到OLT在分配的带宽收到相应ONU发送的信息,则停止广播。由于与OLT之间的距离发生变化,需要进行重新测距,OLT开放第二安静窗口,并向ONU发生测距请求;ONU侦听测距请求,当侦听到测距请求时,向OLT回复测距响应;OLT收到测距响应消息后,计算测距结果,将 测距结果用于OLT本地或者发送给ONU,ONU完成注册。
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
虽然本申请实施例所揭露的实施方式如上,但所述的内容仅为便于理解本申请实施例而采用的实施方式,并非用以限定本申请实施例。任何本申请实施例所属领域内的技术人员,在不脱离本申请实施例所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请实施例的专利保护范围,仍须以所附的权利要求书所界定的范围为准。

Claims (30)

  1. 一种开放安静窗口的方法,包括:
    当确定需要开放第一安静窗口时,开放所述第一安静窗口;
    其中,所述第一安静窗口用于光网络单元的发现。
  2. 根据权利要求1所述的方法,其中,其中,周期性开放所述第一安静窗口。
  3. 根据权利要求1所述的方法,其中,其中,所述确定需要开放第一安静窗口包括以下任一种:
    确定有光网络单元需要注册;
    根据第一通知信息确定需要开放第一安静窗口。
  4. 根据权利要求3所述的方法,其中,其中,所述确定有光网络单元需要注册包括以下任一种:
    根据预配置的待注册的光网络单元的数量确定有所述光网络单元需要注册;
    根据预配置的所述待注册的光网络单元的身份信息确定有所述光网络单元需要注册;
    根据第二通知信息确定有所述光网络单元需要注册。
  5. 根据权利要求1~4任一项所述的方法,其中,该方法还包括:
    当确定不需要开放所述第一安静窗口时,停止开放所述第一安静窗口。
  6. 根据权利要求5所述的方法,其中,其中,所述确定不需要开放第一安静窗口包括以下任一种:
    确定所有待注册的光网络单元均完成注册;
    根据第三通知信息确定不需要开放第一安静窗口。
  7. 根据权利要求6所述的方法,其中,其中,所述确定所有待注册的光网络单元均完成注册包括以下任一种:
    根据预配置的待注册的光网络单元的数量确定所有待注册的光网络单元均完成注册;
    根据预配置的待注册的光网络单元的身份信息确定所有待注册的光网络单元均完成注册;
    在预设时间内没有光网络单元进行注册;
    根据第四通知信息确定所有所述待注册的光网络单元均完成注册。
  8. 根据权利要求1~4任一项所述的方法,其中,该方法还包括:
    当确定需要开放第二安静窗口时,开放所述第二安静窗口;
    其中,所述第二安静窗口用于光网络单元的测距,且所述第二安静窗口小于所述第一安静窗口。
  9. 根据权利要求8所述的方法,其中,所述第二安静窗口以预估的测距响应到达时刻为中心。
  10. 一种开放安静窗口的装置,包括:
    开放模块,配置为当确定需要开放第一安静窗口时,开放所述第一安静窗口;
    其中,所述第一安静窗口用于光网络单元的发现。
  11. 一种开放安静窗口的装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,其中,当所述指令被所述处理器执行时,实现如权利要求1~9任一项所述的开放安静窗口的方法。
  12. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1~9任一项所述的开放安静窗口的方法的步骤。
  13. 一种注册方法,包括:
    当确定需要开放第一安静窗口时,开放所述第一安静窗口,并广播发现请求;其中,所述第一安静窗口用于光网络单元的发现;
    检测所述光网络单元发送的发现响应,开放第二安静窗口,并向所述光网络单元发送测距请求;其中,所述第二安静窗口用于所述光网络单元 的测距;
    接收到测距响应,计算测距结果。
  14. 根据权利要求13所述的注册方法,其中,该方法还包括:
    当确定不需要开放所述第一安静窗口时,停止开放所述第一安静窗口。
  15. 根据权利要求13或14所述的注册方法,其中,其中,所述第二安静窗口小于所述第一安静窗口。
  16. 根据权利要求13或14所述的注册方法,其中,该方法还包括:
    保存以下任一个:
    所述发现响应中的身份信息、所述测距结果和分配的带宽之间的对应关系;
    所述身份信息和测距结果之间的对应关系;
    所述身份信息和分配的带宽之间的对应关系。
  17. 根据权利要求16所述的注册方法,其中,该方法还包括:
    广播发送或者向所述光网络单元发送所述对应关系;
    接收到所述光网络单元在所述带宽发送的信息。
  18. 根据权利要求17所述的注册方法,其中,其中,当满足以下至少之一时发送所述对应关系:
    检测到所述光网络单元离线;
    接收到所述光网络单元的配置信息。
  19. 一种注册装置,包括:
    发现模块,配置为当确定需要开放第一安静窗口时,开放所述第一安静窗口,并广播发现请求;其中,所述第一安静窗口用于光网络单元的发现;检测所述光网络单元发送的身份信息;
    测距模块,用于开放第二安静窗口,并向所述光网络单元发送测距请求;其中,所述第二安静窗口用于所述光网络单元的测距;接收到测距响应,计算测距结果。
  20. 一种注册装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,其中,当所述指令被所述处理器执行时,实现如权利要求13~18任一项所述的注册方法。
  21. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求13~18任一项所述的注册方法的步骤。
  22. 一种注册方法,包括:
    保存以下任一个:
    光网络单元的身份信息和带宽之间的对应关系;光网络单元的身份信息和测距结果之间的对应关系;光网络单元的身份信息、测距结果和带宽之间的对应关系;
    广播发送或者向所述光网络单元发送所述对应关系。
  23. 根据权利要求22所述的注册方法,其中,其中,当满足以下至少之一时发送所述对应关系:
    检测到所述光网络单元离线;
    接收到所述光网络单元的配置信息。
  24. 根据权利要求22所述的注册方法,其中,该方法还包括:
    开放第二安静窗口,并向所述光网络单元发送测距请求;其中,所述第二安静窗口用于所述光网络单元的测距;
    接收到测距响应,计算测距结果。
  25. 根据权利要求22所述的注册方法,其中,该方法还包括:
    接收到所述光网络单元在所述带宽发送的信息。
  26. 一种注册方法,包括:
    侦听以下任一个:身份信息、测距结果和带宽之间的对应关系;身份信息和测距结果之间的对应关系;身份信息和带宽之间的对应关系;
    当自身的身份信息和所述对应关系中的身份信息相同时,执行以下至少之一:
    获取所述对应关系中的测距结果,在本地应用所述测距结果;
    获取所述对应关系中的带宽,在所述带宽中发送信息。
  27. 一种注册装置,包括:
    存储模块,配置为保存以下任一个:光网络单元的身份信息和带宽之间的对应关系;光网络单元的身份信息和测距结果之间的对应关系;光网络单元的身份信息、测距结果和带宽之间的对应关系;
    发送模块,配置为广播发送或者向所述光网络单元发送所述对应关系。
  28. 一种注册装置,包括:侦听模块和以下至少之一:应用模块、发送模块;
    侦听模块,配置为侦听以下任一个:身份信息、测距结果和带宽之间的对应关系;身份信息和测距结果之间的对应关系;身份信息和带宽之间的对应关系;
    应用模块,配置为当自身的身份信息和所述对应关系中的身份信息相同时,在本地应用所述测距结果;
    发送模块,配置为当自身的身份信息和所述对应关系中的身份信息相同时,在所述带宽中发送信息。
  29. 一种注册装置,包括处理器和计算机可读存储介质,所述计算机可读存储介质中存储有指令,其中,当所述指令被所述处理器执行时,实现如权利要求22~26任一项所述的注册方法。
  30. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求22~26任一项所述的注册方法的步骤。
PCT/CN2019/077353 2018-04-26 2019-03-07 开放安静窗口的方法和装置以及注册方法、装置和系统 Ceased WO2019205823A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US17/049,598 US11272272B2 (en) 2018-04-26 2019-03-07 Method and apparatus for opening quiet window, and registration method, apparatus and system
EP19792791.6A EP3787308A4 (en) 2018-04-26 2019-03-07 SILENT WINDOW OPENING PROCESS AND APPARATUS, AND REGISTRATION METHOD, APPARATUS AND SYSTEM
US17/589,059 US11889243B2 (en) 2018-04-26 2022-01-31 Method and apparatus for opening quiet window, and registration method, apparatus and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810385960.2 2018-04-26
CN201810385960.2A CN110418217A (zh) 2018-04-26 2018-04-26 开放安静窗口的方法和装置以及注册方法、装置和系统

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US17/049,598 A-371-Of-International US11272272B2 (en) 2018-04-26 2019-03-07 Method and apparatus for opening quiet window, and registration method, apparatus and system
US17/589,059 Continuation US11889243B2 (en) 2018-04-26 2022-01-31 Method and apparatus for opening quiet window, and registration method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2019205823A1 true WO2019205823A1 (zh) 2019-10-31

Family

ID=68294397

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/077353 Ceased WO2019205823A1 (zh) 2018-04-26 2019-03-07 开放安静窗口的方法和装置以及注册方法、装置和系统

Country Status (4)

Country Link
US (2) US11272272B2 (zh)
EP (1) EP3787308A4 (zh)
CN (2) CN116980783A (zh)
WO (1) WO2019205823A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116980783A (zh) * 2018-04-26 2023-10-31 中兴通讯股份有限公司 开放安静窗口的方法和装置以及注册方法、装置
CN112511918B (zh) * 2020-03-07 2025-07-25 中兴通讯股份有限公司 注册方法和设备、写信息方法、光线路终端、光网络单元
US12040831B2 (en) * 2020-04-14 2024-07-16 Nippon Telegraph And Telephone Corporation Optical communication system and master station
CN115225195A (zh) * 2021-04-19 2022-10-21 华为技术有限公司 一种通信方法及通信装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567799A (zh) * 2008-04-21 2009-10-28 上海未来宽带技术及应用工程研究中心有限公司 光网络单元自动配置方法
CN102082976A (zh) * 2009-11-27 2011-06-01 中兴通讯股份有限公司 一种无源光网络中数据发送的方法和系统
CN106937184A (zh) * 2015-12-29 2017-07-07 中兴通讯股份有限公司 一种实现激活的方法及装置
CN107395315A (zh) * 2016-05-16 2017-11-24 中兴通讯股份有限公司 一种无源光网络中的测距方法、光线路终端和光网络单元

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009232077A (ja) * 2008-03-21 2009-10-08 Nec Corp 局側終端装置、通信システム、加入者装置管理方法、および局側終端装置のプログラム
CN102075820B (zh) * 2009-11-23 2015-05-20 中兴通讯股份有限公司 在无源光网络中测距的方法和装置
CN102687427A (zh) * 2012-04-11 2012-09-19 华为技术有限公司 无源光网络的测距方法、系统和装置
US9048946B1 (en) * 2014-03-03 2015-06-02 Calix, Inc. Hybrid ranging using an out of band signal in optical networks
CN106878836B (zh) * 2015-12-14 2019-07-26 中兴通讯股份有限公司 带宽调度方法、onu注册方法、装置及olt
KR102433853B1 (ko) * 2016-03-28 2022-08-19 한국전자통신연구원 수동형 광 네트워크 시스템에서의 콰이어트 윈도우 설정 방법 및 그 장치
US10735098B2 (en) * 2016-11-21 2020-08-04 Nokia Of America Corporation Latency control in a passive optical network
CN110213679B (zh) * 2016-12-02 2021-09-10 中兴通讯股份有限公司 一种无源光网络系统及其实现方法
WO2018157291A1 (zh) * 2017-02-28 2018-09-07 华为技术有限公司 无源光网络系统中通信的方法、光线路终端和光网络单元
US10715890B2 (en) * 2017-12-05 2020-07-14 Adtran, Inc. FEC based PON optimization
CN116980783A (zh) * 2018-04-26 2023-10-31 中兴通讯股份有限公司 开放安静窗口的方法和装置以及注册方法、装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567799A (zh) * 2008-04-21 2009-10-28 上海未来宽带技术及应用工程研究中心有限公司 光网络单元自动配置方法
CN102082976A (zh) * 2009-11-27 2011-06-01 中兴通讯股份有限公司 一种无源光网络中数据发送的方法和系统
CN106937184A (zh) * 2015-12-29 2017-07-07 中兴通讯股份有限公司 一种实现激活的方法及装置
CN107395315A (zh) * 2016-05-16 2017-11-24 中兴通讯股份有限公司 一种无源光网络中的测距方法、光线路终端和光网络单元

Also Published As

Publication number Publication date
US20220150608A1 (en) 2022-05-12
CN116980783A (zh) 2023-10-31
US11272272B2 (en) 2022-03-08
EP3787308A1 (en) 2021-03-03
CN110418217A (zh) 2019-11-05
US20210243510A1 (en) 2021-08-05
US11889243B2 (en) 2024-01-30
EP3787308A4 (en) 2021-06-23

Similar Documents

Publication Publication Date Title
EP3860002B1 (en) Ranging method for optical network, olt, onu, and optical network system
US11889243B2 (en) Method and apparatus for opening quiet window, and registration method, apparatus and system
US10798473B2 (en) Passive optical network system and implementation method thereof
KR102433853B1 (ko) 수동형 광 네트워크 시스템에서의 콰이어트 윈도우 설정 방법 및 그 장치
JP6900624B2 (ja) データ通信システム、光回線終端装置およびベースバンドユニット
CN102075820A (zh) 在无源光网络中测距的方法和装置
US11026002B2 (en) Method for managing ONU in passive optical network, OLT and system
WO2021259216A1 (zh) 一种认证方法、装置、设备及存储介质
EP3860141B1 (en) Ranging method and communication method for optical network, olt, onu, and optical network system
CN101944949B (zh) 光网络中光传输控制方法、光网络装置和系统
WO2020063582A1 (zh) 光网络的测距方法、注册方法、olt、onu、光网络系统
CN114339481B (zh) 用于光通信的方法、设备、装置和计算机可读介质
JP5759420B2 (ja) 光通信システム及び新規接続端末検出方法
EP3399766B1 (en) Method and apparatus for realizing optical network unit activation
US11616592B2 (en) Dynamic assignment of broadcast allocation identifiers
WO2014181174A1 (en) Method and apparatus for reconfiguring wavelength of optical network unit
WO2012130022A1 (zh) 嵌套无源光网络的测距方法及装置
WO2019042457A1 (zh) 带宽分配方法、装置及系统
CN112188324B (zh) 激活方法、装置、控制装置、网络设备、光网络系统
EP3457596B1 (en) Methods and products for onu start up procedure
WO2018170836A1 (zh) 一种通信配置方法、光线路终端以及光网络单元
JP6234179B2 (ja) Ponシステム、olt及びonu
CN121099214A (zh) 时频分复用光接入方法、电子设备、可读介质、产品
CN121815122A (zh) 光网络单元、光线路终端及其通信方法

Legal Events

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

Ref document number: 19792791

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2019792791

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2019792791

Country of ref document: EP

Effective date: 20201126