Port detection method, optical network device, and passive optical network system
Patent Information
- Application Number
- MYPI2022002046
- Authority / Receiving Office
- MY · MY
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-03-24
- Filing Date
- 2020-08-25
- Publication Date
- 2026-07-02
- Estimated Expiration
- 2040-08-25
AI Technical Summary
In passive optical network systems, operators cannot accurately determine the port to which the optical network unit (ONU) is connected and require manual recording, resulting in low efficiency and high possibility of errors.
By transmitting optical signals of multiple wavelengths between the OLT and the ONU, the ONU feedbacks the optical power value of the optical signal. The OLT determines the port information of the optical splitter based on these values, and uses the reflection point or transmission point to adjust the optical signal power to achieve fast and accurate Port detection.
It improves the detection efficiency and accuracy of ONU access ports, reduces the dependence on manual records, updates port information in a timely manner, and can detect accurately even if the ONU changes access ports.
Abstract
Description
Method for port detection, optical network device and passive optical network system
[0001] The present application claims priority to the Chinese Patent Application No. 201911013929.7, filed on October 23, 2019, entitled “A Method and Device for Port Detection”, and the Chinese Patent Application No. 202010212535.0, filed on March 24, 2020, entitled “A Method for Port Detection, Optical Network Device and Passive Optical Network System”, the contents of which are incorporated herein by reference in their entirety. TECHNICAL FIELD
[0002] The present application relates to the field of communication, and in particular, to a method for port detection, an optical network device and a passive optical network system. BACKGROUND
[0003] In a passive optical network (PON) system, there are at least three devices: an optical line termination (OLT), an optical distribution network (ODN) and an optical network unit (ONU). The ODN can include one or more splitters, which are divided into one or more levels of splitting. For example, the first level of splitting includes a splitter 1, which equally divides the received optical signal power and transmits it to a splitter 2 and a splitter 3 connected to the output end of the splitter 1, which are the second level of splitting. Then, the splitter 2 and the splitter 3 equally divide the received optical signal power and transmit it to the ONT connected to the output end of the splitter 2 and the splitter 3, respectively. The output end of the last splitter in the ODN is the output port of the ODN, and the ONT is connected to the output port of the ODN.
[0004] However, the operator or central office (CO) cannot know the port of the ODN to which each ONU is connected, or needs to record manually to determine the port of the ODN to which each ONU is connected. Therefore, how to accurately determine the port of the ODN accessed by the ONU becomes a problem to be solved.
[0005] SUMMARY
[0006] The present application provides a method for port detection, an optical network device and a passive optical network system, which are used to quickly and accurately detect the port accessed by the ONU and improve the efficiency of determining the port accessed by the ONU.
[0007] In view of this, the first aspect of this application provides a method for port detection, comprising:
[0008] The OLT receives the optical power value of each of the N wavelengths of the optical signal sent by the first ONU. These N wavelengths are the wavelengths of the optical signal received by the first ONU. These N wavelengths are all different, and N is a positive integer. The OLT determines the port information of the splitter corresponding to the first ONU based on the optical power value of each wavelength.
[0009] Therefore, in this embodiment, after receiving the N wavelengths of optical signals, each ONU can determine the optical power of each wavelength and feed back the optical power value of each wavelength to the OLT. The N wavelengths of optical signals can be all or part of the optical signals received by each ONU. The OLT can determine the port information of the splitter corresponding to each ONU based on the optical power value of each wavelength fed back by each ONU. Therefore, the OLT can accurately determine the port information of the splitter corresponding to each ONU based on the optical power value of each wavelength fed back by the ONU.
[0010] Optionally, the first ONU may send the optical power value of each of the N wavelengths to the OLT after receiving optical signals of N wavelengths, or it may send the optical power value of one or more of the received optical signals to the OLT after receiving optical signals of one or more of the N wavelengths.
[0011] Optionally, in one possible implementation, the N wavelength optical signals received by the first ONU can be transmitted to the first ONU by an OLT, such as an OLT that integrates a laser or a tunable laser. Alternatively, the N wavelength optical signals received by the first ONU can be transmitted to the first ONU by a separately configured laser. Therefore, in this embodiment, N wavelength optical signals can be transmitted to the first ONU in various ways.
[0012] Optionally, in one possible implementation, if N is greater than K, the OLT determines the port information of the splitter corresponding to the first ONU based on the optical power value of the optical signal at each wavelength, which may include:
[0013] If there is a difference greater than a threshold value among the differences between the values of the optical powers of the optical signals of the N wavelengths, the OLT determines K values of the optical powers with the lowest values of the optical powers from the values of the optical powers of the optical signals of the N wavelengths corresponding to the N wavelengths, the values of the optical powers of the optical signals of the N wavelengths including the values of the optical powers of the optical signals of each of the N wavelengths received by the first ONU, K being a positive integer; the OLT determines the wavelengths of the optical signals corresponding to the K values of the optical powers one by one to obtain K wavelengths; and the OLT determines the port information of the optical splitter corresponding to the first ONU according to the K wavelengths.
[0014] In the embodiment, the OLT can determine K values of the optical powers with the lowest values of the optical powers from the values of the optical powers of the optical signals of the N wavelengths fed back by the first ONU, and determine the port information of the optical splitter corresponding to the first ONU according to the K values of the optical powers. Therefore, the application can accurately determine the port information of the optical splitter corresponding to the first ONU by using the lowest values of the optical powers. Compared with manual recording, the application can significantly improve the accuracy of determining the port of the optical splitter corresponding to the first ONU and improve the efficiency of port detection. Even if the first ONU replaces the accessed port, the OLT can accurately determine the port information of the optical splitter corresponding to the first ONU in time.
[0015] Optionally, in a possible implementation, K is not 0, the optical signals corresponding to the K wavelengths are transmitted to the first ONU through an optical distribution network (ODN), the ODN is provided with at least one optical splitter, each of a plurality of branch ends of each of the at least one optical splitter is provided with a reflection point, the reflection point is used for reflecting the optical signal of the first preset wavelength, and the plurality of branch ends are all or part of the branch ends of the each optical splitter. The OLT can determine the port information of the optical splitter corresponding to the first ONU according to the K wavelengths, which can include: the OLT determines information of at least K reflection points according to the K wavelengths, the at least K reflection points reflecting the optical signals of the K wavelengths, wherein each of the at least K reflection points reflects the optical signal of one of the K wavelengths; and the OLT determines the port information of the optical splitter corresponding to the first ONU according to the information of the at least K reflection points.
[0016] In the embodiments of the present application, the method can be applied to a PON system, which can include an OLT and an ODN, the ODN can include at least one optical splitter, and each of the at least one optical splitter can be provided with a reflection point at a plurality of branch ends, the reflection point can be used to reflect an optical signal of a first preset wavelength, reduce the value of the optical power of the optical signal of the first preset wavelength, so that the value of the optical power of the optical signal received by the first ONU is lower than the value of the optical power of the optical signal without being reflected by the reflection point, and then the port information of the optical splitter corresponding to the first ONU is determined. Therefore, in the embodiments of the present application, the reflection points are arranged at the plurality of branch ends of the optical splitter, so that the optical signal of the first preset wavelength is partially reflected, and the optical power of the optical signal of the first preset wavelength received by the first ONU is reduced, so that the OLT can identify which wavelengths of the optical signal are reflected by the reflection points according to the K wavelengths corresponding to the K values of the optical power corresponding to the K values of the optical power with the lowest values, obtain the information of at least K reflection points corresponding to the K wavelengths, and then accurately determine the port information of the optical splitter corresponding to the first ONU. Compared with manually recording the port number, the present application can significantly improve the accuracy of determining the port of the optical splitter corresponding to the first ONU, improve the efficiency of port detection, and even if the first ONU replaces the accessed port, the OLT can accurately determine the port information of the optical splitter corresponding to the first ONU in time.
[0017] Optionally, in a possible implementation, if N is greater than L, the OLT can determine the port information of the optical splitter corresponding to the first ONU according to the value of the optical power of the optical signal of each wavelength, which can include:
[0018] If there is a difference greater than a threshold value among the differences between the values of the optical power of the N wavelengths of the optical signal, the OLT can determine L values of the optical power with the highest values from the values of the optical power of the optical signal corresponding to the N wavelengths, the values of the optical power of the optical signal corresponding to the N wavelengths include the values of the optical power of the optical signal of each wavelength in the N wavelengths received by the first ONU, L is a positive integer; the OLT determines the wavelengths of the optical signal corresponding to the L values of the optical power one by one to obtain L wavelengths; and the OLT determines the port information of the optical splitter corresponding to the first ONU according to the L wavelengths.
[0019] In the embodiments of the present application, the port information of the optical splitter directly or indirectly connected to the first ONU can be determined by selecting the highest value of the optical power, compared with manual recording, the present application can significantly improve the accuracy of determining the port of the optical splitter corresponding to the first ONU, improve the efficiency of port detection, and even if the first ONU replaces the accessed port, the OLT can accurately determine the port information of the optical splitter corresponding to the first ONU in time.
[0020] Optionally, in a possible implementation, the optical signals corresponding to the L wavelengths are transmitted to the first ONU via an optical distribution network (ODN), and the ODN is provided with at least one optical splitter, and each of the at least one optical splitter is provided with a plurality of branch ends, and each of the branch ends is provided with a transmission point, and the transmission point is configured to transmit the optical signal of the second preset wavelength; the OLT determines the port information of the optical splitter corresponding to the first ONU according to the L wavelengths, which can include: the OLT determines the information of the at least one transmission point according to the L wavelength information fed back by the first ONU, and the at least one transmission point transmits the optical signals of the L wavelengths; and the OLT determines the port information of the optical splitter corresponding to the first ONU according to the information of the at least one transmission point.
[0021] The method provided in the application can be applied to a PON system, which can include an OLT and an ODN, the ODN can include at least one optical splitter, and each of the at least one optical splitter has at least one branch end, and the plurality of branch ends are provided with transmission points, the transmission points can be configured to transmit the optical signal of the second preset wavelength and reflect the optical signal of the non-second preset wavelength, reduce the value of the optical power of the optical signal of the non-second preset wavelength, so that the value of the optical power of the optical signal received by the first ONU is higher than the value of the optical power of the reflected optical signal, and then the port information of the optical splitter corresponding to the first ONU is determined. Therefore, the transmission points are arranged at each of the plurality of branch ends of the optical splitter in the embodiments of the application, so that only the optical signal of the second preset wavelength is transmitted, the value of the optical power of the optical signal of the second preset wavelength is higher than the value of the optical power of the optical signal of other wavelengths, so that the OLT can identify which wavelengths of the optical signals are transmitted via the transmission points according to the K wavelengths corresponding to the L values of the optical power with the highest values of the optical power, obtain the information of the at least L transmission points corresponding to the L wavelengths, and then accurately determine the port information of the optical splitter corresponding to the first ONU. Compared with manually recording the port number, the application can significantly improve the accuracy of determining the port of the optical splitter corresponding to the first ONU, improve the efficiency of port detection, and even if the port accessed by the first ONU is replaced, the OLT can accurately determine the port information of the optical splitter corresponding to the first ONU in time.
[0022] Optionally, in a possible implementation, if N is greater than K or N is greater than L, and the difference between the values of the optical powers of the optical signals of the N wavelengths is not greater than the threshold value, the OLT determines that the port of the optical splitter corresponding to the first ONU is included in at least one preset port, and the at least one preset port is a port of at least one optical splitter. For example, when the port of the optical splitter connected to the first ONU is not provided with a reflection point, the values of the optical powers of the N wavelengths of the optical signals received by the first ONU are close to or the same, and thus the difference between the values of the optical powers of the N wavelengths is small, which is less than the threshold value, and it can be determined that the port connected to the first ONU is the port not provided with the reflection point.
[0023] In a possible implementation, if N is equal to K or N is equal to L, the OLT can directly determine the port information of the optical splitter corresponding to the first ONU according to the N wavelengths and the preset mapping relationship between the wavelengths and the ports. Thus, in the implementation of the present application, the first ONU can determine the K optical powers with the lowest values or the L optical powers with the highest values in the received optical signals, and the OLT does not need to perform screening, and the ONU directly feeds back the K optical powers or the L optical powers or the K wavelengths or the L wavelengths to the OLT, thereby reducing the workload of the OLT.
[0024] The OLT can also directly receive the K wavelengths or the L wavelengths fed back by the first ONU, and thus determine the port information of the optical splitter corresponding to the first ONU according to the received K wavelengths or L wavelengths and the mapping relationship between the wavelengths and the ports.
[0025] Optionally, in a possible implementation, the first optical signal received by the first ONU includes a main signal and a slave signal, and the value of the optical power of the main signal is greater than the value of the optical power of the slave signal. For example, if the ODN includes a first-order splitting and a second-order splitting, the first optical signal is transmitted to the first ONU through the first-order splitting and the second-order splitting, the first ONU receives the main signal of the first optical signal, and the first optical signal is reflected to the first-order splitting in the second-order splitting after the first-order splitting, and then is reflected through the first-order splitting and is transmitted to the first ONU through the second-order splitting, so that the first ONU receives the slave signal of the first optical signal. The first optical signal is an optical signal corresponding to one of the K wavelengths; and the OLT determining the K optical powers with the lowest values from the values of the optical powers of the optical signals corresponding to the N wavelengths can include: the OLT determining the K optical powers with the lowest values from the values of the optical powers of the optical signals corresponding to the N wavelengths based on the value of the optical power of the main signal of the first optical signal.
[0026] In the embodiments of the present application, the first ONU can receive a main signal and a slave signal of the first optical signal, the value of the optical power of the main signal is greater than the value of the optical power of the slave signal, and the main signal is received by the first ONU before the slave signal. When determining the values of the K optical powers, the OLT determines the values of the K optical powers based on the value of the optical power of the main signal without referring to the value of the optical power of the slave signal, so that the values of the optical powers determined can be avoided to be too much, and the accuracy of determining the port of the optical splitter corresponding to the first ONU can be improved.
[0027] Optionally, in a possible implementation, the port information includes information of a first port corresponding to the first optical signal, and the information of the first port corresponding to the first optical signal is determined by the OLT based on information of the slave signal, and the information of the slave signal is sent by the first ONU to the OLT. In the embodiments of the present application, the ONU can send the information of the slave signal of the first optical signal received to the OLT, for example, the value of the optical power of the slave signal or the indication information indicating that the first optical signal has the slave signal. The OLT can determine the port information corresponding to the first optical signal based on the information of the slave signal and the values of the K optical powers, so that the port information of the optical splitter corresponding to the first ONU can be more accurately determined. Therefore, after the values of the K optical powers with the lowest values of the optical powers are determined based on the value of the optical power of the main signal, the port information corresponding to the first optical signal can be further determined according to the information of the slave signal. Compared with manually recording the port number, the present application can significantly improve the accuracy of determining the port of the optical splitter corresponding to the first ONU, and improve the efficiency of port detection. Even if the first ONU replaces the accessed port, the OLT can timely and accurately determine the port information of the optical splitter corresponding to the first ONU.
[0028] Optionally, in a possible implementation, the OLT sends an indication information to the at least one ONU, the indication information is used to indicate that the laser sends a second optical signal, and the indication information includes information of a wavelength of the second optical signal, and the second optical signal is an optical signal corresponding to any one of the N wavelengths. In the embodiments of the present application, the OLT can control the laser to send the optical signal of any one of the N wavelengths by sending the indication information, and the indication information also carries the information of the corresponding wavelength, so that the laser can accurately send the optical signal of each wavelength.
[0029] Optionally, in a possible implementation, before the OLT sends the indication information, the method can further include: the OLT sends the information of the wavelength of the second optical signal to the at least one ONU.
[0030] In the embodiments of the present application, the OLT can send the information of each wavelength of the N wavelengths to the at least one ONU, that is, the information of the wavelength of the second optical signal, so that the at least one ONU can accurately receive the second optical signal.
[0031] Optionally, in a possible implementation, the method further comprises: the OLT receiving the identification information of the first ONU. In the embodiments of the present application, the first ONU can send the identification information of the first ONU, such as the identification number of the first ONU, the device name of the first ONU, the serial number of the first ONU, etc., to the OLT, so that the OLT can identify the first ONU. The identification of the first ONU can be carried in the information of the optical power value or can be sent to the OLT separately.
[0032] The second aspect of the present application provides a port detection method, comprising:
[0033] The optical network unit (ONU) receives an optical signal of each wavelength in N wavelengths, the N wavelengths are different from each other, and N is a positive integer; the ONU determines a value of the optical power of the received optical signal of each wavelength in the N wavelengths; the ONU generates at least one feedback information according to the value of the optical power of the optical signal of each wavelength in the N wavelengths; and the ONU sends the at least one feedback information to an optical line terminal (OLT) to make the OLT determine port information of a splitter corresponding to the ONU according to the at least one feedback information. In the embodiments of the present application, the ONU can receive an optical signal of each wavelength in N wavelengths, and generate at least one feedback information according to the value of the optical power of the optical signal of each wavelength, and send it to the OLT. So that the OLT can accurately determine the port information of the splitter corresponding to the ONU according to the at least one feedback information, relative to manually recording the port number, the present application can accurately detect the port of the splitter corresponding to the ONU, improve the accuracy of the port information, and improve the efficiency of the port detection.
[0034] In addition, in addition to receiving an optical signal of each wavelength in N wavelengths, the ONU can also receive more wavelengths of optical signals. It can be understood that the N wavelengths of optical signals can be all or part of the optical signals received by the ONU.
[0035] Optionally, in a possible implementation, the at least one feedback information comprises the value of the optical power of the optical signal of each wavelength in the N wavelengths. So that the OLT can determine the port information of the splitter corresponding to the ONU according to the value of the optical power of each wavelength in the N wavelengths.
[0036] In a possible implementation, if N is greater than K, the at least one feedback information can comprise the values of the K optical powers with the lowest values or the K wavelengths corresponding to the values of the K optical powers with the lowest values. In the embodiments of the present application, the OLT can determine the port of the splitter corresponding to the ONU according to the K wavelengths corresponding to the values of the K optical powers with the lowest values and the preset mapping relationship between the wavelengths and the ports, without the need to screen the values of the optical powers of the N optical signals, thereby reducing the workload of the OLT.
[0037] In a possible implementation, if N is greater than L, the at least one feedback information can include values of L optical powers with the highest values or L wavelengths corresponding to the values of the L optical powers with the highest values. In the implementation of the present application, the OLT can determine the port of the optical splitter corresponding to the ONU according to the L wavelengths corresponding to the values of the L optical powers with the highest values and the preset mapping relationship between the wavelengths and the ports, without screening the values of the optical powers of the N optical signals, thereby reducing the workload of the OLT.
[0038] In a possible implementation, the at least one feedback information can include the port number of the optical splitter corresponding to the ONU. In the implementation of the present application, the OLT issues the preset mapping relationship between the wavelengths and the ports to the ONU, the ONU determines the corresponding K or L wavelengths according to the K lowest optical power values or the L highest optical power values, determines the port of the optical splitter corresponding to the ONU according to the mapping relationship between the wavelengths and the ports, and feeds back to the OLT, so that the OLT does not need to perform screening, thereby reducing the workload of the OLT.
[0039] Optionally, in a possible implementation, the N optical signals of the wavelengths received by the ONU can be sent to the ONU by the OLT, such as the OLT integrated with a laser or a tunable laser, and the N optical signals of the wavelengths received by the ONU can also be sent to the ONU by an independently arranged laser. Therefore, in the implementation of the present application, the N optical signals of the wavelengths can be sent to the ONU in various ways.
[0040] Optionally, in a possible implementation, if N is greater than K, the ONU generates the at least one feedback information according to the values of the optical powers of the optical signals of each of the N wavelengths, which can include:
[0041] If there is a difference greater than a threshold value among the differences between the values of the optical powers of the N optical signals of the wavelengths, the ONU determines K optical power values with the lowest values from the values of the optical powers of the optical signals of the N wavelengths corresponding to the N wavelengths, the values of the optical powers of the optical signals of the N wavelengths include the values of the optical powers of the optical signals of each of the N wavelengths received by the ONU, and K is a positive integer; the ONU determines the wavelengths of the optical signals corresponding to the K optical power values one by one to obtain K wavelengths; the ONU determines the port information of the optical splitter corresponding to the ONU according to the K wavelengths; and the ONU generates the at least one feedback information, and the at least one feedback information includes the port information of the optical splitter corresponding to the ONU. In the implementation of the present application, the ONU can determine the port information of the optical splitter corresponding to the ONU and send the port information to the OLT, so that the OLT can accurately determine the port information of the ONU and reduce the workload of the OLT.
[0042] Optionally, in a possible implementation, the K wavelengths of optical signals are transmitted to the ONU through the ODN, and the ODN is provided with at least one optical splitter, each of the at least one optical splitter is provided with a reflection point in each of a plurality of branch ends of the optical splitter, the plurality of branch ends are all or part of the branch ends of the optical splitter, and the reflection point is used for reflecting the optical signal of the first preset wavelength. The ONU determines the port information of the corresponding optical splitter of the ONU according to the K wavelengths, which can include:
[0043] The ONU determines the information of at least K reflection points according to the K wavelengths, and the at least K reflection points reflect the optical signals of the K wavelengths, wherein each of the at least K reflection points reflects the optical signal corresponding to one of the K wavelengths; and the ONU determines the port information of the corresponding optical splitter of the ONU according to the information of the at least K reflection points.
[0044] In the embodiments of the present application, the method provided can be applied to a PON system, the PON system can include an ODN, the ODN can include at least one optical splitter, and each of the at least one optical splitter has at least one branch end, all or part of the branch ends are provided with a reflection point, the reflection point can be used for reflecting the optical signal of the first preset wavelength, reducing the value of the optical power of the optical signal of the first preset wavelength, so that the value of the optical power of the optical signal received by the first ONU is lower than the value of the optical power of the optical signal not reflected by the reflection point, and the port information of the optical splitter corresponding to the first ONU is determined.
[0045] Optionally, in a possible implementation, the first optical signal includes a main signal and a slave signal, and the value of the optical power of the main signal is greater than the value of the optical power of the slave signal. The first optical signal is an optical signal of one of the K wavelengths; and the ONU determines the K lowest values of the optical power from the values of the optical power of the optical signals corresponding to the N wavelengths, which can include: the ONU determines the K lowest values of the optical power from the values of the optical power of the optical signals corresponding to the N wavelengths based on the value of the optical power of the optical power of the main signal of the first optical signal.
[0046] Optionally, in a possible implementation, if N is greater than L, the ONU determines the port information of the optical splitter corresponding to the ONU according to the values of the optical powers of the optical signals of each wavelength, which can include: if there is a difference greater than a threshold value among the differences between the values of the optical powers of the N wavelengths, the ONU determines L values of the highest optical powers from the values of the optical powers of the optical signals of the N wavelengths corresponding to the N wavelengths, the values of the optical powers of the optical signals of the N wavelengths include the values of the optical powers of the optical signals of each wavelength in the N wavelengths received by the ONU, and L is a positive integer; the ONU determines the wavelengths of the optical signals corresponding to the L values of the optical powers one by one to obtain L wavelengths; and the ONU determines the port information of the optical splitter corresponding to the ONU according to the L wavelengths.
[0047] In the implementation of the present application, the port information of the optical splitter directly or indirectly connected to the ONU can be determined by selecting the value of the highest optical power, which can significantly improve the accuracy of determining the port of the optical splitter corresponding to the ONU and improve the efficiency of port detection compared with manual recording. Even if the port accessed by the ONU is replaced, the ONU can accurately determine the port information of the optical splitter corresponding to the ONU in time.
[0048] Optionally, in a possible implementation, the optical signals corresponding to the L wavelengths are transmitted to the ONU through an optical distribution network (ODN), at least one optical splitter is arranged in the ODN, a plurality of branch ends of each of the at least one optical splitter are provided with transmission points, and the transmission points are used for transmitting the optical signals of the second preset wavelength; the ONU determines the port information of the optical splitter corresponding to the ONU according to the L wavelengths, which can include: the ONU determines the information of at least one transmission point according to the L wavelength information fed back by the ONU, the at least one transmission point forms transmission for the optical signals of the L wavelengths; and the ONU determines the port information of the optical splitter corresponding to the ONU according to the information of the at least one transmission point.
[0049] The method provided in the application can be applied to a PON system, which can include an ONU and an ODN, the ODN can include at least one optical splitter, and each of the at least one optical splitter has at least one branch end, and a plurality of branch ends are provided with transmission points, which can be used to transmit optical signals of a second preset wavelength and reflect optical signals of a non-second preset wavelength, reduce the value of the optical power of the optical signals of the non-second preset wavelength, so that the value of the optical power of the optical signals received by the ONU is higher than the value of the optical power of the reflected optical signals, and then the port information of the optical splitter corresponding to the ONU is determined. Therefore, in the embodiments of the application, the transmission points are arranged in each of the plurality of branch ends of the optical splitter, so that only the optical signals of the second preset wavelength are transmitted, and the value of the optical power of the optical signals of the second preset wavelength is higher than the value of the optical power of the optical signals of other wavelengths, so that the ONU can identify which wavelengths of the optical signals are transmitted through the transmission points according to the K wavelengths corresponding to the L values of the optical power with the highest values of the optical power, obtain the information of at least L transmission points corresponding to the L wavelengths, and then accurately determine the port information of the optical splitter corresponding to the ONU. Compared with manually recording the port number, the application can significantly improve the accuracy of determining the port of the optical splitter corresponding to the ONU and improve the efficiency of port detection. Even if the port accessed by the ONU is replaced, the ONU can timely and accurately determine the port information of the optical splitter corresponding to the ONU.
[0050] Optionally, in a possible implementation, if the difference between the values of the optical power of the N wavelengths of optical signals is not greater than the threshold value, the ONU determines that the port of the optical splitter corresponding to the ONU is included in at least one preset port, and the at least one preset port is a port of at least one optical splitter. For example, when the port of the optical splitter connected by the first ONU is not provided with a reflection point or a transmission point, the values of the optical power of the N wavelengths of optical signals received by the first ONU are close to or the same, and therefore the difference between the values of the optical power of the N wavelengths of optical signals is small and less than the threshold value, so it can be determined that the port connected by the first ONU is a port without a reflection point or a transmission point.
[0051] In the embodiments of the application, the first ONU can receive a main signal and a slave signal of the first optical signal, the value of the optical power of the main signal is greater than the value of the optical power of the slave signal, and the main signal is received by the first ONU before the slave signal. When determining the K values of the optical power, the ONU is based on the value of the optical power of the main signal and does not refer to the value of the optical power of the slave signal, so that the determined value of the optical power is avoided to be too much, and the accuracy of determining the port of the optical splitter corresponding to the first ONU is improved.
[0052] Optionally, in a possible implementation, the port information includes information of a first port corresponding to the first optical signal, and the information of the first port corresponding to the first optical signal is determined by the ONU based on information of a downstream signal, which is sent by the first ONU to the OLT. In the implementation of the present application, the ONU can determine the port information corresponding to the first optical signal based on the information of the downstream signal, and can more accurately determine the port information of the optical splitter corresponding to the ONU. Therefore, after the K optical powers with the lowest optical power values are determined based on the optical power values of the upstream signals, the port information corresponding to the first optical signal can be further determined according to the information of the downstream signal.
[0053] Optionally, in a possible implementation, before the ONU receives the optical signal of each of the N wavelengths, the method further includes: receiving, by the ONU, information of a wavelength of a second optical signal sent by the OLT, the second optical signal being an optical signal of any one of the N wavelengths. In the implementation of the present application, the OLT can send information of each of the N wavelengths, i.e., information of the wavelength of the second optical signal, to at least one ONU, so that the at least one ONU can accurately receive the second optical signal.
[0054] Optionally, in a possible implementation, the method further includes: sending, by the ONU, identification information of the ONU to the OLT. In the implementation of the present application, the ONU can send the identification information of the ONU, such as an identification number of the ONU, a name of the ONU, a number of the ONU, etc., to the OLT, so that the OLT can identify the ONU. The identification information of the ONU can be carried in the at least one feedback information, or can be sent to the OLT separately.
[0055] The third aspect of the present application provides a passive optical network (PON) system, including: an optical distribution network (ODN) and at least one optical network unit (ONU); the at least one ONU is connected to at least one port of the ODN respectively, and each ONU in the at least one ONU is connected to a different port of the ODN; the ODN includes at least one optical splitter; each optical splitter in the at least one optical splitter is provided with a reflection point at a plurality of branch ends of the optical splitter, the reflection point is used for reflecting an optical signal of a first preset wavelength, and the plurality of branch ends are all or part of branch ends of the optical splitter.
[0056] Optionally, in a possible implementation, the PON system further includes an optical line terminal (OLT);
[0057] An output end of the OLT is connected to a trunk end of the ODN;
[0058] The first ONU is also configured to send at least one feedback information to the OLT, the at least one feedback information being generated by the first ONU according to a value of an optical power of an optical signal of each of the N wavelengths, the first ONU being any one of the at least one ONU, the N wavelengths being different from each other, and N being a positive integer;
[0059] The OLT is also configured to determine the port information of the optical splitter corresponding to the first ONU according to the at least one feedback information.
[0060] In the embodiments of the present application, the ONU can receive an optical signal of each of the N wavelengths, and generate at least one feedback information according to a value of an optical power of the optical signal of each of the N wavelengths, and send the at least one feedback information to the OLT. The optical signal of each of the N wavelengths can be all or part of the optical signals received by the ONU. Thus, the OLT can accurately determine the port information of the optical splitter corresponding to the ONU according to the at least one feedback information, and the accuracy of the port information and the efficiency of the monitoring of the port information can be improved compared with manually recording the port number.
[0061] Optionally, in a possible implementation, the optical signal of each of the N wavelengths received by the first ONU can be sent to the first ONU by the OLT, such as the OLT internally integrating a laser or a tunable laser, etc. The optical signal of each of the N wavelengths received by the first ONU can also be sent to the first ONU by a laser independently arranged. Thus, in the embodiments of the present application, the optical signal of each of the N wavelengths can be sent to the first ONU in various ways.
[0062] Optionally, in a possible implementation, the at least one feedback information includes a value of an optical power of an optical signal of each of the N wavelengths received by the first ONU; if N is greater than K, and there is a difference greater than a threshold value among the differences between the values of the optical powers of the optical signals of the N wavelengths, the OLT is further configured to determine K values of the optical powers with the lowest values from the values of the optical powers of the optical signals of the N wavelengths, the values of the optical powers of the optical signals of the N wavelengths including the values of the optical powers of the optical signals of each of the N wavelengths received by the first ONU, and K being a positive integer;
[0063] The OLT is further configured to determine wavelengths of the optical signals corresponding to the K values of the optical powers, to obtain K wavelengths.
[0064] The OLT is specifically configured to determine the port information of the optical splitter corresponding to the first ONU according to the K wavelengths.
[0065] In the embodiments of the present application, the OLT can determine the K optical power values with the lowest values from the values of the optical powers of the N optical signals fed back by the first ONU, and determine the port information of the optical splitter corresponding to the first ONU according to the K optical power values. Therefore, the present application can accurately determine the port information of the optical splitter corresponding to the first ONU through the lowest optical power values.
[0066] In a possible implementation, the at least one feedback information can include the L optical power values with the highest values or the L wavelengths corresponding to the L optical power values with the highest values, so that the OLT can directly determine the port of the optical splitter corresponding to the first ONU according to the L wavelengths corresponding to the L optical power values with the highest values in the values of the optical powers of the N optical signals and the preset mapping between the wavelengths and the ports, without the comparison step, thereby reducing the workload of the OLT.
[0067] Optionally, in a possible implementation, the at least one feedback information includes the port information of the optical splitter corresponding to the first ONU.
[0068] If N is greater than K, and there is a difference greater than a threshold value among the differences between the values of the optical powers of the N optical signals, the first ONU is further configured to determine K optical power values with the lowest values from the values of the optical powers of the N optical signals corresponding to the N wavelengths, the values of the optical powers of the N optical signals corresponding to the N wavelengths include the values of the optical powers of the optical signals of each of the N wavelengths received by the first ONU, and K is a positive integer.
[0069] The first ONU is further configured to determine the wavelengths of the optical signals corresponding to the K optical power values, to obtain K wavelengths.
[0070] The first ONU is further configured to determine the port information of the optical splitter corresponding to the first ONU according to the K wavelengths.
[0071] Optionally, in a possible implementation, the first ONU or the OLT is specifically configured to: determine information of at least K reflection points according to the K wavelengths, the at least K reflection points reflecting the K optical signals, wherein each of the at least K reflection points reflects the optical signal of one of the K wavelengths; and determine the port information of the optical splitter corresponding to the first ONU according to the information of the at least K reflection points.
[0072] Optionally, in a possible implementation, if N is greater than K, and the differences between the values of the optical powers of the N optical signals are all not greater than a threshold value, the OLT determines that the port of the optical splitter corresponding to the first ONU is included in at least one preset port, and the at least one preset port is a port of at least one optical splitter.
[0073] Optionally, in a possible implementation, the first optical signal comprises a main signal and a slave signal, the optical power value of the main signal is greater than the optical power value of the slave signal, and the first optical signal is an optical signal corresponding to one of the K wavelengths; the K optical power values are determined by the first ONU or the OLT from the optical power values of the optical signals corresponding to the N wavelengths based on the optical power value of the main signal.
[0074] Optionally, in a possible implementation, the port information comprises information of a first port corresponding to the first optical signal, and the information of the first port corresponding to the first optical signal is determined by the OLT or the first ONU based on the information of the slave signal. In the implementation of the present application, if the port information of the splitter corresponding to the ONU is determined by the OLT, the ONU can send the information of the slave signal of the received first optical signal to the OLT, for example, the optical power value of the slave signal or the indication information indicating that the first optical signal has the slave signal, etc., so that the OLT can determine the port information corresponding to the first optical signal based on the information of the slave signal and the K optical power values, and can more accurately determine the port information of the splitter corresponding to the first ONU. If the port information of the splitter corresponding to the ONU is directly determined by the ONU and sent to the OLT, the ONU can determine the port information corresponding to the first optical signal based on the information of the slave signal and the K optical power values, and can more accurately determine the port information of the splitter corresponding to the first ONU. Therefore, in the implementation of the present application, after the K optical power values with the lowest optical power values are determined based on the optical power value of the main signal, the port information corresponding to the first optical signal can be further determined according to the information of the slave signal. Compared with manually recording the port number, the present application can significantly improve the accuracy of determining the port of the splitter corresponding to the first ONU and improve the efficiency of port detection. Even if the port accessed by the first ONU is replaced, the OLT can timely and accurately determine the port information of the splitter corresponding to the first ONU.
[0075] Optionally, in a possible implementation, the first ONU is further configured to send identification information of the first ONU to the OLT, for example, an identification number of the first ONU, a device name of the first ONU, a number of the first ONU, etc., to the OLT, so that the OLT can identify the first ONU. The identification information of the first ONU can be carried in the optical power information or can be sent to the OLT separately.
[0076] Optionally, in a possible implementation, the OLT further sends the optical signal of each of the N wavelengths to the at least one ONU can include: the OLT sends indication information, the indication information being used to indicate the laser to send the second optical signal, and the indication information including information of the wavelength of the second optical signal, the second optical signal being the optical signal corresponding to any one of the N wavelengths. In the implementation of the present application, the OLT can control the laser to send the optical signal of any one of the N wavelengths by sending the indication information, and the indication information further carries the information of the corresponding wavelength, so that the laser can accurately send the optical signal of each wavelength.
[0077] Optionally, in a possible implementation, before the OLT sends the indication information, the method further includes: the OLT sends information of the wavelength of the second optical signal to the at least one ONU. The second optical signal is the optical signal of any one of the N wavelengths.
[0078] In the implementation of the present application, the OLT can send the information of each of the N wavelengths, i.e., the information of the wavelength of the second optical signal, to the at least one ONU, so that the at least one ONU can accurately receive the second optical signal.
[0079] The fourth aspect of the present application provides a PON system, including: an optical distribution network (ODN) and at least one optical network unit (ONU);
[0080] The at least one ONU is connected to at least one port of the ODN respectively, and each of the at least one ONU is connected to a different port of the ODN;
[0081] The ODN includes at least one optical splitter;
[0082] The plurality of branch ends of each of the at least one optical splitter are provided with a transmission point, and the transmission point is used to form transmission of the second preset wavelength optical signal.
[0083] Optionally, in a possible implementation, the PON system further includes: an optical line terminal (OLT);
[0084] The output end of the OLT is connected to the backbone end of the ODN;
[0085] The first ONU is further used to send at least one feedback information to the OLT, the at least one feedback information being generated by the first ONU according to the value of the optical power of the optical signal of each of the N wavelengths, and the first ONU being any one of the at least one ONU;
[0086] The OLT is further used to determine the port information of the optical splitter corresponding to the first ONU according to the at least one feedback information.
[0087] Optionally, in a possible implementation, the N-wavelength optical signals received by the first ONU can be sent to the first ONU by the OLT, such as the OLT internally integrating a laser or a tunable laser, etc., or the N-wavelength optical signals received by the first ONU can be sent to the first ONU by a laser independently arranged. Therefore, in the implementation of the present application, the N-wavelength optical signals can be sent to the first ONU in various ways.
[0088] Optionally, in a possible implementation, if there is a difference greater than a threshold value among the differences between the values of the optical powers of the N-wavelength optical signals, the OLT is further configured to determine, from the values of the optical powers of the N-wavelength optical signals, L values of the optical powers with the highest values, wherein the values of the optical powers of the N-wavelength optical signals include the values of the optical powers of the optical signals of each of the N wavelengths received by the first ONU, and L is a positive integer not greater than N.
[0089] The OLT is further configured to determine the wavelengths of the optical signals corresponding to the L values of the optical powers, to obtain L wavelengths.
[0090] The OLT is specifically configured to determine the splitter port information corresponding to the first ONU according to the L wavelengths.
[0091] In the implementation of the present application, the OLT can determine the port of the splitter corresponding to the first ONU according to the L values of the optical powers with the highest values, which can improve the accuracy of the port information and the efficiency of the monitoring of the port information relative to manually recording the port number. In a possible implementation, the at least one feedback information can include the L wavelengths corresponding to the L values of the optical powers with the highest values or the L values of the optical powers with the highest values, so that the OLT can directly determine the port of the splitter corresponding to the first ONU according to the L wavelengths corresponding to the L values of the optical powers with the highest values among the values of the optical powers of the N-wavelength optical signals and the preset mapping between the wavelengths and the ports, without the comparison step, thereby reducing the workload of the OLT.
[0092] Optionally, in a possible implementation, the at least one feedback information includes the splitter port information corresponding to the first ONU.
[0093] If N is greater than L and there is a difference greater than a threshold value among the differences between the values of the optical powers of the N-wavelength optical signals, the first ONU is further configured to determine, from the values of the optical powers of the N-wavelength optical signals, L values of the optical powers with the highest values, wherein the values of the optical powers of the N-wavelength optical signals include the values of the optical powers of the optical signals of each of the N wavelengths received by the first ONU, and L is a positive integer.
[0094] The first ONU is further configured to determine the wavelengths of the optical signals corresponding to the L values of the optical powers, to obtain L wavelengths.
[0095] The first ONU is further configured to determine port information of the splitter corresponding to the first ONU according to the L wavelengths.
[0096] In the embodiment, the optical signals of the L wavelengths are transmitted by the transmission point, and the optical signals of the remaining wavelengths are reflected by the transmission point, and thus the power values are lower than those of the optical signals of the L wavelengths. Therefore, the port information of the splitter corresponding to the first ONU can be determined according to the L wavelengths, that is, which wavelengths of the optical signals are transmitted by the ports of the splitter corresponding to the first ONU, so as to determine which ports correspond to the L wavelengths according to the pre-set identification information of the wavelengths and the port numbers of the optical signals transmitted by the transmission point, and thus determine the port information of the splitter corresponding to the first ONU.
[0097] Optionally, in a possible implementation, if N is greater than K, and the differences between the values of the optical powers of the N wavelengths are all not greater than the threshold value, the first ONU or the OLT is further configured to determine that the port of the splitter corresponding to the first ONU is included in at least one pre-set port, and the at least one pre-set port is a port of at least one splitter.
[0098] Optionally, in a possible implementation, the first ONU is further configured to send identification information of the first ONU, for example, an identification number of the first ONU, a device name of the first ONU, a number of the first ONU, etc., to the OLT, so that the OLT can identify the first ONU. The identification information of the first ONU can be carried in the information of the optical power values or can be sent to the OLT separately.
[0099] Optionally, in a possible implementation, the OLT further sends the optical signals of each of the N wavelengths to the at least one ONU, which can include: the OLT sends indication information, the indication information being used to instruct the laser to send a second optical signal, and the indication information including information of a wavelength of the second optical signal, the second optical signal being an optical signal corresponding to any one of the N wavelengths. In the embodiment, the OLT can control the laser to send the optical signals of any one of the N wavelengths by sending the indication information, and the indication information further carries the information of the corresponding wavelength, so that the laser can accurately send the optical signals of each wavelength.
[0100] Optionally, in a possible implementation, before the OLT sends the indication information, the method can further include: the OLT sends information of a wavelength of a second optical signal to the at least one ONU, the second optical signal being an optical signal of any one of the N wavelengths.
[0101] In the embodiment, the OLT can send the information of each of the N wavelengths to the at least one ONU, that is, the information of the wavelength of the second optical signal, so that the at least one ONU can accurately receive the second optical signal.
[0102] The fifth aspect of the present application provides an OLT having a function of implementing the method of the first aspect. The function can be implemented by hardware, or the corresponding software can be executed by hardware. The hardware or software includes one or more modules corresponding to the above functions.
[0103] The sixth aspect of the present application provides an ONU having a function of implementing the method of the second aspect. The function can be implemented by hardware, or the corresponding software can be executed by hardware. The hardware or software includes one or more modules corresponding to the above functions.
[0104] The seventh aspect of the embodiment of the present application provides an OLT, which can include:
[0105] A processor, a memory and an input / output interface, the processor, the memory and the input / output interface being connected; the memory is used to store program code; the processor executes the steps of the method provided by the first aspect or any of the embodiments of the first aspect when calling the program code in the memory.
[0106] The eighth aspect of the embodiment of the present application provides an ONU, which can include:
[0107] A processor, a memory and an input / output interface, the processor, the memory and the input / output interface being connected; the memory is used to store program code; the processor executes the steps of the method provided by the second aspect or any of the embodiments of the second aspect when calling the program code in the memory.
[0108] The ninth aspect of the embodiment of the present application provides a storage medium. It should be noted that the technical solution of the present application or the part of the present application which essentially contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, used to store computer software instructions for the above-mentioned device, which includes a program designed for the OLT or ONU of any of the embodiments of any of the first aspect to the second aspect.
[0109] The storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0110] The tenth aspect of the embodiments of the present application provides a computer program product containing instructions, which, when executed on a computer, cause the computer to perform the method according to any of the embodiments of any of the first aspect to the second aspect of the present application.
[0111] The eleventh aspect of the embodiments of the present application provides an optical network device, which can be applied to an OLT or an ONU, etc. The optical network device is coupled with a memory, and is configured to read and execute instructions stored in the memory, so that the optical network device implements the steps of the method according to any of the embodiments of any of the first aspect to the second aspect of the present application. In a possible design, the port detection apparatus is a chip or a system on chip.
[0112] The twelfth aspect of the embodiments of the present application provides a chip system, which includes a processor configured to support functions of an OLT or an ONU, etc. to implement the functions involved in any of the embodiments of any of the first aspect to the third aspect of the present application, for example, processing data and / or information involved in the above method. In a possible design, the chip system further includes a memory configured to store program instructions and data necessary for the OLT or the ONU. The chip system can be composed of a chip, or can include a chip and other discrete devices.
[0113] The processor mentioned in any of the above can be a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling execution of the method of port detection according to the first aspect to the second aspect.
[0114] The thirteenth aspect of the embodiments of the present application provides a PON system, which includes an OLT or an ONU.
[0115] The OLT can include the OLT provided in the fifth aspect.
[0116] The ONU can include the ONU provided in the sixth aspect.
[0117] In the embodiments of the present application, after receiving the N optical signals of each wavelength, each ONU can determine the optical power of the optical signal of each wavelength in the N wavelengths, and feed back the value of the optical power of the optical signal of each wavelength to the OLT. The OLT can determine the port information of the optical splitter corresponding to each ONU according to the value of the optical power of the optical signal of each wavelength fed back by each ONU. Therefore, the OLT can accurately determine the port information of the optical splitter corresponding to each ONU according to the value of the optical power of the optical signal of each wavelength fed back by the ONU, and improve the efficiency and accuracy of determining the port information of the optical splitter corresponding to each ONU. BRIEF DESCRIPTION OF DRAWINGS
[0118] FIG. 1A is a schematic diagram of a structure of a PON system provided by the present application;
[0119] FIG. 1B is a schematic diagram of a structure of an ODN in the PON system provided by the present application;
[0120] FIG. 2 is a schematic diagram of a flow of a port detection method provided by the present application;
[0121] FIG. 3 is a schematic diagram of a flow of another port detection method provided by the present application;
[0122] FIG. 4 is a schematic diagram of a value of optical power in the port detection method provided by the present application;
[0123] FIG. 5 is a schematic diagram of transmission of a master signal and a slave signal in the port detection method provided by the present application;
[0124] FIG. 6 is a schematic diagram of a flow of another port detection method provided by the present application;
[0125] FIG. 7 is a schematic diagram of a structure of another PON system applied by the present application;
[0126] FIG. 8 is another schematic diagram of transmission of a master signal and a slave signal in the port detection method applied by the present application;
[0127] FIG. 9 is another schematic diagram of a value of optical power in the port detection method applied by the present application;
[0128] FIG. 10 is a schematic diagram of a structure of an OLT applied by the present application;
[0129] FIG. 11 is a schematic diagram of a structure of another ONU applied by the present application;
[0130] FIG. 12 is a schematic diagram of a structure of an OLT applied by the present application;
[0131] FIG. 13 is a schematic diagram of a structure of another ONU applied by the present application. DETAILED DESCRIPTION
[0132] The application provides a port detection method, an optical network device and a passive optical network system, which are used for quickly and accurately detecting an access port of an ONU and improving the efficiency of determining the access port of the ONU.
[0133] The PON system to which the port detection method provided by the application is applied can be as shown in FIG. 1A.
[0134] The PON system can include an OLT, an ODN and at least one ONU.
[0135] The ODN can include at least one splitter and can further include optical fibers, and the optical fibers can specifically include a feed fiber, a distribute fiber and a drop fiber. The feed fiber is an optical fiber connected between the OLT and the ODN, and the distribute fiber and the drop fiber can also be referred to as branch fibers. The drop fiber is an optical fiber connected between the splitter and the accessed ONU, and the distribute fiber is an optical fiber connected between the splitters in the ODN. When the ODN includes only one splitter, there is no distribute fiber.
[0136] The ONU is used to receive data sent by the OLT, respond to management commands of the OLT, cache Ethernet data of a user and send in an uplink direction in a sending window allocated by the OLT, and the like. The ONU can specifically include a bi-direction optical subassembly (BOSA), and the BOSA can specifically include a transmitter optical subassembly (TOSA) and a receiver optical subassembly (ROSA), and the like. The TOSA can be used to send an optical signal, and the ROSA can be used to receive an optical signal.
[0137] The OLT is a core component of an optical access network, and is used to provide data for one or more accessed ONUs and provide management, and the like. The OLT can be used to send an optical signal to at least one ONU, receive feedback information of the ONU, and process the feedback information of the ONU or other data, and the like.
[0138] In a PON system, the upstream and downstream optical signals can be transmitted in the same fiber by time division multiplexing (TDM). An OLT can broadcast data to ONUs connected to an ODN by lasers in the form of optical signals. For example, if the wavelength of the optical signal transmitted in the downstream direction is λ1, the OLT broadcasts optical signals with wavelength λ1, and if the wavelength of the optical signal transmitted in the upstream direction is λ2, the optical signal with wavelength λ1 and the optical signal with wavelength λ2 can be transmitted in the same fiber by different time slots, respectively. In general, in a GPON system, the wavelength of the upstream is 1310 nm, and the wavelength of the downstream is 1490 nm. In a 10G PON system, the wavelength of the upstream is 1270 nm, and the wavelength of the downstream is 1577 nm.
[0139] In addition, the PON system can also be connected to a public telephone switching network (PTSN), an internet, a cable television (CATV) or other networks or devices.
[0140] The PON can include a Gigabit passive optical network (GPON), an Ethernet passive optical network (EPON), a 10G Gigabit-capable passive optical network (XGPON), a 10G Ethernet passive optical network (10G EPON), etc.
[0141] It should be understood that at least one ONU in FIG. 1A of the present application can include an optical network termination (ONT) or a multiplexer unit (MXU), etc. The at least one ONU can also be replaced by at least one optical network termination (ONT), or the at least one device connected to the ODN can simultaneously include an ONU and an ONT. In the following description of the present application, the steps performed by the ONU can also be performed by the ONT, which will not be described in detail below.
[0142] It should also be understood that the PON system provided in the present application can include M-level splitting in the ODN, M being a positive integer, and each level of the M-level splitting can include at least one optical splitter. In the ODN shown in FIG. 1A of the present application, only one level of splitting and two levels of splitting are shown, and in actual applications, more levels of splitting, such as three levels of splitting or four levels of splitting, etc., can also be included.
[0143] In addition, the optical splitter can be a 1*n structure, i.e., one input end and n output ends, n being a positive integer, and the optical splitter can also be a 2*n structure, etc., which can be adjusted according to actual application scenarios, and the present application does not limit this. For example, if the optical splitter is a 1*2 structure, the structure of the ODN can be as shown in FIG. 1B, wherein the ODN can include a plurality of optical splitters, and each optical splitter has a 1*2 structure. In addition, the optical splitters in FIG. 1B can also be replaced by 2*2 optical splitters, 2*n optical splitters, 1*n optical splitters, etc., which can be adjusted according to actual application scenarios.
[0144] It should be understood that the optical splitter in the embodiments of the present application can include a trunk end and at least one branch end, and for the sake of understanding, in the above or below embodiments, the trunk end is referred to as an input end, and the branch end is referred to as a branch end. The ODN is composed of optical splitters, and the two ends of the ODN can also be referred to as trunk ends and branch ends.
[0145] In the PON system, the operator or the CO cannot know the port of the ODN to which each ONU is connected, and manual recording of the port of the ODN accessed by the ONU is required, and errors can easily occur in the manual recording process. In addition, if the ONU switches the accessed port and the manual recording is not updated in time, the operator or the CO can record the port accessed by the ONU incorrectly, resulting in difficulty in operation and maintenance. Therefore, the present application provides a port detection method, and the OLT can quickly and accurately determine the port of the ODN accessed by the ONU, without the need for manual recording, thereby reducing the error rate of manual recording of the port accessed by the ONU, reducing the dependence on manual operation, and when the ONU switches the port, the OLT can update in time to determine the port information after the ONU switches.
[0146] In the PON system to which the port detection method provided in the present application is applied, a reflection point can be arranged at each output end of each optical splitter of at least one optical splitter in the ODN, and the reflection point is configured to form partial reflection on the optical signal of a preset wavelength, so as to reduce the optical power of the optical signal of the preset wavelength. Thus, the OLT or the ONU can determine the reflection wavelength of the reflection point corresponding to the port accessed by the ONU according to the reduced optical power, and further determine the port accessed by the ONU according to the binding standard relationship between the reflection wavelength of the reflection point and the port of the optical splitter. It can be understood that the ODN includes a plurality of optical transmission channels, each of which includes a channel for transmitting the optical signal from the OLT to the ONU or a channel for transmitting the optical signal from the ONU to the OLT. Each optical transmission channel includes at least one reflection point, and each reflection point is arranged at the output end of an optical splitter and configured to form partial reflection on the optical signal of a preset wavelength, so as to reduce the optical power of the optical signal of the preset wavelength. The port detection method provided in the present application is configured to determine the port information of the optical splitter in the optical transmission channel corresponding to each ONU, which includes the port information of the optical splitter directly connected to each ONU, or further includes the port information of the optical splitter indirectly connected to each ONU in the optical transmission channel accessed by each ONU.
[0147] In the present application, the reflection point can be arranged at all or part of the ports of the optical splitter. It can be understood that the reflection point is arranged at the plurality of output ends of each optical splitter of at least one optical splitter in the ODN, and the reflection point is configured to form partial reflection on the optical signal of a first preset wavelength, so as to reduce the value of the optical power of the optical signal of the first preset wavelength. The reflection point can also be realized by a grating or a coating film. That is, the grating or the coating film can be arranged at the branch end of the optical splitter, so that the branch end of the optical splitter can realize the reflection on the optical signal of the first preset wavelength.
[0148] In addition, the reflection point arranged at the output end of the optical splitter can be replaced by a transmission point, which is configured to transmit the optical signal of a second preset wavelength and reflect the optical signal of a non-second preset wavelength, so as to reduce the optical signal of the non-second preset wavelength, and the value of the optical power of the optical signal of the second preset wavelength received by the ONU is higher than the value of the optical power of the optical signal of the non-second preset wavelength. Specifically, the transmission point can be realized by arranging a transmission grating at the branch end of the optical splitter or coating the branch end of the optical splitter. The grating or the film on the coating can form transmission on the optical signal of the second preset wavelength and form partial reflection on the optical signal of the non-second preset wavelength, so as to reduce the value of the optical power of the optical signal of the non-second preset wavelength.
[0149] The port detection method provided in the present application will be described in detail below. Referring to FIG. 2, the flowchart of the port detection method provided in the present application is shown as follows.
[0150] 201、the OLT sends an optical signal of each of the N wavelengths to the first ONU.
[0151] The OLT can send the optical signal of each of the N wavelengths to the first ONU in sequence, the N wavelengths are different from each other, and N is a positive integer.
[0152] It should be understood that the first ONU is any one of one or more ONUs accessing the PON system. In the embodiments of the present application, the method of port detection provided by the present application is exemplarily described by taking the first ONU as an example.
[0153] Generally, the N wavelengths for port detection are different from the wavelength band for data transmission between the OLT and the ONU. The optical signal of the N wavelengths for port detection can be referred to as monitoring light, and the optical signal for data transmission between the OLT and the ONU can be referred to as service light. The monitoring light and the service light can be sent by different lasers. The laser for sending the monitoring light is referred to as a monitoring laser, and the laser for sending the service light is referred to as a service laser.
[0154] In a specific embodiment, the OLT can broadcast the optical signal of each wavelength in sequence by a monitoring laser. The monitoring laser can be a tunable laser that can emit optical signals of different wavelengths. The monitoring laser can also be composed of multiple lasers that emit optical signals of different wavelengths.
[0155] Optionally, the monitoring laser can be integrated in the OLT, so that the OLT can directly control the monitoring laser to send the optical signal. The monitoring laser can also be independent of the OLT. The OLT can send a control signal to the monitoring laser directly, or send a control signal to a control module or a control device in the PON system, so that the control module or the control device controls the monitoring laser to emit the optical signal. It should be understood that the specific arrangement of the monitoring laser can be adjusted according to the actual application scenario, and the present application does not limit the same.
[0156] The laser can include a distributed Bragg reflector (DBR), a directly modulated laser (DML), etc.
[0157] Specifically, the OLT can broadcast the optical signal of each of the N wavelengths in sequence to all ONUs in the PON system by the monitoring laser described above, so that all ONUs accessing the PON system can receive the optical signal of each wavelength.
[0158] It can be understood that the N-wavelength optical signals received by the ONU can be transmitted by the OLT or transmitted by the independently set laser or tunable laser. In the embodiments of the present application, only the OLT transmitting the N-wavelength optical signals to the ONU is exemplarily described, and the independently set laser or tunable laser transmitting the N-wavelength optical signals to the first ONU can also be used, which can be adjusted according to the actual application scene.
[0159] It should be noted that the OLT or the laser can transmit each wavelength of the N-wavelength optical signals to all the ONUs in the PON system by broadcasting, or transmit each wavelength of the N-wavelength optical signals to the ONUs in the PON system by unicast or multicast. It can be understood that the OLT or the laser can broadcast each wavelength of the N-wavelength optical signals to all the ONUs in the PON system, or transmit each wavelength of the N-wavelength optical signals to part of the ONUs in the PON system.
[0160] Optionally, before step 201, that is, before the OLT transmits each wavelength of the N-wavelength optical signals to the ONU in turn, the OLT transmits indication information to the service laser, the indication information being used to instruct the laser to transmit the second optical signal, and the indication information including the wavelength information of the second optical signal, the second optical signal being the optical signal of any one of the N-wavelength. Alternatively, the OLT transmits the indication information to the control module or control device in the PON system, and the control module or control device controls the laser to transmit the second optical signal. For example, before the OLT transmits the optical signal by the tunable laser each time, the OLT can transmit the indication information to the tunable laser, the indication information including the wavelength code of the second optical signal, and the tunable laser determines the wavelength of the second optical signal by the wavelength code after receiving the indication information, and transmits the second optical signal.
[0161] It can be understood that if the N-wavelength optical signals received by the first ONU are transmitted by the independently set laser, the laser can transmit the N-wavelength optical signals to the first ONU under the instruction of the OLT.
[0162] Optionally, before step 201, the OLT also transmits the wavelength information of the second optical signal to at least one ONU in the PON system, so as to inform the ONU which wavelength the received second optical signal belongs to. Optionally, in step 201, each optical signal of each wavelength of the N-wavelength optical signals can also carry the information of the corresponding wavelength. For example, if the wavelength of the second optical signal is λ2, the value or wavelength code of λ2 can be carried in the second optical signal. Thus, the ONU can more accurately determine the wavelength of the currently received second optical signal.
[0163] In a possible implementation, each of the optical signals of the N wavelengths further carries information of the corresponding wavelength, for example, wavelength coding, wavelength value, etc., so that the ONU can determine the wavelength of the optical signal according to the information of the wavelength carried in the optical signal after receiving the optical signal.
[0164] Optionally, each of the optical signals of the N wavelengths further carries a feature code, which is used to indicate that the optical signal is a monitoring optical signal, so as to distinguish the monitoring optical signal from the service optical signal, or the feature code is used to indicate that the optical signal is not noise, so that the ONU can determine the optical power of the optical signal. It can also be understood that the ONU can determine, according to the feature code, that the received optical signal is an optical signal for detecting the port of the ONU, so that the ONU determines the optical power of the optical signal and then performs subsequent corresponding operations.
[0165] 202. The first ONU determines the optical power of each of the optical signals of the N wavelengths.
[0166] After the first ONU receives the optical signals of each of the N wavelengths, the optical power of each of the optical signals of the N wavelengths is determined.
[0167] The N wavelengths of the optical signals can be all or part of the optical signals received by the first ONU.
[0168] 203. The first ONU sends at least one feedback information to the OLT.
[0169] After the first ONU determines the value of the optical power in each of the optical signals of the N wavelengths, at least one feedback information is generated according to the value of the optical power of each of the optical signals of the N wavelengths and is sent to the OLT.
[0170] In a possible implementation, the at least one feedback information can include port information of the corresponding optical splitter of the first ONU. The port information can be determined by the first ONU according to the value of the optical power of the received N wavelengths of the optical signals. For example, the first ONU accesses the port number of the first-level splitting and the port number of the second-level splitting of the ODN. Specifically, the manner in which the first ONU determines the port information of the corresponding optical splitter can refer to the related description in steps 605-606 in FIG. 6 below, which will not be described here again.
[0171] In a possible implementation, the at least one feedback information comprises optical power information, and the optical power information comprises a value of an optical power of an optical signal of each of the N wavelengths received by the first ONU. In this case, the first ONU can feed back the value of the optical power of the optical signal of each of the N wavelengths after receiving the optical signal of each of the N wavelengths, for example, the first ONU feeds back the value of the optical power of the first optical signal to the OLT after receiving the first optical signal, and feeds back the value of the optical power of the second optical signal to the OLT after receiving the second optical signal. Alternatively, the first ONU can feed back the values of the optical powers of the N wavelengths to the OLT through one feedback message after receiving the optical signals of the N wavelengths. It can be understood that the at least one feedback information can be optical power information comprising the values of the optical powers of the optical signals of the N wavelengths.
[0172] It can be understood that the at least one feedback information can be one feedback information comprising the values of the optical powers of the optical signals of the N wavelengths, or the at least one feedback information can be at least N feedback information, and each feedback information comprises the value of the optical power of the optical signal of one wavelength, that is, the first ONU sends the values of the optical powers of the optical signals of the N wavelengths to the OLT.
[0173] In a possible implementation, the at least one feedback information can also comprise values of K optical powers with the lowest values or K wavelengths corresponding to the K optical powers with the lowest values. In this way, the OLT can directly determine the port of the optical splitter corresponding to the first ONU according to the K wavelengths corresponding to the K optical powers with the lowest values and a preset mapping relationship between the wavelengths and the ports, and the specific manner of determining the port can be understood with reference to related descriptions in step 204 below, which will not be described here again, thereby reducing the workload of the OLT.
[0174] In another possible implementation, the at least one feedback information can also comprise values of L optical powers with the highest values or L wavelengths corresponding to the L optical powers with the highest values, so that the OLT can directly determine the port of the optical splitter corresponding to the first ONU according to the L wavelengths corresponding to the L optical powers with the highest values and a preset mapping relationship between the wavelengths and the ports, and the specific manner of determining the port can be understood with reference to related descriptions in step 204 below, which will not be described here again, thereby reducing the workload of the OLT.
[0175] It can be understood that the OLT can receive the values of the optical powers of the optical signals of the N wavelengths fed back by the first ONU, and the N can be K or L. Therefore, various possible implementations of the present application are provided, and can be flexibly applied to various scenarios.
[0176] In a possible implementation, the first ONU further sends identification information of the first ONU to the OLT, for example, an identification number, a serial number, a device name, or the like of the first ONU. For example, the identification information can include an identification number allocated to the ONU by the OLT, or an existing identification number of the ONU, or the like.
[0177] In a possible implementation, the identification information of the first ONU can be sent to the OLT by the first ONU alone, or can be included in the at least one feedback information and sent to the OLT, so that the OLT can identify that the at least one feedback information is fed back by the first ONU according to the identification information. For example, the first ONU can carry the identification information of the first ONU in the optical power information when sending the optical power information to the OLT, or the first ONU can carry the identification information of the first ONU in the port information when sending the port information to the OLT.
[0178] 204. The OLT determines the port information of the optical splitter corresponding to the first ONU according to the at least one feedback information.
[0179] The OLT determines the port information of the optical splitter corresponding to the first ONU according to the at least one feedback information after receiving the at least one feedback information fed back by the first ONU.
[0180] In a possible implementation, the port information of the optical splitter corresponding to the first ONU can include information of a port of an optical splitter in an optical transmission channel accessed by the first ONU, and specifically can include information of a port of an optical splitter directly or indirectly connected to the first ONU, for example, a port number, a port identification, or a port name of an optical splitter directly or indirectly connected to the first ONU. The optical transmission channel can be understood as a transmission channel of an optical signal from the OLT or a laser to the first ONU. For example, if the ODN includes two levels of optical splitters, the port information includes information of a port of a first-level optical splitter and information of a port of a second-level optical splitter in the optical transmission channel. The first-level optical splitter is indirectly connected to the first ONU, and the second-level optical splitter is directly connected to the first ONU.
[0181] The first ONU can be indirectly connected to a port of an optical splitter. For example, a plurality of ports of an optical splitter are connected to a Customer Premise Equipment (CPE) through optical fibers, a plurality of ports of the CPE are connected to a plurality of branch ends of the optical splitter one by one, a reflection point can also be arranged at each port of the CPE, and the first ONU can access one of the ports of the CPE, and thus the first ONU can be regarded as being indirectly connected to the optical splitter connected to the CPE.
[0182] In a possible implementation, the at least one feedback information is optical power information fed back by the first ONU, and the optical power information includes optical power of each of the N wavelengths received by the first ONU. The OLT can compare the values of the optical power of the optical signals of the N wavelengths received by the first ONU, and determine K optical power values with the lowest values, where K is a positive integer. The OLT can determine the wavelengths of the optical signals corresponding to the K optical power values according to the K optical power values, obtain K wavelengths, and determine the port information of the optical splitter corresponding to the first ONU according to the K wavelengths. Therefore, in the implementation of the present application, the OLT can compare the optical power of the optical signals received by the ONU, determine the port accessed by each ONU, and improve the accuracy and efficiency of port detection without manual recording. Further, the manner in which the OLT determines the port information of the optical splitter corresponding to the first ONU can be referred to the related description in steps 305-306 in FIG. 3, which will not be described here.
[0183] In a scenario, before the K optical power values with the lowest values are determined, it is determined that there is a difference greater than a threshold value between the values of the optical power of the N wavelengths. It can also be understood that, if there is a difference greater than a threshold value between the values of the optical power of the N wavelengths, the K optical power values with the lowest values are determined from the values of the optical power of the N wavelengths, so that the OLT can determine the wavelengths of the optical signals corresponding to the K optical power values according to the K optical power values, obtain K wavelengths, and determine the port information of the optical splitter corresponding to the first ONU according to the K wavelengths.
[0184] It should be noted that, in the implementation of the present application, the value of K can be adjusted according to a specific application scenario. For example, if two reflection points are arranged in an optical transmission channel, the value of K is 2. For another example, if one reflection point is arranged in an optical transmission channel, the value of K is 1.
[0185] In a scenario, if the at least one feedback information sent by the first ONU to the OLT includes the K optical power values with the lowest values or the K wavelengths corresponding to the K optical power values with the lowest values, the OLT can directly determine the port of the optical splitter corresponding to the first ONU according to the K optical power values with the lowest values or the K wavelengths, without the need to screen the optical power values of the optical signals of each of the N wavelengths, thereby reducing the workload of the OLT.
[0186] In another possible implementation, if the plurality of outputs of the optical splitter are provided with transmission points, and the at least one feedback information is the value of the optical power of the optical signal of each of the N wavelengths fed back by the first ONU. If N is greater than L, the OLT can compare the values of the optical power of the N wavelengths of the optical signal received by the first ONU, and if there is a difference between the values of the optical power of the N wavelengths of the optical signal that is greater than a threshold value, determine the L values of the optical power with the highest values, L being a positive integer. The OLT determines the wavelengths of the optical signal corresponding to the L values of the optical power according to the L values of the optical power, obtains L wavelengths, and determines the port information of the optical splitter corresponding to the first ONU according to the L wavelengths and the mapping relationship between the wavelengths and the ports. Thus, in the implementation of the present application, the OLT can compare the optical power of the optical signal received by the ONU to determine the port accessed by each ONU without manual recording, thereby improving the accuracy and efficiency of port detection.
[0187] For example, if the first ONU receives 10 wavelengths of optical signals, and the optical power of the optical signal of one wavelength is greater than the values of the optical power of the remaining 9 wavelengths by a threshold value, the value of the optical power with the highest value can be selected. Then the wavelength of the optical signal corresponding to the highest value of the optical power is determined, i.e. the wavelength of the optical signal transmitted through the transmission point, so as to determine the port of the optical splitter corresponding to the first ONU according to the mapping relationship between the wavelength transmitted through the transmission point and the port of the optical splitter.
[0188] Specifically, the transmission point can be realized by setting a transmission grating at the branch end of the optical splitter or coating a film on the branch end of the optical splitter. The grating or the film can form transmission for the optical signal of the second preset wavelength and form partial reflection for the optical signal of the non-second preset wavelength, thereby reducing the value of the optical power of the optical signal of the non-second preset wavelength.
[0189] In a possible implementation, if the difference between the values of the optical power of the N wavelengths of the optical signal is not greater than a threshold value, the port of the optical splitter corresponding to the first ONU is included in at least one preset port of at least one optical splitter. For example, if the port of the optical splitter connected by the first ONU is a port without a reflection point or a transmission point, when the values of the optical power of the N wavelengths of the optical signal received by the first ONU are close or equivalent, i.e. the difference between the values of the optical power of the N wavelengths of the optical signal is less than a threshold value, it can be determined that the port connected by the first ONU is the preset port without the reflection point or the transmission point.
[0190] In another possible implementation, the first ONU can include the L wavelengths corresponding to the L optical power values with the highest values in the at least one feedback information fed back to the OLT, i.e., the first ONU can directly send the L wavelengths to the OLT, so that the OLT can directly determine the port of the optical splitter corresponding to the first ONU according to the L wavelengths and the preset mapping relationship between the wavelengths and the ports, without the need to filter the values of the optical power of the N wavelengths, thereby reducing the workload of the OLT.
[0191] In another possible implementation, the at least one feedback information includes port information of the optical splitter corresponding to the first ONU. The OLT can directly read the port information, and determine the port information of the optical splitter corresponding to the first ONU according to the port information. Therefore, in the embodiments of the present application, the first ONU can determine the port of the accessed ODN according to the optical power of the optical signal of each wavelength in the received N wavelengths, and notify the OLT, so that the OLT can accurately and quickly determine the port information of the optical splitter corresponding to the first ONU. In addition, before the first ONU determines the port information, the OLT can distribute the preset mapping relationship between the wavelengths and the ports to the first ONU, so that the ONU can determine the port information of the optical splitter corresponding to the ONU according to the K wavelengths or the L wavelengths filtered out and the mapping relationship.
[0192] Therefore, in the embodiments of the present application, the OLT or the ONU can determine the information of the port accessed by the ONU according to the optical power of the optical signal of each wavelength in the N wavelengths received by the ONU, so that the OLT can timely detect the port accessed by the ONU even if the ONU adjusts the accessed port. The efficiency of detecting the port accessed by the ONU can be improved, so that the OLT can monitor the port accessed by the ONU. Compared with manually recording the port information of the optical splitter corresponding to the ONU, in the method for detecting the port provided in the present application, the OLT can quickly and accurately detect the port information of the optical splitter corresponding to the ONU, thereby improving the efficiency and accuracy of the port detection.
[0193] The foregoing describes the method for detecting the port provided in the present application, and the method for detecting the port provided in the present application is further described below.
[0194] It should be noted that in the following embodiments, only the case where the multiple output ends of the optical splitter are provided with reflection points is described, and in actual applications, the following reflection points can be replaced by transmission points, and the port of the optical splitter corresponding to the ONU is determined according to the wavelengths of the optical signals transmitted by the transmission points, which is similar to the way of determining the port of the optical splitter corresponding to the ONU according to the wavelengths of the optical signals reflected by the reflection points, and the following will not be described in detail.
[0195] The port detection method provided in the application can be performed by the OLT or by the ONU, and different scenarios are introduced below.
[0196] I. Port detection performed by the OLT
[0197] Please refer to FIG. 3, and another flowchart of the port detection provided in the application is shown below.
[0198] 301. The OLT sends wavelength information to the first ONU.
[0199] Before the OLT sends the optical signal with the wavelength λn to the first ONU through the monitoring laser, the OLT can first send the wavelength information corresponding to the wavelength λn to the first ONU. The wavelength information includes the information of the wavelength of the optical signal to be sent, for example, the wavelength code or the numerical value of the wavelength. The first ONU is any one of the at least one ONU accessing the ODN. Before the OLT sends the second optical signal to the at least one ONU in the PON system, the OLT sends the information of the wavelength of the second optical signal to the at least one ONU to inform the ONU of the wavelength of the second optical signal, so that the ONU can successfully receive the second optical signal.
[0200] For example, before sending the optical signal with the wavelength λ1, the OLT can broadcast the wavelength code corresponding to λ1 or the numerical value of λ1 to the at least one ONU, for example, the wavelength code corresponding to λ1 is 000, and the wavelength code corresponding to λ2 is 001.
[0201] 302. The first ONU sends a receiving feedback message to the OLT.
[0202] After the first ONU receives the wavelength information sent by the OLT, the first ONU generates a receiving feedback message and sends it to the OLT to inform the OLT that the first ONU has received the wavelength information.
[0203] 303. The OLT sends an optical signal with the wavelength λn to the first ONU.
[0204] After the OLT determines that the first ONU has received the wavelength information corresponding to λn, the OLT sends an optical signal with the wavelength λn through the monitoring laser, and the first ONU receives the optical signal with the wavelength λn. λn is one of the N wavelengths that the OLT needs to send to the ONU, and n can be a positive integer variable greater than or equal to N.
[0205] The OLT can determine that the first ONU receives the wavelength information through the received feedback information fed back by the first ONU. Generally, in actual applications, the wavelength of the optical signal of each wavelength of the N wavelengths sent by the OLT to the ONU can cover the reflection wavelength of the reflection point arranged in each optical splitter in the ODN. For example, if the reflection wavelength of the reflection point arranged in the ODN is λ1 to λn, the N wavelengths at least include the λ1 to λn. Generally, the reflection point arranged in the ODN reflects the monitoring light, and transmits the service light, that is, does not reflect the service light, so as to reduce the influence on data transmission.
[0206] It should be understood that step 303 can also be replaced by an independently arranged laser to send an optical signal with a wavelength of λn to the first ONU.
[0207] 304. The first ONU sends the optical power of the optical signal with the wavelength of λn to the OLT.
[0208] After receiving the optical signal with the wavelength of λn, the first ONU detects the optical power of the optical signal with the wavelength of λn, and sends feedback information including the value of the optical power of the optical signal with the wavelength of λn to the OLT, and carries the identification of the first ONU in the feedback information, so that the OLT can obtain the value of the optical power of the optical signal with the wavelength of λn received by the first ONU.
[0209] It should be understood that if the OLT sends an optical signal with each wavelength of the N wavelengths to at least one ONU in the PON system, steps 301-304 can be repeated N times to complete the sending of the optical signal with each wavelength of the N wavelengths.
[0210] In addition, it should be noted that the first ONU can send optical power information to the OLT, and the optical power information can be at least one feedback information. The specific optical power information sending mode can include that the first ONU sends the value of the optical power of the optical signal after receiving the optical signal each time, or the first ONU sends one feedback information after receiving the optical signals with the N wavelengths, and the one feedback information can include the value of the optical power of the optical signal with each wavelength of the N wavelengths, that is, step 304 can not be repeated N times.
[0211] 305. The OLT compares the values of the optical power of the optical signals with each wavelength of the N wavelengths to determine the values of the K optical powers with the lowest values.
[0212] After receiving the values of the optical power of the optical signals with the N wavelengths fed back by the first ONU, the OLT compares the values of the optical power of the optical signals corresponding to the N wavelengths to determine the values of the K optical powers with the lowest values, and the values of the optical power of the optical signals corresponding to the N wavelengths include the values of the optical power of the optical signals with each wavelength of the N wavelengths.
[0213] It should be understood that the K optical power values with the lowest optical power values are determined from the optical power values of the optical signals of the N wavelengths only in the case that there are differences greater than the threshold value among the differences between the optical power values of the optical signals of the N wavelengths.
[0214] Specifically, the OLT can sort the optical power values of the optical signals of the N wavelengths in ascending order or descending order, and then determine the K optical power values with the lowest optical power values from the sorted optical power values. Alternatively, the OLT can also compare the optical power values of the optical signals of each wavelength with each other to determine the K optical power values with the lowest optical power values.
[0215] In the present application, the output end of each optical splitter in the ODN is provided with a reflection point, which forms partial reflection on the optical signals of the first preset wavelength, thereby reducing the optical power of the optical signals of the first preset wavelength. Therefore, the OLT can determine the K optical power values with the lowest optical power values from the optical power values of the optical signals of the N wavelengths received by the first ONU.
[0216] For example, in the optical transmission channel connected by the first ONU, the optical signal with a wavelength of λ1 is reflected by one level of optical splitting, and the optical power is reduced by 30%, and then transmitted to the first ONU. The optical signal with a wavelength of λ2 is reflected by two levels of optical splitting, and the optical power is reduced by 30%, and then transmitted to the first ONU. The optical power of the optical signals of the remaining wavelengths received by the first ONU is not reflected by the reflection points, and thus the optical power values are greater than those of the optical signals with wavelengths of λ1 and λ2. The OLT can determine that the optical power of the optical signals with wavelengths of λ1 and λ2 is the lowest optical power value among the optical power values of the optical signals of the N wavelengths, and determine that λ1 and λ2 are the wavelengths reflected by the reflection points provided in the optical transmission channel accessed by the first ONU. As shown in FIG. 4, after the OLT obtains the optical power of the optical signals of each wavelength received by the first ONU, the wavelengths with smaller optical power are identified by comparing the optical power values of different wavelength bands, i.e., the K wavelengths corresponding to the K optical power values with the lowest optical power values.
[0217] It should be understood that the optical transmission channel mentioned in the present application includes the transmission channel of the optical signals from the OLT or the laser to the first ONU, or the transmission channel of the optical signals from the first ONU to the OLT.
[0218] 306、The OLT determines the port information of the optical splitter corresponding to the first ONU according to the K wavelengths corresponding to the K optical power values.
[0219] After the OLT determines the K lowest optical power values from the values of the optical powers of the optical signals corresponding to the N wavelengths, the OLT determines the wavelengths of the optical signals corresponding to the K optical power values, obtains the K wavelengths, and determines the port information of the splitter corresponding to the first ONU according to the K wavelengths.
[0220] In one possible scenario, the first ONU sends the K lowest optical power values, or the K wavelengths corresponding to the K lowest optical power values, to the OLT. The OLT can directly determine the port information of the splitter corresponding to the first ONU according to the K wavelengths corresponding to the K lowest optical power values and the preset mapping relationship between the wavelengths and the ports, without the need for the OLT to screen the values of the optical powers of the optical signals corresponding to the N wavelengths, thereby reducing the workload of the OLT.
[0221] The port information can be determined according to the related description in step 204.
[0222] Specifically, after the OLT determines the K optical power values, the OLT can determine the wavelengths of the optical signals corresponding to the K optical power values according to the mapping relationship between the optical power values and the corresponding wavelengths. The mapping relationship between the optical power values and the corresponding wavelengths can be determined when the first ONU feeds back the optical power information. For example, the first ONU feeds back the optical power value of each wavelength of the optical signal after receiving the optical signal of each wavelength. After the OLT receives the optical power value of each wavelength of the optical signal, the OLT can save the optical power value and the corresponding wavelength. Alternatively, if the first ONU feeds back the optical power values of the optical signals of the N wavelengths through one feedback message, the optical power value of each wavelength can be added with an identifier corresponding to each wavelength. For example, the wavelength λ1 is encoded as 001, and the optical power value of the optical signal of the wavelength λ1 can be represented as [001: 15dB]. After the OLT receives the optical power information, the OLT can determine the optical power value of the optical signal corresponding to the wavelength according to the identifier or the code of the wavelength.
[0223] In one specific implementation, the OLT can determine the port information of the splitter corresponding to the first ONU according to the K wavelengths and a preset first mapping relationship. The first mapping relationship can include the correspondence between the wavelengths and the port numbers. After the K wavelengths are determined, the OLT can determine the port numbers corresponding to the K wavelengths according to the preset relationship, thereby obtaining the port information of the splitter corresponding to the first ONU.
[0224] It should be noted that in the scenario where the branch end of the optical splitter is provided with a reflection point, the first mapping relationship can be a mapping relationship between the wavelength of the light signal reflected by the reflection point and the port number, and in the scenario where the branch end of the optical splitter is provided with a transmission point, the first mapping relationship can be a mapping relationship between the wavelength of the light signal transmitted by the transmission point and the port number. Here, only the scenario where the branch end of the optical splitter is provided with a reflection point is taken as an example for description, and the specific implementation can be adjusted according to the actual application scenario.
[0225] The first mapping relationship can be generated by the OLT, and if the port of the optical splitter corresponding to the ONU is detected by the ONU, the OLT can send the first mapping relationship to the ONU, so that the ONU can determine the port of the optical splitter corresponding to the ONU according to the K wavelengths and the first mapping relationship.
[0226] For example, the relationship between the wavelength reflected by each reflection point and the port number can be recorded in advance, and the wavelength of the light signal reflected by the reflection point provided in the first-level optical splitting is different from the wavelength of the light signal reflected by the reflection point provided in the second-level optical splitting, as shown in Table 1. After the K wavelengths are determined, the port number of the port in the optical transmission channel accessed by the first ONU can be determined according to the first mapping relationship shown in Table 1. For example, if the K wavelengths include λ1 and λ5, it can be determined that the port information of the optical splitter corresponding to the first ONU includes 001 and the port number of the second-level optical splitter 005.
[0227] Wavelength of first-level optical splitting Wavelength of second-level optical splitting Port number of first-level optical splitter Port number of second-level optical splitter λ1 λ4 001 004 λ2 λ5 002 005 λ3 λ6 003 006
[0228] Table 1
[0229] In one possible implementation, at least one optical splitter is provided in the ODN, and each output end of each optical splitter is provided with a reflection point, which is used to reflect a light signal of a preset wavelength, thereby reducing the value of the optical power of the light signal of the preset wavelength received by the first ONU. The K wavelengths of the light signal are transmitted to the first ONU through the ODN, and are reflected by the reflection point provided in the optical transmission channel accessed by the first ONU, thereby reducing the value of the optical power. Therefore, the value of the optical power of the K wavelengths of the light signal received by the first ONU is less than the value of the optical power of the light signal of the remaining wavelengths in the N wavelengths except the K wavelengths.
[0230] Specifically, in some scenarios, instead of setting a reflection point at each branch end of each optical splitter in the ODN, a reflection point can be set at a plurality of branch ends of each optical splitter in the ODN, the plurality of branch ends being all or part of the branch ends of the optical splitter, the reflection point being configured to reflect the optical signal of the first preset wavelength, thereby reducing the value of the optical power of the optical signal of the first preset wavelength.
[0231] In another specific embodiment, the OLT can determine the information of at least K reflection points according to the K wavelengths, and determine the port information of the optical splitter corresponding to the first ONU according to the information of the at least K reflection points. The K reflection points are the reflection points of the optical splitter corresponding to the first ONU. For example, if the optical transmission channel accessed by the first ONU includes an optical splitter 1 and an optical splitter 2, and the optical splitter 1 is connected to the first ONU through the optical splitter 2, it can be understood that the first ONU is directly connected to the optical splitter 2 and indirectly connected to the optical splitter 1. The K reflection points can include the reflection point set in the port of the optical splitter 1 indirectly connected to the first ONU and the reflection point set in the port of the optical splitter 2 directly connected to the first ONU.
[0232] Specifically, the OLT determines the information of at least K reflection points according to the K wavelengths, which can specifically include: the OLT determines the information of at least K reflection points according to the K wavelengths and a second mapping relationship. The second mapping relationship can include the correspondence between the wavelengths and the reflection points. After the OLT determines the K wavelengths, the information of at least K reflection points can be determined according to the K wavelengths and the second mapping relationship. One wavelength can correspond to one or more reflection points, so the number of determined reflection points can be greater than K. For example, if the wavelengths reflected by the first-order splitting and the second-order splitting are both λ1, and the K wavelengths only include the λ1 wavelength, then the information of 2 reflection points can be determined, and both of the 2 reflection points reflect the optical signal of the λ1 wavelength.
[0233] For example, the second mapping relationship is shown in Table 2:
[0234] Wavelength reflected by first-order splitting Wavelength reflected by second-order splitting Reflection point of first-order splitting Reflection point of second-order splitting λ1 λ4 001 001 0024 λ2 λ5 002 002 0025 λ3 λ6 003 003 0026
[0235] Table 2
[0236] For example, if it is determined that the K wavelengths include λ2 and λ6, the identification of the reflection point in the corresponding first-order splitting can be determined as 0012, and the identification of the reflection point of the second-order splitting can be determined as 0026.
[0237] Further, the OLT determines the port information of the splitter corresponding to the first ONU according to the information of the at least K reflection points, and specifically can include: the OLT determines the port information of the splitter corresponding to the first ONU according to the information of the at least K reflection points and a third mapping relationship. The at least K reflection points reflect the K wavelengths, and one reflection point in the at least K reflection points reflects the optical signal of one wavelength in the K wavelengths. The third mapping relationship can include a mapping relationship between the reflection points and the port numbers. After the information of the at least K reflection points is determined, the port numbers or port identifiers corresponding to the at least K reflection points can be determined from the third mapping relationship, so as to obtain the port information of the splitter corresponding to the first ONU.
[0238] Exemplarily, the third mapping relationship can be as shown in Table 3:
[0239] First-order splitter reflection point Second-order splitter reflection point First-order splitter port number Second-order splitter port number 001100240010040012002500200500130026003006
[0240] Table 3
[0241] For example, if it is determined that the K wavelengths include λ2 and λ6, it can be determined that the identifier of the corresponding first-order splitter reflection point is 0012, the identifier of the second-order splitter reflection point is 0026, and the identifier of the port of the corresponding first-order splitter is 002 and the identifier of the port of the second-order splitter is 006.
[0242] In a specific scenario, there can be a scenario in which the wavelength reflected by the first-order splitter reflection point is the same as the wavelength reflected by the second-order splitter reflection point, for example, as shown in Table 4:
[0243] Wavelength reflected by first-order splitter Wavelength reflected by second-order splitter First-order splitter port number Second-order splitter port number λ1 λ1 001001 λ2 λ2 002002 λ3 λ3 004004
[0244] Table 4
[0245] If λ1 and λ2 are included in the K wavelengths, it can be impossible to distinguish whether λ1 and λ2 correspond to the first-order splitter port or the second-order splitter port.
[0246] The method for port detection provided in the application is applied to a PON system. An optical signal is transmitted to a first ONU through first-order splitting and second-order splitting. As shown in FIG. 5, taking a first optical signal received by the first ONU as an example, in an optical transmission channel accessed by the first ONU, a reflection point corresponding to the first optical signal is at the first-order splitting, and the second-order splitting does not reflect the first optical signal. The main signal of the first optical signal is transmitted to the first ONU through the first-order splitting and the second-order splitting. Meanwhile, other ports in the second-order splitter have reflection points that reflect the first optical signal, and the reflection points can not be included in the optical transmission channel accessed by the first ONU. Therefore, the second optical signal is reflected to the first-order splitting through the reflection points in the second-order splitting, is reflected to the second-order splitting through the reflection points of the first-order splitting, and is then transmitted to the first ONU, so that the first ONU receives the secondary signal of the first optical signal. The main signal and the secondary signal of the first optical signal can be used to determine the port information of the splitter corresponding to the first ONU. Different cases are described below.
[0247] In a possible implementation, the first optical signal received by the first ONU includes a main signal and a secondary signal. The first optical signal is an optical signal corresponding to one of the K wavelengths. The optical power of the main signal is greater than the optical power of the secondary signal. The first ONU receives the main signal of the first ONU first, and then receives the secondary signal of the first ONU, that is, the main signal is received by the first ONU before the secondary signal.
[0248] The OLT can determine the K lowest optical power values from the optical power values of the optical signals corresponding to the N wavelengths based on the value of the optical power of the main signal of the first optical signal. It can be understood that the value of the optical power of the main signal of the first optical signal is included in the optical power values of the optical signals corresponding to the N wavelengths. When the first ONU or the OLT determines the K lowest optical power values, the value of the optical power of the main signal of the first optical signal is compared, so that the K lowest optical power values are determined.
[0249] Specifically, the port information of the splitter corresponding to the first ONU includes information of a first port corresponding to the first optical signal, for example, a port number, a port identifier, or a port name of the first port. The OLT can further determine the information of the first port according to the information of the secondary signal of the first optical signal. The information of the secondary signal can include the value of the optical power of the secondary signal, or indication information indicating that the first optical signal has the secondary signal. The first port can be understood as a port that reflects the first optical signal at the set reflection point.
[0250] Exemplarily, the OLT can receive information of the from signal of the first optical signal sent by the first ONU, which can specifically include a value of optical power of the from signal, or indication information indicating that the first optical signal has the from signal. Wherein, the number of times of receiving the from signal by the first ONU can be determined according to the splitting level in the PON system, and the higher the splitting level is, the more times of receiving the from signal by the first ONU, for example, the PON system includes three-level splitting, four-level splitting, etc. After receiving the information of the from signal of the first optical signal, the OLT can determine the port information of the first port corresponding to the first optical signal according to the information of the from signal.
[0251] For example, the correspondence between the wavelength reflected by the reflection point and the port is shown in Table 5:
[0252]
[0253] Table 5
[0254] Wherein, the first-level splitting from signal is marked as 1, indicating that the optical signal reflected by the reflection point in the first-level splitting has the from signal after being received by the first ONU, and the second-level splitting from signal is marked as 0, indicating that the optical signal reflected by the reflection point in the second-level splitting has no from signal after being received by the first ONU. Therefore, if the OLT determines that the first ONU receives the optical signal of wavelength λ1 and has the from signal, the from signal corresponding to λ1 is marked as 1, and the optical signal of wavelength λ2 has no from signal, i.e. the from signal corresponding to λ2 is marked as 0, then according to the correspondence between the wavelength reflected by the reflection point and the port shown in Table 5, it can be determined that the port corresponding to λ1 is in the first-level splitting, i.e. the first-level splitter port number is 001, and the port corresponding to λ2 is in the second-level splitting, i.e. the second-level splitter port number is 002. Therefore, if the first ONU feeds back two optical powers of the first optical signal in the K wavelength corresponding optical signals to the OLT, i.e. the optical power of the main signal of the first optical signal and the optical power of the from signal, the OLT can more accurately determine the port information of the splitter corresponding to the first ONU according to the value of the optical power of the main signal and the value of the optical power of the from signal, and can avoid the situation that the port information of the splitter corresponding to the first ONU cannot be distinguished due to the same wavelength reflected by the reflection point in different splittings, and improve the accuracy of detecting the port of the splitter corresponding to the ONU.
[0255] In another possible implementation, the reflection points of the first-order splitting and the second-order splitting can reflect the optical signals of the same wavelength, and therefore, after the values of the K optical powers with the lowest optical power values are determined, the information of at least K reflection points can be determined according to the values of the K optical powers, that is, the number of the determined reflection points can be greater than K. The information of the at least K reflection points includes the information of the reflection point reflecting the first optical signal, and the OLT can determine the information of the reflection point reflecting the first optical signal according to the information of the first optical signal from the signal, and thereby determine the information of the first port. The information of the reflection point specifically includes, for example, the splitting order of the reflection point, or the port identifier corresponding to the reflection point.
[0256] For example, the correspondence between the information of the reflection point (here, the identifier of the reflection point is taken as an example) and the wavelength is shown in Table 6.
[0257]
[0258] Table 6
[0259] For example, the reflection point of the first-order splitting from the signal identifier is 1, indicating that the optical signal reflected by the reflection point in the first-order splitting is received by the first ONU, and then there is a from signal; the reflection point of the second-order splitting from the signal identifier is 0, indicating that the optical signal reflected by the reflection point in the second-order splitting is received by the first ONU, and then there is no from signal. If it is determined that the K wavelengths include λ1 and λ2, and the OLT determines that the first ONU receives the from signal of the λ1 optical signal, the OLT can determine that the from signal identifier corresponding to the λ1 optical signal is 1, and then according to the correspondence between the reflection point information and the wavelength shown in Table 6, it can be determined that the identifier of the first-order splitting reflection point corresponding to the λ1 optical signal is 0011, and there is no from signal of the λ2 optical signal, and the from signal identifier corresponding to the λ2 optical signal is 0, and therefore the identifier of the reflection point corresponding to the λ2 optical signal is 0022. Subsequently, the port information of the splitter corresponding to the first ONU can be determined based on the foregoing Table 3.
[0260] It should be noted that, in addition to the first-order splitting from signal identifier or the second-order splitting from signal identifier in the foregoing Table 5 or Table 6, which indicates whether there is a corresponding from signal for each order of splitting, other manners can also be used, for example, a preset rule can be set, if there is a from signal for a certain optical signal, the OLT can directly determine that the port corresponding to the optical signal is in the first-order splitting according to the preset rule. The foregoing Table 5 and Table 6 are merely exemplary and are not limited in this regard.
[0261] In a possible implementation, after step 306, the OLT can determine the port information of the splitter corresponding to each ONU of the access ODN, record the port information of the splitter corresponding to each ONU by the OLT, and save in a local or other memory. For example, a mapping table of each ONU and the accessed port can be generated, or the information of the accessed port can be added in the information of the splitter corresponding to each ONU, and saved in the local memory.
[0262] Therefore, in the embodiments of the present application, the OLT can compare the optical powers of the optical signals of each wavelength received by the first ONU, determine the values of the K optical powers with the lowest values, and determine the port information of the splitter corresponding to the first ONU according to the wavelengths of the optical signals corresponding to the values of the K optical powers, so that the OLT can accurately determine the port of the ODN accessed by the ONT, avoid errors caused by manual recording, improve the efficiency of port detection, and quickly determine the port information of the ONU after the port is replaced.
[0263] It should be noted that the present application has described how to determine the port accessed by the first ONU when the first ONU is connected to the port with the reflection point. In another case, some ports of the splitter can not be provided with the reflection point, and the port of the splitter connected to the first ONU can not be provided with the reflection point. At this time, the port accessed by the first ONU can be determined by other ways. For example, if there is a port of a splitter in the ODN without the reflection point; the port of the splitter connected to the first ONU does not reflect the optical signal, i.e., the port is not provided with the reflection point; the optical power values of all the wavelengths of the optical signals received by the first ONU are close to or equal to each other; therefore, the port of the splitter connected to the first ONU can be determined as the port without the reflection point according to the optical power values of all the wavelengths of the optical signals close to or equal to each other. Also, the confirmation of the port connected to the ONU can be accurately and quickly realized, and manual operation can not be needed, so as to avoid errors caused by manual operation.
[0264] Scenario two, port detection by ONU
[0265] Please refer to FIG. 6, another flowchart of the port detection provided by the present application is shown as follows.
[0266] 601, the OLT sends wavelength information to the first ONU.
[0267] 602, the first ONU sends the received feedback information to the OLT.
[0268] 603, the OLT sends the optical signal with the wavelength λn to the first ONU.
[0269] The steps 601-603 in the embodiments of the present application are similar to the aforementioned steps 301-303, and thus will not be described here again.
[0270] 604. The first ONU determines the value of the optical power of the λn optical signal.
[0271] After receiving the optical signal of each of the N wavelengths, the first ONU determines the value of the optical power of the optical signal of each wavelength without sending to the OLT.
[0272] It should be understood that if the OLT sends the optical signal of each of the N wavelengths to the first ONU, the steps 601-604 can be repeated N times.
[0273] 605. The first ONU compares the values of the optical power of the N wavelengths to determine the values of the K optical powers with the lowest values.
[0274] 606. The first ONU determines the port information of the corresponding optical splitter of the first ONU according to the values of the K optical powers and the wavelengths of the optical signals.
[0275] The steps 605-606 in the embodiments of the present application are similar to the aforementioned steps 305-306, and thus will not be described here again by replacing the OLT with the first ONU.
[0276] 607. The first ONU sends the port information of the corresponding optical splitter to the OLT.
[0277] After the first ONU obtains the port information of the corresponding optical splitter of the first ONU, the first ONU can send the port information of the corresponding optical splitter of the first ONU to the OLT. The port information can refer to the related description in the aforementioned step 204.
[0278] When sending the information of the port accessed by the first ONU, the identification of the first ONU can also be carried to enable the OLT to identify that the port information is the information of the port corresponding to the first ONU.
[0279] 608. The OLT determines the port information of the corresponding optical splitter of the first ONU.
[0280] After receiving the port information fed back by the first ONU, the OLT determines the information of the port of the optical transmission channel accessed by the first ONU according to the received port information. For example, if the PON system includes a secondary optical splitter, the port information can include the port number of the secondary optical splitter directly connected to the first ONU and the port number of the primary optical splitter indirectly connected to the first ONU in the optical transmission channel accessed by the first ONU.
[0281] Therefore, in the embodiments of the present application, the ONU can determine the port information corresponding to the ONU according to the values of the optical powers of the N wavelengths, and send the port information to the OLT, so that the OLT can accurately and quickly determine the port information corresponding to each ONU. Compared with manual recording, the efficiency of determining the port can be improved, and the error rate of recording the port can be reduced. Moreover, even if the ONU switches the accessed port, the OLT can quickly and accurately determine the port of the ONU after switching, further improving the efficiency of determining the port information of the optical splitter corresponding to the ONU.
[0282] Exemplarily, in combination with the foregoing FIGS. 2-6, the foregoing port detection method is described in more detail below in a more specific scenario.
[0283] As shown in FIG. 7, the PON system provided by the present application can include an OLT, an ODN, and at least one ONU (such as ONU1 to ONU7 shown in FIG. 7). The ODN can include primary splitting and secondary splitting. The primary splitting includes one optical splitter, which includes n output ends, and the reflection wavelengths of the reflection points of the output ends of the optical splitter are λ1 to λn respectively. The secondary splitting includes n optical splitters, and the reflection wavelengths of the reflection points of the output ends of each of the n optical splitters are also λ1 to λn respectively, and the output ends of each of the optical splitters in the secondary splitting can access an ONU. For example, the ONU1 accesses the port of the optical splitter in the secondary splitting whose reflection wavelength is λ1, and the corresponding primary splitting has a reflection wavelength of λ1; the ONU2 accesses the port of the optical splitter in the secondary splitting whose reflection wavelength is λ2, and the corresponding primary splitting has a reflection wavelength of λ1; the ONU3 accesses the port of the optical splitter in the secondary splitting whose reflection wavelength is λn-1, and the corresponding primary splitting has a reflection wavelength of λ1; the ONU4 accesses the port of the optical splitter in the secondary splitting whose reflection wavelength is λn, and the corresponding primary splitting has a reflection wavelength of λ1; the ONU5 accesses the port of the optical splitter in the secondary splitting whose reflection wavelength is λ1, and the corresponding primary splitting has a reflection wavelength of λ2; the ONU6 accesses the port of the optical splitter in the secondary splitting whose reflection wavelength is λ2, and the corresponding primary splitting has a reflection wavelength of λ2; and the ONU7 accesses the port of the optical splitter in the secondary splitting whose reflection wavelength is λn, and the corresponding primary splitting has a reflection wavelength of λ2. Of course, part of the output ends can not access devices, that is, as shown in FIG. 7, the broken lines represent the output ends that do not access devices.
[0284] In addition, the PON system can also include a monitoring light source, such as a monitoring laser, a tunable laser, etc. (not shown in the figure). The monitoring light source can be arranged inside the OLT, or can be independent of the OLT. For example, when the tunable laser is arranged independently of the OLT, if the OLT needs to send a monitoring light signal, the tunable laser can be notified to send the monitoring light to the ODN through a control system.
[0285] In order to avoid interference with data transmission, the OLT can send a signal to the ONU through the service light to inform the ONU to start the wavelength scanning program and send wavelength information to the ONU to inform the ONU of the wavelength of the optical signal to be sent. Taking λ1 as an example, the OLT can send the wavelength code of λ1 to the ONU to inform the ONU that the wavelength of the optical signal to be sent is λ1.
[0286] After receiving the signal and the wavelength code of λ1, the ONU sends the receiving feedback information to the OLT through the service light to indicate that the ONU has received the signal and the wavelength information.
[0287] Then, the OLT starts the tunable laser and broadcasts the optical signal with the wavelength of λ1 to each ONU accessing the ODN in the form of broadcast.
[0288] After each ONU receives the optical signal with the wavelength of λ1, if the port detection is performed by the OLT, each ONU sends feedback information to the OLT, which can include the optical power of the optical signal with the wavelength of λ1 received by the ONU. If the port detection is performed by the ONU, the ONU can not send the optical power of the optical signal with the wavelength of λ1 to the OLT.
[0289] Then the OLT repeats the foregoing steps and completes the transmission of the optical signal of each wavelength in the N wavelengths after transmitting the optical signals with the wavelengths of λ1 to λn.
[0290] In addition to sending feedback information to the OLT after receiving the optical signal each time, the ONU can also send the values of the optical powers of the optical signals corresponding to the N wavelengths to the OLT through one feedback message after receiving the optical signals with the N wavelengths.
[0291] If the port detection is performed by the ONU, the ONU sends the port information of the corresponding optical splitter to the OLT after determining the port information according to the optical signals with the N wavelengths.
[0292] Taking ONU1 as an example, the specific steps of the OLT or ONU1 determining the port accessed by ONU1 according to the optical power of the optical signal with each wavelength in the N wavelengths received by ONU1 can include: comparing the optical powers of the optical signals with the N wavelengths of λ1 to λn received by the ONU, the PON system shown in FIG. 7 is a two-stage optical splitter, and the reflection points corresponding to one transmission channel are two, therefore, the values of the two optical powers with the lowest optical power are determined, and the wavelengths of the optical signals corresponding to the two optical powers (i.e., K wavelengths), i.e., λ1 and λ2, are determined.
[0293] Then the wavelength of the optical signal reflected by the reflection point arranged in the transmission channel accessed by ONU1 can be determined as λ1 and λ2. If the wavelengths reflected by the reflection points in the first-level splitting and the second-level splitting in the PON system are different, the port information of the corresponding splitter of the ONU can be determined directly according to the wavelengths λ1 and λ2 and the preset mapping relationship between the wavelength and the port.
[0294] If the wavelengths reflected by the reflection points in the first-level splitting and the second-level splitting in the PON system are the same, it is impossible to distinguish the splitting level of the reflection points corresponding to λ1 and λ2 respectively only according to λ1 and λ2. For example, the wavelengths reflected by the reflection points in the optical transmission channels accessed by ONU2 and ONU5 are both λ1 and λ2, and it is impossible to distinguish the splitting level of the reflection points corresponding to λ1 and λ2 respectively in the optical transmission channels accessed by ONU2 and ONU5. Therefore, in the embodiments of the present application, the ONU or the OLT can also distinguish the splitting level of the reflection points corresponding to the optical transmission channels accessed by the ONU according to the main signal and the slave signal of the optical signal.
[0295] For example, as shown in FIG. 8, the optical signal with the wavelength λ1 is transmitted from the laser to the first-level splitting, reflected by the λ1 reflection point, reduced in optical power, and then transmitted to ONU2 through the second-level splitting. ONU2 receives the main signal of the optical signal with the wavelength λ1, and at the same time, the optical signal with the wavelength λ1 reflected by the λ1 reflection point in the first-level splitting is transmitted to the second-level splitting. Since the second-level splitting is provided with the λ1 reflection point, the optical signal with the wavelength λ1 is reflected by the reflection point in the second-level splitting to the first-level splitting, and then reflected by the λ1 reflection point in the first-level splitting to the second-level splitting and transmitted to ONU2, that is, ONU2 receives the slave signal of the optical signal with the wavelength λ1. ONU2 receives the main signal of the optical signal with the wavelength λ1 first, and then receives the slave signal of the optical signal with the wavelength λ1. Since the slave signal is reflected for many times, the optical power of the slave signal is lower than that of the main signal. As shown in FIG. 9, the difference in optical power between the main signal and the slave signal of the optical signal with the wavelength λ1 can be 15-17 dB. The OLT can determine that the reflection point reflecting the optical signal with the wavelength λ1 is arranged in the first-level splitting and the reflection point reflecting the optical signal with the wavelength λ2 is arranged in the second-level splitting according to the information of the slave signal of the optical signal with the wavelength λ1 and the preset mapping relationship or preset rule. Therefore, the OLT can further determine more accurately that the reflection point reflecting the optical signal with the wavelength λ1 is arranged in the first-level splitter and the reflection point reflecting the optical signal with the wavelength λ2 is arranged in the second-level splitter in the optical transmission channel accessed by ONU2 according to the main signal and the slave signal of the optical signal with the wavelength λ1.
[0296] Therefore, in the embodiments of the present application, even if the wavelengths reflected by the reflection points corresponding to the ports of the optical transmission channels connected by part of the ONUs are the same, the specific ports corresponding to each ONU can be distinguished according to the main signal and the slave signal, the port information of the optical transmission channel accessed by the ONU can be determined more accurately, and the accuracy and efficiency of the port detection can be improved.
[0297] The foregoing detailed description of the method for port detection provided by the present application, the following will be described in conjunction with the foregoing Figure 2-9 of the device provided by the present application.
[0298] The present application provides an optical network device for performing the method corresponding to the foregoing Figure 2-9, which can be an OLT or an ONU, and the following will be introduced respectively.
[0299] Please refer to Figure 10, the structure of an OLT provided by the present application, which can be used to execute the steps performed by the OLT in any of the foregoing embodiments 2-9. Specifically, the OLT can include: a transceiver unit 1001 and a processing unit 1002;
[0300] The transceiver unit 1001 is configured to send an optical signal of each of N wavelengths to at least one optical network unit (ONU), the N wavelengths being different from each other, and N being a positive integer;
[0301] The transceiver unit 1001 is configured to send an optical signal of each of N wavelengths to at least one optical network unit (ONU), the N wavelengths being different from each other, and N being a positive integer;
[0302] The transceiver unit 1001 is further configured to receive optical power information sent by a first ONU, the optical power information including a value of optical power of an optical signal of each of the N wavelengths received by the first ONU, the first ONU being any one of the at least one ONU;
[0303] The processing unit 1002 is configured to determine port information of an optical splitter corresponding to the first ONU according to the optical power information.
[0304] The optical power information can be one feedback information including a value of optical power of an optical signal of each of the N wavelengths, or the optical power information can be at least N feedback information, each feedback information including a value of optical power of an optical signal of one wavelength.
[0305] In a possible implementation, the N wavelengths of optical signals received by the first ONU can also be sent by a laser independent of the OLT, such as a tunable laser.
[0306] In a possible implementation, if N = K, the processing unit 1002 can be specifically configured to determine the port information of the optical splitter corresponding to the first ONU according to the N wavelengths and a preset mapping relationship between the wavelengths and the ports.
[0307] Further, if N > K, in a possible implementation, the processing unit 1002 is specifically configured to:
[0308] determine K values of optical power with the lowest values from values of optical power of optical signals corresponding to the N wavelengths, the values of optical power of optical signals corresponding to the N wavelengths including values of optical power of optical signals of each of the N wavelengths received by the first ONU, the K being a positive integer;
[0309] determine wavelengths of optical signals corresponding to the K values of optical power, to obtain K wavelengths;
[0310] determine port information of an optical splitter corresponding to the first ONU according to the K wavelengths.
[0311] Specifically, the processing unit 1002 can be configured to, in a scenario where there is a difference greater than a threshold value among differences between values of optical power of optical signals of the N wavelengths, determine K values of optical power with the lowest values from values of optical power of optical signals corresponding to the N wavelengths.
[0312] In a possible implementation, the optical signals corresponding to the K wavelengths are transmitted to the first ONU via an optical distribution network (ODN), the ODN is provided with at least one optical splitter, each output end of each of the at least one optical splitter is provided with a reflection point, and the reflection point is configured to reflect optical signals of a first preset wavelength;
[0313] The processing unit 1002 is specifically configured to:
[0314] determine information of at least K reflection points according to the K wavelengths, the at least K reflection points reflecting optical signals of the K wavelengths, and each of the at least K reflection points reflecting optical signals of one of the K wavelengths;
[0315] determine port information of an optical splitter corresponding to the first ONU according to the information of the at least K reflection points.
[0316] Further, the reflection point can also not be arranged at each branch end of each optical splitter of the ODN, and the reflection point can also be arranged at a plurality of branch ends of each of the at least one optical splitter of the ODN, the plurality of branch ends can be all or part of branch ends of the optical splitter.
[0317] In a possible implementation, the processing unit 1002 is specifically configured to:
[0318] If N is greater than L, and there is a difference greater than a threshold value among the differences between the values of the optical powers of the optical signals of the N wavelengths, the values of the optical powers of the L wavelengths corresponding to the values of the optical powers of the optical signals of the N wavelengths, including the values of the optical powers of the optical signals of each of the N wavelengths received by the first ONU, are determined, L being a positive integer, and the wavelengths of the optical signals corresponding to the values of the optical powers of the L wavelengths are determined to obtain L wavelengths, and the port information of the optical splitter corresponding to the first ONU is determined according to the L wavelengths.
[0319] In a possible implementation, the optical signals of the L wavelengths are transmitted to the first ONU through an optical distribution network (ODN), and at least one optical splitter is arranged in the ODN, and a plurality of branch ends of each of the at least one optical splitter are provided with a transmission point, and the transmission point is configured to transmit the optical signals of the second preset wavelength.
[0320] The processing unit 1002 is further configured to determine, according to the L wavelengths, information of at least one transmission point, the at least one transmission point forming transmission for the optical signals of the L wavelengths, and determine, according to the information of the at least one transmission point, the port information of the optical splitter corresponding to the first ONU.
[0321] In a possible implementation, if N is greater than K or N is greater than L, and the differences between the values of the optical powers of the optical signals of the N wavelengths are all not greater than a threshold value, the processing unit 1002 is specifically configured to determine the port corresponding to the first ONU from at least one preset port of the optical splitter.
[0322] In a possible implementation, if N = K, the processing unit 1002 is specifically configured to determine, according to the N wavelengths and a preset mapping relationship between the wavelengths and the ports, the port information of the optical splitter corresponding to the first ONU.
[0323] In a possible implementation, if N = L, the processing unit 1002 is specifically configured to determine, according to the N wavelengths and a preset mapping relationship between the wavelengths and the ports, the port information of the optical splitter corresponding to the first ONU.
[0324] In a possible implementation, the first optical signal received by the first ONU includes a master signal and a slave signal, the value of the optical power of the master signal is greater than the value of the optical power of the slave signal, and the first optical signal is an optical signal corresponding to one of the K wavelengths.
[0325] The processing unit 1002 is specifically configured to determine, based on the value of the optical power of the master signal of the first optical signal, the K values of the optical powers with the lowest values from the values of the optical powers of the optical signals of the N wavelengths.
[0326] In a possible implementation, the port information includes information of a first port corresponding to the first optical signal, and the information of the first port corresponding to the first optical signal is determined by the processing unit 1002 based on information of a second signal sent by the first ONU to the OLT.
[0327] In a possible implementation, the transceiver unit 1001 is further configured to send indication information, where the indication information is used to instruct the laser to send a second optical signal, and the indication information includes information of a wavelength of the second optical signal, and the second optical signal is an optical signal corresponding to any one of the N wavelengths.
[0328] In a possible implementation, the transceiver unit 1001 is further configured to send, before sending the indication information, information of the wavelength of the second optical signal to the at least one ONU.
[0329] In a possible implementation, the transceiver unit 1001 is further configured to receive identification information of the first ONU sent by the first ONU.
[0330] In a possible implementation, the transceiver unit 1001 can be further configured to directly receive the port information fed back by the first ONU, so that the processing unit 1002 can directly determine the port information of the optical splitter corresponding to the first ONU according to the port information received by the transceiver unit 1001.
[0331] Referring to FIG. 11, an ONU provided in the present application is shown in a structural schematic diagram, and the ONU can be used to execute the steps executed by the ONU in any of the embodiments 2-9. Specifically, the ONU can include a transceiver unit 1101 and a processing unit 1102.
[0332] The transceiver unit 1101 is configured to receive optical signals of each of N wavelengths, where the N wavelengths are different from each other, and N is a positive integer.
[0333] The processing unit 1102 is configured to determine values of optical powers of the optical signals of each of the N wavelengths.
[0334] The processing unit 1102 is further configured to generate at least one feedback information according to the values of the optical powers of the optical signals of each of the N wavelengths.
[0335] The transceiver unit 1101 is further configured to send the at least one feedback information to an optical line terminal (OLT).
[0336] In a possible implementation, the at least one feedback information includes the values of the optical powers of the optical signals of each of the N wavelengths.
[0337] In a possible implementation, the at least one feedback information can also include values of K optical powers with the lowest values or K wavelengths corresponding to the values of the K optical powers with the lowest values, so that the OLT can determine port information of the optical splitter corresponding to the ONU according to the K wavelengths corresponding to the values of the K optical powers with the lowest values and a mapping relationship between the wavelengths and the ports.
[0338] In a possible implementation, the at least one feedback information can also include values of L optical powers with the highest values or L wavelengths corresponding to the values of the L optical powers with the highest values, so that the OLT can determine port information of the optical splitter corresponding to the ONU according to the L wavelengths corresponding to the values of the L optical powers with the highest values and a mapping relationship between the wavelengths and the ports.
[0339] In a possible implementation, the processing unit 1102 is specifically configured to:
[0340] determine values of K optical powers with the lowest values from values of optical powers of N optical signals corresponding to N wavelengths, the values of the optical powers of the N optical signals including values of optical powers of the optical signals of each of the N wavelengths received by the ONU, the K being a positive integer; determine wavelengths of the optical signals corresponding to the values of the K optical powers one by one to obtain K wavelengths; determine port information of the optical splitter corresponding to the ONU according to the K wavelengths; and generate the at least one feedback information, the at least one feedback information including the port information of the optical splitter corresponding to the ONU.
[0341] In a possible implementation, the processing unit is specifically configured to, in a scenario where there is a difference greater than a threshold value between the values of the optical powers of the N optical signals, determine values of K optical powers with the lowest values from values of optical powers of N optical signals corresponding to N wavelengths. Then determine wavelengths of the optical signals corresponding to the values of the K optical powers one by one to obtain K wavelengths; determine port information of the optical splitter corresponding to the ONU according to the K wavelengths; and generate the at least one feedback information, the at least one feedback information including the port information of the optical splitter corresponding to the ONU.
[0342] In a possible implementation, the K optical signals corresponding to the K wavelengths are transmitted to the ONU through an optical distribution network (ODN), and the ODN is provided with at least one optical splitter, and each output end of each of the at least one optical splitter is provided with a reflection point, and the reflection point is configured to reflect an optical signal of a first preset wavelength.
[0343] The processing unit 1102 is specifically configured to:
[0344] According to the K wavelengths, information of at least K reflection points reflecting the K-wavelength optical signals is determined, wherein each of the at least K reflection points forms a reflection for the optical signal corresponding to one of the K wavelengths; and port information of the ONU corresponding splitter is determined according to the information of the at least K reflection points.
[0345] In addition, the reflection points can also be arranged at each branch end of each splitter of the ODN, or at a plurality of branch ends of each splitter of at least one splitter in the ODN, which can be all or part of the branch ends of the splitter.
[0346] In a possible implementation, the processing unit 1102 is specifically configured to:
[0347] If the difference between the values of the optical powers of the N-wavelength optical signals is not greater than the threshold value, the port corresponding to the ONU is determined from at least one preset port of the splitter.
[0348] In a possible implementation, the first optical signal includes a main signal and a slave signal, the value of the optical power of the main signal is greater than the value of the optical power of the slave signal, and the first optical signal is the optical signal of one of the K wavelengths.
[0349] The processing unit 1102 is specifically configured to determine, from the values of the optical powers of the N-wavelength optical signals, K values of the optical powers with the lowest values of the optical powers based on the value of the optical power of the optical power of the main signal of the first optical signal.
[0350] In a possible implementation, the port information includes information of a first port corresponding to the first optical signal, and the information of the first port corresponding to the first optical signal is determined by the processing unit 1102 based on the information of the slave signal.
[0351] The transceiver unit 1101 is further configured to send the information of the slave signal to the OLT.
[0352] In a possible implementation, the transceiver unit 1101 is further configured to receive, before the ONU receives the N-wavelength optical signals, information of a wavelength of a second optical signal sent by the OLT, the second optical signal being an optical signal of any one of the N wavelengths.
[0353] In a possible implementation, the transceiver unit 1101 is further configured to send identification information of the ONU to the OLT.
[0354] In a possible implementation, the N-wavelength optical signals are sent by the OLT to the first ONU, or the N-wavelength optical signals are sent by a laser to the first ONU.
[0355] The application further provides an OLT 1200, referring to FIG. 12, an embodiment of the OLT in the application, which can be used to execute the steps executed by the OLT in any of the embodiments shown in FIGS. 2-9, and the related description can be referred to the above method embodiments.
[0356] The OLT 1200 includes a processor 1201, a memory 1202 and an input / output device 1203.
[0357] In a possible implementation, the processor 1201, the memory 1202 and the input / output device 1203 are connected with buses respectively, and the memory stores computer instructions.
[0358] The transceiver 1001 in the foregoing embodiments can be the input / output device 1203 in the present embodiment, and thus the implementation of the input / output device 1203 is not described herein again.
[0359] The processing unit 1002 in the foregoing embodiments can be the processor 1201 in the present embodiment, and thus the implementation of the processor 1201 is not described herein again.
[0360] In an implementation, the OLT 1200 can include more or fewer components than those shown in FIG. 12, and the application is only exemplarily illustrative, and is not limited.
[0361] The application further provides an ONU 1300, referring to FIG. 13, an embodiment of the ONU in the application, which can be used to execute the steps executed by the ONU in any of the embodiments shown in FIGS. 2-9, and the related description can be referred to the above method embodiments.
[0362] The ONU 1300 includes a processor 1301, a memory 1302 and an input / output device 1303.
[0363] In a possible implementation, the processor 1301, the memory 1302 and the input / output device 1303 are connected with buses respectively, and the memory stores computer instructions.
[0364] The transceiver 1101 in the foregoing embodiments can be the input / output device 1303 in the present embodiment, and thus the implementation of the input / output device 1303 is not described herein again.
[0365] The processing unit 1102 in the foregoing embodiments can be the processor 1301 in the present embodiment, and thus the implementation of the processor 1301 is not described herein again.
[0366] In an implementation, the ONU 1300 can include more or less components than those shown in FIG. 13. The number of components shown in FIG. 13 is provided merely as an example. More or fewer components can be present in the ONU 1300, and each component can have a different quantity. The components illustrated in FIG. 13 can be implemented in hardware, software, or combinations thereof. For example, various components can be implemented including but not limited to one or more processors, memory, and / or storage.
[0367] In a possible implementation, the input and output device of the ONU can include at least one receiver. The ONU can receive the service optical signal and the monitoring optical signal transmitted by the OLT through the same receiver, or can receive the service optical signal and the monitoring optical signal through different receivers, respectively.
[0368] The present application also provides a PON system, which can include an ONU and an OLT.
[0369] The number of ONUs can be one or more.
[0370] The OLT is the server shown in FIG. 10 or FIG. 12, and can be used to perform the steps performed by the OLT in any of the embodiments shown in FIGS. 2-9.
[0371] The ONU is the ONU shown in FIG. 11 or FIG. 13, and can be used to perform the steps performed by the ONU in any of the embodiments shown in FIGS. 2-9.
[0372] The present application provides a port detection device, which can be applied to an OLT or an ONU, etc. The port detection device is coupled with a memory, and is configured to read and execute instructions stored in the memory, so that the port detection device implements the steps of the method performed by the OLT or the ONU in any of the embodiments shown in FIGS. 2-9. In a possible design, the port detection device is a chip or a system on chip.
[0373] The present application provides a chip system, which includes a processor for supporting the OLT or the ONU to implement the functions involved in the above aspects, such as transmitting or processing the data and / or information involved in the above methods. In a possible design, the chip system further includes a memory, and the memory is configured to store necessary program instructions and data. The chip system can be composed of a chip, or can include a chip and other discrete devices.
[0374] In another possible design, when the chip system is a chip in an OLT or an ONU, etc., the chip includes a processing unit, e.g., a processor, and a communication unit, e.g., an input / output interface, a pin, or a circuit, etc. The processing unit can execute computer-executed instructions stored in a storage unit to cause the chip in the OLT or the ONU, etc., to perform the steps of the method performed by the OLT or the ONU in any of the embodiments of FIGs. 2-9. Optionally, the storage unit is a storage unit in the chip, e.g., a register, a cache, etc., and the storage unit can also be a storage unit outside the chip in the OLT or the ONU, etc., e.g., a read-only memory (ROM) or another type of static storage device that can store static information and instructions, a random access memory (RAM), etc.
[0375] The embodiments of the present application further provide a processor, which is coupled with a memory, and is configured to perform the method and the functions related to the OLT in any of the above embodiments.
[0376] The embodiments of the present application further provide a processor, which is coupled with a memory, and is configured to perform the method and the functions related to the ONU in any of the above embodiments.
[0377] The embodiments of the present application further provide a computer readable storage medium, which stores a computer program. The computer program is configured to perform the method related to the OLT or the ONU in any of the above method embodiments when executed by a computer. Correspondingly, the computer can be the OLT or the ONU.
[0378] It should be understood that the processor mentioned in the OLT, the ONU, the chip system, etc., in the above embodiments of the present application, or the processor provided by the above embodiments of the present application, can be a central processing unit (CPU), and can also be another general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. The general-purpose processor can be a microprocessor, or the processor can also be any conventional processor.
[0379] It should also be understood that the number of processors in the OLT, ONU, chip system, etc. in the above embodiments in the present application can be one or multiple, which can be adjusted according to actual application scenarios, and this is merely exemplary and is not limited.
[0380] It should also be understood that the memory or readable storage medium, etc. mentioned in the OLT, ONU, chip system, etc. in the above embodiments in the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM) used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct rambus RAM (DR RAM).
[0381] It should also be noted that when the OLT or ONU includes a processor (or processing unit) and a memory, the processor in the present application can be integrated with the memory, or the processor and the memory can be connected through an interface, which can be adjusted according to actual application scenarios and is not limited.
[0382] The embodiments of the present application also provide a computer program or a computer program product including a computer program, which, when executed on a computer, will cause the computer to implement the method flow of the method embodiments of the OLT or ONU. Correspondingly, the computer can be the OLT or ONU described above.
[0383] In the various embodiments of FIGS. 2-9, the systems, apparatuses, and units described above can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, the systems, apparatuses, and units can be implemented in whole or in part in the form of a computer program product.
[0384] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.
[0385] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the systems, apparatuses and units described above can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
[0386] In several embodiments provided in the present application, it should be understood that the disclosed systems, apparatuses and methods can be implemented in other ways. For example, the apparatus embodiments described above are only schematic. For example, the division of the units is only a logical function division. Actual implementation can have another division manner. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.
[0387] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.
[0388] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0389] When the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application, essentially or the part that makes a contribution to the prior art, or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions for causing a computer device (which can be a personal computer, a server, or other network devices, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application in FIG. 2 to FIG. 9. The storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various program code storage media.
[0390] The terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, and this is only a distinguishing way used in the description of the same attribute objects in the embodiments of the present application. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, so that the processes, methods, systems, products or devices containing a series of units do not have to be limited to those units, but can include other units not clearly listed or inherent to these processes, methods, products or devices.
[0391] The names of the messages / frames / information, modules or units provided in each embodiment of the present application are only examples, and other names can be used as long as the roles of the messages / frames / information, modules or units are the same.
[0392] The term used in the present application is only for the purpose of describing particular embodiments and is not intended to limit the present application. The singular forms "a," "an," and "the" used in the present application are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be understood that, in this description, " / " means that the objects associated in front and back are in a "or" relationship, for example, A / B can represent A or B; "and / or" in the present application is only a description of the relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which can represent: A alone, A and B exist at the same time, B alone, of which A and B can be singular or plural.
[0393] Depending on the context, the word "if" or "if" as used herein can be interpreted as "when" or "when" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrase "if determined" or "if detecting (stated condition or event)" can be interpreted as "when determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)".
[0394] The above description and the above embodiments are only used to illustrate the technical solutions of the present application, and are not limited to them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for port detection, characterized in that, Including: The OLT receives the optical signal optical power values of each of the N wavelengths sent by the first ONU, where the N wavelengths are the wavelengths of the optical signals received by the first ONU, the N wavelengths are different from each other, and N is a positive integer; The OLT determines the port information of the splitter corresponding to the first ONU according to the optical signal optical power values of each wavelength.
2. The method according to claim 1, characterized in that, If N is greater than K, the OLT determines the port information of the splitter corresponding to the first ONU according to the optical signal optical power values of each wavelength, including: If there is a difference greater than the threshold among the differences between the optical signal optical power values of the N wavelengths, the OLT determines the K optical power values with the lowest optical power values from the optical signal optical power values corresponding to the N wavelengths. The optical signal optical power values corresponding to the N wavelengths include the optical signal optical power values of each of the N wavelengths received by the first ONU, and K is a positive integer; The OLT determines the wavelengths of the optical signals corresponding one-to-one to the K optical power values to obtain K wavelengths; The OLT determines the port information of the splitter corresponding to the first ONU according to the K wavelengths.
3. The method according to claim 2, characterized in that, The optical signals corresponding to the K wavelengths are transmitted to the first ONU through the optical distribution network ODN. At least one splitter is provided in the ODN, and reflection points are provided at multiple branch ends of each splitter in the at least one splitter. The reflection points are used to reflect the optical signals of the first preset wavelength; The OLT determines the port information of the splitter corresponding to the first ONU according to the K wavelengths, including: The OLT determines the information of at least K reflection points according to the K wavelengths, where each of the at least K reflection points reflects the optical signal of one of the K wavelengths; The OLT determines the port information of the splitter corresponding to the first ONU according to the information of the at least K reflection points.
4. The method according to claim 1, characterized in that, If N is greater than L, the OLT determines the port information of the splitter corresponding to the first ONU according to the optical signal optical power values of each wavelength, including: If there is a difference greater than the threshold among the differences between the optical signal optical power values of the N wavelengths, the OLT determines the L optical power values with the highest optical power values from the optical signal optical power values corresponding to the N wavelengths. The optical signal optical power values corresponding to the N wavelengths include the optical signal optical power values of each of the N wavelengths received by the first ONU, and L is a positive integer; The OLT determines the wavelengths of the optical signals corresponding one-to-one to the L optical power values to obtain L wavelengths; The OLT determines the port information of the splitter corresponding to the first ONU according to the L wavelengths.
5. The method according to claim 4, characterized in that, The optical signals corresponding to the L wavelengths are transmitted to the first ONU through the optical distribution network ODN. At least one splitter is provided in the ODN, and transmission points are provided at multiple branch ends of each splitter in the at least one splitter. The transmission points are used to transmit the optical signals of the second preset wavelength; The OLT determines the port information of the splitter corresponding to the first ONU according to the L wavelengths, including: The OLT determines the information of at least one transmission point according to the L wavelength information fed back by the first ONU, and the at least one transmission point transmits the optical signals of the L wavelengths; The OLT determines the port information of the splitter corresponding to the first ONU according to the information of the at least one transmission point.
6. The method according to any one of claims 2-5, characterized in that, If N is greater than K, or if N is greater than L, the method further includes: If the differences between the optical power values of the optical signals of the N wavelengths are all not greater than the threshold, the OLT determines the port corresponding to the first ONU from at least one preset port of the splitter.
7. The method according to any one of claims 1-6, characterized in that, The optical signals of the N wavelengths are sent by the OLT to the first ONU, or the optical signals of the N wavelengths are sent by a laser to the first ONU.
8. A method for port detection, characterized in that, Including: An optical network unit ONU receives optical signals of each of N wavelengths, the N wavelengths are different from each other, and N is a positive integer; The ONU determines the optical power value of the optical signal of each of the N wavelengths received; The ONU generates at least one feedback message according to the optical power values of the optical signals of each of the N wavelengths; The ONU sends the at least one feedback message to an optical line terminal OLT.
9. The method according to claim 8, characterized in that, The at least one feedback message includes the optical power values of the optical signals of each of the N wavelengths, or the lowest K optical power values, the K wavelengths corresponding to the K optical power values, the highest L optical power values or the L wavelengths corresponding to the L optical power values, and K and L are positive integers not greater than N.
10. The method according to claim 8, characterized in that, If N is greater than K, the ONU generates at least one feedback message according to the optical power values of the optical signals of each of the N wavelengths, including: If there is a difference greater than the threshold among the differences between the optical power values of the optical signals of the N wavelengths, the ONU determines the lowest K optical power values from the optical power values of the optical signals corresponding to the N wavelengths, and the optical power values of the optical signals corresponding to the N wavelengths include the optical power values of the optical signals of each of the N wavelengths received by the ONU, and K is a positive integer; The ONU determines the wavelengths of the optical signals corresponding to the K optical power values one by one to obtain K wavelengths; The ONU determines the port information of the splitter corresponding to the ONU according to the K wavelengths; The ONU generates the at least one feedback message, and the at least one feedback message includes the port information of the splitter corresponding to the ONU.
11. The method according to claim 10, wherein, The optical signals corresponding to the K wavelengths are transmitted to the ONU through an optical distribution network ODN, at least one splitter is arranged in the ODN, and reflection points are arranged at multiple branch ends of each splitter in the at least one splitter, and the reflection points are used for reflecting the optical signals of a first preset wavelength; The ONU determines the port information of the splitter corresponding to the ONU according to the K wavelengths, including: The ONU determines information of at least K reflection points according to the K wavelengths, where each of the at least K reflection points reflects an optical signal corresponding to one of the K wavelengths; The ONU determines port information of the splitter corresponding to the ONU according to the information of the at least K reflection points.
12. The method according to claim 8, if the N is greater than L, wherein, The ONU generates at least one feedback message according to the optical power value of the optical signal of each of the N wavelengths, including: If there is a difference greater than a threshold among the differences between the optical power values of the optical signals of the N wavelengths, the ONU determines the highest L optical power values from the optical power values of the optical signals corresponding to the N wavelengths. The optical power values of the optical signals corresponding to the N wavelengths include the optical power values of the optical signals of each of the N wavelengths received by the first ONU, and L is a positive integer; The ONU determines the wavelengths of the optical signals corresponding to the L optical power values one by one, and obtains L wavelengths; The ONU determines port information of the splitter corresponding to the ONU according to the L wavelengths; The ONU generates the at least one feedback message, and the at least one feedback message includes port information of the splitter corresponding to the ONU.
13. The method according to claim 12, wherein, The optical signals corresponding to the L wavelengths are transmitted to the ONU through an optical distribution network (ODN). At least one splitter is arranged in the ODN. Transmission points are arranged at multiple branch ends of each splitter in the at least one splitter, and the transmission points are used for transmitting an optical signal of a second preset wavelength; The ONU determines port information of the splitter corresponding to the ONU according to the L wavelengths, including: The ONU determines information of at least one transmission point according to the L wavelengths, and the at least one transmission point transmits the optical signals of the L wavelengths; The ONU determines port information of the splitter corresponding to the ONU according to the information of the at least one transmission point.
14. The method according to any one of claims 9-13, wherein, If N is greater than K, or if N is greater than L, the method further includes: If the differences between the optical power values of the optical signals of the N wavelengths are not greater than the threshold, the ONU determines the port corresponding to the ONU from at least one preset port of the splitter.
15. An optical network device, wherein, Including: A transceiver unit and a processing unit; The transceiver unit is configured to receive the optical power value of the optical signal of each of the N wavelengths sent by the first ONU. The N wavelengths are the wavelengths of the optical signals received by the first ONU, the N wavelengths are different from each other, and N is a positive integer; The processing unit is configured to determine the port information of the splitter corresponding to the first ONU according to the optical power value of the optical signal of each wavelength.
16. The optical network device according to claim 15, wherein, The processing unit is specifically configured to: If N is greater than K, and there is a difference greater than the threshold among the values of the optical powers of the optical signals of the N wavelengths, then determine K optical power values with the lowest optical power values from the values of the optical powers of the optical signals corresponding to the N wavelengths. The values of the optical powers of the optical signals corresponding to the N wavelengths include the values of the optical powers of the optical signals of each of the N wavelengths received by the first ONU. K is a positive integer; Determine the wavelengths of the optical signals corresponding one-to-one to the K optical power values to obtain K wavelengths; Determine the port information of the optical splitter corresponding to the first ONU according to the K wavelengths.
17. The optical network device according to claim 16, wherein, The optical signals corresponding to the K wavelengths are transmitted to the first ONU through an optical distribution network ODN. At least one optical splitter is provided in the ODN. Reflection points are provided at multiple branch ends of each of the at least one optical splitters. The reflection points are used to reflect the optical signals of a first preset wavelength; The processing unit is specifically configured to: Determine the information of at least K reflection points according to the K wavelengths, where each of the at least K reflection points reflects the optical signal of one of the K wavelengths; Determine the port information of the optical splitter corresponding to the first ONU according to the information of the at least K reflection points.
18. The optical network device according to claim 15, wherein, The processing unit is specifically configured to: If N is greater than L, and there is a difference greater than the threshold among the values of the optical powers of the optical signals of the N wavelengths, then determine L optical power values with the highest optical power values from the values of the optical powers of the optical signals corresponding to the N wavelengths. The values of the optical powers of the optical signals corresponding to the N wavelengths include the values of the optical powers of the optical signals of each of the N wavelengths received by the first ONU. L is a positive integer; Determine the wavelengths of the optical signals corresponding one-to-one to the L optical power values to obtain L wavelengths; Determine the port information of the optical splitter corresponding to the first ONU according to the L wavelengths.
19. The optical network device according to claim 18, characterized in that, The optical signals corresponding to the L wavelengths are transmitted to the first ONU through an optical distribution network ODN. At least one optical splitter is provided in the ODN. Transmission points are provided at multiple branch ends of each of the at least one optical splitters. The transmission points are used to transmit the optical signals of a second preset wavelength; The processing unit is further configured to: Determine the information of at least one transmission point according to the L wavelengths. The at least one transmission point transmits the optical signals of the L wavelengths; Determine the port information of the optical splitter corresponding to the first ONU according to the information of the at least one transmission point.
20. The optical network device according to any one of claims 16 - 19, characterized in that, If N is greater than K, or if N is greater than L, then the processing unit is specifically configured to: If the differences among the values of the optical powers of the optical signals of the N wavelengths are not greater than the threshold, determine the port corresponding to the first ONU from at least one preset port of the optical splitter.
21. The optical network device according to any one of claims 15 - 20, characterized in that, The optical signals of the N wavelengths are sent to the first ONU by the transceiver unit, or the optical signals of the N wavelengths are sent to the first ONU by a laser.
22. An optical network device, characterized in that, Including: A transceiver unit and a processing unit; The transceiver unit is configured to receive optical signals of each of N wavelengths, where the N wavelengths are different from each other, and N is a positive integer; The processing unit is configured to determine the optical power values of the optical signals of each of the N wavelengths received; The processing unit is further configured to generate at least one feedback message according to the optical power values of the optical signals of each of the N wavelengths; The transceiver unit is further configured to send the at least one feedback message to an optical line terminal OLT.
23. The optical network device according to claim 22, characterized in that, The at least one feedback message includes the optical power values of the optical signals of each of the N wavelengths, the K optical power values with the lowest values and the K wavelengths corresponding to the K optical power values with the lowest values, the L optical power values with the highest values, or the L wavelengths corresponding to the L optical power values with the highest values, where K and L are positive integers not greater than N.
24. The optical network device according to claim 22, if N is greater than K, characterized in that, The processing unit is specifically configured to: If there is a difference greater than a threshold among the differences between the optical power values of the optical signals of the N wavelengths, determine the K optical power values with the lowest optical power values from the optical power values of the optical signals corresponding to the N wavelengths, where the optical power values of the optical signals corresponding to the N wavelengths include the optical power values of the optical signals of each of the N wavelengths received by the ONU, and K is a positive integer; Determine the wavelengths of the optical signals corresponding one by one to the K optical power values to obtain K wavelengths; Determine the port information of the splitter corresponding to the ONU according to the K wavelengths; Generate the at least one feedback message, where the at least one feedback message includes the port information of the splitter corresponding to the ONU.
25. The optical network device according to claim 24, characterized in that, The optical signals corresponding to the K wavelengths are transmitted to the ONU through an optical distribution network ODN. At least one splitter is provided in the ODN. Reflection points are provided at multiple branch ends of each of the at least one splitter, and the reflection points are configured to reflect optical signals of a first preset wavelength; The processing unit is specifically configured to: Determine the information of at least K reflection points according to the K wavelengths, where each of the at least K reflections forms a reflection on the optical signal corresponding to one of the K wavelengths; Determine the port information of the splitter corresponding to the ONU according to the information of the at least K reflection points.
26. The optical network device according to claim 22, if N is greater than L, characterized in that, The processing unit is specifically configured to: If there is a difference greater than a threshold among the differences between the optical power values of the optical signals of the N wavelengths, determine the L optical power values with the highest optical power values from the optical power values of the optical signals corresponding to the N wavelengths, where the optical power values of the optical signals corresponding to the N wavelengths include the optical power values of the optical signals of each of the N wavelengths received by the first ONU, and L is a positive integer; Determine the wavelengths of the optical signals corresponding one by one to the L optical power values to obtain L wavelengths; Determine the port information of the splitter corresponding to the ONU according to the L wavelengths; Generate the at least one feedback message, where the at least one feedback message includes the port information of the splitter corresponding to the ONU.
27. The optical network device according to claim 26, characterized in that, The optical signals corresponding to the L wavelengths are transmitted to the ONU via an optical distribution network ODN. At least one optical splitter is provided in the ODN. Transmission points are provided at a plurality of branch ends of each of the at least one optical splitter, and the transmission points are used for transmitting optical signals of a second preset wavelength. The processing unit is specifically configured to: Determine information of at least one transmission point according to the L wavelengths, and the at least one transmission point transmits the optical signals of the L wavelengths; Determine port information of the optical splitter corresponding to the ONU according to the information of the at least one transmission point.
28. The optical network device according to any one of claims 24-26, characterized in that, If N is greater than K, or if N is greater than L, the processing unit is specifically configured to: If the differences between the optical power values of the optical signals of the N wavelengths are all not greater than the threshold, determine the port corresponding to the first ONU from at least one preset port of the optical splitter.
29. A passive optical network (PON) system, characterized in that, Including: An optical distribution network ODN and at least one optical network unit ONU; The at least one ONU is respectively connected to at least one port of the ODN, and the ports of the ODN connected by each ONU in the at least one ONU are different; At least one optical splitter is included in the ODN; Reflection points are provided at a plurality of ports of each of the at least one optical splitter, and the reflection points are used for reflecting optical signals of a first preset wavelength.
30. The PON system according to claim 29, characterized in that, Any one of the at least one ONU is an optical network device as described in any one of claims 22-25 or 28.
31. The PON system according to claim 29, characterized in that, The PON system further includes: an optical line terminal OLT; The output end of the OLT is connected to the backbone end of the ODN; The OLT is an optical network device as described in any one of claims 15-17, 20 or 21.
32. A passive optical network (PON) system, characterized in that, Including: An optical distribution network ODN and at least one optical network unit ONU; The at least one ONU is respectively connected to at least one port of the ODN, and the ports of the ODN connected by each ONU in the at least one ONU are different; At least one optical splitter is included in the ODN; Transmission points are provided at a plurality of branch ends of each of the at least one optical splitter, and the transmission points are used for transmitting optical signals of a second preset wavelength.
33. The PON system according to claim 32, characterized in that, Any one of the at least one ONU is an optical network device as described in any one of claims 22 or 26-28.
34. The PON system according to claim 32, characterized in that, The PON system further includes: an optical line terminal OLT; The output end of the OLT is connected to the backbone end of the ODN; The OLT is an optical network device as described in any one of claims 15, 18-21.
35. An optical network device, comprising a processor and a memory, characterized in that, The processor is coupled to the memory and is configured to read and execute instructions stored in the memory to implement the steps of any one of claims 1-7 or 8-14.
36. The optical network device according to claim 35, characterized in that, The optical network device is a chip or a system-on-chip.