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

By pre-storing the serial number of the device to be online in the second network device of the optical communication network and directly assigning the registration identifier, the problem of large uplink delay jitter during the registration process of the optical communication network is solved and more efficient communication performance is achieved.

CN119342369APending Publication Date: 2025-01-21HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310893415.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-19
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

During the registration process of optical communication networks, the uplink delay jitter is large, resulting in challenges in application scenarios with high delay jitter requirements.

Method used

By storing the serial number (SN) of the network device to be launched in the second network device, the registration identifier is directly allocated to the network device allocation, and the SN discovery window is avoided, the detection distance window is directly opened, and the zero -opening window registration of the network device is realized.

Benefits of technology

The uplink delay jitter caused by the registration process is reduced, the service interruption problem of other network devices in the SN discovery window is avoided, and the communication performance of the optical communication network is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342369A_ABST
    Figure CN119342369A_ABST
Patent Text Reader

Abstract

The invention discloses a registration method, device, network equipment and system of an optical communication network, and relates to the technical field of optical communication. No matter in the first online or re-online process of the slave ONU, the master ONT allocates a registration identifier (ONU ID) to the slave ONU based on the pre-stored SN of the to-be-online slave ONU, that is, the master ON does not need to open an SN discovery window for the to-be-online ONU and does not need to interrupt services of other slave ONUs communicating with the master ONU, so that zero-windowing registration of the slave ONU in an optical communication network is realized, and the communication efficiency of the optical communication network is improved. And the delay jitter of the optical communication network caused by the registration process of the ONU is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Passive Optical Network (PON) is an access network based on optical fiber link transmission. There is no electronic device that uses power between the Optical Line Terminal (OLT) and the Optical Network Unit (ONU) in the PON. In PON, the downstream transmission from OLT to ONU is broadcast, and the upstream transmission from ONU to OLT is time division multiple access (TDMA). Therefore, during the upstream transmission from ONU to OLT, the time slots occupied by different ONUs cannot overlap, and the information transmitted by the overlapping time slots cannot be correctly received by the OLT. Therefore, it is necessary to determine the time slot allocated by the ONU during normal service authorization through ranging in the registration phase of the ONU.

[0003] During the registration process of the ONU, the OLT will issue an authorization instruction and periodically open a discovery silent window (referred to as the discovery window) of the serial number (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 according to the received SN signal, and opens a ranging silent window (referred to as the ranging window). After that, the OLT performs ranging and authorization on the ONU to be online in the time slot corresponding to the ranging window to complete the registration process of the ONU. 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 scheme periodically opens the discovery window, which will bring about large delay jitter. This brings challenges 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. Summary of the invention

[0004] The present application provides a registration method, device, 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 beneficial to improving the communication performance of the optical communication network.

[0005] 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 first network device registration identifier 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 responds to the first ranging message sent by the first network device based on the above-mentioned first ranging request 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 to be used by the first network device in the optical communication network.

[0006] In the related art, compared with the master ONU periodically opening the SN discovery window for each slave ONU during the discovery phase of the slave ONU, in this embodiment, the SN of the network device to be online is pre-stored in the second network device, and the second network device can allocate a registration identifier to the first network device according to the stored SN. The second network device does not need to open the SN discovery window for these first network devices, thereby avoiding the delay jitter caused by opening the SN discovery window, and also avoiding 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.

[0007] As an optional implementation, after the second network device sends a first response message to the first network device, if the first network device is offline from the optical communication network, the registration method provided by the present application also includes: the second network device receives a second ranging message sent by the first network device, the second ranging message is a low-power optical signal carrying a registration identifier, and the power of the low-power optical signal is less than or equal to the first threshold. And, the second network device responds to the second ranging message and sends a second response message to the first network device, and the second response message is used to indicate: the second equalization delay to be used by the first network device in the optical communication network. The second equalization delay may be the same as or different from the aforementioned first equalization delay.

[0008] 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 according to 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 message 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 scanning, cross-correlation and other processing, the second network device obtains the bit stream of the ranging message. Furthermore, 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.

[0009] As an optional implementation, after the second network device sends a first response message to the first network device, the registration method provided by 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. And, 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 to be used by the first network device in the optical communication network.

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

[0011] 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 aforementioned first threshold; for another example, the second threshold may be different from the aforementioned first threshold.

[0012] As an optional implementation method, 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 be back online after being disconnected, and the second network device has stored the SN of each network device and the registration identifiers assigned to these networks. Therefore, the zero-window registration of the first network device back online in the second network device is realized, reducing the delay jitter of the optical communication network caused by the registration process of the first network device.

[0013] In the second aspect, the present application provides a registration method for an optical communication network. The registration method is performed 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 according to 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 to be used by the first network device in the optical communication network.

[0014] In this embodiment, the second network device pre-stores the SN of the network device to be online, and the second network device can allocate a registration identifier to the first network device according to the stored SN, and the second network device does not need to open the SN discovery window for these first network devices. Accordingly, after the first network device sends a ranging message, the second network device can only open the ranging window for the first network device, avoiding the delay jitter caused by opening the SN discovery window, and also avoiding the problem of service interruption of other network devices, thereby improving the communication performance of the optical communication network.

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

[0016] As an optional implementation, if the first network device is disconnected from the optical communication network, the registration method provided by the present application also includes: the first network device places the laser of the first network device in a low-power working mode, and the low-power working mode is used to indicate that the power of the optical signal emitted by the laser is less than or equal to the first threshold. And, the first network device drives the laser in the low-power working mode to send a second ranging message, and the second ranging message carries a registration identifier; the first network device also receives a second response message sent by the second network device according to the second ranging message, and the second response message is used to indicate: the second equalization delay to be used by the first network device in the optical communication network. The second equalization delay and the first equalization delay can be the same or different.

[0017] As an optional implementation method, a 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 registration method provided by the present application also includes: the first network device sends a third ranging message to the second network device through the WIFI channel, and the third ranging message carries the registration identifier of the first network device. And, the first network device receives a third response message sent by the second network device according to the third ranging message, and the third response message is used to indicate: the third equalization delay to be used by the first network device in the optical communication network. The third equalization delay and the first equalization delay may be the same or different.

[0018] In the third aspect, the present application provides a registration method for an optical communication network. The second network device for registration stores the SN of the network device to be put online in the optical communication network, and the registration method includes: the second network device obtains the registration identifier of the first network device according to the SN of the first network device stored in advance, 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. Correspondingly, 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 to be used by the first network device in the optical communication network.

[0019] 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.

[0020] In a fifth aspect, the present application provides a network device. The network device includes: a processor and a memory. 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 perform the operation steps of the method corresponding to the first aspect or any optional implementation method of the first aspect according to the serial number of the network device to be put online.

[0021] In a sixth aspect, the present application provides a network device, which includes: a processor and a transceiver, wherein the processor and the transceiver are used to collaboratively execute the operation steps of the method corresponding to the second aspect or any optional implementation manner of the second aspect.

[0022] In a seventh aspect, the present application provides a communication system. The communication system comprises: an optical fiber, a network device provided in the fourth aspect, and one or more network devices provided in the fifth aspect, wherein the optical fiber is used to connect the network devices. The communication system can be used to perform the operation 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.

[0023] Regarding the beneficial effects of any aspect from the fourth to the seventh aspect, reference may be made to the description of any optional implementation method from the first to the third aspect, which will not be repeated 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

[0024] Figure 1 A schematic diagram of the structure of the optical communication network provided for this application;

[0025] Figure 2 A schematic diagram of the structure of the PON provided for this application;

[0026] Figure 3 A schematic diagram of the structure of the master ONU and slave ONU provided for this application;

[0027] Figure 4 A schematic diagram of a registration method for an optical communication network provided in this application Figure 1 ;

[0028] Figure 5 A schematic diagram of a registration method for an optical communication network provided in this application Figure 2 ;

[0029] Figure 6 A schematic diagram of establishing a WIFI channel provided in this application;

[0030] Figure 7 A schematic diagram of a low-power optical signal provided for this application;

[0031] Figure 8 A schematic diagram of a registration method for an optical communication network provided in this application Figure 3 ;

[0032] Fig. 9 A schematic diagram of the structure of a registration device provided for this application;

[0033] Fig.10 A schematic diagram of the structure of a network device provided for this application. DETAILED DESCRIPTION

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

[0035] Discovery window: During the process of ONU registering to the optical communication network, the OLT opens a silent window to discover the SN of the ONU to be online. During the time slot corresponding to the discovery window, the services of other ONUs registered to the optical communication network are interrupted. The time slot corresponding to the discovery window refers to the period of time during which the discovery window continues to exist after the OLT opens the discovery window. In some examples, the discovery window is also called the SN discovery window.

[0036] Ranging window: The silent window opened by the OLT for ranging of the ONU to be online during the process of ONU registering to the optical communication network. In the time slot corresponding to the ranging window, the services of other ONUs registered to the optical communication network are interrupted. The time slot corresponding to the ranging window refers to the period of time during which the ranging window continues to exist after the OLT opens the ranging window.

[0037] Figure 1 The optical communication network provided in the present application is a schematic diagram of the structure of the optical communication network, which may also be referred to as an optical transmission network. The optical communication network includes multiple network devices, one or more of which are used to connect to the user's terminal (such as Figure 1 Terminals 111-115 shown in FIG.

[0038] A terminal may also be called terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), etc.

[0039] In some embodiments, the terminal may be a mobile phone (eg Figure 1 The terminal 111 shown in FIG. 1 ), a tablet computer (such as Figure 1 ), a computer with wireless transceiver function (such as Figure 1 ), a personal communication service (PCS) phone (such as the terminal 113 shown in Figure 1Terminal 114 shown in FIG. ), desktop computer (such as Figure 1 The terminal 115 shown in the figure), virtual reality (VR) terminal equipment, augmented reality (AR) terminal equipment, wireless terminals in industrial control, wireless terminals in smart homes, etc.

[0040] In some other embodiments, the terminal may also be a home gateway. For example, the home gateway may be an optical network terminal (ONT). Figure 1 The network devices 121, 123 and 124 shown in the figure can be optical network terminals. 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 TV services, which include home gateways supporting video on demand, live broadcast services and distance education, etc.), online game services (for example, game terminals conduct game services through home gateways), Internet protocol (IP) telephones, 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, users with a home gateway can access 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.

[0041] The network device may be a routing and forwarding device with optical communication function, for example, the routing and forwarding device may be 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 function, etc.

[0042] The terminal can use the network device to access the server. Figure 1 In the room 1 shown, the user can use the terminal 111 to establish a communication connection with the network device 121 using wireless broadband (wireless-fidelity, WIFI) technology, so that the terminal 111 sends a data packet to the server 130. Exemplarily, the network device 123 and the network device 124 communicate with each terminal via WIFI, the network device 123 communicates with the network device 121 via optical fiber, and the network device 121 and the network device 122 also communicate via optical fiber.

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

[0044] 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 .

[0045] The server 130 may be an application server or an authentication and authorization server. The server 130 may provide video services, game services, message services, music services, authentication and authorization services, etc. In one example, the functions of multiple services may be integrated on the server 130, for example, the game service and the music service may be deployed on the server 130. In another example, the functions of some services may be integrated on the server 130, for example, some services of the game service and some services of the video service may be deployed on the server 130. The server 130 may also provide multiple virtual machines using virtualization technology, and various services are provided by the virtual machines. The embodiments of the present application do not limit the deployment form of the services.

[0046] The network device is connected to the server 130 in a wireless or wired manner. Figure 1 This is just a schematic diagram. The optical communication network may also include other devices. 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.

[0047] The present application can be applied to scenarios such as PON, passive optical LAN (POL), industrial optical network, vehicle-mounted optical network, and the Internet of Things. Exemplarily, 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 the present 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 the present 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 (time division multiplexed-passive optical networks, TDM-PON), and can also be applied to wavelength division multiplexing passive optical networks (WDM-PON).

[0048] 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 means: using optical fiber instead of network cables, laying optical fiber to every room, and interconnecting with the home gateway by deploying optical network equipment, combined with dual-band Wi-Fi, to ensure the networking technology of whole house network coverage. Figure 2 This is a schematic diagram of the structure of the PON provided in this application. Figure 2 As shown, multiple ONUs (such as Figure 2 The ONUs 211 to 214 in the optical network communicate with the OLT 220 via the optical splitter 230.

[0049] 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 sent by the ONU, OLT 220 executes the service or operation indicated by the signal, such as registering and ranging the ONU.

[0050] As a possible implementation, Figure 2 The hardware implementation of the ONU and OLT shown in the figure can be implemented using Figure 3 Provided in a manner Figure 3 The schematic diagram of the structure of the master ONU and the slave ONU provided in this application, wherein the ONU 310 can be Figure 2 Any of the ONUs 211 to 214 shown, ONU 320 may be an OLT or other ONU that registers ONU 310 to the optical communication network. In this embodiment, ONU 310 may also be referred to as a slave ONU in the FTTR, and ONU 320 may also be referred to as a master ONU in the FTTR.

[0051] like Figure 3 As shown, 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 .

[0052] In the transmission direction, ONU MAC 311 can control the opening and closing of laser 313 through the transmission enable port (Tx_En, also known as the switch pin). For example, if it is currently in the light-emitting time slot (or occupied time slot) of ONU 310, ONU MAC 311 controls the laser 313 to be turned on through the transmission enable port. If it is not in the light-emitting time slot of ONU 310, ONUMAC 311 controls the laser 313 to be turned off through the transmission enable port. ONU MAC 311 can also adjust the physical parameters of laser 313, such as laser bias current and modulation current, through the transmission control port (Tx_Ctr). ONU MAC 311 can send service data to ONU optical PHY 312 through the data port (Data), and ONU optical PHY 312 transparently transmits the service data. The ONU optical PHY 312 is also called the driver of the laser 313, and is used to drive the laser to generate an optical signal according to the instructions of the transmission enable port and / or the transmission control port of the ONU MAC 311. The laser 313 modulates the service data into the optical signal under the control of the ONU optical PHY 312, and sends the uplink optical signal carrying the service data to the ONU 320 through the optical fiber.

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

[0054] In this embodiment, the ONU 310 may further include a WIFI PHY 317 and an antenna 1, wherein the WIFI PHY 317 is used to establish a WIFI channel (or WIFI link) with the ONU 320 through the antenna 1. For example, 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 Yes With Harmony OS TM After integration, a way of interconnecting devices is obtained. It is worth noting that different manufacturers can record WIFI channels with different names according to the different hardware devices in the devices and the different naming of the devices, so as to achieve coordination between WIFI communication and optical communication between devices to improve the efficiency and robustness of optical communication.

[0055] The wireless communication function of ONU 310 and ONU 320 can be realized by antenna 1, antenna 2, mobile communication module, modulation and demodulation processor and baseband processor (not shown in the figure). 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 the utilization rate of antennas. For example, antenna 1 can be reused as a diversity antenna of a wireless local area network. In some embodiments, the antenna can be used in combination with a tuning switch. For the mobile communication module, taking ONU 310 as an example, at least some functional modules of the mobile communication module can be set in WIFI PHY 317, or at least some functional modules of the mobile communication module can be set in the same device as at least some modules of WIFI PHY 317.

[0056] ONU 320 may include ONU MAC 321, signal processing module 322, ONU optical PHY 323, photodetector 324 and laser 325. In the receiving direction, photodetector 324 receives the upstream optical signal from ONU 310 and converts the upstream optical signal into an electrical signal. The electrical signal may be an analog electrical signal or a digital electrical signal. Signal processing module 322 may be implemented by analog devices (such as amplifiers) or digital devices (such as digital signal processors), so signal processing module 322 may perform analog correlation processing or digital electrical signal processing. ONU MAC 321 analyzes the electrical signal passing through signal processing module 322 to obtain service data. In the sending direction, ONU MAC 321 generates service data, and signal processing module 322 performs analog or digital correlation processing on the service data. Laser 325 modulates the service data into an optical signal under the control of ONU optical PHY 323, and sends the downstream optical signal carrying the service data to ONU 310 through an optical fiber. The ONU 320 may further include a wavelength division multiplexer 326 for sending the downstream optical signal generated by the laser 325 to the optical fiber, and sending the upstream optical signal received from the optical fiber to the photodetector 324 .

[0057] The implementation of the WIFI PHY 327 and the antenna 2 in the OLT 320 may refer to the description of the ONU 310 and will not be repeated here.

[0058] In this embodiment, in addition to the optical transmission channel, a WIFI channel may be 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.

[0059] In conventional technology, the OLT will issue an authorization instruction and periodically open the SN discovery window for the ONU; in the time slot corresponding to the SN 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 the ranging silent window. After that, the OLT performs ranging and registration on the ONU to be online in the time slot corresponding to the ranging silent window to complete the ONU registration process. Since the services of other ONUs connected to the OLT need to be interrupted in the time slot corresponding to the SN discovery window and the ranging authorization window, the ONU registration scheme periodically opens the SN discovery window, which will bring large delay jitter. This brings challenges to the PON system in application scenarios with high delay jitter requirements.

[0060] To reduce the uplink delay jitter caused by the registration process, Figure 3 Based on the provided ONU and OLT, the registration method of the optical communication network provided in this application is exemplified below by taking two scenarios as examples: the first time an ONU goes online in an optical communication network, and when the ONU goes online again after being offline.

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

[0062] like Figure 4 As shown, Figure 4 A schematic diagram of a registration method for an optical communication network provided in this application Figure 1 The master ONU can be called an optical receiving device, a second network device, etc., and slave ONU 1 to slave ONU 4 are all downstream (network) devices of the master ONU, such as slave ONU 1 can be called an optical sending device, a first network device, etc.

[0063] In this 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 the location provided by the operator network (such as the corridor of the building, the computer room, the dedicated communication box on the roadside, etc.), and the master ONU and the slave ONU are located in the user's room.

[0064] Wherein, the SN of the slave ONU to be put on line is pre-stored in the master ONU. Exemplarily, the operator writes the SN of the slave ONU to be put on line into the memory in the master ONU through a software tool. The memory can be used for caching the data to be forwarded in the master ONU, and the information such as the legal SN written in advance. In some optional situations, the memory can also be used for storing the association relationship between the SN and the registration identifier of the slave ONU allocated.

[0065] 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, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), disk storage medium or other magnetic storage devices, or any other medium that can be used to carry or store the 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 may exist independently and be coupled to the processor through the interface circuit of the main ONU, which is not specifically limited in this embodiment of the present application.

[0066] 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 that communicate with the master ONU, etc., which is not limited in this application.

[0067] Please refer to Figure 4 The registration method of the optical communication network provided in this embodiment includes the following steps S410 to S450.

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

[0069] With respect to 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.

[0070] Step 1: The master ONU continuously broadcasts data frames to multiple slave ONUs, each of which carries control information. The control information is used to instruct the slave ONUs to go online, measure distance, or register in the optical communication network.

[0071] In this embodiment, combined with Figure 3 For example, the data frame may be an optical signal generated by the main ONU optical PHY 323 driving the laser 325 after the main ONU MAC 321 generates data to be sent.

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

[0073] The following takes slave ONU 1 among the slave ONUs as an example to illustrate the process of establishing an optical communication connection between the master ONU and the slave ONU.

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

[0075] Frame synchronization refers to frame synchronization of the received serial signal from ONU 1. Frame synchronization refers to determining the starting position and ending position of a data frame in the serial signal by marking the beginning and the end of the frame from ONU 1. The frame synchronization method may include but is not limited to: at least one of a character counting method, a head and tail delimiter method with character padding, a head and tail flag method with bit padding, and a physical layer coding violation method.

[0076] Taking the head and tail mark method with bit filling as an example, the frame synchronization process is exemplified. The frame header of each data frame carries a string of specific bits (such as 0101). If the specific bits are recognized from ONU 1, the frame header of a data frame is determined to be recognized from ONU 1, and the data before the next frame header in the serial data is considered as the data of the data frame, thereby achieving frame synchronization of the data frame. In some possible situations, frame synchronization is also called "frame delimitation".

[0077] 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 and then identify the frame header of the next data frame (such as data frame 2).

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

[0079] For another example, if the starting position of the frame header of the next data frame is not a specific bit (such as 0101), the slave ONU 1 determines that the frame synchronization of the data frame 1 is wrong; if the starting position of the frame header is 1111, and the specific bit is 0101. In the case where the slave ONU 1 determines that the frame synchronization of the data frame 1 is wrong (also called frame desynchronization), the slave ONU 1 re-executes the above frame synchronization process, thereby selecting a data frame with correct frame synchronization to perform the ranging and registration process of the slave ONU.

[0080] The above examples are only possible implementations of a first and last mark method with bit filling for this embodiment, and should not be understood as limiting the present application. The ONU 1 may also use other frame synchronization methods to implement frame synchronization of data frames. The specific implementations of the character counting method, the first and last delimiter method with character filling, and the physical layer coding violation method can refer to the description of the general technology, which will not be repeated here.

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

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

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

[0084] 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.

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

[0086] 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 by taking ONU ID as an example, but this should not be understood as the registration identifier provided in this application only refers to ONU ID.

[0087] The registration identifier is the registration information required to be adopted by the slave ONU during the online process. In the communication process between slave ONU 1 and the master ONU, the master ONU uniquely identifies slave ONU 1 according to the ONU ID 1, avoiding forwarding the data sent to slave ONU 1 to other slave ONUs, thereby improving the communication accuracy between the slave ONU and the master ONU.

[0088] In some optional implementations, the above S410 and S420 may also be referred to as: the discovery phase of the slave ONU going online in the master ONU optical communication network. In the related art, the master ONU periodically opens the SN discovery window for each slave ONU during the discovery phase of the slave ONU. In this embodiment, the master ONU pre-stores the SN of the slave ONU to be online, so that after frame synchronization is performed between the master ONU and the slave ONU, the master ONU can allocate the ONU ID to the slave ONU according to the stored SN, thereby avoiding the delay jitter caused by opening the SN discovery window.

[0089] Exemplarily, 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. The non-opening of 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 in the time slot. In some possible situations, during the registration process of the master ONU to 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.

[0090] Please continue to see Figure 4 , the ranging phase of slave ONU 1 going online in the master ONU optical communication network is exemplarily described below.

[0091] 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.

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

[0093] 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.

[0094] 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 cooperate to complete the ranging process.

[0095] As a feasible example, the process of the ranging request message sent by the master ONU to the slave ONU 1 can be repeated for multiple times, so that the slave ONU 1 can receive the ranging request message, thereby making the process of the master ONU allocating ONU ID 1 to the slave ONU 1 successful. For example, the number of repeated executions can be 2 times, 3 times, 5 times or other values, and the number of repeated executions can be set by the operator, or the number of repeated executions can vary according to different user needs, and this application does not limit this. It is worth noting that the master ONU can also repeat multiple times to send a message carrying the ID of ONU 1 to the slave ONU 1, which will not be repeated here.

[0096] It is worth noting that, in the present 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 ONUs. 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, the slave ONU will start the ranging process (such as sending a ranging message). Therefore, in the present embodiment, the slave ONU can identify and judge the received information, avoid errors in the master ONU caused by multiple slave ONUs measuring distance in parallel, and improve the registration accuracy between the master and slave ONUs.

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

[0098] 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.

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

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

[0101] The response message 1 is used to indicate: a 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: a channel to be used by the slave ONU 1 during the service communication process between the master ONU and the slave ONU 1.

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

[0103] Generally speaking, in FTTR scenarios, the number and device types of slave ONUs to be put online in a room are determined. Before all slave ONUs go online, the operator writes the SN of the slave ONUs to be put online into the master ONU in the room, so that when the slave ONUs in these rooms go online, the master ONU does not need to open the SN discovery window for these slave ONUs, which reduces the delay jitter in the optical communication network, avoids the problem of service interruption of other slave ONUs in the SN discovery window, and improves the communication performance of the optical communication network.

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

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

[0106] During the normal use of the optical communication network, due to hardware failures in the network device (slave ONU or master ONU), the slave ONU and the master ONU will inevitably have communication disconnection problems. In order to restore the optical communication between the network devices in a timely manner, this embodiment also provides a registration method for the network device in the optical communication network, such as Figure 5 As shown, Figure 5 A schematic diagram of a registration method for an optical communication network provided in this application Figure 2 For more information about the relationship between the master ONU and the slave ONU, refer to Figure 4 The description is not repeated here.

[0107] Please refer to Figure 5The registration method of the optical communication network provided in this embodiment includes the following steps S510 to S530.

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

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

[0110] 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.

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

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

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

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

[0115] In order to reduce the delay jitter in the optical communication network and realize zero windowing registration from the ONU in the optical communication network, the ranging message in S520 can be but not limited to: an Ethernet message transmitted through a WIFI channel and a low-frequency optical signal transmitted through an optical communication connection. The following are exemplary descriptions of these two implementations.

[0116] In a possible implementation, slave ONU 1 sends the ranging message through the WIFI channel between slave ONU 1 and the master ONU. Figure 3 The description is not repeated here.

[0117] In this example, slave ONU 1 transmits ranging messages through the WIFI channel, so that the master ONU does not need to open the SN discovery window for the slave ONU that needs to go back online after being disconnected, and the master ONU has stored the SN of each slave ONU and the ONU ID assigned to these slave ONUs. Therefore, zero-window registration of the slave ONU going back online in the master ONU is realized, reducing the delay jitter of the optical communication network caused by the registration process of the slave ONU.

[0118] For the above WIFI channel establishment method, the following provides a possible example, such as Figure 6 As shown, Figure 6A schematic diagram of establishing a WIFI channel provided in the present application. The process of establishing the WIFI channel includes the following steps S610 and S620.

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

[0120] like Figure 6 From WIFI link 1 to WIFI link n, n is a positive integer greater than 1.

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

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

[0123] For example, the WIFI link accessed from ONU 1 is Figure 6 WIFI link 1 in.

[0124] Optionally, before the slave ONU 1 accesses the WIFI link provided by the master ONU, the master ONU may set an access password (such as a specific string of characters: 12345678 or other characters, etc.) for the process of accessing the WIFI link. When the access password provided by the slave ONU 1 is correct, the master ONU allocates a WIFI link to the slave ONU 1. In some possible situations, the process of the slave ONU 1 logging in to the master ONU using a WIFI signal is also called a "handshake".

[0125] 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 .

[0126] Combination Figure 3 The content provided is used as an example to illustrate that the WIFI channel can be implemented based on WIFI PHY 317 and antenna 1, WIFI PHY 327 and antenna 2. The specific implementation method can be referred to Figure 3 The description is not repeated here.

[0127] In this embodiment, an optical communication connection and a WIFI channel are established between the master ONU and the slave ONU. When the optical communication connection fails and 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 realizing the re-online process of the slave ONU in the master ONU, which 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.

[0128] In another possible implementation, slave ONU 1 sets slave ONU 1 to a low-power optical signal low-power operating mode, and sends a ranging message to the master ONU based on the low-power operating low-power optical signal mode. 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 emitted 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 devices included in the laser. In some optional situations, the power of the optical signal emitted by the laser in the low-power operating mode is less than the power of the optical signal emitted by the laser for normal business.

[0129] The following uses a low-power optical signal of a single frequency point (tone) as an example to illustrate the ranging message sent from the ONU. Figure 7 As shown, Figure 7 A schematic diagram of a low-power optical signal provided in this application. Figure 3 and Figure 7 , an exemplary description is given of the process of sending ranging messages from an ONU using a low-power optical signal.

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

[0131] For example, the threshold current is 5 milliampere (mA).

[0132] Step 2: After the laser 313 is stable, the ONU MAC 311 sends information of a specific frequency through Tx_En; and the laser 313 keeps switching 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.

[0133] The information of the specific frequency is the information carried by the above-mentioned ranging message, and the ranging message carries the registration identifier corresponding to the ONU310.

[0134] Since the Ibias current has been lowered in step 1, the power of the optical signal generated by the laser 313 is relatively low, and the optical signal corresponding to the information of the specific frequency generated by the laser can also be called a low-power optical signal. For example, the ONU 310 loads the information carried by the ranging message into the spontaneous radiation optical signal generated by the laser through the transmission enable port (Tx_En). The power of the spontaneous radiation optical signal is lower than the power of the service signal, thereby avoiding the influence of the ranging message on the service signal when the discovery window is not opened.

[0135] Combination Figure 7 The low-power optical signal in FIG. 1 is used for illustration, wherein the maximum power of the low-power optical signal is -23.4 decibels per milliwatt (dBm) and the minimum power is -45.8 dBm.

[0136] In this embodiment, the index describing the power of the optical signal can be obtained by the following formula 1.

[0137] dBm = 10 * log(P / 1mW) Formula 1

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

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

[0140] Exemplarily, 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.

[0141] 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 other service signals generated by the ONU, such as Figure 7 When ONU 320 receives the ranging message of ONU 1 to be registered and the normal service messages of other slave ONUs, on the one hand, the master ONU processes the service message normally, and on the other hand, the master ONU performs low-pass filtering on the ranging message, and performs frequency scanning, cross-correlation and other processing to obtain the bit stream of the ranging message.

[0142] In some optional implementations, the above S510 and S520 and possible sub-steps thereof may also be referred to as: the discovery phase of the slave ONU going online in the master ONU optical communication network. In conventional techniques, the master ONU periodically opens the SN discovery window for each slave ONU. In this embodiment, the master ONU pre-stores the SN of the slave ONU to be online, so that after the optical communication connection is established between the master ONU and the slave ONU, the master ONU can allocate the equalization delay (eqD) to the slave ONU according to the received ranging message, and the master ONU does not need to interrupt the normal business of other slave ONUs, thus avoiding the delay jitter caused by the SN discovery window, thereby realizing the 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.

[0143] Please continue to refer to Figure 5 The registration method for the optical communication network provided in this embodiment also includes step S530.

[0144] S530 , the master ONU responds to the ranging message 2 and sends a response message 2 to the slave ONU 1 .

[0145] 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.

[0146] 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.

[0147] 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.

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

[0149] Whether in Figure 6 Provided that the ranging message is transmitted through the WIFI channel, or Figure 7 The provided signal characteristics (such as specific frequency) are used to represent the ranging message. In the discovery phase when the slave ONU is 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 the process in which the master ONU needs to interrupt the services of other slave ONUs to perform ranging and registration on the slave ONU to be online, which is beneficial to improving the overall transmission efficiency between the slave ONU and the master ONU in the optical communication network.

[0150] above Figures 5 to 7The registration method provided is only an example 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 may also use other methods to restore the optical communication connection (re-online) between the slave ONU and the master ONU, such as Figure 8 As shown, Figure 8 A schematic diagram of a registration method for an optical communication network provided in this application Figure 3 For more information about the relationship between the master ONU and the slave ONU, refer to Figure 4 The description is not repeated here.

[0151] Please refer to Figure 8 The registration method for an optical communication network provided in this embodiment includes the following steps S810 to S850.

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

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

[0154] 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.

[0155] Combined with the above Figure 4 In the registration method, 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.

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

[0157] The status information may be stored in a memory in the master ONU. The status information records the working status of all slave ONUs that have established optical communication connections with the master ONU, such as whether the working 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 can be achieved, offline means that the slave ONU cannot access the optical communication network through the master ONU, and back online means that the slave ONU cannot access the optical communication network through the master ONU, but is trying to restore optical communication with the master ONU.

[0158] 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.

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

[0160] Table 1

[0161]

[0162] The control mark 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 running status is the above-mentioned status information.

[0163] The configuration status is used to indicate the registration configuration 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, the configuration status of the slave ONU 1 with ONUID=3 is normal, indicating that the slave ONU 3 is in a normal registered configuration and can use the optical communication network normally. For another example, the configuration status of the slave ONU 1 with ONU ID=1 is initial, indicating 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 a limitation of the present application.

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

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

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

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

[0168] 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).

[0169] S850 . The master ONU responds to the ranging message of slave ONU 1 and sends a response message 3 to slave ONU 1 .

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

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

[0172] 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.

[0173] 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.

[0174] It is worth noting that each device in the home network is in a stable state. Unless someone deliberately destroys it, there is no process of unfamiliar slave ONUs performing re-online. In this embodiment, the master ONU is based on the management of the SN list (such as Table 1), and the status information of the slave ONU (or cat, optical cat, etc.) registered by the master ONU is queried in real time. When the state of the slave ONU is normal (online), the master ONU stops opening the SN discovery window to reduce the delay jitter between the master ONU and each slave ONU. When a slave ONU is offline, the master ONU will try to initiate the re-online process. If it is a simple fault such as the software in the slave ONU running away and restarting or the slave ONU power-off and restarting, the slave ONU can also quickly and automatically complete the re-online after restarting, and each slave ONU in the home network is always in a fully online state. In addition, if each slave ONU in the home network times out (greater than or equal to the maximum activation time or the time slot corresponding to the ranging window) and cannot complete the re-online, the master ONU will generate an alarm, and the network management arranges operators to repair on-site, thereby improving the performance of the optical communication network in the FTTR scenario.

[0175] The above embodiments are described using the FTTR scenario as an example, but the registration method for 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.

[0176] It is understandable 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. Those skilled in the art should easily realize 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 the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.

[0177] Combined with the above Figures 1 to 8 , describes in detail the registration method provided according to this embodiment, and will be combined with Fig. 9 , describing the registration device provided according to this embodiment.

[0178] Fig. 9 The structure diagram of the registration device provided in the present application is as follows. The registration device 900 can be used to implement the functions of any one of the ONUs in the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments. In this embodiment, the registration device 900 can be as follows Figure 1 The network device 121, the network device 123 or the network device 124 shown, or any ONU shown in subsequent figures, etc., may also be a module (such as a chip) applied to the ONU.

[0179] like Fig. 9 As shown, the registration device 900 includes: a transceiver module 910 and a processing module 920. The transceiver module 910 and the processing module 920 can cooperate to implement each step in the above method embodiment. A more detailed description of the above transceiver module 910 and the processing module 920 can be directly obtained by referring to the relevant description of each ONU in the method embodiment shown in the above figures, and no further description is given here.

[0180] When the registration device implements the registration method shown in any of the above-mentioned figures through software, the registration device and its various units may also be software modules. The above-mentioned registration method is implemented by calling 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), and the above-mentioned PLD may be a complex programmable logical device (CPLD), a field programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0181] For a more detailed description of the above-mentioned registration device, please refer to the relevant description in the embodiment shown in the above-mentioned figures, which will not be repeated here. It can be understood that the registration device shown in the above-mentioned figures is only an example provided by 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.

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

[0183] The control circuit and the interface circuit are used to implement any possible implementation method in 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.

[0184] It is understood that the processor in the embodiments of the present application may be a CPU, or other general-purpose processors, digital signal processors (DSP), ASICs, FPGAs or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0185] In addition, the registration device 900 shown in FIG. 9 can also be implemented by a network device, such as Fig.10 As shown, Fig.10 The structural diagram of the network device provided in the present 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 the software instructions corresponding to the above registration method. As an optional implementation, in hardware implementation, the network device 1000 may 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 may 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 ranging messages, or send ranging messages, etc.; the communication interface 1030 can be implemented by the interface circuit included in the network device 1000.

[0186] In the embodiment of the present application, the communication interface 1030, the processor 1020 and the memory 1010 can be connected via a bus 1040, and the bus 1040 can be divided into an address bus, a data bus, a control bus, etc. The bus 1040 can be a Peripheral Component Interconnect Express (PCIe) bus, or 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.

[0187] It is worth noting that the network device 1000 can also perform Fig. 9 The functions of the registration device 900 shown are not described in detail here.

[0188] 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.

[0189] The method steps in the embodiments of the present application can also be implemented by the processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules 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 a component of the processor. The processor and the 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 the storage medium can also be present in a network device or a terminal device as discrete components.

[0190] 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 refer to the above-mentioned ONU.

[0191] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part 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 instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may 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 may 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 may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc (DVD); it may also be a semiconductor medium, for example, a solid state drive (SSD).

[0192] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope 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, in which a serial number SN of a network device to be put online in the optical communication network is stored, and the method comprises: The second network device obtains the first network device registration identifier according to the pre-stored SN of the first network device, where the first network device is one of the network devices to be online; 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 responds to the first ranging message sent by the first network device based on the first ranging request message and sends a first response message to the first network device, wherein 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 is: the registration identifier of the first network device acquired by the second network device according to 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 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 a first equalization delay to be used by the first network device 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 second network device stores a serial number SN of a network device to be put online in the optical communication network, and the method comprises: The second network device obtains the first network device registration identifier according to the pre-stored SN of the first network device, where the first network device is one of the network devices to be online; 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: Processor and memory; 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 execute the method described in any one of claims 1 to 7 according to 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 used to collaboratively execute the method according to any one of claims 1 to 7.

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

Cited By

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

    EP4723667A1

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

    WO2025015915A1