Optical communication network registration method and apparatus, network device, and system

By storing SN, which pre -stored the equipment to be launched in the second network device of the optical communication network and directly allocate the registration identifier, the problem of delayed shake during the ONU registration process is solved, and the more efficient communication performance and business continuity are achieved Essence

WO2025015915A1PCT designated stage expired Publication Date: 2025-01-23HUAWEI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/078121
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-19
Filing Date
2024-02-22
Publication Date
2025-01-23

AI Technical Summary

Technical Problem

During the ONU registration process, the optical communication network has a problem of large uplink delay jitter, especially in application scenarios with high delay jitter requirements, which affects the communication performance of the system.

Method used

By storing the SN of the network device to be online in the second network device, the registration identifier is directly allocated for it to avoid opening the SN to discover the window and directly open the mortgage window, thereby reducing delayed jitter and business interruption.

Benefits of technology

Effectively reduced the upward delayed jitter brought by the ONU registration process, improved the communication performance of the optical communication network, and avoided the interruption of other network equipment business in the SN discovery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024078121_23012025_PF_FP_ABST
    Figure CN2024078121_23012025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed are an optical communication network registration method and apparatus, a network device, and a system, relating to the technical field of optical communication. Regardless of whether it is the first time a slave ONU goes online or during a process of going online again, a master ONU, on the basis of a pre-stored SN of the slave ONU to go online, allocates a registration identifier (ONU ID) to the slave ONU, that is: the master ONU does not need to open an SN discovery window for the ONU to go online, and does not need to interrupt the service of other slave ONUs communicating with the master ONU, thereby implementing zero-window registration of the slave ONU in the optical communication network, and reducing delay and jitter of the optical communication network caused by the registration process of the slave ONU.
Need to check novelty before this filing date? Find Prior Art

Description

Optical communication network registration method, device, network equipment and system

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on July 19, 2023, with application number 202310893415.5 and application name “A registration method, device, network equipment and system for an optical communication network”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of optical communication technology, and in particular to a registration method, apparatus, network equipment, and system for an optical communication network. Background Art

[0003] A Passive Optical Network (PON) is an access network based on fiber-optic link transmission. In a PON, there are no powered electronic devices between the Optical Line Terminal (OLT) and the Optical Network Unit (ONU). In a PON, downstream transmission from the OLT to the ONU is broadcast, while upstream transmission from the ONU to the OLT uses Time Division Multiple Access (TDMA). Therefore, during upstream transmission from the ONU to the OLT, the time slots occupied by different ONUs cannot overlap. Information transmitted in overlapping time slots cannot be correctly received by the OLT. Therefore, ranging is required during the ONU registration phase to determine the time slot allocated to the ONU during normal service authorization.

[0004] During the ONU registration process, the OLT will issue an authorization instruction and periodically open a discovery silent window (abbreviated as: discovery window) for the serial number (SN) for the ONU; in the time slot corresponding to the discovery window, the ONU sends an SN signal to the OLT; then, the OLT assigns a registration identifier to the ONU to be online based on the received SN signal and opens a ranging silent window (abbreviated as: ranging window). Afterwards, the OLT performs ranging and authorization on the ONU to be online in the time slot corresponding to the ranging window to complete the ONU registration process. Since the services of other ONUs connected to the OLT need to be interrupted in the time slots corresponding to the SN discovery window and the ranging window, the ONU registration solution periodically opens the discovery window, which will bring about large delay jitter. This poses a challenge to the PON system in application scenarios with high delay jitter requirements. In order to reduce the uplink delay jitter caused by the registration process, a more effective registration method for optical communication networks is needed.

[0005] Summary of the Invention

[0006] The present application provides a registration method, apparatus, network equipment and system for an optical communication network, which solves the problem of large uplink delay jitter during the registration process of the optical communication network, and is conducive to improving the communication performance of the optical communication network.

[0007] In the first aspect, the present application provides a registration method for an optical communication network. The registration method is executed by a second network device, and the second network device stores the SN of a network device to be put online in the optical communication network. The registration method includes: the second network device obtains a registration identifier of a first network device based on the SN of a pre-stored first network device, and the first network device is one of the network devices to be put online. The second network device sends the SN of the first network device and the obtained registration identifier to the first network device, and sends a first ranging request message to the first network device. Finally, the second network device receives the first ranging message sent from the first network device, and sends a first response message to the first network device, the first ranging message carries the registration identifier of the first network device, and the first response message is used to indicate: the first equalization delay that the first network device will use in the optical communication network.

[0008] In the related art, compared with the master ONU periodically opening an SN discovery window for each slave ONU during the slave ONU discovery phase, in this embodiment, the second network device pre-stores the SNs of the network devices to be brought online. The second network device can allocate registration identifiers to the first network devices based on the stored SNs. The second network device does not need to open an SN discovery window for these first network devices, thereby avoiding the delay jitter caused by opening the SN discovery window and the problem of service interruption of other first network devices in the SN discovery window, thereby improving the communication performance of the optical communication network.

[0009] As an optional implementation, after the second network device sends a first response message to the first network device, if the first network device drops offline from the optical communication network, the registration method provided in this application further includes: the second network device receiving a second ranging message sent by the first network device, where the second ranging message is a low-power optical signal carrying a registration identifier, where the power of the low-power optical signal is less than or equal to a first threshold. Furthermore, the second network device responds to the second ranging message by sending a second response message to the first network device, where the second response message indicates a second equalization delay to be used by the first network device in the optical communication network. This second equalization delay can be the same as or different from the first equalization delay.

[0010] As an optional example, the second network device responds to the second ranging message and sends a second response message to the first network device, including: the second network device parses the second ranging message to obtain a registration identifier; and the second network device sends the above-mentioned second response message to the first network device based on the registration identifier. When the second network device receives the low-frequency optical signal corresponding to the ranging message, the second network device may also receive service signals generated by other network devices. When the second network device receives the ranging message of the first network device to be registered and the normal service messages of other network devices, on the one hand, the second network device processes the service message normally, and on the other hand, after the second network device performs low-pass filtering on the ranging message, and performs frequency sweeping, cross-correlation and other processing, the second network device obtains the bit stream of the ranging message. Therefore, the problem of other service interruptions caused by the second network device receiving the ranging message of the first network device can be effectively avoided.

[0011] As an optional implementation, after the second network device sends a first response message to the first network device, the registration method provided in the present application also includes: the second network device queries the locally stored status information, and the status information is used to record the working status of all network devices that have established an optical communication connection with the second network device. If the status information indicates that the first network device is in an abnormal state, a second ranging request message is sent to the first network device. In addition, the second network device receives a third ranging message sent by the first network device in response to the second ranging request message, and the third ranging message carries a registration identifier. The second network device responds to the third ranging message and sends a third response message to the first network device, and the third response message is used to indicate: the third equalization delay that the first network device will use in the optical communication network.

[0012] As an optional implementation, after the second network device sends the second ranging request message to the first network device, the registration method provided in this application further includes: if the second network device does not receive the third ranging message within a reference time, sending an alarm message. The reference time includes at least one of the maximum activation time of the ranging window or the total time slots corresponding to the ranging window opened according to the reference number of times, where the ranging window is a silent window opened by the second network device based on the aforementioned third ranging request message.

[0013] As an optional implementation, the third ranging message is a low-power optical signal, and the power of the low-power optical signal is less than or equal to a second threshold. For example, the second threshold may be the same as the first threshold; for another example, the second threshold may be different from the first threshold.

[0014] As an optional implementation, a wireless broadband (wireless-fidelity, WIFI) channel is established between the second network device and the first network device, and the third ranging message is an Ethernet message transmitted through the WIFI channel. The first network device transmits the ranging message through the WIFI channel, so that the second network device does not need to open the SN discovery window for the first network device that needs to go back online after being disconnected. The second network device already stores the SN of each network device and the registration identifiers assigned to these networks. Therefore, zero-window registration is achieved when the first network device goes back online in the second network device, reducing the delay jitter of the optical communication network caused by the registration process of the first network device.

[0015] In the second aspect, the present application provides a registration method for an optical communication network. The registration method is executed by a first network device, and the registration method includes: the first network device receives the SN of the first network device, the registration identifier of the first network device, and a first ranging request message sent by the second network device; the registration identifier is: the registration identifier of the first network device obtained by the second network device based on the SN of the network device to be online that is pre-stored, and the network device to be online includes the first network device. The first network device responds to the first ranging request message and sends a first ranging message to the second network device, and the first ranging message includes the registration identifier. And, the first network device receives a first response message sent by the second network device, and the first response message is used to indicate: the first equalization delay that the first network device will use in the optical communication network.

[0016] In this embodiment, the second network device pre-stores the SNs of the network devices to be brought online. The second network device can then assign registration identifiers to the first network devices based on the stored SNs, eliminating the need for the second network device to open an SN discovery window for these first network devices. Accordingly, after the first network device sends a ranging message, the second network device can open a ranging window only for the first network device. This avoids the latency jitter associated with opening the SN discovery window and the service interruption issues of other network devices, thereby improving the communication performance of the optical communication network.

[0017] In some feasible situations, the second network device may not open a ranging window for the first network device, but instead adopt other non-windowing methods to complete the ranging between the first network device and the second network device.

[0018] As an optional implementation, if the first network device is disconnected from the optical communication network, the registration method provided in this application further includes: the first network device placing the laser of the first network device in a low-power operating mode, where the low-power operating mode indicates that the power of the optical signal emitted by the laser is less than or equal to a first threshold. Furthermore, the first network device drives the laser in low-power operating mode to transmit a second ranging message, where the second ranging message carries a registration identifier; the first network device also receives a second response message sent by the second network device in response to the second ranging message, where the second response message indicates a second equalization delay to be used by the first network device in the optical communication network. This second equalization delay can be the same as or different from the first equalization delay.

[0019] As an optional implementation, a Wi-Fi channel is established between the first network device and the second network device. If the first network device disconnects from the optical communication network, the registration method provided in this application further includes: the first network device sending a third ranging message to the second network device via the Wi-Fi channel, where the third ranging message carries the registration identifier of the first network device. Furthermore, the first network device receives a third response message sent by the second network device in response to the third ranging message, where the third response message indicates a third equalization delay to be used by the first network device in the optical communication network. This third equalization delay can be the same as or different from the first equalization delay.

[0020] In a third aspect, the present application provides a registration method for an optical communication network. The second network device of the registration stores the SN of the network device to be put online in the optical communication network. The registration method includes: the second network device obtains the registration identifier of the first network device based on the SN of the pre-stored first network device, and the first network device is one of the network devices to be put online. The second network device sends the SN and registration identifier of the first network device to the first network device, and sends a first ranging request message to the first network device. Accordingly, the first network device responds to the first ranging request message and sends a first ranging message to the second network device, and the first ranging message carries the aforementioned registration identifier. And, the second network device responds to the first ranging message and sends a first response message to the first network device, and the first response message is used to indicate: the first equalization delay that the first network device will use in the optical communication network.

[0021] In a fourth aspect, the present application provides a registration device, which includes a software unit or module for executing any optional implementation of the first aspect or the second aspect.

[0022] In a fifth aspect, the present application provides a network device. The network device includes a processor, a memory, and a transceiver. The memory is configured to store the serial number of a network device to be brought online in an optical communication network. The processor is configured to, based on the serial number of the network device to be brought online, collaborate with the transceiver to perform the steps of the method corresponding to the first aspect or any optional implementation of the first aspect.

[0023] In a sixth aspect, the present application provides a network device, comprising: a processor and a transceiver, the processor and the transceiver being configured to collaboratively execute the operation steps of the method corresponding to the second aspect or any optional implementation of the second aspect.

[0024] In a seventh aspect, the present application provides a communication system. The communication system comprises: an optical fiber, a network device provided in the fifth aspect, and one or more network devices provided in the sixth aspect, wherein the optical fiber is used to connect the network devices. The communication system can be used to perform the operational steps of the method corresponding to the first aspect, the second aspect, any optional implementation of the first aspect, or any optional implementation of the second aspect.

[0025] Regarding the beneficial effects of any aspect of the fourth to seventh aspects, reference may be made to the description of any optional implementation method in the first to third aspects, and no further details will be given here. Based on the implementation methods provided in the above aspects, this application can also be further combined to provide more implementation methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] FIG1 is a schematic diagram of the structure of an optical communication network provided by this application;

[0027] FIG2 is a schematic diagram of the structure of a PON 200 provided in this application;

[0028] FIG3 is a schematic structural diagram of a master ONU and a slave ONU provided in this application;

[0029] FIG4 is a flow chart of a registration method for an optical communication network provided by the present application;

[0030] FIG5 is a second flow chart of a registration method for an optical communication network provided by the present application;

[0031] FIG6 is a schematic diagram of establishing a WIFI channel provided by the present application;

[0032] FIG7 is a schematic diagram of a low-power optical signal provided by the present application;

[0033] FIG8 is a third flow chart of a registration method for an optical communication network provided by the present application;

[0034] FIG9 is a schematic structural diagram of a registration device provided by this application;

[0035] FIG10 is a schematic diagram of the structure of a network device provided in this application. DETAILED DESCRIPTION

[0036] In order to make the description of the following embodiments clear and concise, a brief introduction to the relevant technology is first given.

[0037] Discovery Window: During the ONU registration process, the OLT activates a silent window to discover the SN of a new ONU about to come online. During the discovery window's time slot, services for other ONUs registered with the optical communication network are interrupted. The discovery window's time slot refers to the period of time during which the discovery window persists after the OLT activates it. In some examples, the discovery window is also called the SN discovery window. In FTTR scenarios, this window is the silent window activated by the master ONU to discover the SN of a new slave ONU about to come online.

[0038] Ranging Window: During the ONU registration process, the OLT activates a silent window to measure the distance of incoming ONUs. During the timeslot corresponding to the ranging window, services for other ONUs registered with the optical communication network are interrupted. The ranging window's timeslot is the duration of the ranging window after the OLT activates it. In FTTR scenarios, this ranging window is the silent window activated by the master ONU to measure the distance of incoming slave ONUs.

[0039] Figure 1 is a structural diagram of the optical communication network provided in this application. The optical communication network can also be called an optical transmission network. The optical communication network includes multiple network devices, one or more of which are used to connect to user terminals (such as terminals 111 to 115 shown in Figure 1).

[0040] A terminal may also be referred to as terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), etc.

[0041] In some embodiments, the terminal may be a mobile phone (such as the terminal 111 shown in FIG1 ), a tablet computer (such as the terminal 112 shown in FIG1 ), a computer with wireless transceiver function (such as the terminal 113 shown in FIG1 ), a personal communication service (PCS) phone (such as the terminal 114 shown in FIG1 ), a desktop computer (such as the terminal 115 shown in FIG1 ), a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in a smart home, and the like.

[0042] In other embodiments, the terminal may also be a home gateway. For example, the home gateway may be an optical network terminal (ONT). For example, the network device 121, network device 123, and network device 124 shown in Figure 1 may be an optical network terminal. The optical network terminal can connect user devices such as PCs and mobile phones to the Internet. The home gateway can transmit data for the following services: Internet access services (such as interactive network television services, which include home gateways supporting video on demand, live broadcast services, and distance education, etc.), online gaming services (for example, gaming terminals conduct gaming services through home gateways), Internet Protocol (IP) telephony, videophones, and video surveillance services, etc. For another example, the home gateway can also implement home control and security service management on a remote network. For example, a user with a home gateway can access the automated lighting, heating, and security systems in the area covered by the home gateway while at work or out. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal.

[0043] The network device may be a routing and forwarding device with optical communication capabilities, for example, a router or a switch, etc. The network device may also be a broadband network gateway (BNG) or a broadband remote access server (BRAS) with optical communication capabilities.

[0044] Terminals can access servers using network devices. In Room 1, as shown in Figure 1, a user can use terminal 111 to establish a communication connection with network device 121 using wireless broadband (WIFI) technology, allowing terminal 111 to send data packets to server 130. For example, network devices 123 and 124 communicate with each terminal via WIFI, network device 123 communicates with network device 121 via optical fiber, and network devices 121 and 122 also communicate via optical fiber.

[0045] As an optional implementation, a WIFI channel based on Internet Protocol (IP) may be established between the network device 123, the network device 124 and the network device 121. connect.

[0046] In some possible scenarios, the terminal may also use optical communication technology to establish a communication connection with a radio access network (RAN) (not shown in the figure) to access the server 130 .

[0047] Server 130 may be an application server or an authentication and authorization server. Server 130 may provide video services, game services, message services, music services, authentication and authorization services, and the like. In one example, the functions of multiple services may be integrated on server 130. For example, a game service and a music service may be deployed on server 130. In another example, the functions of some services may be integrated on server 130. For example, some services of a game service and some services of a video service may be deployed on server 130. Server 130 may also utilize virtualization technology to provide multiple virtual machines, which provide various services. The embodiments of the present application do not limit the deployment form of the services.

[0048] The network device is connected to the server 130 via wireless or wired means. Figure 1 is only a schematic diagram, and the optical communication network may also include other devices that are not shown in Figure 1. The embodiments of the present application do not limit the number of terminal devices, network devices, and servers included in the optical communication network.

[0049] The present application can be applied to scenarios such as PON, passive optical LAN (POL), industrial optical network, vehicle-mounted optical network, and Internet of Things. For example, in the PON scenario, the optical transmitting device (such as network device 121) can be located in the user's home or the user's corridor, and the optical receiving device (such as network device 122) can be located in the operator's computer room. The optical transmitting device and the optical receiving device in the POL scenario can be located in a park (such as an enterprise, campus, etc.). The optical transmitting device and the optical receiving device in the industrial optical network scenario can be located in an industrial manufacturing workshop. The optical transmitting device and the optical receiving device in the vehicle-mounted optical network scenario can be set in a vehicle. As an example, in the PON scenario, the network device 121 can be an optical network unit (ONU) or ONT, and the network device 122 can be an OLT. As another example, in the PON scenario, the network device 121 can be a master ONU, and the network devices 123 and 124 can be slave ONUs. In the vehicle optical network scenario, the optical transmitting device can be a vehicle interface unit (VIU), and the optical receiving device can be a mobile data center (MDC), vehicle dynamic control (VDC) or cockpit data center (CDC). The technical solution proposed in this application can also be applied to optical backbone transmission networks, data center optical transmission, short-distance optical interconnection and wireless service fronthaul / backhaul, etc. Specifically, the technical solution proposed in this application can be used for optical transmitting devices and / or optical receiving devices corresponding to the above-mentioned different networks. Taking PON as an example, the embodiments of the present application can be applied to time division multiplexing passive optical networks (TDM-PON) and wavelength division multiplexing passive optical networks (WDM-PON).

[0050] This embodiment takes the whole house fiber optic scenario as an example to illustrate the registration method of the optical communication network provided by this application. The whole house fiber optic scenario can be achieved through fiber to the room (FTTR) technology. FTTR refers to: replacing network cables with optical fibers, laying optical fibers to each room, and interconnecting with home gateways by deploying optical network equipment. In combination with dual-band Wi-Fi, a networking technology that ensures full-house network coverage is implemented. Figure 2 is a structural diagram of the PON 200 provided by this application. As shown in Figure 2, multiple ONUs (such as ONUs 211 to 214 in Figure 2) communicate with OLT 220 through an optical splitter 230.

[0051] For example, the signal frames transmitted upstream by ONU 211 to ONU 214 to OLT 220 are signal t1, signal t2, signal t3, and signal t4, respectively. After receiving the signal from the ONU, OLT 220 executes the service or operation indicated by the signal, such as registering or ranging the ONU.

[0052] As a possible implementation, the hardware implementation of the ONU shown in FIG2 can adopt the method provided in FIG3. FIG3 is a schematic diagram of the structure of the master ONU and the slave ONU provided in this application, wherein ONU 310 can be any one of ONU 211 to ONU 214 shown in FIG2. ONU 320 can register ONU 310 with the OLT of the optical communication network. In this embodiment, ONU 310 can also be referred to as a slave ONU in the FTTR, and ONU 320 can also be referred to as a master ONU in the FTTR.

[0053] As shown in FIG3 , the ONU 310 includes an ONU media access control (MAC) 311 , an ONU optical physical layer (PHY) 312 , a laser 313 and a photodetector 314 .

[0054] In the transmit direction, the ONU MAC 311 can control the laser 313 on and off through the transmit enable port (Tx_En, also known as the switch pin). For example, if the ONU 310 is currently in its transmit timeslot (also known as an occupied timeslot), the ONU MAC 311 uses the transmit enable port to turn the laser 313 on. If the ONU 310 is not in its transmit timeslot, the ONU MAC 311 uses the transmit enable port to turn the laser 313 off. The ONU MAC 311 can also adjust the physical parameters of the laser 313, such as the laser bias current and modulation current, through the transmit control port (Tx_Ctr). The ONU MAC 311 can send service data to the ONU optical PHY 312 through the data port (Data), and the ONU optical PHY 312 transparently transmits the service data. ONU optical PHY 312, also known as the driver of laser 313, drives the laser to generate optical signals based on instructions from the transmit enable port and / or transmit control port of ONU MAC 311. Under the control of ONU optical PHY 312, laser 313 modulates service data into optical signals and transmits the uplink optical signals carrying the service data to ONU 320 via optical fiber.

[0055] In the receiving direction, the photodetector 314 receives the downstream optical signal from the ONU 320 and converts it into an electrical signal. The ONU optical PHY 312 transparently transmits the electrical signal, and the ONU MAC 311 parses the electrical signal to obtain service data. The ONU 310 may also include a wavelength division multiplexer 315, which is used to transmit the upstream optical signal generated by the laser 313 into the optical fiber and transmit the downstream optical signal received from the optical fiber to the photodetector 314.

[0056] In this embodiment, the ONU 310 may further include a WIFI PHY 317 and an antenna 1. The WIFI PHY 317 is configured to establish a WIFI channel (or WIFI link) with the ONU 320 through the antenna 1. The WIFI channel may include but is not limited to: Connections and interconnection channels based on distributed systems, such as Harmony OS Connect TM , the Harmony OS Connect TM It will With Harmony OS TM The integration results in a way for devices to connect to each other. It's worth noting that different manufacturers can record Wi-Fi channels with different names based on the differences in hardware components and device naming, thereby achieving coordination between Wi-Fi and optical communications between devices, thereby improving the efficiency and robustness of optical communications.

[0057] The wireless communication functions of ONU 310 and ONU 320 can be implemented through antenna 1, antenna 2, as well as a mobile communication module, a modem processor, and a baseband processor (not shown). For example, antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some embodiments, the antenna can be used in conjunction with a tuning switch. With respect to the mobile communication module, taking ONU 310 as an example, at least some of the functional modules of the mobile communication module can be provided in WIFI PHY 317, or at least some of the functional modules of the mobile communication module can be provided in the same device as at least some of the modules of WIFI PHY 317.

[0058] ONU 320 may include an ONU MAC 321, a signal processing module 322, an ONU optical PHY 323, a photodetector 324, and a laser 325. In the receiving direction, the photodetector 324 receives the upstream optical signal from the ONU 310 and converts it into an electrical signal. This electrical signal can be analog or digital. The signal processing module 322 can be implemented using analog devices (such as amplifiers) or digital devices (such as digital signal processors). Therefore, the signal processing module 322 can perform analog or digital signal processing. The ONU MAC 321 parses the electrical signal passing through the signal processing module 322 to obtain service data. In the transmitting direction, the ONU MAC 321 generates service data, and the signal processing module 322 performs analog or digital processing on the service data. Under the control of the ONU optical PHY 323, the laser 325 modulates the service data into an optical signal and transmits the downstream optical signal carrying the service data to the ONU 310 via optical fiber. The ONU 320 may further include a wavelength division multiplexer 326 for transmitting the downstream optical signal generated by the laser 325 to the optical fiber, and transmitting the upstream optical signal received from the optical fiber to the photodetector 324 .

[0059] Regarding the implementation of the WIFI PHY 327 and the antenna 2 in the ONU 320, reference may be made to the description of the ONU 310 and will not be repeated here.

[0060] In this embodiment, in addition to the optical transmission channel, a WIFI channel may be further included between the master ONU and the slave ONU. The WIFI channel may be used to provide communication capabilities for the master ONU and the slave ONU when the communication provided by the optical transmission channel is disconnected. Thus, the master ONU notifies the slave ONU to restore the optical transmission channel, or the slave ONU actively sends online information to the master ONU, and the online information is used to restore the optical transmission channel between the master ONU and the slave ONU.

[0061] In conventional technology, taking the FTTR scenario as an example, the master ONU will issue an authorization instruction and periodically open the SN discovery window for the slave ONU; in the time slot corresponding to the SN discovery window, the slave ONU sends an SN signal to the master ONU; then, the master ONU assigns a registration identifier to the slave ONU to be online based on the received SN signal and opens a ranging silent window. Afterwards, the master ONU performs ranging and registration on the slave ONU to be online in the time slot corresponding to the ranging silent window to complete the registration process of the slave ONU. Since the services of other slave ONUs connected to the master ONU need to be interrupted in the time slot corresponding to the SN discovery window and the ranging authorization window, the ONU registration solution periodically opens the SN discovery window, which will bring large delay jitter. This poses a challenge to the PON system in application scenarios with high delay jitter requirements.

[0062] In order to reduce the uplink delay jitter caused by the registration process, based on the master ONU (ONU 320) and the slave ONU (ONU 310) provided in Figure 3, the registration method of the optical communication network provided in this application is exemplified below, taking the two scenarios of the ONU going online for the first time in the optical communication network and going online again after being offline as examples.

[0063] The first scenario: An ONU goes online for the first time in an optical communication network.

[0064] As shown in Figure 4, Figure 4 is a flowchart diagram 1 of a registration method for an optical communication network provided by this application, wherein the master ONU can be referred to as a second network device, etc., and the slave ONU 1 can be referred to as a first network device, etc.

[0065] In the present embodiment, the master ONU is also called the master ONT, and the slave ONU is also called the slave ONT. In the FTTR scenario, the OLT is located at a location provided by the operator network (such as a dedicated communication box on the corridor, machine room, or roadside of a building), and the master ONU and the slave ONU are located in the user's room. Wherein, the SN of the slave ONU to be put online is pre-stored in the master ONU. Exemplarily, the operator writes the SN of the slave ONU to be put online into the memory in the master ONU through a software tool. The memory can be used for caching data to be forwarded in the master ONU, as well as information such as the legal SN written in advance. In some optional situations, the memory can also be used to store the association relationship between the SN and the registration identifier of the slave ONU allocated.

[0066] The memory provided in this embodiment may include, but is not limited to, random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, and may also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be integrated with the processor or exist independently and be coupled to the processor through the interface circuit of the master ONU, which is not specifically limited in this embodiment of the present application.

[0067] In some other optional implementations, the SN of the ONU to be online stored in the master ONU may be issued by other devices, such as the OLT or other network devices communicating with the master ONU, etc., which is not limited in this application.

[0068] 4 , the registration method for an optical communication network provided in this embodiment includes the following steps S410 to S450 .

[0069] S410 : The master ONU establishes an optical communication connection with each slave ONU.

[0070] Regarding the implementation process of S410, a possible specific example is provided below. In this example, the data frame refers to a signal frame transmitted in the form of an optical signal.

[0071] Step 1: The master ONU continuously broadcasts data frames to multiple slave ONUs. Each data frame carries control information. This control information is used to instruct the slave ONUs to go online, perform ranging, or register in the optical communication network.

[0072] In this embodiment, as illustrated in conjunction with FIG. 3 , the data frame may be an optical signal generated by the master ONU optical PHY 323 driving the laser 325 after the master ONU MAC 321 generates data to be sent.

[0073] Optionally, the data frame may also be used to instruct the ONU to forward one or more optical signals, etc.

[0074] The following describes a process of establishing an optical communication connection between a master ONU and a slave ONU, taking slave ONU 1 among the slave ONUs as an example.

[0075] Step 2: Slave ONU 1 performs frame synchronization on the received data frames and establishes an optical communication connection with the master ONU.

[0076] Frame synchronization refers to performing frame synchronization on the received serial signal from ONU 1. Frame synchronization refers to determining the starting and ending positions of a data frame in the serial signal by marking the start and end of a frame from ONU 1. Frame synchronization methods may include, but are not limited to, at least one of: a character count method, a start and end delimiter method with character padding, a start and end flag method with bit padding, and a physical layer coding violation method.

[0077] Taking the head and tail flag method with bit stuffing as an example, the frame synchronization process is illustrated. Each data frame header carries a specific string of bits (such as 0101). If ONU 1 recognizes these specific bits, it determines that it has identified the header of a data frame and considers the data before the next header in the serial data as the data of this data frame, thus achieving frame synchronization. In some possible scenarios, frame synchronization is also called "frame delimitation."

[0078] In some optional embodiments, since the frame lengths of the data frames are the same, after ONU 1 finds the frame header of data frame 1 (such as the specific bits at the starting position of the frame header are 0101), it can delay the frame length of one data frame before identifying the frame header of the next data frame (such as data frame 2).

[0079] For example, if the starting position of the frame header of the next data frame is a specific bit (such as 0101), the slave ONU 1 determines that the frame synchronization of the data frame 1 is correct.

[0080] For another example, if the starting position of the frame header of the next data frame is not a specific bit (e.g., 0101), slave ONU 1 determines that a frame synchronization error has occurred in data frame 1. For example, if the starting position of the frame header is 1111, but the specific bit is 0101, then slave ONU 1 determines that a frame synchronization error has occurred in data frame 1 (also known as frame desynchronization). Slave ONU 1 then re-executes the above frame synchronization process, thereby selecting a data frame with correct frame synchronization to perform the slave ONU ranging and registration process.

[0081] The above example merely provides a possible implementation of the head and tail mark method with bit padding for this embodiment and should not be construed as limiting the present application. The ONU 1 may also employ other frame synchronization methods to achieve frame synchronization of data frames. The specific implementations of the character counting method, the head and tail delimiter method with character padding, and the physical layer coding violation method can be found in the description of conventional techniques and are not detailed here.

[0082] Step 3: Parse the data frame from ONU 1 to obtain control information, and start the process corresponding to the control information.

[0083] In this embodiment, if the control information is used to instruct the slave ONU 1 to go online in the optical communication network on the master ONU, then the process corresponding to the control information is to start the ranging and registration process of the slave ONU 1.

[0084] After the master ONU establishes an optical communication connection with the slave ONU 1, the following step S420 is executed.

[0085] S420: The master ONU obtains the registration identifier of the slave ONU 1 according to the pre-stored SN of the slave ONU to be online.

[0086] For example, the registration identifier is the identification (ID) of slave ONU 1, and the ID of slave ONU 1 is recorded as: ONU ID 1.

[0087] In some optional examples, the registration identifier may also refer to the ID of other types of home optical network devices, such as the ID of a single family unit (SFU) (abbreviated as SFU ID), the ID of a home gateway unit (HGU) (abbreviated as HGU ID), or the ID of a single business unit (SBU) (abbreviated as SBU ID), etc. In the text, each embodiment is described using the ONU ID as an example, but it should not be understood that the registration identifier provided in this application refers only to the ONU ID.

[0088] The registration identifier is the registration information required by the slave ONU when going online. During the communication process between slave ONU 1 and the master ONU, the master ONU uniquely identifies slave ONU 1 based on ONU ID 1 to avoid forwarding data sent to slave ONU 1 to other slave ONUs, thereby improving the communication accuracy between the slave ONU and the master ONU.

[0089] In some optional implementations, S410 and S420 described above may also be referred to as the discovery phase of a slave ONU going online in the optical communication network on the master ONU. In related art, the master ONU periodically opens an SN discovery window for each slave ONU during the slave ONU discovery phase. In this embodiment, the master ONU pre-stores the SNs of the slave ONUs to be online. After frame synchronization is performed between the master and slave ONUs, the master ONU can assign an ONU ID to the slave ONU based on the stored SNs, thus avoiding the delay jitter caused by opening the SN discovery window.

[0090] For example, since the master ONU stores the SN of the slave ONU to be online, the master ONU does not need to open the discovery window, that is, the master ONU does not need to interrupt the services of other slave ONUs, and can also allocate registration identifiers for the slave ONUs to be online, thereby realizing zero-window registration of the slave ONU in the optical communication network, which is beneficial to improving the overall transmission efficiency between the slave ONU and the master ONU in the optical communication network. Not opening the discovery window described in this embodiment means that the master ONU does not need to open the discovery window for the registration process of the slave ONU, or the master ONU does not need to set a specific time slot for the registration process of the slave ONU and interrupt the services of other slave ONUs within the time slot. In some possible situations, during the registration process of the master ONU with the slave ONU, the master ONU does not open the discovery window, which is also called the slave ONU realizing zero-window registration in the optical communication network.

[0091] 4 , the ranging phase of the slave ONU 1 going online in the optical communication network on the master ONU is exemplarily described below.

[0092] S430: The master ONU sends the SN of slave ONU 1, the registration identifier of slave ONU 1, and ranging request message 1 to slave ONU 1.

[0093] In some optional situations, the SN of the slave ONU 1 and the registration identifier of the slave ONU 1 may be encapsulated in one message or one packet.

[0094] The ranging request message 1 is used to instruct the slave ONU 1 to start a ranging process between the slave ONU 1 and the master ONU according to the ONU ID 1. In some possible examples, the ranging request message 1 may also be referred to as a first ranging request message.

[0095] Optionally, after the master ONU sends the ranging request message 1, a ranging window may be opened for the slave ONU 1. In the time slot corresponding to the ranging window, the slave ONU 1 and the master ONU collaborate to complete the ranging process.

[0096] As a feasible example, the process of the master ONU sending a ranging request message to the slave ONU 1 can be repeated multiple times so that the slave ONU 1 can receive the ranging request message, thereby successfully allocating the ONU ID 1 to the slave ONU 1 by the master ONU. The number of repetitions can be 2, 3, 5, or other values. The number of repetitions can be set by the operator, or the number of repetitions can vary according to different user needs, which is not limited by this application. It is worth noting that the master ONU can also repeat multiple times sending a message carrying the ID of ONU 1 to the slave ONU 1, which will not be described in detail here.

[0097] It is worth noting that, in this embodiment, other slave ONUs may also receive various information in S430, but other slave ONUs can determine whether the received SN is consistent with the local SN of the other slave ONU. If not, the ranging process will not be started; only when the SN received by the slave ONU is consistent with the local SN of the slave ONU will the slave ONU start the ranging process (such as sending a ranging message). Therefore, in this embodiment, the slave ONU can identify and judge the received information, avoid errors in the master ONU caused by multiple slave ONUs performing ranging in parallel, and improve the registration accuracy between the master and slave ONUs.

[0098] Corresponding to S430 , the slave ONU 1 receives the SN of the slave ONU 1 , the registration identifier of the slave ONU 1 , and the ranging request message 1 sent by the master ONU.

[0099] S440: Slave ONU 1 responds to ranging request message 1 and sends ranging message 1 to the master ONU.

[0100] The ranging message 1 includes ONU ID 1. In some possible examples, the ranging message 1 may also be referred to as a first ranging message.

[0101] Corresponding to S440 , the master ONU receives ranging message 1 .

[0102] S450 , the master ONU responds to the ranging message 1 and sends a response message 1 to the slave ONU 1 .

[0103] In some examples, the response message 1 may also be referred to as a first response message.

[0104] The response message 1 is used to indicate the first equalization delay (eqD) to be used by the slave ONU 1 in the optical communication network. The first equalization delay (such as eqD 1) indicates the channel to be used by the slave ONU 1 during the service communication between the master ONU and the slave ONU 1.

[0105] In this example, after the master ONU allocates eqD to the slave ONU 1 and performs service authorization, the slave ONU 1 is considered to be registered with the optical communication network to which the master ONU belongs.

[0106] Generally speaking, in FTTR scenarios, the number and types of slave ONUs to be brought online in a room are fixed. Before all slave ONUs go online, operators write the SNs of the slave ONUs to be brought online to the master ONU in the room. This eliminates the need for the master ONU to open the SN discovery window for these slave ONUs during the online process. This reduces delay jitter in the optical communication network, avoids service interruptions for other slave ONUs in the SN discovery window, and improves the communication performance of the optical communication network.

[0107] The above embodiment is an example of an ONU going online for the first time in an optical communication network. The second scenario provided in this embodiment is exemplarily described below.

[0108] The second scenario: A slave ONU goes offline and then comes back online in the optical communication network.

[0109] During normal use of an optical communication network, due to factors such as hardware failures in network devices (slave ONUs or master ONUs), communication between the slave ONUs and the master ONUs is inevitably disconnected. To promptly restore optical communication between the network devices, this embodiment further provides a method for registering network devices in an optical communication network, as shown in FIG5 , which is a second flow chart of a registration method for an optical communication network provided by this application. The relationship between the master ONU and the slave ONUs can be seen in the description of FIG4 , which will not be repeated here.

[0110] 5 , the registration method for an optical communication network provided in this embodiment includes the following steps S510 to S530 .

[0111] S510: The master ONU establishes an optical communication connection with the slave ONU 1.

[0112] Regarding the process of the master ONU establishing the optical communication connection, reference may be made to the description of S410 and will not be repeated here.

[0113] It is worth noting that if the slave ONU 1 is offline in the optical communication network but still maintains an optical communication connection with the master ONU, the operation steps included in S510 may not be performed.

[0114] S520: Slave ONU 1 sends ranging message 2 to the master ONU.

[0115] Corresponding to S520 , the master ONU receives ranging message 2 .

[0116] In some possible examples, the ranging message 2 may also be referred to as a second ranging message.

[0117] The ranging message 2 carries the registration identifier of the slave ONU 1.

[0118] Correspondingly, after receiving ranging message 2 sent by slave ONU 1, the master ONU opens a ranging window for slave ONU 1. In the time slot corresponding to the ranging window, slave ONU 1 and the master ONU collaborate to complete the ranging process.

[0119] To reduce latency jitter in the optical communication network and implement zero-window registration from the ONU in the optical communication network, the ranging message in S520 can be, but is not limited to: an Ethernet message transmitted over a Wi-Fi channel or a low-frequency optical signal transmitted over an optical communication connection. The following describes these two implementations in detail.

[0120] In a possible implementation, the slave ONU 1 sends the ranging message via a WIFI channel between the slave ONU 1 and the master ONU. Regarding the implementation of the WIFI channel, reference may be made to the description of FIG3 , which will not be repeated here.

[0121] In this example, slave ONU 1 transmits ranging messages through the Wi-Fi channel, eliminating the need for the master ONU to open an SN discovery window for slave ONUs that need to come back online after being offline. Furthermore, the master ONU already stores the SNs of each slave ONU and the ONU IDs assigned to them. This enables zero-window registration of slave ONUs coming back online in the master ONU, reducing the delay jitter of the optical communication network caused by the slave ONU registration process.

[0122] Regarding the above-mentioned method for establishing a WIFI channel, a possible example is provided below, as shown in Figure 6, which is a schematic diagram of establishing a WIFI channel provided by this application. The process of establishing the WIFI channel includes the following steps S610 and S620.

[0123] S610: The master ONU provides one or more WIFI links.

[0124] As shown in WIFI link 1 to WIFI link n in Figure 6, n is a positive integer greater than 1.

[0125] It should be understood that the WIFI link provided by the master ONU can be accessed by multiple different types of devices, including but not limited to: slave ONUs, terminals (such as mobile phones, notebooks, tablets and PCs, etc.), smart screens, smart displays, AR devices or VR devices, etc.

[0126] S620: The slave ONU 1 accesses the WIFI link provided by the master ONU according to the one or more WIFI signals obtained by the scan, thereby establishing a WIFI channel between the master ONU and the slave ONU 1.

[0127] For example, the WIFI link accessed from ONU 1 is WIFI link 1 in FIG6 .

[0128] Optionally, before slave ONU 1 accesses the Wi-Fi link provided by the master ONU, the master ONU may set an access password (e.g., a specific string of characters: 12345678 or other characters) for the Wi-Fi link access process. Only when the access password provided by slave ONU 1 is correct will the master ONU allocate a Wi-Fi link to slave ONU 1. In some possible scenarios, the process of slave ONU 1 logging in to the master ONU using a Wi-Fi signal is also called a "handshake."

[0129] The WIFI channels provided in this embodiment may include but are not limited to: Connections and interconnection channels based on distributed systems, such as Harmony OS Connect TM .

[0130] With reference to the content provided in FIG3 , the WIFI channel may be implemented based on the WIFI PHY 317 and antenna 1, and the WIFI PHY 327 and antenna 2. For specific implementations, reference may be made to the description in FIG3 , which will not be repeated here.

[0131] In this embodiment, an optical communication connection and a WIFI channel are established between the master ONU and the slave ONU. When a failure in the optical communication connection causes the slave ONU to go offline, the slave ONU can use the WIFI channel to interact with the master ONU to notify the master ONU to open a ranging window for the slave ONU, thereby implementing the slave ONU's re-online process in the master ONU. This is beneficial to improving the performance of the slave ONU using the optical communication network for data communication, and can quickly restore the optical communication connection between the slave ONU and the master ONU, thereby improving the fault recovery efficiency of the optical communication network.

[0132] In another possible implementation, slave ONU 1 is set to a low-power optical signal low-power operating mode, and based on the low-power operating low-power optical signal mode, a ranging message is sent to the master ONU. Wherein, the low-power operating low-power optical signal mode refers to that the laser of slave ONU 1 operates in a low-power state, and the low power may refer to that the power of the optical signal sent by the laser is less than or equal to a first threshold value. The numerical value of the first threshold value of the low-power optical signal can be set according to the different hardware components included in the laser. In some optional situations, the power of the optical signal sent by the laser in the low-power operating mode is less than the power of the optical signal sent by the laser for normal business.

[0133] The following uses a single-tone, low-power optical signal as an example to illustrate the ranging message sent from an ONU. Figure 7 is a schematic diagram of a low-power optical signal provided by this application. In conjunction with Figures 3 and 7, the process of using a low-power optical signal from an ONU to send a ranging message is illustrated.

[0134] Step 1: The ONU MAC 311 in the ONU 310 sends an adjustment instruction to the ONU optical PHY 312: reduce the bias current (Ibias) so that the adjusted Ibias is less than or equal to the threshold current (I T ); and, turning off the modulation current (Imod) and turning off Tx_En. For example, the threshold current is 5 milliamperes (mA).

[0135] Step 2: After the laser 313 is stable, the ONU MAC 311 sends information of a specific frequency via Tx_En; and the laser 313 continuously switches the optical port to generate an optical signal corresponding to the information of the specific frequency, and sends the generated optical signal to the ONU 320.

[0136] The information of the specific frequency is the information carried by the aforementioned ranging message, and the ranging message carries the registration identifier corresponding to the ONU 310 .

[0137] Because the Ibias current has been lowered in step 1, the power of the optical signal generated by laser 313 is relatively low. The optical signal corresponding to the specific frequency information generated by the laser can also be called a low-power optical signal. For example, ONU 310 uses the transmit enable port (Tx_En) to load the information carried by the ranging message into the spontaneous emission optical signal generated by the laser. The power of this spontaneous emission optical signal is lower than that of the service signal, thus preventing the ranging message from affecting the service signal when the discovery window is not enabled.

[0138] 7 , the low-power optical signal has a maximum power of -23.4 decibels per milliwatt (dBm) and a minimum power of -45.8 dBm.

[0139] In this embodiment, the index describing the power of the optical signal can be obtained by the following formula 1. dBm=10*log(P / 1mW) Formula 1

[0140] Where P represents the power value in watts.

[0141] Step 3: ONU 320 analyzes the received optical signal and obtains the ranging message of ONU 310.

[0142] Illustratively, the photodetector 324 in the ONU 320 performs photoelectric conversion on the received optical signal to obtain an electrical signal; then, the signal processing module 322 processes the electrical signal obtained by the photoelectric conversion to obtain a bit stream corresponding to the ranging message.

[0143] It is worth noting that since ONU 320 does not open the SN discovery window, when ONU 320 receives the optical signal corresponding to the ranging message, ONU 320 may also receive service signals generated by other slave ONUs, such as t1, t2, and t3 in Figure 7. When ONU 320 receives the ranging message from ONU 1 to be registered and normal service messages from other slave ONUs, the master ONU processes the service messages normally. Furthermore, the master ONU performs low-pass filtering on the ranging message and performs frequency sweeping and cross-correlation processing to obtain the bit stream of the ranging message.

[0144] In some optional implementations, the above S510 and S520 and their possible sub-steps may also be referred to as the discovery phase of the slave ONU going online in the optical communication network on the master ONU. In conventional technology, the master ONU periodically opens an SN discovery window for each slave ONU. In this embodiment, the master ONU pre-stores the SNs of the slave ONUs to be online, so that after an optical communication connection is established between the master ONU and the slave ONU, the master ONU can allocate an equalized delay (eqD) to the slave ONU based on the received ranging message. The master ONU does not need to interrupt the normal services of other slave ONUs, thus avoiding the delay jitter caused by the SN discovery window, thereby achieving zero-window registration of the slave ONU in the optical communication network, which is beneficial to improving the overall transmission efficiency between the slave ONU and the master ONU in the optical communication network.

[0145] 5 , the registration method for the optical communication network provided in this embodiment further includes step S530 .

[0146] S530 : The master ONU responds to the ranging message 2 and sends a response message 2 to the slave ONU 1 .

[0147] The response message 2 is used to indicate the second equalization delay to be used by the slave ONU 1 in the optical communication network.

[0148] In a first possible example, if the ranging message 2 is an Ethernet message transmitted through a WIFI channel, the value of the equalization delay indicated by the response message 2 may be eqD 2.

[0149] In a second possible example, if the ranging message 2 is a low-frequency optical signal transmitted through an optical communication connection, the value of the equalization delay indicated by the response message 2 may be eqD 3 .

[0150] It is worth noting that the above eqD 1, eqD 2 and eqD 3 may be the same or different, and this application does not limit this.

[0151] Whether the ranging message is transmitted through the WIFI channel as provided in Figure 6, or the ranging message is represented by the characteristics of the signal (such as a specific frequency) as provided in Figure 7, in the discovery phase when the slave ONU comes back online, the master ONU does not need to open a silent window (SN discovery window) for the slave ONU, thereby avoiding the delay jitter caused by the SN discovery window, and also avoiding the process in which the master ONU needs to interrupt the services of other slave ONUs before the slave ONU that is online can perform ranging and registration, which is beneficial to improving the overall transmission efficiency between the slave ONU and the master ONU in the optical communication network.

[0152] The registration methods provided in Figures 5 to 7 above are merely examples provided in this embodiment and should not be construed as limiting the present application. After the slave ONU goes offline, the master ONU and the slave ONU can also use other methods to restore the optical communication connection (re-online) between the slave ONU and the master ONU, as shown in Figure 8, which is a flow diagram of a registration method for an optical communication network provided by the present application. Regarding the relationship between the master ONU and the slave ONU, reference can be made to the description of Figure 4, which will not be repeated here.

[0153] Referring to FIG. 8 , the registration method for an optical communication network provided in this embodiment includes the following steps S810 to S850 .

[0154] S810: The master ONU establishes an optical communication connection with slave ONU 1.

[0155] Regarding the process of the master ONU establishing the optical communication connection, reference may be made to the description of S410 and will not be repeated here.

[0156] It is worth noting that if the slave ONU 1 is offline in the optical communication network but still maintains an optical communication connection with the master ONU, the operation steps included in S810 may not be performed.

[0157] In conjunction with the registration method in FIG. 4 , if the slave ONU 1 registered in the optical communication network goes offline, in order to quickly restore the communication performance of the slave ONU 1 , the master ONU executes the following S820 .

[0158] S820 : The master ONU queries the stored status information and determines that the slave ONU to be brought online is slave ONU 1 .

[0159] This status information can be stored in a memory within the master ONU. This status information records the operating status of all slave ONUs that have established optical communication connections with the master ONU, such as whether the operating status is normal online, offline, or back online. Normal online means that the optical communication connection between the slave ONU and the master ONU remains normal and data communication is possible. Offline means that the slave ONU cannot access the optical communication network through the master ONU. Back online means that the slave ONU cannot access the optical communication network through the master ONU but is attempting to restore optical communication with the master ONU.

[0160] In some optional situations, normal online status may also be referred to as a normal state, and offline status and re-online status may be collectively referred to as an abnormal state.

[0161] In the master ONU, the status information may be recorded in a data table format, as shown in Table 1 below.

[0162] Table 1

[0163] The control flag is used to indicate whether the slave ONU is legal (in this embodiment, it can be used to indicate whether the SN of the slave ONU is pre-stored in the master ONU), and the operating status is the above-mentioned status information.

[0164] The configuration status is used to indicate the registration configuration status of the slave ONU, and the matching status is used to indicate whether the slave ONU is connected to the optical communication network. For example, if the configuration status of slave ONU 1 with ONUID=3 is normal, it indicates that the slave ONU 3 is in a normal registration configuration and can normally use the optical communication network. For another example, if the configuration status of slave ONU 1 with ONU ID=1 is initial, it indicates that the slave ONU 1 is in an unregistered configuration and cannot use the optical communication network. The above Table 1 is an example provided by the present application and should not be understood as limiting the present application.

[0165] After the master ONU determines that the slave ONU to be brought online is slave ONU 1 (slave ONU 1 is in an offline state), S830 is executed.

[0166] S830: The master ONU sends a ranging request message 3 to the slave ONU 1.

[0167] Accordingly, slave ONU 1 receives ranging request message 3 sent by the master ONU. In some possible examples, ranging request message 3 may also be referred to as a third ranging request message. Furthermore, the master ONU opens a ranging window based on ranging request message 3.

[0168] S840: Slave ONU 1 responds to ranging request message 3 and sends ranging message 3 to the master ONU.

[0169] In some possible examples, the ranging message 3 may also be referred to as a third ranging message. The ranging message 3 carries the ONU ID of the slave ONU 1 (eg, ONU ID 1).

[0170] S850 : The master ONU responds to the ranging message from slave ONU 1 and sends a response message 3 to slave ONU 1 .

[0171] The response message 3 is used to indicate a third equalization delay to be used in the optical communication network by the ONU 1. The third equalization delay may be the same as or different from the aforementioned eqD1, eqD2, and eqD3.

[0172] In an optional implementation, the master ONU sets a maximum number of ranging window opening times (N). If there are still slave ONUs that are not online within the time slots corresponding to the N ranging windows, the master ONU outputs an alarm message.

[0173] In another optional implementation, the master ONU is set with a maximum activation time (T) of a single ranging window. If there are still slave ONUs that are not online within the maximum activation time, the master ONU outputs an alarm message.

[0174] Exemplarily, the above manner in which the master ONU outputs the alarm information may include: the master ONU sends the alarm information to a network manager.

[0175] It is worth noting that all devices in the home network are in a stable state. Unless someone intentionally sabotages the device, there is no chance of an unfamiliar slave ONU going back online. In this embodiment, the master ONU manages the SN list (as shown in Table 1) and queries the status information of the slave ONUs (or modems, optical modems, etc.) registered with the master ONU in real time. When the slave ONU is in a normal state (online), the master ONU stops opening the SN discovery window, reducing the delay jitter between the master ONU and each slave ONU. When a slave ONU goes offline, the master ONU attempts to initiate the re-online process. If the fault is a simple restart of the slave ONU software or a power failure, the slave ONU can quickly and automatically complete the re-online process after restarting, and all slave ONUs in the home network remain fully online. In addition, if any slave ONU in the home network fails to re-online due to a timeout (greater than or equal to the maximum activation time or the time slot corresponding to the ranging window), the master ONU generates an alarm, and the network management arranges for an on-site maintenance by operators, thereby improving the performance of the optical communication network in the FTTR scenario.

[0176] The above embodiment is described using the FTTR scenario as an example, but the registration method of the optical communication network provided in this application can also be applied to other optical communication scenarios. As long as there is a master ONU (or master ONT) and multiple slave ONUs (or slave ONTs) in the optical communication scenario, the registration method provided in this application can be used, and this application is not limited to this.

[0177] It is understood that in order to implement the functions in the above embodiments, the computing device includes hardware structures and / or software modules corresponding to the execution of each function. It should be readily apparent to those skilled in the art that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in hardware or in a manner driven by computer software depends on the specific application scenario and design constraints of the technical solution.

[0178] The registration method provided according to the present embodiment is described in detail above with reference to FIG. 1 to FIG. 8 . The registration device provided according to the present embodiment will be described below with reference to FIG. 9 .

[0179] Figure 9 is a schematic diagram of the structure of a registration device provided in this application. This registration device 900 can be used to implement the functions of any ONU in the above-mentioned method embodiments, thereby also achieving the beneficial effects of the above-mentioned method embodiments. In this embodiment, the registration device 900 can be network device 121, network device 123, or network device 124 as shown in Figure 1, or any ONU shown in subsequent figures, etc., or a module (such as a chip) applied to the ONU.

[0180] As shown in Figure 9 , registration device 900 includes a transceiver module 910 and a processing module 920. Transceiver module 910 and processing module 920 can collaboratively implement the various steps in the aforementioned method embodiment. A more detailed description of transceiver module 910 and processing module 920 can be directly obtained by referring to the description of each ONU in the method embodiment shown in the aforementioned figures, and is not further elaborated here.

[0181] When the registration device implements any of the registration methods shown in the aforementioned figures through software, the registration device and its various units may also be software modules. The aforementioned registration method is implemented by invoking the software module through a processor. The processor may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0182] For a more detailed description of the above-mentioned registration device, please refer to the relevant description of the embodiment shown in the aforementioned figures, and will not be repeated here. It is understood that the registration device shown in the aforementioned figures is only an example provided in this embodiment. Depending on the ranging process or service, the registration device may include more or fewer units, and this application is not limited to this.

[0183] When the registration device is implemented via hardware, the hardware may be implemented via a processor or a chip system. A chip system includes one or more chips, each of which includes an interface circuit and a control circuit. The interface circuit is used to receive data from devices outside the chip and transmit it to the control circuit, or to send data from the control circuit to devices outside the chip.

[0184] The control circuit and the interface circuit are used to implement any possible implementation method of the above embodiments through logic circuits or execution code instructions. The beneficial effects can be found in the description of any aspect of the above embodiments, which will not be repeated here.

[0185] It is understood that the processor in the embodiments of the present application may be a CPU, or other general-purpose processor, digital signal processor (DSP), ASIC, FPGA or other programmable logic device, transistor logic device, hardware component or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0186] In addition, the registration device 900 shown in FIG9 can also be implemented by a network device, as shown in FIG10 , which is a schematic diagram of the structure of a network device provided in this application. The network device 1000 includes: a memory 1010 and at least one processor 1020. The processor 1020 can implement the registration method provided in the above embodiment, and the memory 1010 is used to store software instructions corresponding to the above registration method. As an optional implementation, in hardware implementation, the network device 1000 can refer to a chip or chip system encapsulated with one or more processors 1020. For example, when the network device 1000 is used to implement the method steps in the above embodiment, the processor 1020 included in the network device 1000 executes the steps of the above method and its possible sub-steps. In an optional scenario, the network device 1000 can also include a communication interface 1030, which can be used to send and receive data. For example, the communication interface 1030 is used to receive or send ranging messages; the communication interface 1030 can be implemented by the interface circuit included in the network device 1000.

[0187] In an embodiment of the present application, the communication interface 1030, the processor 1020, and the memory 1010 may be connected via a bus 1040, which may be divided into an address bus, a data bus, a control bus, etc. The bus 1040 may be a Peripheral Component Interconnect Express (PCIe) bus, an extended industry standard architecture (EISA) bus, a unified bus (Ubus or UB), a compute express link (CXL), a cache coherent interconnect for accelerators (CCIX), etc.

[0188] It is worth noting that the network device 1000 can also perform the functions of the registration device 900 shown in Figure 9, which will not be described here in detail.

[0189] The network device 1000 provided in this embodiment can be any of the above ONUs, or other network devices with data processing functions, which is not limited in this application. For example, the network device 1000 can be any of the above network devices, such as ONU 310, master ONU 1, or any slave ONU.

[0190] The method steps in the embodiments of the present application can also be implemented by a processor executing software instructions. The software instructions can be composed of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and storage medium can be located in an ASIC. In addition, the ASIC can be located in a network device or a terminal device. Of course, the processor and storage medium can also exist as discrete components in a network device or a terminal device.

[0191] The present application also provides a communication system, which includes an optical fiber, a master network device, and at least one slave network device. The optical fiber is used to connect the network devices. The network device may be the above-mentioned ONU.

[0192] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented using software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the process or function described in the embodiments of the present application is performed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer program or instruction can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instruction can be transmitted from one website, computer, server or data center to another website, computer, server or data center via wired or wireless means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, a hard disk, or a tape; it can also be an optical medium, such as a digital video disc (DVD); it can also be a semiconductor medium, such as a solid state drive (SSD).

[0193] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present application, and such modifications or substitutions should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A registration method for an optical communication network, characterized in that: The method is performed by a second network device, and the method includes: The second network device allocates a registration identifier to the first network device, the registration identifier has a corresponding relationship with a serial number SN of the first network device, and the SN of the first network device is pre-stored in the second network device; The second network device sends the SN of the first network device and the registration identifier to the first network device, and sends a first ranging request message to the first network device; The second network device receives a first ranging message from the first network device, and sends a first response message to the first network device; the first ranging message carries the registration identifier, and the first response message is used to indicate: a first equalization delay to be used by the first network device in the optical communication network.

2. The method according to claim 1, characterized in that After the second network device sends the first response message to the first network device, if the first network device is disconnected from the optical communication network, the method further includes: The second network device receives a second ranging message sent by the first network device, where the second ranging message is a low-power optical signal carrying the registration identifier, and power of the low-power optical signal is less than or equal to a first threshold; The second network device responds to the second ranging message and sends a second response message to the first network device, where the second response message is used to indicate a second equalization delay to be used by the first network device in the optical communication network.

3. The method according to claim 2, characterized in that The second network device responds to the second ranging message and sends a second response message to the first network device, including: The second network device parses the second ranging message to obtain the registration identifier; The second network device sends the second response message to the first network device according to the registration identifier.

4. The method according to any one of claims 1 to 3, characterized in that After the second network device sends a first response message to the first network device, the method further includes: The second network device queries locally stored status information, where the status information is used to record the working status of all network devices that have established optical communication connections with the second network device; If the state information indicates that the first network device is in an abnormal state, sending a second ranging request message to the first network device; The second network device receives a third ranging message sent by the first network device in response to the second ranging request message, where the third ranging message carries the registration identifier; The second network device responds to the third ranging message and sends a third response message to the first network device, where the third response message is used to indicate a third equalization delay to be used by the first network device in the optical communication network.

5. The method according to claim 4, characterized in that After the second network device sends a second ranging request message to the first network device, the method further includes: If the second network device does not receive the third ranging message within the reference time, sending an alarm message; The reference time includes: at least one of the maximum activation time of the ranging window or the total time slot corresponding to opening the ranging window according to the reference number of times, and the ranging window is a silent window opened by the second network device based on the third ranging request message.

6. The method according to claim 4 or 5, characterized in that: The third ranging message is a low-power optical signal, and the power of the low-power optical signal is less than or equal to the second threshold.

7. The method according to claim 4 or 5, characterized in that: A wireless broadband WIFI channel is established between the second network device and the first network device, and the third ranging message is an Ethernet message transmitted through the WIFI channel.

8. A registration method for an optical communication network, characterized in that: The method is performed by a first network device, and the method includes: The first network device receives: a serial number SN of the first network device, a registration identifier of the first network device, and a first ranging request message sent by the second network device; The registration identifier has a corresponding relationship with the SN of the first network device, and the SN of the first network device is pre-stored in the second network device; The first network device sends a first ranging message to the second network device in response to the first ranging request message; the first ranging message includes the registration identifier; The first network device receives a first response message sent by the second network device, where the first response message is used to indicate: The first network device is to use a first equalization delay in the optical communication network.

9. The method according to claim 8, characterized in that If the first network device is disconnected from the optical communication network, the method further includes: The first network device places a laser of the first network device in a low-power operating mode, where the low-power operating mode is used to indicate that the power of the optical signal emitted by the laser is less than or equal to a first threshold; The first network device drives the laser in the low-power working mode to send a second ranging message, where the second ranging message carries the registration identifier; The first network device receives a second response message sent by the second network device according to the second ranging message, where the second response message is used to indicate a second equalization delay to be used by the first network device in the optical communication network.

10. The method according to claim 8 or 9, characterized in that: A wireless broadband WIFI channel is established between the first network device and the second network device; If the first network device is disconnected from the optical communication network, the method further includes: The first network device sends a third ranging message to the second network device through the WIFI channel, where the third ranging message carries the registration identifier; The first network device receives a third response message sent by the second network device according to the third ranging message, wherein the third response message is used to indicate a third equalization delay to be used by the first network device in the optical communication network.

11. A registration method for an optical communication network, characterized in that: The method comprises: The second network device allocates a registration identifier to the first network device, the registration identifier has a corresponding relationship with the serial number SN of the first network device, and the SN of the first network device is pre-stored in the second network device; the second network device sends the SN of the first network device and the registration identifier to the first network device, and sends a first ranging request message to the first network device; The first network device sends a first ranging message to the second network device in response to the first ranging request message, where the first ranging message carries the registration identifier; The second network device responds to the first ranging message and sends a first response message to the first network device, where the first response message is used to indicate a first equalization delay to be used by the first network device in the optical communication network.

12. A registration device, characterized in that: include: A module for executing the method of any one of claims 1-11.

13. A network device, characterized in that: include: processors, memory, and transceivers; The memory is used to store the serial number of the network device to be put online in the optical communication network, and the processor is used to cooperate with the transceiver to execute any one of the methods of claims 1-7 based on the serial number of the network device to be put online.

14. A network device, characterized in that: include: A processor and a transceiver, wherein the processor and the transceiver are configured to collaboratively execute the method according to any one of claims 8 to 10.

15. A communication system, characterized in that: include: An optical fiber, a network device as claimed in claim 13, and one or more network devices as claimed in claim 14, wherein the optical fiber is used to connect the network devices.

Citation Information

Patent Citations

  • Registration method and device of optical communication network, network equipment and system

    CN119342369A

  • Realization method and system of gigabit passive optical network registration process

    CN101674501A

  • Optical network unit registering method and device in Ethernet passive optical network

    CN102883234A

  • ONU automatic registration method and device

    CN111328055A

  • Registration method and device, information writing method, optical line terminal and optical network unit

    CN112511918A