Topology information determination method, electronic device, storage medium and program product
By introducing tunable lasers and reflectors into the optical access network, and utilizing the combination of reflectors and doped optical fibers to send downlink probe signals of specific wavelengths, and combining signaling interaction to acquire and process power values, the problem of determining the connection relationship between slave devices and optical splitters is solved, and topology visualization is realized.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-06-20
- Publication Date
- 2026-03-26
AI Technical Summary
Existing technologies cannot perceive the connection relationship between devices and splitters in optical access networks, making topology visualization difficult.
By introducing tunable lasers and reflectors into the optical access network, and utilizing the combination of reflectors and doped optical fibers, downlink probe signals of specific wavelengths are sent. Combined with the signaling interaction between the master and slave devices, power values are acquired and processed to determine the connection relationship between the slave device and the splitter.
It enables the determination of the connection relationship between slave devices and optical splitters in optical access networks, realizes topology visualization, and improves the master device's ability to perceive the location of slave devices.
Smart Images

Figure CN2025102333_26032026_PF_FP_ABST
Abstract
Description
Method for determining topology information, electronic device, storage medium and program product
[0001] Cross-reference to Related Applications
[0002] This application claims priority to the Chinese patent application No. 202411317753.5, filed on September 20, 2024, and entitled "Method for determining topology information, electronic device, storage medium and program product", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0003] The present application relates to the field of optical fiber sensing technology, and in particular to a method for determining topology information, an electronic device, a storage medium and a program product. BACKGROUND
[0004] Optical fiber sensing is an emerging sensing technology, and its typical application scenarios include optical access networks, such as passive optical networks (PON), fiber to the room (FTTR) networks, etc. An optical access network usually includes a master device, an optical splitter, and slave devices, the slave devices are connected after the optical splitter, and when the master device sends a downstream service signal (optical signal), the downstream service signal will first enter the optical splitter and then be received by the slave devices.
[0005] In related technologies, topology visualization is an important use case of optical fiber sensing in optical access networks. Topology visualization requires the master device to be able to perceive the position of the slave device, such as the connection relationship between the slave device and the optical splitter. However, there is currently no related technical solution to achieve this purpose. SUMMARY
[0006] The present application provides a method for determining topology information, an electronic device, a storage medium and a program product, which are used to solve the problem of how to determine the connection relationship between the slave device and the optical splitter in the optical access network to realize topology visualization.
[0007] In a first aspect, a method for determining topology information is provided, which is applied to a master device in an optical access network, and includes: receiving first reception powers of a plurality of slave devices, the first reception powers being reception powers of the plurality of slave devices on a downstream service signal sent by the master device; receiving second reception powers of the plurality of slave devices, the second reception powers being reception powers of the plurality of slave devices on the downstream service signal and a downstream probe signal, a wavelength of the downstream probe signal including a reflection wavelength set of a to-be-detected hierarchical optical splitter in the optical access network; and determining a connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter according to the first reception powers and the second reception powers.
[0008] In a second aspect, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method according to the first aspect.
[0009] In a third aspect, a computer-readable storage medium is provided, which stores instructions that, when executed by a processor of an electronic device, enable the electronic device to perform the method according to the first aspect.
[0010] In a fourth aspect, a computer program product is provided, which comprises a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of the method according to the first aspect. BRIEF DESCRIPTION OF DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments described in the application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0012] Fig. 1 is a schematic diagram of the system architecture of an optical access network according to an embodiment of the application;
[0013] Fig. 2 is a schematic diagram of a modified structure of a two-stage optical splitter according to an embodiment of the application;
[0014] Fig. 3 is a schematic diagram of the optional wavelength range of a tunable laser and the reflection wavelength of a two-stage optical splitter according to an embodiment of the application;
[0015] Fig. 4 is a schematic diagram of receiving a downstream service signal from a device according to an embodiment of the application;
[0016] Fig. 5 is a schematic diagram of receiving a downstream service signal and a downstream probe signal from a device according to an embodiment of the application;
[0017] Fig. 6 is a schematic diagram of receiving a downstream service signal and a downstream probe signal from another device according to an embodiment of the application;
[0018] Fig. 7 is a schematic diagram of the received power of a downstream service signal and a downstream probe signal by different devices according to an embodiment of the application;
[0019] Fig. 8 is a flowchart of a method for determining topology information according to an embodiment of the application;
[0020] Fig. 9 is a schematic diagram of a method for determining topology information according to an embodiment of the application;
[0021] Figure 10 is a schematic diagram of a method for determining topology information according to an embodiment of the present application;
[0022] Figure 11 is a schematic diagram of a method for determining topology information according to an embodiment of the present application;
[0023] Figure 12 is a schematic diagram of an electronic device according to an embodiment of the present application;
[0024] Figure 13 is a schematic diagram of a device for determining topology information according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the technical personnel in the technical field better understand the technical solutions in the present application, the technical solutions in the present application will be described clearly and completely below in conjunction with the drawings in one or more embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor should fall within the protection scope of the present application.
[0026] The terms "first", "second", and the like in the present application and claims are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the present application can be implemented in an order other than those illustrated or described here. In addition, "and / or" in the present application and claims means at least one of the connected objects, and the character " / " generally means that the front and rear associated objects are in an "or" relationship.
[0027] Figure 1 is a schematic diagram of a system architecture of an optical access network according to an embodiment of the present application.
[0028] The system architecture of the optical access network shown in Figure 1 is based on the traditional optical access network architecture, and a tunable laser and a combiner (WDM) are added on the master device side, and the secondary optical splitter is modified. The tunable laser can emit a downlink probe signal (optical signal) of different wavelengths in a long-haul transmission mode, which can enter the combiner together with the downlink service signal (optical signal) transmitted by the master device and then enter the distribution network. The distribution network includes a primary optical splitter, a secondary optical splitter, and a slave device, and two slave devices are connected below each secondary optical splitter (it can also not connect the slave device, or only connect one slave device, or connect more slave devices, and Figure 1 only takes two slave devices as an example for illustration). The modification of the secondary optical splitter can be as shown in Figure 2.
[0029] FIG. 2 takes a two-stage optical splitter as an example. When modifying the two-stage optical splitter, a reflector and a doped optical fiber can be sequentially added in front of the two-stage optical splitter. The reflector can reflect light signals of a specific wavelength, and light signals of other wavelengths can be transmitted through the reflector without being affected. The doped optical fiber can absorb and amplify light signals within a certain wavelength range, and the wavelength range is affected by the doping element.
[0030] In the optical access network system architecture shown in FIG. 1, the reflection wavelengths of the reflectors in different two-stage optical splitters are different values, that is, the two-stage optical splitters can be distinguished by the reflection wavelengths. In addition, the reflection wavelength of any two-stage optical splitter cannot be the wavelength of the downstream service signal in the optical access network, so as to avoid the downstream service signal being reflected by the reflector in the two-stage optical splitter. The absorption wavelength range of the doped optical fiber includes the reflection wavelengths of all two-stage optical splitters in the optical access network, and the amplification wavelength range includes the wavelength of the downstream service signal in the optical access network. The tunable laser can select different emission wavelengths, and the selectable wavelength range at least covers the reflection wavelengths of all two-stage optical splitters in the optical access network. As shown in FIG. 3, the optical access network includes n two-stage optical splitters, and the corresponding reflection wavelengths are λ1, λ2, …, λn, respectively. The tunable laser can select different emission wavelengths, and the selectable wavelength range at least covers the reflection wavelengths of all two-stage optical splitters in the optical access network. n The selectable wavelength range of the tunable laser at least includes λ1, λ2, …, λn. n .
[0031] In the current optical access network, topology visualization is an important use case of fiber sensing technology in the optical access network. Topology visualization requires the master device to be able to perceive the location of the slave device, such as the slave device connected under which optical splitter in FIG. 1. However, in the related art, there is no technical solution to achieve this purpose.
[0032] Embodiments of the present application provide a method for determining topology information, an electronic device, a storage medium and a program product. In the embodiments of the present application, the master device in the optical access network obtains the power values of the slave device in different situations through signaling interaction between the master device and the slave device, and further processes the power values. The connection relationship between the slave device and the optical splitter is obtained according to the processing result, and the topology information visualization is realized.
[0033] In order to facilitate understanding of the technical solutions provided by the embodiments of the present application, the implementation principle of the embodiments of the present application for determining topology information will be explained and described below with reference to FIGS. 4 to 7.
[0034] Fig. 4 shows that when the tunable laser in the optical access network is not turned on, only the downstream service signal sent by the master device exists in the downstream direction, and the downstream service signal will pass through the reflector and the doped fiber of the secondary optical splitter in turn before entering the secondary optical splitter. According to the above-mentioned wavelength requirement of the reflector (i.e. the reflection wavelength of any secondary optical splitter cannot be the wavelength of the downstream service signal in the optical access network), the downstream service optical signal will transmit through the reflector and enter the doped fiber. When the downstream service signal passes through the doped fiber, it will be absorbed by the doped fiber, resulting in a certain power loss, and then pass through the secondary optical splitter and be received by the slave device.
[0035] When the tunable laser in the optical access network is turned on, as shown in Fig. 5, if the wavelength of the downstream probe signal emitted by the tunable laser is the reflection wavelength of the secondary optical splitter shown in Fig. 4, the downstream probe signal will be reflected by the reflector without entering the doped fiber and the secondary optical splitter before entering the secondary optical splitter, so that the downstream signal received by the slave device is consistent with the downstream signal received by the slave device when the tunable laser is not turned on in Fig. 4, and thus the power of the downstream signal received by the slave device remains unchanged. For other secondary optical splitters, as shown in Fig. 6, since the reflection wavelength of the other secondary optical splitters is different from the reflection wavelength of the downstream probe signal, the downstream probe signal will not be reflected by the reflector of the other secondary optical splitter before entering the other secondary optical splitter, i.e. the downstream probe signal will enter the doped fiber of the other secondary optical splitter together with the downstream service signal. Since the entry of the downstream probe signal will change the absorption of the doped fiber to the downstream service signal, it will result in a change in the signal receiving power of the slave device.
[0036] It can be seen that when the tunable laser in the optical access network is turned on and the emission wavelength of the tunable laser is set to the reflection wavelength of a certain secondary optical splitter in the optical access network, the power of the downstream signal received by the slave device after the secondary optical splitter will remain unchanged, while the power of the downstream signal received by other slave devices will change, as shown in Fig. 7. Based on the change of the downstream signal receiving power, it can be determined that the slave device connected after the secondary optical splitter, i.e. the connection relationship between the slave device and the secondary optical splitter is perceived. In addition, if the downstream signal receiving power of the slave device changes under the downstream probe signal of all secondary optical splitters, it can be considered that the downstream signal received by the slave device has not passed through any secondary optical splitter, and at this time it can be determined that the slave device is connected under the primary optical splitter.
[0037] It should be noted that the embodiments shown in FIGS. 4-7 are only described by taking two-stage optical splitters as an example, and in actual application, the implementation principle can also be applied to optical splitters of any stage. After modifying the optical splitters of any stage according to FIG. 2, a to-be-detected stage optical splitter can be obtained. The number of stages of the to-be-detected stage optical splitter can be one or more (the two-stage optical splitters in FIGS. 1-7 correspond to the case where the to-be-detected stage optical splitter is one stage), and the technical solution provided in the embodiments of the present application can determine the connection relationship between the device and the to-be-detected stage optical splitter.
[0038] The technical solutions provided in the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0039] FIG. 8 is a flowchart of a method for determining topology information according to an embodiment of the present application. The method for determining topology information can be applied to a master device in an optical access network, that is, the method for determining topology information can be executed by the master device in the optical access network, or in other words, the method for determining topology information can be executed by software or hardware installed in the master device in the optical access network. The optical access network includes but is not limited to a PON network and an FTTR network. In the case of a PON network, the master device is an optical line terminal (OLT), and the slave device is an optical network unit (ONU). In the case of an FTTR network, the master device is a main FTTR unit (MFU), and the slave device is a sub FTTR unit (SFU). The method for determining topology information shown in FIG. 1 includes the following steps.
[0040] S802: Receive first received power of the plurality of slave devices. The first received power is the received power of the plurality of slave devices to the downstream service signal sent by the master device.
[0041] The optical access network in the embodiments of the present application includes a tunable laser, a combiner, a master device, a to-be-detected stage optical splitter, and a slave device. The functions and roles can be referred to the corresponding descriptions in the embodiments shown in FIGS. 1-7, which will not be described in detail here. When determining the topology information of the optical access network, the master device can send a downstream service signal to the slave device without turning on the tunable laser. The downstream service signal enters the slave device through the to-be-detected stage optical splitter and is received by the slave device. At this time, the master device can receive the first received power of the plurality of slave devices to the downstream service signal.
[0042] In some embodiments, the master device receiving the first received power of the plurality of slave devices can comprise: for any slave device, sending a first message to the slave device, the first message being used to query the slave device for the received power of the downstream service signal; and receiving a second message sent by the slave device, the second message comprising the received power of the downstream service signal by the slave device.
[0043] The master device can record the received power of the downstream service signal after sending the downstream service signal to the slave device. When obtaining the received power of the downstream service signal by the slave device, for any slave device, the master device can send a first message to the slave device, the first message being used to query the slave device for the received power of the downstream service signal. After receiving the first message, the slave device can respond to the first message and send a second message to the master device, the second message comprising the received power of the downstream service signal by the slave device. After receiving the second message, the master device can obtain the received power of the downstream service signal by the slave device according to the second message.
[0044] In some embodiments, in order to improve the accuracy of the received power obtained by the master device, the master device can query the received power of the downstream service signal by the slave device multiple times, i.e., send the first message to the slave device multiple times. When receiving multiple received powers sent by the slave device, the master device can take the average of the multiple received powers as the received power of the downstream service signal by the slave device.
[0045] After receiving the received power of the downstream service signal by the slave device, the master device can record the received power locally for subsequent comparison of power values.
[0046] The first message described above can be a management and control message, and in some embodiments, the first message can be at least one of an Optical Network Unit Management and Control Interface (OMCI) message and a Fiber Management and Control Interface (FMCI) message. That is, the master device can send an OMCI message and / or an FMCI message to the slave device to query the received power of the downstream service signal by the slave device.
[0047] The second message described above can be a management and control message, and in some embodiments, the second message can be at least one of an OMCI message and an FMCI message. That is, the slave device can send an OMCI message and / or an FMCI message to the master device to report the received power of the downstream service signal.
[0048] S804: receiving second receiving powers of the plurality of slave devices, the second receiving powers being receiving powers of the plurality of slave devices on the downlink service signal and the downlink probe signal, the wavelength of the downlink probe signal including the set of reflection wavelengths of the hierarchical optical splitter to be detected.
[0049] After receiving the first receiving powers of the plurality of slave devices on the downlink service signal, the master device can turn on the tunable laser, the tunable laser can emit the downlink probe signal, the selectable emission wavelengths of the tunable laser including the set of reflection wavelengths of the hierarchical optical splitter to be detected, and correspondingly, the wavelength of the downlink probe signal including the set of reflection wavelengths of the hierarchical optical splitter to be detected. The set of reflection wavelengths is a set of reflection wavelengths corresponding to the reflectors of all optical splitters in the hierarchical optical splitter to be detected, in the case that a reflector and a doped optical fiber are arranged in front of each optical splitter. In the case that the tunable laser is turned on, the downlink service signal and the downlink probe signal enter the combiner, and then enter the slave device through the hierarchical optical splitter to be detected, and are received by the slave device. At this time, the master device can receive the second receiving powers of the plurality of slave devices on the downlink service signal and the downlink probe signal. For each slave device, the second receiving power can include the receiving power of the slave device on the downlink service signal and the downlink probe signal at different wavelengths.
[0050] In some embodiments, the master device receiving the second receiving powers of the plurality of slave devices can include: turning on the tunable laser, the tunable laser being used to emit the downlink probe signal, the selectable emission wavelengths of the tunable laser including the set of reflection wavelengths of the hierarchical optical splitter to be detected; and cyclically performing the following operations until all the selectable emission wavelengths have been configured: setting the emission wavelength of the tunable laser to an unconfigured selectable emission wavelength; for any slave device, sending a third message to the slave device, the third message being used to query the receiving power of the slave device on the downlink service signal and the downlink probe signal; and receiving a fourth message sent by the slave device, the fourth message including the receiving power of the slave device on the downlink service signal and the downlink probe signal.
[0051] In an example, after the tunable laser is turned on, the master device can set the transmission wavelength of the tunable laser to be a certain reflection wavelength in the reflection wavelength set of the layer-level optical splitter to be detected, i.e., control the wavelength of the downlink probe signal transmitted by the tunable laser to be the reflection wavelength, and then mark the reflection wavelength as a configured optional transmission wavelength. Subsequently, for any slave device, the master device can send a third message to the slave device, the third message being used to query the reception power of the downlink service signal and the downlink probe signal by the slave device. After receiving the third message, the slave device can respond to the third message and send a fourth message to the master device, the fourth message including the reception power of the downlink service signal and the downlink probe signal by the slave device. After receiving the fourth message, the master device can obtain the reception power of the downlink service signal and the downlink probe signal by the slave device according to the fourth message.
[0052] Subsequently, for any slave device, the master device can send a third message to the slave device, the third message being used to query the reception power of the downlink service signal and the downlink probe signal by the slave device. After receiving the third message, the slave device can respond to the third message and send a fourth message to the master device, the fourth message including the reception power of the downlink service signal and the downlink probe signal by the slave device. After receiving the fourth message, the master device can obtain the reception power of the downlink service signal and the downlink probe signal by the slave device according to the fourth message. Subsequently, the master device can continue to adjust the transmission wavelength of the tunable laser and perform the operations of sending the third message to the slave device and receiving the fourth message sent by the slave device until all the optional transmission wavelengths of the tunable laser are configured.
[0053] That is, the master device can set the transmission wavelength of the tunable laser to be each reflection wavelength in the reflection wavelength set of the layer-level optical splitter to be detected in turn, and obtain the reception power of the downlink service signal and the downlink probe signal under each reflection wavelength by each slave device in turn, and finally obtain the reception power of the downlink service signal and the downlink probe signal under different reflection wavelengths by multiple slave devices.
[0054] In some embodiments, in order to improve the accuracy of the reception power obtained by the master device, the master device can perform multiple queries when querying the reception power from the slave device each time, i.e., send the third message to the slave device multiple times. In the case that the master device receives multiple reception powers sent by the slave device, the master device can take the average of the multiple reception powers as the reception power of the slave device.
[0055] The master device can turn off the tunable laser after obtaining the second reception powers of the plurality of slave devices.
[0056] The third message can be a management message, and in some embodiments, the third message can be at least one of an OMCI message and an FMCI message. That is, the master device can send an OMCI message and / or an FMCI message to the slave device to query the reception powers of the downstream service signal and the downstream probe signal.
[0057] The third message can be a management message, and in some embodiments, the third message can be at least one of an OMCI message and an FMCI message. That is, the master device can send an OMCI message and / or an FMCI message to the slave device to query the reception powers of the downstream service signal and the downstream probe signal.
[0058] S806: Determine the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter according to the first reception powers and the second reception powers.
[0059] Since the wavelengths of the downstream probe signal include the set of reflection wavelengths of the to-be-detected hierarchical optical splitter in the optical access network, for the downstream probe signal at any reflection wavelength, in the case where the downstream signal is the downstream service signal, the downstream service signal and the downstream probe signal respectively, the slave devices connected to the to-be-detected hierarchical optical splitter corresponding to the reflection wavelength have a small difference between the first reception power and the second reception power, and the slave devices not connected to the to-be-detected hierarchical optical splitter corresponding to the reflection wavelength have a large difference between the first reception power and the second reception power. Therefore, after receiving the first reception power and the second reception power, the master device can obtain the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter by processing the first reception power and the second reception power.
[0060] In some embodiments, determining the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter according to the first reception powers and the second reception powers can include: obtaining a correspondence between the to-be-detected hierarchical optical splitter and the reflection wavelengths of the to-be-detected hierarchical optical splitter; determining a difference between the first reception power and the second reception power; and determining the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter according to the difference and the correspondence.
[0061] The to-be-detected hierarchical optical splitter in the embodiments of the present application can be any hierarchical level. For different hierarchical levels of the to-be-detected optical splitter, the corresponding relationship between the to-be-detected optical splitter and the reflection wavelength is different. When determining the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter, the corresponding relationship needs to be obtained. In addition, in the case where the slave device is connected to the to-be-detected hierarchical optical splitter, the slave device has different reception powers for different downlink signals, i.e., the first reception power and the second reception power of the slave device are different. Therefore, when determining the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter, the difference between the first reception power and the second reception power needs to be determined. After obtaining the corresponding relationship between the to-be-detected hierarchical optical splitter and the reflection wavelength and determining the difference between the first reception power and the second reception power, the corresponding relationship and the difference can be analyzed and processed. Based on the implementation principle of determining the topology information as described above, the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter can be finally obtained.
[0062] For ease of understanding, the following will take the case where the number of levels of the to-be-detected hierarchical optical splitter is one and two as an example to illustrate how to determine the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter according to the above difference and corresponding relationship.
[0063] In some embodiments, in the case where the level of the to-be-detected hierarchical optical splitter is one, the number of reflection wavelengths of the to-be-detected hierarchical optical splitter can be equal to the number of to-be-detected optical splitters included in the to-be-detected hierarchical optical splitter. The corresponding relationship between the to-be-detected hierarchical optical splitter and the reflection wavelength includes the corresponding relationship between each to-be-detected optical splitter in the to-be-detected hierarchical optical splitter and the corresponding reflection wavelength. In this way, when determining the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter according to the difference and the corresponding relationship, the following operation can be performed for the first reflection wavelength corresponding to any first optical splitter in the to-be-detected hierarchical optical splitter: for any slave device, determining a third reception power from the second reception power of the slave device, the third reception power being the reception power of the slave device for the downlink service signal and the downlink probe signal at the first reflection wavelength; determining a first difference between the first reception power and the third reception power; in the case where the first difference is less than or equal to a first threshold, determining that the slave device is connected after the first optical splitter; in the case where the first difference is greater than the first threshold, determining that the slave device is not connected after the first optical splitter.
[0064] In an example, as described above, in the case that the wavelength of the downlink probe signal is the reflection wavelength of a to-be-detected optical splitter, for a slave device connected with the to-be-detected optical splitter, the difference between the first received power and the second received power is small, and for a slave device not connected with the to-be-detected optical splitter, the difference between the first received power and the second received power is large. Therefore, when determining the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter, for the wavelength corresponding to any to-be-detected optical splitter, which can be represented as the first reflection wavelength corresponding to the first optical splitter for the sake of convenience, the received powers of the plurality of slave devices under different downlink signals can be compared, that is, for each slave device, the third received power is determined from the second received power, the third received power being the received power of the slave device under the downlink service signal and the downlink probe signal under the first reflection wavelength, and then the size relationship between the first difference between the first received power and the third received power and the first threshold is judged. The first threshold can be determined according to actual requirements, which is not limited here. If the first difference is less than or equal to the first threshold, it can be indicated that the difference between the received powers of the slave device under different downlink signals is small, and at this time, it can be determined that the slave device is connected after the first optical splitter. If the first difference is greater than the first threshold, it can be indicated that the difference between the received powers of the slave device under different downlink signals is large, and at this time, it can be determined that the slave device is not connected after the first optical splitter. In this way, by judging the first received power and the third received power of each slave device, it can be finally determined which slave device is connected after the first optical splitter. Based on the same method, the connection relationship between the plurality of slave devices and the plurality of to-be-detected optical splitters in the to-be-detected hierarchical optical splitter can be determined.
[0065] In some embodiments, after comparing the received powers of the plurality of slave devices based on the above method and determining the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter, for a certain slave device, the result obtained can be that the slave device is not connected after any to-be-detected optical splitter of the to-be-detected hierarchical optical splitter, in which case it can be determined that the slave device is connected before the to-be-detected hierarchical optical splitter.
[0066] In some embodiments, in the case where the level of the to-be-detected hierarchical optical splitters is two, the number of reflection wavelengths of the to-be-detected hierarchical optical splitters can be equal to the sum of the number of first-level to-be-detected splitters and the maximum number of second-level to-be-detected splitters connected to the first-level to-be-detected splitters, different first-level to-be-detected splitters are allocated different reflection wavelengths, and the second-level to-be-detected splitters under the same first-level to-be-detected splitter are allocated the remaining reflection wavelengths. The correspondence between the to-be-detected hierarchical optical splitters and the reflection wavelengths includes the correspondence between the first-level to-be-detected splitters and the second-level to-be-detected splitters and the corresponding reflection wavelengths. For example, the number of first-level to-be-detected splitters is 2, the number of second-level to-be-detected splitters connected to each first-level to-be-detected splitter is 8, and the number of reflection wavelengths of the to-be-detected hierarchical optical splitters is 10, which are represented as λ1, λ2, …, λ9, and λ10, respectively. The reflection wavelengths of the first-level to-be-detected splitters are λ1 and λ2, respectively. The reflection wavelengths of the 8 second-level to-be-detected splitters under the first-level to-be-detected splitter with the reflection wavelength λ1 are λ3, λ4, …, λ10 in turn. The reflection wavelengths of the 8 second-level to-be-detected splitters under the first-level to-be-detected splitter with the reflection wavelength λ2 are λ3, λ4, …, λ10 in turn. 10 , where the reflection wavelengths of the first-level to-be-detected splitters are λ1 and λ2, respectively, the reflection wavelengths of the 8 second-level to-be-detected splitters under the first-level to-be-detected splitter with the reflection wavelength λ1 are λ3, λ4, …, λ 10 , and the reflection wavelengths of the 8 second-level to-be-detected splitters under the first-level to-be-detected splitter with the reflection wavelength λ2 are λ3, λ4, …, λ 10 .
[0067] In the case where the level of the to-be-detected hierarchical optical splitters is two, when determining the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitters according to the difference value and the correspondence, the following operations can be performed: for the second reflection wavelength corresponding to any second splitter in the first-level to-be-detected splitters and the third reflection wavelength corresponding to any third splitter in the second-level to-be-detected splitters, for any slave device, determining a fourth reception power and a fifth reception power from the second reception power of the slave device, the fourth reception power being the reception power of the slave device to the downlink service signal and the downlink probe signal under the second reflection wavelength, and the fifth reception power being the reception power of the slave device to the downlink service signal and the downlink probe signal under the third reflection wavelength; determining a second difference value between the first reception power and the fourth reception power, and a third difference value between the first reception power and the fifth reception power; in the case where the second difference value is less than or equal to the second threshold value and the third difference value is less than or equal to the third threshold value, determining that the slave device is connected after the second splitter and the third splitter; in the case where the second difference value is less than or equal to the second threshold value and the third difference value is greater than the third threshold value, determining that the slave device is connected after the second splitter and not connected after the third splitter; in the case where the second difference value is greater than the second threshold value and the third difference value is greater than the third threshold value, determining that the slave device is not connected after the second splitter and the third splitter.
[0068] For the two-stage to-be-detected hierarchical optical splitters, the implementation principle is similar when determining the connection relationship between the slave device and the to-be-detected hierarchical optical splitter. If a slave device is connected after the first-stage to-be-detected optical splitter and the second-stage to-be-detected optical splitter, the receiving power of the slave device changes little when the reflection wavelength of the downlink probe signal is the reflection wavelength of the first-stage to-be-detected optical splitter and the reflection wavelength of the second-stage to-be-detected optical splitter respectively, and the receiving power of the slave device differs greatly in other cases. If a slave device is connected after the first-stage to-be-detected optical splitter, the receiving power of the slave device changes little when the reflection wavelength of the downlink probe signal is the reflection wavelength of the first-stage to-be-detected optical splitter, and the receiving power of the slave device differs greatly in other cases.
[0069] Therefore, when determining the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitters, for the wavelength corresponding to any one of the first-stage to-be-detected optical splitters and the wavelength corresponding to any one of the second-stage to-be-detected optical splitters, which can be represented as the second reflection wavelength corresponding to the second optical splitter and the third reflection wavelength corresponding to the third optical splitter for the convenience of distinction, the receiving powers of the plurality of slave devices under different downlink signals can be compared, that is, for each slave device, the fourth receiving power and the fifth receiving power are determined from the second receiving power, the fourth receiving power is the receiving power of the slave device to the downlink service signal and the downlink probe signal under the second reflection wavelength, and the fifth receiving power is the receiving power of the slave device to the downlink service signal and the downlink probe signal under the third reflection wavelength, and then the size relationship between the second difference value between the first receiving power and the fourth receiving power and the second threshold value and the size relationship between the third difference value between the first receiving power and the fifth receiving power and the third threshold value are judged. The second threshold value and the third threshold value can be determined according to actual needs, which are not limited here.
[0070] Based on the foregoing implementation principle, if the second difference value is less than or equal to the second threshold value and the third difference value is less than or equal to the third threshold value, it can be determined that the slave device is connected after the second optical splitter and the third optical splitter. If the second difference value is less than or equal to the second threshold value and the third difference value is greater than the third threshold value, it can be determined that the slave device is connected after the second optical splitter and not connected after the third optical splitter. If the second difference value is greater than the second threshold value and the third difference value is greater than the third threshold value, it can be determined that the slave device is not connected after the second optical splitter and the third optical splitter. In this way, by judging the first receiving power, the fourth receiving power and the fifth receiving power of each slave device, it can be finally determined which slave device is connected after which stage optical splitter. Based on the same method, the connection relationship between the plurality of slave devices and the plurality of to-be-detected optical splitters in the to-be-detected hierarchical optical splitters can be determined.
[0071] In some embodiments, after comparing the received powers of the plurality of slave devices based on the above method and determining the connection relationship of the plurality of slave devices with the to-be-detected hierarchical optical splitter, for a certain slave device, the result obtained can be that the slave device is not connected after any first-level to-be-detected optical splitter, nor after any two connected to-be-detected optical splitters in front and back, in which case it can be determined that the slave device is connected before the to-be-detected hierarchical optical splitter.
[0072] In order to facilitate understanding of how the technical solutions provided by the embodiments of the present application determine the topology information in the optical access network, the following will take the optical access network as an example to illustrate the PON network.
[0073] Embodiment one
[0074] As shown in FIG. 9, the PON network includes an OLT, a tunable laser, a WDM, a first-level optical splitter, a second-level optical splitter, and an ONU. There are 8 ports in total after the first-level optical splitter, of which 1 port is directly connected to an ONU, and the remaining 7 ports are all connected to the second-level optical splitter, and each second-level optical splitter is connected to 8 ONUs. Among them, a reflector and a doped optical fiber are arranged in front of the second-level optical splitter, and the second-level optical splitter is a to-be-detected hierarchical optical splitter (corresponding to the case that the number of to-be-detected hierarchical optical splitters is one level), and the reflection wavelengths of the second-level optical splitters (1)-(7) are λ1, λ2, …, λ7 in turn (when the to-be-detected hierarchical optical splitter is one level, the number of reflection wavelengths is the number of optical splitters, which is 7 in this embodiment). The OLT needs to know and maintain the mapping relationship between the reflection wavelengths and the second-level optical splitters after system deployment, which is shown in Table 1 below.
[0075] Table 1
[0076] The master device determines the topology information in the following process.
[0077] Step 1: Query the initial power (corresponding to the first received power described above): the OLT obtains the initial power of all ONUs, which is recorded as shown in Table 2 below.
[0078] Table 2
[0079] Step 2: Query the disturbance power (corresponding to the second received power described above): the OLT obtains the received power (disturbance power) of each ONU at the selectable emission wavelength of the tunable laser, which is recorded as shown in Table 3 below.
[0080] Table 3
[0081] Step 3: Processing data output results: In this step, the OLT processes the recorded power data to obtain the topology information. By interpolating calculation and comparing the power changes, the OLT obtains the connection relationship between all ONUs and the respective tertiary optical splitters, and gives the tertiary optical splitter number of the connected ONUs. The output topology information is shown in Table 4 below.
[0082] Table 4
[0083] Example Two
[0084] As shown in FIG. 10, the PON network includes an OLT, a tunable laser, a WDM, a primary optical splitter, a secondary optical splitter, and ONUs. There are a total of 8 ports after the primary optical splitter, of which 2 ports are connected to the secondary optical splitter. The secondary optical splitter has 8 ports, each of which is connected to a tertiary optical splitter. Each tertiary optical splitter is connected to 8 ONUs. A reflector and a doped optical fiber are arranged before the tertiary optical splitter, which is a layer to be detected (the number of layers of the tertiary optical splitter to be detected is one). The reflection wavelengths of the tertiary optical splitters (1)-(16) are λ1, λ2, …, λ16, respectively. 16 (The number of reflection wavelengths is the number of optical splitters when the detection layer is one. In this embodiment, it is 16). The OLT needs to know and maintain the mapping relationship between the reflection wavelengths and the secondary optical splitters after the system is deployed. The mapping relationship is shown in Table 5 below.
[0085] Table 5
[0086] The master device determines the topology information as follows.
[0087] Step 1: Query the initial power record: The OLT obtains the initial power of all ONUs, which is recorded as shown in Table 6 below.
[0088] Table 6
[0089] Step 2: Query the disturbance power record: The OLT obtains the received power (disturbance power) of each ONU at the selectable emission wavelength of the tunable laser, which is recorded as shown in Table 7 below.
[0090] Table 7
[0091] Step 3: Processing data output results: In this step, the OLT processes the recorded power data to obtain the topology information. By interpolating calculation and comparing the power changes, the OLT obtains the connection relationship between all ONUs and the respective tertiary optical splitters, and gives the tertiary optical splitter number of the connected ONUs. The output topology information is shown in Table 4 below.
[0092] Table 8
[0093] Embodiment three
[0094] As shown in FIG. 11, the PON network includes an OLT, a tunable laser, a WDM, a first-level splitter, a second-level splitter, and an ONU. There are 8 ports in total after the first-level splitter, of which 2 ports are connected to the second-level splitter. There are 8 ports in total for the second-level splitter, each of which is connected to a third-level splitter. Each third-level splitter is connected to 8 ONUs. Among them, a reflector and a doped fiber are arranged in front of the second-level splitter and the third-level splitter, and the reflection wavelengths of the second-level splitter (2.1), (2.2) are λ1, λ2, and the reflection wavelengths of the third-level splitter (3.1)-(3.8) are λ3, λ4, …, λ 10 , and the reflection wavelengths of the third-level splitter (3.9)-(3.16) are λ3, λ4, …, λ 10 (When the number of levels of the splitter to be detected is two, the number of reflection wavelengths is the sum of the number of the previous level splitters and the maximum number of splitters hung by the previous level splitters, and the wavelengths are set as follows: all the previous level splitters are allocated different wavelengths in all the reflection wavelengths, and different lower level splitters hung by the same previous level splitter are allocated different wavelengths in the remaining reflection wavelengths; in this embodiment, the number of second-level splitters is 2, the maximum number of third-level splitters hung by the second-level splitters is 8, and therefore the number of reflection wavelengths is 10. The two second-level splitters (2.1), (2.2) are allocated two wavelengths in the ten reflection wavelengths; the third-level splitters (3.1)-(3.8) are allocated eight wavelengths in the remaining eight reflection wavelengths, and the third-level splitters (3.9)-(3.16) are allocated eight wavelengths in the remaining eight reflection wavelengths). The OLT needs to know and maintain the mapping relationship between the reflection wavelengths and the second-level splitters and the third-level splitters after system deployment, as shown in Table 9 below.
[0095] Table 9
[0096] The master device determines the topology information as follows.
[0097] Step 1: Record the initial power: the OLT obtains the initial power of all ONUs, which is recorded as shown in Table 10 below.
[0098] Table 10
[0099] Step 2: Record the disturbance power: the OLT obtains the received power (disturbance power) of each ONU at the selectable emission wavelength of the tunable laser, which is recorded as shown in Table 11 below.
[0100] Table 11
[0101] Step 3: processing data output result: the OLT processes the recorded power data to obtain topology information, and obtains the connection relationship between all ONUs and the two-level or three-level splitters by interpolating and comparing the power changes, and gives the two-level or three-level splitter number of the ONU connection, and outputs the topology information as shown in Table 12.
[0102] Table 12
[0103] The technical scheme provided by the embodiment of the application, the master device in the optical access network can perform signaling interaction with multiple slave devices, and receive the first receiving power of the multiple slave devices on the downstream service signal and the second receiving power of the multiple slave devices on the downstream service signal and the downstream detection signal. Since the wavelength of the downstream detection signal includes a reflection wavelength set of a to-be-detected hierarchical splitter in the optical access network, for the downstream detection signal at any reflection wavelength, in the case that the downstream signal is the downstream service signal, the downstream service signal and the downstream detection signal, the first receiving power and the second receiving power of the slave device connected to the to-be-detected hierarchical splitter corresponding to the reflection wavelength are small, and the first receiving power and the second receiving power of the slave device not connected to the to-be-detected hierarchical splitter corresponding to the reflection wavelength are large. Therefore, by processing the first receiving power and the second receiving power of the multiple slave devices under different downstream signals, the connection relationship between the multiple slave devices and the to-be-detected hierarchical splitter can be obtained, and thus the topology visualization of the optical access network can be realized.
[0104] The specific embodiments of the application are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown or sequential order in order to achieve the desired results. In some implementations, multitasking and parallel processing can be advantageous.
[0105] FIG. 12 is a structural schematic diagram of an electronic device according to an embodiment of the application. Referring to FIG. 12, at the hardware level, the electronic device includes a processor, and further includes an internal bus, a network interface, and a memory. The memory can include a memory such as a random-access memory (RAM), and can further include a non-volatile memory such as at least one disk memory. Of course, the electronic device can further include other hardware required by a service.
[0106] The processor, the network interface and the memory can be connected with each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, only one bidirectional arrow is used in FIG. 12, but it does not mean that there is only one bus or only one type of bus.
[0107] The memory is used for storing programs. The programs can include program codes including computer operation instructions. The memory can include an internal memory and a non-volatile memory, and provide instructions and data for the processor.
[0108] The processor reads the corresponding computer program from the non-volatile memory into the internal memory and then runs, and forms the topology information determination apparatus at a logical level. The processor executes the programs stored in the memory, and is used for the following operations: receiving first reception powers of a plurality of slave devices, the first reception powers being reception powers of the plurality of slave devices to downlink service signals sent by the master device; receiving second reception powers of the plurality of slave devices, the second reception powers being reception powers of the plurality of slave devices to the downlink service signals and downlink probe signals, wavelengths of the downlink probe signals including a set of reflection wavelengths of a to-be-detected hierarchical optical splitter in the optical access network; and determining a connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter according to the first reception powers and the second reception powers.
[0109] The method performed by the apparatus for determining topology information disclosed in the embodiment of FIG. 12 can be applied in a processor or implemented by the processor. The processor can be an integrated circuit chip with processing capability. In the implementation process, each step of the method can be completed by integrated logic circuits or instructions in the form of software in the processor. The processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; or can be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. Each method, step and logic block diagram disclosed in the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the present application can be directly embodied as a hardware code processor for execution, or a combination of hardware and software modules in the code processor for execution. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium in the memory is read by the processor, and the hardware thereof is combined to complete the steps of the method.
[0110] The electronic device can also perform the method of FIG. 8 and implement the functions of the driving access apparatus in the embodiment shown in FIG. 8, which will not be described herein.
[0111] Of course, in addition to the software implementation, the electronic device of the present application does not exclude other implementation manners, such as logic devices or a combination of software and hardware, etc. That is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or a logic device.
[0112] The application further provides a computer readable storage medium storing one or more programs including instructions which, when executed by a portable electronic device including a plurality of application programs, enable the portable electronic device to perform the method of the embodiment shown in FIG. 8 and to perform the following operations: receiving first reception powers of a plurality of slave devices, the first reception powers being reception powers of the plurality of slave devices on a downlink service signal transmitted by a master device; receiving second reception powers of the plurality of slave devices, the second reception powers being reception powers of the plurality of slave devices on the downlink service signal and a downlink probe signal, a wavelength of the downlink probe signal including a set of reflection wavelengths of a hierarchical optical splitter to be detected in the optical access network; and determining a connection relationship between the plurality of slave devices and the hierarchical optical splitter to be detected according to the first reception powers and the second reception powers.
[0113] FIG. 13 is a structural schematic diagram of a topology information determining apparatus 130 according to an embodiment of the application. Referring to FIG. 13, in a software implementation, the topology information determining apparatus 130 can include a first receiving module 131, a second receiving module 132, and a determining module 133. The first receiving module 131 receives first reception powers of a plurality of slave devices, the first reception powers being reception powers of the plurality of slave devices on a downlink service signal transmitted by a master device. The second receiving module 132 receives second reception powers of the plurality of slave devices, the second reception powers being reception powers of the plurality of slave devices on the downlink service signal and a downlink probe signal, a wavelength of the downlink probe signal including a set of reflection wavelengths of a hierarchical optical splitter to be detected in the optical access network. The determining module 133 determines a connection relationship between the plurality of slave devices and the hierarchical optical splitter to be detected according to the first reception powers and the second reception powers.
[0114] In some embodiments, the first receiving module 131 receives first reception powers of a plurality of slave devices, including: for any one of the slave devices, transmitting a first message to the slave device, the first message being used to query a reception power of the slave device on the downlink service signal; and receiving a second message transmitted by the slave device, the second message including the reception power of the slave device on the downlink service signal.
[0115] In some embodiments, the first message includes at least one of the following: an optical network unit management control interface (OMCI) message; and a fiber management control interface (FMCI) message. The second message includes at least one of the following: an OMCI message; and an FMCI message.
[0116] In some embodiments, the second receiving module 132 receives the second receiving power of the plurality of slave devices, including: turning on a tunable laser, the tunable laser being configured to transmit the downstream probe signal, the selectable transmission wavelengths of the tunable laser including the set of reflection wavelengths; performing the following operations in a loop until all the selectable transmission wavelengths have been configured: setting the transmission wavelength of the tunable laser to an unconfigured selectable transmission wavelength; for any of the slave devices, sending a third message to the slave device, the third message being configured to query the slave device for the receiving power of the downstream service signal and the downstream probe signal; receiving a fourth message sent by the slave device, the fourth message including the receiving power of the downstream service signal and the downstream probe signal of the slave device.
[0117] In some embodiments, the third message includes at least one of: an OMCI message; an FMCI message; the fourth message includes at least one of: an OMCI message; an FMCI message.
[0118] In some embodiments, the determining module 133 determines the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter according to the first receiving power and the second receiving power, including: obtaining a correspondence between the to-be-detected hierarchical optical splitter and the reflection wavelengths of the to-be-detected hierarchical optical splitter; determining a difference between the first receiving power and the second receiving power; determining the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter according to the difference and the correspondence.
[0119] In some embodiments, the hierarchical optical splitter is a one-level hierarchical optical splitter, the number of reflection wavelengths of the to-be-detected hierarchical optical splitter is equal to the number of to-be-detected optical splitters included in the to-be-detected hierarchical optical splitter, and the correspondence includes a correspondence between each to-be-detected optical splitter in the to-be-detected hierarchical optical splitter and a corresponding reflection wavelength; the determining module 133 determines the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter according to the difference and the correspondence, including: for a first reflection wavelength corresponding to any first optical splitter in the to-be-detected hierarchical optical splitter, performing the following operations: for any of the slave devices, determining a third receiving power from the second receiving power of the slave device, the third receiving power being the receiving power of the slave device for the downstream service signal and the downstream probe signal at the first reflection wavelength; determining a first difference between the first receiving power and the third receiving power; in a case where the first difference is less than or equal to a first threshold, determining that the slave device is connected after the first optical splitter; in a case where the first difference is greater than the first threshold, determining that the slave device is not connected after the first optical splitter.
[0120] In some embodiments, the determining module 133, for any one of the slave devices, in the case of determining that the slave device is not connected after any one of the to-be-detected hierarchical splitters, determines that the slave device is connected before the to-be-detected hierarchical splitters.
[0121] In some embodiments, the hierarchical level of the to-be-detected hierarchical splitters is two, the number of reflected wavelengths of the to-be-detected hierarchical splitters is equal to the sum of the number of first-level to-be-detected splitters and the maximum number of second-level to-be-detected splitters connected to the first-level to-be-detected splitters, different first-level to-be-detected splitters are allocated different reflected wavelengths, and second-level to-be-detected splitters under the same first-level to-be-detected splitters are allocated remaining reflected wavelengths, and the correspondence includes the correspondence between the first-level to-be-detected splitters, the second-level to-be-detected splitters, and the corresponding reflected wavelengths; the determining module 133 determines the connection relationship between the plurality of slave devices and the to-be-detected hierarchical splitters according to the difference value and the correspondence, including: for the second reflected wavelength corresponding to any second splitter in the first-level to-be-detected splitters and the third reflected wavelength corresponding to any third splitter in the second-level to-be-detected splitters, performing the following operations: for any one of the slave devices, determining a fourth received power and a fifth received power from the second received power of the slave device, the fourth received power being the received power of the slave device to the downlink service signal and the downlink probe signal under the second reflected wavelength, and the fifth received power being the received power of the slave device to the downlink service signal and the downlink probe signal under the third reflected wavelength; determining a second difference between the first received power and the fourth received power, and a third difference between the first received power and the fifth received power; in the case that the second difference is less than or equal to a second threshold and the third difference is less than or equal to a third threshold, determining that the slave device is connected after the second splitter and the third splitter; in the case that the second difference is less than or equal to the second threshold and the third difference is greater than the third threshold, determining that the slave device is connected after the second splitter and not connected after the third splitter; in the case that the second difference is greater than the second threshold and the third difference is greater than the third threshold, determining that the slave device is not connected after the second splitter and the third splitter.
[0122] In some embodiments, the determining module 133, for any one of the slave devices, in the case of determining that the slave device is not connected after any one of the first-level to-be-detected splitters, and not connected after any two front and back level connected to-be-detected splitters, determines that the slave device is connected before the to-be-detected hierarchical splitters.
[0123] In some embodiments, the optical access network at least comprises a passive optical network (PON) network and a fiber-to-the-room (FTTR) network; wherein, in the case that the optical access network comprises the PON network, the master device is an optical line terminal (OLT) and the slave device is an optical network unit (ONU); in the case that the optical access network comprises the FTTR network, the master device is a master FTTR device (MFU) and the slave device is a slave FTTR device (SFU).
[0124] The apparatus 130 for determining topology information provided in the present application can also execute the method of FIG. 8 and realize the functions of the apparatus 130 for determining topology information in the embodiment shown in FIG. 8, which will not be repeated here.
[0125] The present application further provides a computer program product, which comprises a non-transitory computer-readable storage medium storing a computer program capable of operating a computer to execute some or all of the steps in the above-described embodiments of the method for determining topology information.
[0126] In summary, the above only describes the preferred embodiments of the present application and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
[0127] The system, apparatus, module or unit illustrated in the above embodiments can be implemented by a computer chip or entity, or by a product with certain functions. A typical implementation device is a computer. The computer may, for example, be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0128] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.
[0129] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover non-exclusive inclusions, so that a process, method, article or apparatus that includes a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.
[0130] The various embodiments in the present application are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the difference from other embodiments. In particular, for system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiment.
Claims
1. A method for determining topology information, applied to a master device in an optical access network, comprising: receiving first reception powers of a plurality of slave devices, the first reception powers being reception powers of the plurality of slave devices on downlink service signals transmitted by the master device; receiving second reception powers of the plurality of slave devices, the second reception powers being reception powers of the plurality of slave devices on the downlink service signals and downlink probe signals, wavelengths of the downlink probe signals including a set of reflection wavelengths of a hierarchical optical splitter to be detected in the optical access network; and determining connection relationships between the plurality of slave devices and the hierarchical optical splitter to be detected according to the first reception powers and the second reception powers. 2.The method of claim 1, wherein the receiving first reception powers of a plurality of slave devices comprises: for any one of the slave devices, transmitting a first message to the slave device, the first message being used for querying a reception power of the slave device on the downlink service signals; and receiving a second message transmitted by the slave device, the second message including the reception power of the slave device on the downlink service signals. 3.The method of claim 2, wherein the first message comprises at least one of: an optical network unit management control interface (OMCI) message; and an optical fiber management control interface (FMCI) message; and wherein the second message comprises at least one of: an OMCI message; and an FMCI message. 4.The method of claim 1, wherein the receiving second reception powers of the plurality of slave devices comprises: turning on a tunable laser, the tunable laser being used for transmitting the downlink probe signals, selectable transmission wavelengths of the tunable laser including the set of reflection wavelengths; and performing the following operations in a loop until all the selectable transmission wavelengths have been configured: setting a transmission wavelength of the tunable laser to an unconfigured selectable transmission wavelength; for any one of the slave devices, transmitting a third message to the slave device, the third message being used for querying reception powers of the slave device on the downlink service signals and the downlink probe signals; and receiving a fourth message transmitted by the slave device, the fourth message including the reception powers of the slave device on the downlink service signals and the downlink probe signals. 5.The method of claim 4, wherein the third message comprises at least one of: an OMCI message; and an FMCI message; and wherein the fourth message comprises at least one of: an OMCI message; and an FMCI message. 6.The method of claim 1, wherein the determining connection relationships between the plurality of slave devices and the hierarchical optical splitter to be detected according to the first reception powers and the second reception powers comprises: obtaining a correspondence between the hierarchical optical splitter to be detected and reflection wavelengths of the hierarchical optical splitter to be detected; determining differences between the first reception powers and the second reception powers; and determining the connection relationships between the plurality of slave devices and the hierarchical optical splitter to be detected according to the differences and the correspondence. 7. The method of claim 6, wherein the level of the level optical splitter to be detected is one, the number of reflected wavelengths of the level optical splitter to be detected is equal to the number of optical splitters to be detected included in the level optical splitter to be detected, and the correspondence includes a correspondence between each of the optical splitters to be detected in the level optical splitter to be detected and a corresponding reflected wavelength. For a first reflection wavelength corresponding to any first optical splitter of the to-be-detected hierarchical optical splitter, the following operations are performed: For any slave device, a third received power is determined from the second received power of the slave device, the third received power being a received power of the slave device on the downlink service signal and the downlink probe signal at the first reflection wavelength; A first difference between the first received power and the third received power is determined; In a case where the first difference is less than or equal to a first threshold, it is determined that the slave device is connected after the first optical splitter; In a case where the first difference is greater than the first threshold, it is determined that the slave device is not connected after the first optical splitter.
8. The method of claim 7, further comprising: For any slave device, in a case where it is determined that the slave device is not connected after any to-be-detected optical splitter of the to-be-detected hierarchical optical splitter, it is determined that the slave device is connected before the to-be-detected hierarchical optical splitter.
9. The method of claim 6, wherein the level of the level optical splitter to be detected is two, the number of reflected wavelengths of the level optical splitter to be detected is equal to the sum of the number of first level optical splitters to be detected and the maximum number of second level optical splitters to be detected connected to the first level optical splitters to be detected, different first level optical splitters to be detected are assigned different reflected wavelengths, and second level optical splitters to be detected under the same first level optical splitter to be detected are assigned remaining reflected wavelengths, and the correspondence includes a correspondence between the first level optical splitters to be detected, the second level optical splitters to be detected, and corresponding reflected wavelengths. The determining of the connection relationship between the plurality of slave devices and the to-be-detected hierarchical optical splitter according to the difference and the correspondence comprises: For a second reflection wavelength corresponding to any second optical splitter of the first-level to-be-detected optical splitter and a third reflection wavelength corresponding to any third optical splitter of the second-level to-be-detected optical splitter, the following operations are performed: For any slave device, a fourth received power and a fifth received power are determined from the second received power of the slave device, the fourth received power being a received power of the slave device on the downlink service signal and the downlink probe signal at the second reflection wavelength, and the fifth received power being a received power of the slave device on the downlink service signal and the downlink probe signal at the third reflection wavelength; A second difference between the first received power and the fourth received power, and a third difference between the first received power and the fifth received power are determined; In a case where the second difference is less than or equal to a second threshold and the third difference is less than or equal to a third threshold, it is determined that the slave device is connected after the second optical splitter and the third optical splitter; In a case where the second difference is less than or equal to the second threshold and the third difference is greater than the third threshold, it is determined that the slave device is connected after the second optical splitter and is not connected after the third optical splitter; In a case where the second difference is greater than the second threshold and the third difference is greater than the third threshold, it is determined that the slave device is not connected after the second optical splitter and the third optical splitter.
10. The method of claim 9, further comprising: For any slave device, in a case where it is determined that the slave device is not connected after any first-level to-be-detected optical splitter and is not connected after any two to-be-detected optical splitters connected in sequence in front and back, it is determined that the slave device is connected before the to-be-detected hierarchical optical splitter. 11.The method of claim 1, wherein the optical access network comprises at least a passive optical network (PON) network and a fiber-to-the-room (FTTR) network. wherein In a case where the optical access network comprises the PON network, the master device is an optical line terminal (OLT) and the slave device is an optical network unit (ONU). In a case where the optical access network comprises the FTTR network, the master device is a master FTTR device (MFU) and the slave device is a slave FTTR device (SFU). 12.An electronic device comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method of any one of claims 1 to 11. 13.A computer-readable storage medium storing instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of claims 1 to 11. 14.A computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of the method of any one of claims 1 to 11.
Citation Information
Patent Citations
Network system and topology map generating method
CN104322016A
Method, device and system for generating optical network topology
CN115967445A
Port Detection Method and Apparatus
US20230079705A1
Optical network terminal and method for determining port connected thereto
WO2021218146A1
Optical splitter, ODN, method for identifying optical link in which ONU is located, OLT, ONU, and PON system
WO2022001230A1