Method and device for adjusting optical power and storage medium
By determining the target optical power difference in the optical multiplexing section link of the optical transmission network and implementing a channel equalization strategy, the problem of large differences in optical power of different channels is solved, and the automatic adjustment and equalization of optical power is achieved, thereby avoiding the The optical signal is lost or the signal is deteriorated.
Patent Information
- Application Number
- CN202411548376.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-14
AI Technical Summary
In an optical transmission network, due to the different gains obtained by the optical signals of multiple channels, the optical power that eventually arrives at the optical multiplexer is different, which may lead to loss of optical signals or deterioration of signals.
By determining the target optical power difference in the optical multiplexing segment link, if the power difference condition is not met, a channel equalization strategy is performed, including adjusting the optical attenuation amount of the variable optical attenuator, adjusting the gain slope of the optical amplifier, or Adjust the optical signal power of the source end card to achieve optical power equalization.
It realizes automatic adjustment of the optical power of the optical multiplexed segment link, reduces the optical power difference between channels, avoids optical signal loss or signal degradation, and simplifies the optical power equalization process.
Smart Images

Figure CN119449226A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical communication technology, and in particular to an optical power adjustment method, device and storage medium. Background Art
[0002] At present, in optical transmission networks, optical signals of multiple different channels are combined by optical multiplexers, passed through multiple optical amplifiers, and finally transmitted to the opposite optical multiplexer to form an optical path. However, due to the different gains obtained by optical signals of different channels, the optical power of optical signals of different channels that finally reach the optical multiplexer is greatly different, such as the optical signal of a certain channel may experience optical signal loss or signal degradation.
[0003] Therefore, when optical signals of multiple different channels are transmitted to an optical multiplexer at the opposite end, how to reduce the difference in optical power between the optical signals of each channel becomes an urgent problem to be solved. Summary of the invention
[0004] The present application provides an optical power adjustment method, device and storage medium, which are used to solve the problem of how to reduce the difference between the optical powers of optical signals of various channels.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, the present application provides a method for adjusting optical power. In the method, an optical multiplexing section link is determined, and the optical multiplexing section link includes: a sink card and an optical amplifier. A target optical power difference of the optical multiplexing section link is obtained, and the target optical power difference is the difference between the optical signal powers of multiple channels received by the sink card. If the target optical power difference does not meet the power difference condition, a channel equalization strategy is executed on the optical amplifier.
[0007] Based on the above technical solution, an optical multiplexing section link is determined. Then, a target optical power difference of the optical multiplexing section link is obtained. If the target optical power difference does not meet the power difference condition, a channel equalization strategy is executed on the optical amplifier. In this way, it is possible to determine whether the optical multiplexing section link completes optical power equalization by determining whether the target optical power difference meets the power difference condition. In addition, through the pre-stored channel equalization strategy, the optical amplifier can be automatically adjusted to achieve optical power equalization and simplify the optical power equalization process.
[0008] In one possible design, the channel equalization strategy includes at least one of the following: reducing the optical attenuation of the variable optical attenuator in the optical multiplexing section link, adjusting the gain slope of the optical amplifier, and adjusting the optical power of the optical signal of the source end board in the optical multiplexing section link.
[0009] In one possible design, if the target optical power difference does not meet the power difference condition, a first strategy is executed, and the first strategy includes: setting the optical attenuation of the variable optical attenuator in the optical multiplexing section link to 0, and / or, setting the gain slope of the optical amplifier to 0. Obtain the target optical power difference after executing the first strategy. If the target optical power difference after executing the first strategy does not meet the power difference condition, a second strategy is executed, and the second strategy includes: adjusting the gain slope of the optical amplifier based on the target optical power difference and the number of optical amplifiers, and / or, clipping the source-end wavelength selection switch WSS in the optical multiplexing section link.
[0010] In one possible design, optical power values of multiple channels received by the sink card are obtained. Based on the optical power values of the multiple channels, an optical power difference between each channel is determined to obtain multiple optical power difference values. Based on the multiple optical power difference values, a target optical power difference value is determined, and the target optical power difference value is specifically the largest optical power difference value among the multiple optical power difference values.
[0011] In one possible design, multiple preset links are obtained, and the preset links include: a preset source end board and a preset destination end board. For each preset link, based on the preset source end board and the preset destination end board of the preset link, it is determined whether the preset link is an optical multiplexing segment link.
[0012] In a possible design, if the board type of the preset source board and the board type of the preset destination board of the preset link are both target types, the preset link is determined to be an optical multiplexing segment link.
[0013] In a second aspect, the present application provides an optical power adjustment device, which includes an acquisition module and a processing module.
[0014] The processing module is used to determine an optical multiplexing section link, wherein the optical multiplexing section link includes: a sink card and an optical amplifier. The acquisition module is used to acquire a target optical power difference of the optical multiplexing section link, wherein the target optical power difference is a difference between optical signal powers of multiple channels received by the sink card. The processing module is also used to execute a channel equalization strategy on the optical amplifier if the target optical power difference does not meet a power difference condition.
[0015] In a third aspect, the present application provides an optical power adjustment device, which includes: a processor and a memory; the processor and the memory are coupled; the memory is used to store one or more programs, and the one or more programs include computer execution instructions. When the optical power adjustment device is running, the processor executes the computer execution instructions stored in the memory to implement the method described in the first aspect and any possible implementation method of the first aspect.
[0016] In a fourth aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a computer, the computer executes the method described in the above-mentioned first aspect and any possible implementation of the first aspect.
[0017] In a fifth aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run a computer program or instructions to implement the method described in the first aspect and any possible implementation of the first aspect.
[0018] In a sixth aspect, the present application provides a computer program product comprising instructions, which, when executed by a computer, enables the computer to execute the method described in the above-mentioned first aspect and any possible implementation manner of the first aspect.
[0019] In the above scheme, the technical problems that can be solved and the technical effects achieved by the optical power adjustment device, computer equipment, computer storage medium, chip or computer program product can be referred to the technical problems and technical effects solved by the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 A schematic diagram of a flow chart of a method for adjusting optical power provided in an embodiment of the present application;
[0021] Figure 2 An example schematic diagram of an optical multiplex section link provided in an embodiment of the present application;
[0022] Figure 3 A schematic diagram of a flow chart of another optical power adjustment method provided in an embodiment of the present application;
[0023] Figure 4 A schematic diagram of a flow chart of another optical power adjustment method provided in an embodiment of the present application;
[0024] Figure 5 A schematic diagram of a flow chart of another optical power adjustment method provided in an embodiment of the present application;
[0025] Figure 6 A schematic diagram of the structure of an optical power adjustment device provided in an embodiment of the present application;
[0026] Figure 7 A schematic diagram of the structure of another optical power adjustment device provided in an embodiment of the present application;
[0027] Figure 8 A conceptual partial view of a computer program product provided for an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0029] The terms “first” and “second” in the description and claims of the present application are used to distinguish different objects rather than to describe a specific order of the objects.
[0030] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.
[0031] In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present concepts in a specific way.
[0032] In an optical transmission network using wavelength division multiplexing (WDM) technology, optical signals of multiple different channels are combined by an optical multiplexer and then transmitted from an output port through an optical amplifier connected by multiple optical fibers to the optical multiplexer at the other end, thus forming an optical multiplexing segment link.
[0033] However, since optical fiber transmission needs to pass through multiple optical amplifiers, and when the optical amplifier amplifies the optical signal, the optical signals of different channels obtain different gains, resulting in large differences in the optical power of the optical signals of each channel that finally reach the optical multiplexer. For example, the optical signal of a certain channel may experience optical signal loss or signal degradation.
[0034] Therefore, how to reduce the difference in optical power between optical signals of various channels has become a problem that needs to be solved urgently.
[0035] Since there are optical channel monitor (OCM) cards and wavelength selective switch (WSS) cards in the optical multiplexing section link. The OCM card is used to monitor the optical power of each channel in the WDM system to promptly detect abnormal conditions that may affect the business. The WSS card can selectively route the optical signal of a specific channel to different directions, allowing the network to adjust its logical topology without changing the physical connection, thereby improving the flexibility and reconfigurability of the network. At present, in the process of building an optical transmission network, after the equipment is installed and the physical fiber connection is completed, it is necessary to manually use an instrument to scan the combined optical signal through the OCM card to observe the optical power of each channel. After that, it is necessary to continuously adjust the channel configuration of the WSS at the source end and the gain slope of each optical amplifier on the line to achieve the channel equalization goal.
[0036] Traditional optical power balancing technology does not support automatic identification of optical multiplexing section OMS links, and cannot intuitively display the optical power values of optical signals of each node in the OMS link and each channel in the source and sink. In addition, the board configuration functions supported by traditional optical power balancing technology are relatively independent. Most wavelength division equipment management and control systems only support single board configuration, but not link-level multi-board collaborative configuration. Therefore, it is necessary to manually adjust the configuration of each board device passing through the optical multiplexing section repeatedly to observe the optical power values of each channel optical signal at the sink, so as to achieve the channel balancing goal.
[0037] In response to the technical problems pointed out in the background technology section of this application, an embodiment of the present application provides a method for adjusting optical power. In this method, an optical multiplexing section link is determined. Afterwards, a target optical power difference of the optical multiplexing section link is obtained. If the target optical power difference does not meet the power difference condition, a channel equalization strategy is executed on the optical amplifier. In this way, after an optical multiplexing section link is identified, the optical multiplexing section link can be detected, and by determining whether the target optical power difference meets the power difference condition, it is determined whether the optical multiplexing section link has completed optical power equalization. In addition, through the pre-stored channel equalization strategy, the optical amplifier can be automatically adjusted to achieve optical power equalization and simplify the optical power equalization process.
[0038] The embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0039] like Figure 1 As shown, a method for adjusting optical power provided in an embodiment of the present application includes:
[0040] S101. Determine an optical multiplexing section link.
[0041] The optical multiplexing section link includes: a host board and an optical amplifier.
[0042] Optionally, the optical multiplex section link may further include a source end board, and the number of optical amplifiers may be one or more. The one or more optical amplifiers are located between the source end board and the sink end board.
[0043] It should be noted that in the embodiment of the present application, the source end board can be an optical multiplexer for combining optical signals of multiple different channels into a single optical signal and sending it to the opposite end optical multiplexer. The sink end board can be an opposite end optical multiplexer for separating and processing the received optical signals.
[0044] In a possible implementation, the optical power adjustment device pre-stores multiple virtual optical multiplex section links, one virtual optical multiplex section link corresponds to one optical multiplex section link, and one optical multiplex section link can be determined from multiple optical multiplex section links based on the multiple virtual optical multiplex section links.
[0045] In one possible design, the determined optical multiplex section link is an optical multiplex section link that transmits the largest amount of data among multiple optical multiplex section links.
[0046] In another possible design, the optical power adjustment device can obtain the optical power fluctuation value of each optical multiplex section link. The optical power fluctuation value is used to indicate the fluctuation of the optical power over time. The optical power fluctuation value is used to indicate that the determined optical multiplex section link is the optical multiplex section link with the largest optical power fluctuation value among the multiple optical multiplex section links.
[0047] It should be noted that the present application does not limit the optical power fluctuation value. For example, the optical power fluctuation value may be the average value of all optical powers of an optical signal of a channel in a preset time period, or the standard deviation of all optical powers of an optical signal of a channel in a target time period.
[0048] S102: Obtain a target optical power difference of an optical multiplexing section link.
[0049] The target optical power difference is the difference between the optical signal powers of multiple channels received by the sink board. One sink board corresponds to optical signals of multiple channels.
[0050] In a possible implementation, a mixed optical power value is obtained. The mixed optical power value is an optical power value after the optical powers of the source board, the sink board, and the optical amplifier on the optical multiplexing section link are mixed. The optical power values of the source board, the sink board, and the optical amplifier are scanned to obtain the optical power value of each channel of the source board and the sink board. Then, based on the optical power values of the multiple channels, the optical power difference between each channel is determined to obtain multiple target optical power difference values.
[0051] In a possible design, the source and sink board cards are connected to the OCM board card via a monitor pin (MON) interface. The OCM board card sweeps the optical power of each optical amplifier on the link. After that, the OCM board card sends the optical power value of each channel of the source and sink board cards to the optical power adjustment device.
[0052] For example, Figure 2 As shown, it is an example schematic diagram of an optical multiplexing section link provided in an embodiment of the present application. The source end board receives a λ1 optical signal with an optical power value of -5dBm, a λ2 optical signal with an optical power value of -5dBm, a λ3 optical signal with an optical power value of -5dBm, a λ4 optical signal with an optical power value of -5dBm, and a λ5 optical signal with an optical power value of -5dBm. Among them, the received light value of each optical signal is 2.0dBm. Afterwards, these optical signals pass through multiple optical amplifiers with a gain slope of 2 and a gain of 10dB, and enter the host end board in the form of light emission with a light emission value of 12.0dBm. In this way, a λ1 optical signal with an optical power value of -4dBm, a λ2 optical signal with an optical power value of -7dBm, a λ3 optical signal with an optical power value of -8dBm, a λ4 optical signal with an optical power value of -9dBm, and a λ5 optical signal with an optical power value of -9dBm can be obtained.
[0053] For example, in the sink card, the optical power difference between the λ1 optical signal and the λ2 optical signal is 3dBm, the optical power difference between the λ1 optical signal and the λ3 optical signal is 4dBm, the optical power difference between the λ1 optical signal and the λ4 optical signal is 5dBm, and the optical power difference between the λ1 optical signal and the λ5 optical signal is 5dBm; the optical power difference between the λ2 optical signal and the λ3 optical signal is 1dBm, the optical power difference between the λ2 optical signal and the λ4 optical signal is 2dBm, and the optical power difference between the λ2 optical signal and the λ3 optical signal is 2dBm; the optical power difference between the λ3 optical signal and the λ4 optical signal is 1dBm, and the optical power difference between the λ3 optical signal and the λ5 optical signal is 1dBm; and the optical power difference between the λ4 optical signal and the λ5 optical signal is 0. Then, multiple target optical power differences can be obtained. Among them, one target optical power difference is 3dBm, one target optical power difference is 4dBm, one target optical power difference is 5dBm, one target optical power difference is 1dBm, one target optical power difference is 2dBm, and one target optical power difference is 0.
[0054] In another possible implementation, optical power values of multiple channels received by the sink board are obtained. Based on the optical power values of the multiple channels, an optical power difference between each channel is determined to obtain multiple optical power difference values. Then, based on the multiple optical power difference values, a target optical power difference value is determined, and the target optical power difference value is specifically the largest optical power difference value among the multiple optical power difference values.
[0055] Exemplarily, in the sink card, the optical power difference between the λ1 optical signal and the λ2 optical signal is 3dBm, the optical power difference between the λ1 optical signal and the λ3 optical signal is 4dBm, the optical power difference between the λ1 optical signal and the λ4 optical signal is 5dBm, and the optical power difference between the λ1 optical signal and the λ5 optical signal is 5dBm; the optical power difference between the λ2 optical signal and the λ3 optical signal is 1dBm, the optical power difference between the λ2 optical signal and the λ4 optical signal is 2dBm, and the optical power difference between the λ2 optical signal and the λ3 optical signal is 2dBm; the optical power difference between the λ3 optical signal and the λ4 optical signal is 1dBm, and the optical power difference between the λ3 optical signal and the λ5 optical signal is 1dBm; the optical power difference between the λ4 optical signal and the λ5 optical signal is 0. Then the target optical power difference is 5dBm.
[0056] It should be noted that this application uses the open source netty network framework, and is programmed and developed in accordance with the Network Configuration Protocol (Netconf) and YANG model design specifications, and in accordance with the messages and communication modes allowed by the specifications. In addition, based on the information model of the wavelength division device, the data content and operations of the interaction on the interface are analyzed.
[0057] S103: Determine whether the target optical power difference satisfies a power difference condition.
[0058] In a possible design, the optical power adjustment device pre-stores a preset power difference value. The power difference condition is that the target optical power difference value is less than or equal to the preset power difference value.
[0059] In some embodiments, if the target optical power difference does not satisfy the power difference condition, S104 is executed. If the target optical power difference satisfies the power difference condition, it is determined that channel equalization has been achieved.
[0060] S104: Execute a channel equalization strategy on the optical amplifier.
[0061] In one possible design, the channel equalization strategy includes at least one of the following: reducing the optical attenuation of the variable optical attenuator in the optical multiplexing section link, adjusting the gain slope of the optical amplifier, and adjusting the optical power of the optical signal of the source end board in the optical multiplexing section link.
[0062] In a possible implementation manner, if the target optical power difference does not meet the power difference condition, one or more strategies in the channel equalization strategy are executed.
[0063] In some embodiments, the optical multiplexing section link may be repeatedly determined, and different channel equalization strategies may be used to perform channel equalization.
[0064] In one possible implementation, if the target optical power difference does not meet the power difference condition, the first strategy is executed. The first strategy includes: setting the optical attenuation of the variable optical attenuator in the optical multiplexing section link to 0, and / or, setting the gain slope of the optical amplifier to 0. Obtain the target optical power difference after executing the first strategy. If the target optical power difference after executing the first strategy meets the power difference condition, it is determined that channel equalization has been achieved. If the target optical power difference after executing the first strategy does not meet the power difference condition, the second strategy is executed, and the second strategy includes: adjusting the gain slope of the optical amplifier based on the target optical power difference and the number of optical amplifiers, and / or, clipping the source end WSS in the optical multiplexing section link.
[0065] In one possible design, if the target optical power difference after executing the first strategy does not meet the power difference condition, all strategies in the second strategy may be executed.
[0066] In another possible design, if the target optical power difference after executing the first strategy does not meet the power difference condition, the gain slope of the optical amplifier can be adjusted based on the target optical power difference and the number of optical amplifiers (which can be called a third strategy). Afterwards, the target optical power difference after executing the third strategy is obtained. If the target optical power difference after executing the third strategy does not meet the power difference condition, the source end WSS in the optical multiplexing section link is clipped.
[0067] Exemplarily, the optical power value of the source end WSS in the optical multiplex section link may be adjusted so that the target optical power difference value at the sink end satisfies the power difference condition.
[0068] In one possible design, adjusting the gain slope of the optical amplifier based on the target optical power difference and the number of optical amplifiers may include: obtaining the optical power values of multiple channels received by the host board, the frequency of the optical signal corresponding to the optical power value, and the number of optical amplifiers. The frequency of the optical signal corresponding to the optical power value is used as the horizontal coordinate, and the optical power values of the multiple channels are used as the vertical coordinate to obtain a frequency and power curve. Afterwards, the curve is mathematically analyzed to obtain a slope function. Based on the derivation of the slope function, the target slope value can be obtained. Determine the slope ratio between the target slope value and the number of optical amplifiers, and adjust the gain slope of the optical amplifier based on the slope ratio.
[0069] It should be noted that since the gain slope of the optical amplifier is divided into multiple value ranges, if the gain slope cannot be directly adjusted to the slope ratio, the gain slope can be set to the closest value within the setting range allowed by the optical amplifier.
[0070] In some embodiments, after executing the second strategy, the target optical power difference after executing the second strategy can be obtained. If the target optical power difference after executing the second strategy does not meet the power difference condition, the first strategy and the second strategy are repeatedly executed. If the latest target optical power difference does not meet the power difference condition when the number of repeated executions reaches a preset number threshold, the execution is stopped.
[0071] It should be noted that the embodiment of the present application does not limit the preset number of times threshold. For example, the preset number of times can be 2 times, 3 times, 5 times, etc.
[0072] In this way, by setting the power difference condition, the configuration of each node card in the link can be adjusted automatically with one click, thereby achieving the adjustment of optical power.
[0073] Based on the above technical solution, an optical multiplexing section link is determined. Then, a target optical power difference of the optical multiplexing section link is obtained. If the target optical power difference does not meet the power difference condition, a channel equalization strategy is executed on the optical amplifier. In this way, it is possible to determine whether the optical multiplexing section link completes optical power equalization by determining whether the target optical power difference meets the power difference condition. In addition, through the pre-stored channel equalization strategy, the optical amplifier can be automatically adjusted to achieve optical power equalization and simplify the optical power equalization process.
[0074] like Figure 3 As shown, another optical power adjustment method provided in an embodiment of the present application includes:
[0075] S301: Acquire multiple preset links.
[0076] The preset link includes: a preset source end board and a preset sink end board.
[0077] In a possible implementation, the optical power adjustment device pre-stores a plurality of virtual optical multiplex section links. One virtual optical multiplex section link corresponds to one preset link. Based on the plurality of virtual optical multiplex section links, a plurality of preset links can be obtained.
[0078] In a possible design, board connection information is obtained, and the board connection information is used to indicate the actual connection status between each board. Based on the board connection information, a corresponding virtual optical multiplexing section link is added in the optical power adjustment device.
[0079] S302: For each preset link, based on a preset source board and a preset sink board of the preset link, determine whether the preset link is an optical multiplex section link.
[0080] In a possible implementation, if the board type of the preset source board and the board type of the preset sink board of the preset link are both target types, the preset link is determined to be an optical multiplex section link.
[0081] In one possible design, the target type is a combiner / demultiplexer board.
[0082] Exemplarily, the preset sink board may be a WSS board or a multiplexer (MUX) board.
[0083] In a possible design, the optical power adjustment device pre-stores the direction information of the preset link, and the direction information of the preset link is used to indicate the direction of the preset link. The source end board and the preset link direction information are determined, and based on the board type of the source end board and the preset link direction information, all preset links are traversed to determine all determined optical multiplex section links.
[0084] It should be noted that the present application does not limit the direction of the preset link. For example, the preset link direction can be unidirectional or bidirectional.
[0085] For example, Figure 4 As shown, the process starts. Get all preset links, and determine the connections of all source boards that are line ports of WSS boards or MUX boards. After that, start traversing according to the board type of the connection. Determine the board type of the source board, and based on the board type, determine the optical signal output port of the source board. After that, determine the preset link with the optical signal output port of the source board as the source. If the preset link with the optical signal output port of the source board as the source cannot be obtained, it is determined that the current preset link search has failed. If the corresponding preset link is obtained, determine whether the next board connected is a board of the same board type as the source board. If so, determine that the board is a host board, determine an OMS link, and record it. After that, take the host board as the source board, continue to determine the next preset link, and iterate the search until all OMS links are found.
[0086] It is understood that in this way, the OMS link in the subnet can be automatically identified based on the type of the preset source end card of the preset link. In this way, when a new device or link is added to the network, the preset link can be automatically detected and updated without manual intervention, thereby simplifying the operation process.
[0087] In some embodiments, after the optical multiplex section link is determined, the optical power value of each board node through which the link passes can be acquired in real time to obtain an optical multiplex section link topology diagram including real-time optical power.
[0088] Based on the above technical solution, multiple preset links are obtained. For each preset link, a preset sink card is obtained by determining a card of the same card type as the preset source card, thereby determining the optical multiplex section link. In this way, it is possible to determine whether the preset link is an optical multiplex section link from multiple preset links. In this way, the optical multiplex section link can be quickly identified, and an optical multiplex section link topology diagram including real-time optical power can be obtained. Furthermore, the performance status of the optical multiplex section link can be monitored in real time, thereby improving the stability and reliability of the network.
[0089] The following is an introduction to the embodiments of the present application with reference to specific examples. Figure 5 As shown, it is a flow chart of another optical power adjustment method provided in an embodiment of the present application. An optical multiplexing section link is determined. Afterwards, a power difference condition is pre-set. The OCM board scans the optical power of each node on the link, and sends the optical power value of each channel of the source and host board to the optical power adjustment device. Afterwards, it is determined whether the standard optical power difference meets the power difference condition. If the target optical power difference meets the power difference condition, it is determined that channel equalization has been achieved; if the target optical power difference does not meet the power difference condition, the first strategy is executed. The first strategy includes: setting the optical attenuation of the variable optical attenuator in the optical multiplexing section link to 0, and / or, setting the gain slope of the optical amplifier to 0. Obtain the target optical power difference after executing the first strategy. If the target optical power difference after executing the first strategy meets the power difference condition, it is determined that channel equalization has been achieved; if the target optical power difference after executing the first strategy does not meet the power difference condition, the second strategy is executed, and the second strategy includes: taking the frequency of the optical signal corresponding to the optical power value as the horizontal coordinate and the optical power values of multiple channels as the vertical coordinate to obtain a frequency and power curve. After that, the curve is mathematically analyzed to obtain the slope function. Based on the derivative of the slope function, the target slope value can be obtained. Determine the slope ratio between the target slope value and the number of optical amplifiers, and adjust the gain slope of the optical amplifier based on the slope ratio. If the target optical power difference after adjusting the gain slope of the optical amplifier meets the power difference condition, it is determined that channel equalization has been achieved; if the target optical power difference after adjusting the gain slope of the optical amplifier does not meet the power difference condition, the source end WSS in the optical multiplexing section link is clipped. After executing the second strategy, the target optical power difference after executing the second strategy can be obtained. If the target optical power difference after executing the second strategy does not meet the power difference condition, the first strategy and the second strategy are repeatedly executed. If the latest target optical power difference does not meet the power difference condition when the number of repeated executions reaches a preset number threshold, execution is stopped.
[0090] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. It can be understood that, in order to realize the above functions, the optical power adjustment device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the steps of the optical power adjustment method of each example described in the embodiment disclosed in the present application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0091] The embodiment of the present application also provides an optical power adjustment device. The optical power adjustment device can be an optical transmission device, a CPU in the optical transmission device, a module for balancing optical power in the optical transmission device, or a client for balancing optical power in the optical transmission device.
[0092] The embodiment of the present application can divide the optical power adjustment device into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division. There may be other division methods in actual implementation.
[0093] The present application embodiment provides a device for adjusting optical power. Figure 6 As shown, the optical power adjustment device may include: an acquisition module 601 and a processing module 602 .
[0094] The processing module 602 is used to determine an optical multiplexing section link, where the optical multiplexing section link includes a sink card and an optical amplifier. The acquisition module 601 is used to acquire a target optical power difference of the optical multiplexing section link, where the target optical power difference is the difference between the optical signal powers of multiple channels received by the sink card. The processing module 602 is also used to execute a channel equalization strategy on the optical amplifier if the target optical power difference does not meet the power difference condition.
[0095] Figure 7 7 is a schematic diagram of another optical power adjustment device according to an exemplary embodiment. The optical power adjustment device may include a processor 702, and the processor 702 is used to execute application code to implement the optical power adjustment method in the present application.
[0096] The processor 702 may be a central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0097] like Figure 7 As shown, the optical power adjustment device may further include a memory 703. The memory 703 is used to store application program codes for executing the solution of the present application, and is controlled to be executed by the processor 702.
[0098] The memory 703 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 703 may exist independently and be connected to the processor 702 via a bus 704. The memory 703 may also be integrated with the processor 702.
[0099] like Figure 7 As shown, the optical power adjustment device may further include a communication interface 701, wherein the communication interface 701, the processor 702, and the memory 703 may be coupled to each other, for example, via a bus 704. The communication interface 701 is used to exchange information with other devices, for example, to support information exchange between the optical power adjustment device and other devices.
[0100] It should be pointed out that Figure 7 The device structure shown in the figure does not constitute a limitation on the optical power adjustment device, except Figure 7 In addition to the components shown, the optical power adjustment device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0101] In actual implementation, the functions implemented by the processing unit can be Figure 7 The processor 702 shown calls the program code in the memory 703 to implement.
[0102] The present application also provides a computer-readable storage medium, on which instructions are stored, and when the instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer can execute the optical power adjustment method provided in the above-mentioned embodiment. For example, the computer-readable storage medium may be a memory 703 including instructions, and the above instructions may be executed by a processor 702 of a computer device to complete the above method. Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
[0103] Figure 8 A conceptual partial view of a computer program product provided by an embodiment of the present application is schematically shown, where the computer program product includes a computer program for executing a computer process on a computing device.
[0104] In one embodiment, the computer program product is provided using a signal bearing medium 800. The signal bearing medium 800 may include one or more program instructions that, when executed by one or more processors, may provide the above-described Figure 1 , Figure 2 Thus, for example, reference to Figure 1 In the embodiment shown in , one or more features of S101 to S103 may be undertaken by one or more instructions associated with the signal bearing medium 800. In addition, Figure 8 The program instructions in also describe example instructions.
[0105] In some examples, the signal bearing medium 800 may include a computer readable medium 801, such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM) or a random access memory (RAM), and the like.
[0106] In some implementations, the signal bearing medium 800 may include a computer recordable medium 802 such as, but not limited to, a memory, a read / write (R / W) CD, a R / W DVD, or the like.
[0107] In some implementations, signal bearing medium 800 may include communication medium 803 such as, but not limited to, digital and / or analog communication media (eg, fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).
[0108] The signal bearing medium 800 may be communicated by a wireless form of communication medium 803. The one or more program instructions may be, for example, computer executable instructions or logic implemented instructions.
[0109] In some examples, the optical power adjustment device may be configured to provide various operations, functions, or actions in response to one or more program instructions in computer-readable medium 801 , computer-recordable medium 802 , and / or communication medium 803 .
[0110] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0111] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0112] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0113] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0114] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes various media that can store program codes, such as-U disk, mobile hard disk, ROM, RAM, disk or CD.
[0115] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for adjusting optical power, characterized in that: The method comprises: Determine an optical multiplex section link, wherein the optical multiplex section link includes: a sink board and an optical amplifier; Acquire a target optical power difference of the optical multiplex section link, where the target optical power difference is a difference between optical signal powers of multiple channels received by the sink board; If the target optical power difference does not meet the power difference condition, a channel equalization strategy is executed on the optical amplifier.
2. The method according to claim 1, characterized in that The channel equalization strategy includes at least one of the following: reducing the optical attenuation of the variable optical attenuator in the optical multiplex section link, adjusting the gain slope of the optical amplifier, and adjusting the optical power of the optical signal of the source end board in the optical multiplex section link.
3. The method according to claim 1 or 2, characterized in that: If the target optical power difference does not meet the power difference condition, executing a channel equalization strategy on the optical amplifier includes: If the target optical power difference does not meet the power difference condition, a first strategy is executed, wherein the first strategy includes: setting the optical attenuation of the variable optical attenuator in the optical multiplex section link to 0, and / or setting the gain slope of the optical amplifier to 0; Obtaining a target optical power difference after executing the first strategy; If the target optical power difference after executing the first strategy does not meet the power difference condition, the second strategy is executed, and the second strategy includes: adjusting the gain slope of the optical amplifier based on the target optical power difference and the number of the optical amplifiers, and / or clipping the source-end wavelength selection switch WSS in the optical multiplexing section link.
4. The method according to claim 1, characterized in that: The obtaining of the target optical power difference of the optical multiplex section link comprises: Obtaining optical power values of multiple channels received by the sink board; Based on the optical power values of the multiple channels, determining the optical power difference between each channel to obtain multiple optical power difference values; Based on the multiple optical power difference values, the target optical power difference value is determined, and the target optical power difference value is specifically the largest optical power difference value among the multiple optical power difference values.
5. The method according to claim 1, characterized in that The determining of the optical multiplex section link comprises: Acquire a plurality of preset links, wherein the preset links include: a preset source end board card and a preset sink end board card; For each of the preset links, based on a preset source-end board and a preset sink-end board of the preset link, it is determined whether the preset link is the optical multiplex section link.
6. The method according to claim 5, characterized in that Based on a preset source end board and a preset sink end board of the preset link, determining whether the preset link is the optical multiplex section link includes: If the board type of the preset source board and the board type of the preset sink board of the preset link are both target types, it is determined that the preset link is the optical multiplex section link.
7. An optical power adjustment device, characterized in that: The device comprises an acquisition module and a processing module: The processing module is used to determine an optical multiplex section link, wherein the optical multiplex section link includes: a sink card and an optical amplifier; The acquisition module is used to acquire a target optical power difference of the optical multiplex section link, wherein the target optical power difference is a difference between optical signal powers of multiple channels received by the sink board; The processing module is further configured to execute a channel equalization strategy on the optical amplifier if the target optical power difference does not meet a power difference condition.
8. An optical power adjustment device, characterized in that: include: Processor and memory; The processor is coupled to the memory; The memory is used to store one or more programs, and one or more of the programs include computer execution instructions. When the optical power adjustment device is running, the processor executes the computer execution instructions stored in the memory to enable the optical power adjustment device to perform the method as described in any one of claims 1-6.
9. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instruction, the computer performs the method according to any one of claims 1 to 6.
10. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device, the computing device is caused to perform the method according to any one of claims 1 to 6.