Method and device for determining port matching relationship, and storage medium

CN115378540BActive Publication Date: 2026-10-09ZTE CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110537923.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-18
Publication Date
2026-10-09
Estimated Expiration
2041-05-18

AI Technical Summary

Technical Problem

[0003]相关技术中,尤其在OTN网络开局阶段,ROADM站内光纤连接关系的发现和上报,主要通过规划软件预设好连纤关系,并由人工去按照预设连纤关系进行连纤,无法实现光纤匹配连接关系的自动发现,当面临网络方向数量增加而光纤数量急剧增加时,会造成人为的失误,检测错误率大,且由于依赖人工逐个查看的方式导致检测光纤错连的手段单一,检测效率低下

Benefits of technology

[0013] The embodiments of the present invention include at least the following beneficial effects: The embodiments of the present invention encode the first output port of the transmitting wavelength selective switch within the ROADM station to obtain a first encoded value for the first output port. From the first encoded value, a first attenuation value for the first output port can be obtained. The light wave attenuated based on the first attenuation value in the first output port is assigned to the receiving wavelength selective switch within the ROADM station. A power scan is performed on the receiving wavelength selective switch to obtain the power value of the second output port of the receiving wavelength selective switch. Based on the power value, a second attenuation value corresponding to the second input port is obtained. Based on the second attenuation value, a second encoded value is obtained. Finally, the first encoded value and the second encoded value are compared to determine the matching relationship between the first output port and the second input port. The embodiments of the present invention achieve power encoding for different ports through attenuation configuration of the transmitting wavelength selective switch, and achieve matching between the first output port and the second input port through power detection of the receiving wavelength selective switch. This enables automatic detection of port matching relationships with high success rate and high efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115378540B_ABST
    Figure CN115378540B_ABST
Patent Text Reader

Abstract

The application discloses a kind of determination method, device and storage medium of port matching relationship, wherein, method includes obtaining the first encoding value of first output port of sending wavelength selective switch;First attenuation value of first output port is obtained according to first encoding value, and the light wave attenuated based on first attenuation value is assigned to the second input port of receiving wavelength selective switch;Power scanning is carried out to the second output port of receiving wavelength selective switch, and the power value of second output port is obtained, and the second attenuation value corresponding to second input port is obtained according to power value, and second encoding value is obtained according to second attenuation value;The matching relationship of first output port and second input port is determined according to first encoding value and second encoding value.The application realizes the matching of different ports, can automatically find the matching relationship of port, and the success rate of detection is high, efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a method, apparatus and storage medium for determining port matching relationships. Background Technology

[0002] Optical Transport Network (OTN) technology is a novel optical transport technology that inherits the advantages of Synchronous Digital Hierarchy (SDH) and Wavelength Division Multiplexing (WDM) networks, offering advantages such as high capacity and robust management mechanisms. OTN can realize the transmission, switching, and multiplexing of signals at various granularities. Simultaneously, OTN supports multiple upper-layer services and protocols, making it a crucial networking technology for optical networks. Reconfigurable Optical Add / Drop Multiplexer (ROADM) networking technology, based on Wavelength Selective Switches (WSS), enables flexible optical switching of arbitrary wavelengths and directions, becoming the development direction of WDM networks. Utilizing multidimensional WSSs, ROADMs can achieve add / drop and pass-through functions for optical signals in multiple directions. However, as the number of network directions increases, the number of optical fibers that need to be connected within the ROADM increases dramatically.

[0003] In related technologies, especially in the initial stage of OTN network deployment, the discovery and reporting of fiber optic connection relationships within ROADM sites mainly rely on pre-setting fiber optic connections using planning software, followed by manual connection according to these pre-set connections. This approach cannot achieve automatic discovery of fiber optic matching connections. When the number of network directions and the number of fibers increase dramatically, human error can occur, resulting in a high error rate. Furthermore, the reliance on manual inspection of each fiber leads to a limited method for detecting misconnected fibers, resulting in low detection efficiency. Summary of the Invention

[0004] The following is an overview of the subject matter described in detail herein. This overview is not intended to limit the scope of the claims.

[0005] This invention provides a method, apparatus, and storage medium for determining port matching relationships, which can automatically discover port matching relationships with high success rate and high efficiency.

[0006] In a first aspect, embodiments of the present invention provide a method for determining port matching relationships, comprising:

[0007] Obtain the first encoded value of the first output port of the transmitting wavelength selection switch;

[0008] Based on the first encoded value, the first attenuation value of the first output port is obtained, and the light wave attenuated based on the first attenuation value is assigned to the second input port of the receiving wavelength selection switch.

[0009] A power scan is performed on the second output port of the receiving wavelength selection switch to obtain the power value of the second output port. Based on the power value, a second attenuation value corresponding to the second input port is obtained, and a second encoding value is obtained based on the second attenuation value.

[0010] The matching relationship between the first output port and the second input port is determined based on the first encoded value and the second encoded value.

[0011] Secondly, embodiments of the present invention also provide a device for determining port matching relationships, characterized in that it includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method for determining port matching relationships described in the first aspect.

[0012] Thirdly, embodiments of the present invention also provide a computer-readable storage medium storing a program that is executed by a processor to implement the method for determining port matching relationships as described in the first aspect.

[0013] The embodiments of the present invention include at least the following beneficial effects: The embodiments of the present invention encode the first output port of the transmitting wavelength selective switch within the ROADM station to obtain a first encoded value for the first output port. From the first encoded value, a first attenuation value for the first output port can be obtained. The light wave attenuated based on the first attenuation value in the first output port is assigned to the receiving wavelength selective switch within the ROADM station. A power scan is performed on the receiving wavelength selective switch to obtain the power value of the second output port of the receiving wavelength selective switch. Based on the power value, a second attenuation value corresponding to the second input port is obtained. Based on the second attenuation value, a second encoded value is obtained. Finally, the first encoded value and the second encoded value are compared to determine the matching relationship between the first output port and the second input port. The embodiments of the present invention achieve power encoding for different ports through attenuation configuration of the transmitting wavelength selective switch, and achieve matching between the first output port and the second input port through power detection of the receiving wavelength selective switch. This enables automatic detection of port matching relationships with high success rate and high efficiency.

[0014] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the description, claims and drawings. Attached Figure Description

[0015] The accompanying drawings are provided to further understand the technical solutions of the present invention and constitute a part of the specification. They are used together with the embodiments of the present invention to explain the technical solutions of the present invention, and do not constitute a limitation on the technical solutions of the present invention.

[0016] Figure 1 This is a schematic diagram of a common ROADM networking method provided in the embodiments of the present invention;

[0017] Figure 2 This is a flowchart of the method for determining port matching relationships provided in an embodiment of the present invention;

[0018] Figure 3 This is a flowchart of a method for determining port matching relationships provided in another embodiment of the present invention;

[0019] Figure 4 This is an optical fiber connection diagram of the first input port of the disconnected wavelength selection switch provided in an embodiment of the present invention;

[0020] Figure 5 This is a flowchart of a method for determining port matching relationships provided in another embodiment of the present invention;

[0021] Figure 6 This is a flowchart of a method for determining port matching relationships provided in another embodiment of the present invention;

[0022] Figure 7 This is a flowchart of a method for determining port matching relationships provided in another embodiment of the present invention;

[0023] Figure 8 This is a flowchart of a method for determining port matching relationships provided in another embodiment of the present invention;

[0024] Figure 9 This is a schematic diagram of a ROADM network with four uplink and downlink directions provided in an embodiment of the present invention;

[0025] Figure 10 This is a schematic diagram of a ROADM network with four uplink and downlink directions provided in another embodiment of the present invention;

[0026] Figure 11 This is a flowchart of a method for determining port matching relationships provided in another embodiment of the present invention;

[0027] Figure 12 This is a schematic diagram of the device for determining port matching relationships provided in an embodiment of the present invention. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0029] It should be understood that in the description of the embodiments of the present invention, "multiple" (or "amounts") means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. If "first," "second," etc., are used in the description, they are only for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.

[0030] Optical Transport Network (OTN) technology is a new type of optical transport technology that inherits the advantages of Synchronous Digital Hierarchy (SDH) and Wavelength Division Multiplexing (WDM) networks. It boasts advantages such as high capacity and robust management mechanisms. OTN can realize the transmission, switching, and multiplexing of signals at various granularities. Simultaneously, OTN supports multiple upper-layer services and protocols, making it a crucial networking technology for optical networks. ROADM networking technology, based on Wavelength Selective Switches (WSS), enables flexible optical switching of arbitrary wavelengths and directions, becoming the development direction of WDM networks and gradually replacing FOADM networking technology based on PDUs and OMUs. Utilizing multi-dimensional wavelength selective switches, ROADM can achieve functions such as uplink / downlink and pass-through of optical signals in multiple directions. Wavelength selective switches can be divided into uplink wavelength selective switches (receiver wavelength selective switches) and downlink wavelength selective switches (transmitter wavelength selective switches) based on the direction of use. For a down-path wavelength selection switch, light enters through its in port and exits through its multiple different D ports. For an up-path wavelength selection switch, light enters through its multiple A ports and exits through its out port. The out port of the up-path wavelength selection switch has a power detection point for detecting the power of its multiple A ports. Wavelength selection switches can perform wavelength assignment. Taking the down-path wavelength selection switch as an example, light containing multiple wavelengths enters through its in port, and the wavelength selection switch can assign different wavelengths of light to any port. Conversely, the up-path wavelength selection switch can output specific wavelengths of light from different ports through its out port.

[0031] Within the ROADM station, the uplink and downlink sides and the line side are networked by wavelength selective switches. Light enters from the optical amplifier into the in port of the downlink wavelength selective switch, passes through the D port of the downlink wavelength selective switch, the A port of the uplink wavelength selective switch, and exits from the out port of the uplink wavelength selective switch. Figure 1 A common ROADM networking method is presented, utilizing 12 wavelength selective switches to achieve a network configuration with 2 uplink / downlink directions and 4 line-side directions. The 12 wavelength selective switches are interconnected in any two directions via 30 optical fibers. However, as the number of network directions increases, the number of internally connected optical fibers increases dramatically. For example, using 42 20-dimensional wavelength selective switches, a maximum of 21 directions (including uplink / downlink and line-side directions) can be interconnected, requiring 420 optical fibers to complete the connections between the wavelength selective switches.

[0032] Currently, there is no automatic discovery technology for fiber optic connections within a ROADM. The current method for discovering and reporting fiber optic connections within the site is as follows: the planning software pre-sets the connection relationships, and then manual connection is performed according to these pre-set relationships. This method has a high probability of error, and the means of detecting misconnected fibers is limited, relying on manual inspection of each fiber, which is extremely inefficient.

[0033] This invention proposes a method, apparatus, and storage medium for determining port matching relationships. It automatically scans the fiber connection relationships within a site, can automatically discover port matching relationships, has a high success rate and high efficiency, and provides support for site management.

[0034] Reference Figure 2 As shown, this embodiment of the invention provides a method for determining port matching relationships, which is applied in a device for determining port matching relationships. The method for determining port matching relationships includes, but is not limited to, the following steps S110 to S140.

[0035] Step S110: Obtain the first encoded value of the first output port of the transmitting wavelength selection switch.

[0036] In some embodiments of the present invention, the transmitting wavelength selection switch includes a first input port and a first output port, and the receiving wavelength selection switch includes a second input port and a second output port. The port matching relationship determination device (hereinafter referred to as the device) first obtains a first encoded value of the first output port of the transmitting wavelength selection switch. The first encoded value is an encoded value obtained by the transmitting wavelength selection switch after encoding. In one embodiment, the first output ports of multiple transmitting wavelength selection switches in the ROADM station are first encoded. Each transmitting wavelength selection switch may have multiple first output ports. The first output port is the D port of the transmitting wavelength selection switch, and the transmitting wavelength selection switch is a wavelength selection switch in the downstream direction. After encoding the first output ports, each first output port will obtain a corresponding encoded value. In one embodiment, the encoding of the first output port may be completed in advance by the program or in the process of confirming the port matching relationship. The present invention does not impose specific limitations on it.

[0037] Step S120: Obtain the first attenuation value of the first output port according to the first encoding value, and assign the light wave attenuated based on the first attenuation value to the second input port of the receiving wavelength selection switch.

[0038] In some embodiments of the present invention, the light waves emitted from the first output port are configured to attenuate. A first attenuation value is obtained for the first output port according to a first encoding value. Specifically, each first output port corresponds to an attenuation value. Additional attenuation is applied to the light waves at the first output port. The device assigns the light waves attenuated based on the first attenuation value to the second input port of the receiving wavelength selection switch. The second input port is port A of the receiving wavelength selection switch. Specifically, the device assigns the light waves from one output port of the transmitting wavelength selection switch in one uplink / downlink direction to port A of the receiving wavelength selection switches in other uplink / downlink directions within the ROADM station, thereby achieving the assignment of light waves and applying corresponding additional attenuation.

[0039] Step S130: Perform a power scan on the second output port of the receiving wavelength selection switch to obtain the power value of the second output port, obtain the second attenuation value corresponding to the second input port based on the power value, and obtain the second encoding value based on the second attenuation value.

[0040] In some embodiments of the present invention, the device performs a power scan on all receiving wavelength selection switches in the uplink and downlink directions within the ROADM station, records the results of the power scan, and obtains the power value of the second output port of the receiving wavelength selection switch. When the light wave is assigned from the first output port to a second output port of the receiving wavelength selection switch, a power record can be detected at the second output port of the receiving wavelength selection switch. The second output port is the out port of the receiving wavelength selection switch. The device obtains the second attenuation value corresponding to the second input port based on the power value, and obtains the second encoding value based on the second attenuation value. The second attenuation value corresponds to the first attenuation value of the first output port of the transmitting wavelength selection switch. After obtaining the second encoding value based on the second attenuation value, the matching relationship between the second encoding value and the first encoding value can be obtained, thereby facilitating the automatic discovery of fiber optic connection relationships.

[0041] Step S140: Determine the matching relationship between the first output port and the second input port based on the first encoding value and the second encoding value.

[0042] In some embodiments of the present invention, the device determines the matching relationship between the first output port and the second input port based on the first encoding value and the second encoding value. After the power value of the second output port obtained by power scanning is processed to the second encoding value by the second attenuation value, the obtained second encoding value can be directly mapped to the first encoding value. In one embodiment, after the device obtains the second encoding value, it corresponds to a second input port of the receiving wavelength selection switch. That is, in the embodiments of the present invention, the first encoding value corresponds to the first output port of a transmitting wavelength selection switch, and the second encoding value corresponds to the second input port of a receiving wavelength selection switch. The device finds one of the first encoding values ​​in the transmitting wavelength selection switch that is the same as or related to the second encoding value, which means that the first output port is connected to the second input port in the ROADM station, thereby obtaining the matching relationship of the ports in the ROADM station. It can be understood that if there is no optical fiber connection between the second input port and the first output port, the second input port will not detect a power value after optical wave assignment.

[0043] It should be noted that in some embodiments of the present invention, the method for determining port matching relationships is applied in the initial deployment phase of an OTN network. In the initial deployment phase, applying the method for determining port matching relationships in the embodiments of the present invention can reduce the impact when optical fibers are transmitting services. In the initial deployment phase of an OTN network, after the initial fiber connection is completed manually, the fiber connection relationships within the ROADM site are automatically scanned. By applying the method for determining port matching relationships in the embodiments of the present invention, the connection matching relationships of the optical fibers are obtained. At the same time, abnormally connected optical fibers can be detected, and the connection relationships of each optical fiber can be informed to the maintenance personnel, providing support for site management.

[0044] Reference Figure 3 In one embodiment, before step S110, the initialization settings within the ROADM station are further included, which may include steps S210 to S220.

[0045] Step S210: Disconnect the optical fiber connection of the first input port of the wavelength selection switch at the development end, and set the first optical amplifier connected to the first input port to the noise spontaneous emission mode.

[0046] Step S220: Turn off the second optical amplifier connected to the second output port of the receiving wavelength selection switch.

[0047] In some embodiments of the present invention, the device further performs initialization settings within the ROADM station before encoding at the first output port, as described above. Figure 4 As shown, this includes disconnecting the fiber optic connection to the first input port of the transmitting wavelength selection switch, setting the first optical amplifier connected to the first input port to a noise spontaneous emission mode, and turning off the second optical amplifier connected to the second output port of the receiving wavelength selection switch. The first input port is the in port of the transmitting wavelength selection switch. In one embodiment, the device disconnects the fiber optic connection to the first input port of the transmitting wavelength selection switch and sets the first optical amplifier connected to the first input port to a noise spontaneous emission mode. In this mode, the transmitting wavelength selection switch generates a broadband light source, while the second optical amplifier connected to the receiving wavelength selection switch is turned off, thus preventing strong light from entering other modules and causing device damage.

[0048] Reference Figure 5 In one embodiment, before step S110, the initialization settings within the ROADM station are further included, which may include steps S310 to S320.

[0049] Step S310: Obtain the light wave format and number of light waves in the wavelength selection switch at the transmitting end.

[0050] Step S320: Assign light waves to each first output port in sequence according to the light wave format and the number of light waves, wherein the number of light waves in each first output port is the same.

[0051] In some embodiments of the present invention, the device further initializes the ROADM station before encoding the first output port. This includes wavelength division multiplexing (WDM) assignment to the transmitting wavelength selection switches. By acquiring the optical wave format and quantity of optical waves in all transmitting wavelength selection switches within the ROADM station, and sequentially assigning the optical waves to each first output port of the transmitting wavelength selection switch according to the optical wave format and quantity, WDM assignment is achieved. The quantity of optical waves in each first output port of a transmitting wavelength selection switch is consistent, ensuring consistent optical wave output power across all first output ports. In one embodiment, the optical wave format is set to C-band with a 50 GHz bandwidth per wave, and the number of optical waves is 80. Four optical waves are configured for each first output port to ensure consistent optical wave output power across all first output ports. Other optical waves are set to a blocked state. While meeting the requirements of the embodiments of the present invention, the optical wave format and quantity can also be set to other values; the present invention does not impose specific limitations on these values.

[0052] In some embodiments of the present invention, the encoding rule for the first encoding value is as follows: the device encodes the first output port according to the number of the first output port, the transmitting wavelength selection switch, and the receiving wavelength selection switch to obtain the first encoding value of the first output port. Different first output ports correspond to different first encoding values, so that each first output port in the ROADM station has a unique first encoding value. In one embodiment, a network of 20-dimensional wavelength selection switches, with each wavelength selection switch fully configured, can support up to 21 directions, with a total of 420 D ports and the same number of A ports, and can support up to 420 groups of optical fiber connections. Based on the above quantities, the device can encode the first output port in octal with a code length of 4 bits, i.e., from 0000 to 0777, and can support up to 512 groups of connection relationships. Then, the 420 D ports of the transmitting wavelength selection switches in all downstream directions are encoded from 000 to 0643, resulting in 420 different code patterns. While meeting the requirements of the embodiments of the present invention, other encoding methods may be adopted depending on the number of different first output ports, transmitting wavelength selection switches and receiving wavelength selection switches, and the present invention does not impose specific limitations on them.

[0053] Reference Figure 6 In one embodiment, step S120 may further include steps S410 to S420.

[0054] Step S410: Obtain the code length of the first encoding value, and obtain the total number of light wave assignment rounds based on the code length.

[0055] Step S420: Obtain the first attenuation value of the first output port according to the first encoding value, and assign the light wave attenuated based on the first attenuation value to the second input port of the receiving wavelength selection switch according to the total assignment round.

[0056] In some embodiments of the present invention, in order to make the final obtained second encoded value correspond to the first encoded value, it is necessary to perform multiple rounds of light wave assignment and attach corresponding attenuation. This includes obtaining the code length of the first encoded value, obtaining the total number of assignment rounds of the light wave based on the code length, so that the code number of the second encoded value is consistent with the code number of the first encoded value, obtaining the first attenuation value of the first output port based on the first encoded value, and assigning the light wave attenuated based on the first attenuation value to a second input port of the receiving wavelength selection switch according to the total number of assignment rounds. Specifically, in one embodiment, a network of 20-dimensional wavelength selection switches, with each wavelength selection switch fully configured, can support up to 21 directions, with a total of 420 D ports and the same number of A ports, and can support up to 420 sets of optical fiber connections. Based on the above quantities, the device can encode the first output port in octal with a code length of 4 bits, so the total number of light wave assignment rounds is 4, that is, in each round, the light wave is assigned to each second input port of the receiving wavelength selection switch.

[0057] Reference Figure 7 In one embodiment, step S420 may further include steps S510 to S520.

[0058] Step S510: Obtain the symbol in the first encoded value, and obtain the first attenuation value of the first output port based on the symbol.

[0059] Step S510: Obtain the current assignment round of the light wave, determine the target symbol from the symbols according to the current assignment round, and assign the light wave attenuated based on the first attenuation value corresponding to the target symbol to the second input port of the receiving wavelength selection switch.

[0060] In some embodiments of the present invention, the first attenuation value is obtained based on the symbols of the first encoded value. Different symbols correspond to different additional attenuations. The symbols in the first encoded value are obtained, and the first attenuation value of the first output port is obtained based on the symbols. Then, the current assignment round of the light wave is obtained, and the target symbol is determined from the symbols based on the current assignment round. The light wave attenuated based on the first attenuation value corresponding to the target symbol is assigned to a second input port of the receiving wavelength selection switch, as shown in Table 1. Table 1 is a table showing the correspondence between symbols and additional attenuation of the wavelength selection switch in the first encoded value obtained by octal encoding in one embodiment. The additional attenuation value corresponding to each symbol is twice the value of the symbol. Under the premise of meeting the requirements of the embodiments of the present invention, this multiple can be larger to reduce the error of power scanning in the receiving wavelength selection switch. Specifically, in one embodiment, if the current round is the second round and the first output port has a first encoded value of 0123, then the target symbol of this round is 1, and the corresponding additional attenuation is 2dB. The transmitting wavelength selection switch assigns the light wave attenuated based on 2dB to a port A of the receiving wavelength selection switch.

[0061] Table 1. Correspondence between symbol and wavelength selective switch additional attenuation.

[0062] 0 0 1 2 2 4 3 6 4 8 5 10 6 12 7 14

[0063] In some embodiments of the present invention, in step S130 above, a power scan is performed on the second output port of the receiving wavelength selection switch to obtain the power value of the second output port. The power scan is performed on the first input port according to the total number of assignment rounds to obtain the power value of the first input port in each assignment round. In the wavelength division multiplexing (WDM) assignment of the transmitting wavelength selection switch, in each round, the first output port assigns the light wave attenuated based on the first attenuation value to a second input port of the receiving wavelength selection switch in the ROADM station. The device performs one round of power scan on the receiving wavelength selection switch in the ROADM station to obtain the power value under that assignment round. When the light wave of the next round arrives at the receiving wavelength selection switch, the device performs another round of power scan on the receiving wavelength selection switch in the ROADM station to obtain the power value under that assignment round, thus realizing multi-round power scanning.

[0064] In some embodiments of the present invention, step S130 above, in which the second attenuation value corresponding to the second input port is obtained based on the power value, may further include the following steps: subtracting the power value obtained from each round of assignment scanning of the second output port from the power value obtained from the first round of assignment scanning of the second output port to obtain the second attenuation value corresponding to the second input port. In one embodiment, in order to make the second coding value correspond to the first coding value, the additional attenuation when the symbol is 0 is set to 0, that is, no additional attenuation is added to the first round of wavelength division assignment. By subtracting the power value obtained from each round of assignment scanning of the second input port from the power value obtained from the first round of assignment scanning of the second output port, a sequence of additional attenuation under multiple rounds can be obtained, thereby corresponding to the symbol, that is, corresponding to the first coding value of the first output port. In one embodiment, when the total number of assignment rounds is 4, the four output powers (dBm) of a second input port of a receiver wavelength selective switch are -6.99, -8.87, -11.12, and -13.03. After subtracting these values, the results are 0, 1.88, 4.13, and 6.04, thus obtaining the sequence of additional attenuation across multiple rounds. Under the premise of satisfying the requirements of this embodiment, the additional attenuation corresponding to the symbol can also be of other proportions. Then, performing data processing related to that proportion on the subtracted sequence can also obtain the sequence of additional attenuation across multiple rounds related to the first encoded value. This invention does not impose specific limitations on this.

[0065] In some embodiments of the present invention, the step S130 above, in which the second encoding value is obtained based on the second attenuation value, may further include the following steps: rounding the second attenuation value to obtain the second encoding value. The second encoding value after rounding can be directly associated with the first encoding value. In one embodiment, when the total number of assignment rounds is 4, the four output powers (dBm) of a second input port of a receiving wavelength selective switch are -6.99, -8.87, -11.12, and -13.03. After taking the difference, we get 0, 1.88, 4.13, and 6.04. After rounding, we get 0, 2, 4, and 6, which correspond to the encoding 0123. This indicates that there is an optical fiber connection between this port and the first output port of the transmitting wavelength selective switch, which is encoded as 0123. Under the premise of meeting the requirements of the embodiments of the present invention, the additional attenuation corresponding to the code element can also be other proportions. Then, the sequence after the difference is performed and data processing related to the proportion is performed again to obtain the second coding value related to the first coding value. The present invention does not impose specific limitations on it.

[0066] Reference Figure 8 In one embodiment, step S140 may further include at least one of steps S610 and S620:

[0067] Step S610: When the first encoded value is the same as the second encoded value, the matching relationship between the first output port and the second input port is determined to be a match.

[0068] Step S620: When the first encoded value does not match the second encoded value, the matching relationship between the first output port and the second input port is determined to be mismatched.

[0069] In some embodiments of the present invention, the device determines the matching connection relationship between optical fibers based on the obtained second encoding value. When the first encoding value and the second encoding value are the same, the matching relationship between the first output port and the second input port is determined to be a match. For example, if the second encoding value is 0123, then 0123 also exists in the first encoding value, and the first output port and the second input port are previously connected. When the first encoding value and the second encoding value do not match, the matching relationship between the first output port and the second input port is determined to be a mismatch. For example, if the second encoding value is 0123, and the first encoding value does not contain a first output port with 0123, and the first encoding value also contains a corresponding first output port that has not been matched with a second input port, then there is an optical fiber connection error between these two ports.

[0070] It should be noted that, in some embodiments of the present invention, after the device obtains the fiber optic matching connection relationship between ports within the ROADM station, it reports the matching result and prompts the operation and maintenance personnel to conduct targeted checks on the fiber optics. This enables a fast and automated automatic discovery mechanism for fiber optic connection relationships during the initial deployment of the OTN network, providing support for network management and control.

[0071] Reference Figure 9 As shown, it can be understood that in one embodiment of the present invention, a ROADM consisting of four up and down paths (i.e., four transmitting wavelength selection switches and four receiving wavelength selection switches) can, based on the above quantities, encode the first output port in octal with a code length of 3 bits. Therefore, the total number of light wave assignment rounds is 3, and the attenuation corresponding to the code elements is shown in Table 1. It is assumed that the wavelength selection switches are only connected to ports D1-D3 of the first output port of the transmitting wavelength selection switch and ports A1-A3 of the second input port of the receiving wavelength selection switch.

[0072] First, initialize the ROADM station by disconnecting the fiber optic cables at the input ports of the four transmitting wavelength selection switches. Set the first optical amplifier (OPA) to noise spontaneous emission mode to generate a broadband light source. Set the second optical amplifier (OBA) connected to the second output ports of the four receiving wavelength selection switches to the off state to prevent strong light from entering other modules and causing device damage. Configure all four transmitting wavelength selection switches to C-band mode with a 50GHz bandwidth per wavelength, using 80 wavelengths. Assign wavelengths 1, 2, 3, and 4 to port D1; wavelengths 5, 6, 7, and 8 to port D2; and wavelengths 9, 10, 11, and 12 to port D3. Set wavelengths 13-80 to the blocking state.

[0073] In one embodiment, each port is configured with four optical waves, which allows the receiving wavelength selection switch to measure the power value of the second output port. Under the premise of meeting the requirements of the embodiments of the present invention, other numbers of optical waves can also be configured, and the present invention does not impose specific limitations on them.

[0074] Secondly, three rounds of power scanning are performed. There are only 12 ports in total. Here, a three-round octal encoding method is used to obtain the first encoded value. WSS#10, WSS#20, WSS#30 and WSS#40 represent the transmitting wavelength selection switches in the four uplink and downlink directions. The encoding rules of each first output port are shown in Table 2:

[0075] Table 2 Encoding Rules for the First Output Port's First Encoding Value

[0076]

[0077] The first round of power scanning is performed, with all symbols on the first output port set to 0 and the additional attenuation set to 0. Simultaneously, all wavelengths are sequentially assigned to ports A1, A2, and A3 of the respective receiver wavelength selection switches, and the power detection values ​​at their output ports are recorded.

[0078] Perform a second round of power scanning to identify the additional attenuation corresponding to the second round encoding of each first output port, and set the corresponding additional attenuation value for that port. For example, for port D1 of WSS#40, the overall encoding is 011, and the second round symbol is 1. Based on Table 1, its corresponding additional attenuation value is found to be 2dB. Set the additional attenuation of wavelengths 1-4 assigned to port D1 of WSS#40 to 2dB. At the same time, assign all wavelengths sequentially to ports A1, A2, and A3 of each receiver wavelength selection switch, and record the power detection value at their output ports.

[0079] Perform a third round of power scanning to identify the additional attenuation corresponding to the third round of encoding at the first output port, and set the corresponding additional attenuation value for that port. For example, for port D2 of WSS#20, the overall encoding is 004, and the third round symbol is 4. Based on Table 1, its corresponding additional attenuation value is found to be 8dB. Set an additional attenuation of 8dB for wavelengths 5-8 assigned to port D2 of WSS#20. At the same time, assign all wavelengths sequentially to ports A1, A2, and A3 of each receiver wavelength selection switch, and record the power detection value at their output ports.

[0080] After completing the above steps, record the power values ​​of the out port when the receiver wavelength selection switch assigns all wavelengths to each port A. For example, Table 3 provides one result, where WSS#11, WSS#21, WSS#31, and WSS#41 represent the receiver wavelength selection switches in each uplink / downlink direction, respectively.

[0081] Table 3 Power Recording Results of an Example

[0082]

[0083] The decoding process and port pairing are as follows: Subtract the power values ​​of the first, second, and third rounds from the power measured at each second output port in Table 3 to obtain the power difference, which is the second attenuation value. Rounding is then used to obtain the corresponding additional attenuation value. Referring to Table 1, the corresponding second encoded value is obtained. Based on the second encoded value, the corresponding D port is found. The results are shown in Table 4.

[0084] Table 4. Power Recording Results Encoding Matching Table (Example)

[0085]

[0086]

[0087] It should be noted that, referring to Figure 11 As shown, in one embodiment, the above embodiments can be summarized as the following method steps S710 to S7100:

[0088] Step S710, configuration initialization.

[0089] Step S720, wavelength allocation.

[0090] Step S730, transmit wavelength selection switch encoding.

[0091] Step S740: Are there any remaining rounds?

[0092] Step S750, attenuation configuration at the transmitter.

[0093] Step S760: Are there any remaining receive ports?

[0094] Step S770, receiver attenuation configuration.

[0095] Step S780: Power scan and record.

[0096] Step S790: Port matching and output matching fiber connection relationship.

[0097] The device determines whether a round has been completed. If all rounds have been scanned, it proceeds to the decoding process and port pairing; otherwise, it proceeds to the next round, thus achieving multi-round power scanning. This includes the transmitting wavelength selection switch. Each first output port obtains a first code value according to a preset code and sets the additional attenuation value for the port in this round. For example, if the current round is the second round, the port with the code 0123 has a symbol of 1 in this round, and the corresponding additional attenuation value is 2dB. Then, it determines whether there are any second input ports of the receiving wavelength selection switch that have not been detected in this round. If there are any second input ports that have not been detected, the next port is selected, and all wavelengths are assigned to that second input port. For example, when detecting the second port in this round, all wavelengths are assigned to port A2. If all second input ports have been detected, all receiving wavelength selection switches check the output power (out port) and record the power value.

[0098] Finally, based on the matching information of the first column "Port" and the last column "Corresponding Port", the fiber optic matching connection relationship between the wavelength selection switches is output.

[0099] Reference Figure 9 As shown, it can be understood that in another embodiment of the present invention, a ROADM consisting of four uplink / downlink wavelength selection switches (i.e., four transmitting wavelength selection switches and four receiving wavelength selection switches) can encode the first output port in octal with a code length of 3 bits, based on the above quantities. Therefore, the total number of light wave assignment rounds is 3, and the attenuation corresponding to the code elements is shown in Table 1. Assume that the wavelength selection switches are only connected to ports D1-D3 of the first output port of the transmitting wavelength selection switch and ports A1-A3 of the second input port of the receiving wavelength selection switch. Assume that the optical fiber connecting WSS#10's D1 to WSS#21's A1 has a loose insertion, and the insertion loss exceeds the normal value.

[0100] First, initialize the ROADM station by disconnecting the fiber optic cables at the input ports of the four transmitting wavelength selection switches. Set the first optical amplifier (OPA) to noise spontaneous emission mode to generate a broadband light source. Set the second optical amplifier (OBA) connected to the second output ports of the four receiving wavelength selection switches to the off state to prevent strong light from entering other modules and causing device damage. Configure all four transmitting wavelength selection switches to C-band mode with a 50GHz bandwidth per wavelength, using 80 wavelengths. Assign wavelengths 1, 2, 3, and 4 to port D1; wavelengths 5, 6, 7, and 8 to port D2; and wavelengths 9, 10, 11, and 12 to port D3. Set wavelengths 13-80 to the blocking state.

[0101] Secondly, three rounds of power scanning are performed. The first encoded value and the power scanning process are the same as in the above embodiment, and will not be repeated here. The power recording results are shown in Table 5 of another embodiment.

[0102] Table 5 Power recording results of another embodiment

[0103]

[0104] In the decoding process and port pairing, the power values ​​of the first, second, and third rounds are successively subtracted from the first-round power measured at each second output port in Table 5 to obtain the power difference, i.e., the second attenuation value. The corresponding additional attenuation value is obtained by rounding down. Referring to Table 1, the corresponding second encoded value is obtained. Based on the second encoded value, the corresponding D port is found. The result is the same as Table 4 in the above embodiment, outputting the same fiber optic connection relationship. However, it is found that the power value of A1 in the first round of WSS#21 exceeds the normal range, i.e., it is less than the detection threshold of the wavelength selective switch. The device issues a prompt that there is a loose interlock in the fiber from D1 of WSS#10 to A1 of WSS#21, which needs adjustment. The range of power exceeding the limit depends on the lower limit power of the specific wavelength selective switch; this invention does not impose specific limitations on it.

[0105] Reference Figure 10As shown, it can be understood that in another embodiment of the present invention, a ROADM consisting of four uplink / downlink directions, i.e., four transmitting wavelength selection switches and four receiving wavelength selection switches, can encode the first output port in octal with a code length of 3 bits, based on the above quantities. The total number of optical wave assignment rounds is then 3, and the attenuation corresponding to the code elements is shown in Table 1. Assume that the wavelength selection switches are only connected to ports D1-D3 of the first output port of the transmitting wavelength selection switch and ports A1-A3 of the second input port of the receiving wavelength selection switch. All optical fibers are free of misconnections and faults. However, there are two misconnected optical fibers within the station: D1 of WSS#10 is incorrectly connected to D1 of WSS#20, and A1 of WSS#11 is incorrectly connected to A1 of WSS#21.

[0106] First, initialize the ROADM station by disconnecting the fiber optic cables at the input ports of the four transmitting wavelength selection switches. Set the first optical amplifier (OPA) to noise spontaneous emission mode to generate a broadband light source. Set the second optical amplifier (OBA) connected to the second output ports of the four receiving wavelength selection switches to the off state to prevent strong light from entering other modules and causing device damage. Configure all four transmitting wavelength selection switches to C-band mode with a 50GHz bandwidth per wavelength, using 80 wavelengths. Assign wavelengths 1, 2, 3, and 4 to port D1; wavelengths 5, 6, 7, and 8 to port D2; and wavelengths 9, 10, 11, and 12 to port D3. Set wavelengths 13-80 to the blocking state.

[0107] Secondly, three rounds of power scanning are performed. The first encoded value and the power scanning process are the same as in the above embodiment, and will not be repeated here. The power recording results are shown in Table 6 of another embodiment.

[0108] Table 6 Power Recording Results of Another Embodiment

[0109]

[0110] The decoding process and port pairing involve subtracting the power values ​​of the first, second, and third rounds from the first round power measured at each second output port in Table 6 to obtain the power difference, i.e., the second attenuation value. This is then rounded to obtain the corresponding additional attenuation value. Referring to Table 1, the corresponding second encoding value is obtained. Based on the second encoding value, the corresponding D port is found. Excluding WSS#11 A1, WSS#21 A1, WSS#10 D1, and WSS#20 D1 (which have no corresponding results), the remaining results are the same as in Table 4 of the above embodiment. The discovered fiber optic connection relationships are output. Furthermore, a prompt is issued to remind maintenance personnel that the fiber connections of the four ports WSS#11 A1, WSS#21 A1, WSS#10 D1, and WSS#20 D1 are incorrect and need adjustment.

[0111] Figure 12 An apparatus for determining port matching relationships according to an embodiment of the present invention is shown. The apparatus 100 includes: a memory 102, a processor 101, and a computer program stored in the memory 102 and executable on the processor 101. When the computer program is executed, it is used to perform the above-described method for determining port matching relationships.

[0112] The processor 101 and the memory 102 can be connected via a bus or other means.

[0113] The memory 102, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs, such as the port matching relationship determination method described in the embodiments of the present invention. The processor 101 implements the above-described port matching relationship determination method by running the non-transitory software program and instructions stored in the memory 102.

[0114] The memory 102 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store the method for determining the port matching relationship described above. Furthermore, the memory 102 may include high-speed random access memory 102, and may also include non-transitory memory 102, such as at least one storage device, flash memory, or other non-transitory solid-state storage device. In some embodiments, the memory 102 may optionally include remotely located memories 102 relative to the processor 101, which can be connected to the device 100 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0115] The non-transient software program and instructions required to implement the above-described method for determining port matching relationships are stored in memory 102. When executed by one or more processors 101, the above-described method for determining port matching relationships is executed, for example, executing... Figure 2 Method steps 110 to 140 in the text Figure 3 Steps 210 to 220 in the method are as follows. Figure 5 Steps 310 to 320 in the method are as follows. Figure 6 Steps 410 to 420 in the method are as follows. Figure 7 Steps 510 to 520 in the method are as follows. Figure 8 The method steps in the middle are steps 610 to 620. Figure 11 The method steps are 710 to 790.

[0116] This invention also provides a computer-readable storage medium storing computer-executable instructions for executing the aforementioned method for determining port matching relationships.

[0117] In one embodiment, the computer-readable storage medium stores computer-executable instructions that are executed by one or more control processors, for example, executing... Figure 2 Method steps 110 to 140 in the text Figure 3 Steps 210 to 220 in the method are as follows. Figure 5 Steps 310 to 320 in the method are as follows. Figure 6 Steps 410 to 420 in the method are as follows. Figure 7 Steps 510 to 520 in the method are as follows. Figure 8 The method steps in the middle are steps 610 to 620. Figure 11 The method steps are 710 to 790.

[0118] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0119] Those skilled in the art will understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, storage device storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically include computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0120] It should also be understood that the various implementation methods provided in the embodiments of the present invention can be combined arbitrarily to achieve different technical effects.

[0121] The above provides a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of the present invention.

Claims

1. Methods for determining port matching relationships, including: Obtain the first encoded value of the first output port of the transmitting wavelength selection switch; Based on the first encoded value, the first attenuation value of the first output port is obtained, and the light wave attenuated based on the first attenuation value is assigned to the second input port of the receiving wavelength selection switch. A power scan is performed on the second output port of the receiving wavelength selection switch to obtain the power value of the second output port. Based on the power value, the second attenuation value corresponding to the second input port is obtained, and the second encoding value is obtained based on the second attenuation value. The matching relationship between the first output port and the second input port is determined based on the first encoded value and the second encoded value.

2. The method for determining port matching relationships according to claim 1, characterized in that, Before obtaining the first encoded value of the first output port of the transmitting wavelength selection switch, the method further includes: Disconnect the optical fiber connection of the first input port of the transmitting wavelength selection switch, and set the first optical amplifier connected to the transmitting wavelength selection switch to the noise spontaneous emission mode so that the first optical amplifier generates a broadband light source. The second optical amplifier connected to the second output port of the receiving wavelength selection switch is turned off.

3. The method for determining port matching relationships according to claim 1, characterized in that, Before obtaining the first encoded value of the first output port of the transmitting wavelength selection switch, the method further includes: Obtain the light wave format and number of light waves in the wavelength selection switch at the transmitting end; The light waves are sequentially assigned to each of the first output ports according to the light wave format and the number of light waves, wherein the number of light waves is the same for each of the first output ports.

4. The method for determining port matching relationships according to claim 1, characterized in that, The first encoded value is obtained according to the following steps: The first output port is encoded according to the number of the first output port, the number of the transmitting wavelength selection switch and the number of the receiving wavelength selection switch, to obtain the first encoded value of the first output port; Different first output ports correspond to different first encoded values.

5. The method for determining port matching relationships according to claim 1, characterized in that, The step of obtaining a first attenuation value for the first output port based on the first encoded value, and assigning the light wave attenuated based on the first attenuation value to the second input port of the receiving wavelength selection switch includes: Obtain the code length of the first encoded value, and determine the total number of light wave assignment rounds based on the code length; The first attenuation value of the first output port is obtained based on the first encoding value, and the light wave attenuated based on the first attenuation value is assigned to the second input port of the receiving wavelength selection switch according to the total assignment round.

6. The method for determining port matching relationships according to claim 5, characterized in that, The step of obtaining a first attenuation value for the first output port based on the first encoded value, and assigning the light wave attenuated based on the first attenuation value to the second input port of the receiving wavelength selection switch according to the total assignment rounds, includes: Obtain the code elements in the first encoded value, and obtain the first attenuation value of the first output port based on the code elements; The current assignment round of the light wave is obtained, the target symbol is determined from the symbols according to the current assignment round, and the light wave attenuated based on the first attenuation value corresponding to the target symbol is assigned to the second input port of the receiving wavelength selection switch.

7. The method for determining port matching relationships according to claim 5, characterized in that, The step of performing a power scan on the second output port of the receiving wavelength selective switch to obtain the power value of the second output port includes: The power value of the second output port is obtained by scanning the power of the second output port in each assignment round according to the total number of assignment rounds.

8. The method for determining port matching relationships according to claim 7, characterized in that, The step of obtaining the second attenuation value corresponding to the second input port based on the power value includes: The power value obtained from each round of assignment scanning of the second output port is subtracted from the power value obtained from the first round of assignment scanning of the second output port to obtain the second attenuation value corresponding to the second input port.

9. The method for determining port matching relationships according to claim 1 or 8, characterized in that, The step of obtaining the second encoded value based on the second attenuation value includes: The second coded value is obtained by rounding down the second attenuation value.

10. The method for determining port matching relationships according to claim 1, characterized in that, Determining the matching relationship between the first output port and the second input port based on the first encoded value and the second encoded value includes at least one of the following: When the first encoded value is the same as the second encoded value, the matching relationship between the first output port and the second input port is determined to be a match; When the first encoded value does not match the second encoded value, the matching relationship between the first output port and the second input port is determined to be mismatched.

11. A device for determining port matching relationships, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method for determining port matching relationships as described in any one of claims 1 to 10.

12. A computer-readable storage medium, characterized in that, The storage medium stores a program that is executed by a processor to implement the method for determining port matching relationships as described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method, system and device for detecting optical fiber link

    CN103368643A