The present application is proposed based on and claims priority to the Chinese patent application No. 202110697077.9 filed on Jun. 23, 2021, the entire content of which is incorporated herein by reference.
Embodiments of the present application relate to the technical field of optical communications, and particularly relate to an optical fiber connection discovery method, an electronic device, and a computer readable storage medium.
An optical transport network (OTN) technology is a new type of optical transport technology, which not only has advantages of a synchronous digital hierarchy (SDH) technology and a wavelength division multiplexing (WDM) technology, but also has advantages of large network capacity and good control mechanism. A reconfigurable optical add/drop multiplexer (ROADM) networking technology based on a wavelength selective switch (WSS) can achieve flexible optical switching in any wavelength and any direction. The ROADM networking technology has become a key development direction for OTN networking.
However, by sending and receiving specific messages between ports, and identifying fields at specific positions within the messages, a technical solution for automatic discovery of optical fiber connection is achieved. In an actual networking process, service units that send and receive the specific messages need to access to a network before fiber connection, which results in the inability of the specific messages to be sent between the ports, and make it impossible to achieve automatic optical fiber discovery. In this way, it can only rely on manual fiber connection, however, a scale of the optical transmission network is huge, resulting in high operation and maintenance pressures, and high operation and maintenance costs.
An embodiment of the present application provides an optical fiber connection discovery method, including: turning off each laser in a network element to be processed; turning on a target laser; and determining a connection position of an optical fiber of the target laser in an optical signal propagation direction according to a configuration state of each wavelength selective switch (WSS) of the network element to be processed and an optical detection result of each port of the network element to be processed.
An embodiment of the present application further provides an electronic device, including: at least one processor; and a memory in communication connection with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the above optical fiber connection discovery method.
An embodiment of the present application further provides a computer readable storage medium, storing a computer program. The computer program, when executed by a processor, implements the above optical fiber connection discovery method.
The main objective of embodiments of the present application is to provide an optical fiber discovery method, an electronic device, and a computer readable storage medium, aiming to quickly and accurately discover optical fiber connection positions of physical connection fibers of a network element automatically, greatly alleviating operation and maintenance pressures, reducing operation and maintenance costs, and improving operation and maintenance efficiency.
In order to make the objective, technical solutions and advantages of embodiments of the present application clearer, all embodiments of the present application will be described below in detail with reference to accompanying drawings. However, the ordinarily skilled in the art can understand that in various embodiments of the present application, many technical details have been proposed to enable readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solution required for protection in the present application can still be achieved. The division of the following embodiments is for convenience in description and should not constitute any limitations on the specific implementations of the present application. All the embodiments can be combined and referenced with each other without contradiction.
In order to facilitate the understanding of the embodiments of the present application, several concepts introduced by the embodiments of the present application are first introduced here.
OTN: OTN is a transport network based on a wavelength division multiplexing technology and organizing a network in an optical layer, and is the next generation backbone transport network. OTN is a new generation of “digital transport system” and “optical transport system” standardized through a series of protocols from the International Telecommunication Union-Telecommunications Standardization Sector (ITU-T), such as G.872, G.709, and G.798. The OTN technology will solve problems that a traditional WDM network does not have a wavelength-free/sub-wavelength service scheduling capability, is weak in networking capability, and weak in protection capability.
WSS-based ROADM networking technology: the WSS-based ROADM networking technology can achieve flexible optical switching of any wavelength and any direction. This technology has become a key development direction for a wavelength division multiplexing network and gradually replaces a fixed optical add/drop multiplexer (FOADM) networking technology based on a power distribution unit (PDU) and an optical multiplex unit (OMU). By utilizing multi-dimensional WSS, ROADM can achieve functions such as add-drop, pass-through of optical signals in multiple directions.
An embodiment of the present application relates to an optical fiber connection discovery method, applied to an electronic device, wherein the electronic device may be a terminal or a server. The electronic devices in this embodiment and the following embodiments will be explained using a server as an example. The following is a specific explanation of the implementation details of the optical fiber connection discovery method in this embodiment. The following content is only for the convenience of understanding the provided implementation details and is not necessary for implementing this solution.
The specific flow of the optical fiber connection discovery method in this embodiment may be shown in
At operation 101, each laser in a network element to be processed is turned off.
Specifically, when a server performs optical fiber connection discovery, all the lasers in the network element to be processed may be turned off first to ensure that there is no optical signal present in the network element to be processed. This can avoid the occurrence of a plurality of light sources in the network element to be processed in the process of optical fiber connection discovery and improve the accuracy of optical fiber connection discovery.
At operation 102, a target laser is turned on.
Specifically, when performing optical fiber connection discovery of the network element to be processed, the server may first determine the target laser in each laser of the network element to be processed and turn on one target laser. The laser of the network element to be processed includes an optical booster amplifier (OBA), an optical parametric amplifier (OPA), and an optical transform unit (OTU).
In the specific implementation, the server only turns on one target laser in the network element to be processed at a time. Considering that there are the plurality of lasers inside the network element to be processed, and light propagation paths of some lasers have overlapping points, as shown in
In one example, the server may acquire specified information input by a user and determine the target laser in the network element to be processed according to the specified information.
In another example, the server may store a target laser selection rule in advance, and according to the selection rule, the lasers in the network element to be processed are sequentially taken as the target lasers.
In one example, the server may traverse each laser in the network element to be processed and sequentially takes each laser as the target laser. For example, the server may number each laser in the network element to be processed and sequentially take each laser as the target laser in an order of numbering.
In another example, the server may classify each laser in the network element to be processed, traverse all lasers under each category, and sequentially take each laser as the target laser. For example, the network element to be processed includes three types of lasers: OBA, OPA, and OTU. The server may first take each OBA as the target laser, then take each OPA as the target laser, and finally take each OTU as the target laser. The order of the three types of lasers of OBA, OPA, and OTU may be set by the skilled in the art according to actual needs, which is not specifically limited by the embodiment of the present application.
At operation 103, a connection position of an optical fiber of the target laser in an optical signal propagation direction is determined according to a configuration state of each wavelength selective switch (WSS) of the network element to be processed and an optical detection result of each port of the network element to be processed.
Specifically, after turning on the target laser, the server may determine the connection position of the optical fiber of the target laser in the optical signal propagation direction according to the configuration state of each WSS of the network element to be processed and the optical detection result of each port of the network element to be processed. Considering that in an actual networking process, the optical fiber connection position may only be determined manually, resulting in high operation and maintenance pressure and high operation and maintenance cost, the embodiment of the present application quickly and accurately discovers the connection position of the optical fiber of the target laser in the optical signal propagation direction automatically in a mode of automatically turning on the laser and taking into account the configuration state of each WSS in the network element and the optical detection result of each port in the network element, so that the optical fiber connection positions of physical fiber connection of the entire network element are automatically discovered, thereby greatly alleviating the operation and maintenance pressures, reducing the operation and maintenance costs, and improving the operation and maintenance efficiency.
In the specific implementation, the configuration state of the WSS includes a null state and a cross configuration state. A WSS with the configuration state being the null state refers to a non-conductive WSS, and a WSS with the configuration state being the cross configuration state refers to a conductive WSS.
In the specific implementation, after determining the connection position of the optical fiber of the target laser in the optical signal propagation direction, the server may turn off the target laser, turn on the next target laser, and determine the connection position of the optical fiber of the target laser in the optical signal propagation direction until the connection positions of all the optical fibers in the network element to be processed are discovered.
In this embodiment, each laser in the network element to be processed is turned off, one target laser is turned on, and the connection position of the optical fiber of the target laser in the optical signal propagation direction is determined according to the configuration state of each wavelength selective switch (WSS) of the network element to be processed and the optical detection result of each port of the network element to be processed. Considering that in the actual networking process, a service unit that sends and receives specific messages need to be connected to a network after fiber connection, which results in the inability to send the specific messages between ports and the inability to achieve automatic discovery of the optical fiber, therefore, the optical fiber connection position can only be determined manually, resulting in high operation and maintenance pressure and high operation and maintenance cost. The embodiment of the present application quickly and accurately discovers the connection position of the optical fiber of the target laser in the optical signal propagation direction automatically in a mode of automatically turning on one target laser and taking into account the configuration state of each WSS in the network element and the optical detection result of each port in the network element, so that the optical fiber connection positions of physical fiber connection of the entire network element are automatically discovered, thereby greatly alleviating the operation and maintenance pressures, reducing the operation and maintenance costs, and improving the operation and maintenance efficiency. At the same time, turning on only one target laser at a time can also avoid the occurrence of the plurality of light sources in the network element to be processed in the process of optical fiber connection discovery, thereby improving the accuracy of optical fiber connection discovery.
In one embodiment, the target laser is the OBA, and determining the connection position of the optical fiber of the OBA in the optical signal propagation direction may be achieved by each sub steps as shown in
At operation 201, the configuration state of each WSS of the network element to be processed is set as null.
Specifically, after the server determines that the target laser is the OBA, the configuration state of each WSS of the network element to be processed may be set as null, thereby ensuring that all WSSs of the network element to be processed are not conductive and that optical signals will not be transmitted to boards in other directions.
At operation 202, each laser in the network element to be processed is turned off, and the OBA is turned on.
In the specific implementation, after setting the configuration state of each WSS of the network element to be processed as null, the server may turn off each laser in the network element to be processed, and turn on one target laser, that is, turn on the OBA, so that an optical signal of the OBA is transmitted.
In one example, the server may also turn off each laser in the network element to be processed first, and then set the configuration state of each WSS in the network element to be processed as null.
At operation 203, whether any WSS detects light at a group port is judged, if yes, operation 204 is performed, and otherwise, operation 212 is performed.
Specifically, after turning on the OBA, the server may acquire the optical detection result of each WSS and judge whether any WSS detects the light at the group port.
In the specific implementation, because the server sets the configuration state of each WSS as null in operation 201, it is not conductive between various directions, as shown in
At operation 204, whether only one WSS detects the light at the group port is judged, if yes, operation 205 is performed, and otherwise, the process ends.
In the specific implementation, the server may continue to judge whether only one WSS detects the light at the group port after judging that there is the WSS that detects the light at the group port. If only one WSS detects the light at the group port, it indicates that the physical fiber connection is correct and the optical fiber connection discovery process continues. If the plurality of WSSs detect the light at the group port, it indicates that the physical fiber connection is incorrect and the optical fiber connection position cannot be continued to discover correctly, and the server may directly exit the optical fiber connection discovery process.
In one example, if the plurality of WSSs detect the light at the group port, the server may generate physical fiber connection error indication, so as to inform staff to modify the physical fiber connection or perform the physical fiber connection again.
At operation 205, the OBA is determined as an OBA in an add-drop direction, and an optical fiber between the WSS that detects the light at the group port and the OBA in the add-drop direction is recorded as a first-position optical fiber.
In the specific implementation, as shown in
In one example, as shown in
At operation 206, the configuration state of the WSS that detects the light at the group port is set as cross configuration.
In the specific implementation, the configuration state of the WSS that detects the light at the group port is set as cross configuration, that is, the WSS is subjected to cross configuration to each branch port, so as to conduct the WSS. After determining the OBA as the OBA in the add-drop direction and recording the optical fiber between the WSS that detects the light at the group port and the OBA in the add-drop direction as the first-position optical fiber, the server may set the configuration state of the WSS that detects the light at the group port as cross configuration, that is, the WSS is conductive to ensure that the optical signal of the OBA in the add-drop direction is transmitted to each line direction of the network element to be processed.
In an example, as shown in
At operation 207, the optical detection result of each port is acquired again.
In the specific implementation, after setting the configuration state of the WSS that detects the light at the group port as cross configuration, the server may acquire the optical detection result of each port again to clarify the transmission direction of the optical signal of the OBA in the add-drop direction. Each port includes a branch port of each WSS.
At operation 208, if a WSS other than the WSS that detects the light at the group port detects the light at the branch port, an optical fiber between the WSS that detects the light at the branch port and the WSS that detects the light at the group port is recorded as a second-position optical fiber.
In the specific implementation, as shown in
In one example, as shown in
At operation 209, the configuration state of the WSS that detects the light at the branch port is set as cross configuration.
In the specific implementation, the configuration state of the WSS that detects the light at the branch port is set as cross configuration, that is, the WSS is conductive. After recording the optical fiber between the WSS that detects the light at the branch port and the WSS that detects the light at the group port as the second-position optical fiber, the server may set the configuration state of the WSS that detects the light at the branch port as cross configuration, so as to ensure that the optical signal of the OBA in the add-drop direction is transmitted to each line direction of the network element to be processed.
At operation 210, an optical detection result of each OBA other than a turned-on OBA of the network element to be processed is acquired.
Specifically, after setting the configuration state of the WSS that detects the light at the branch port as cross configuration, the server may acquire the optical detection result of each OBA other than the turned-on OBA of the network element to be processed to clarify whether the optical signal of the OBA in the add-drop direction is transmitted to the line direction.
At operation 211, if an OBA other than the turned-on OBA detects the light, an optical fiber between the OBA that detects the light and the WSS that detects the light at the branch port is recorded as a third-position optical fiber.
In the specific implementation, as shown in
In one example, as shown in
At operation 212, the OBA is determined as the OBA in the line direction.
In the specific implementation, if the server judges that each WSS in the network element to be processed does not detect the light at the group port, it indicates that there is no optical signal transmission within the network element to be processed, and therefore, the OBA turned-on by the server is the OBA in the line direction. After determining all the optical fiber connection positions in the network element to be processed, the server may further determine that a downstream optical fiber of the OBA in the line direction is an optical fiber between the network elements.
This embodiment can automatically distinguish the OBA in the line direction and the OBA in the add-drop direction, and effectively improve the efficiency and accuracy of the connection position of the optical fiber of the OBA in the optical signal propagation direction.
In one embodiment, the target laser is the OPA, and determining the connection position of the optical fiber of the OPA in the optical signal propagation direction may be achieved by each sub steps as shown in
At operation 301, the configuration state of each WSS of the network element to be processed is set as null.
Specifically, after the server determines that the target laser is the OPA, the configuration state of each WSS of the network element to be processed may be set as null, thereby ensuring that all WSSs of the network element to be processed are not conductive and that optical signals will not be transmitted to boards in other directions.
At operation 302, each laser in the network element to be processed is turned off, and the OPA is turned on.
In the specific implementation, after setting the configuration state of each WSS of the network element to be processed as null, the server may turn off each laser in the network element to be processed, and turn on one target laser, that is, turn on the OPA, so that an optical signal of the OPA is transmitted.
In one example, the server may also turn off each laser in the network element to be processed first, and then set the configuration state of each WSS in the network element to be processed as null.
At operation 303, whether only one WSS detects the light at the group port is judged, if yes, operation 304 is performed, and otherwise, the process directly ends.
Specifically, after turning on the OPA, the server may judge whether only one WSS detects the light at the group port.
In the specific implementation, because the server sets the configuration state of each WSS as null in operation 301, it is not conductive between various directions, as shown in
At operation 304, the configuration state of the WSS that detects the light at the group port is set as cross configuration.
Specifically, after judging that only one WSS detects the light at the group port, the server may set the configuration state of the WSS that detects the light at the group port as cross configuration, so as to ensure that the optical signal of the turned-on OBA may be transmitted to each direction of the network element to be processed.
In one example, if the server judges that all the WSSs do not detect the light at the group ports, or that more than one WSS does not detect the light at the group port, it indicates a physical fiber connection error and the server may exit the optical fiber connection discovery process.
At operation 305, an optical detection result of each optical transform unit (OTU) of the network element to be processed is acquired.
In the specific implementation, after setting the configuration state of the WSS that detects the light at the group port as cross configuration, the server may acquire the optical detection result of each optical transform unit (OTU) of the network element to be processed to clarify whether the turned-on OPA is an OPA in an add-drop direction or an OPA in a line direction.
At operation 306, whether any OTU detects the light is judged, if yes, operation 312 is performed, and otherwise, operation 307 is performed.
Specifically, after acquiring the optical detection result of each optical transform unit (OTU) of the network element to be processed, the server may judge whether any OTU detects the light.
At operation 307, the OPA is determined as the OPA in the line direction, and an optical fiber between the OPA in the line direction and the WSS that detects the light at the group port as a fourth-position optical fiber.
In the specific implementation, as shown in
In one example, as shown in
At operation 308, the optical detection result of each port is acquired again.
In the specific implementation, after determining that the OPA is the OPA in the line direction, and recording the optical fiber between the OPA in the line direction and the WSS that detects the light at the group port as the fourth-position optical fiber, the server may acquire the optical detection result of each port again, so as to clarify the transmission direction of the optical signal of the OPA in the line direction. Each port includes the branch port of each WSS.
At operation 309, if a WSS other than the WSS that detects the light at the group port detects the light at the branch port, an optical fiber between the WSS that detects the light at the branch port and the WSS that detects the light at the group port is recorded as a sixth-position optical fiber.
In the specific implementation, as shown in
In one example, as shown in
At operation 310, an optical detection result of each OPA other than a turned-on OPA of the network element to be processed is acquired.
Specifically, after recording the optical fiber between the WSS that detects the light at the branch port and the WSS that detects the light at the group port as the sixth-position optical fiber, the server may acquire the optical detection result of each OPA other than the turned-on OPA of the network element to be processed to clarify whether the optical signal of the OBA in the line direction is transmitted to the add-drop direction.
At operation 311, if an OPA other than the turned-on OPA detects the light, an optical fiber between the OPA that detects the light and the WSS that detects the light at the branch port is recorded as a seventh-position optical fiber.
In the specific implementation, as shown in
In one example, as shown in
At operation 312, whether only one OTU detects the light is judged, if yes, operation 313 is performed, and otherwise, the process directly ends.
Specifically, the server may continue to judge whether only one OTU detects the light after judging that there is the OTU that detects the light. If only one OTU detects the light, it indicates that the physical fiber connection is correct and the optical fiber connection discovery process continues. If the plurality of OTUs detect the light, it indicates that the physical fiber connection is incorrect and the optical fiber connection position cannot be continued to discover correctly, and the server may directly exit the optical fiber connection discovery process.
At operation 313, the OPA is determined as the OPA in the add-drop direction, and an optical fiber between the OPA in the add-drop direction and the WSS that detects the light at the group port as a fifth-position optical fiber.
In the specific implementation, as shown in
In one example, as shown in
At operation 314, an optical fiber between the OTU that detects the light and the WSS that detects the light at the group port as an eighth-position optical fiber.
Specifically, after determining the OPA as the OPA in the add-drop direction, and the optical fiber between the OPA in the add-drop direction and the WSS that detects the light at the group port as the fifth-position optical fiber, the server may further record the optical fiber between the OTU that detects the light and the WSS that detects the light at the group port as the eighth-position optical fiber.
In one example, as shown in
This embodiment can automatically distinguish the OPA in the line direction from the OPA in the add-drop direction, and effectively improve the efficiency and accuracy of the connection position of the optical fiber of the OPA in the optical signal propagation direction.
In one embodiment, the target laser is the OTU, and determining the connection position of the optical fiber of the OTU in the optical signal propagation direction may be achieved by each sub steps as shown in
At operation 401, the configuration state of each WSS of the network element to be processed is set as cross configuration.
Specifically, after determining that the target laser is the OTU, the server may set the configuration state of each WSS of the network element to be processed as cross configuration, thereby ensuring that all WSSs of the network element to be processed are conductive. The OTU only exists within the line direction, and the configuration state of each WSS is set as cross configuration, thus the transmission direction of the optical signal of the OTU can be accurately discovered.
At operation 402, each laser in the network element to be processed is turned off, and the OTU is turned on.
In the specific implementation, after setting the configuration state of each WSS of the network element to be processed as cross configuration, the server may turn off each laser in the network element to be processed, and turn on one target laser, that is, turn on the OTU, so that an optical signal of the OTU is transmitted.
In one example, the server may also turn off each laser in the network element to be processed first, and then set the configuration state of each WSS in the network element to be processed as null.
At operation 403, whether only one WSS detects the light at the branch port is judged, if yes, operation 404 is performed, and otherwise, the process directly ends.
Specifically, after turning on the OTU, the server may judge whether only one WSS detects the light at the branch port.
In the specific implementation, because the OTU only exists inside the add-drop direction, even if the OTU is turned on, the optical signal will not be transmitted to the line direction, as shown in
In one example, if the server judges that all the WSSs do not detect the light at the branch ports, it indicates a physical fiber connection error and the server may exit the optical fiber connection discovery process.
At operation 404, an optical fiber between the WSS that detects the light at the branch port and the OTU is recorded as a ninth-position optical fiber.
In the specific implementation, as shown in
In one example, as shown in
At operation 405, an optical detection result of each OBA of the network element to be processed is acquired.
Specifically, after recording the optical fiber between the WSS that detects the light at the branch port and the OTU as the ninth-position optical fiber, the server may acquire the optical detection result of each OBA of the network element to be processed to clarify the transmission direction of the optical signal of the OTU.
At operation 406, whether only one OBA detects the light is judged, if yes, operation 407 is performed, and otherwise, the process directly ends.
In one example, if the server judges that all the OBAs do not detect the light, it indicates a physical fiber connection error and the server may exit the optical fiber connection discovery process.
At operation 407, an optical fiber between the OBA that detects the light and the WSS that detects the light at the branch port as a tenth-position optical fiber.
In the specific implementation, as shown in
In one example, as shown in
This embodiment can effectively improve the efficiency and accuracy of the connection position of the optical fiber of the OTU in the optical signal propagation direction.
Another embodiment of the present application relates to an electronic device, as shown in
The memory and the processor are connected through a bus, the bus may include any number of interconnected buses and bridges, and the bus connects one or more processors and various circuits of the memory together. The bus may further connect various other circuits such as a peripheral device, a voltage stabilizer and a power management circuit together, which are publicly known in the art and therefore are not further described herein. A bus interface provides an interface between the bus and a transceiver. The transceiver may be one or more elements, such as a plurality of receivers and transmitters, providing a unit for communicating with various other apparatus over a transmission medium. Data processed by the processor is transmitted on a wireless medium through an antenna, and the antenna further receives the data and transfers the data to the processor.
The processor is responsible for managing the bus and general processing, and may further provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory may be used for storing the data used by the processor during operation performing.
Another embodiment of the present application relates to a computer readable storage medium, storing a computer program. The computer program, when executed by a processor, implements the method embodiment above.
That is, those skilled in the art can understand that all or part of the steps in the above embodiments can be implemented by instructing the relevant hardware through a program, the program is stored in a storage medium and includes several instructions to enable a device (such as a single-chip computer, and a chip) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk and other media that can store program codes.
The ordinarily skilled in the art can understand that the above embodiments are specific embodiments for implementing the present application, and in practical applications, various changes can be made in form and details without deviating from the spirit and scope of the present application.
Number | Date | Country | Kind |
---|---|---|---|
202110697077.9 | Jun 2021 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2022/099983 | 6/20/2022 | WO |