Registration method of optical network and optical network unit

By receiving the registration window broadcast in the optical network system and recording the current number of broadcasts, grouping the MAC address and modifying the registration flag, calculating the delayed transmission of registration request information, the interference conflict caused by the simultaneous registration of multiple optical network units in the same registration window is solved, and the registration success rate is improved.

CN119946464APending Publication Date: 2025-05-06HISENSE BROADBAND MULTIMEDIA TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311458971.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-03
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the existing optical network system, multiple optical network units simultaneously send serial number identification to the OLT in the same registration window, resulting in overlapping upward optical paths, causing interference conflicts, and thus resulting in registration failure.

Method used

By receiving the registration window broadcast and recording the current number of broadcasts, grouping and modifying the registration flags according to the current number of broadcasts and the MAC address of the optical network unit. When the preset conditions are met, the delay is calculated and the registration request information is sent to register in a certain registration window within the period.

Benefits of technology

The number of optical network units that send registration requests in the same registration window is reduced through grouping, avoid mutual interference between multiple optical network units, and improve the registration success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119946464A_ABST
    Figure CN119946464A_ABST
Patent Text Reader

Abstract

The invention discloses an optical network registration method and an optical network unit, and the method comprises the steps: receiving a registration window broadcast, and recording the current broadcast frequency; when the current broadcasting times and the MAC address meet preset conditions, modifying the registration mark in the current registration window to be a second value; the MAC address is the MAC address of the current optical network unit. And dividing the optical network units into multiple groups according to a preset method. And when the registration mark is a second value and the value of the state mark is a third value, calculating time delay, and sending registration request information according to the time delay, so that the optical network unit registers in a certain registration window in the period. And the ID identifier from the OLT is received, and the value of the state flag is modified to the fourth value, which indicates that the network unit completes registration, thereby avoiding repeated registration. And when the current broadcasting frequency is equal to a preset threshold value, modifying the current broadcasting frequency to be 0, and circularly registering the optical network units which are not registered in one period again.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to, but are not limited to, the field of optical network technology, and in particular to an optical network registration method and an optical network unit. Background Art

[0002] Optical network technologies include active optical network (AON) and passive optical network (PON). PON access requires less initial investment, has a shorter transmission distance than AON, has a smaller coverage area, and is low-cost and easy to maintain, making it more suitable for serving home users.

[0003] In the existing PON system, the data transmission between the optical network unit (ONU) and the optical line terminal (OLT) adopts the point to multipoint (PtMP) connection mode, that is, one OLT is connected to multiple ONUs. Figure 1 As shown, it is a schematic diagram of the network architecture in the existing passive optical network system. Figure 1 After the ONU in the passive optical network completes the communication connection with the OLT, the ONU can communicate with the OLT alone. In the registration process after the ONU is powered on in the passive optical network system, the connection medium between the ONU and the OLT is optical fiber. When the ONU is connected to the OLT via optical fiber, the OLT does not sense the existence of the ONU; in order to allow unregistered ONUs to join the network, the OLT will periodically open a registration window; within the registration window, all registered ONUs are prohibited from sending any information to the OLT, and only unregistered ONUs are allowed to send the ONU serial number identification to the OLT to indicate the existence of the ONU and the desire to join the network.

[0004] However, in one registration window, multiple ONUs may send serial number identifiers to the OLT at the same time, resulting in overlap on the upstream optical path, causing mutual interference and conflict, thus causing the registration to fail. Summary of the invention

[0005] The present application provides an optical network registration method and an optical network unit to improve the registration success rate of the optical network unit.

[0006] In order to solve the above technical problems, the embodiments of the present application disclose the following technical solutions:

[0007] On the one hand, an embodiment of the present application discloses a registration method for an optical network, comprising:

[0008] In response to the OLT's registration window broadcast, record the current broadcast times;

[0009] Get the MAC address of the current optical network unit;

[0010] When the current broadcast times and MAC address meet the preset conditions and the value of the status flag is a third value, sending a registration request message;

[0011] In response to the ID identification information of the OLT, modifying the value of the status flag to a fourth value;

[0012] When the current broadcast number is equal to the preset threshold, the current broadcast number is modified to 0.

[0013] In a second aspect, an embodiment of the present application discloses a registration method for an optical network, comprising: receiving a registration window broadcast, and recording a current broadcast number;

[0014] When the current broadcast times and MAC address meet the preset conditions, the registration flag is modified to a second value in the current registration window; the MAC address is the MAC address of the current optical network unit;

[0015] When the registration flag is the second value and the value of the status flag is the third value, calculating the delay, and sending the registration request information according to the delay, so that the optical network unit is registered in a registration window within the cycle;

[0016] receiving an ID identifier from the OLT, and modifying the value of the status flag to a fourth value;

[0017] A re-registration message is received, and the registration flag is modified to a second value, and the value of the status flag is modified to a third value.

[0018] In a third aspect, an embodiment of the present application discloses an optical network unit, including: a receiver, configured to: receive registration window broadcast information sent by an OLT;

[0019] A processor connected to the receiver is configured to: record the current broadcast number, modify the registration flag according to the current broadcast number, the MAC address of the ONU, and the status flag, and calculate the delay when the registration flag of the ONU is a second value;

[0020] The transmitter connected to the processor is configured to send registration request information according to the delay.

[0021] Compared with the prior art, the present invention has the following advantages:

[0022] The present application discloses a registration method and an optical network unit for an optical network, wherein the method comprises: receiving a registration window broadcast and recording the current broadcast number. When the current broadcast number and the MAC address meet the preset conditions, the registration flag is modified to the second value in the current registration window; the MAC address is the MAC address of the current optical network unit. The optical network unit is divided into multiple groups according to the preset method. When the registration flag is the second value and the value of the status flag is the third value, the delay is calculated, and the registration request information is sent according to the delay, so that the optical network unit is registered in a certain registration window within the cycle. An ID identifier is received from the OLT, and the value of the status flag is modified to a fourth value, indicating that the network unit has completed registration to avoid repeated registration. When the current broadcast number is equal to the preset threshold, the current broadcast number is modified to 0, and the optical network unit that has not completed registration within a cycle re-circulates to register. The present application distinguishes the optical network unit according to the number of registration windows according to the MAC address in a grouping manner, so that the number of optical network units that send registration requests is reduced in the same registration window, effectively avoiding the number of optical network units registered at the same time, and avoiding mutual interference between multiple optical network units. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the present disclosure, the following briefly introduces the drawings required to be used in some embodiments of the present disclosure. Obviously, the drawings described below are only drawings of some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can also be obtained based on these drawings. In addition, the drawings described below can be regarded as schematic diagrams, and are not limitations on the actual size of the product involved in the embodiments of the present disclosure, the actual process of the method, the actual timing of the signal, etc.

[0024] Figure 1 A schematic diagram of the connection relationship between OLT and ONU;

[0025] Figure 2 A GPON system reference model is provided according to some embodiments of the present disclosure;

[0026] Figure 3 A schematic diagram of an ONU registration process provided according to some embodiments of the present disclosure;

[0027] Figure 4 A schematic diagram of an ONU discovery registration process provided according to some embodiments of the present disclosure;

[0028] Figure 5 A schematic diagram of a registration method for an optical network provided according to some embodiments of the present disclosure;

[0029] Figure 6 A schematic diagram of a T02 process in a registration method for an optical network provided according to some embodiments of the present disclosure;

[0030] Figure 7 A schematic diagram of a delay calculation method provided according to some embodiments of the present disclosure;

[0031] Figure 8 A registration signaling flow chart of an optical network provided according to some embodiments of the present disclosure;

[0032] Fig. 9 A schematic diagram of another registration method for an optical network provided according to some embodiments of the present disclosure;

[0033] Fig.10 A schematic diagram of the structure of an optical network unit provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] Some embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. However, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments provided by the present disclosure, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of the present disclosure.

[0035] Unless the context requires otherwise, throughout the specification and claims, the term "including" is interpreted as open and inclusive, that is, "including, but not limited to"; the terms "first" and "second" cannot be understood to indicate or imply relative importance or indicate an upper limit of quantity; the term "plurality" means two or more; the term "connection" should be understood in a broad sense, for example, "connection" can be a fixed connection, a detachable connection, or an integral connection, and can be directly connected or indirectly connected through an intermediate medium; the use of the terms "suitable for" or "configured to" means open and inclusive language, which does not exclude devices that are suitable for or configured to perform additional tasks or steps; the terms "parallel", "vertical", "same", "consistent", "level" and other descriptions are not limited to absolute mathematical theoretical relationships, but also include acceptable error ranges generated in practice, and also include differences based on the same design concept but due to manufacturing reasons. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the circuit structure, article or device including the elements.

[0036] The data transmission between the Optical Network Unit (ONU) and the Optical Line Terminal (OLT) adopts a point-to-multipoint (PtMP) connection mode, that is, one OLT is connected to multiple ONUs. Specifically, during the registration process, the OLT needs to open a quiet window. Within the quiet window, the ONU in the working state stops sending uplink data, and the ONU in the registered state sends registration information in the uplink direction. The above method avoids mutual interference between the ONU in the registered state and the ONU in the working state.

[0037] The passive optical network system is an optical distribution network (ODN) based on optical splitters. In this system, ODN is composed of passive devices such as optical splitters, and the optical splitters are set between OLT and ONU, so that each ONU can communicate with OLT individually after completing the communication connection with OLT. During the registration process after ONU is powered on, the connection medium between ONU and OLT is optical fiber. When ONU is connected to OLT through optical fiber, OLT will not sense the existence of ONU; in order to enable unregistered ONU to join the network, OLT will periodically open a registration window; in the registration window, all registered ONUs are prohibited from sending any information to OLT, and only unregistered ONUs are allowed to send the ONU serial number identification to OLT to indicate the existence of ONU and the desire to join the network.

[0038] Figure 2 A GPON system reference model is provided according to some embodiments of the present disclosure. Figure 2 As shown in , in the downstream direction (OLT to ONU), the optical signal sent by the OLT reaches each ONU through ODN broadcast. In the upstream direction (ONU to OLT), the optical signal sent by the ONU will only reach the OLT, not other ONUs. In order to avoid conflicts in upstream data sent by different ONUs and improve network utilization efficiency, the upstream direction adopts TDMA time division multiplexing multiple access mode, and the OLT arbitrates the upstream data sent by each ONU.

[0039] Figure 3 FIG. 1 is a schematic diagram of an ONU registration process provided according to some embodiments of the present disclosure. Figure 3 As shown in the figure, an ONU needs to go through the following two processes to join the PON network:

[0040] S1: Discovery registration: In the registration window periodically opened by the OLT, the unregistered ONU actively reports its existence to the OLT (in the registration window, the unregistered ONU actively reports its serial number SN to the OLT), and completes ranging under the control of the OLT, so that the ONU is in a configurable and manageable state of the OLT.

[0041] S2: Service configuration: Based on the agreement signed with the customer, the operator sends relevant configurations to the ONU through the OLT to provide services to the customer and meet their service level agreement.

[0042] Figure 4 FIG. 1 is a schematic diagram of an ONU discovery registration process provided according to some embodiments of the present disclosure. Figure 4 As shown, the ONU discovery registration process includes:

[0043] S11: Receiving registration window broadcast information. The ONU receives the registration window broadcast information from the OLT.

[0044] S12: Calculate the delay. Since the OLT cannot manage the ONU before it registers, the registration window opened by the OLT only informs the unregistered ONUs within which time period they can send registration request messages, but cannot accurately specify the specific time when the ONU sends the registration request. All unregistered ONUs are also invisible to each other, cannot coordinate with each other, and cannot detect whether other ONUs are emitting light; therefore, within the registration window, it cannot be guaranteed that the unregistered ONUs send registration requests serially to each other, that is, after one unregistered ONU completes sending the registration request, another unregistered ONU will send the registration request; the registration requests sent by multiple ONUs will inevitably overlap on the upstream optical path, resulting in mutual interference and conflict.

[0045] S13: Sending a registration request message to the OLT according to the delay. The registration request message includes the serial number of the ONU.

[0046] S14: Receive the ID from the OLT. After the OLT receives the registration request information sent by the ONU, the OLT will assign an ID (ONU-ID) to the ONU based on the established strategy and send it to the ONU via the Assign_ONU-ID message; after the ONU receives the Assign_ONU-ID message, it configures its own ONU-ID as the value carried in the message. In the subsequent process, the ONU-ID will be used to communicate with the OLT.

[0047] In some embodiments, the OLT allocates an ONU-ID to the ONU. Different types of OLTs may have different strategies, such as based on the order of ONU registration, starting from 1 and increasing in sequence; or based on a pre-configured ONU logical sequence number. As long as the ONU-ID meets the uniqueness requirement, these allocation strategies are feasible, and this is not required in this application.

[0048] After assigning an ONU-ID to the ONU, the OLT will then start the ranging process; the ranging process is to measure the time it takes for a message to be transmitted from the OLT to the ONU and then from the ONU to the OLT; the purpose of ranging is to enable the OLT to control when the ONU emits light and when it does not, thereby more effectively utilizing the bandwidth resources of the optical fiber.

[0049] In a registration window, multiple ONUs may send serial number identifiers to the OLT at the same time, causing overlap on the upstream optical path, resulting in mutual interference and conflict, which will cause the registration to fail. Figure 5 A schematic diagram of a registration method for an optical network provided according to some embodiments of the present disclosure, such as Figure 5 As shown, the present application provides a registration method for an optical network, applicable to an ONU, including:

[0050] T01: Receive registration window broadcast and record the current broadcast count.

[0051] The OLT periodically opens a registration window and sends a registration window broadcast. After the ONU starts, it receives the registration window broadcast and records the current broadcast count. Initially, when the ONU starts, the broadcast count is set to 0. For example, when the ONU starts, the current broadcast count A=0 is set. After receiving the registration window broadcast, the current broadcast count is the previous broadcast count plus 1.

[0052] T02: Calculate whether the current registration window meets the preset conditions based on the current broadcast times and the MAC address of the ONU.

[0053] Get the MAC address of the current optical network unit, calculate the current broadcast times according to the MAC address, and check whether the MAC address meets the preset conditions.

[0054] The MAC address of the ONU is unique, and the MAC address of the ONU under the same OLT is also unique. The last byte of the MAC address of the ONU under the same OLT may be the same or different. Based on the GPON standard definition, when a PON port is fully loaded, a maximum of 64 ONUs can be mounted. When the GPON network is actually constructed and deployed, a certain margin is generally reserved, so the number of ONUs mounted under one PON port is generally 30 to 40. Generally, the possibility of the last byte of the MAC address of the ONU under the same OLT being the same is low.

[0055] In this application, the registration time of the ONU is grouped according to the last byte of the MAC address of the ONU.

[0056] Initial registration flag 注册 = first value, such as 0. When the preset ONU group meets the current registration window period, modify the Flag 注册 = second value, such as 1. If Flag 注册 If Flag is the first value, then in the current registration window, unregistered ONUs do not participate in the registration, that is, they do not send a sequence number request message. 注册 If it is the second value, then in the current registration window, the unregistered ONU participates in the registration, that is, sends a serial number request message.

[0057] In some embodiments, the registration flag may not be maintained, and a registration request message is sent when the current broadcast times and MAC address meet preset conditions and the value of the status flag is a third value.

[0058] The third value of the status flag indicates that the ONU has not completed registration, and the fourth value of the status flag indicates that the ONU has completed registration.

[0059] Figure 6 FIG. 1 is a schematic diagram of a T02 process in a registration method for an optical network according to some embodiments of the present disclosure, such as Figure 6 As shown, including:

[0060] T021: Whether the status flag is the third value.

[0061] If the status flag is the third value, enter T022: whether the current broadcast times and the MAC address of the ONU meet the preset conditions.

[0062] If the current broadcast times and the MAC address of the ONU meet the preset conditions, the process proceeds to T023: modifying the registration flag of the ONU to the second value.

[0063] If the current broadcast times and the MAC address of the ONU do not meet the preset conditions, enter T01: receive the registration window broadcast and record the current broadcast times.

[0064] If the status flag is not the third value, end.

[0065] The initial value of the status flag is the third value (such as 0). After receiving the ID from the OLT, the ONU changes the value of the status flag from the third value to the fourth value (such as 1). If the status flag value is the third value, the process ends.

[0066] The last byte of the ONU MAC address can be any one of 0 to 255. The ONUs are divided into at least three groups according to the last byte of the MAC address.

[0067] For example, the first limit, the second limit, the third limit and the fourth limit are preset. When the last byte of MAC is greater than or equal to the first limit and the last byte of MAC is less than or equal to the second limit, and the current broadcast count is 1, modify the ONU Flag 注册 is the second value.

[0068] When the last byte of MAC is greater than the second limit and the last byte of MAC is less than or equal to the third limit, and the current broadcast count is 2, modify the ONU Flag. 注册 is the second value.

[0069] When the last byte of MAC is greater than the third limit and the last byte of MAC is less than or equal to the fourth limit, and the current broadcast count is 3, modify the ONU Flag. 注册 is the second value.

[0070] For example, define the last byte of the ONU MAC address as X. When 85≥X≥0, the ONU modifies the ONU Flag when the current broadcast count is 1. 注册 is the second value.

[0071] When 170≥X>85, the ONU modifies the ONU Flag when the current broadcast count is 2. 注册 is the second value.

[0072] When 255≥X>170, the ONU modifies the ONU Flag when the current broadcast count is 3. 注册 is the second value.

[0073] T03: When the registration flag of the ONU is the second value, the delay is calculated, and the registration request information is sent to the OLT according to the delay.

[0074] In some embodiments of the present application, the ONUs may be further divided into 4 groups, 5 groups, or 6 groups, etc., according to the last byte of the MAC address.

[0075] The grouping method may also be other, for example, a preset byte is divided by a preset divisor to obtain a remainder, and when the current broadcast number is equal to the remainder plus 1, the registration mark value is modified to a second value.

[0076] When the remainder of the last byte of the MAC address is 0 and the current broadcast count is 1, the ONU Flag is modified. 注册 The second value; when the remainder of the last byte of the MAC address is divided by N and is 1, the ONU Flag is modified when the current broadcast count is 2. 注册 The second value; when the remainder of the last byte of the MAC address is divided by N and is 2, when the current broadcast count is 3, modify the ONU Flag 注册 The second value. When the remainder of the last byte of the MAC address is N-1, the ONU Flag is modified when the current broadcast count is N. 注册 is the second value.

[0077] T04: receiving an ID from the OLT, and modifying the value of the status flag to the fourth value.

[0078] After receiving the registration request information sent by the ONU, the OLT will assign an ID (ONU-ID) to the ONU based on the established strategy and send it to the ONU through the Assign_ONU-ID message; after receiving the Assign_ONU-ID message, the ONU will configure its own ONU-ID as the value carried in the message. In the subsequent process, the ONU-ID will be used to communicate with the OLT.

[0079] In the initial stage, the value of the status flag is the third value (eg, 0). After receiving the ID from the OLT, the ONU changes the value of the status flag from the third value to a fourth value (eg, 1).

[0080] T05: When the current broadcast count is equal to the preset threshold, the current broadcast count is changed to 0. The preset threshold is the number of packets plus 1, which is the internal preset value of the OUN and can be set as needed.

[0081] For example, the ONU is divided into N groups according to the last byte of the MAC address. When the remainder of the last byte of the MAC address divided by N is 0, and the current broadcast count is 1, the ONU Flag is modified. 注册 The second value; when the remainder of the last byte of the MAC address is divided by N and is 1, the ONU Flag is modified when the current broadcast count is 2. 注册 The second value; when the remainder of the last byte of the MAC address is divided by N and is 2, when the current broadcast count is 3, modify the ONU Flag 注册The second value. When the remainder of the last byte of the MAC address is N-1, the ONU Flag is modified when the current broadcast count is N. 注册 When the current broadcast times is N+1, the current broadcast times is changed to 0 and the second cycle is entered.

[0082] In some examples, any byte of the MAC address may be selected to have the same function as the last byte. Therefore, it may be set to select a preset byte of the MAC address.

[0083] N can be a preset divisor, which can be set specifically according to the adaptation scenario of the optical network unit. For example, if the optical network unit is adapted to connect one OLT with 64 ONUs, N can be set to 8 or 6, and of course it can also be other values; if the optical network unit is adapted to connect one OLT with 128 ONUs, N can be set to 16 or 14.

[0084] The present application receives the registration window broadcast and records the current broadcast number, and selects whether to modify the registration flag during the current registration window period according to the current broadcast number and the MAC address of the ONU. According to the last byte of the MAC address, the ONU is divided into N groups, where N is greater than or equal to 3. When the registration flag of the ONU is the second value, the delay is calculated, and the registration request information is sent to the OLT according to the delay. By grouping, the registration timing of the ONU is distinguished according to the last byte of the MAC address, so that the number of ONUs sending registration requests is reduced in the same registration window, effectively avoiding the number of ONUs registered at the same time, and avoiding mutual interference between multiple ONUs. After receiving the registration request information, the OLT sends an ID mark. The ONU receives the ID mark from the OLT and modifies the value of the status mark to the fourth value, indicating that the ONU has completed registration and will no longer register after receiving the registration window broadcast.

[0085] Figure 7 A schematic diagram of a delay calculation method provided according to some embodiments of the present disclosure is shown in FIG. Figure 7 As shown, in some embodiments of the present application, since the delay of each ONU is random, in order to avoid multiple ONUs sending registration request information at the same time in the same registration window, a step of calculating the delay in a registration method of an optical network is provided, including: R01: obtaining the MAC address of the ONU;

[0086] R02: According to the MD5 algorithm, the ONU device MAC address and the preset password are used as input parameters to calculate the delay.

[0087] In some embodiments of the present application, the length of the key key ranges from 1 to 16 bytes. Because the MAC address is unique, the key can be assigned a value at will, and the example key is assigned a value of "123456789abcdef". Since the key assignments are the same, and the device MACs of the ONUs are different, the results obtained after executing MD5 encryption are also different. The random delays when the ONUs report the sequence numbers in the registration window are different, so that the ONUs in the same registration window cannot send registration request information at the same time, avoid mutual interference, and improve the registration success rate.

[0088] Figure 8 FIG. 1 is a registration signaling flow chart of an optical network according to some embodiments of the present disclosure. Figure 8 As shown, T011: OLT sends a registration window broadcast. T012: ONU receives the registration window broadcast, and ONU records the current registration window number. T02: ONU calculates whether the current registration window modifies the registration flag based on the current broadcast number, the MAC address of the ONU, and the status flag. T031: When the registration flag of the ONU is the second value, calculate the delay. T032: Send a registration request message based on the delay. T041: After receiving the registration request message, the OLT sends an ID identifier to the ONU. T042: After receiving the ID identifier from the OLT, the ONU modifies the value of the status flag to the fourth value.

[0089] The present application receives the registration window broadcast and records the current broadcast number, and selects whether to modify the registration flag during the current registration window period according to the current broadcast number and the MAC address of the ONU. According to the last byte of the MAC address, the ONU is divided into N groups, where N is greater than or equal to 3. When the registration flag of the ONU is the second value, the delay is calculated, and the registration request information is sent to the OLT according to the delay. By grouping, the registration timing of the ONU is distinguished according to the last byte of the MAC address, so that the number of ONUs sending registration requests is reduced in the same registration window, effectively avoiding the number of ONUs registered at the same time, and avoiding mutual interference between multiple ONUs. After receiving the registration request information, the OLT sends an ID mark. The ONU receives the ID mark from the OLT and modifies the value of the status mark to the fourth value, indicating that the ONU has completed registration and will no longer register after receiving the registration window broadcast.

[0090] Fig. 9 FIG. 1 is a schematic diagram of another registration method for an optical network provided according to some embodiments of the present disclosure. Fig. 9 As shown, in some embodiments of the present application, in order to solve the problem of ONU registration failure, it also includes: OLT sends a re-registration message to the ONU, T07: ONU receives the re-registration message, modifies the registration flag to the second value, modifies the status flag to the third value, and then enters T03.

[0091] Fig.10 A schematic diagram of the structure of an optical network unit provided by an embodiment of the present invention. Fig.10 As shown, the optical network unit provided in this embodiment includes: a receiver 11, a processor 12 and a transmitter 13.

[0092] The receiver 11 is configured to receive the registration window broadcast information sent by the OLT.

[0093] The processor 12 is connected to the receiver 11, and is configured to: record the current broadcast times, modify the registration flag according to the current broadcast times, the MAC address of the ONU, and the status flag; and calculate the delay when the registration flag of the ONU is a second value.

[0094] The transmitter 13 and the processor 12 are configured to send the registration request information according to the delay.

[0095] In some embodiments of the present application, the processor 12 divides the ONU into at least three groups according to the last byte of the MAC address. For example, when the last byte of the MAC address is divided by N and the remainder is 0, when the current broadcast count is 1, the Flag of the ONU is modified. 注册 The second value; when the remainder of the last byte of the MAC address is divided by N and is 1, the ONU Flag is modified when the current broadcast count is 2. 注册 The second value; when the remainder of the last byte of the MAC address is divided by N and is 2, when the current broadcast count is 3, modify the ONU Flag 注册 The second value. When the remainder of the last byte of the MAC address is N-1, the ONU Flag is modified when the current broadcast count is N. 注册 is the second value.

[0096] When the registration mark of the ONU is the second value, the delay is calculated. For example, the MAC address of the ONU is obtained, and according to the requirements of the MD5 algorithm, the device MAC address of the ONU and the preset password are used as input parameters to calculate the delay. In some embodiments of the present application, the length range of the key key is 1-16 bytes. Because the MAC address is unique, the key can be assigned a value at will, and the example key is assigned a value of "123456789abcdef". Since the key assignments are the same, and the device MACs of the ONUs are different, the results obtained after executing MD5 encryption are also different. Then, the random delays when the ONU reports the sequence number in the registration window are different, so that the ONUs in the same registration window cannot send registration request information at the same time, avoid mutual interference, and improve the registration success rate.

[0097] The receiver 11 is further configured to receive an ID identification sent by the OLT and to modify the value of the status flag to a fourth value.

[0098] To prevent the ONU from failing to complete registration within the registration period, the processor is further configured to modify the current broadcast number to 0 when the current broadcast number is equal to a preset threshold. After the current broadcast number is modified to 0, the registration period is recalculated, and the ONU that has not completed registration within the first registration period can recalculate the broadcast number and re-register.

[0099] The optical network unit provided by the present application receives the registration window broadcast and records the current broadcast number, and selects whether to modify the registration flag in the current registration window period according to the current broadcast number and the MAC address of the ONU. According to the last byte of the MAC address, the ONU is divided into N groups, where N is greater than or equal to 3. When the registration flag of the ONU is the second value, the delay is calculated, and the registration request information is sent to the OLT according to the delay. By grouping, the registration timing of the ONU is distinguished according to the last byte of the MAC address, so that the number of ONUs sending registration requests is reduced in the same registration window, the number of ONUs registered at the same time is effectively avoided, and mutual interference between multiple ONUs is avoided. After receiving the registration request information, the OLT sends an ID mark. The ONU receives the ID mark from the OLT, modifies the value of the status mark to the fourth value, indicating that the ONU has completed registration and will no longer register after receiving the registration window broadcast.

[0100] To solve the problem of ONU registration failure, the receiver 11 of the optical network unit is configured to receive re-registration information sent by the OLT.

[0101] Since the above embodiments are all described by citing and combining with other embodiments, different embodiments have the same parts, and the same and similar parts between the embodiments in this specification can be referred to each other. No further detailed description is given here.

Claims

1. A registration method for an optical network, characterized in that: include: In response to the OLT's registration window broadcast, record the current broadcast times; Get the MAC address of the current optical network unit; When the current broadcast times and MAC address meet the preset conditions and the value of the status flag is a third value, sending a registration request message; In response to the ID identification information of the OLT, modifying the value of the status flag to a fourth value; When the current broadcast number is equal to a preset threshold, the current broadcast number is modified to 0.

2. The registration method of an optical network according to claim 1, characterized in that: The current broadcast times and MAC address satisfying the preset conditions include: Obtaining a preset byte of the MAC address; The preset byte is divided by a preset divisor to obtain a remainder, and the current broadcast number is equal to the remainder plus 1.

3. The registration method of an optical network according to claim 1, characterized in that: The current broadcast times and MAC address meet the preset conditions, including: Obtain the last byte of the MAC address as a preset byte; When the preset byte is divided by the preset divisor and the remainder is 0 and the current broadcast number is 1, modifying the registration flag to a second value; When the preset byte is divided by the preset divisor, the remainder is 1 and the current broadcast number is 2, modifying the registration flag to a second value; When the preset byte is divided by the preset divisor, the remainder is 2 and the current broadcast number is 3, the registration flag is modified to the second value.

4. The registration method of an optical network according to claim 1, characterized in that: The current broadcast times and MAC address meet the preset conditions, including: When the last byte of MAC is greater than or equal to the first limit value, and the last byte of MAC is less than or equal to the second limit value, and the current broadcast number is 1, modify the registration flag to the second value; When the last byte of MAC is greater than the second limit value and the last byte of MAC is less than or equal to the third limit value, and the current broadcast number is 2, modify the registration flag to the second value; When the last byte of MAC is greater than the third limit value and the last byte of MAC is less than or equal to the fourth limit value, and the current broadcast number is 3, the registration flag is modified to the second value.

5. The registration method of an optical network according to claim 1, characterized in that: The sending of the registration request information further includes: Obtaining the MAC address of the optical network unit; According to the MD5 algorithm, the MAC address and the preset password are used as input parameters to calculate the delay; The registration request information is sent according to the delay.

6. A registration method for an optical network, characterized in that: include: Receive registration window broadcasts and record the current broadcast times; When the current broadcast times and MAC address meet the preset conditions, the registration flag is modified to a second value in the current registration window; the MAC address is the MAC address of the current optical network unit; When the registration flag is the second value and the value of the status flag is the third value, calculating the delay, and sending the registration request information according to the delay, so that the optical network unit is registered in a registration window within the cycle; receiving an ID identifier from the OLT, and modifying the value of the status flag to a fourth value; In response to the re-registration message, the registration flag is modified to a second value, and the value of the status flag is modified to a third value.

7. The registration method of an optical network according to claim 6, characterized in that: The preset condition includes: obtaining a preset byte of the MAC address; The preset byte is divided by a preset divisor to obtain a remainder, and when the current broadcast number is equal to the remainder plus 1, the registration flag value is modified to a second value.

8. An optical network unit, characterized in that: include: The receiver is configured to: receive the registration window broadcast information sent by the OLT; A processor connected to the receiver is configured to: record the current broadcast number, modify the registration flag according to the current broadcast number, the MAC address of the ONU, and the status flag, and calculate the delay when the registration flag of the ONU is a second value; The transmitter connected to the processor is configured to send registration request information according to the delay.

9. The optical network unit according to claim 8, characterized in that: The processor is configured to: obtain a preset byte of the MAC address; The preset byte is divided by a preset divisor to obtain a remainder, and when the current broadcast number is equal to the remainder plus 1, the registration flag value is modified to a second value.

Citation Information

Cited By

  • Discovery of optical network units in a passive optical network

    US20250203253A1