Authentication method, device, equipment and storage medium
By setting low delay and non-low delay bands in the optical network system, obtaining balanced delay and performing ONU authentication, the delay problem caused by periodic opening of SN request window in the optical network system is solved, and the time-lapse is realized Reduce delay and improve certification efficiency.
Patent Information
- Application Number
- CN202010583857.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-23
- Publication Date
- 2024-11-05
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In optical network systems, OLT needs to periodically open the SN request window to discover new certified or re-onlined ONUs, resulting in an increase in system delay and affecting the operator's communication system delay.
By setting at least one low delay band and one non-low delay band when the optical circuit terminal OLT is operated in at least two bands, the equalization delay is obtained after receiving the ONU serial number, and Determine the ONU mark according to the serial number for authentication, reducing the delay.
It effectively reduces the delay of the optical network system, improves the authentication efficiency of newly joined ONUs, reduces communication delay, and improves user experience.
Smart Images

Figure CN113839707B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to an authentication method. Background Art
[0002] With the continuous development of optical networks, fiber to the home (FTTH) has been fully rolled out, and its terminal product optical network unit (ONU) has also been widely used. In passive optical network systems, latency usually includes four aspects: one is optical path transmission latency, 1km optical fiber latency is about 5us, the longer the optical fiber, the greater the latency, which can be optimized through line deployment; one is bandwidth allocation latency, which can be optimized by reducing the bandwidth allocation cycle and allocating part of the fixed bandwidth; one is system internal latency, which is the inherent latency inside the optical line terminal (OLT) and the optical network unit, and needs to be optimized in the chip design stage; one is quiet window latency, which is mainly used for ONU to report serial number and distance measurement. The window size is related to the OLT distance measurement. Usually, the window latency needs to be increased by 200us for every 20km.
[0003] The window size of the OLT serial number request phase is (2+48+n*200)us, where 2us is the ONU response time, 48us is the ONU random delay, n*200us is the loop delay, and n is the ratio of the OLT logical ranging distance to 20km; the window size of the OLT ranging phase is (2+n*200)us, where 2us is the ONU response time, n*200us is the loop delay, and n is the ratio of the OLT logical ranging distance to 20km. Because the OLT needs to discover newly authenticated ONUs or re-online ONUs, the SN request window needs to be opened periodically. The shorter the period, the greater the impact on the PON system delay, which is not conducive to reducing the delay of the operator's communication system. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides a delay processing method, device, equipment and storage medium.
[0005] In a first aspect, an embodiment of the present application provides an authentication method, including:
[0006] If the optical line terminal OLT operates in at least two bands, at least one low-latency band and at least one non-low-latency band are set;
[0007] After receiving the first sequence number sent by the optical network unit ONU or the auxiliary authentication device in the non-low-latency band, obtaining the balanced delay;
[0008] After receiving an authentication request sent by the ONU or the auxiliary authentication device in the non-low-latency band, determining the ONU identifier according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band;
[0009] The ONU is authenticated according to the ONU identifier and the balanced delay.
[0010] A first sequence number sent to the optical line terminal OLT in a non-low-latency band;
[0011] Send an authentication request to the OLT in a non-low latency band;
[0012] After acquiring the ONU identifier and equalization delay sent by the OLT, a confirmation message is sent to the OLT, wherein the ONU identifier is determined according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band.
[0013] In a third aspect, an embodiment of the present application provides an authentication device, including:
[0014] A setting module, configured to set at least one low-latency band and at least one non-low-latency band if the optical line terminal OLT operates in at least two bands;
[0015] An acquisition module, used to obtain the balanced delay after receiving the first sequence number sent by the optical network unit ONU or the auxiliary authentication device in a non-low-latency band;
[0016] A determination module, configured to determine the ONU identifier according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band after receiving the authentication request sent by the ONU or the auxiliary authentication device in the non-low-latency band;
[0017] An authentication module is used to authenticate the ONU according to the ONU identifier and the equalization delay.
[0018] In a fourth aspect, an embodiment of the present application provides an authentication device, including:
[0019] A first sending module, configured to send a first sequence number to an optical line terminal OLT in a non-low-latency band;
[0020] A second sending module, used for sending an authentication request to the OLT in a non-low-latency band;
[0021] The third sending module is used to send confirmation information to the OLT after acquiring the ONU identifier and equalization delay sent by the OLT, wherein the ONU identifier is determined according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band.
[0022] In a fifth aspect, the present application provides a device, comprising:
[0023] one or more processors;
[0024] A storage device for storing one or more programs;
[0025] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided by the embodiment of the present invention.
[0026] In a sixth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, any one of the methods in the embodiments of the present application is implemented.
[0027] With regard to the above embodiments and other aspects of the present application and their implementation, further description is provided in the accompanying drawings, detailed description and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a flowchart of an authentication method provided by this application;
[0029] Figure 2 It is a flowchart of another authentication method provided by this application;
[0030] Figure 2a It is a schematic diagram of the low-latency system of the Combo PON system provided by this application;
[0031] Figure 2b It is a schematic diagram of the low-latency system of the NGPON2 system provided by this application;
[0032] Figure 2c It is a schematic diagram of the low-latency system of 50G PON and 100G PON systems provided by this application;
[0033] Figure 2d It is a schematic diagram of the registration bandwidth implementation provided by this application;
[0034] Figure 2e This is a flow chart of the preliminary authentication method for the new low-latency ONU provided by this application;
[0035] Figure 2f This is a flow chart of the certified low-latency ONU fast online method provided by this application;
[0036] Figure 2g It is a flow chart of the low-delay line protection method provided by this application;
[0037] Figure 3A schematic diagram of the structure of an authentication device provided for this application;
[0038] Figure 4 A schematic diagram of the structure of another authentication device provided for this application;
[0039] Figure 5 A schematic diagram of the structure of a device provided in this application. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solution and advantages of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.
[0041] The steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a sequence different from that shown here.
[0042] In an exemplary embodiment, Figure 1 A flowchart of an authentication method provided in the present application, which can be applied to the case where an optical line terminal OLT authenticates a newly connected optical network unit ONU, and the method can be executed by an authentication device, which can be implemented by software and / or hardware and integrated on a device. The device can be a computer device.
[0043] like Figure 1 As shown, the authentication method provided by the present application includes S110, S120, S130 and S140.
[0044] S110: If the optical line terminal OLT operates in at least two bands, set at least one low-latency band and at least one non-low-latency band.
[0045] Specifically, if the system in which the OLT and ONU are located is a multi-band system, the OLT works in at least two bands, the ONU can work in one band and does not support band switching; the ONU can also work in one band and support band switching, and the ONU can also work in multiple bands at the same time. For example, if the system where the OLT and ONU are located is a Combo PON system, the OLT optical line terminal supports upstream 1310nm / downstream 1490nm, upstream 1270nm / downstream 1577nm bands, and the ONU can only work in one of the bands and does not support band switching; if the system where the OLT and ONU are located is an NGPON2 PON system, the OLT and ONU can support up to 8 bands between upstream 1532.68~1538.19nm and downstream 1596.34~1602.31nm, and the ONU can only work in one of the bands. The OLT can notify the ONU to switch the band through the Tuning_Control message; if the system where the OLT and ONU are located is a 50G PON and 100G PON system, it is generally implemented through n*25G, where n represents the number of bands, that is, the 50G PON system OLT and ONU can support up to 2 bands at the same time, and the 100G The PON system OLT and ONU can support up to 4 bands simultaneously.
[0046] Specifically, when the OLT can work in at least two bands, at least one low-latency band and at least one non-low-latency band can be preset to enable the ONU to work in the low-latency band. The ONU working in the low-latency band can reduce the latency. However, the ONU cannot report the serial number in the low-latency band, and can only report the serial number in the non-low-latency band.
[0047] S120. After receiving the first sequence number sent by the optical network unit ONU or the auxiliary authentication device in a non-low-latency band, obtain the balanced delay.
[0048] Specifically, if the system where the OLT and ONU are located is a Combo PON system, the ONU can only work in one band and does not support band switching, and the ONU cannot report the serial number when working in the low-latency band, then an auxiliary authentication device needs to be added, and the auxiliary authentication device sends the first serial number to the OLT in the non-low-latency band; if the system where the OLT and ONU are located is a NGPON2 PON system, the ONU can only work in one of the bands, and the OLT can notify the ONU to switch the band through the Tuning_Control message, then the ONU can first work in the non-low-latency band and report the first serial number in the non-low-latency band; if the system where the OLT and ONU are located is a 50G PON and 100G PON system, In the PON system, the ONU can support two bands at the same time, and the ONU reports the first sequence number in the non-low-latency band. However, since the ONU can work in two bands at the same time, the first sequence number reported by the ONU may be different from the second sequence number of the ONU in the low-latency band. Therefore, after the ONU goes online, the ONU needs to send the second sequence number of the ONU in the low-latency band in the non-low-latency band.
[0049] Specifically, after receiving the first sequence number sent by the ONU, the OLT sends a ranging request to the ONU. After receiving the ranging request, the ONU sends an upstream optical signal to the OLT. The OLT calculates the balanced delay based on the time of receiving the upstream optical signal and the time of sending the ranging request to the ONU. After receiving the first sequence number sent by the auxiliary authentication device, the OLT sends a ranging request to the auxiliary authentication device.
[0050] Specifically, the method for obtaining the balanced delay can be: if the system where the optical network unit ONU is located is a ComboPON system, the ONU can only work in one band and does not support band switching. It is necessary to pre-report the first serial number in another non-low-latency band through an auxiliary authentication device. After receiving the first serial number, the OLT sends a ranging request to the auxiliary authentication device, and the OLT performs ranging to obtain the balanced delay; the method for obtaining the balanced delay can also be: if the system where the optical network unit ONU is located is a NGPON2 PON system, the ONU can only work in one band and can perform band switching. The newly connected ONU can first report SN in a non-low-latency band. After receiving the SN, the OLT sends a ranging request to the ONU. After receiving the ranging request, the ONU sends an upstream optical signal. The OLT calculates the balanced delay based on the time of receiving the upstream optical signal and the time of sending the ranging request to the ONU; if the system where the optical network unit ONU is located is a 50G PON and 100G PON system, the 50G The OLT and ONU of the PON system can support up to 2 bands at the same time. The OLT and ONU of the 100G PON system can support up to 4 bands at the same time. The newly connected ONU can report SN in the non-low-latency band. After receiving the SN, the OLT sends a ranging request to the ONU. After the ONU receives the ranging request, the ONU sends an upstream optical signal to the OLT. After receiving the upstream optical signal, the OLT calculates the balanced delay based on the time of receiving the upstream optical signal and the time of sending the ranging request to the ONU.
[0051] The method in which the ONU sends the serial number in the low-latency band may be that the ONU informs the OLT of the serial number in the low-latency band through a private ploam message or an omci message.
[0052] Specifically, if the system in which the OLT and the ONU are located is a 50G PON and 100G PON system, and the ONU can work in multiple bands at the same time, the ONU can first report the first sequence number in the non-low-latency band. After receiving the first sequence number, the OLT sends a ranging request to the ONU. After receiving the ranging request, the ONU sends an upstream optical signal. The OLT calculates the balanced delay according to the time when the upstream optical signal is received and the time when the ranging request is sent to the ONU. The ONU sends the sequence number to the OLT in the non-low-latency band. After receiving the authentication request sent by the optical network unit ONU, the OLT periodically sends the ONU identifier and the balanced delay in the low-latency band. After receiving the ONU identifier and the balanced delay, the ONU sends a confirmation message to the OLT. After receiving the confirmation message sent by the ONU, the OLT starts the normal OMCI message interaction and service channel configuration process.
[0053] It should be noted that since the systems in which the OLT and ONU are located are 50G PON and 100G PON systems, the ONU can work in multiple bands at the same time. It is possible that the serial number of the ONU in the non-low-latency band is different from the serial number of the ONU in the low-latency band. In this case, the serial number of the ONU in the non-low-latency band needs to be sent to the OLT.
[0054] S130. After receiving an authentication request sent by the ONU or the auxiliary authentication device in a non-low-latency band, determine the ONU identifier according to the first serial number or the second serial number of the ONU in a low-latency band sent by the ONU in the non-low-latency band.
[0055] The ONU identifier is ONU_ID, and the ONU identifier is determined according to the first serial number or the second serial number.
[0056] The authentication request sent by the optical network unit ONU may be sent by the ONU notifying the OLT through a private ploam message or an omci message that a new ONU needs to be authenticated in a low-latency band. The authentication request sent by the auxiliary authentication device may be sent by the OLT through a private ploam message or an omci message notifying the OLT that a new ONU needs to be authenticated in a low-latency band.
[0057] S130: Authenticate the ONU according to the ONU identifier and the equalization delay.
[0058] Specifically, the ONU is authenticated according to the ONU identifier and the equalizing delay. After receiving the authentication request sent by the optical network unit ONU, the ONU identifier and the equalizing delay are periodically sent in a low-latency band. For example, the ONU informs the OLT through a private ploam (physical layer operation management and maintenance, Physical layer OAM) message or omci (ONT Management and Control Interface, control interface) message that a new ONU needs to be authenticated in a low-latency band. After obtaining the equalizing delay and serial number, the OLT periodically sends Assign_ONU_ID and Ranging_Time messages in a low-latency band, and the Ranging_Time message carries the equalizing delay EQD. It is also possible that after receiving the authentication request sent by the optical network unit ONU, the ONU identifier and the balanced delay are sent to the ONU in a non-low-latency band. For example, if the system in which the optical network unit ONU is located is an NGPON2 PON system, the ONU can only work in one band and can perform band switching. The ONU can first work in the non-low-latency band and report the first sequence number in the non-low-latency band. The OLT sends the ONU identifier and the balanced delay to the ONU in the non-low-latency band. After the ONU receives the ONU identifier and the balanced delay, it sends a confirmation message to the OLT to complete the authentication.
[0059] The present application provides an authentication method. If the optical line terminal OLT works in at least two bands, at least one low-latency band and at least one non-low-latency band are set; after receiving the first serial number sent by the optical network unit ONU or the auxiliary authentication device in the non-low-latency band, the balanced delay is obtained; after receiving the authentication request sent by the ONU or the auxiliary authentication device in the non-low-latency band, the ONU identifier is determined according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band; the ONU is authenticated according to the ONU identifier and the balanced delay, so that the newly connected ONU can be authenticated.
[0060] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.
[0061] In one embodiment, authenticating the ONU according to the ONU identifier and the equalization delay includes:
[0062] Periodically sending the ONU identifier generated according to the SN and the equalization delay in the low-latency band;
[0063] Receive confirmation information sent by the ONU.
[0064] The confirmation information may be an Ack message.
[0065] Specifically, after receiving the ONU identification and equalization delay, the ONU sends a confirmation message to the OLT. After the OLT receives the confirmation message sent by the ONU, the authentication is completed. For example, the OLT periodically sends Assign_ONU_ID (OLT assigns ONU-ID) and Ranging_Time messages in the low-latency band. When the OLT receives the Ack message replied by the newly-connected ONU, it stops sending messages and starts the normal OMCI message interaction and service channel configuration process.
[0066] Specifically, if the system in which the optical network unit ONU is located is a Combo PON system, the ONU can only work in one band and does not support band switching. It is necessary to pre-report the first serial number in another non-low-latency band through an auxiliary authentication device. After the OLT receives the SN first serial number, it sends a ranging request to the auxiliary authentication device ONU. The OLT performs ranging to obtain a balanced delay. After the OLT receives the authentication request sent by the auxiliary authentication device in the non-low-latency band, it periodically sends the ONU identifier and the balanced delay generated according to the SN in the low-latency band. After the ONU receives the ONU identifier and the balanced delay, it sends a confirmation message to the OLT. After the OLT receives the confirmation message, the authentication is completed.
[0067] In one embodiment, after receiving a sequence number sent by an optical network unit ONU in a non-low-latency band, obtaining the balanced delay includes:
[0068] After receiving the sequence number sent by the optical network unit ONU in the non-low latency band, a ranging request is sent to the ONU;
[0069] The equalization delay is determined according to the time when the uplink optical signal is sent by the ONU and the time when the ranging request is sent to the ONU.
[0070] Specifically, if the system where the OLT and ONU are located is an NGPON2 PON system, and the ONU can only work in one band, the ONU can first report SN in a non-low-latency band; if the system where the OLT and ONU are located is a 50G PON and 100G PON system, the ONU can work in multiple bands at the same time, and the ONU can first report SN in a non-low-latency band.
[0071] Specifically, if the system where the optical network unit ONU is located is an NGPON2 PON system, the ONU can only work in one band and can switch bands. The newly connected ONU can first report SN in a non-low-latency band. After receiving the SN, the OLT sends a ranging request to the ONU. After receiving the ranging request, the ONU sends an upstream optical signal. The OLT calculates the balanced delay based on the time of receiving the upstream optical signal and the time of sending the ranging request to the ONU. If the system where the optical network unit ONU is located is a 50GPON and 100G PON system, the 50G PON system OLT and ONU can support up to 2 bands at the same time, and the 100G The OLT and ONU of the PON system can support up to 4 bands at the same time. The newly connected ONU can report SN in the non-low-latency band. After receiving the SN, the OLT sends a ranging request to the ONU. After receiving the ranging request, the ONU sends an upstream optical signal to the OLT. After receiving the upstream optical signal, the OLT calculates the balanced delay based on the time of receiving the upstream optical signal and the time of sending the ranging request to the ONU.
[0072] In one embodiment, after receiving the serial number sent by the auxiliary authentication device in the non-low-latency band, obtaining the balanced delay includes:
[0073] After receiving the serial number sent by the auxiliary authentication device in the non-low latency band, sending a ranging request to the auxiliary authentication device;
[0074] The equalization delay is determined according to the time when the uplink optical signal is sent by the auxiliary authentication device and the time when the ranging request is sent to the auxiliary authentication device.
[0075] Specifically, if the system in which the OLT and ONU are located is a Combo PON system, since the ONU can only work in one band and does not support band switching, it is necessary to pre-report the serial number SN in another non-low-latency band through an auxiliary authentication device.
[0076] Specifically, if the system in which the optical network unit ONU is located is a Combo PON system, the ONU can only work in one band and does not support band switching. It is necessary to pre-report the first serial number in another non-low-latency band through an auxiliary authentication device. After the OLT receives the SN first serial number, it sends a ranging request to the auxiliary authentication device ONU, and the OLT performs ranging to obtain balanced delay.
[0077] In one embodiment, after receiving the confirmation information sent by the ONU, it also includes:
[0078] After receiving the band switching request sent by the ONU, a band switching instruction is sent to the ONU, so that the ONU switches to the low-latency band according to the band switching instruction.
[0079] Specifically, if the system in which the OLT and the ONU are located is an NGPON2 PON system, and the ONU can only work in one band, the ONU can first report the SN in the non-low-latency band. After receiving the SN, the OLT sends a ranging request to the ONU. After receiving the ranging request, the ONU sends an upstream optical signal. The OLT calculates the equalization delay according to the time of receiving the upstream optical signal and the time of sending the ranging request to the ONU. The non-low-latency band sends the EQD to the ONU, and the ONU sends the confirmation information to the OLT. After the OLT receives the confirmation information sent by the ONU, the ONU sends a band switching request to the OLT. After receiving the band switching request sent by the ONU, the OLT generates a band switching instruction and sends the band switching instruction to the ONU. The ONU switches the working band to the low-latency band according to the band switching instruction.
[0080] In one embodiment, it further includes:
[0081] If no ONU response is received within the preset time, the registration bandwidth is periodically sent;
[0082] After receiving the uplink optical signal sent by the ONU, determine whether the difference between the reception time of the uplink optical signal and the expected time is greater than a first threshold;
[0083] If it is greater, the equalization delay is adjusted.
[0084] Specifically, if no ONU response is received within the preset time, it means that the authenticated ONU is offline due to power failure or other reasons, then the OLT periodically sends the registration bandwidth, and after receiving the registration bandwidth, the ONU sends an upstream optical signal to the OLT. After receiving the upstream optical signal, the OLT determines whether the upstream optical signal drifts, and if the upstream optical signal drifts, the equalization delay is adjusted. If the upstream optical signal does not drift, the ONU notifies the ONU to go online directly through a private ploam message or omci message, restores normal business, and updates the configuration information. For example, after the authenticated ONU is offline due to power failure or other reasons, the ONU_ID and the equalization delay remain unchanged, and the OLT periodically sends the registration bandwidth, which is similar to the OMCI bandwidth, wherein Alloc-Id=ONU_ID, StartTime=S, and GrantSize=1. After receiving the Burst_Profile message, the ONU enters O2-3. After receiving the registration bandwidth at O2-3, the ONU sends an upstream optical signal with a delay of ResponseTime+Eqd+StartTime in response to the registration bandwidth. After receiving the upstream optical signal sent by the ONU, the OLT checks whether the upstream optical signal has drift. If there is drift, a Ranging_Time message is sent down to fine-tune the EQD. The ONU needs to write the fine-tuned EQD into the chip and the power-off storage medium. If there is no drift, that is, the upstream optical signal is normal, the private ploam message or omci message is used to notify the ONU to go online directly, resume normal services, and update configuration information.
[0085] In one embodiment, if no ONU response is received within a preset time, periodically sending the registration bandwidth includes:
[0086] If no ONU response is received within the first preset time, the registration bandwidth is sent in the first cycle;
[0087] If no ONU response is received within a second preset time, the registration bandwidth is sent in a second period, wherein the second preset time is greater than the first preset time, and the second period is greater than the first period.
[0088] Specifically, in the early stage of ONU disconnection, the OLT can appropriately shorten the period of sending the registration bandwidth, such as sending the registration bandwidth once every 1 second. When the ONU does not respond to the bandwidth for a long time, the OLT can appropriately extend the period of sending the registration bandwidth, such as sending the registration bandwidth once every 1 minute, to minimize the bandwidth occupation. When the OLT detects that the upstream optical signal sent by the ONU is an abnormal optical signal, the long-light detection process can be enabled, and the broadcast Disable_Serial_Number message can be sent to disable all ONUs under the low-latency line, and then enable the ONUs one by one to check which ONU optical signal has an abnormality, and finally re-enable the abnormal ONU and re-enable the normal ONU.
[0089] In one embodiment, after receiving the confirmation information sent by the ONU, it also includes:
[0090] A protection PON port is pre-deployed, and if no upstream optical signal is received within a preset time, the low-latency service is switched to the protection PON port;
[0091] or,
[0092] A protection band is deployed in advance, and an identifier corresponding to the protection band is sent to the ONU. If no uplink optical signal is received within a preset time, the low-latency service is switched to the protection band.
[0093] Specifically, when the low-latency line is interrupted due to a PON port failure or other reasons, it can be switched to the backup line through Type B switching or band switching. If the system where the ONU and OLT are located is a Combo PON system, the OLT can pre-set the protection PON port when the low-latency line is deployed. When the OLT does not receive the upstream optical signal within the preset time, all low-latency services are switched to the protection PON port. For example, for Combo In the PON system, the OLT can pre-set the protection PON port when deploying the low-latency line. When the OLT does not receive the upstream optical signal within the preset time, all low-latency services are switched to the protection PON port. When the ONU does not receive the downstream optical signal, it enters the O6 state. If it receives the downstream optical signal within the TO2 time, it directly switches back to the O5 state, stops the TO2 time, and resumes normal services. If it does not receive the downstream optical signal within the TO2 time, it enters the O2-3 state and quickly goes online by registering the bandwidth. During the entire switching process, the ONU keeps the ONU_ID and EQD unchanged, and the OLT no longer performs ranging. The OLT can adjust the ONU's EQD through the Ranging_Time message.
[0094] Specifically, for NGPON2, 50G PON and 100G PON systems, the OLT can pre-set the protection band when deploying low-latency lines, and notify the ONU through a private message. When the OLT does not receive the upstream optical signal within the preset time, all low-latency services will be switched to the protection band. For example, for NGPON2, 50G PON and 100G PON systems, OLT can pre-set the protection band when deploying low-latency lines, and notify ONU through private ploam messages or omci messages. When OLT does not receive the upstream optical signal within the preset time, all low-latency services are switched to the protection band. When ONU does not detect the downstream optical signal within the preset time, it switches to the protection band and enters the O6 state at the same time. If the downstream optical signal is received within the TO2 time, it directly switches back to the O5 state; if the downstream light is not detected within the TO2 time, it enters O2-3 and quickly goes online by registering the bandwidth. During the entire switching process, the ONU keeps the ONU_ID and EQD unchanged, and the OLT no longer performs ranging. The OLT can adjust the ONU's EQD through the Ranging_Time message.
[0095] It should be noted that different PON access technology system modes are not the same. For example, in the Combo PON system, the OLT optical line terminal supports two bands: upstream 1310nm / downstream 1490nm and upstream 1270nm / downstream 1577nm. The ONU optical network unit can only work in one of the bands and does not support band switching. In the NGPON2 PON system, the OLT and ONU can support up to 8 bands between upstream 1532.68~1538.19nm and downstream 1596.34~1602.31nm. The ONU can only work in one of the bands. The OLT can notify the ONU to switch bands through the Tuning_Control message. 50G PON and 100G PON systems are generally implemented through n*25G, where n represents the number of bands, that is, the OLT and ONU of the 50G PON system can support up to 2 bands at the same time, and the OLT and ONU of the 100G PON system can support up to 4 bands at the same time.
[0096] For low-latency lines, the OLT will not periodically send SN requests and ranging requests, that is, it will not perform SN windowing and ranging windowing to reduce communication delay.
[0097] In a specific example, a newly connected ONU needs to be initially authenticated before accessing a low-latency line. For a Combo PON system, the ONU can only work in one band and does not support band switching. It needs to pre-report SN and measure distance in another non-low-latency band through an auxiliary authentication device. The auxiliary authentication device has the same registration information as the newly connected ONU. It can inform the OLT through a private ploam message or omci message that a newly connected ONU needs to be authenticated in a low-latency band. After the OLT obtains the SN and balanced delay, it periodically sends Assign_ONU_ID and Ranging_Time messages in the low-latency band. When the OLT receives the Ack message replied by the newly connected ONU, it stops sending messages and starts the normal OMCI message interaction and service channel configuration process. The newly connected ONU needs to write the ONU_ID and balanced delay to a power-off storage medium so that after restarting, it can obtain the ONU_ID and EQD from the power-off storage medium without relying on the auxiliary authentication device, so as to achieve rapid online and service recovery. For NGPON2 systems, ONUs can only work in one band but can switch bands. New ONUs can first report SN and measure distance in non-low-latency bands. After going online, they inform the OLT of the need to switch to a low-latency band through a private ploam message or omci message. The OLT notifies the ONU to switch bands through a Tuning_Control message. After the ONU enters the low-latency band, it needs to write the ONU_ID, EQD, and band information to a power-off storage medium so that it can quickly go online and restore services after restarting. For 50G PON and 100G PON systems, ONUs can work in multiple bands at the same time. The newly connected ONU can first report SN and measure distance in the non-low-latency band. After going online, it can inform the OLT of the serial number of the low-latency band ONU required through a private ploam message or omci message. After the OLT obtains the SN and equalization delay, it periodically sends Assign_ONU_ID and Ranging_Time messages in the low-latency band. When the OLT receives the Ack message replied by the newly connected ONU, it stops sending messages and starts the normal OMCI message interaction and service channel configuration process. The ONU writes the ONU_ID and equalization delay (EQD, Equalization Delay) of the low-latency band and the band information into a power-off storage medium so that it can achieve fast online and service recovery after restart.
[0098] After the authenticated ONU is disconnected due to power failure or other reasons, the ONU_ID and equalization delay remain unchanged, and the OLT periodically sends the registration bandwidth. The registration bandwidth is similar to the OMCI bandwidth, Alloc-Id = ONU_ID, StartTime = S, and GrantSize = 1. The ONU receives the Burst_Profile message and enters O2-3. After receiving the registration bandwidth at O2-3, the ONU sends the upstream optical signal with a delay of ResponseTime + Eqd + StartTime to respond to the registration bandwidth. After receiving the upstream optical signal of the ONU, the OLT checks whether the upstream optical signal has drift. If there is drift, it sends the Ranging_Time message to fine-tune the EQD. The ONU needs to write the fine-tuned EQD into the chip and the storage medium that can be stored in the event of power failure. If the upstream optical signal is normal, the private ploam message or omci message is used to notify the ONU to go online directly, restore normal services, and update configuration information. In the early stage of ONU offline, the OLT can appropriately shorten the period of sending the registration bandwidth, such as sending the registration bandwidth once every 1 second. When the ONU does not respond to the bandwidth for a long time, the OLT can appropriately extend the period of sending the registration bandwidth, such as sending the registration bandwidth once every 1 minute, to minimize the bandwidth occupation. When the OLT detects an abnormal optical signal, it can enable the long-light detection process, send a broadcast Disable_Serial_Number message, disable all ONUs under the low-latency line, and then enable the ONUs one by one to check which ONU optical signal has an abnormality, and finally re-enable the abnormal ONU and re-enable the normal ONU.
[0099] When the low-latency line is interrupted due to a PON port failure or other reasons, it can be switched to the backup line through Type B switching or band switching. For the Combo PON system, the OLT can pre-set the protection PON port when deploying the low-latency line. When the OLT cannot detect the upstream optical signal, all low-latency services are switched to the protection PON port. When the ONU cannot detect the downstream optical signal, it enters the O6 state. If the downstream light is detected within the TO2 time, it will directly switch back to the O5 state, stop TO2, and restore normal services; if the downstream optical signal is not detected within the TO2 time, it will enter the O2-3 state and quickly go online by registering the bandwidth. During the entire switching process, the ONU keeps the ONU_ID and EQD unchanged, and the OLT no longer performs ranging. The OLT can adjust the EQD of the ONU through the Ranging_Time message. For NGPON2, 50G PON and 100G PON systems, OLT can pre-set the protection band when deploying low-latency lines, and notify ONU through private ploam messages or omci messages. When OLT cannot detect upstream optical signals, all low-latency services are switched to the protection band. When ONU cannot detect downstream light, it switches to the protection band and enters the O6 state at the same time. If downstream light is detected within TO2 time, it directly switches back to O5 state; if downstream light is not detected within TO2 time, it enters O2-3 and quickly goes online by registering bandwidth. During the entire switching process, the ONU keeps the ONU_ID and EQD unchanged, and the OLT no longer performs ranging. The OLT can adjust the ONU's EQD through the Ranging_Time message.
[0100] For newly connected ONUs, this application implements preliminary authentication of low-latency lines through auxiliary authentication equipment or multi-band; for authenticated ONUs, OLT periodically sends registration bandwidth to achieve rapid ONU online and service recovery, so as to reduce operator network communication latency and improve user experience.
[0101] In an exemplary embodiment, Figure 2 A flowchart of an authentication method provided in the present application, which can be applied to the case where an optical line terminal OLT authenticates a newly connected optical network unit ONU, and the method can be executed by an authentication device, which can be implemented by software and / or hardware and integrated on a device. The device can be a computer device.
[0102] like Figure 2 As shown, the authentication method provided by the present application includes S210, S220 and S230.
[0103] S210: Send a first sequence number to the optical line terminal OLT in a non-low-latency band.
[0104] Specifically, if the system in which the OLT and ONU are located is an NGPON2 PON system, the OLT and ONU can support up to 8 bands between 1532.68 and 1538.19 nm for upstream and 1596.34 and 1602.31 nm for downstream, and the ONU can only work in one of the bands. The ONU can first send the first serial number to the OLT in the non-low-latency band; if the system in which the OLT and ONU are located is a 50G PON and 100G PON system, it is generally implemented through n*25G, where n represents the number of bands, that is, the OLT and ONU of the 50G PON system can support up to 2 bands at the same time, and the OLT and ONU of the 100G PON system can support up to 4 bands at the same time. The ONU can first send the first serial number to the OLT in the non-low-latency band, and after going online, inform the OLT of the second serial number in the low-latency band through a private ploam message or omci message.
[0105] S220 . Send an authentication request to the OLT in a non-low-latency band.
[0106] The ONU identifier is ONU_ID, and the ONU identifier is determined according to the first serial number or the second serial number.
[0107] The method of sending the authentication request to the OLT is that the ONU informs the OLT through a private ploam message or an omci message that a new ONU needs to be authenticated in the low-latency band.
[0108] Specifically, an authentication request is sent to the optical line terminal OLT so that the OLT periodically sends the ONU identification and balanced delay in the low-latency band. For example, the ONU informs the OLT through a private ploam message or an omci message that a new ONU needs to be authenticated in the low-latency band. After obtaining the balanced delay and serial number, the OLT periodically sends Assign_ONU_ID and Ranging_Time messages in the low-latency band, and the Ranging_Time message carries the balanced delay EQD.
[0109] S230. After acquiring the ONU identifier and equalization delay sent by the OLT, send confirmation information to the OLT, wherein the ONU identifier is determined according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band.
[0110] The confirmation information may be an Ack message.
[0111] Specifically, after receiving the ONU identification and equalization delay, the ONU sends a confirmation message to the OLT. After the OLT receives the confirmation message sent by the ONU, the authentication is completed. For example, the OLT periodically sends Assign_ONU_ID (OLT assigns ONU-ID) and Ranging_Time messages in the low-latency band. When the OLT receives the Ack message (confirmation message) replied by the newly-connected ONU, it stops sending messages and starts the normal OMCI message interaction and service channel configuration process.
[0112] The present application provides an authentication method, which sends a first serial number to an optical line terminal OLT in a non-low-latency band; sends an authentication request to the OLT in a non-low-latency band; and after obtaining an ONU identifier and a balanced delay sent by the OLT, sends confirmation information to the OLT, wherein the ONU identifier is determined according to the first serial number or a second serial number of the ONU in a low-latency band sent by the ONU in a non-low-latency band, so that a newly connected ONU can be authenticated, thereby reducing latency.
[0113] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.
[0114] In one embodiment, after sending the confirmation information to the OLT, the method further includes:
[0115] Send a band switching request to the OLT via a private message;
[0116] or,
[0117] The second sequence number of the ONU in the non-low-latency band is sent to the OLT through a private message.
[0118] Specifically, according to the different systems in which the OLT and ONU are located, after successful authentication, the operations performed by the ONU are also different. For example, if the system in which the OLT and ONU are located is NGPON2 In a PON system, the ONU can only work in one band, so the ONU can first report the first sequence number in a non-low-latency band. After receiving the first sequence number, the OLT sends a ranging request to the ONU. After receiving the ranging request, the ONU sends an upstream optical signal. The OLT calculates the balanced delay according to the time of receiving the upstream optical signal and the time of sending the ranging request to the ONU. After receiving the authentication request sent by the optical network unit ONU, the ONU identifier and the balanced delay are sent to the ONU in a non-low-latency band. After receiving the ONU identifier and the balanced delay, the ONU sends a confirmation message to the OLT. After the OLT receives the confirmation message sent by the ONU, the ONU sends a band switching request to the OLT. After receiving the band switching request sent by the ONU, the OLT generates a band switching instruction and sends the band switching instruction to the ONU. The ONU switches the working band to the low-latency band according to the band switching instruction. If the system where the OLT and the ONU are located is 50G PON and 100G In a PON system, the ONU can work in multiple bands at the same time, so the ONU can first report the first sequence number in a non-low-latency band. After receiving the first sequence number, the OLT sends a ranging request to the ONU. After receiving the ranging request, the ONU sends an upstream optical signal. The OLT calculates the balanced delay according to the time when the upstream optical signal is received and the time when the ranging request is sent to the ONU. After going online, the ONU sends a second sequence number to the OLT in a non-low-latency band. After receiving the authentication request sent by the optical network unit ONU, the ONU identifier and the balanced delay are periodically sent in the low-latency band. After receiving the ONU identifier and the balanced delay, the ONU sends a confirmation message to the OLT. After receiving the confirmation message sent by the ONU, the OLT stops sending messages and starts the normal OMCI message interaction and service channel configuration process.
[0119] In one embodiment, it further includes:
[0120] The ONU identification and the equalization delay are written into a power-off storable medium.
[0121] Specifically, after the authentication is completed, the newly connected ONU needs to write the ONU_ID and the equalization delay (EQD, EqualizationDelay) into a power-off storage medium so that it can achieve rapid online access and service recovery after restart. For example, for the Combo PON system, after the authentication is completed, the newly connected ONU needs to write the ONU_ID and balanced delay into the power-off storable medium, so that after restarting, it can obtain the ONU_ID and EQD from the power-off storable medium without relying on the auxiliary authentication device, so as to achieve rapid online and service recovery; for the NGPON2 system, after the band switching, the ONU needs to write the ONU_ID and EQD and the band information into the power-off storable medium after entering the low-latency band, so as to achieve rapid online and service recovery after restarting; for the 50G PON and 100G PON systems, after the ONU authentication is successful, the ONU_ID and balanced delay of the low-latency band need to be written into the power-off storable medium, so as to achieve rapid online and service recovery after restarting; for the authenticated ONU that goes offline due to power failure or other reasons, if the EQD needs to be fine-tuned, the ONU needs to write the fine-tuned EQD into the chip and the power-off storable medium.
[0122] In one embodiment, it further includes:
[0123] After receiving the registered bandwidth, an uplink optical signal is sent to the OLT.
[0124] Specifically, if the authenticated ONU is offline due to power failure or other reasons, the OLT periodically sends the registration bandwidth. After receiving the registration bandwidth, the ONU sends an upstream optical signal to the OLT to respond to the registration bandwidth. For example, after the authenticated ONU is offline due to power failure or other reasons, the ONU_ID and the equalization delay remain unchanged, and the OLT periodically sends the registration bandwidth. The registration bandwidth is similar to the OMCI bandwidth, where Alloc-Id = ONU_ID, StartTime = S, and GrantSize = 1. The ONU receives the Burst_Profile message and enters O2-3. After receiving the registration bandwidth at O2-3, the ONU sends an upstream optical signal with a delay of ResponseTime + Eqd + StartTime to respond to the bandwidth.
[0125] In one embodiment, it further includes:
[0126] If no downstream optical signal is received within a preset time, the low-latency service is switched to the protection band.
[0127] Specifically, if the ONU does not receive the downstream optical signal within the preset time, it means that the low-latency line service is interrupted due to a PON port failure or other reasons.
[0128] Specifically, if no downstream optical signal is received within the preset time, the low-latency service is switched to the protection band. For example, for NGPON2, 50G PON and 100G PON systems, the OLT can pre-set the protection band when deploying the low-latency line, and notify the ONU through a private ploam message or omci message. When the ONU cannot detect the downstream light, it switches to the protection band and enters the O6 state at the same time. If the downstream light is detected within the TO2 time, it directly switches back to the O5 state; if the downstream light is not detected within the TO2 time, it enters O2-3 and quickly goes online by registering the bandwidth. During the entire switching process, the ONU keeps the ONU_ID and EQD unchanged, the OLT no longer performs ranging, and the OLT can adjust the ONU's EQD through the Ranging_Time message.
[0129] In a specific example, Figure 2a As shown in the figure, Combo PON OLT is connected to GPON and XGSPON ONU. XGSPON ONU is a low-latency ONU, and band 1 is a low-latency band. Band 2 is a non-low-latency band where GPON ONU is located. When XGSPON ONU goes online for the first time, it needs to pre-report SN and measure distance in the non-low-latency band through auxiliary authentication equipment. After XGSPON ONU goes online in the low-latency band, ONU_ID and EQD are written into the power-off storage medium. The next time it goes online, it can go online quickly by registering bandwidth without relying on auxiliary authentication equipment.
[0130] like Figure 2b As shown in the figure, three NGPON2 ONUs are connected to the NGPON2 OLT, of which two are low-latency ONUs. Band 1 is a low-latency band, and bands 2, 3, and 4 are non-low-latency bands. The low-latency ONU can first perform SN reporting and ranging in the low-latency band, and switch to the low-latency band through the Tuning_Control message sent by the OLT after going online. After the ONU enters the low-latency band, the ONU_ID, EQD, and band information need to be written into the power-off storage medium, so that the next time it goes online, it can quickly go online by registering the bandwidth.
[0131] like Figure 2c As shown in the figure, 100G PON OLT is connected to 50G ONU and 100G ONU, band 1 is a low-latency band, bands 2, 3 and 4 are non-low-latency bands, and low-latency ONU can first report SN and measure distance in the non-low-latency band. After OLT obtains the registration information, it authenticates the low-latency ONU in band 1. After the ONU goes online, the ONU_ID and EQD are written into the power-off storage medium, and the next time it goes online, it can go online quickly through the registered bandwidth.
[0132] like Figure 2dAs shown in the figure, after the authenticated ONU goes offline, the OLT periodically sends the registration bandwidth, where Alloc-Id = ONU_ID, StartTime = S, GrantSize = 1. If the ONU does not respond to the registration bandwidth for a long time, the OLT can appropriately extend the period for sending the registration bandwidth. After receiving the registration bandwidth, the ONU sends the upstream optical signal with a delay of ResponseTime + Eqd + StartTime. The OLT decides whether to adjust the EQD of the ONU through the Ranging_Time message according to the drift of the ONU optical signal. If the optical signal is normal, the OLT can notify the ONU to go online directly through a private ploam message or an omci message.
[0133] like Figure 2e As shown, the following steps are included: S501: the newly connected ONU initializes the PON MAC mode and prepares for preliminary authentication; S502: determine whether the system is a Combo PON system, if so, proceed to step S506, if not, proceed to step S503; S503: determine whether the system is an NGPON2 system, if so, proceed to step S507, if not, proceed to step S504; S504: determine whether the system is a 50G PON or 100G PON system, if yes, proceed to step S508, if not, proceed to step S505; S505: non-low latency system, stop the authentication process; S506: ONU reports SN and measures distance through auxiliary authentication equipment; S507: ONU reports SN and measures distance through non-low latency band, and after going online, it can notify OLT to switch low latency band through private ploam or omci message, and OLT sends Tuning_Control message to notify ONU to switch low latency band; S508: After OLT obtains registration information, it performs preliminary authentication on ONU, and ONU writes ONU_ID and EQD into power-off storable media. For NGPON2, 50G PON and 100G PON systems, it is also necessary to write band information into power-off storable media;
[0134] like Figure 2f As shown, it includes: S601: ONU writes the stored ONU_ID, EQD and band information into the chip; S602: OLT periodically sends the registration bandwidth, and ONU responds after receiving it; S603: OLT determines whether there is drift in the upstream optical signal of the ONU, if yes, it goes to step S605, if not, it goes to step S604; S604: OLT notifies the ONU to go online through a private ploam or omci message to resume normal business; S605: OLT adjusts the EQD of the ONU through a Ranging_Time message, and the ONU updates the EQD and writes it into a power-off storage medium.
[0135] like Figure 2g As shown, it includes: S701: OLT sets a protection PON port or a protection band, and notifies the ONU of the protection band through a private ploam or omci message; S702: ONU enters the O6 state after detecting LOS. For NGPON2, 50G PON and 100G PON systems, it is necessary to switch the band at the same time; S703: Determine whether the downstream light is detected within the TO2 time, if so, enter step S705, if not, enter step S704; S704: ONU enters the O5 state, stops TO2, and resumes normal business; S705: ONU enters the O2-3 state and quickly goes online by registering bandwidth.
[0136] This application provides an authentication device. Figure 3 This is a schematic diagram of the structure of an authentication device provided by this application, which is configured in a computer device, see Figure 3 , the device comprises:
[0137] A setting module 31, configured to set at least one low-latency band and at least one non-low-latency band if the optical line terminal OLT operates in at least two bands;
[0138] An acquisition module 32, configured to acquire a balanced delay after receiving a first sequence number sent by an optical network unit ONU or an auxiliary authentication device in a non-low-latency band;
[0139] A determination module 33 is used to determine the ONU identifier according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band after receiving the authentication request sent by the ONU or the auxiliary authentication device in the non-low-latency band;
[0140] The authentication module 34 is used to authenticate the ONU according to the ONU identifier and the equalization delay.
[0141] The authentication device provided in this embodiment is used to implement the authentication method of the embodiment of the present application. The implementation principle and technical effect of the authentication device provided in this embodiment are similar to those of the authentication method of the embodiment of the present application, and will not be repeated here.
[0142] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.
[0143] In one embodiment, the acquisition module 32 is specifically used for:
[0144] After receiving the sequence number sent by the optical network unit ONU in the non-low latency band, a ranging request is sent to the ONU;
[0145] The equalization delay is determined according to the time when the uplink optical signal is sent by the ONU and the time when the ranging request is sent to the ONU.
[0146] In one embodiment, the acquisition module 32 is specifically used for:
[0147] After receiving the serial number sent by the auxiliary authentication device in the non-low latency band, sending a ranging request to the auxiliary authentication device;
[0148] The equalization delay is determined according to the time when the uplink optical signal is sent by the auxiliary authentication device and the time when the ranging request is sent to the auxiliary authentication device.
[0149] In one embodiment, the authentication module 34 is specifically used to:
[0150] Periodically sending the ONU identifier generated according to the SN and the equalization delay in the low-latency band;
[0151] Receive confirmation information sent by the ONU.
[0152] In one embodiment, the authentication module 34 is specifically used to:
[0153] Sending the ONU identifier and the equalization delay to the ONU in a non-low-latency band;
[0154] Receive confirmation information sent by the ONU.
[0155] In one embodiment, the acquisition module 31 is specifically used for:
[0156] After receiving the band switching request sent by the ONU, a band switching instruction is sent to the ONU, so that the ONU switches to the low-latency band according to the band switching instruction.
[0157] In one embodiment, the acquisition module 31 is specifically used for:
[0158] Receive the sequence number sent by the ONU in the low-latency band.
[0159] In one embodiment, it further includes:
[0160] The bandwidth delivery module is used to periodically deliver the registration bandwidth if no response from the ONU is received within a preset time;
[0161] A judgment module, configured to judge whether the difference between the reception time and the expected time of the uplink optical signal is greater than a first threshold after receiving the uplink optical signal sent by the ONU;
[0162] The adjustment module is used to adjust the equalization delay if the difference between the reception time of the uplink optical signal and the expected time is greater than a first threshold.
[0163] In one embodiment, it further includes:
[0164] A first deployment module is used to pre-deploy a protection PON port, and if no uplink optical signal is received within a preset time, the low-latency service is switched to the protection PON port;
[0165] or,
[0166] The second deployment module is used to pre-deploy a protection band and send an identifier corresponding to the protection band to the ONU. If no uplink optical signal is received within a preset time, the low-latency service is switched to the protection band.
[0167] In one embodiment, the bandwidth delivery module is specifically used for:
[0168] If no ONU response is received within the first preset time, the registration bandwidth is sent in the first cycle;
[0169] If no ONU response is received within a second preset time, the registration bandwidth is sent in a second period, wherein the second preset time is greater than the first preset time, and the second period is greater than the first period.
[0170] This application provides an authentication device. Figure 4 This is a schematic diagram of the structure of an authentication device provided by this application, which is configured in a computer device, see Figure 4 , the device comprises:
[0171] A first sending module 41, configured to send a first sequence number to an optical line terminal OLT in a non-low-latency band;
[0172] A second sending module 42, configured to send an authentication request to the OLT in a non-low-latency band;
[0173] The third sending module 43 is used to send confirmation information to the OLT after obtaining the ONU identifier and equalization delay sent by the OLT, wherein the ONU identifier is determined according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band.
[0174] The authentication device provided in this embodiment is used to implement the authentication method of the embodiment of the present application. The implementation principle and technical effect of the authentication device provided in this embodiment are similar to those of the authentication method of the embodiment of the present application, and will not be repeated here.
[0175] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.
[0176] In one embodiment, it further includes:
[0177] A switching module, used for sending a band switching request to the OLT via a private message;
[0178] or,
[0179] The fourth sending module is used to send the second serial number of the ONU in the low-latency band to the OLT through a private message.
[0180] In one embodiment, it further includes:
[0181] The writing module is used to write the ONU identification and the equalization delay into a power-off storage medium.
[0182] In one embodiment, it further includes:
[0183] The fifth sending module is used to send an uplink optical signal to the OLT after receiving the registration bandwidth.
[0184] In one embodiment, it further includes:
[0185] The switching module is used to switch the low-latency service to the protection band if no downstream optical signal is received within a preset time.
[0186] The present application provides a device, Figure 5 A schematic diagram of the structure of a device provided in this application, such as Figure 5 As shown, the device provided by the present application includes one or more processors 51 and a storage device 52; the processor 51 in the device can be one or more, Figure 3 In the embodiment, a processor 51 is taken as an example; the storage device 52 is used to store one or more programs; the one or more programs are executed by the one or more processors 51, so that the one or more processors 51 implement the embodiment of the present application. Figure 1 or Figure 2 The method described.
[0187] The device further comprises: a communication device 53 , an input device 54 and an output device 55 .
[0188] The processor 51, storage device 52, communication device 53, input device 54 and output device 55 in the device may be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.
[0189] The input device 54 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 55 may include a display device such as a display screen.
[0190] The communication device 53 may include a receiver and a transmitter. The communication device 53 is configured to perform information transmission and reception communication according to the control of the processor 51. The information includes but is not limited to uplink authorization information.
[0191] The storage device 52 is a computer-readable storage medium that can be configured to store software programs, computer executable programs, and modules, such as the embodiments of the present application. Figure 1 The program instructions / modules corresponding to the authentication method (for example, the setting module 31, the acquisition module 32, the determination module 33 and the authentication module 34 in the authentication device), or, as in the embodiment of the present application Figure 2 The program instructions / modules corresponding to the authentication method (for example, the first sending module 41, the second sending module 42, and the third sending module 42). The storage device 52 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the storage device 52 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 52 may further include a memory remotely arranged relative to the processor 51, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0192] The present application also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the authentication method described in the present application is implemented, and the method includes:
[0193] If the optical line terminal OLT operates in at least two bands, at least one low-latency band and at least one non-low-latency band are set;
[0194] After receiving the first sequence number sent by the optical network unit ONU or the auxiliary authentication device in the non-low-latency band, obtaining the balanced delay;
[0195] After receiving an authentication request sent by the ONU or the auxiliary authentication device in the non-low-latency band, determining the ONU identifier according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band;
[0196] The ONU is authenticated according to the ONU identifier and the balanced delay.
[0197] Alternatively, when the computer program is executed by a processor, the authentication method described in the embodiment of the present application is implemented, and the method includes:
[0198] A first sequence number sent to the optical line terminal OLT in a non-low-latency band;
[0199] Send an authentication request to the OLT in a non-low latency band;
[0200] After acquiring the ONU identifier and equalization delay sent by the OLT, a confirmation message is sent to the OLT, wherein the ONU identifier is determined according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band.
[0201] The computer storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, - but not limited to - electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples (non-exhaustive lists) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (Random Access Memory, RAM), read-only memories (Read Only Memory, ROM), erasable programmable read-only memories (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fibers, portable CD-ROMs, optical storage devices, magnetic storage devices, or any suitable combination of the above. Computer-readable storage media can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0202] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to: electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0203] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the above.
[0204] Computer program code for performing the operation of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0205] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.
[0206] It will be appreciated by those skilled in the art that the term user equipment encompasses any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a car-mounted mobile station.
[0207] In general, various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, microprocessor or other computing device, although the present application is not limited thereto.
[0208] Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
[0209] The block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions. A computer program may be stored on a memory. The memory may have any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory devices and systems (digital versatile discs (DVD) or compact disks (CD)), etc. Computer-readable media may include non-transient storage media. A data processor may be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FGPAs) and a processor based on a multi-core processor architecture.
[0210] By way of exemplary and non-limiting examples, a detailed description of exemplary embodiments of the present application has been provided above. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, but will not depart from the scope of the present application. Therefore, the proper scope of the present application will be determined according to the claims.
Claims
1. An authentication method, characterized in that: include: If the optical line terminal OLT operates in at least two bands, at least one low-latency band and at least one non-low-latency band are set; After receiving the first sequence number sent by the optical network unit ONU or the auxiliary authentication device in the non-low-latency band, obtaining the balanced delay; After receiving an authentication request sent by the ONU or the auxiliary authentication device in the non-low-latency band, determining the ONU identifier according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band; Authenticating the ONU according to the ONU identifier and the balanced delay; The authentication method further includes: If no ONU response is received within the preset time, the registration bandwidth is periodically sent; After receiving the uplink optical signal sent by the ONU, determine whether the difference between the reception time of the uplink optical signal and the expected time is greater than a first threshold; If the difference between the reception time of the uplink optical signal and the expected time is less than or equal to the first threshold, the ONU is notified to go online again through the registered bandwidth according to the pre-stored balanced delay.
2. The method according to claim 1, characterized in that After receiving the sequence number sent by the optical network unit ONU in the non-low latency band, obtaining the balanced latency includes: After receiving the sequence number sent by the optical network unit ONU in the non-low latency band, a ranging request is sent to the ONU; The equalization delay is determined according to the time when the uplink optical signal is sent by the ONU and the time when the ranging request is sent to the ONU.
3. The method according to claim 1, characterized in that: After receiving the serial number sent by the auxiliary authentication device in the non-low latency band, obtaining the balanced latency includes: After receiving the serial number sent by the auxiliary authentication device in the non-low latency band, sending a ranging request to the auxiliary authentication device; The equalization delay is determined according to the time when the uplink optical signal is sent by the auxiliary authentication device and the time when the ranging request is sent to the auxiliary authentication device.
4. The method according to any one of claims 1 to 3, characterized in that: Authenticating the ONU according to the ONU identifier and the balanced delay includes: Periodically sending the ONU identifier generated according to the serial number SN and the equalization delay in the low-latency band; Receive confirmation information sent by the ONU.
5. The method according to claim 2, characterized in that: Authenticating the ONU according to the ONU identifier and the balanced delay includes: Sending the ONU identifier and the equalization delay to the ONU in a non-low-latency band; Receive confirmation information sent by the ONU.
6. The method according to claim 5, characterized in that After receiving the confirmation information sent by the ONU, it also includes: After receiving the band switching request sent by the ONU, a band switching instruction is sent to the ONU, so that the ONU switches to the low-latency band according to the band switching instruction.
7. The method according to claim 1, characterized in that Also includes: If the difference between the reception time of the uplink optical signal and the expected time is greater than a first threshold, the equalization delay is adjusted.
8. The method according to claim 1, characterized in that After receiving the confirmation information sent by the ONU, it also includes: A protection PON port is pre-deployed, and if no upstream optical signal is received within a preset time, the low-latency service is switched to the protection PON port; or, A protection band is deployed in advance, and an identifier corresponding to the protection band is sent to the ONU. If no uplink optical signal is received within a preset time, the low-latency service is switched to the protection band.
9. The method according to claim 1, characterized in that: If no ONU response is received within the preset time, the registration bandwidth is periodically sent including: If no ONU response is received within the first preset time, the registration bandwidth is sent in the first cycle; If no ONU response is received within a second preset time, the registration bandwidth is sent in a second period, wherein the second preset time is greater than the first preset time, and the second period is greater than the first period.
10. An authentication method, characterized in that: include: A first sequence number sent to the optical line terminal OLT in a non-low-latency band; Send an authentication request to the OLT in a non-low latency band; After acquiring the ONU identifier and the equalization delay sent by the OLT, sending confirmation information to the OLT, wherein the ONU identifier is determined according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band; The authentication method further includes: After receiving the registered bandwidth, sending an uplink optical signal to the OLT; When receiving the re-online message notified by the OLT, re-online is performed through the registered bandwidth according to the pre-stored balanced delay.
11. The method according to claim 10, characterized in that After sending the confirmation information to the OLT, the method further includes: Send a band switching request to the OLT via a private message; or, The second sequence number of the ONU in the low-latency band is sent to the OLT through a private message.
12. The method according to claim 10, characterized in that Also includes: The ONU identification and the equalization delay are written into a power-off storable medium.
13. The method according to claim 10, characterized in that Also includes: If no downstream optical signal is received within a preset time, the low-latency service is switched to the protection band.
14. An authentication device, characterized in that: include: A setting module, configured to set at least one low-latency band and at least one non-low-latency band if the optical line terminal OLT operates in at least two bands; Acquisition module for obtaining balanced delay after receiving the first sequence number sent by the optical network unit ONU or auxiliary authentication device in a non-low-latency band; A determination module, configured to determine the ONU identifier according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band after receiving the authentication request sent by the ONU or the auxiliary authentication device in the non-low-latency band; An authentication module, used for authenticating the ONU according to the ONU identifier and the equalization delay; Wherein, the authentication device further includes: The bandwidth delivery module is used to periodically deliver the registration bandwidth if no response from the ONU is received within a preset time; A judgment module, configured to judge whether the difference between the reception time and the expected time of the uplink optical signal is greater than a first threshold after receiving the uplink optical signal sent by the ONU; The adjustment module is used to notify the ONU to go online again through the registered bandwidth according to the pre-stored balanced delay if the difference between the reception time of the uplink optical signal and the expected time is less than or equal to the first threshold.
15. An authentication device, characterized in that: include: A first sending module, configured to send a first sequence number to an optical line terminal OLT in a non-low-latency band; A second sending module, used for sending an authentication request to the OLT in a non-low-latency band; A third sending module is used to send confirmation information to the OLT after acquiring the ONU identifier and the equalization delay sent by the OLT, wherein the ONU identifier is determined according to the first serial number or the second serial number of the ONU in the low-latency band sent by the ONU in the non-low-latency band; Wherein, the authentication device further includes: The fifth sending module is used to send an uplink optical signal to the OLT after receiving the registered bandwidth, and to go back online through the registered bandwidth according to the pre-stored equalization delay when receiving the re-online message notified by the OLT.
16. An authentication device, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 13.
17. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 13 is implemented.
