Registration method and device of optical communication network

By configuring the specified bandwidth mapping and pre-allocated balanced delay in the optical communication network, the uplink delay jitter problem caused by long-term discovery windows during the ONU registration process is solved, and more efficient and stable communication is achieved.

CN119835549APending Publication Date: 2025-04-15HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411419927.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-10-13
Filing Date
2024-10-11
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In optical communication networks, the discovery window needs to be opened for a long time during the registration process of ONU, resulting in large uplink delay jitter, especially in PON remote networks, which brings challenges to application scenarios with high requirements for delay jitter.

Method used

By configuring the specified bandwidth map (BWmap) information and pre-allocated balanced delay in the optical communication network, the size of the discovery window of the ONU during the registration process is reduced, thereby reducing uplink delay jitter.

Benefits of technology

It effectively reduces the uplink delay jitter of the optical communication network, improves communication efficiency and stability, and is suitable for application scenarios with high requirements for delay jitter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119835549A_ABST
    Figure CN119835549A_ABST
Patent Text Reader

Abstract

The invention discloses a registration method and device of an optical communication network, and relates to the technical field of optical communication. The discovery window opened by the OLT is determined according to the distance between the optical relay equipment and the next-level optical network equipment of the optical relay equipment, and the OLT already configures the specified BWmap information for the optical relay equipment, so that the OLT does not need to open a larger discovery window in the registration process of the next-level optical network equipment of the optical relay equipment, and the registration efficiency of the optical relay equipment is improved. And only the discovery window matched with the next-level optical network equipment needs to be opened. Therefore, the OLT only needs to open a smaller discovery window in the discovery process of the SN, the time slot corresponding to the smaller discovery window is reduced, the service interruption time of other optical network equipment communicating with the OLT is shortened, the uplink delay jitter of an optical communication network is reduced, and the communication stability of the optical communication network is improved.
Need to check novelty before this filing date? Find Prior Art

Description

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

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

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

[0004] 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 discovery window and the ranging window, when the OLT connects a larger number of ONUs through multiple optical repeaters and the number of these ONUs is large (such as a PON remote network), the OLT needs to open the discovery window for a long time, which will bring about a 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 the optical communication network is needed. Summary of the invention

[0005] The present application provides a registration method and device for an optical communication network, which solves the uplink delay jitter caused by the registration process and is conducive to improving the communication efficiency of the optical communication network.

[0006] In the first aspect, the present application provides a registration method for an optical communication network. The registration method is performed by a first network device in the optical communication network, the first network device establishes an optical communication connection with an optical relay device, and the optical relay device is configured with specified bandwidth mapping (BWmap) information and pre-allocated equalization delay that can be used in the optical communication network, and the specified BWmap information is different from the first BWmap information of the optical communication network. The registration method includes: the first network device sends a first overhead message and a first discovery message to the optical relay device, and opens a discovery window for the optical relay device; the first overhead message indicates the optical parameters to be adopted by the next-level optical network device of the optical relay device to transmit the optical signal, the first discovery message carries the specified BWmap information, and the size of the discovery window is determined according to the distance between the next-level optical network device of the optical relay device and the optical relay device. In the time slot corresponding to the discovery window, the first network device receives the first serial number (SN) sent by the optical relay device, and the first SN is the SN sent by the next-level optical network device of the optical relay device based on the optical parameters. Then, the first network device sends a ranging request message to the optical relay device according to the first SN, and sends the registration identifier of the next-level optical network device of the optical relay device. Finally, the first network device receives the ranging message sent by the optical relay device, and sends a response message to the optical relay device; the ranging message carries the registration identifier, and the response message is used to indicate: the equalization delay that the next-level optical network device of the optical relay device will use in the optical communication network.

[0007] In the present application, the discovery window opened by the first network device is determined according to the distance between the optical relay device and the optical network device at the next level of the optical relay device, and the first network device has configured the specified BWmap information for the optical relay device, so that during the registration process of the optical network device at the next level of the optical relay device by the first network device, the first network device does not need to open a larger discovery window, but only needs to open a discovery window that is compatible with the aforementioned next level optical network device. Therefore, the first network device only needs to open a smaller discovery window during the discovery process of the SN, and the time slot corresponding to the smaller discovery window is reduced, and the service interruption time of other optical network devices communicating with the first network device is shortened, which is conducive to reducing the uplink delay jitter of the optical communication network and improving the communication efficiency and communication stability of the optical communication network.

[0008] In an optional implementation, before the first network device sends the first overhead message to the optical relay device, the registration method provided by the present application further includes: the first network device sends configuration information to the optical relay device that has been online in the optical communication network, and the configuration information is used to indicate: the specified BWmap information and pre-allocated equalization delay that the optical relay device can use in the optical communication network. Then, the first network device receives a response message sent by the optical relay device, and the response message indicates: the optical relay device has set the configuration information to the optical relay device.

[0009] In the present application, the first network device can send down configuration information so that the optical network device to be registered and the optical network device can communicate with the first network device using the specified BWmap information and pre-allocated equalization delay indicated by the configuration information adapted by the optical network device, thereby avoiding the problem that different optical network devices use the same BWmap information and pre-allocated equalization delay, causing the first network device to be unable to correctly identify each device, which is beneficial to improving the accuracy of the registration process of the optical communication network.

[0010] In an optional implementation, the first network device receives a ranging message sent by an optical relay device, and sends a response message to the optical relay device, including: the first network device receives the ranging message sent by the optical relay device, and parses the ranging message to obtain a registration identifier; the first network device sends a response message to the optical relay device according to the registration identifier. In this way, the first network device determines that the optical network device to be put online is a legal device based on the assigned registration identifier, and then allocates a reasonable balanced delay to the optical network device to be put online, so that the optical network device can access the optical communication network according to the balanced delay carried by the response message, avoiding communication anomalies caused by illegal optical network devices accessing the optical communication network, such as occupying a large bandwidth resulting in low communication efficiency between multiple optical network devices, etc., and also improving the security of the optical communication network.

[0011] In an optional implementation, before the first network device sends a first discovery message to the optical relay device, the method provided in the present application also includes: the first network device sends a zeroth discovery message to the optical relay device, and the zeroth discovery message carries SN window opening authorization information, and the SN window opening authorization information is used to indicate: the first network device opens a discovery window for any optical network device based on the first BWmap information of the optical communication network.

[0012] In the case that the first network device is not only directly connected to the optical relay device but also directly connected to other optical network devices, if the other optical network devices do not need to communicate with the first network device through the optical relay device, then these other optical network devices can send the SN of the other optical network devices to the first network device through the zeroth discovery message sent by the first network device, so that the first network device assigns registration identifiers to the other optical network devices according to the SN and executes the registration process of the other optical network devices.

[0013] In the second aspect, the present application provides a registration method for an optical communication network. The registration method is performed by an optical relay device, the optical relay device establishes an optical communication connection with a first network device in the optical communication network, and the optical relay device is configured with specified BWmap information and a second pre-allocated equalization delay that can be used in the optical communication network, and the specified BWmap information is different from the first BWmap information of the optical communication network. The registration method includes: the optical relay device receives a first discovery message sent by the first network device, and sends a second discovery message to the second network device according to the first discovery message; the first discovery message carries the specified BWmap information, and the second discovery message carries the second SN window authorization information, and the second SN window authorization information indicates: the first network device opens a discovery window for the second network device according to the specified BWmap information, and the size of the discovery window is determined according to the distance between the optical network device at the next level of the optical relay device and the optical relay device, and the second network device is any one of the optical network devices at the next level of the optical relay device. Then, the optical relay device receives the first SN sent by the second network device, and sends the first SN to the first network device; the optical relay device receives the ranging request message and the registration identifier sent by the first network device, and sends the ranging request message and the registration identifier to the second network device; the registration identifier is the registration identifier assigned by the first network device to the second network device according to the first SN. And, the optical relay device receives the ranging message sent by the second network device, and sends the ranging message to the first network device, and the ranging message carries the aforementioned registration identifier. Finally, the optical relay device receives the response message sent by the first network device, and sends the response message to the second network device, and the response message is used to indicate: the balanced delay that the second network device will use in the optical communication network.

[0014] In the present application, the discovery window opened by the first network device is determined according to the distance between the optical relay device and the next-level optical network device of the optical relay device, and the first network device has configured the specified BWmap information for the optical relay device, so that during the registration process of the next-level optical network device of the optical relay device by the first network device, the first network device does not need to open a larger discovery window, but only needs to open a discovery window that is compatible with the aforementioned next-level optical network device. Thus, the optical relay device can set the second SN window authorization information for the next-level optical network device (the second network device) based on the aforementioned specified BWmap information. The discovery window indicated by the second SN window authorization information is determined according to the distance between the next-level optical network device of the optical relay device and the optical relay device. Therefore, the time slot corresponding to the discovery window is reduced, and the service interruption time of other optical network devices communicating with the first network device is shortened, which is conducive to reducing the uplink delay jitter of the optical communication network and improving the communication stability of the optical communication network.

[0015] In an optional implementation manner, the allocation identification (Allocation identification, Alloc ID) of the second discovery message determined according to the specified BWmap information is one of 254, 1020, 1021, 1022 or 1023.

[0016] In an optional implementation, before the optical relay device receives the first discovery message sent by the first network device, the registration method provided by the present application also includes: the optical relay device receives the first overhead message sent by the first network device, and sends a second overhead message to the second network device according to the first overhead message. The first overhead message indicates the optical parameters to be adopted by the optical network device of the next level of the optical relay device to transmit the optical signal, the first overhead message carries the first pre-allocated equalization delay of the optical communication network, the second overhead message carries the aforementioned second pre-allocated equalization delay, and the second network device is any one of the optical network devices of the next level of the optical relay device. It should be understood that the optical relay device modifies the first pre-allocated equalization delay in the overhead message to the second pre-allocated equalization delay, so that the next level optical network device can perform an SN response within the set time slot, thereby avoiding the problem of registration errors or registration failures caused by the next level optical network device not responding for a long time.

[0017] In an optional implementation, the optical relay device sends a second overhead message to the second network device according to the first overhead message, including: the optical relay device modifies the first pre-allocated equalization delay in the first overhead information to the second pre-allocated equalization delay set in the optical relay device to obtain the second overhead message. And, the optical relay device sends the second overhead message to the second network device.

[0018] In an optional implementation, the optical relay device sends the second discovery message to the second network device according to the first discovery message, including: the optical relay device converts the specified BWmap information in the first discovery message into the second SN windowing authorization information to obtain the second discovery message. And, the optical relay device sends the second discovery message to the second network device.

[0019] In an optional implementation, before the optical relay device receives the first discovery message sent by the first network device, the registration method provided by the present application also includes: the optical relay device receives the zeroth discovery message sent by the first network device, and the zeroth discovery message carries SN windowing authorization information. Then, the optical relay device deletes the SN windowing authorization information in the zeroth discovery message, obtains an invalidation message, and sends an invalidation message; or, the optical relay device terminates the transmission process of the zeroth discovery message in the optical communication network. In the present application, the optical relay device can terminate the transmission of other optical signals after the SN, avoiding the problem of decreased registration efficiency and increased uplink delay jitter caused by the first network device receiving more optical signals.

[0020] In an optional implementation, the optical relay device receives a first SN sent by the second network device and sends the first SN to the first network device, including: the optical relay device receives the first SN sent by the second network device, and after receiving the first SN, the optical relay device sets the optical signal of the second network device received within the discovery window to an invalid optical signal.

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

[0022] In a fourth aspect, the present application provides an optical network device. The optical network device includes: a processor, a memory, and a transceiver. The memory is used to cache: an optical relay device that establishes an optical communication connection with the network device is configured with specified BWmap information and pre-allocated equalization delay that can be used in the optical communication network, and the specified BWmap information is different from the first BWmap information of the optical communication network. The transceiver and the processor cooperate to perform any optional implementation method of the first aspect.

[0023] In a fifth aspect, the present application provides an optical relay device, which includes a processor and a transceiver, which are used to execute the method of any optional implementation manner in the second aspect.

[0024] In a sixth aspect, the present application provides a communication system, which includes: an optical fiber, a network device provided in the fourth aspect, and one or more optical relay devices provided in the fifth aspect, wherein the optical fiber is used to connect various devices.

[0025] Regarding the beneficial effects of any aspect from the third aspect to the sixth aspect, reference may be made to the description of any optional implementation in the first aspect and the second aspect, which will not be repeated here. Based on the implementation provided by the above aspects, this application can also be further combined to provide more implementations. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

[0028] Figure 3 A schematic diagram of the structure of the OLT, optical relay equipment and ONU provided in this application;

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

[0030] Figure 5 A comparison diagram of different registration methods provided for this application;

[0031] Figure 6 A schematic diagram of the structure of a registration device provided for this application;

[0032] Figure 7 A schematic diagram of the structure of the optical network device provided in this application. DETAILED DESCRIPTION

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

[0034] 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. In the time slot corresponding to the discovery window, the services of other ONUs that have 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. In the PON remote network scenario, the discovery window refers to the silent window opened by the OLT to discover the SN of multiple ONUs to be online that are connected through one or more optical relay devices.

[0035] Ranging window: During the process of ONU registering to the optical communication network, the OLT opens a silent window for ranging the ONUs to be online. In the time slot corresponding to the ranging window, the services of other ONUs that have 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 it. In the fiber to the room (FTTR) scenario, the ranging window refers to the silent window opened by the master ONU for ranging the slave ONUs to be online. In the PON remote network scenario, the ranging window refers to the silent window opened by the OLT for ranging multiple ONUs to be online that are connected through one or more optical relay devices.

[0036] 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 optical 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.

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

[0038] 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 1 Terminal 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.

[0039] In this embodiment, the optical network device may be a routing and forwarding device with optical communication function, a home gateway or other forms of network devices. For example, the routing and forwarding device may be a router or switch supporting optical fiber connection. The network device may also be a broadband network gateway (BNG) or a broadband remote access server (BRAS) with optical communication function. The home gateway may be, for example, an optical network terminal (ONT). For example, Figure 1 The optical network device 121, optical network device 124 and optical network device 125 shown in the figure can be an optical network terminal. The optical network terminal can connect user devices such as PCs and mobile phones to the Internet. The home gateway can transmit data for the following services: Internet access services (such as interactive network 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 (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, a user with a home gateway can access the automated lighting, heating and security systems in the area covered by the home gateway while at work or out. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal.

[0040] Exemplarily, each optical network device is wiredly connected via an optical cable. For example, the optical cable between the optical relay device 122 and the optical relay device 123 may be referred to as an access backbone layer optical cable, and the optical cable between the optical relay device 123 and the optical network device 126, or the optical cable between the optical relay device 123 and the optical network device 127 may include a wiring layer optical cable and an introduction layer optical cable. The wiring layer optical cable refers to the optical relay device 123 and the optical splitter ( Figure 1 The optical cable between the optical splitter and the optical network device 127 is not shown.

[0041] The terminal can use the network device to access the server. Figure 1 As shown, the user can use the terminal 111 to establish a wireless communication connection with the optical network device 127 using wireless broadband (wireless-fidelity, WIFI) technology, so that the terminal 111 sends a data packet to the server 130. Exemplarily, the optical network devices communicate with each other through optical fibers, and the optical network device 127 communicates with each terminal through WIFI. As an optional implementation, the optical network device 127 and each terminal can communicate through a WIFI channel such as connect.

[0042] In some possible situations, the terminal may also use optical communication technology and radio access network equipment (radio access network, RAN) ( Figure 1 (not shown) establishes a communication connection and accesses the server 130.

[0043] Server 130 can be an application server or an authentication and authorization server. Server 130 can provide video services, game services, message services, music services, authentication and authorization services, etc. Server 130 can also provide interactive network television (Interactive TV, IPTV), voice transmission based on IP (Voice over Internet Protocol, VoIP) or other services, etc. In one example, the functions of multiple services can be integrated on server 130, for example, game services and music services can be deployed on server 130. In another example, it can also be the function of integrating some services on server 130, for example, some services of game services and some services of video services are deployed on server 130. Server 130 can also provide multiple virtual machines using virtualization technology, and various services are provided by virtual machines. The deployment form of services is not limited in the embodiments of the present application.

[0044] The optical 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 terminals, optical network devices and servers included in the optical communication network.

[0045] The present application can be applied to scenarios such as PON, passive optical LAN (POL), industrial optical network or PON remote network. Exemplarily, the optical transmitting device in the PON scenario can be located in the user's home or the user's corridor, and the optical receiving device 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 a PON scenario, each optical network device can be an optical network unit (ONU) or an ONT, and the network device 121 can be an OLT. As another example, in a PON scenario, the network device 121 can be a master ONU, and the optical network device 124 can be a slave ONU. In the vehicle optical network scenario, the optical transmitting device may be a vehicle interface unit (VIU), and the optical receiving device may be a mobile data center (MDC), vehicle dynamic control (VDC) or cockpit data center (CDC). The technical solution proposed in this application may also be applicable to optical backbone transmission networks, data center optical transmission, short-distance optical interconnection and wireless service fronthaul / backhaul, etc. Specifically, the technical solution proposed in this application may 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 may be applied to a time division multiplexing passive optical network (TDM-PON) or a wavelength division multiplexing passive optical network (WDM-PON). For example, PON may refer to GPON (Gigabit-Capable PON), an upgraded version of GPON, XG-PON, 10GEPON, etc., and may also be EPON, XGSPON, 50G PON and other optical communication network scenarios, which are not limited in this application.

[0046] This embodiment takes the PON remote network scenario as an example to illustrate the registration method of the optical communication network provided by this application. The PON remote network scenario can be implemented by setting an optical relay device (such as optical relay device 122 and optical relay device 123) between the OLT and the ONU. Figure 2 This is a schematic diagram of the structure of the PON remote network provided by this application. Figure 2 As shown, a plurality of ONUs (such as ONU1 to ONU8) communicate with OLT 210 via optical network devices such as optical splitters, one-stage or multiple-stage optical relay devices.

[0047] It should be understood that PON is a passive optical network, such as the line loss during the transmission process of the PON remote network determines the splitting ratio and transmission distance. The PON remote network deploys active one or more optical relay devices in the PON network, which relay and amplify the optical signal, thereby solving the problem of limited splitting ratio and transmission distance in the PON remote network.

[0048] On the access side of the optical communication network (the network side close to OLT 210), the optical relay device 221 can be deployed in the central office room. The optical relay device in the central office room sends and receives optical signals, such as transmitting the collected optical signals to OLT 210 via optical cables (such as optical fibers) to transmit the data carried by the optical signals to the data communication layer of the optical communication network.

[0049] On the client side of the optical communication network (the network side close to each ONU), the optical relay device 222 can be deployed in a remote computer room, and the optical relay device in the remote computer room sends and receives optical signals, such as transmitting the optical signals collected from each ONU to the upper-level optical relay device (such as the optical relay device 221 in the central office room) via an optical cable (such as optical fiber).

[0050] For example, the signal frames sent by ONU 1 to ONU 8 to OLT 210 are: optical signal t1 to optical signal t8. After receiving the optical signal sent by each ONU, OLT 210 executes the service or operation indicated by the optical signal, such as online, ranging or data communication for the ONU.

[0051] As a possible implementation, Figure 2 The hardware implementation of the OLT, optical relay equipment and ONU shown in the figure can be implemented by Figure 3 Provided in a manner Figure 3 The schematic diagram of the structure of the OLT, optical relay device and ONU provided in this application, wherein the ONU310 can be Figure 2 As shown in any of the ONU1 to ONU8, the OLT 320 can register the ONU 310 to the optical communication network, such as the OLT 320 can be used to implement Figure 2 Functionality of OLT 210 is shown.

[0052] like Figure 3 As shown, the ONU 310 includes: an ONU media access control (MAC) 311 , an ONU physical layer (PHY) 312 , a laser 313 and a photodetector 314 .

[0053] In the transmission direction, ONU MAC 311 can control the on and off of laser 313 through the transmit 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 transmit 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 transmit enable port. ONU MAC 311 can also adjust the physical parameters of laser 313, such as laser bias current and modulation current, through the transmit control port (Tx_Ctr). ONU MAC 311 can send service data to ONU PHY 312 through the data port (Data), and ONU PHY 312 transparently transmits the service data. ONU PHY 312 is also called the driver of laser 313, which is used to drive the laser to generate optical signals according to the instructions of the transmit enable port and / or transmit control port of ONU MAC 311. The laser 313 modulates the service data into an optical signal under the control of the ONU PHY 312 , and sends the uplink optical signal carrying the service data to the OLT 320 through the optical fiber.

[0054] In the receiving direction, the photodetector 314 receives the downstream optical signal from the OLT 320 and converts the downstream optical signal into an electrical signal. The ONU 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.

[0055] In this embodiment, the ONU 310 may further include a Wi-Fi access point (WIFI link) and an antenna. The Wi-Fi access point (WIFI link) is used to establish a WIFI channel (or WIFI link) with the OLT 320 through the antenna. 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 OSConnect TM Yes With Harmony OS TMIt is worth noting that different manufacturers can record WIFI channels with different names according to the different hardware components 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. For example, when the ONU 310 includes a WIFIPHY and an antenna, the ONU 310 can refer to Figure 1 The optical network device 127, namely, a router or switch supporting optical communication function.

[0056] The wireless communication function of ONU 310 and OLT 320 can be realized by antenna and mobile communication module, modem processor and baseband processor (not shown in the figure). For example, the antenna is 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 the antenna. For example: the antenna 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 the WIFIPHY included in ONU 310, or at least some functional modules of the mobile communication module can be set in the same device as at least some modules of the WIFIPHY.

[0057] OLT 320 may include OLT MAC 321, OLT PHY 323 (including signal processing module), 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. The signal processing module may be implemented by an analog device (such as an amplifier) ​​or a digital device (such as a digital signal processor), so the signal processing module may perform analog correlation processing or digital electrical signal processing. OLT MAC 321 analyzes the electrical signal passing through the signal processing module to obtain service data. In the sending direction, OLT MAC 321 generates service data, and the signal processing module performs analog or digital correlation processing on the service data. Laser 325 modulates the service data into an optical signal under the control of OLT PHY 323, and sends the downstream optical signal carrying the service data to ONU 310 through an optical fiber. The OLT 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 .

[0058] like Figure 3As shown, the optical relay device 330 may include a processor 332. Optionally, the optical relay device 330 may further include a memory 333 and / or a transceiver 331. The processor 332 is coupled with the memory 333 and the transceiver 331, such as being connected via a communication bus.

[0059] Combine the following Figure 3 Each component of the optical relay device 330 is introduced in detail.

[0060] The processor 332 is the control center of the optical relay device 330, and may be a processor or a general term for multiple processing elements. For example, the processor 332 is one or more central processing units (CPUs), or may be an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application, such as one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs).

[0061] Optionally, the processor 332 can perform various functions of the optical relay device 330 by running or executing a software program stored in the memory 333, and calling data stored in the memory 333. In a specific implementation, as an embodiment, the processor 332 may include one or more CPUs. Optionally, the optical relay device 330 may also include multiple processors. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0062] The memory 333 is used to store the software program for executing the solution of the present application, and is controlled by the processor 332 to execute. The specific implementation method can refer to the above method embodiment, which will not be repeated here. Exemplarily, the memory 333 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, 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 to this. The memory 333 can be integrated with the processor 332, or it can exist independently and be connected to the computer through the interface circuit ( Figure 3 (not shown) is coupled to the processor 332, which is not specifically limited in the embodiment of the present application.

[0063] The transceiver 331 is used for communication with other communication devices. For example, the transceiver 331 can be used to communicate with the ONU 310, the OLT 320 or other optical relay devices. Optionally, the transceiver 331 may include a receiver and a transmitter ( Figure 3 The receiver is used to realize the receiving function of the optical signal, and the transmitter is used to realize the sending function of the optical signal.

[0064] Optionally, the transceiver 331 may be integrated with the processor 332, or may exist independently and communicate with the optical relay device 330 through an interface circuit ( Figure 3 (not shown) is coupled to the processor 332, which is not specifically limited in the embodiment of the present application.

[0065] It is worth noting that Figure 3 The structure of the optical relay device 330 shown in the figure does not constitute a limitation on the communication device. The actual communication device may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0066] In addition, the technical effects of the optical relay device 330 can refer to the technical effects described in the following method embodiments, which will not be repeated here.

[0067] The access of ONU to the optical communication network in OLT includes the following stages: discovery stage, ranging stage, authentication stage and operation stage. The discovery stage refers to the OLT opening the SN discovery window for the ONU and allocating a registration identifier, such as the ONU identification (ID), to the ONU based on the acquired SN. The ranging stage refers to the OLT opening the ranging window for the ONU and allocating balanced delay to the ONU based on the ONU's ranging message. The authentication stage includes: SN authentication of the ONU in the OLT, password authentication, etc. The operation stage includes: configuration recovery of the optical network unit management and control interface (OMCI) and OMCI management, communication service flow, etc. For example, ONCI management includes: establishing service flow between OLT and ONU, service flow encryption, forward error correction (FEC) of service flow, etc.

[0068] In common technology, taking the PON remote network scenario as an example, when the OLT connects more ONUs through multiple optical repeaters and the number of these ONUs is large (such as PON remote network), the OLT needs to open the discovery window for a long time, which will cause large delay jitter. This brings challenges to the PON system in application scenarios with high delay jitter requirements.

[0069] To reduce the uplink delay jitter caused by the registration process, Figures 1 to 3 Based on the optical communication network and OLT, optical relay equipment and ONU shown in the figure, the embodiment of the present application provides a possible implementation method, such as Figure 4 As shown, Figure 4 The flowchart of the registration method of the optical communication network provided by the present application. The hardware implementation and optional implementation methods of OLT 41, optical relay device 42, ONU 43 and ONU 44 can be referred to the aforementioned Figures 1 to 3 The description of is not repeated here. In some optional implementations, Figure 4 The ONU waiting to be put online can also be called the next-level optical network device connected to the optical relay device 42.

[0070] See also Figure 4 The registration method provided in this embodiment includes the following S401 to S416.

[0071] S401 . The OLT 41 establishes an optical communication connection with the optical relay device 42 .

[0072] With respect to the implementation process of S401, 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.

[0073] Step 1: OLT 41 continuously broadcasts data frames to multiple optical relay devices 42, each of which carries control information; the control information is used to instruct the optical relay device 42 to go online, measure distance, or register in the optical communication network. Figure 3 For example, the data frame may be an optical signal generated by the OLT MAC 321 after the OLT MAC 321 generates data to be sent and the OLT PHY 323 drives the laser 325 .

[0074] Optionally, the data frame may also be used to: instruct the optical relay device 42 to forward one or more specific optical signals, or interrupt the transmission process of one or more specific optical signals in the optical relay device 42, and so on.

[0075] The following takes the optical relay device 42 as an example to illustrate the process of establishing an optical communication connection between the OLT 41 and the optical relay device 42.

[0076] Step 2: The optical relay device 42 performs frame synchronization on the received data frame and establishes an optical communication connection with the OLT 41 .

[0077] Frame synchronization refers to the frame synchronization of the received serial signal by the optical relay device 42. Frame synchronization refers to the optical relay device 42 identifying the start and end of a frame to determine the start position and end position of a data frame in the serial signal. 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 filling, a head and tail flag method with bit filling, and a physical layer coding violation method.

[0078] Taking the head and tail marking 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 optical relay device 42 recognizes the specific bits, the optical relay device 42 determines that it recognizes the frame header of a data frame, and regards the data before the next frame header in the serial data as the data of the data frame, thereby realizing the frame synchronization of the data frame. In some possible situations, frame synchronization is also called "frame delimitation".

[0079] In some optional embodiments, since the frame length of each data frame is the same, after the optical relay device 42 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).

[0080] The above examples are only a possible implementation of the head and tail mark method with bit filling for this embodiment, and should not be understood as limiting the present application. The optical relay device 42 can also use other frame synchronization methods to implement frame synchronization of data frames. The specific implementation methods of the character counting method, the head and tail 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: The optical relay device 42 parses the data frame to obtain control information, and starts a process corresponding to the control information.

[0082] In this embodiment, if the control information is used to instruct the optical relay device 42 and its next-level optical network device to go online in the optical communication network at OLT41, then the process corresponding to the control information refers to: the optical relay device 42 starts the ranging and registration process, and completes the ranging and goes online in the optical communication network. Therefore, in some examples, the process of establishing an optical communication connection between the OLT and the optical relay device can also be referred to as the process of the optical relay device and the OLT completing the ranging and going online. After the OLT 41 establishes the optical communication connection with the optical relay device 42, the following step S402 is continued.

[0083] S402 . The OLT 41 sends configuration information to the optical relay device 42 .

[0084] Corresponding to the process of S402 , the optical relay device 42 receives the configuration information sent by the OLT 41 .

[0085] The configuration information includes: the specified bandwidth mapping (BWmap) information and preallocation equalization delay (preEqd) that the optical relay device 42 can use in the optical communication network. The specified BWmap information indicates: in burst transmission mode, the position range of a single data frame in a plurality of continuously transmitted data frames (or a data block) and the position of the bandwidth allocation time slot in the burst. Each allocated time slot is controlled by a bandwidth allocation structure specific to the BWmap in the downlink frame. The preallocation equalization delay (preEqd) is used to indicate: during the service communication process between the OLT and the next-level optical network device of the optical relay device, the channel to be used by the next-level optical network device.

[0086] In this embodiment, the above-mentioned designated BWmap information is different from the first BWmap information in the optical communication network.

[0087] It is worth noting that Figure 4Only one optical relay device connected to OLT 41 is shown, but in some optional implementations, OLT 41 allocates different configuration information to multiple different optical relay devices, that is, the BWmap information and equalization delay that can be used by the next-level optical network devices of different optical relay devices are different, thereby avoiding the problem of data transmission disorder in the optical communication network caused by different optical network devices using the same equalization delay, which is beneficial to improving the communication robustness of the optical communication network.

[0088] For example, the process in which the OLT 41 determines the configuration information to be allocated to different optical relay devices may be random or performed according to a set logic or algorithm, which is not limited in the present application.

[0089] S403 . The optical relay device 42 sends a response message 0 to the OLT 41 .

[0090] Corresponding to the process of S403 , the OLT 41 receives the response message 0 sent by the optical relay device 42 .

[0091] The response message 0 is used to indicate that the optical relay device 42 has set the configuration information in the optical relay device 42. In some possible examples, the response message 0 is also called a configuration success response or a configuration response message, etc., which is not limited in the present application.

[0092] S404 . The OLT 41 sends an overhead message 1 to the optical relay device 42 .

[0093] Corresponding to the process of S404 , the optical relay device 42 receives the overhead message 1 sent by the OLT 41 .

[0094] The overhead message 1 is also called the first overhead message, and the overhead message 1 carries a first pre-allocated equalization delay (first preEqd), which is a preEqd set by the OLT 41 during the discovery phase of each optical network device to be put online, and the first preEqd may be preset or set by the user. In some cases, the first preEqd may also be called the standard preEqd of the OLT 41, which is not limited in this application.

[0095] S405. The optical relay device 42 sends an overhead message 2 to the ONU to be online based on the overhead message 1.

[0096] It is worth noting that Figure 4 For example, the ONU to be online is ONU 43. Corresponding to the process of S405, ONU 43 receives the overhead message 2 sent by the optical relay device 42.

[0097] The overhead message 2 is also called the second overhead message, and the overhead message carries a second pre-allocated equalization delay (second preEqd). The second preEqd is the pre-allocated equalization delay included in the configuration information in S402. In some possible situations, the second preEqd may also be called a dedicated preEqd of the optical relay device 42.

[0098] For the optical relay device 42, the above S405 may include the following steps: the optical relay device 42 modifies the pre-allocated equalization delay (first preEqd) in the overhead message 1 to the pre-allocated equalization delay (second preEqd) carried by the configuration information, and obtains the overhead message 2. Exemplarily, the pre-allocated equalization delay in the overhead message 1 is preEqd1, and the pre-allocated equalization delay in the overhead message 2 is preEqd2.

[0099] The above overhead messages are used to indicate the optical parameters to be used by the next-level optical network device of the optical relay device 42. The optical parameters here may include but are not limited to: the frequency to be used by the ONU to send the optical signal to the optical relay device 42, or the laser in the ONU (such as Figure 3 The signal transmission power to be adopted by the laser 313 in the example.

[0100] In this embodiment, the OLT can configure different pre-allocated equalization delays for different optical relay devices. During the registration process of the ONU, for the ONU that accesses the optical communication network through the optical relay device, the OLT can set different pre-allocated equalization delays for the ONUs connected to different optical relay devices, so that during the registration process of the ONU, the OLT only opens a discovery window adapted to the specific optical relay device for the optical relay device. The adapted discovery window will be smaller than the discovery window that the OLT opens indiscriminately for all ONUs, thereby reducing the uplink delay jitter in the optical communication network.

[0101] S406 . The OLT 41 sends a discovery message 0 to the optical relay device 42 .

[0102] Corresponding to the process of S406 , the optical relay device 42 receives the discovery message 0 sent by the OLT 41 .

[0103] The discovery message 0 is also called the zeroth discovery message. The discovery message 0 carries SN Request windowing authorization information, also called SN windowing authorization information, which is used to instruct the OLT 41 to open a discovery window for any optical network device to be online.

[0104] In the case that the OLT is not only directly connected to the optical relay device but also directly connected to other optical network devices, if the other optical network devices do not need to communicate with the OLT through the optical relay device, then these other optical network devices can send the SN of the other optical network devices to the OLT through the zeroth discovery message sent by the OLT, so that the OLT can assign registration identifiers to the other optical network devices according to the SN and execute the registration process of the other optical network devices.

[0105] In this embodiment, OLT 41 opens a discovery window for ONUs connected via optical relay devices, so the SN (Request) window opening authorization information carried in the discovery message 0 is not applicable to ONU 43. To enable ONU 43 to register smoothly, two optional implementations are provided below.

[0106] In a first optional implementation, after the optical relay device 42 receives the discovery message 0 sent by the OLT 41, the optical relay device 42 deletes the SN (Request) windowing authorization information in the discovery message 0 and obtains an invalidation message. In addition, the optical relay device 42 sends the invalidation message to the optical network device at the next level of the optical relay device 42. In this way, the optical network device at the next level of the optical relay device 42 cannot obtain the SN (Request) windowing authorization information in the discovery message 0, and will not perform the registration process within the discovery window indicated by the SN (Request) windowing authorization information.

[0107] In a second optional implementation, after the optical relay device 42 receives the discovery message 0 sent by the OLT 41, the optical relay device 42 terminates the transmission process of the discovery message 0 in the optical communication network. Then, the optical network device at the next level of the optical relay device 42 will not receive the discovery message 0, and will not perform the registration process within the discovery window indicated by the SN (Request) windowing authorization information in the discovery message 0.

[0108] In the above two implementations, the optical network device at the next level of the optical relay device will not receive the SN (Request) windowing authorization information, and will not report the SN, resulting in the problem that the SN cannot be effectively received by the OLT, which is beneficial to improving the accuracy of the registration process in the optical communication network. The above two optional implementations are only examples provided in this embodiment and should not be understood as limitations on this application.

[0109] S407 . The OLT 41 sends a discovery message 1 to the optical relay device 42 , and opens a discovery window for the optical relay device 42 .

[0110] Corresponding to the process of S407 , the optical relay device 42 receives the discovery message 1 sent by the OLT 41 .

[0111] The discovery message 1 carries the specified BWmap information in the aforementioned configuration information.

[0112] The size of the discovery window is determined based on the distance between the optical network device at the next level of the optical relay device 42 and the optical relay device 42 (also referred to as the access distance of the next level network of the optical relay device). In this embodiment, the size of the discovery window is determined based on the distance between the optical relay device 42 and the ONU 43.

[0113] For example, if the distance between the optical relay device 42 and the ONU 43 is within the range of 0 to 40 kilometers (km), the size of the discovery window may be the transmission time slots corresponding to 4 data frames. In different protocols, the transmission time slots of a single data frame are different, and this application does not limit this.

[0114] S408 . The optical relay device 42 sends a discovery message 2 to the ONU 43 based on the discovery message 1 .

[0115] In the optical relay device 42, the optical relay device 42 converts the specified BWmap information in the discovery message 1 into the second SNRequest windowing authorization information (also referred to as the second SN windowing authorization information) to generate a discovery message 2. Then, the optical relay device 42 sends the discovery message 2 to the ONU 43. The second SN Request windowing authorization information is used to indicate the discovery window opened by the OLT 41 for the ONU 43. The second SN Request windowing authorization information and the SN Request windowing authorization information carried by the aforementioned discovery message 1 have in common that the formats of the two are the same; the difference between the second SN Request windowing authorization information and the SN Request windowing authorization information carried by the aforementioned discovery message 1 is that the second SN Request windowing authorization information and the SN Request windowing authorization information carried by the discovery message 1 contain different values. Among them, the discovery window indicated by the second SN Request windowing authorization information is consistent with the discovery window opened by the OLT 41 in S407.

[0116] The common point between the discovery message 1 and the discovery message 2 is that the two discovery messages have the same format and both carry information indicating that the next-level optical network device of the optical relay device 42 starts the registration process. Exemplarily, the discovery message 1 and the discovery message 2 are used to instruct the ONU 43 to report the SN of the ONU 43. For example, the ONU 43 responds to the received overhead message and sends the SN information of the ONU 43 to the OLT 41; specifically, the transmission process of the SN information needs to be forwarded via the optical relay device 42.

[0117] The difference between discovery message 1 and discovery message 2 is that the window opening authorization information field carried in the two discovery messages contains different contents. Discovery message 1 carries the specified BWmap information, and discovery message 2 carries the second SN Request window opening authorization information generated based on the specified BWmap information.

[0118] For example, both discovery message 1 and discovery message 2 include an Alloc ID field. If the value of the AllocID field in discovery message 1 is 256 or other values, the value of the Alloc ID field in discovery message 2 is determined by the standard protocol applied in the embodiment of the present application.

[0119] In a first optional example, such as in the GPON standard protocol, the value of the Alloc ID field in the discovery message 2 is 254.

[0120] In a second optional example, such as in the 50G PON standard protocol, it is found that the value of the Alloc ID field in message 2 is 1020, 1021, 1022 or 1023.

[0121] In a third optional example, such as in the XG-PON standard protocol, the value of the Alloc ID field in the discovery message 2 is 1021, 1022 or 1023.

[0122] In a fourth optional example, such as in the XGSPON standard protocol, the value of the Alloc ID field in the discovery message 2 is 1021, 1022 or 1023.

[0123] The above four optional examples are only selectable values ​​of the Alloc ID field provided in the embodiment of the present application. According to the development and changes of future optical communication technologies, it is found that the value of the Alloc ID field in message 2 may also be other values.

[0124] In this embodiment, the second SN Request windowing authorization information carried in the discovery message 2 received by the ONU is not the windowing authorization information generated by the OLT based on the first BWmap information of the optical communication network, but the windowing authorization information generated by the optical relay device based on the specified BWmap information. Since the discovery window corresponding to the specified BWmap information is smaller than the discovery window corresponding to the first BWmap information, the ONU can only implement the ONU registration process within a smaller discovery window, that is: in the SN discovery phase, the discovery window opened by the OLT for the next-level optical network device of the optical relay device will be smaller than the standard discovery window, and the service interruption time of other ONUs connected to the OLT will be shortened, which is beneficial to reducing the uplink delay jitter of the optical communication network and improving the communication stability of each optical network device in the optical communication network.

[0125] S409 . The ONU 43 responds to the discovery message 2 and sends a response message 1 to the optical relay device 42 .

[0126] Corresponding to the process of S409 , the optical relay device 42 receives the response message 1 sent by the ONU 43 .

[0127] The response message 1 carries the SN of the ONU 43, which is used to uniquely identify the ONU 43 in the optical communication network. The response message 1 may also be referred to as an SN message, an SN response, an SN response message, or an SN response packet, etc., which is not limited in the present application.

[0128] In this embodiment, the process of ONU 43 sending the response message 1 can be implemented based on the optical parameters carried in the overhead message 2. Figure 3 Taking the ONU 310 in FIG. 1 as an example, the sending process of the response message 1 in the ONU is exemplarily described. The sending process of the response message 1 includes the following steps 1 and 2.

[0129] Step 1, ONU MAC 311 in ONU 310 sends an adjustment instruction to ONU PHY 312: adjust the bias current (Ibias) according to the optical parameters, so that the adjusted Ibias is the threshold current (IT) in the optical parameters; and turn off the modulation current (Imod) and Tx_En. For example, the threshold current is 5 milliamperes (mA), 10mA or other values.

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

[0131] The information of the specific frequency is the optical parameter carried by the overhead message 2 , and the response message carries the registration identifier corresponding to the ONU 310 .

[0132] For example, the maximum power of the optical signal generated in step 2 is -23.4 decibels per milliwatt (dBm), and the minimum power is -45.8 dBm.

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

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

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

[0136] Accordingly, after the OLT receives the optical signal in step 2, according to the photodetector (such as Figure 3 The photoelectric detector in the OLT performs photoelectric conversion on the received optical signal to obtain an electrical signal. After that, the signal processing module in the OLT (such as Figure 3 The signal processing module in the signal processing module processes the electrical signal obtained by photoelectric conversion to obtain a bit stream corresponding to the response message.

[0137] S410 . The optical relay device 42 sends a response message 2 to the OLT 41 according to the response message 1 .

[0138] Corresponding to the process of S410 , the OLT 41 receives the response message 2 sent by the optical relay device 42 .

[0139] The response message 2 also carries the SN of the ONU 43 .

[0140] In this example, the response message 2 and the aforementioned response message 1 are both optical signals, and the difference between the response message 2 and the response message 1 is that the optical signal after the SN of the ONU 43 in the response message 1 will continue to be transmitted, while the optical signal after the SN of the ONU 43 in the response message 2 will be set to an invalid optical signal, or the optical relay device 42 will terminate the transmission process of the optical signal after the SN of the ONU 43 in the response message 2. The optical relay device 42 sets the optical signal after the SN of the ONU 43 in the response message 2 to an invalid optical signal, which may include: the optical relay device 42 sets the optical signal to an optical signal of a preset frequency, etc.

[0141] In this way, for the SN reporting process of the ONU to the OLT, the optical signal after the SN in the response message does not need to be transmitted or is transmitted as an invalid optical signal, so that the OLT does not need to process this part of the optical signal, reducing the consumption of processing resources in the OLT.

[0142] S411. The OLT 41 sends a registration identifier and a ranging request message to the optical relay device 42 according to the SN carried in the response message 2.

[0143] Corresponding to the process of S411 , the optical relay device 42 receives the registration identifier and the ranging request message sent by the OLT 41 .

[0144] Exemplarily, the registration identifier is a registration identifier assigned by OLT 41 to ONU 43 according to the SN of ONU 43. For example, the registration identifier is an identification (ID) of ONU 43, and the ID of ONU 43 is recorded as: ONU ID 1. The registration identifier is the registration information required to be adopted by the ONU during the online process. In the communication process between ONU 43 and OLT 41, OLT 41 uniquely identifies ONU 43 according to ONU ID 1, avoids forwarding data sent to ONU 43 to other ONUs, thereby improving the communication accuracy between ONU 43 and OLT 41.

[0145] In some optional implementations, 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 of this application, 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.

[0146] Also illustratively, the ranging request message includes a registration identifier of the ONU 43 (eg, ONU ID 1).

[0147] In this embodiment, OLT 41 may also open a ranging window for ONU 43. The size of the ranging window may also be determined according to the access distance between ONU 43 and optical relay device 42. The implementation of the ranging window is similar to the above-mentioned discovery window and will not be described in detail here.

[0148] S412 . The optical relay device 42 sends the registration identifier of the ONU 43 and a ranging request message to the ONU 43 .

[0149] Corresponding to the process of S412 , the ONU 43 receives the registration identifier of the ONU 43 and the ranging request message sent by the optical relay device 42 .

[0150] The ranging request message is used to instruct the ONU 43 to perform a ranging process of the ONU 43 according to the received registration identifier.

[0151] S413. The ONU 43 responds to the ranging request message and sends a ranging message to the optical relay device 42 according to the registration identifier of the ONU 43.

[0152] Corresponding to the process of S413 , the optical relay device 42 receives the ranging message sent by the ONU 43 .

[0153] The ranging message carries the registration identifier of the ONU 43. In some possible examples, the ranging message 1 may also be referred to as a first ranging message or other names.

[0154] S414 . The optical relay device 42 sends the ranging message in S413 to the OLT 41 .

[0155] Corresponding to the process of S414 , the OLT 41 receives the ranging message sent by the optical relay device 42 .

[0156] S415 . The OLT 41 responds to the ranging message and sends a response message to the optical relay device 42 .

[0157] Corresponding to the process of S414 , the optical relay device 42 receives the response message sent by the OLT 41 .

[0158] The response message is used to indicate the balanced delay that the ONU 43 will use to communicate in the optical communication network. The balanced delay indicates the channel that the ONU 43 uses to implement service data communication after the ONU 43 accesses the optical communication network through the OLT 41 .

[0159] It can be understood that among the multiple optical network devices accessing the optical communication network through OLT 41, different optical network devices use different channels, that is, each ONU will use a different equalization delay, which is conducive to avoiding the situation where different ONUs occupy the same channel and cause errors in business data communication, and improving the communication accuracy between the optical network devices in the optical communication network.

[0160] S416 . The optical relay device 42 sends the response message in S415 to the ONU 43 .

[0161] Corresponding to the process of S416 , the ONU 43 receives the response message sent by the optical relay device 42 .

[0162] In this embodiment, the discovery window opened by the OLT is determined based on the distance between the optical relay device and the next-level optical network device of the optical relay device, and the OLT has configured specified BWmap information for the optical relay device, so that when the OLT performs the registration process of the next-level optical network device of the optical relay device, the OLT does not need to open a larger discovery window, but only needs to open a discovery window that is compatible with the aforementioned next-level optical network device.

[0163] Therefore, the OLT only needs to open a smaller discovery window during the SN discovery process. The time slot corresponding to the smaller discovery window is reduced, and the service interruption time of other optical network devices communicating with the OLT is shortened, which is beneficial to reducing the uplink delay jitter of the optical communication network and improving the communication stability of the optical communication network.

[0164] In some optional implementations, the ONU to be put online refers to other ONUs (such as ONU 44) or other optical relay devices, etc. The registration process for these ONUs and optical relay devices can refer to the registration process of ONU 43 provided in this embodiment, which will not be repeated here.

[0165] The following is an exemplary description of the beneficial effects of the registration method provided by the present application in conjunction with the accompanying drawings. Figure 5 As shown, Figure 5 A comparison diagram of different registration methods provided for this application.

[0166] exist Figure 5 In case 1 and case 2, each data frame includes: a physical synchronization block downstream (PSBd) and a physical frame (PHY frame). PSBd is used to provide functions such as lock synchronization and frame delimitation, and PHY frame is used to carry the payload part in the data frame.

[0167] like Figure 5 In case 1, the transmission distance between OLT and ONU is 20km, and the process of ONU registering on OLT includes: 1. OLT sends overhead information carrying the first BWmap information to ONU; 2. ONU responds to the received overhead information and sends a response message to OLT, wherein the response time of ONU is T11; 3. OLT receives the response message sent by ONU and sends a discovery message to ONU to start the registration process of ONU on OLT. Among them, T12 is the response time after ONU receives the discovery message, T13 is the start time of ONU to perform the SN discovery phase, and T14 is the random time (random time) between ONU responding to the discovery message and sending SN. It is worth noting that, taking the balanced delay Teqd=236us from OLT sending the overhead message to ONU sending the SN as an example, OLT needs to open a silent window (discovery window) of at least 250us to meet the requirements of OLT for ONU's SN discovery phase. Therefore, since the OLT opens the discovery window, there is at least 250 us of uplink delay jitter between the OLT and the ONU.

[0168] like Figure 5In case 2, the transmission distance between OLT and ONU is 120km, and the process of ONU registering on OLT is the same as that in case 1 above. Among them, T21 is the response time of ONU receiving overhead message, T22 is the response time of ONU after receiving discovery message, T13 is the start time of ONU executing SN discovery phase, and T14 is the random time between ONU responding to discovery message and sending SN. The difference between case 2 and case 1 is that the distance between the two is farther, and the discovery window opened by OLT is 1250us. Furthermore, because OLT opens the discovery window, there is at least 1250us uplink delay jitter between OLT and ONU.

[0169] Combination Figure 5 In case 1 and case 2, when the distance between the ONU and the OLT increases, the OLT indiscriminately opens the discovery window for all ONUs to be online, resulting in a rapid increase in the uplink delay jitter of other ONUs connected to the OLT, an increase in the interruption time of various services in the optical communication network, and a decrease in the communication performance of the optical communication network.

[0170] Compared with the conventional technology, the registration method provided by this application can reduce the uplink delay jitter, such as Figure 5 In case 3, each data frame includes: a physical control block downstream (PCBd) and a payload, such as Figure 5 The three data frames in the PCBd include: load N, load N+1 and load N+2. Among them, PCBd can be used to provide functions such as lock synchronization, timing and dynamic bandwidth allocation. For more information about PCBd, please refer to the description of the general technology, which will not be repeated here.

[0171] The transmission distance between OLT and ONU is 120km. The process of ONU registering on OLT includes: 1. OLT sends a discovery message to ONU through the optical relay device. For the content and implementation of the discovery message, please refer to the related description of the aforementioned discovery message 1 and discovery message 2. ONU responds to the discovery message and feeds back the SN of the ONU to OLT. 2. OLT receives the SN sent by ONU, allocates a registration identifier (ONU ID) to the ONU and opens the ranging window. ONU sends a ranging message to OLT through the optical relay device based on the received registration identifier and ranging request message. 3. OLT responds to the ranging message, allocates a balanced delay to the ONU, and sends the balanced delay to the ONU in the format of a Ranging message. For more details about situation 3, please refer to the aforementioned Figure 4 The description of Figure 5content, T31 is the propagation delay, T11 = 0.1us; T32 is the response time of the ONU to the discovery message (ONU response time); preEqd1 is the pre-allocated equalization delay of the ONU; T33 is the random time (random time) between the ONU responding to the discovery message and sending the SN; Tstart is the start time in the SN (Request) window authorization information, and Tstop is the end time in the SN (Request) window authorization information; T34 is the propagation delay (propagation delay) between the ONU sending the SN and the OLT receiving the SN. Combined with the above Figure 4 In the embodiment, the discovery window opened by the OLT for the ONU is associated with the distance between the ONU and the optical relay device. Therefore, the discovery silent window that the OLT needs to open is only 250us, which is much smaller than the silent window in Case 2, thereby reducing the uplink delay jitter in the PON remote network.

[0172] It is understandable that, in order to implement the functions in the above embodiments, the ONU, OLT and optical relay equipment include 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.

[0173] Combined with the above Figures 1 to 5 , describes in detail the registration method provided according to this embodiment, and will be combined with Figure 6 , describing the registration device provided according to this embodiment.

[0174] Figure 6 Schematic diagram of the structure of the registration device provided in the present application, the registration device 600 can be used to implement the function of any one of the ONUs in the above method embodiments, and thus can also achieve the beneficial effects of the above method embodiments. In this embodiment, the registration device 600 can be as follows Figure 1 The optical network device 121, optical relay device 122, other optical network devices or optical relay devices, or any optical relay device or OLT shown in subsequent figures, etc., can also be a module (such as a chip) applied to an optical relay device or OLT.

[0175] like Figure 6As shown, the registration device 600 includes: a transceiver module 610 and a processing module 620. The transceiver module 610 and the processing module 620 can cooperate to implement each step in the above method embodiment. A more detailed description of the above transceiver module 610 and the processing module 620 can be directly obtained by referring to the relevant description of each optical relay device or OLT in the method embodiment shown in the above figures, and no further description is given here.

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

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

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

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

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

[0181] in addition, Figure 6 The registration device 600 shown can also be implemented by an optical network device, such as Figure 7 As shown, Figure 7 The structural diagram of the optical network device provided in the present application, the optical network device 700 includes: a memory 710 and at least one processor 720, the processor 720 can implement the registration method provided in the above embodiment, and the memory 710 is used to store the software instructions corresponding to the above registration method. As an optional implementation, in hardware implementation, the optical network device 700 may refer to a chip or chip system encapsulated with one or more processors 720. For example, when the optical network device 700 is used to implement the method steps in the above embodiment, the processor 720 included in the optical network device 700 executes the steps of the above method and its possible sub-steps. In an optional situation, the optical network device 700 may also include a communication interface 730, which can be used to send and receive data. For example, the communication interface 730 is used to receive ranging messages, or send ranging messages, etc.; the communication interface 730 can be implemented by the interface circuit included in the optical network device 700.

[0182] In the embodiment of the present application, the communication interface 730, the processor 720 and the memory 710 can be connected via a bus 740, and the bus 740 can be divided into an address bus, a data bus, a control bus, etc. The bus 740 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.

[0183] It is worth noting that the optical network device 700 can also perform Figure 6 The functions of the registration device 600 shown are not described in detail here.

[0184] The optical network device 700 provided in this embodiment can be any of the above OLTs, or other optical network devices with data processing functions, which is not limited in this application. For example, the optical network device 700 can be any of the above optical network devices, such as OLT 41 or optical network device 121.

[0185] in addition, Figure 6 The registration device 600 shown can also be implemented by an optical relay device. When the registration device 600 is implemented by an optical relay device, the hardware implementation of the optical relay device can refer to Figure 3 The relevant description is not repeated here.

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

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

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

[0189] 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 first network device, the first network device establishes an optical communication connection with an optical relay device, the optical relay device is configured with specified bandwidth mapping BWmap information and pre-allocated equalization delay that can be used in the optical communication network, and the specified BWmap information is different from the first BWmap information of the optical communication network; The method comprises: The first network device sends a first overhead message and a first discovery message to the optical relay device, and opens a discovery window for the optical relay device; the first overhead message indicates the optical parameters to be adopted by the next-level optical network device of the optical relay device to transmit the optical signal, the first discovery message carries the specified BWmap information, and the size of the discovery window is determined according to the distance between the next-level optical network device of the optical relay device and the optical relay device; In a time slot corresponding to the discovery window, the first network device receives a first sequence number SN sent by the optical relay device, where the first SN is an SN sent by a next-level optical network device of the optical relay device based on the optical parameters; The first network device sends a ranging request message to the optical relay device according to the first SN, and sends a registration identifier of a next-level optical network device of the optical relay device; The first network device receives the ranging message sent by the optical relay device and sends a response message to the optical relay device; the ranging message carries the registration identifier, and the response message is used to indicate: the next-level optical network device of the optical relay device will use the equalization delay in the optical communication network.

2. The method according to claim 1, characterized in that Before the first network device sends the first overhead message to the optical relay device, the method further includes: The first network device sends configuration information to an optical relay device that has been online in the optical communication network, wherein the configuration information is used to indicate: specified BWmap information and pre-allocated equalization delay that can be used by the optical relay device in the optical communication network; The first network device receives a response message sent by the optical relay device, where the response message indicates that the optical relay device has set the configuration information to the optical relay device.

3. The method according to claim 1 or 2, characterized in that: The first network device receives the ranging message sent by the optical relay device, and sends a response message to the optical relay device, including: The first network device receives the ranging message sent by the optical relay device, and parses the ranging message to obtain the registration identifier; The first network device sends the response message to the optical relay device according to the registration identifier.

4. The method according to any one of claims 1 to 3, characterized in that Before the first network device sends the first discovery message to the optical relay device, the method further includes: The first network device sends a zeroth discovery message to the optical relay device, where the zeroth discovery message carries SN window opening authorization information, where the SN window opening authorization information is used to indicate that the first network device opens a discovery window for any optical network device based on the first BWmap information.

5. A registration method for an optical communication network, characterized in that: The method is performed by an optical relay device, the optical relay device establishes an optical communication connection with a first network device in the optical communication network, the optical relay device is configured with specified bandwidth mapping BWmap information that can be used in the optical communication network and a second pre-allocated equalization delay, and the specified BWmap information is different from the first BWmap information of the optical communication network; The method comprises: The optical relay device receives a first discovery message sent by the first network device, and sends a second discovery message to the second network device according to the first discovery message; the first discovery message carries the specified BWmap information, and the second discovery message carries second SN window opening authorization information, and the second SN window opening authorization information indicates: the first network device opens a discovery window for the second network device according to the specified BWmap information, and the size of the discovery window is determined according to the distance between the optical relay device and the next-level optical network device, and the second network device is any one of the next-level optical network devices of the optical relay device; The optical relay device receives a first sequence number SN sent by the second network device, and sends the first SN to the first network device; The optical relay device receives the ranging request message and the registration identifier sent by the first network device, and sends the ranging request message and the registration identifier to the second network device; the registration identifier is the registration identifier allocated by the first network device to the second network device according to the first SN; The optical relay device receives the ranging message sent by the second network device, and sends the ranging message to the first network device, where the ranging message carries the registration identifier; The optical relay device receives a response message sent by the first network device, and sends the response message to the second network device, wherein the response message is used to indicate: the equalization delay to be used by the second network device in the optical communication network.

6. The method according to claim 5, characterized in that Before the optical relay device receives the first discovery message sent by the first network device, the method further includes: The optical relay device receives a first overhead message sent by the first network device, and sends a second overhead message to the second network device according to the first overhead message; Among them, the first overhead message indicates the optical parameters to be adopted by the next-level optical network device of the optical relay device to transmit the optical signal, the first overhead message carries the first pre-allocated equalization delay of the optical communication network, the second overhead message carries the second pre-allocated equalization delay, and the second network device is any one of the next-level optical network devices of the optical relay device.

7. The method according to claim 6, characterized in that The optical relay device sends a second overhead message to a second network device according to the first overhead message, including: The optical relay device modifies the first pre-allocated equalization delay in the first overhead information to the second pre-allocated equalization delay set in the optical relay device, and obtains the second overhead message; The optical relay device sends the second overhead message to the second network device.

8. The method according to any one of claims 5 to 7, characterized in that: The optical relay device sending a second discovery message to the second network device according to the first discovery message includes: The optical relay device converts the specified BWmap information in the first discovery message into second SN windowing authorization information to obtain the second discovery message; The optical relay device sends the second discovery message to the second network device.

9. The method according to claim 8, characterized in that Determine, according to the specified BWmap information, that the allocation identifier Alloc ID in the second discovery message is one of 254, 1020, 1021, 1022 or 1023.

10. The method according to claim 8 or 9, characterized in that: Before the optical relay device receives the first discovery message sent by the first network device, the method further includes: The optical relay device receives a zeroth discovery message sent by the first network device, where the zeroth discovery message carries SN windowing authorization information; The optical relay device deletes the SN windowing authorization information in the zeroth discovery message, obtains an invalidation message, and sends the invalidation message; or, the optical relay device terminates the transmission process of the zeroth discovery message in the optical communication network.

11. The method according to any one of claims 5 to 10, characterized in that: The optical relay device receives the first SN sent by the second network device, and sends the first SN to the first network device, including: The optical relay device receives a first SN sent by the second network device; After receiving the first SN, the optical relay device terminates the optical signal of the second network device received within the discovery window.

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

13. An optical network device, characterized in that: include: processors, memory, and transceivers; The memory is used for caching: the optical relay device having an optical communication connection established with the network device is configured with designated bandwidth mapping BWmap information and pre-allocated equalization delay that can be used in the optical communication network, the designated BWmap information being different from the first BWmap information of the optical communication network; The transceiver and the processor cooperate to perform the method of any one of claims 1-4.

14. An optical relay device, characterized in that: include: A processor and a transceiver; the processor and the transceiver are used to collaboratively execute the method described in any one of claims 5-11.

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

Citation Information

Cited By

  • Registration method and apparatus for optical communication network

    EP4765858A1

  • Registration method and apparatus for optical communication network

    WO2025077919A1