Authentication method and device of optical network unit, optical communication equipment and system

CN121753354APending Publication Date: 2026-03-27HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-26
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In the existing optical communication technology, the optical network unit (ONU) that supports different media access control (MAC) protocols when connected, the type is inconsistent with the pre-configured parameters, resulting in difficulty in authentication and access.

Method used

It provides an ONU authentication method, which receives configuration information groups related to two types of ONUs through optical circuit terminals (OLTs), respectively, and contains the same authentication information to ensure that no matter which type of ONU is, authentication can be performed.

Benefits of technology

It realizes unified management of ONUs that support different MAC protocols, simplifies the connection process of ONUs, avoids the need to determine the ONU type in advance, and improves the authentication success rate and operation and maintenance convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121753354A_ABST
    Figure CN121753354A_ABST
Patent Text Reader

Abstract

The invention discloses an ONU authentication method, an ONU authentication device, optical communication equipment and an optical communication system, and belongs to the technical field of optical communication. The method comprises: an OLT receiving a first configuration information group and a second configuration information group, the first configuration information group being related to a first type of ONU, the second configuration information group being related to a second type of ONU, MAC protocols supported by the first type of ONU and the second type of ONU being different, the first configuration information group comprising first authentication information, and the second configuration information group comprising second authentication information; the second configuration information group comprises second authentication information, and the first authentication information is the same as the second authentication information; and authenticating the ONU according to the first configuration information group and the second configuration information group. According to the method, the ONU online configuration process can be simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Optical network unit authentication method and device, optical communication equipment and system

[0001] This application claims priority to Chinese Patent Application No. 202311417560.2, filed on October 27, 2023, entitled “Authentication Method and Apparatus for Optical Network Unit, Optical Communication Equipment and System,” the entire contents of which are hereby incorporated by reference into this application. Furthermore, this application claims priority to Chinese Patent Application No. 202410284032.2, filed on March 12, 2024, entitled “Authentication Method and Apparatus for Optical Network Unit, Optical Communication Equipment and System,” the entire contents of which are hereby incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of optical communication technology, and in particular to an optical network unit (ONU) authentication method and apparatus, and optical communication equipment and system. Background Art

[0003] A passive optical network (PON) is a point-to-multipoint, single-fiber, bidirectional optical access network. A PON system typically includes an optical line terminal (OLT), an optical distribution network (ODN), and multiple optical network units (ONUs). The OLT connects to multiple ONUs via the ODN.

[0004] When an ONU goes online, the OLT needs to authenticate the ONU. Only authenticated ONUs can transmit service data to the OLT. In related technologies, the OLT must pre-configure ONU authentication information. When the OLT receives the authentication information from the ONU, it compares the pre-configured authentication information with the received authentication information. If the two match, the ONU authentication succeeds; if they do not, the ONU authentication fails.

[0005] With the development of optical communication technology, multiple ONUs supporting different media access control (MAC) protocols are now present in PON systems. When ONUs supporting different MAC protocols are connected to the same PON port on the OLT, the type of the currently online ONU may not match the ONU type supported by the pre-configured ONU parameters, affecting ONU authentication and access.

[0006] Summary of the Invention

[0007] The present application provides an ONU authentication method and apparatus, optical communication equipment, and system, which are conducive to unified management of ONUs supporting different MAC protocols.

[0008] In a first aspect, the present application provides an ONU authentication method, which can be performed by an OLT. The method includes: the OLT receiving a first configuration information group and a second configuration information group, wherein the first configuration information group is related to a first type of ONU, and the second configuration information group is related to a second type of ONU, the first type of ONU and the second type of ONU support different MAC protocols, the first configuration information group includes first authentication information, the second configuration information group includes second authentication information, and the first authentication information and the second authentication information are the same; and authenticating the ONU based on the first configuration information group and the second configuration information group.

[0009] In the present application, the first configuration information group and the second configuration information group are respectively associated with different types of ONUs. The first authentication information in the first configuration information group and the second authentication information in the second configuration information group are identical, that is, the same authentication information is simultaneously present in configuration information groups associated with different types of ONUs. In this way, when the ONU corresponding to the authentication information comes online, regardless of whether the ONU is a first-type ONU or a second-type ONU, the ONU can be authenticated based on the first configuration information group and the second configuration information group. There is no need to predetermine the type of ONU connected to a certain location, making the ONU connection process simple and easy to implement.

[0010] Optionally, the OLT may receive the first configuration information group and the second configuration information group in one or more of the following three ways:

[0011] The first method is to receive the first configuration information group and the second configuration information group sent by a network management device;

[0012] The second method is to receive the first configuration information group through a first configuration interface and receive the second configuration information group through a second configuration interface, wherein the first configuration interface is used to configure the first type of ONU, and the second configuration interface is used to configure the second type of ONU;

[0013] A third method is to receive the first configuration information group and the second configuration information group input through a command line.

[0014] In the first approach, both the first and second configuration information groups can be configured simultaneously for the same ONU via the network management device, facilitating convenient and unified management. In the second approach, different configuration interfaces are provided in the OLT for the two types of ONUs, facilitating direct operation at the OLT. Furthermore, receiving the corresponding configuration information via the configuration interface simplifies the configuration information input process and reduces staff requirements. In the third approach, for OLTs without a configuration interface, the first and second configuration information groups can be directly entered into the OLT via command lines.

[0015] Optionally, after receiving the first configuration information group and the second configuration information group, the OLT locally stores the first configuration information group and the second configuration information group. In some examples, the OLT stores a first configuration set and a second configuration set. The first configuration set is associated with a first type of ONU and may include one or more configuration information groups associated with the first type of ONU. The second configuration set is associated with a second type of ONU and may include one or more configuration information groups associated with the second type of ONU. In this case, the first configuration information group is stored in the first configuration set, and the second configuration information group is stored in the second configuration set.

[0016] Optionally, the method further includes receiving a third configuration information group, the third configuration information group being related to the first type of ONU, the third configuration information group including third authentication information, the third authentication information being different from the first authentication information. Accordingly, the first configuration set further includes a third configuration information group, the third authentication information being different from any authentication information in the second configuration set. That is, for a particular ONU, its corresponding configuration information group may be configured only in the first configuration set, while not being configured in the second configuration set.

[0017] Optionally, the method further includes receiving a fourth configuration information group, the fourth configuration information group being related to the second type of ONU, the fourth configuration information group including fourth authentication information, the fourth authentication information being different from the second authentication information. Accordingly, the second configuration set further includes a fourth configuration information group, the fourth authentication information being different from any authentication information in the first configuration set. That is, for a particular ONU, its corresponding configuration information group may be configured only in the second configuration set, while not being configured in the first configuration set.

[0018] Optionally, the authenticating the ONU according to the first configuration information group and the second configuration information group includes: receiving authentication information sent by the ONU, where the ONU is a first type ONU or a second type ONU; determining a target configuration information group according to the type of the ONU, where the target configuration information group is one of the first configuration information group and the second configuration information group that is related to the type of the ONU; and authenticating the ONU according to the target configuration information group and the received authentication information.

[0019] In this application, the wavelengths of the uplink optical signals corresponding to different MAC protocols are different. In this way, the type of ONU can be distinguished by the wavelength of the uplink optical signal, so that the target configuration information group can be further determined according to the type of ONU, and the ONU can be authenticated according to the target configuration information group and the received authentication information.

[0020] The ONU is authenticated according to the target configuration information group and the authentication information, including: determining whether the authentication information in the target configuration information group matches the authentication information sent by the ONU; if the authentication information in the target configuration information group matches the authentication information sent by the ONU, determining that the ONU has passed the authentication; if the authentication information in the target configuration information group does not match the authentication information sent by the ONU, determining that the ONU has failed the authentication.

[0021] In the present application, each configuration information group in the first configuration set and the second configuration set includes authentication information. In one possible embodiment, the authentication information only includes the identity information of the ONU, such as a serial number and password. In another possible embodiment, the authentication information may also include a rate type, which is divided based on the transmission rate of the ONU.

[0022] Optionally, each configuration information group in the first configuration set and the second configuration set also includes service parameters. The type of service parameters is determined by the MAC protocol corresponding to the configuration set to which they belong. For example, the first configuration set is related to the first type of ONU, and the MAC protocol supported by the first type of ONU is the 10G EPON protocol, then the service parameters include a logical link identifier (LLID). For another example, the second configuration set is related to the second type of ONU, and the MAC protocol supported by the second type of ONU is the 50G PON protocol, then the service parameters include at least one of a GPON encapsulation mode port identifier (GEM port ID) and a transmission container identifier (T-CONT ID) (i.e., alloc-ID).

[0023] When the received authentication information includes the identity information and rate indication information of the ONU and the authentication information in the target configuration information group includes the identity information and rate type of the ONU, authenticating the ONU according to the target configuration information group and the authentication information includes: determining that the ONU has passed authentication when the identity information of the ONU in the target configuration information group is the same as the identity information of the ONU in the authentication information sent by the ONU, and the rate type in the target configuration information group is an adaptive rate; or determining that the ONU has passed authentication when the identity information of the ONU in the target configuration information group is the same as the identity information of the ONU in the authentication information sent by the ONU, and the rate corresponding to the rate type in the target configuration information group is the same as the rate indicated by the rate indication information. By simultaneously matching the identity information and the rate indication information, it is ensured that the ONU can transmit data normally after going online.

[0024] Optionally, both the first authentication information and the second authentication information match the authentication information sent by the ONU, and the method further includes: deleting configuration information groups other than the target configuration information group in the first configuration information group and the second configuration information group. When available configuration resources are limited, deleting unnecessary configuration information groups can avoid ineffective resource waste. For example, when the target configuration information group is the first configuration information group, the method further includes deleting the second configuration information group; for another example, when the target configuration information group is the second configuration information group, the method further includes: deleting the first configuration information group.

[0025] Optionally, the method further comprises: sending target service parameters to the authenticated ONU, wherein the target service parameters are service parameters in the target configuration information group. In this way, automatic configuration of the service parameters of the ONU can be achieved, and the ONU can be automatically online.

[0026] Optionally, the transmission resource pool corresponding to the service parameters in the first configuration information group and the transmission resource pool corresponding to the service parameters in the second configuration information group are independent of each other.

[0027] Optionally, the MAC protocol supported by the first type of ONU is the 10G EPON protocol, and the MAC protocol supported by the second type of ONU is the 50G PON protocol. Based on the current status and development trend of optical communication networks, scenarios in which 10G EPON ONUs and 50G PON ONUs coexist will appear in large numbers. Therefore, this application is particularly applicable to these two MAC protocols.

[0028] In a second aspect, the present application provides an OLT configuration method, which can be implemented by an optical communication device, which can be an OLT or a network management device. The optical communication device has a first configuration interface and a second configuration interface, the first configuration interface being associated with a first type of ONU and used to configure the first type of ONU, the second configuration interface being associated with a second type of ONU and used to configure the second type of ONU, the first type of ONU and the second type of ONU supporting different MAC protocols, the method comprising: receiving, via the first configuration interface, a configuration information group in a first configuration set; and / or receiving, via the second configuration interface, a configuration information group in a second configuration set.

[0029] In some examples, receiving a configuration information group in a first configuration set through a first configuration interface; and / or receiving a configuration information group in a second configuration set through the second configuration interface includes: receiving a first configuration information group through the first configuration interface; and receiving a second configuration information group through the second configuration interface.

[0030] Optionally, receiving a configuration information group in a first configuration set through a first configuration interface; and / or receiving a configuration information group in a second configuration set through a second configuration interface, further comprising: receiving a third configuration information group through the first configuration interface, and / or receiving a fourth configuration information group through the second configuration interface.

[0031] For the relevant contents of the first to fourth configuration information groups, please refer to the first aspect and will not be described in detail here.

[0032] Optionally, the method further includes: receiving a jump instruction through the main configuration interface; and jumping to the first configuration interface or the second configuration interface according to the jump instruction.

[0033] The first configuration interface and the second configuration interface jump independently to avoid the two configuration interfaces appearing at the same time, which is beneficial to reducing the possibility of work errors by operation and maintenance personnel.

[0034] In a third aspect, the present application provides an ONU authentication device. The ONU authentication device has the function of implementing the method described in the first aspect or any optional embodiment of the first aspect. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.

[0035] In a fourth aspect, the present application provides an OLT configuration device. The ONU configuration device has the function of implementing the method described in the second aspect or any optional embodiment of the second aspect. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions.

[0036] In a fifth aspect, a method for activating an optical network unit (ONU) is provided, the method comprising: when the ONU enters an operating state from a ranging state, the ONU starts a timer; when the ONU leaves the operating state, the ONU stops the timer; when the ONU returns to the operating state, the ONU restarts the timer, wherein the initial value of the restarted timer is equal to the value when the timer was stopped.

[0037] In combination with the above aspects, in a possible implementation manner, the method further includes: when the ONU receives a ranging time message with an absolute balanced delay, the ONU enters the operating state from the ranging state.

[0038] In combination with the above aspects, in a possible implementation manner, when the ONU is in a ranging state, the method further includes: if the ONU receives a ranging authorization, the ONU sending a registration PLOAM message.

[0039] In combination with the above aspects, in a possible implementation, the registration PLOAM message includes ONU-ID, Registration_ID and MIC fields, wherein the ONU-ID is used to identify the ONU, the Registration_ID is used to identify a specific ONU installed in a specific location, and the MIC is used for message integrity verification.

[0040] In combination with the above aspects, in a possible implementation manner, the ONU-ID occupies two bytes, the Registration_ID occupies 36 bytes, and the MIC occupies 8 bytes.

[0041] In combination with the above aspects, in a possible implementation manner, if the ONU is in a serial number state, the method further includes: after the ONU receives a unique ONU-ID assigned by the OLT, the ONU enters a ranging state.

[0042] In combination with the above aspects, in a possible implementation manner, before the ONU enters the sequence number state, the method further includes:

[0043] The ONU detects whether the current downstream wavelength channel is suitable for activation. If the current downstream wavelength channel is suitable for activation, the ONU continues to activate and switches to the sequence number state; if the current downstream wavelength channel is not suitable for activation, the ONU searches for an alternative downstream wavelength channel.

[0044] In a sixth aspect, an optical network unit is provided, comprising a processor, wherein the processor is configured to: start a timer when entering an operating state from a ranging state; stop the timer when leaving the operating state; and restart the timer when returning to the operating state, wherein the initial value of the restarted timer is equal to the value when the timer was stopped.

[0045] In combination with the above aspects, in a possible implementation, the optical network unit further includes an interface, and the processor is configured to: enter the operating state from the ranging state if a ranging time message with absolute equalization delay is received through the interface.

[0046] In combination with the above aspect, in a possible implementation manner, when the ONU is in a ranging state, the processor is further configured to: send a registration PLOAM message if a ranging authorization is received through the interface.

[0047] In combination with the above aspects, in a possible implementation, the registration PLOAM message includes ONU-ID, Registration_ID and MIC fields, wherein the ONU-ID is used to identify the ONU, the Registration_ID is used to identify a specific ONU installed in a specific location, and the MIC is used for message integrity verification.

[0048] In combination with the above aspects, in a possible implementation manner, the ONU-ID occupies two bytes, the Registration_ID occupies 36 bytes, and the MIC occupies 8 bytes.

[0049] In combination with the above aspects, in a possible implementation manner, if the ONU is in a serial number state, the processor is further configured to: enter the ranging state if a unique ONU-ID assigned by the OLT is received through the interface.

[0050] In combination with the above aspects, in a possible implementation, before the ONU enters the serial number state, the processor is further used to: detect whether the current downstream wavelength channel is suitable for activation, wherein, if the current downstream wavelength channel is suitable for activation, continue to activate and switch to the serial number state; if the current downstream wavelength channel is not suitable for activation, search for an alternative downstream wavelength channel.

[0051] In a seventh aspect, an optical communication device is provided. The optical communication device includes a processor and a memory. The memory is used to store software programs and modules. The processor implements the method of the first aspect or any possible implementation of the first aspect, or the method of the second aspect or any possible implementation of the second aspect, or the method of the fifth aspect or any possible implementation of the fifth aspect by running or executing the software programs and / or modules stored in the memory.

[0052] Optionally, there are one or more processors and one or more memories.

[0053] Optionally, the memory may be integrated with the processor, or the memory may be provided separately from the processor.

[0054] In the specific implementation process, the memory can be a non-transitory memory, such as a read-only memory (ROM), which can be integrated on the same chip as the processor or be set on different chips. This application does not limit the type of memory and the setting method of the memory and the processor.

[0055] In an eighth aspect, a computer program product is provided. The computer program product includes computer program code, which, when executed by a computer, causes the computer to perform the method of the first aspect or any possible implementation of the first aspect, or the method of the second aspect or any possible implementation of the second aspect, or the method of the fifth aspect or any possible implementation of the fifth aspect.

[0056] In the ninth aspect, the present application provides a computer-readable storage medium, which is used to store program code executed by a processor, and the program code includes instructions for implementing the method in any possible implementation of the above-mentioned first aspect, or the method in the second aspect or any possible implementation of the second aspect, or the method in the fifth aspect or any possible implementation of the fifth aspect.

[0057] In a tenth aspect, the present application provides a chip, comprising a processor, wherein the processor is configured to execute the method in any possible implementation of the first aspect, or the method in the second aspect or any possible implementation of the second aspect, or the method in the fifth aspect or any possible implementation of the fifth aspect; or;

[0058] The processor can also call and run instructions stored in the memory from the memory, so that the optical communication device equipped with the chip executes the method in any possible implementation of the first aspect above, or the method in the second aspect or any possible implementation of the second aspect, or the method in the fifth aspect or any possible implementation of the fifth aspect.

[0059] In an eleventh aspect, the present application provides another chip. The other chip includes an input interface, an output interface, a processor, and a memory. The input interface, the output interface, the processor, and the memory are connected via an internal connection path. The processor is configured to execute code in the memory. When the code is executed, the processor is configured to execute the method in any possible implementation of the first aspect, or the method in the second aspect or any possible implementation of the second aspect, or the method in the fifth aspect or any possible implementation of the fifth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] FIG1 is a schematic structural diagram of a PON system provided in an embodiment of the present application;

[0061] FIG2 is a schematic diagram of the structure of an OLT provided in an embodiment of the present application;

[0062] FIG3 is a schematic diagram of an ONU authentication method provided in an embodiment of the present application;

[0063] FIG4 is a schematic diagram of a main configuration interface provided in an embodiment of the present application;

[0064] FIG5 is a schematic diagram of a first configuration interface provided in an embodiment of the present application;

[0065] FIG6 is a schematic diagram of a second configuration interface provided in an embodiment of the present application;

[0066] FIG7 is a schematic diagram of an ONU authentication device provided in an embodiment of the present application;

[0067] FIG8 is a schematic diagram of an OLT configuration device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0069] Figure 1 is a schematic diagram of a PON system provided in an embodiment of the present application. As shown in Figure 1, the PON system includes an OLT 110, an ONU 120, and an ODN 130. The OLT 110 is connected to one or more ONUs 120 via the ODN 130. The ONU 120 may also be referred to as an optical network terminal (ONT).

[0070] OLT 110 is typically located on the network side, such as a central office (CO), and can centrally manage multiple ONUs 120. OLT 110 can act as an intermediary between ONUs 120 and an upper-layer network (not shown), forwarding data received from the upper-layer network to ONUs 120 and vice versa. Upper-layer networks include, but are not limited to, the Internet, the public switched telephone network (PSTN), and community antenna television (CATV).

[0071] Multiple ONUs 120 can be distributed and arranged at the user side. ONUs 120 can be network devices that communicate with OLT 110 and user devices. ONUs 120 can act as an intermediary between OLT 110 and user devices. For example, ONUs 120 can forward data received from OLT 110 to user devices, and forward data received from user devices to OLT 110.

[0072] ODN 130 is a data distribution / multiplexing system that can include trunk optical fibers, passive optical splitters, and user optical fibers. The passive optical splitters can include a first port and multiple second ports. The first port of the passive optical splitter is connected to OLT 110 via the trunk optical fiber, and each second port of the passive optical splitter is connected to an ONU 120 via a user optical fiber.

[0073] In a PON system, data transmission from the OLT 110 to the ONUs 120 is considered downstream. The OLT 110 broadcasts downstream data to all ONUs 120, and each ONU 120 only receives data with its own identifier. Conversely, data transmission from the ONUs 120 to the OLT 110 is considered upstream. Because each ONU 120 shares the ODN 130 and OLT 110, the PON system uses time division multiplexing (TDM) to transmit upstream data to prevent conflicts between upstream data transmissions. Specifically, the OLT 110 allocates upstream time slots to each ONU 120, and each ONU 120 transmits upstream data according to the upstream time slots assigned by the OLT 110.

[0074] Optionally, as shown in FIG1 , the PON system further includes a network management device 140, which is communicatively connected to the OLT 110, for example, via a wired or wireless connection. The network management device 140 is configured to configure the OLT 110, for example, by sending the following first configuration information group and second configuration information group to the network management device 140.

[0075] In the embodiment of the present application, there are at least two types of ONUs among the multiple ONUs 120, and the different types of ONUs support different MAC protocols. The two types of ONUs can be connected to the same PON port of the OLT 110. Optionally, the MAC protocol includes but is not limited to the GPON protocol, EPON protocol, 10G PON protocol, 10G EPON protocol, or a MAC protocol with a higher transmission rate, such as the 40G PON protocol, 50G PON protocol, or 100G PON protocol.

[0076] 1 , the ONUs 120 include ONUs supporting different MAC protocols. For example, the ONUs 120 include at least one first type ONU 120 supporting a first MAC protocol and at least one second type ONU 120 supporting a second MAC protocol. The first MAC protocol and the second MAC protocol are different.

[0077] In the embodiment of the present application, the first MAC protocol and the second MAC protocol are different, which may mean that the first MAC protocol and the second MAC protocol correspond to different uplink wavelengths; and / or, it may mean that the first MAC protocol and the second MAC protocol belong to different standard systems, including but not limited to the Institute of Electrical and Electronics Engineers (IEEE) standard system and the International Telecommunication Union-Telecommunication Standardization Sector (ITU-T) standard system. For example, the first MAC protocol belongs to the IEEE standard system, while the second MAC protocol belongs to the ITU-T standard system.

[0078] Here, "different uplink wavelengths corresponding to the first MAC protocol and the second MAC protocol" means that the uplink wavelengths corresponding to the first MAC protocol and the second MAC protocol do not overlap. For example, if the first MAC protocol is the 10G EPON protocol, the corresponding uplink wavelengths include 1290nm-1330nm or 1260nm-1280nm, and if the second MAC protocol is the 50G PON protocol, the corresponding uplink wavelengths are 1284nm-1288nm.

[0079] Based on the current status and development trends of optical communication networks, scenarios where 10G EPON ONUs and 50G PON ONUs coexist will appear in large numbers. Therefore, this application is particularly applicable to these two MAC protocols. Therefore, the following example uses the 10G EPON protocol as the first MAC protocol and the 50G PON protocol as the second MAC protocol for illustrative purposes. In this article, the ONU using the 10G EPON protocol will be referred to as a 10G EPON ONU, and the ONU using the 50G PON protocol will be referred to as a 50G PON ONU.

[0080] Figure 2 is a schematic diagram of the structure of an OLT provided in an embodiment of the present application. As shown in Figure 2, the OLT includes an optical module 10 and a processing component 20. The optical module 10 includes a wavelength division multiplexing device, a first receiving component and a second receiving component, and the wavelength division multiplexing device is connected to the first receiving component and the second receiving component respectively. Among them, the wavelength division multiplexing device transmits the first optical signal sent by the 10G EPON ONU to the first receiving component based on the wavelength of the received optical signal, or transmits the second optical signal sent by the 50G PON ONU to the second receiving component. The first receiving component is used to receive the first optical signal sent by the 10G EPON ONU, and convert the first optical signal into a first electrical signal and then output it to the processing component 20. The second receiving component is used to receive the second optical signal sent by the 50G PON ONU, and convert the second optical signal into a second electrical signal and then output it to the processing component 20. The optical module 10 also includes a transmitting component for sending an optical signal to the ONU.

[0081] The processing component 20 is used to obtain the uplink data sent by the 10G EPON ONU based on the first electrical signal and obtain the uplink data sent by the 50G PON ONU based on the second electrical signal. The processing component 20 is also used to send the optical signal through the sending component in the optical module 10.

[0082] In the embodiment of the present application, the optical module 10 and the processing component 20 form two receiving channels, one receiving channel is used to transmit data of a 10G EPON ONU, and the other receiving channel is used to transmit data of a 50G PON ONU.

[0083] Exemplarily, the processing component 20 includes a processor 21, a memory 22, a first MAC module 23, and a second MAC module 24. The processor 21 is connected to the memory 22, the first MAC module 23, and the second MAC module 24. The first MAC module 23 and the second MAC module 24 are respectively connected to the optical module 10. The processing component 20 can be provided on a single board, and the single board is connected to the optical module 10.

[0084] The memory 22 is used to store preconfigured sets, namely, the first configuration set and the second configuration set hereinafter. The first MAC module 23 is used to extract the authentication information of the ONU based on the first electrical signal and output the authentication information to the processor 21. The second MAC module 24 is used to extract the authentication information of the ONU based on the second electrical signal and output the authentication information to the processor 21. The processor 21 is used to authenticate the ONU based on the received authentication information and the preconfigured authentication information. The processor 21 is also used to send the corresponding service parameters to the authenticated ONU via the optical module 10 after the ONU passes authentication.

[0085] In some embodiments, the processor may be one or more. When the processor is multiple, they may be integrated on the same physical chip, or they may be implemented using separate physical chips. For example, the processor includes a first processor and a second processor, the first processor and the second processor are separately provided, and the second processor is integrated into the optical module. Exemplarily, the first processor may be a network processor (NP) or a central processing unit (CPU), etc. The second processor may be an optical digital signal processor (ODSP).

[0086] Optionally, the processor 21 implements the above functions and the methods in the following embodiments by reading the program code stored in the memory 22, or the processor 21 implements the above functions and the methods in the following embodiments by internally stored program code. In the case where the processor 21 implements the above functions and the methods in the following embodiments by reading the program code stored in the memory, the memory stores the program code that implements the method provided in the embodiment of the present application.

[0087] Optionally, the first MAC module 23 and the second MAC module 24 may be integrated on the same physical chip, or the first MAC module 23 and the second MAC module 24 may be respectively set on different physical chips.

[0088] In the embodiments of the present application, the physical chip may be a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a digital signal processor (DSP), a programmable logic device (PLD) or other integrated chips.

[0089] As shown in FIG2 , in this embodiment of the present application, the processing component 20 further includes two serializer / deserializers (serdes), also known as serial-to-parallel converters 25. A serial-to-parallel converter 25 is connected between the first MAC module 23 and the optical module 10. The serial-to-parallel converter 25 is configured to convert the parallel data output by the first MAC module 23 into serial data and output it to the second processor in the optical module 10, or to convert the serial data output by the second processor in the optical module 10 into parallel data and output it to the first MAC module 23. A serial-to-parallel converter 25 is connected between the second MAC module 24 and the optical module 10. The serial-to-parallel converter 25 is configured to convert the parallel data output by the second MAC module 24 into serial data and output it to the second processor in the optical module 10, or to convert the serial data output by the second processor in the optical module 10 into parallel data and output it to the second MAC module 24.

[0090] FIG3 is a schematic flow diagram of an ONU authentication method provided by an embodiment of the present application. The method can be executed by an OLT. The OLT stores a first configuration set and a second configuration set. The first configuration set is associated with a first type of ONU and is used to configure the first type of ONU. The second configuration set is associated with a second type of ONU and is used to configure the second type of ONU. In other words, in an embodiment of the present application, different types of ONUs can be uniformly managed by the same device.

[0091] The first configuration set includes at least one configuration information group, each configuration information group is associated with a first-category ONU, that is, each configuration information group uniquely corresponds to a first-category ONU. The second configuration set includes at least one configuration information group, each configuration information group is associated with a second-category ONU, that is, each configuration information group uniquely corresponds to a second-category ONU.

[0092] Each configuration information group of the first configuration set includes authentication information and service parameters.

[0093] For any configuration information group in the first configuration set, the authentication information includes at least the identity information of the ONU. The authentication information may also include a rate type. The identity information of the ONU includes, but is not limited to, a serial number, a password, etc. The rate type is divided based on the transmission rate of the ONU in the MAC protocol. For example, the rate type includes a first rate, a second rate, and an adaptive rate. The first rate and the second rate correspond to different rates, and the specific rate values ​​are determined by the corresponding MAC protocol. The adaptive rate does not limit the specific transmission rate. The type of authentication information in different configuration information groups can be the same. For example, each configuration information group only includes the identity information of the ONU, or for another example, each configuration information group includes the identity information of the ONU and the rate type. Alternatively, the type of authentication information in different configuration information groups in the first configuration set can be different. For example, in one configuration information group of the first configuration set, the authentication information includes the identity information of the ONU, and in another configuration information group of the first configuration set, the authentication information includes the identity information of the ONU and the rate type.

[0094] In the configuration information group of the first configuration set, the service parameters include an ONU ID and a LLID, wherein the ONU ID is a logical number configured by the OLT to the ONU and is used to uniquely identify an ONU.

[0095] Each configuration information group of the second configuration set includes authentication information and service parameters. The content of the authentication information is the same as the authentication information in the first configuration set. In each configuration information group of the second configuration set, the service parameters include ONU ID and at least one of GEMport ID and TCONT-ID.

[0096] In a possible embodiment, the ONU IDs in the first configuration set and the second configuration set can be managed in a unified manner. That is, the ONU IDs are uniformly distributed within a set range. In another possible embodiment, the ONU IDs in the first configuration set and the second configuration set can be managed separately. That is, within the first set range, the ONU IDs are distributed to the first type of ONUs, and within the second set range, the ONU IDs are distributed to the second type of ONUs. The first set range and the second set range do not overlap.

[0097] In addition, the ONU-ID is assigned by the OLT. After entering the Serial Number state, the ONU activates its transmitter. Once the ONU receives the serial number authorization, it responds with a physical layer operation, administration, and management (PLOAM) message, such as the Serial_Number_ONU PLOAM message. At this point, the ONU waits for discovery feedback from the OLT and takes action based on the assigned ONU-ID, transitioning to the Ranging state to continue the activation authentication process. In other words, the ONU will decide whether to remain in the current state or enter the Ranging phase based on the OLT's instructions. When the OLT assigns a unique ONU-ID to the ONU to be activated, that is, when the OLT discovers the new ONU, it enters the Ranging state.

[0098] During the ranging phase, the ONU waits for the equalization delay assigned by the OLT and responds to the directional ranging grant. If the ONU receives a ranging grant from a previously received Burst_Profile PLOAM message, it sends a framing sublayer (FS) burst message containing a registration PLOAM message. The registration message may include any one or more, or all, of the ONU-ID, SeqNo, Registration_ID, and MIC fields. The ONU-ID identifies the ONU's ID number and may be 2 bytes in size. The SeqNo value is retrieved from the request registration message sent by the OLT to the ONU, or is 0 if generated in response to a ranging grant in the ranging state. The Registration_ID occupies 36 octets and is entered and stored in the ONU's non-volatile memory. The Registration_ID can be used to identify a specific ONU installed in a specific location. Its default value is a string of 0x00 octets. The MIC is 8 bytes in size and is used for message integrity verification. Once the ONU receives the ranging time message with the absolute equalization delay, it will transition to the Operation state.

[0099] After the ONU enters the operational state, it processes downstream frames and transmits upstream burst frames according to the instructions of the OLT. It can be considered that the ONU can now operate stably. When entering the operational state from the ranging state or the upstream tuning state, the ONU starts a timer and restarts it for each PHY frame it receives from upstream. If the timer times out, the ONU transitions to the initial state. When the ONU leaves the operational state, the timer is stopped; when re-entering the operational state, the ONU resumes the timer from the value at which it stopped, ensuring the normal operation of the ONU in the operational state. This timer can be called a forgotten timer, which allows an ONU that accidentally remains in the operational state and is no longer considered by the OLT to reactivate itself. The initial value of this timer set by the ONU itself is 10s.

[0100] In addition, in a time and wavelength division multiplexing-passive optical network (TWDM-PON), before entering the sequence number state, the ONU needs to detect whether the current downstream wavelength channel is suitable for activation. If the current downstream wavelength channel is suitable for activation, the ONU continues to activate and switches to the sequence number state; if the current downstream wavelength channel is not suitable for activation, the ONU searches for an alternative downstream wavelength channel; if sufficient template information is not collected within the specified time to evaluate whether the current wavelength channel is suitable, the ONU abandons the current wavelength channel and searches for an alternative downstream wavelength channel.

[0101] It should be noted that if the channel division, upstream optical link type and upstream line rate all match the ONU, there is an activation option suitable for the current calibration accuracy, and there is a wavelength channel suitable for activation, then the downstream wavelength channel is considered to be able to operate normally. If any of the above conditions is not met, the downstream wavelength channel is considered to be unable to operate normally.

[0102] As shown in FIG3 , the method includes the following steps.

[0103] 301: Receive a first configuration information group and a second configuration information group.

[0104] The first configuration information group is associated with a first type of ONU and includes first authentication information. The second configuration information group is associated with a second type of ONU and includes second authentication information. The first authentication information and the second authentication information are identical. That is, for the same ONU, the OLT simultaneously receives configuration information groups corresponding to two MAC protocols.

[0105] After receiving the first configuration information group and the second configuration information group, the OLT saves the first configuration information group in a first configuration set and saves the second configuration information group in a second configuration set.

[0106] Optionally, the method may further include receiving a third configuration information group and / or a fourth configuration information group. The third configuration information group is associated with the first type of ONU and includes third authentication information, which is different from the first authentication information. Accordingly, the OLT stores the third configuration information group in the first configuration set. The fourth configuration information group is associated with the second type of ONU and includes fourth authentication information, which is different from the second authentication information. Accordingly, the OLT stores the fourth configuration information group in the second configuration set.

[0107] The third authentication information is different from any authentication information in the second configuration set. That is, for some ONUs, the corresponding configuration information group may exist only in the first configuration set associated with the first type of ONU, but not in the second configuration set associated with the second type of ONU. The fourth authentication information is different from any authentication information in the first configuration set. That is, for some ONUs, the corresponding configuration information group may exist only in the second configuration set associated with the second type of ONU, but not in the first configuration set associated with the first type of ONU.

[0108] 302: Receive authentication information sent by the ONU.

[0109] The authentication information includes identity information, which indicates the identity of the ONU. The identity information includes at least one of a serial number and a password. The content of the identity information varies depending on the authentication method. For example, when the authentication method is serial number authentication, the identity information only includes the serial number; for another example, when the authentication method is password authentication, the identity information includes both the serial number and the password.

[0110] Optionally, the authentication information also includes rate indication information, which is used to indicate the transmission rate actually used by the ONU. For example, when the ONU is a 50G PON ONU, the transmission rate can be 50Gbps or 25Gbps. When the ONU is a 10G EPON ONU, the transmission rate can be 10Gbps or 1Gbps.

[0111] When an ONU comes online, it sends its authentication information to the OLT. For example, a 10G EPON ONU carries its authentication information in a first optical signal and sends it to the OLT. A 50G PON ONU carries its authentication information in the aforementioned second optical signal and sends it to the OLT. The OLT then receives the optical signal from the ONU and obtains the authentication information based on the received optical signal.

[0112] In 302, the ONU is the aforementioned first type ONU or second type ONU.

[0113] 303: Determine the target configuration information group according to the type of the ONU.

[0114] In this embodiment of the present application, the OLT receives a first optical signal sent by a first type of ONU via a first receiving channel. The first optical signal carries the authentication information of the first type of ONU. The OLT receives a second optical signal sent by a second type of ONU via a second receiving channel. The second optical signal carries the authentication information of the second type of ONU. Different MAC protocols correspond to different wavelengths of upstream optical signals. Thus, the wavelength of the upstream optical signal can be used to distinguish the type of ONU, thereby further determining the target configuration group based on the ONU type.

[0115] In 303, the OLT first determines a target configuration set based on the ONU type. The target configuration information group is a configuration information group in the target configuration set. The target configuration set is one of a first configuration set and a second configuration set, and the MAC protocol corresponding to the target configuration set is the same as the MAC protocol indicated by the ONU type. For example, when the ONU type is a 10G EPON ONU, the target configuration set is the first configuration set, and accordingly, the first configuration information group is a target configuration information group. When the ONU type is a 50G PON ONU, the target configuration set is the second configuration set, and accordingly, the second configuration information group is a target configuration information group.

[0116] 304: Authenticate the ONU according to the target configuration information group and the received authentication information.

[0117] In step 304, the received authentication information is compared with the authentication information in each target configuration information group. If the authentication information in a target configuration information group matches the received authentication information, the ONU is determined to have passed authentication, i.e., the authentication is successful. If the authentication information in each target configuration information group does not match the received authentication information, the ONU is determined to have failed authentication, i.e., the authentication has failed.

[0118] That is, authentication information that matches the authentication information sent by the ONU is searched for in each target configuration information group of the target configuration set; if there is a target configuration information group in the target configuration set that contains authentication information that matches the sent authentication information, it is determined that the ONU has passed the authentication; if there is no target configuration information group in the target configuration set that contains authentication information that matches the sent authentication information, it is determined that the ONU has failed the authentication.

[0119] When the received authentication information includes only the identity information of the ONU, the authentication information that matches the received authentication information refers to authentication information that is the same as the received authentication information.

[0120] When the received authentication information includes the ONU identity information and rate indication information, the authentication information that matches the received authentication information refers to authentication information that meets the following conditions:

[0121] The authentication information includes the identity information and rate type of the ONU, the identity information of the ONU is the same as the identity information in the received authentication information, and the rate type is the same as the rate indicated by the received rate indication information; or, the authentication information includes the identity information and rate type of the ONU, the identity information of the ONU is the same as the identity information in the received authentication information, and the rate type is different from the received rate indication information, but the rate type is an adaptive rate.

[0122] Through 302 - 304 , it is possible to authenticate the ONU according to the first configuration information group and the second configuration information group.

[0123] In the embodiment of the present application, the same authentication information is simultaneously present in the configuration information groups related to two types of ONUs. Thus, when the ONU corresponding to the authentication information comes online, regardless of whether the ONU currently uses the first MAC protocol or the second MAC protocol, that is, regardless of whether the ONU is a first-type ONU or a second-type ONU, the ONU can be authenticated based on the first configuration information group and the second configuration information group. There is no need to predetermine the type of ONU connected to a certain location, and the ONU connection process is simple and easy to implement.

[0124] The type of ONU connected to a certain location is determined by the operator, and the PON system is maintained by operation and maintenance personnel. The operation and maintenance personnel often do not know the type of ONU that needs to be connected to the location. In this case, by configuring two types of ONU configuration information groups associated with the same authentication information, the ONU associated with the authentication information that is actually connected can be authenticated and normal access of the ONU can be achieved without the operation and maintenance personnel knowing in advance the type of ONU connected to the location.

[0125] Optionally, when both the first authentication information and the second authentication information match the authentication information sent by the ONU, the method may further include: 305: deleting the configuration information groups in the first configuration information group and the second configuration information group except the target configuration information group. If the first configuration information group is the target configuration information group, delete the second configuration information group. If the second configuration information group is the target configuration information group, delete the first configuration information group. In the case of limited resources, deleting unnecessary configuration information groups can avoid invalid waste of resources. For example, since the number of ONUs that can be connected to each PON port is limited, when the ONU IDs of 10G EPON ONUs and 50G PON ONUs are managed in a unified manner, if the unused configuration information groups are not deleted, one ONU ID will be occupied, which may cause the PON port to be unable to connect to as many ONUs as possible.

[0126] During implementation, there's a possibility that a staff member might mistakenly connect an ONU to the wrong type. This could mean they intended to connect a first-type ONU to a certain location but mistakenly connected a second-type ONU, or they intended to connect a second-type ONU to a certain location but mistakenly connected a first-type ONU. In the event of an ONU mistakenly connected, the staff member might not discover the incorrect connection until the incorrectly connected ONU comes online. If the configuration information group that isn't the target configuration information group in the first and second configuration information groups is immediately deleted after the ONU comes online, the correct ONU will fail authentication after it is replaced. Therefore, a set time period can be set after the incorrect ONU comes online, and then the configuration information group that isn't the target configuration information group in the first and second configuration information groups can be deleted. This set time period can range from 1 to 48 hours, for example, 1 to 24 hours. For example, the set time period can be 12 hours, 15 hours, 24 hours, or the like. This allows staff members to quickly correct the ONU connection error and ensures that the correct ONU can come online normally after it is connected.

[0127] Optionally, after the ONU passes authentication, the method further comprises: sending target service parameters to the authenticated ONU, wherein the target service parameters are service parameters in the target configuration information group. In this way, the automatic configuration of the service parameters of the ONU can be realized, and the automatic online operation of the ONU can be realized.

[0128] The following describes how the OLT obtains the first configuration information group and the second configuration information group. The ways in which the OLT obtains the first configuration information group and the second configuration information group include but are not limited to the following three.

[0129] In a first manner, the OLT may receive configuration information sent by the network management device, where the configuration information includes the first configuration information group and the second configuration information group.

[0130] Optionally, the configuration information also includes a configuration number associated with the first configuration information group and the second configuration information group. This facilitates the network management device and the OLT in determining the mutual association between the first configuration information group and the second configuration information group. If a configuration information group other than the target configuration information group in the first configuration information group or the second configuration information group needs to be deleted later, the configuration number can be used to quickly locate the configuration information group to be deleted.

[0131] Exemplarily, the value range of the configuration number may be 1-X, where X is an integer and is not greater than the maximum number of ONUs that the OLT can connect to.

[0132] When the OLT obtains the first configuration information group and the second configuration information group from the network management device, the method may further include: the OLT sending deletion instruction information to the network management device, wherein the deletion instruction information is used to instruct the network management device to delete the configuration information groups other than the target configuration information group in the first configuration information group and the second configuration information group.

[0133] Optionally, the deletion indication information may be carried in a trap (TRAP) message sent by the OLT to the network management device.

[0134] In this way, from the perspective of the user of the network management device, it is only necessary to configure the configuration information groups corresponding to the two MAC protocols for the ONU corresponding to the same authentication information. The remaining actions are automatically performed by the OLT, and the ONU corresponding to the authentication information can be automatically online.

[0135] In a second manner, the OLT may receive the first configuration information group via a first configuration interface and the second configuration information group via a second configuration interface. The first configuration interface is associated with a first type of ONU and is used to receive configuration information for the first type of ONU. The second configuration interface is associated with a second type of ONU and is used to receive configuration information for the second type of ONU.

[0136] Optionally, the first configuration interface is further used to receive the aforementioned third configuration information group, and the second configuration interface is further used to receive the aforementioned fourth configuration information group.

[0137] For details on the first configuration interface and the second configuration interface, see below.

[0138] In a third manner, the OLT receives a command line, where the command line includes a first configuration information group and a second configuration information group.

[0139] In some examples, the OLT receives a first configuration command line, where the first configuration command line includes a first configuration information group; and the OLT receives a second configuration command line, where the second configuration command line includes a second configuration information group.

[0140] Optionally, before the OLT receives the first configuration command line, the OLT receives a first switching command line, where the first switching command line is used to instruct switching to a configuration corresponding to the first type of ONU.

[0141] Optionally, before the OLT receives the second configuration command line, the OLT receives a second switching command line, where the second switching command line is used to instruct switching to a configuration corresponding to the second type of ONU.

[0142] The first switching command line and the second switching command line can clarify the type of the ONU corresponding to the current configuration, so as to save the received configuration information into the corresponding configuration set.

[0143] Optionally, the OLT verifies the first configuration information group in the first configuration command line based on the type of ONU corresponding to the first switching command line. If the first configuration information group passes the verification, the first configuration information group is saved; if the first configuration information group fails the verification, a prompt message is output, indicating a configuration error. This can reduce the possibility of configuration errors.

[0144] Optionally, the OLT verifies the second configuration information group in the second configuration command line according to the type of the ONU corresponding to the second switching command line. The verification method is similar to that of the first configuration information group and is not described in detail here.

[0145] Exemplarily, the verification content includes, but is not limited to, whether an identifier (e.g., LLID, ONU ID, GEMport ID, or TCONT-ID) in the configuration information group (i.e., the aforementioned first configuration information group or the second configuration information group) exists, or whether the identifier matches the ONU type corresponding to the switching command. If the identifier exists or the identifier does not match the type of the ONU corresponding to the switching command, the verification fails. If the identifier does not exist and the identifier matches the type of the ONU corresponding to the switching command, the verification passes.

[0146] In the first approach, both the first and second configuration information groups can be configured simultaneously for the same ONU via the network management device, facilitating convenient and unified management. In the second approach, different configuration interfaces are provided in the OLT for the two types of ONUs, facilitating direct operation at the OLT. Furthermore, receiving the corresponding configuration information via the configuration interface simplifies the configuration information input process and reduces staff requirements. In the third approach, for OLTs without a configuration interface, the first and second configuration information groups can be directly entered into the OLT via command lines.

[0147] It's worth noting that, for example, 50G PON compatibility has long been a focus for global operators. To ensure the continued usability of GPON or 10G PON equipment and protect operators' network investments, 50G PON defines three upstream wavelength options: 1260nm-1280nm, 1290nm-1310nm, and 1284nm-1288nm. Given that the upstream wavelength of GPON networks is 1290nm-1330nm and that of 10G PON networks is 1260nm-1280nm, operators can choose different wavelength options based on their own network and industry chain requirements.

[0148] An embodiment of the present application also provides an OLT configuration method. The method can be executed by the OLT. The OLT has a first configuration interface and a second configuration interface. The configuration method includes: receiving, through the first configuration interface, each configuration information group in a first configuration set, the first configuration set being associated with a first type of ONU and used to configure the first type of ONU; or receiving, through the second configuration interface, each configuration information group in a second configuration set, the second configuration set being associated with a second type of ONU and used to configure the second type of ONU.

[0149] The following is an exemplary description of each configuration interface of the OLT.

[0150] The OLT has a main configuration interface, which includes at least one PON port identifier, a first jump option, and a second jump option. The at least one PON port identifier is used to select a PON port of the OLT. The first jump option is used to jump to a first configuration interface. The first configuration interface is used to configure a first type of ONU. The second jump option is used to jump to a second configuration interface, which is used to configure a second type of ONU.

[0151] Optionally, the configuration method may further include: receiving a jump instruction through the main configuration interface, and jumping to the first configuration interface or the second configuration interface according to the jump instruction. When the jump instruction is received through the first jump option, jumping to the first configuration interface. When the jump instruction is received through the second jump option, jumping to the second configuration interface. In implementation, the jump instruction may be triggered by the user clicking the first jump option or the second jump option.

[0152] Figure 4 is a schematic diagram of a main configuration interface provided by an embodiment of the present application. The black box in Figure 4 indicates that it is selected, that is, PON port 3 and 50G PON are selected, indicating that the jump instruction is used to instruct to jump to the second configuration interface corresponding to PON port 3.

[0153] Optionally, the main configuration interface further includes a search bar for receiving a search target. Exemplarily, the search target can be any of the following: searching for online ONUs under the target PON port, searching for online ONUs under all PON ports, searching for pre-configured information under the target PON port, or searching for pre-configured information under all PON ports.

[0154] When the search target received by the search bar is an online ONU under the target PON port, the OLT will obtain relevant information of the online ONU under the target PON port and output relevant information of the online ONU under the target PON port.

[0155] In one possible implementation, all ONUs connected to the target PON port are 10G EPON ONUs; in another possible implementation, all ONUs connected to the target PON port are 50G PON ONUs; in yet another possible implementation, among all ONUs connected to the target PON port, some ONUs are 10G EPON ONUs and other ONUs are 50G PON ONUs.

[0156] When all ONUs connected to the target PON port include both 10G EPON ONUs and 50G PON ONUs, information about the 50G PON ONUs can be displayed first. For example, on the OLT display interface, information about the 50G PON ONUs is displayed before information about the 10G EPON ONUs. As optical communication networks evolve, 10G EPON ONUs will transition to 50G PON ONUs, and 50G PON ONUs will receive more attention than 10G EPON ONUs. Therefore, information about the 50G PON ONUs can be displayed first.

[0157] In other embodiments, when all ONUs connected to the target PON port include both 10G EPON ONUs and 50G PON ONUs, relevant information of the 10G EPON ONUs may be output preferentially.

[0158] The following still takes the case where the first MAC protocol is 10G EPON and the second MAC protocol is 50G PON as an example to describe the first configuration interface and the second configuration interface in detail.

[0159] FIG5 is a schematic diagram of a first configuration interface provided in an embodiment of the present application. FIG6 is a schematic diagram of a second configuration interface provided in an embodiment of the present application. As shown in FIG5 and FIG6 , the first configuration interface includes multiple first input options (also known as first input boxes), which are used to obtain authentication information and service parameters to obtain a configuration information group in a first configuration set. The service parameters include an ONU ID and a LLID. The second configuration interface includes multiple second input options (also known as second input boxes), which are used to obtain authentication information and service parameters to obtain a configuration information group in a second configuration set. The service parameters include an ONU ID, and the service parameters also include at least one of a GEMport ID and a TCONT-ID.

[0160] The relevant content of the authentication information is referred to in the aforementioned step 301 and will not be described in detail here.

[0161] ONU ID is the logical numbering of ONU, and this parameter is an optional parameter.The user can input ONU ID and also can not input ONU ID.When the user inputs ONU ID, OLT can judge whether this ONU ID and have distributed ONU ID have conflict, if this ONU ID and have distributed ONU ID have conflict, then output prompt message, this prompt message is used to prompt the user to change ONU ID.If this ONU ID and have distributed ONU ID do not have conflict, then this ONU ID is distributed to the ONU corresponding to the authentication information.Here, ONU ID and have distributed ONU ID conflict, refer to have distributed among the ONU ID the ONU ID that is present in current ONU ID identical.

[0162] When the user does not input ONU ID, ONU ID can be distributed to ONU according to setting rules. For example, from idle ONU ID, minimum ONU ID can be selected to distribute to the ONU corresponding to the authentication information.

[0163] In the embodiment of the present application, the ONU ID is a public resource, that is, the ONU IDs of the 50G PON ONU and the 10G EPON ONU are both obtained from a public resource pool.

[0164] In the embodiment of the present application, the transmission resource pool corresponding to the service parameters in the first configuration set and the transmission resource pool corresponding to the service parameters in the second configuration set are independent of each other.

[0165] LLIDs represent the transmission resources of 10G EPON ONUs, while GEMport IDs represent the transmission resources of 50G PON ONUs. The resource pools for LLIDs and GEMport IDs are independent of each other and may or may not overlap. Here, the resource pools for LLIDs and GEMport IDs refer to the allocatable range. For example, the allocatable range for LLIDs is 1-1295, and the allocatable range for GEMport IDs is 1-1295, completely overlapping.

[0166] In the embodiment of the present application, the transmission resource pools of the service parameters corresponding to different MAC protocols are managed independently without interfering with each other, which is easy to implement.

[0167] Optionally, as shown in Figure 5, the first configuration interface further includes a first jump option, the first jump option being used to jump to the second configuration interface. Optionally, as shown in Figure 6, the second configuration interface further includes a second jump option, the second jump option being used to jump to the first configuration interface.

[0168] In one possible implementation, the first configuration interface displays only the first input option and the first jump option. In another possible implementation, the first configuration interface displays the first input option, the first jump option, the second input option, and the second jump option simultaneously, but the second input option and the second jump option are disabled. Disabling means that the user cannot enter information in the second input option or click the second jump option, or in other words, the user's click on the second jump option is considered invalid by the OLT. The display method of the second configuration interface is similar to that of the first configuration interface and will not be described in detail here.

[0169] Optionally, as shown in FIG5 and FIG6 , the first configuration interface and the second configuration interface may further include a return option, and the return option is used to return to the aforementioned main interface.

[0170] In some examples, the first configuration interface is only used to add relevant information of 10G EPON ONU, and the second configuration interface is only used to add relevant information of 50G PON ONU. The two are mutually exclusive to reduce the possibility of configuration errors by operation and maintenance personnel.

[0171] Optionally, the first configuration interface further includes a search bar for receiving a search target. Exemplarily, the search target may be any of the following: searching for an online 10G EPON ONU under a target PON port or searching for pre-configured information related to a 10G EPON ONU under a target PON port.

[0172] Optionally, the second configuration interface further includes a search bar for receiving a search target. Exemplarily, the search target may be any of the following: searching for an online 50G PON ONU under the target PON port or searching for pre-configured information related to a 50G PON ONU under the target PON port.

[0173] In other examples, the aforementioned OLT configuration method may also be executed by a network management device, which obtains corresponding configuration information through the aforementioned configuration interface and sends it to the OLT.

[0174] Figure 7 is a block diagram of an ONU authentication device provided by an embodiment of the present application. The authentication device can be implemented as all or part of an optical communication device (such as an OLT) through software, hardware, or a combination of both. As shown in Figure 7, the authentication device 700 includes a receiving unit 701 and an authentication unit 702. The receiving unit 701 is used to receive a first configuration information group and a second configuration information group, the first configuration information group being related to a first type of ONU, the second configuration information group being related to a second type of ONU, the first type of ONU and the second type of ONU supporting different MAC protocols, the first configuration information group including first authentication information, the second configuration information group including second authentication information, and the first authentication information and the second authentication information being the same. The authentication unit 702 is used to authenticate the ONU based on the first configuration information group and the second configuration information group.

[0175] Optionally, the receiving unit 701 is used to receive the first configuration information group and the second configuration information group sent by the network management device; or, receive the first configuration information group through a first configuration interface, and receive the second configuration information group through a second configuration interface, wherein the first configuration interface is used to configure the first type of ONU, and the second configuration interface is used to configure the second type of ONU; or, receive the first configuration information group and the second configuration information group entered through a command line.

[0176] Optionally, the receiving unit 701 is also used to receive a third configuration information group, wherein the third configuration information group is related to the first type of ONU, the third configuration information group includes third authentication information, and the third authentication information is different from the first authentication information; and / or, receive a fourth configuration information group, wherein the fourth configuration information group is related to the second type of ONU, the fourth configuration information group includes fourth authentication information, and the fourth authentication information is different from the second authentication information.

[0177] Optionally, the receiving unit 701 is further configured to receive authentication information sent by the ONU, where the ONU is the first type ONU or the second type ONU; and the authentication unit 702 includes a determination subunit 7021 and an authentication subunit 7022. The determination subunit 7021 is configured to determine a target configuration information group based on the type of the ONU, where the target configuration information group is one of the first configuration information group and the second configuration information group. The authentication subunit 7022 is configured to authenticate the ONU based on the target configuration information group and the authentication information.

[0178] Optionally, the first authentication information and the second authentication information match the authentication information sent by the ONU, and the authentication device 700 also includes a deletion unit 703, which is used to delete the configuration information groups in the first configuration information group and the second configuration information group except the target configuration information group.

[0179] Optionally, the authentication information sent by the ONU includes the identity information and rate indication information of the ONU, and the authentication information in the target configuration information group includes the identity information and rate type of the ONU; the authentication subunit 7022 is used to determine that the ONU has passed the authentication when the identity information of the ONU in the target configuration information group is the same as the identity information of the ONU in the authentication information sent by the ONU, and the rate type in the target configuration information group is an adaptive rate; or, when the identity information of the ONU in the target configuration information group is the same as the identity information of the ONU in the authentication information sent by the ONU, and the rate corresponding to the rate type in the target configuration information group is the same as the rate indicated by the rate indication information, determine that the ONU has passed the authentication.

[0180] Optionally, the target configuration information group further includes service parameters; and the apparatus further includes a sending unit 704. The sending unit 704 is configured to send the service parameters in the target configuration information group to the authenticated ONU.

[0181] It should be noted that the ONU authentication device provided in the above embodiment only uses the division of the above functional units as an example to illustrate ONU authentication. In actual applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. In addition, the ONU authentication device provided in the above embodiment and the ONU authentication method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0182] The descriptions of the processes corresponding to the above figures have different focuses. For parts that are not described in detail in a certain process, please refer to the relevant descriptions of other processes.

[0183] Figure 8 is a block diagram of an OLT configuration device provided in an embodiment of the present application. The authentication device can be implemented as all or part of an optical communication device (e.g., an OLT or network management device) through software, hardware, or a combination of both. As shown in Figure 8, the authentication device 800 has a first configuration interface and a second configuration interface. The first configuration interface is associated with a first MAC protocol, and the second configuration interface is associated with a second MAC protocol.

[0184] The authentication device includes a receiving unit 801, which is used to receive first configuration information through a first configuration interface, where the first configuration information is used to configure a first type of ONU; or, to receive second configuration information through a second configuration interface, where the second configuration information is used to configure a second type of ONU.

[0185] Optionally, the receiving unit 801 is further configured to receive a jump instruction through the main configuration interface; and jump to the first configuration interface or the second configuration interface according to the jump instruction.

[0186] It should be noted that the OLT configuration device provided in the above embodiment only uses the division of the above-described functional units as an example to illustrate configuration of the OLT. In actual applications, the above-described functions can be assigned to different functional units as needed, that is, the internal structure of the device can be divided into different functional units to complete all or part of the functions described above. In addition, the OLT configuration device provided in the above embodiment and the OLT configuration method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and is not further described here.

[0187] In some embodiments, a computer-readable storage medium is also provided, which stores computer instructions. When the computer instructions stored in the computer-readable storage medium are executed by an optical communication device, the optical communication device executes the ONU authentication method provided by the above method embodiment.

[0188] In some embodiments, a computer program product is further provided, which includes one or more computer program instructions. When the computer program instructions are loaded and executed by a computer, the computer executes the ONU authentication method provided by the above method embodiment.

[0189] In some embodiments, a chip is further provided, including a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call and run the computer instructions from the memory to execute the ONU authentication method provided by the above method embodiment.

[0190] In some embodiments, a PON is further provided, wherein the PON system includes an OLT, an ODN, and a plurality of ONUs. The OLT is configured to execute the ONU authentication method provided in the above embodiment.

[0191] Unless otherwise defined, the technical or scientific terms used herein shall have the usual meaning understood by persons of ordinary skill in the field to which this application belongs. The words “first”, “second”, “third” and similar terms used in the patent application specification and claims of this application do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, words such as “a” or “an” do not indicate a quantitative limitation, but rather indicate the presence of at least one. Words such as “include” or “comprising” and similar words mean that the elements or objects appearing before “include” or “comprising” cover the elements or objects listed after “include” or “comprising” and their equivalents, and do not exclude other elements or objects.

[0192] The above is only an embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. A method for activating an optical network unit (ONU), characterized in that: The method comprises: When the ONU enters the operating state from the ranging state, the ONU starts a timer; When the ONU leaves the operating state, the ONU stops the timer; When the ONU returns to the operating state, the ONU restarts the timer, wherein the initial value of the restarted timer is equal to the value when the timer was stopped.

2. The method according to claim 1, characterized in that: The method further comprises: When the ONU receives the ranging time message with the absolute equalization delay, the ONU enters the operating state from the ranging state.

3. The method according to claim 1 or 2, characterized in that: When the ONU is in a ranging state, the method further includes: If the ONU receives the ranging grant, the ONU sends a registration PLOAM message.

4. The method according to claim 3, characterized in that: The registration PLOAM message includes ONU-ID, Registration_ID and MIC fields, wherein the ONU-ID is used to identify the ONU, the Registration_ID is used to identify a specific ONU installed at a specific location, and the MIC is used for message integrity verification.

5. The method according to claim 4, characterized in that The ONU-ID occupies two bytes, the Registration_ID occupies 36 bytes, and the MIC occupies 8 bytes.

6. The method according to any one of claims 1 to 5, characterized in that If the ONU is in a serial number state, the method further includes: After the ONU receives the unique ONU-ID assigned by the OLT, the ONU enters the ranging state.

7. The method according to claim 6, characterized in that Before the ONU enters the sequence number state, the method further includes: The ONU detects whether the current downstream wavelength channel is suitable for activation. If the current downstream wavelength channel is suitable for activation, the ONU continues to activate and switches to the sequence number state; if the current downstream wavelength channel is not suitable for activation, the ONU searches for an alternative downstream wavelength channel.

8. An optical network unit, characterized in that: comprising a processor, wherein the processor is configured to: When entering the operation state from the ranging state, start the timer; When leaving the operating state, stopping the timer; When returning to the operating state, the timer is restarted, wherein the initial value of the restarted timer is equal to the value when the timer was stopped.

9. The optical network unit according to claim 8, characterized in that: The optical network unit further comprises an interface, and the processor is used for: The operating state is entered from the ranging state if a ranging time message with an absolute equalization delay is received via the interface.

10. The optical network unit according to claim 8 or 9, characterized in that: When the ONU is in a ranging state, the processor is further used for: If a ranging grant is received through the interface, a registration PLOAM message is sent.

11. The optical network unit according to claim 10, characterized in that: The registration PLOAM message includes ONU-ID, Registration_ID and MIC fields, wherein the ONU-ID is used to identify the ONU, the Registration_ID is used to identify a specific ONU installed at a specific location, and the MIC is used for message integrity verification.

12. The optical network unit according to claim 11, characterized in that: The ONU-ID occupies two bytes, the Registration_ID occupies 36 bytes, and the MIC occupies 8 bytes.

13. The optical network unit according to any one of claims 8 to 12, characterized in that: If the ONU is in a serial number state, the processor is further configured to: If a unique ONU-ID assigned by the OLT is received through the interface, the ranging state is entered.

14. The optical network unit according to claim 13, characterized in that: Before the ONU enters the sequence number state, the processor is further configured to: Detect whether the current downstream wavelength channel is suitable for activation, wherein if the current downstream wavelength channel is suitable for activation, continue to activate and switch to the sequence number state; if the current downstream wavelength channel is not suitable for activation, search for an alternative downstream wavelength channel.

15. A computer program product, characterized in that The computer program product comprises a computer program code, and when the computer program code is executed by a computer, the computer is caused to perform the method according to any one of claims 1 to 7.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes executed by a processor, wherein the program codes include instructions for implementing the method according to any one of claims 1 to 7.

17. A chip, characterized in that: The method comprises a processor configured to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method, device and system for channel management in passive optical network

    CN113518271A

  • Method and device for OLT to manage ONU state

    CN115515028A

  • Method for autonomously turning off emission of ONU optical module, optical module and storage medium

    CN115665599A