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

By receiving and managing configuration information groups related to different types of ONUs in the optical circuit terminal (OLT), unified authentication of optical network units (ONUs) supporting different MAC protocols is realized, solving the complex problems of ONU authentication and access in the prior art, and improving the reliability and ease of use of the system.

CN119906916APending Publication Date: 2025-04-29HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410284032.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-10-27
Filing Date
2024-03-12
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

In the field of optical communication technology, it is difficult for the prior art to effectively manage optical network units (ONUs) that support different media access control (MAC) protocols, resulting in complex authentication and access processes of ONUs.

Method used

By receiving and managing configuration information groups related to different types of ONUs, including the first configuration information group and the second configuration information group, in the optical circuit terminal (OLT), the same authentication information is used to uniformly authenticate ONUs that support different MAC protocols.

Benefits of technology

It realizes unified management of ONUs that support different MAC protocols, simplifies the connection process of ONUs, avoids authentication failures due to ONU type mismatch, and improves system reliability and ease of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119906916A_ABST
    Figure CN119906916A_ABST
Patent Text Reader

Abstract

The invention discloses an authentication method and device of an optical network unit, 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

[0001] This application claims priority to Chinese patent application No. 202311417560.2 filed on October 27, 2023, with invention name “Authentication method and device for optical network unit, optical communication equipment and system”, the entire contents of which are incorporated by reference into this application. Technical Field

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

[0003] Passive optical network (PON) is a point-to-multipoint single-fiber bidirectional optical access network. A PON system usually includes an optical line terminal (OLT), an optical distribution network (ODN), and multiple ONUs. OLT is connected to multiple ONUs through ODN.

[0004] When the ONU goes online, the OLT needs to authenticate the ONU. Only the ONU that has completed the authentication can transmit service data with the OLT. In the related art, the authentication information of the ONU needs to be pre-configured in the OLT. When the OLT receives the authentication information sent by the ONU, it will compare the pre-configured authentication information with the received authentication information; if the two match, it means that the ONU authentication is successful; if the two do not match, it means that the ONU authentication fails.

[0005] With the development of optical communication technology, there will be multiple ONUs supporting different media access control (MAC) protocols in the PON system. When ONUs supporting different MAC protocols are connected to the same PON port of the OLT, the type of the currently online ONU may be inconsistent with the ONU type supported by the pre-configured ONU related parameters, affecting the authentication and access of the ONU. Summary of the invention

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

[0007] In a first aspect, the present application provides an ONU authentication method, which can be performed by an OLT. The method includes: the OLT receives a first configuration information group and a second configuration information group, the first configuration information group is related to a first type of ONU, 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; according to the first configuration information group and the second configuration information group, the ONU is authenticated.

[0008] In the present application, the first configuration information group and the second configuration information group are respectively related to 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 the same, that is, the same authentication information exists in the configuration information groups related to different types of ONUs at the same time, so that when the ONU corresponding to the authentication information goes online, whether the ONU is a first type of ONU or a second type of 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 position, and the connection process of the ONU is simple and easy to implement.

[0009] 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:

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

[0011] The second type 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;

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

[0013] In the first mode, the first configuration information group and the second configuration information group can be configured for the same ONU at the same time through the network management device, which is convenient and conducive to unified management. In the second mode, different configuration interfaces are set in the OLT for the two types of ONUs, which is convenient for the staff to operate directly at the OLT; and, by receiving the corresponding configuration information through the configuration interface, the input process of the configuration information can be simplified and the requirements for the staff can be reduced. In the third mode, for the OLT without a configuration interface, the first configuration information group and the second configuration information group can be directly input into the OLT through the command line.

[0014] Optionally, after receiving the first configuration information group and the second configuration information group, the OLT will locally save 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 related to the first type of ONU and may include one or more configuration information groups related to the first type of ONU. The second configuration set is related to the second type of ONU and includes one or more configuration information groups related to the second type of ONU. In this case, the first configuration information group will be saved in the first configuration set, and the second configuration information group will be saved in the second configuration set.

[0015] Optionally, the method further includes: receiving a third configuration information group, 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. Correspondingly, the first configuration set also includes a third configuration information group, and the third authentication information is different from any authentication information in the second configuration set. That is, for a certain ONU, its corresponding configuration information group can be configured only in the first configuration set, and its corresponding configuration information group can not be configured in the second configuration set.

[0016] 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, and the fourth authentication information being different from the second authentication information. Correspondingly, the second configuration set also includes a fourth configuration information group, and the fourth authentication information is different from any authentication information in the first configuration set. That is, for a certain ONU, its corresponding configuration information group can be configured only in the second configuration set, and its corresponding configuration information group can not be configured in the first configuration set.

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

[0018] In the present 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.

[0019] Wherein, authenticating the ONU according to the target configuration information group and the authentication information includes: 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 passes 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 fails the authentication.

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

[0021] 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 it belongs. 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 (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 ((GPON encapsulation mode, GEM) port ID) and a transmission container identifier (transmission container identifier, T-CONT ID) (i.e., alloc-ID).

[0022] 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, the authentication of the ONU according to the target configuration information group and the authentication information includes: 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, it is determined that the ONU has passed the authentication; 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, it is determined that the ONU has passed the authentication. The identity information and the rate indication information are matched simultaneously to ensure that the ONU can perform data transmission normally after going online.

[0023] 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. In the case where available configuration resources are limited, deleting unnecessary configuration information groups can avoid invalid 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.

[0024] 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 automatic online of the ONU can be achieved.

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

[0026] 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 50GPON protocol. Based on the network status and development trend of the optical communication network, subsequent scenarios of coexistence of 10G EPON ONU and 50G PON ONU will appear in large numbers, therefore, this application is particularly suitable for these two MAC protocols.

[0027] In a second aspect, the present application provides a method for configuring an OLT, which can be implemented by an optical communication device, and the optical communication device 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 is related to a first type of ONU, the first configuration interface is used to configure the first type of ONU, the second configuration interface is related to a second type of ONU, the second configuration interface is used to configure the second type of ONU, the first type of ONU and the second type of ONU support different MAC protocols, and the method includes: receiving a configuration information group in a first configuration set through the first configuration interface; and / or receiving a configuration information group in a second configuration set through the second configuration interface.

[0028] 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; receiving a second configuration information group through the second configuration interface.

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

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

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

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

[0033] 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 method 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.

[0034] 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 method 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.

[0035] In a fifth 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 in the first aspect or any possible implementation of the first aspect, or the method in the second aspect or any possible implementation of the second aspect by running or executing the software program and / or module stored in the memory.

[0036] Optionally, the number of the processors is one or more, and the number of the memories is one or more.

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

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

[0039] In a sixth aspect, a computer program product is provided. The computer program product includes computer program code, and when the computer program code is executed by a computer, the computer executes the method in the first aspect or any possible implementation of the first aspect, or the method in the second aspect or any possible implementation of the second aspect.

[0040] In the seventh aspect, the present application provides a computer-readable storage medium, which is used to store program codes executed by a processor, and the program codes include instructions for implementing the method in any possible implementation of the first aspect above, or the second aspect or any possible implementation of the second aspect.

[0041] In an eighth aspect, the present application provides a chip comprising a processor, wherein the processor is used to call and execute instructions stored in a memory from the memory, so that an optical communication device equipped with the chip executes a method in any possible implementation of the first aspect above, or a method in the second aspect or any possible implementation of the second aspect.

[0042] In a ninth 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 used to execute the code in the memory, and when the code is executed, the processor is used to execute the method in any possible implementation of the first aspect above, or the second aspect or the method in any possible implementation of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a structural diagram of a PON system provided in an embodiment of the present application;

[0044] Figure 2 It is a structural diagram of an OLT provided in an embodiment of the present application;

[0045] Figure 3 It is a schematic diagram of an ONU authentication method provided in an embodiment of the present application;

[0046] Figure 4 is a schematic diagram of a main configuration interface provided in an embodiment of the present application;

[0047] Figure 5 is a schematic diagram of a first configuration interface provided in an embodiment of the present application;

[0048] Figure 6 is a schematic diagram of a second configuration interface provided in an embodiment of the present application;

[0049] Figure 7 It is a schematic diagram of an ONU authentication device provided in an embodiment of the present application;

[0050] Figure 8 It is a schematic diagram of an OLT configuration device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0052] Figure 1 Schematic diagram of a PON system provided by an embodiment of the present application. Figure 1 As shown, 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).

[0053] The OLT 110 is usually located at the network side, such as a central office (CO), and can uniformly manage multiple ONUs 120. The OLT 110 can act as a medium between the ONU 120 and an upper network (not shown in the figure), forwarding data received from the upper network to the ONU 120, and forwarding data received from the ONU 120 to the upper network. The upper network includes, but is not limited to, the Internet, a public switched telephone network (PSTN), and a community antenna television (CATV).

[0054] A plurality of ONUs 120 may be distributedly arranged at the user side. ONU 120 may be a network device that communicates with OLT 110 and user equipment. ONU 120 may act as a medium between OLT 110 and user equipment, for example, ONU 120 may forward data received from OLT 110 to user equipment, and forward data received from user equipment to OLT 110.

[0055] ODN 130 is a data distribution / multiplexing system, which may include a trunk optical fiber, a passive optical splitter and a user optical fiber. The passive optical splitter may include a first port and a plurality of 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.

[0056] In the PON system, the transmission from OLT 110 to ONU 120 is called downlink, and OLT 110 broadcasts the downlink data to all ONU 120, and each ONU 120 only receives the data with its own identification. Conversely, the transmission from ONU 120 to OLT 110 is called uplink. Since each ONU 120 shares ODN 130 and OLT 110, in order to ensure that the uplink data of each ONU 120 does not conflict, the PON system adopts time division multiplexing (TDM) to transmit the uplink data. That is, OLT 110 allocates an uplink time slot to each ONU 120, and each ONU 120 sends the uplink data according to the uplink time slot allocated by OLT 110.

[0057] Alternatively, if Figure 1 As shown, the PON system further includes a network management device 140, which is connected to the OLT 110 in a communication manner, for example, by wired or wireless means. The network management device 140 is used to configure the OLT 110, for example, to send the first configuration information group and the second configuration information group mentioned below to the network management device 140.

[0058] In the embodiment of the present application, there are at least two types of ONUs in the plurality of ONUs 120, and 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 a MAC protocol with a higher transmission rate such as a GPON protocol, an EPON protocol, a 10G PON protocol, a 10G EPON protocol, or a 40G PON protocol, a 50G PON protocol, a 100G PON protocol, etc.

[0059] Figure 1 In the embodiment, the ONUs 120 include ONUs supporting different MAC protocols, for example, the plurality of 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.

[0060] In the embodiment of the present application, the first MAC protocol and the second MAC protocol are different, which may mean that the uplink wavelengths corresponding to the first MAC protocol and the second MAC protocol are different; and / or, it means that the first MAC protocol and the second MAC protocol belong to different standard systems, and the standard systems include but are 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, and the second MAC protocol belongs to the ITU-T standard system.

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

[0062] Based on the current status and development trend of optical communication networks, subsequent scenarios where 10G EPON ONU and 50G PON ONU coexist will appear in large numbers. Therefore, this application is particularly suitable for these two MAC protocols. Therefore, the following is an example of an example in which the first MAC protocol is the 10G EPON protocol and the second MAC protocol is the 50G PON protocol. In this article, the ONU using the 10G EPON protocol will be referred to as the 10G EPON ONU, and the ONU using the 50G PON protocol will be referred to as the 50G PON ONU.

[0063] Figure 2 Schematic diagram of the structure of an OLT provided in an embodiment of the present application. Figure 2As shown, 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. Wherein, 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, and the second receiving component is used to receive the second optical signal sent by the 50GPON 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 sending component for sending an optical signal to the ONU.

[0064] The processing component 20 is used to obtain the uplink data sent by the 10G EPON ONU based on the first electrical signal, and to 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 an optical signal through a sending component in the optical module 10.

[0065] 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 the data of the 10G EPON ONU, and the other receiving channel is used to transmit the data of the 50G PON ONU.

[0066] Exemplarily, the processing component 20 includes a processor 21, a memory 22, a first MAC module 23 and a second MAC module 24, and the processor 21 is respectively 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 set on a single board, and the single board is connected to the optical module 10.

[0067] Among them, the memory 22 is used to store the preconfiguration set, 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 pre-configured authentication information. The processor 21 is also used to send the corresponding service parameters to the authenticated ONU through the optical module 10 after the ONU passes the authentication.

[0068] 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 a physical chip respectively. For example, the processor includes a first processor and a second processor, the first processor and the second processor are separately arranged, and the second processor is integrated in 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).

[0069] 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 for implementing the method provided in the embodiment of the present application.

[0070] 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 arranged on different physical chips.

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

[0072] like Figure 2As shown, in the embodiment of the present application, the processing component 20 also includes two serializers / deserializers (serializer / deserializer, 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, which is used to convert the parallel data output by the first MAC module 23 into serial data and then output it to the second processor in the optical module 10, or convert the serial data output by the second processor in the optical module 10 into parallel data and then 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, which is used to convert the parallel data output by the second MAC module 24 into serial data and then output it to the second processor in the optical module 10, or convert the serial data output by the second processor in the optical module 10 into parallel data and then output it to the second MAC module 24.

[0073] Figure 3 It is a flow chart 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 related to a first type of ONU and is used to configure the first type of ONU, and the second configuration set is related to a second type of ONU and is used to configure the second type of ONU. That is, in an embodiment of the present application, different types of ONUs can be uniformly managed by the same device.

[0074] The first configuration set includes at least one configuration information group, each configuration information group is respectively related to a first type ONU, that is, each configuration information group uniquely corresponds to a first type ONU. The second configuration set includes at least one configuration information group, each configuration information group is respectively related to a second type ONU, that is, each configuration information group uniquely corresponds to a second type ONU.

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

[0076] For any configuration information group in the first configuration set, the authentication information at least includes 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, respectively, and the specific rate value is determined by the corresponding MAC protocol. The adaptive rate indicates that the specific transmission rate is not limited. In different configuration information groups, the type of authentication information may be the same, for example, each configuration information group only includes the identity information of the ONU, and for another example, each configuration information group includes the identity information and the rate type of the ONU. Alternatively, in the first configuration set, the types of authentication information in different configuration information groups may 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 and the rate type of the ONU.

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

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

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

[0080] like Figure 3 As shown, the method includes the following steps.

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

[0082] The first configuration information group is related to the first type of ONU and includes the first authentication information. The second configuration information group is related to the second type of ONU and includes the second authentication information. The first authentication information and the second authentication information are the same. That is, for the same ONU, the OLT receives configuration information groups corresponding to two MAC protocols at the same time.

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

[0084] 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 related to the first type of ONU and includes third authentication information, and the third authentication information is different from the first authentication information. Accordingly, the OLT saves the third configuration information group in the first configuration set. The fourth configuration information group is related to the second type of ONU and includes fourth authentication information, and the fourth authentication information is different from the second authentication information. Accordingly, the OLT saves the fourth configuration information group in the second configuration set.

[0085] The third authentication information is different from the 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 related to the first type of ONU, and the corresponding configuration information group does not exist in the second configuration set related to the second type of ONU. The fourth authentication information is different from the 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 related to the second type of ONU, and the corresponding configuration information group does not exist in the first configuration set related to the first type of ONU.

[0086] 302: Receive authentication information sent by ONU.

[0087] The authentication information includes identity information, which is used to indicate 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 according to different authentication methods. 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 the serial number and the password.

[0088] 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 may be 50Gbps or 25Gbps. When the ONU is a 10G EPON ONU, the transmission rate may be 10Gbps or 1Gbps.

[0089] When the ONU goes online, it sends its own authentication information to the OLT. For example, when the ONU is a 10G EPON ONU, it carries its own authentication information in the first optical signal and sends it to the OLT. When the ONU is a 50G PON ONU, it carries its own authentication information in the aforementioned second optical signal and sends it to the OLT. Accordingly, the OLT receives the optical signal sent by the ONU and obtains the authentication information sent by the ONU based on the received optical signal.

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

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

[0092] In the embodiment of the present application, the OLT receives a first optical signal sent by a first type of ONU through a first receiving channel, and the first optical signal carries authentication information of the first type of ONU; the OLT receives a second optical signal sent by a second type of ONU through a second receiving channel, and the second optical signal carries authentication information of the second type of ONU. The wavelengths of the upstream optical signals corresponding to different MAC protocols are different, so the type of ONU can be distinguished by the wavelength of the upstream optical signal, so that the target configuration group can be further determined according to the type of ONU.

[0093] In 303, the OLT first determines the target configuration set according to the type of the ONU, and the target configuration information group is the configuration information group in the target configuration set. The target configuration set is one of the first configuration set and the 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 10G EPONONU, the target configuration set is the first configuration set, and correspondingly, the first configuration information group is a target configuration information group; when the ONU type is 50G PON ONU, the target configuration set is the second configuration set, and correspondingly, the second configuration information group is a target configuration information group.

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

[0095] 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, it is determined that the ONU has passed the authentication, that is, the authentication is successful. If the authentication information in each target configuration information group does not match the received authentication information, it is determined that the ONU has not passed the authentication, that is, the authentication has failed.

[0096] That is, the authentication information that matches the authentication information sent by the ONU is searched 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 not passed the authentication.

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

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

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

[0100] Through 302 - 304 , it can be achieved that the ONU is authenticated according to the first configuration information group and the second configuration information group.

[0101] In the embodiment of the present application, the same authentication information exists in the configuration information groups related to the two types of ONUs at the same time. In this way, when the ONU corresponding to the authentication information goes online, no matter whether the ONU currently adopts the first MAC protocol or the second MAC protocol, that is, no matter 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 position, and the ONU connection process is simple and easy to implement.

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

[0103] 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 uniformly, if the unused configuration information group is not deleted, an ONU ID will be occupied, which may cause the PON port to be unable to connect as many ONUs as possible.

[0104] During implementation, there is a possibility that the staff will connect the ONU incorrectly, that is, originally want to connect the first type of ONU somewhere, but mistakenly connect the second type of ONU, or originally want to connect the second type of ONU somewhere, but mistakenly connect the first type of ONU. When the ONU is mistakenly connected, the staff may find the wrong connection after the wrongly connected ONU goes online. If the configuration information group that is not the target configuration information group in the first configuration information group and the second configuration information group is deleted immediately after the ONU goes online, then after the correct ONU is replaced, the correct ONU will not be able to pass the authentication. Therefore, after the wrong ONU goes online, the configuration information group that is not the target configuration information group in the first configuration information group and the second configuration information group can be deleted. The set time can be 1-48 hours, such as 1-24 hours, etc. Exemplarily, the set time can be 12 hours, 15 hours, 24 hours, etc. In this way, it is convenient for the staff to correct the connection error of the ONU even if it is connected, and it is guaranteed that the correct ONU can go online normally after the connection.

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

[0106] The following describes the manner in which the OLT obtains the first configuration information group and the second configuration information group. The manner in which the OLT obtains the first configuration information group and the second configuration information group includes but is not limited to the following three.

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

[0108] Optionally, the configuration information also includes a configuration number, and the configuration number is associated with the first configuration information group and the second configuration information group. In this way, it is convenient for the network management device and the OLT to determine the first configuration information group and the second configuration information group that are associated with each other. When it is necessary to delete the configuration information group other than the target configuration information group in the first configuration information group and the second configuration information group later, the configuration information group to be deleted can also be quickly indexed by the configuration number.

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

[0110] 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 sends deletion indication information to the network management device, the deletion indication information is used to instruct the network management device to delete configuration information groups other than the target configuration information group in the first configuration information group and the second configuration information group.

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

[0112] 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, and the remaining actions are automatically performed by the OLT, so that the ONU corresponding to the authentication information can be automatically online.

[0113] In the second mode, the OLT can receive the first configuration information group through the first configuration interface and receive the second configuration information group through the second configuration interface. The first configuration interface is related to the first type of ONU and is used to receive the configuration information of the first type of ONU. The second configuration interface is related to the second type of ONU and is used to receive the configuration information of the second type of ONU.

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

[0115] For details of the first configuration interface and the second configuration interface, see below.

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

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

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

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

[0120] The type of the ONU corresponding to the current configuration can be made clear through the first switching command line and the second switching command line, so as to save the received configuration information into the corresponding configuration set.

[0121] Optionally, the OLT verifies the first configuration information group in the first configuration command line according to the type of ONU corresponding to the first switching command line, and 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, and the prompt message is used to prompt a configuration error. In this way, the possibility of configuration errors can be reduced.

[0122] 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 the verification method of the first configuration information group and is not described in detail here.

[0123] Exemplarily, the verification content includes but is not limited to whether the identifier (e.g., LLID, ONU ID, GEMport ID, or TCONT-ID, etc.) in the configuration information group (i.e., the aforementioned first configuration information group or the second configuration information group) already exists, or whether the identifier matches the ONU type corresponding to the switching command, etc. When the identifier already exists or the identifier does not match the type of the ONU corresponding to the switching command, it indicates that the verification has not been passed. When the identifier does not exist and the identifier matches the type of the ONU corresponding to the switching command, it indicates that the verification has been passed.

[0124] In the first mode, the first configuration information group and the second configuration information group can be configured for the same ONU at the same time through the network management device, which is convenient and conducive to unified management. In the second mode, different configuration interfaces are set in the OLT for the two types of ONUs, which is convenient for the staff to operate directly at the OLT; and, by receiving the corresponding configuration information through the configuration interface, the input process of the configuration information can be simplified and the requirements for the staff can be reduced. In the third mode, for the OLT without a configuration interface, the first configuration information group and the second configuration information group can be directly input into the OLT through the command line.

[0125] The embodiment of the present application also provides a configuration method of an OLT. 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 each configuration information group in a first configuration set through the first configuration interface, the first configuration set is associated with a first type of ONU, and is used to configure the first type of ONU; or receiving each configuration information group in a second configuration set through the second configuration interface, the second configuration set is associated with a second type of ONU, and is used to configure the second type of ONU.

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

[0127] 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, and the second configuration interface is used to configure a second type of ONU.

[0128] 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, jump to the first configuration interface. When the jump instruction is received through the second jump option, jump to the second configuration interface. When implemented, the jump instruction can be triggered by the user clicking the first jump option or the second jump option.

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

[0130] Optionally, the main configuration interface further includes a search bar, which is used to receive a search target. Exemplarily, the search target can be any of the following: searching for an online ONU under a target PON port, searching for an online ONU under all PON ports, searching for pre-configured information under a target PON port, or searching for pre-configured information under all PON ports.

[0131] When the search target received by the search bar is an online ONU under the search 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.

[0132] 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 another part of ONUs are 50GPON ONUs.

[0133] When all ONUs connected to the target PON port include both 10G EPON ONU and 50G PON ONU, the relevant information of 50G PON ONU can be outputted first. For example, on the display interface of the OLT, the relevant information of 50G PON ONU is arranged before the relevant information of 10G EPON ONU. As the optical communication network develops, 10G EPON ONU will transition to 50G PON ONU, and the attention of 50G PON ONU will be higher than that of 10G EPON ONU. Therefore, the relevant information of 50G PON ONU can be displayed first.

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

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

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

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

[0138] ONU ID is the logical number of ONU, and this parameter is an optional parameter. The user can input ONU ID or not input ONU ID. When the user inputs ONU ID, OLT can judge whether this ONU ID conflicts with the distributed ONU ID. If this ONU ID conflicts with the distributed ONU ID, then output prompt information, which is used to prompt the user to change ONU ID. If this ONU ID does not conflict with the distributed ONU ID, then this ONU ID is distributed to the ONU corresponding to the authentication information. Here, ONU ID conflicts with the distributed ONU ID, refers to the ONU ID that has been distributed in the ONU ID and is present in the same ONU ID as the current ONU ID.

[0139] When the user does not input the ONU ID, the ONU ID can be allocated to the ONU according to the setting rule. For example, the smallest ONU ID can be selected from the idle ONU IDs and allocated to the ONU corresponding to the authentication information.

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

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

[0142] LLID is the transmission resource of 10G EPON ONU, GEMport ID is the transmission resource of 50G PON ONU, and the resource pools of LLID and GEMport ID are independent of each other, and there may or may not be overlapping parts. Here, the resource pools of LLID and GEMport ID refer to the allocatable range. For example, the allocatable range of LLID can be 1-1295, and the allocatable range of GEMport ID is 1-1295, and the two completely overlap.

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

[0144] Alternatively, if Figure 5 As shown, the first configuration interface also includes a first jump option, and the first jump option is used to jump to the second configuration interface. Figure 6 As shown, the second configuration interface also includes a second jump option, and the second jump option is used to jump to the first configuration interface.

[0145] In one possible implementation, only the first input option and the first jump option are displayed in the first configuration interface. In another possible implementation, the first input option, the first jump option, the second input option, and the second jump option are displayed simultaneously in the first configuration interface, but the second input option and the second jump option are disabled. Being disabled means that the user cannot input information in the second input option, nor can he click the second jump option, or in other words, the user's operation of clicking 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.

[0146] Alternatively, if Figure 5 and Figure 6 As shown, 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.

[0147] 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 50GPON ONU, and the two are mutually exclusive to reduce the possibility of configuration errors by operation and maintenance personnel.

[0148] Optionally, the first configuration interface further includes a search bar, which is used to receive 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.

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

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

[0151] Figure 7 1 is a block diagram of an ONU authentication device provided in 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. Figure 7As shown, 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, 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. The authentication unit 702 is used to authenticate the ONU according to the first configuration information group and the second configuration information group.

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

[0153] Optionally, the receiving unit 701 is also used to receive a third configuration information group, 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, 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.

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

[0155] 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 configuration information groups in the first configuration information group and the second configuration information group except the target configuration information group.

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

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

[0158] It should be noted that, when the ONU authentication device provided in the above embodiment authenticates the ONU, only the division of the above functional units is used as an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device is 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 belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

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

[0160] 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 (such as an OLT or a network management device) through software, hardware, or a combination of both. Figure 8 As shown, 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.

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

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

[0163] It should be noted that the configuration device of the OLT provided in the above embodiment only uses the division of the above functional units as an example when configuring the OLT. In actual applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the device is divided into different functional units to complete all or part of the functions described above. In addition, the configuration device of the OLT provided in the above embodiment and the configuration method embodiment of the OLT belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

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

[0165] In some embodiments, a computer program product is also 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.

[0166] In some embodiments, a chip is also 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.

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

[0168] Unless otherwise defined, the technical or scientific terms used herein shall have the usual meanings 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, similar words such as "one" or "one" do not indicate a quantitative limitation, but rather indicate the presence of at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before "include" or "comprises" cover the elements or objects listed after "include" or "comprises" and their equivalents, and do not exclude other elements or objects.

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

Claims

1. An authentication method for an optical network unit, characterized in that: The method comprises: The optical line terminal OLT receives 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; The ONU is authenticated according to the first configuration information group and the second configuration information group.

2. The method according to claim 1, characterized in that The OLT receives a first configuration information group and a second configuration information group, including: Receiving the first configuration information group and the second configuration information group sent by a network management device; or, Receiving the first configuration information group through a first configuration interface, and receiving 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, The first configuration information group and the second configuration information group input through a command line are received.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: receiving a third configuration information group, the third configuration information group being related to the first type of ONU, the third configuration information group comprising third authentication information, the third authentication information being different from the first authentication information; and / or, A fourth configuration information group is received, the fourth configuration information group being related to the second type of ONU, the fourth configuration information group including fourth authentication information, and the fourth authentication information being different from the second authentication information.

4. The method according to any one of claims 1 to 3, characterized in that: The authenticating the optical network unit 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 the first type ONU or the second type ONU; Determine 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; The ONU is authenticated according to the target configuration information group and the authentication information.

5. The method according to claim 4, characterized in that The first authentication information and the second authentication information match the authentication information sent by the ONU, and the method further includes: The configuration information groups other than the target configuration information group are deleted from the first configuration information group and the second configuration information group.

6. The method according to claim 4, characterized in that 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 authenticating the ONU according to the target configuration information group and the authentication information comprises: 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, determining that the ONU passes the authentication; 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, it is determined that the ONU passes the authentication.

7. The method according to claim 6, characterized in that The target configuration information group also includes service parameters; The method further comprises: The service parameters in the target configuration information group are sent to the authenticated ONU.

8. The method according to any one of claims 1 to 7, characterized in that: 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.

9. The method according to any one of claims 1 to 8, characterized in that: The first configuration information group also includes a first service parameter, which includes a logical link identifier; the second configuration information group also includes a second service parameter, which includes at least one of a GPON encapsulation mode port identifier and a transmission container identifier.

10. The method according to any one of claims 1 to 9, characterized in that: 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.

11. An authentication device for an optical network unit, characterized in that: The device comprises: A receiving unit, configured to receive 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; An authentication unit is used to authenticate the ONU according to the first configuration information group and the second configuration information group.

12. The device according to claim 11, characterized in that The receiving unit is used for: Receiving the first configuration information group and the second configuration information group sent by a network management device; or, Receiving the first configuration information group through a first configuration interface, and receiving 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, The first configuration information group and the second configuration information group input through a command line are received.

13. The device according to claim 11 or 12, characterized in that The receiving unit is further configured to: receiving a third configuration information group, the third configuration information group being related to the first type of ONU, the third configuration information group comprising third authentication information, the third authentication information being different from the first authentication information; and / or, A fourth configuration information group is received, the fourth configuration information group being related to the second type of ONU, the fourth configuration information group including fourth authentication information, and the fourth authentication information being different from the second authentication information.

14. The device according to any one of claims 11 to 13, characterized in that The receiving unit is further used to receive authentication information sent by the ONU, where the ONU is the first type ONU or the second type ONU; The authentication unit comprises: A determination subunit, configured to determine a target configuration information group according to the type of the ONU, wherein the target configuration information group is one of the first configuration information group and the second configuration information group; An authentication subunit is used to authenticate the ONU according to the target configuration information group and the authentication information.

15. The device according to claim 14, characterized in that The first authentication information and the second authentication information match the authentication information sent by the ONU, and the device further includes: A deleting unit is used 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.

16. The device according to claim 15, characterized in that 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 is used to determine that the ONU passes 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, it is determined that the ONU passes the authentication.

17. The device according to claim 16, characterized in that The target configuration information group also includes service parameters; The device also includes: A sending unit is used to send the service parameters in the target configuration information group to the authenticated ONU.

18. The device according to any one of claims 11 to 17, characterized in that 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.

19. The device according to any one of claims 11 to 18, characterized in that The first configuration information group also includes a first service parameter, which includes a logical link identifier; the second configuration information group also includes a second service parameter, which includes at least one of a GPON encapsulation mode port identifier and a transmission container identifier.

20. The device according to any one of claims 11 to 19, characterized in that 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.

21. A passive optical network system, characterized in that: The method comprises an optical line terminal OLT, an optical distribution network ODN and a plurality of optical network units ONU, wherein the OLT is connected to the plurality of ONUs via the ODN, and the OLT is used for authenticating the ONUs by adopting the method according to any one of claims 1 to 10.

22. An optical communication device, characterized in that: The optical communication device comprises a processor and a memory, wherein the memory is used to store a software program, and the processor runs or executes the software program stored in the memory so that the optical communication device implements the method according to any one of claims 1 to 10.

23. 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 10.