Control method for reconfigurable optical add-drop multiplexer network, and electronic device
By configuring the optical splitter and wavelength selection switch in the reconfigurable optical plug-in multiplexer network, the rapid forwarding and reception of local and external data is achieved, and the problem of low data transmission recovery efficiency in the event of fiber routing channel failure is solved, and the switching efficiency of data transmission lines is improved.
Patent Information
- Application Number
- PCT/IB2025/050862
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-20
- Filing Date
- 2025-01-26
- Publication Date
- 2025-08-28
AI Technical Summary
In the prior art, when the optical fiber routing channel fails, the recovery efficiency of the data transmission process is low, and the interrupted data transmission cannot be restored in time.
By configuring local up and down-road units and multiple line units in a reconfigurable optical plug-in multiplexer network, the optical splitter and wavelength selection switch are used to realize fast forwarding and reception of local and external data, avoiding reconfiguration of wavelength selection switches, and reducing the time of transmission and recovery processes.
The switching efficiency of the data transmission line is improved, ensuring that the data transmission process is not interrupted for a long time due to channel abnormality, which is close to the problem of low efficiency in restoring the interrupted data transmission process.
Smart Images

Figure IB2025050862_28082025_PF_FP_ABST
Abstract
Description
[0001] TECHNICAL FIELD The present disclosure relates to the field of network control, and more specifically, to a control method and electronic device for a reconfigurable optical add-drop multiplexer network. Background: In a mesh optical network, data transmission typically involves multiple routing directions between upstream and downstream nodes. Different directions at different nodes constitute multiple end-to-end optical fiber routing channels in the network to enable data transmission between different devices. When a fiber routing channel fails, the interrupted data transmission process on that fiber routing channel can typically be rerouted to other fiber routing channels. These other fiber routing channels are then used to reconstruct the failed fiber routing channel to ensure normal data transmission and perform channel rerouting and recovery. However, the current process of reconstructing the failed fiber routing channel using other fiber routing channels is complex and time-consuming, resulting in low efficiency and an inability to promptly restore the interrupted data transmission process. Currently, no effective solution has been proposed to address the aforementioned issues. SUMMARY OF THE INVENTION Embodiments of the present disclosure provide a control method and electronic device for a reconfigurable optical add / drop multiplexer network, aiming to at least address the technical problem of low efficiency in recovering interrupted data transmission processes in the related art. According to one aspect of the embodiments of the present disclosure, a control method for a reconfigurable optical add / drop multiplexer network is provided, comprising: broadcasting local data sent by a local device to a first wavelength selective switch of a plurality of line units via a first optical splitter of at least one local add / drop unit at a first site; sending the local data to a second site via the plurality of line units, and receiving external data sent by the second site, wherein the local data is forwarded by the second site to an external device, and the external data is data fed back to the first site by the external device based on the local data; activating a second wavelength selective switch of a target line unit among the plurality of line units, forwarding the external data to a second optical splitter of a local add / drop unit corresponding to the target line unit; and forwarding the external data to the local device via the local add / drop unit corresponding to the target line unit.According to another aspect of an embodiment of the present disclosure, a reconfigurable optical add / drop multiplexer site is provided, comprising: at least one local add / drop unit connected to a local device, the local add / drop unit comprising at least a first optical splitter and a second optical splitter; and multiple line units, the line units comprising at least a first wavelength selective switch and a second wavelength selective switch, the first wavelength selective switch being connected to the first optical splitter, and the second wavelength selective switch being connected to the second optical splitter. The first optical splitter of the at least one local add / drop unit is configured to broadcast local data sent by the local device to the first wavelength selective switches of the multiple line units. The multiple line units are configured to send local data to other reconfigurable optical add / drop multiplexer sites and receive external data sent by the other reconfigurable optical add / drop multiplexer sites. The local data is forwarded by the other reconfigurable optical add / drop multiplexer sites to external devices. The external data is data fed back to the other reconfigurable optical add / drop multiplexer sites by the external devices based on the local data. The second wavelength selective switch of a target line unit among the multiple line units is configured to forward the external data to the second optical splitter of the local add / drop unit corresponding to the target line unit. The local add / drop unit corresponding to the target line unit is used to forward external data to the local device. Other reconfigurable optical add / drop multiplexer sites are used to represent sites other than the reconfigurable optical add / drop multiplexer site in the multiple reconfigurable optical add / drop multiplexer sites included in the reconfigurable optical add / drop multiplexer site. According to another aspect of an embodiment of the present disclosure, a reconfigurable optical add / drop multiplexer network is provided, comprising: any of the reconfigurable optical add / drop multiplexer sites described above. According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a memory storing an executable program; and a processor configured to execute the program, wherein when the program executes, any of the methods described above is executed. According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored executable program, wherein when the executable program executes, the device containing the storage medium is controlled to execute any of the methods described above.In an embodiment of the present disclosure, local data sent by a local device is broadcast to the first wavelength selective switch of multiple line units via a first optical splitter of at least one local add / drop unit at a first site; the local data is sent to a second site via multiple line units, and external data sent by the second site is received; the second wavelength selective switch of a target line unit among the multiple line units is activated to forward the external data to the second optical splitter of the local add / drop unit corresponding to the target line unit; and the external data is forwarded to the local device via the local add / drop unit corresponding to the target line unit. By placing a wavelength selective switch on the line unit and connecting the optical splitter corresponding to the wavelength selective switch in the local add / drop unit, when a local device needs to transmit local data to an external device, or when an external device needs to transmit external data to a local device, the local data can be directly sent or received via the wavelength selective switch and the corresponding optical splitter, thereby ensuring the timeliness of the sent local data and received external data. Furthermore, by connecting the wavelength selective switches in different line units and the optical splitters in different local add / drop units, switching between different lines can be quickly achieved without reconfiguring the parameters of the wavelength selective switch. This reduces the impact of configuration time on data transmission and recovery processes, thereby significantly improving the efficiency of transmission line selection and ensuring that data transmission within a channel is not interrupted for extended periods due to channel anomalies. This addresses the low efficiency of recovering interrupted data transmission processes in related technologies. It should be noted that the general description above and the detailed description that follow are intended merely to illustrate and explain the present disclosure and do not constitute limitations of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings described herein are provided to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are provided to explain the present disclosure and do not constitute undue limitations of the present disclosure.In the accompanying drawings: FIG1 is a structural block diagram of a reconfigurable optical add / drop multiplexer site according to Example 1 of the present disclosure; FIG2 is a schematic diagram of a ROADM with an RS structure according to Example 1 of the present disclosure; FIG3 is a schematic diagram of a ROADM with a BS structure according to Example 1 of the present disclosure; FIG4 is a schematic diagram of the time consumption of a channel fault processing method according to Example 1 of the present disclosure; FIG5 is a schematic diagram of the time consumption of another channel fault processing method according to Example 1 of the present disclosure; FIG6 is a schematic diagram of a reconfigurable optical add / drop multiplexer site according to Example 1 of the present disclosure; FIG7 is a schematic diagram of an optical channel connection method according to Example 1 of the present disclosure; FIG8 is a schematic diagram of the time consumption of an optical channel repair according to Example 1 of the present disclosure; FIG9 is a schematic diagram of another optical channel connection method according to Example 1 of the present disclosure; FIG10 is a flow chart of a control method for a reconfigurable optical add / drop multiplexer network according to Example 3 of the present disclosure; FIG11 is a structural block diagram of a control device for a reconfigurable optical add / drop multiplexer network according to Example 4 of the present disclosure; and FIG12 is a structural block diagram of an electronic device according to Example 5 of the present disclosure. DETAILED DESCRIPTION To help those skilled in the art better understand the present disclosure, the following will provide a clear and complete description of the technical solutions in the embodiments of the present disclosure, in conjunction with the accompanying drawings. It should be noted that the described embodiments represent only a portion of the present disclosure, and are not exhaustive. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present disclosure without inventive effort should fall within the scope of protection of the present disclosure. It should be noted that the terms "first," "second," and so on, in the specification and claims of the present disclosure, and in the accompanying drawings, are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that such terms are interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to the steps or units expressly listed, but may include other steps or units not expressly listed or inherent to such process, method, product, or apparatus. First, some nouns or terms that appear in the process of describing the embodiments of the present disclosure are subject to the following explanations:.
[0002] ROADM (Reconfigurable Optical Add-Drop Multiplexer): Reconfigurable optical add-drop multiplexer.
[0003] BS (Broadcast & Select) structure: refers to the structure in which the input and output of ROADM use splitter broadcast and WSS routing respectively.
[0004] D-ADU (Directionless - Add Drop Unit): Direction-independent local add / drop unit.
[0005] WSS (wavelength selective switch): wavelength selective switch.
[0006] RESTORE: Restoration of wavelength routing. MC (Media Channel): Media channel. Hot backup: Keeping the protection path operational so that if the working path fails, the protection path can be switched to.
[0007] OCHP (Optical Channel Protection): Optical Channel Protection. Embodiment 1 According to an embodiment of the present disclosure, a reconfigurable optical add / drop multiplexer (OADM) site is provided. It should be noted that the system structure shown in the block diagram of the accompanying drawings is merely exemplary. Although the block diagram shows the connection order of different components, the connection order or method may differ in some cases. Figure 1 is a block diagram of a reconfigurable optical add / drop multiplexer site according to Embodiment 1 of the present disclosure. As shown in Figure 1, the network may include at least one local add / drop unit 102 connected to a local device. The local add / drop unit includes at least a first optical splitter and a second optical splitter. The local add / drop unit may be an add / drop unit capable of flexibly scheduling line directions. It refers to an ROADM site deployed in a local device that can add or drop channels for transmitting optical signals of different wavelengths, i.e., add or drop optical fiber routing channels. For ease of description, the term "channel" will be used hereinafter as a shorthand term for the optical fiber routing channel. The first optical splitter is deployed in the local add / drop unit, corresponding to the Add direction (data output direction) of the local add / drop unit. It can be an optical splitter used to split and forward optical signals currently required to be transmitted, and can be used to forward local data to multiple line units. The local data is generated by a local device, the optical signal currently required to be transmitted refers to the optical signal corresponding to the local data, the local device connected to the local add / drop unit refers to a local client, local server, or other device deployed at the local end, and the line unit is used to select a channel for transmitting optical signals for data transmission. The second optical splitter is deployed in the local add / drop unit, corresponding to the Drop direction (data input direction) of the local add / drop unit. It can be an optical splitter used to combine and forward multiple received optical signals, such as optical signals input from multiple line units. It can be used to forward external data, such as other data sent by other devices not deployed at the local end, to the local device. It should be noted that the role played by the optical splitter in this disclosure is similar to that in the prior art and will not be further described here. The plurality of line units 104 include at least a first wavelength selective switch and a second wavelength selective switch, wherein the first wavelength selective switch is connected to the first optical splitter, and the second wavelength selective switch is connected to the second optical splitter.The first optical splitter of at least one local add / drop unit is configured to broadcast local data sent by a local device to the first wavelength selective switches of the multiple line units. The multiple line units are configured to send local data to other reconfigurable optical add / drop multiplexer sites and receive external data sent by the other reconfigurable optical add / drop multiplexer sites. The local data is forwarded to the external device by the currently active reconfigurable optical add / drop multiplexer site. The external data is data fed back to the other reconfigurable optical add / drop multiplexer sites by the external device based on the local data. The second wavelength selective switch of the target line unit among the multiple line units is configured to forward the external data to the second optical splitter of the local add / drop unit corresponding to the target line unit. The local add / drop unit corresponding to the target line unit is configured to forward the external data to the local device. The other reconfigurable optical add / drop multiplexer sites represent sites other than the currently active reconfigurable optical add / drop multiplexer site among the multiple reconfigurable optical add / drop multiplexer sites included in the reconfigurable optical add / drop multiplexer network. The line unit may be a unit used to forward local data sent by a local device or receive external data sent by other external devices, and may refer to a ROADM site deployed on a line. The first wavelength selective switch may be deployed in the line unit, corresponding to the ADD direction (data output site direction) of the line unit, and may be a wavelength selective switch that receives local data and transmits it along a corresponding channel. The second wavelength selective switch may be deployed in the line unit, corresponding to the DROP direction (data input site direction) of the line unit, and may be a wavelength selective switch that receives external data sent by an external device and forwards it to the second optical splitter. Different devices are connected via the line unit. It should be noted that the role played by the wavelength selective switch in this disclosure is similar to that in existing systems and will not be further described here. The aforementioned other reconfigurable optical add / drop multiplexer sites may refer to sites other than the current main site. For example, a local device may correspond to a reconfigurable optical add / drop multiplexer site, and an external device may correspond to a reconfigurable optical add / drop multiplexer site. The reconfigurable optical add / drop multiplexer site corresponding to the external device may refer to the aforementioned other reconfigurable optical add / drop multiplexer sites.Currently, ROADMs can be used to flexibly schedule channels in different directions to achieve flexible data transmission. The corresponding mesh network involving ROADMs can be a ROADM mesh network, which can reconstruct the network in which the optical add / drop multiplexer site resides. In terms of ROADM hardware architecture, traditional ROADM approaches typically employ an RS (Router & Select) structure and a symmetrical BS (Broadcast & Select) structure. For ease of understanding, FIG2 is a schematic diagram of a ROADM with an RS structure according to Embodiment 1 of the present disclosure. As shown in FIG2 , in the RS structure, both the dimensional unit and the local add / drop unit use WSS to select the port (i.e., direction) for data transmission based on the channel at both the input and output of the ROADM. FIG3 is a schematic diagram of a ROADM with a BS structure according to Embodiment 1 of the present disclosure. As shown in FIG3 , in the BS structure, both the dimensional unit and the local add / drop unit use splitter broadcasting at the input of the ROADM site to all ports, and the output uses WSS to select the channel drop or outbound for a specific port. When a channel failure occurs in a ROADM Mesh network, such as a fiber break, as shown in Figures 2 and 3 above, both the RS and BS structures require reconfiguration of the WSS on the ADU during rerouting recovery. Specifically, when the local add / drop unit switches line-dimension ports, WSS configuration requires reconfiguration. Since WSS configuration involves at least deleting the MC corresponding to the original channel, creating a new MC on the new port, and setting the new MC channel attenuation, the entire WSS configuration process takes a considerable amount of time. Consequently, restoring interrupted data transmission in practice also takes a considerable amount of time, resulting in low efficiency in the rerouting recovery process.Furthermore, corresponding to the ROADM hardware architecture, software management and control typically employs two methods for handling data transmission in a faulty channel. FIG4 illustrates the time consumption of a channel fault handling method according to Embodiment 1 of the present disclosure. Assuming a channel fault is an outage, when the management and control system detects the channel fault, the software control plane can calculate a channel recovery route using the Generalized Multiprotocol Label Switching (GMPLS) protocol. The optical layer system then begins deleting the original route configuration and configuring a new one. This configuration includes: i. deleting the MCs at the ROADM sites along the original route; ii. creating the MCs at the ROADM sites along the new route, and adjusting the power and attenuation of the MCs at the ROADM sites along the new route, as well as the gain and gain slope of the EDFAs along the route. After the new route configuration is complete, the data transmission in the faulty channel can be redirected to the new route to resume, and the interrupted data transmission process is restored. However, this approach requires executing the entire aforementioned process to restore the data transmission process, and calculating the channel recovery route takes a considerable amount of time, resulting in inefficient data transmission recovery. Figure 5 is a schematic diagram illustrating the time consumption of another channel failure handling method according to Example 1 of the present disclosure. As shown in Figure 5, GMPLS can determine a backup route based on the channel currently experiencing data transmission and reserve corresponding spectrum resources. When the management and control system detects a channel failure, the software control plane can quickly locate the failed channel and obtain the reserved backup route and corresponding spectrum resources. The optical layer system can then delete the original route configuration and configure a new route. The configuration details are described above and will not be further described here. After the new route configuration is completed, the data transmission process in the failed channel can be sent to the new route to continue, and the interrupted data transmission process is restored. Although the other method does not require channel recovery route calculation, the data transmission interruption time is relatively shortened. However, the data transmission failure time during the entire data transmission recovery process is still relatively long. Assuming that the current data transmission process is a long-distance optical network process, there may be many EDFA and WSS nodes on the end-to-end route. During the entire route configuration process, multiple nodes may need to be adjusted. The corresponding adjustment time is too long, and the data transmission process recovery efficiency is also low.Based on this, in order to improve the efficiency of restoring interrupted data transmission in the event of a channel failure, the present disclosure discloses that the local add / drop unit configured in a reconfigurable optical add / drop multiplexer site can be configured as an add / drop unit capable of flexibly scheduling multiple line directions, without being restricted by transmission ports. Furthermore, the local add / drop unit is configured with the aforementioned first and second optical splitters, replacing the wavelength selectors in traditional local add / drop units. This eliminates the need to reconfigure the wavelength selectors in the local add / drop unit in the event of a channel failure, thereby improving network recovery efficiency. To ensure the practicality and adaptability of the constructed reconfigurable optical add / drop multiplexer site, multiple line units connected to the second optical splitter and the first optical splitter can be configured in the reconfigurable optical add / drop multiplexer site. Furthermore, the first wavelength selective switch and the second wavelength selective switch can be provided in the multiple line units. When a local device currently has local data to send to another external device, the optical signal corresponding to the local data can be split by the first optical splitter in the local add / drop unit and forwarded to the multiple line units connected to the first optical splitter. A target line unit (i.e., a line unit capable of communicating with an external device) is determined from the multiple line units based on the destination address of the optical signal. The first wavelength selective switch configured in the target line unit can then be used to transmit the optical signal, i.e., the local data sent by the local device, to the external device, thereby enabling the local device to transmit local data to the external device. Considering that different devices can be configured with different reconfigurable optical add / drop multiplexer sites, when transmitting local data through the first wavelength selective switch of the target line unit, The local data may first be transmitted to other reconfigurable optical add-drop multiplexer sites corresponding to the external device, and the other reconfigurable optical add-drop multiplexer sites may then forward the received local data to the external device. When the external device has external data to send to the local device, the other reconfigurable optical add-drop multiplexer sites may send the external data to the reconfigurable optical add-drop multiplexer sites corresponding to the local device according to the above process. At this time, the reconfigurable optical add-drop multiplexer site corresponding to the local device may transmit the external data to the second optical splitter in the local add / drop unit according to the channel for transmitting the external data through the second wavelength selective switch configured in the target line unit. The second optical splitter then combines the received multiple optical signals to obtain the external data and forwards it to the local device, thereby implementing the operation of transmitting external data from the external device to the local device.To facilitate understanding of the reconfigurable optical add / drop multiplexer site, FIG6 is a schematic diagram of a reconfigurable optical add / drop multiplexer site according to Embodiment 1 of the present disclosure. As shown in FIG6 , the site can be divided into at least two parts: a local add / drop unit part and multiple line units. D-ADU1# and D-ADU2# represent two local add / drop units. In the local add / drop units, spliter1 represents a first optical splitter, spliter2 represents a second optical splitter, 0A (Optical Amplifier) represents an optical amplifier, Mux (Multiplexer) represents a multiplexer, and DeMux (DeMuliplexer) represents a demultiplexer. Degree1#, Degree2#, and Degree3# represent line units. In the line units, WSS1 represents a first wavelength selective switch, WSS2 represents a second wavelength selective switch, and BA (Booster Amplifier) and PA represent power amplifiers. The optical amplifier is an optical amplifier. In addition, the arrows shown in FIG6 may indicate the direction of data transmission. As can be seen from the arrows in FIG6 , when a local device needs to send local data to an external device, the MUX can send the data to 0A, which then sends the data to splitter1. Splitter1 can send the optical signal corresponding to the data to WSS1. WSS1 then sends the received optical signal to BA, which finally outputs the signal. This allows the local device to send local data. When an external device needs to send external data to the local device, the PA can first receive the optical signal sent by another line unit. The PA then transmits the optical signal to WSS2. WSS2 can transmit the received optical signal to splitter2. Splitter2 then transmits the optical signal to OA. 0A then transmits the optical signal to DeMux, which finally outputs the signal. This allows the local device to receive external data.In an embodiment of the present disclosure, the at least one local add / drop unit includes a local add / drop unit, and the reconfigurable optical add / drop multiplexer site further includes: a control unit connected to the local add / drop unit and the multiple line units, and configured to establish an optical channel between a first line unit among the multiple line units and the other reconfigurable optical add / drop multiplexer site, and to establish a first restoration optical channel between at least one second line unit among the multiple line units and the reconfigurable optical add / drop multiplexer site; if the first line unit detects that the line is normal, the control unit determines that the target line unit is the first line unit, activates the second wavelength selective switch of the first line unit, and forwards external data to the second optical splitter of the local add / drop unit; if the first line unit detects that a line interruption fault occurs, the control unit determines that the target line unit is the second line unit, activates the second wavelength selective switch of the second line unit, and forwards external data to the second optical splitter of the local add / drop unit. The control unit may be a unit for controlling the connection relationship between different reconfigurable optical add / drop multiplexer sites, and may be used to establish operations such as connection and disconnection between a line unit in a reconfigurable optical add / drop multiplexer site and a line unit in other reconfigurable optical add / drop multiplexer sites. In an optional solution of this embodiment, to facilitate the restoration of data transmission between different devices, a control unit may be configured in the reconfigurable optical add / drop multiplexer site, which is connected to a local add / drop unit and to control the connection relationship between different reconfigurable optical add / drop multiplexer sites. Considering that, in general, when a local device transmits local data to an external device through a reconfigurable optical add / drop multiplexer site, it only needs to use a single optical channel connected to another reconfigurable optical add / drop multiplexer site. This means that, ignoring the possibility of an optical channel failure, a single line unit may be configured in the reconfigurable optical add / drop multiplexer site. This line unit can be used to transmit data to the external device corresponding to the other reconfigurable optical add / drop multiplexer site. However, to avoid the situation where a channel failure causes a lack of other channels for data transmission, resulting in the inability to properly transmit local or external data, the reconfigurable optical add / drop multiplexer site of the present disclosure may be configured with multiple line units. Accordingly, different reconfigurable optical add / drop multiplexer sites can establish communication connections via the optical channels between their corresponding line units. In other words, multiple optical channels can exist between different devices to establish communication connections. To quickly restore data transmission on a failed optical channel, one of the multiple optical channels can be used as the primary optical channel to transmit data between different devices under normal circumstances. The other optical channels can be used as backup optical channels to continue transmitting data between different devices when the primary channel fails.Based on this, the reconfigurable optical add / drop multiplexer site can establish connections between corresponding line units of different reconfigurable optical add / drop multiplexer sites through the control unit. Specifically, a main line unit, namely the first line unit, can be selected from multiple line units. An optical channel can then be established between the first line unit and another reconfigurable optical add / drop multiplexer site. Simultaneously, a backup line unit, namely the second line unit, can be selected from the multiple line units. A first restoration optical channel can then be established between the second line unit and another reconfigurable optical add / drop multiplexer site. When the first line unit detects that the corresponding line is normal, namely, the optical channel between the first line unit and another reconfigurable optical add / drop multiplexer site is normal and has not experienced a fault, the first line unit can be determined as the target line unit for transmitting local data. The local data can be transmitted through the optical channel corresponding to the first line unit. Specifically, the local data can be first broadcast from the first optical splitter of the local add / drop unit to the first wavelength selective switch of the first line unit. The first wavelength selective switch forwards the local device to another reconfigurable optical add / drop multiplexer site via the corresponding optical channel. The other reconfigurable optical add / drop multiplexer sites can ultimately forward the received local data to an external device, thereby enabling the local device to transmit local data to the external device. Corresponding to the local device transmitting local data, if the external device currently needs to forward external data to the local device, the second wavelength selective switch of the first line unit can be activated, and the second wavelength selective switch receives the external data via the corresponding optical channel. Finally, the second wavelength selective switch forwards the external data to the second optical splitter of the local add / drop unit, which ultimately forwards the received external data to the local device. When a fault, such as an interruption, is detected in the first line unit, to ensure normal data transmission, the local device can route data with the external device via another optical channel. Specifically, the second line unit corresponding to the first restoration optical channel can be determined as the new target line unit. The local data is then transmitted from the first optical splitter to the first wavelength selective switch of the second line unit according to the above process. This enables the local device to continue transmitting local data to the external device, while the second wavelength selective switch of the second line unit receives the external data to implement the operation of forwarding the external data to the local device.It should be noted that the order of preference between the first and second line units is not limited. It only requires that when data is transmitted using one channel, another channel is available. That is, in actual use, the local device may first select the first line unit to transmit local data, and then select the second line unit if the first line unit fails. Alternatively, the local device may first select the second line unit to transmit local data, and then select the first line unit if the second line unit fails. This ensures the local device's selectivity when transmitting local data, thereby improving data transmission efficiency. It should be noted that the aforementioned methods for selecting the first or second line unit may include, but are not limited to, traversal, polling, and random selection. The specific selection method can be determined by the user and is not limited herein. In an embodiment of the present disclosure, at least one local add / drop unit includes a primary local add / drop unit and a backup local add / drop unit. The reconfigurable optical add / drop multiplexer site further includes a control unit connected to the primary local add / drop unit, the backup local add / drop unit, and the plurality of line units. The control unit is configured to establish a primary optical channel between other reconfigurable optical add / drop multiplexer sites, a primary line unit among the plurality of line units, and the primary local add / drop unit, and to establish a backup optical channel between other reconfigurable optical add / drop multiplexer sites, a backup line unit among the plurality of line units, and the backup local add / drop unit. The control unit determines the primary line unit and the backup line unit as target line units, activates a second wavelength selective switch of the primary line unit to forward external data to a second optical splitter of the primary local add / drop unit, and activates a second wavelength selective switch of the backup line unit to forward external data to a second optical splitter of the backup local add / drop unit. In an optional solution of this embodiment, to prevent abnormal connections between local add / drop units and line units, which could result in the local device being unable to properly transmit local data or receive external data, multiple local add / drop units, such as the aforementioned master local add / drop unit and backup local add / drop unit, may be configured in the reconfigurable optical add / drop multiplexer site. A control unit may then establish or disconnect connections between the multiple local add / drop units and the multiple line units. Accordingly, the control unit may establish optical channels between line units and other reconfigurable optical add / drop multiplexer sites, as well as optical channels between line units and local add / drop units. Specifically, considering that multiple optical channels can be established between different reconfigurable optical add / drop multiplexer sites for data transmission, a master add / drop unit and backup add / drop unit may be determined from the multiple local add / drop units, and a master line unit and backup line unit may be determined from the multiple line units. The determination method may be as described above and will not be further described here.The controller can then establish a primary optical channel between another reconfigurable optical add / drop multiplexer site, the primary line unit, and the primary local add / drop unit, and a backup optical channel between another reconfigurable optical add / drop multiplexer site, the backup line unit, and the backup local add / drop unit. When the line is normal, both the primary and backup line units can be identified as target line units. The second wavelength selective switch of the primary line unit is activated to enable the primary line unit to forward received external data to the second optical splitter of the primary local add / drop unit. Simultaneously, the second wavelength selective switch of the backup line unit is activated to enable the backup line unit to also forward received external data to the second optical splitter of the backup local add / drop unit. This prevents the situation where line units in other reconfigurable optical add / drop multiplexer sites fail, preventing local devices from receiving external data. In an embodiment of the present disclosure, the reconfigurable optical add / drop multiplexer site further includes: a selection unit configured to, when the active line unit detects that the line is normal and the backup line unit detects that the line is normal, select either the active local add / drop unit or the backup local add / drop unit to forward external data to a local device; when the active line unit detects a line interruption and the backup line unit detects that the line is normal, forward the external data to the local device via the backup local add / drop unit; and when the active line unit detects that the line is normal and the backup line unit detects a line interruption, forward the external data to the local device via the active local add / drop unit. In an alternative solution to this embodiment, to rationally allocate data transmission resources, a selection unit may be further configured in the reconfigurable optical add / drop multiplexer site. The selection unit adaptively selects the local add / drop unit and optical channel for transmitting local data or external data based on the line operating status detected by the line unit, thereby enabling the local device to transmit local data or receive external data.Specifically, when the active line unit detects that the line is normal and the standby line unit detects that the line is normal, the active local add / drop unit or the standby local add / drop unit may be selected to forward the external data to the local device in a preset manner, such as random selection, polling, or traversal. When the active line unit detects that a line interruption fault occurs and the standby line unit detects that the line is normal, the external data may be forwarded to the local device via the standby local add / drop unit. When the active line unit detects that the line is normal and the standby line unit detects that a line interruption fault occurs, the external data may be forwarded to the local device via the active local add / drop unit. When both the active line unit and the standby line unit detect that a line interruption fault occurs, a prompt message may be sent to the user in the user operation interface to remind the user that data cannot be transmitted or received, and the corresponding reason may be displayed to the user. For ease of understanding, Figure 7 is a schematic diagram of an optical channel connection method according to Example 1 of the present disclosure, which corresponds to a connection method without a selection unit configured. The left example represents ADU Gal 1 corresponding to the local device, and the right example represents ADU Gal 1 corresponding to the external device. The solid line a represents the main optical channel, and the corresponding WSS71 connected to the solid line a can be the main line unit. The solid line b represents the first recovery optical channel, and the corresponding WSS72 connected to the solid line b can be the first recovery line unit. The dotted line c represents the second recovery optical channel, and the corresponding WSS73 connected to the dotted line c can be other line units. By default, to ensure the stability of the data transmission process, at least two optical channels may be used for data transmission to avoid data transmission failure when a single optical channel fails. Accordingly, the primary optical channel and the first, second, and third optical channels can be used to transmit local or external data. Specifically, when the primary line unit detects that the line is normal and the first recovery line unit detects that the line is normal, the line corresponding to the solid line a can be directly used to send local data or receive external data. In this case, the optical channels between the sites corresponding to solid lines a and b are conductive, while the optical channel between the sites corresponding to dashed line c is disconnected. The line between the second wavelength selective unit in solid line a and the second optical splitter in the add / drop unit is conductive, while the line between the second wavelength selective unit in solid lines b and c and the second optical splitter in the add / drop unit is disconnected. If the primary line unit detects a line interruption and the first recovery line unit detects that the line is normal, the line between the second wavelength selective unit in solid line a and the second optical splitter in the add / drop unit is disconnected, while the line between the second wavelength selective unit in solid line b and the second optical splitter in the add / drop unit is conductive.At the same time, the inter-site line corresponding to dotted line c replaces the line with the interrupted fault. That is, the line corresponding to dotted line c replaces the line corresponding to solid line a. The line corresponding to solid line b can be used to send local data or receive external data. At this time, the inter-site optical channels corresponding to solid lines b and dotted line c are conductive, the inter-site optical channel corresponding to solid line a is closed, and the line between the second wavelength selection unit and the second optical splitter of the add / drop unit in solid line b is conductive. aThe optical channels between the sites corresponding to lines a and c are conductive, while the optical channels between the sites corresponding to lines b and c are closed. Correspondingly, when the active line unit detects a normal line and the first restoration line unit detects a line interruption, the line corresponding to dashed line c can be used to replace the line corresponding to solid line b. Local data can be sent or received using the lines corresponding to lines a and c. At this time, the optical channels between the sites corresponding to lines a and c are conductive, while the optical channels between the sites corresponding to line b are closed. The optical channels between the second wavelength selective unit in solid line a and the second optical splitter in the add / drop unit are conductive, while the optical channels between the second wavelength selective unit in solid line b and c are closed. FIG8 is a schematic diagram illustrating the time consumption for optical channel repair according to Example 1 of the present disclosure, corresponding to FIG7 . FIG8 illustrates that, in the present disclosure, when a channel failure, such as an interruption, occurs, restoration of the new OCH only requires canceling (disabling) the dropWSS isolation of the already created OCH-RESTORE. The data transmission interruption time no longer includes the calculation time for the new route, the adjustment time for the end-to-end line configuration, or the deletion and reconstruction time for ADU-related configurations. Instead, upon detecting a channel failure, such as an interruption, the original OCH is quickly isolated, and the alternative OCH is restored. This allows for rapid restoration of the interrupted OCH, thereby rapidly enabling data transmission. In an optional solution of this embodiment, to prevent the failure of connections between the local add / drop unit and multiple line units, or the failure of the local add / drop unit itself, which results in the inability to normally transmit local data of the local device or receive external data sent by the external device, multiple backup local add / drop units may be additionally configured in the reconfigurable optical add / drop multiplexer site. Taking the configuration of one local add / drop unit as an example, the reconfigurable optical add / drop multiplexer site may include the above-mentioned first local add / drop unit and second local add / drop unit. The first local add / drop unit may serve as the primary local add / drop unit, and the second local add / drop unit may serve as the backup add / drop unit. When the first local add / drop unit operates normally, the first optical splitter configured in the first local add / drop unit may be directly used to forward local data to the first wavelength selective switches of the multiple line units connected to the first local add / drop unit, thereby enabling the local device to send local data. When the first local add / drop unit fails, the first optical splitter configured in the second local add / drop unit may be used to forward local data to the first wavelength selective switches of the multiple line units connected to the second local add / drop unit. To enable the local device to send local data.It should be noted that the multiple line units connected to the first local add / drop unit can be the same as or different from the multiple line units connected to the second local add / drop unit, and can be configured by the user without limitation. The corresponding connection method can be as described above. Multiple backup line units can be configured, or not. This can be configured by the user without limitation. The corresponding configuration method can also be as described above and will not be described in detail here. For ease of understanding, FIG9 is a schematic diagram of another optical channel connection method according to Example 1 of the present disclosure, corresponding to the optical channel connection method when multiple local add / drop units are deployed. WSS91 "available" refers to the primary line unit, WSS92 "available" refers to the backup line unit, WSS93 "available" refers to other line units, ADU1 "available" refers to the primary local add / drop unit, and ADU2 "available" refers to the backup local add / drop unit. Optical channels can be established between different local add / drop units and different line units to implement data transmission.Under normal circumstances, a primary optical channel can be established between the active local add / drop unit ADU1, the active line unit WSS91, and the reconfigurable optical add / drop multiplexer site corresponding to the external device. A backup optical channel can be established between the backup local add / drop unit ADU2, the backup line unit WSS92, and the reconfigurable optical add / drop multiplexer site corresponding to the external device. Both channels are enabled simultaneously for data transmission. At the receiving end, the external selection unit's OCHP is enabled to select received data. If a line unit detects a line interruption during data transmission, for example, active line unit ADU1 detects an interruption in the current primary optical channel, the external selection unit automatically switches to the backup channel and selects data received by ADU2. To ensure that data has multiple recovery routes for transmission, the current active line unit WSS91 can be replaced by another line unit WSS93, becoming the new active line unit. A new primary optical channel is then established between the active local add / drop unit ADU1, the new active line unit WSS93, and the reconfigurable optical add / drop multiplexer site corresponding to the external device. Data is transmitted over the new primary optical channel and the aforementioned backup optical channel. If the backup line unit ADU2 detects an interruption in the current backup optical channel, the external selection unit automatically switches to primary, selecting the data received by ADU1. To ensure data transmission is simultaneously restored via multiple recovery routes, the backup line unit WSS93 replaces the current backup line unit WSS92 to become the new primary line unit. A new backup optical channel is then established between the primary local add / drop unit ADU1, the new backup line unit WSS93, and the corresponding reconfigurable optical add / drop multiplexer site of the external device. Data is then transmitted over the primary optical channel and the new backup optical channel. This process allows for rapid optical channel recovery, thereby accelerating the recovery of interrupted data transmission. The reconfigurable optical add / drop multiplexer site proposed in this disclosure can achieve at least the following technical effects: In this disclosure, the interrupted OCH can be rerouted during the data transmission process by setting the drop WSS MC of the OCH-RESTORE function to a non-isolated state. The interrupted data transmission time does not include routing calculation time or line adjustment time, significantly improving the recovery efficiency of the data transmission process. This solution uses an asymmetric BS R0ADM structure, and changing the line direction does not require reconfiguring the ADU MC configuration, significantly improving link reestablishment efficiency.After multiple tests, it has been determined that the reconfigurable optical add / drop multiplexer site proposed in this disclosure can ensure that the data transmission interruption time is close to the WSS block unblocking time. This time is expected to be completed within 1 second, which is shorter than the time taken by traditional methods. This rerouting solution, based on two-route OCHP, can also utilize multipath mutual protection / restoration between ROADM sites to improve OCH channel availability. Specifically, assuming an average optical cable interruption of once every two weeks and an eight-hour repair period, and ignoring the time required for restoration and protection switching, the OCH channel availability is 97.85% without restoration or protection. When two routes perform mutual restoration / protection, the OCH channel availability is 99.95%. When three routes perform mutual restoration / protection, the OCH channel availability is 99.999%. When five routes perform mutual restoration / protection, the OCH channel availability is 99.9999%. According to an embodiment of the present disclosure, a reconfigurable optical add / drop multiplexer network is provided. The network includes any of the reconfigurable wide add / drop multiplexer sites described in embodiment 1. According to an embodiment of the present disclosure, a control method for a reconfigurable optical add / drop multiplexer network is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system, such as a set of computer-executable instructions. Furthermore, although the flowcharts illustrate a logical sequence, in some cases, the steps shown or described can be executed in a different order. The method provided in embodiment 1 of the present disclosure can be executed in the reconfigurable optical add / drop multiplexer network provided in embodiment 1. Under the aforementioned operating environment, the present disclosure provides a control method for a reconfigurable optical add / drop multiplexer network, as shown in FIG10 . FIG10 is a flowchart of a control method for a reconfigurable optical add / drop multiplexer network according to embodiment 3 of the present disclosure. As shown in FIG10 , the method includes at least the following steps: Step S1002: Broadcasting local data transmitted by a local device to first wavelength selective switches of multiple line units via a first optical splitter of at least one local add / drop unit of a first site. The first site may be a reconfigurable optical add / drop multiplexer site corresponding to the local device. The local add / drop unit may be an add / drop unit capable of flexibly scheduling line directions.The first optical splitter is deployed in the local add / drop unit, corresponding to the add / drop direction (data output direction) of the local add / drop unit. It can be an optical splitter used to split and forward the optical signal currently required to be transmitted, and can be used to forward local data to multiple line units. The local data is generated by a local device, and the optical signal currently required to be transmitted can refer to the optical signal corresponding to the local data. The local device is connected to the local add / drop unit, and the optical signal can refer to a local client, local server, or other device deployed locally. The line unit can be a unit used to forward local data sent by the local device or receive external data sent by other external devices. The first wavelength selective switch is deployed in the line unit, corresponding to the drop direction (data input direction) of the line unit, and can be a wavelength selective switch that receives local data and transmits the local data along the corresponding channel. In an optional solution of this embodiment, the reconfigurable optical add / drop multiplexer network proposed in this disclosure can be as shown in FIG6 . Different devices can correspond to different local add / drop units, and different local add / drop units can correspond to different line units. That is, different devices correspond to different line units, and different devices can be connected through corresponding line units. When a local device currently has local data to transmit to an external device, the local data can be broadcast to the first wavelength selective switch of the multiple line units corresponding to the local device via the first optical splitter of the local add / drop unit connected to the local device. Step S1004: The local data is sent to a second site via the multiple line units, and external data sent by the second site is received. The local data is forwarded by the second site to the external device, and the external data is data fed back to the first site by the external device based on the local data. The second site can be the reconfigurable optical add / drop multiplexer site corresponding to the external device. The local data is forwarded by the first site to the second site, and the second site then forwards the received local data to the external device. After the first wavelength selective switch receives the local data, it can forward the local data to the second site corresponding to the external device via the optical channel corresponding to the first wavelength selective switch. The second site then forwards the local data to the external device, thereby enabling the local device to transmit the local data to the external device.Corresponding to the local device outputting local data, when an external device has external data, such as data fed back to the local device based on received local data, that needs to be transmitted to the local device, the second site can forward the external data to the first site according to the aforementioned forwarding steps. The first site can then forward the external data to the local device. Correspondingly, a line unit at the first site can receive the external data sent by the second site and forward the external data to the local device, thereby enabling the local device to receive the external data sent by the external device. In step S1006, a second wavelength selective switch of a target line unit among the multiple line units is activated to forward the external data to the second optical splitter of the local add / drop unit corresponding to the target line unit. The second wavelength selective switch is deployed in the line unit, corresponding to the Add direction (data output direction) of the line unit, and can be a wavelength selective switch that receives external data sent by the external device and forwards the external data to the second optical splitter. The target line unit can be a line unit that receives external data from multiple line units and forwards the external data to the local device. The aforementioned second optical splitter is deployed in the local add / drop unit, corresponding to the drop direction (data input direction) of the local add / drop unit. It can be used to combine and forward multiple received optical signals, such as optical signals input from multiple line units. It can be used to forward external data, such as data sent by other devices not deployed locally, to the local device. When a line unit sends external data to the local device, it can first activate the second wavelength selective switch of a target line unit among the multiple line units. The second wavelength selective switch then forwards the received external data to the second optical splitter of the corresponding local add / drop unit. In step S1008, the local add / drop unit corresponding to the target line unit forwards the external data to the local device. After the second optical splitter of the local add / drop unit receives the external data forwarded by the corresponding second wavelength selective switch, the local add / drop unit can then forward the external data to the local device, thereby enabling the local device to receive the external data sent by the external device.In an embodiment of the present disclosure, local data sent by a local device is broadcast to the first wavelength selective switch of multiple line units via a first optical splitter of at least one local add / drop unit at a first site; the local data is sent to a second site via multiple line units, and external data sent by the second site is received; the second wavelength selective switch of a target line unit among the multiple line units is activated to forward the external data to the second optical splitter of the local add / drop unit corresponding to the target line unit; and the external data is forwarded to the local device via the local add / drop unit corresponding to the target line unit. By placing a wavelength selective switch on the line unit and configuring an optical splitter corresponding to the wavelength selective switch in the local add / drop unit, when a local device needs to transmit local data to an external device, or when an external device needs to transmit external data to a local device, the local data can be directly sent or received via the wavelength selective switch and the corresponding optical splitter, thereby ensuring the timeliness of the transmitted local data and the received external data. Furthermore, by connecting the wavelength selective switches in different line units and the optical splitters in different local add / drop units, switching between different lines can be quickly achieved without reconfiguring the parameters of the wavelength selective switch. This reduces the impact of configuration time on data transmission and recovery processes, thereby significantly improving the efficiency of transmission line selection and ensuring that data transmission within a channel is not interrupted for a long time due to channel anomalies. This addresses the technical issue of low efficiency in recovering interrupted data transmission processes in related technologies. In an embodiment of the present disclosure, when at least one local add / drop unit includes a local add / drop unit, activating a second wavelength selective switch of a target line unit among multiple line units to forward external data to the second optical splitter of the local add / drop unit corresponding to the target line unit includes: establishing an optical channel between a second site and a first line unit of the multiple line units, and establishing a first recovery optical channel between the second site and a second line unit of the multiple line units; if the first line unit detects that the line is normal, determining that the target line unit is the first line unit, and forwarding the external data to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the first line unit; and if the first line unit detects that a line interruption fault has occurred, determining that the target line unit is the second line unit, and forwarding the external data to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the second line unit.Generally, different data transmission strategies may be adopted corresponding to different available local add / drop units to ensure stability when the local device sends local data to an external device or receives external data sent by an external device. Accordingly, when there is only one local add / drop unit, and the second optical splitter of the local add / drop unit is used to receive external data forwarded by the second wavelength selective switch of the target line unit, a main line unit (i.e., the first line unit) may be selected from multiple line units. An optical channel may then be established between the second site and the first line unit. Simultaneously, a first restoration optical channel may be established between the second site and another line unit (i.e., the second line unit). When the first line unit detects that the line is normal, for example, the optical channel between the second site and the first line unit is not faulty and the broadcast channel between the first line unit and the local add / drop unit is not faulty, the first line unit may be determined as the target line unit. The external data may be forwarded to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the first line unit, so that the local device can transmit the local data to the external device. When the first line unit detects a fault, For example, if the first restoration optical channel is interrupted or the first line unit is unable to forward external data, the second line unit can be identified as the target line unit. The second wavelength selective switch of the second line unit can then forward the external data to the second optical splitter of the local add / drop unit, enabling the local device to continue transmitting the local data to the external device. In the disclosed embodiment, forwarding the external data to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the first line unit includes: activating the media channel corresponding to the second wavelength selective unit of the first line unit and deactivating the media channels corresponding to the second wavelength selective units of line units other than the first line unit in a plurality of line units. The second wavelength selective unit can be a selection unit in the line unit corresponding to the second wavelength selective switch, and can be configured to send local data received by the second wavelength selective switch to the corresponding media channel, thereby transmitting the local data to the external device via the media channel. In an optional solution of this embodiment, when external data is forwarded to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the first line unit, to prevent the local device from being unable to successfully receive the external data due to transmission errors, the media channel corresponding to the second wavelength selective unit of the first line unit may be activated while simultaneously shutting down the media channels corresponding to the second wavelength selective units of other line units among the multiple line units except the first line unit.In an embodiment of the present disclosure, forwarding external data to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the second line unit includes: activating the media channel corresponding to the second wavelength selective unit of the second line unit and deactivating the media channels corresponding to the second wavelength selective units of line units other than the second line unit in a plurality of line units. In an alternative solution to this embodiment, corresponding to forwarding external data using the first line unit, when forwarding external data to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the second line unit via the second line unit, to prevent transmission errors that may prevent the local device from successfully receiving the external data, the media channel corresponding to the second wavelength selective unit of the second line unit may be activated while deactivating the media channels corresponding to the second wavelength selective units of the other line units in the plurality of line units other than the second line unit. In an embodiment of the present disclosure, the method further includes: creating a second restoration optical channel between the second site and a third line unit among the plurality of line units during the process of forwarding the external data to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the second line unit; and determining that the target line unit is the third line unit when the second line unit detects a line interruption fault, and forwarding the external data to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the third line unit. In an optional solution of this embodiment, to prevent the local device from being unable to normally receive external data due to failures in both the optical channel and the line units corresponding to the first restoration optical channel, while the second wavelength selective switch of the second line unit forwards the external data to the second optical splitter of the local add / drop unit, at least one third line unit may be selected from other idle line units, and a second restoration optical channel may be established between the second site and the third line unit. If the second line unit also detects a failure, such as a line interruption, the external data may be transmitted via the second restoration optical channel. Specifically, the third line unit may be determined as the new target line unit, and the second wavelength selective switch of the third line unit may forward the received external data to the second optical splitter of the local add / drop unit for continued transmission.In an embodiment of the present disclosure, when at least one local add / drop unit includes a primary local add / drop unit and a backup local add / drop unit, activating a second wavelength selective switch of a target line unit among the multiple line units to forward external data to a second optical splitter of a local add / drop unit corresponding to the target line unit includes: creating a primary optical channel between a primary line unit among the multiple line units at a second site and a primary local add / drop unit among the multiple local add / drop units; and creating a backup optical channel between a backup line unit among the multiple line units at the second site and a backup local add / drop unit among the multiple local add / drop units; determining the primary line unit and the backup line unit as target line units, forwarding the external data to the second optical splitter of the primary local add / drop unit via the second wavelength selective switch of the primary line unit, and forwarding the external data to the second optical splitter of the backup local add / drop unit via the second wavelength selective switch of the backup line unit. In an alternative solution to this embodiment, if multiple local add / drop units are currently included, for example, both the primary local add / drop unit and the backup local add / drop unit, to prevent simultaneous failures of both the primary and backup channels, a primary optical channel can be established between the primary line unit among the multiple line units at the second site and the primary local add / drop unit, as well as a backup optical channel can be established between the backup line unit among the multiple line units at the second site and the backup local add / drop unit. Both the primary and backup line units are then identified as target line units. This allows the received external data to be forwarded to the second optical splitter of the primary local add / drop unit via the second wavelength selective switch of the primary line unit, while the received external data is simultaneously forwarded to the second optical splitter of the backup local add / drop unit via the second wavelength selective switch of the backup line unit. In actual use, the second wavelength selective switch of a line unit can be used to receive a single piece of external data to prevent data fragmentation and loss of data integrity.In an embodiment of the present disclosure, the method further includes: when the active line unit detects a line interruption fault, creating a third restoration optical channel between the second site, a first other line unit among the multiple line units, and the active local add / drop unit, wherein the first other line unit is used to represent a line unit among the multiple line units other than the active line unit and the backup line unit; determining the optical channel between the second site, the first other line unit, and the active local add / drop unit as the active optical channel; determining the first other line unit and the backup line unit as target line units, forwarding external data to the second optical splitter of the active local add / drop unit via the second wavelength selective switch of the first other line unit, and forwarding the external data to the second optical splitter of the backup local add / drop unit via the second wavelength selective switch of the backup line unit. In an optional solution of the embodiment of the present disclosure, if the active line unit detects a line interruption, this means that only the first restoration optical channel corresponding to the backup line unit is currently available. To prevent the first restoration optical channel from failing and causing data transmission failure, a new available line unit, namely the first other line unit, may be selected from the multiple line units. A new optical channel, namely the third restoration optical channel, may be established between the second site, the first other line unit, and the active add / drop unit. The third restoration optical channel is then determined as the new active optical channel, and the first other line unit and the backup line unit are determined as new target line units. The second wavelength selective switch of the first other line unit forwards received external data to the second optical splitter of the active local add / drop unit. The second wavelength selective switch of the backup line unit forwards the received external data to the second optical splitter of the backup local add / drop unit, thereby enabling the local device to receive external data. Similar to the case where the primary line unit detects a fault, when the backup line unit detects an interruption fault, it can also select an available line unit from multiple line units and establish a new optical channel between the available line unit, the second site, and the backup local add / drop unit to transmit external data. The specific process can be referred to the above process and will not be repeated here.In an embodiment of the present disclosure, forwarding external data to a local device through a local add / drop unit corresponding to a target line unit includes: forwarding the external data to the local device through the active local add / drop unit or the standby local add / drop unit when the active line unit detects that the line is normal and the standby line unit detects that the line is normal; forwarding the external data to the local device through the standby local add / drop unit when the active line unit detects that a line interruption fault occurs and the standby line unit detects that the line is normal; and forwarding the external data to the local device through the active local add / drop unit when the active line unit detects that the line is normal and the standby line unit detects that a line interruption fault occurs. In an optional solution of the embodiment of the present disclosure, when the local add / drop unit of the target line unit is used to forward external data to the local device, if the active line unit detects that the line is normal and the backup line unit also detects that the line is normal, then one of the active local add / drop unit or the backup local add / drop unit may be selected as the target local add / drop unit to forward the received external data to the local device. If the active line unit detects that a line interruption fault has occurred and the backup line unit also detects that the line is normal, then the backup local add / drop unit may be selected as the target local add / drop unit to forward the received external data to the local device. If the active line unit detects that the line is normal and the backup line unit detects that a line interruption fault has occurred, then the active local add / drop unit may be selected as the target local add / drop unit to forward the received external data to the local device. In an embodiment of the present disclosure, after determining the first other line unit and the backup line unit as target line units, the method further includes: when the backup line unit detects a line interruption fault, creating a third restoration optical channel between the second site, the second other line unit, and the backup local add / drop unit, wherein the second other line unit is used to represent a line unit other than the primary line unit, the backup line unit, and the first other line unit among the multiple line units; determining the optical channel between the second site, the second other line unit, and the backup local add / drop unit as a backup optical channel; determining the first other line unit and the second other line unit as target line units, forwarding external data to the second optical splitter of the primary local add / drop unit via the second wavelength selective switch of the first other line unit, and forwarding the external data to the second optical splitter of the backup local add / drop unit via the second wavelength selective switch of the second other line unit.In an optional solution of this embodiment, if the backup line unit detects a line interruption fault after the active line unit detects a line interruption fault, then, as described above, another available line unit, namely the second other line unit, may be selected from the multiple line units. A new optical channel, namely the third restoration optical channel, may be established between the second site, the second other line unit, and the backup local add / drop unit. This third restoration optical channel is then determined as a new backup optical channel. Finally, the first other line unit and the second other line unit are determined as new target line units. External data is forwarded to the second optical splitter of the active local add / drop unit via the second wavelength selective switch of the first other line unit, and to the second optical splitter of the backup local add / drop unit via the second wavelength selective switch of the second other line unit. It should be noted that, for simplicity of description, the aforementioned method embodiments are described as a series of actions. However, those skilled in the art should understand that the present disclosure is not limited to the order of the actions described, as certain steps may be performed in a different order or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are preferred embodiments, and the actions and components involved are not necessarily required by this disclosure. Through the above description of the embodiments, those skilled in the art will clearly understand that the methods according to the above embodiments can be implemented using software and a required general-purpose hardware platform, or of course, hardware. Based on this understanding, the technical solution of this disclosure, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk) and includes instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of this disclosure. Embodiment 4 According to an embodiment of the present disclosure, a device for implementing the above-mentioned control method for a reconfigurable optical add / drop multiplexer network is further provided. FIG11 is a structural block diagram of a control device for a reconfigurable optical add / drop multiplexer network according to Embodiment 4 of the present disclosure. As shown in FIG11 , the device 1100 includes: a local data broadcast component 1102, a data transmission component 1104, a first data forwarding component 1106, and a second data forwarding component 1108.Among them, the local data broadcast component 1102 is configured to broadcast local data sent by the local device to the first wavelength selective switch of multiple line units through the first optical splitter of at least one local add / drop unit of the first site; the data transmission component 1104 is configured to send the local data to the second site through the multiple line units and receive external data sent by the second site, wherein the local data is forwarded by the second site to the external device, and the external data is data fed back to the first site by the external device based on the local data; the first data forwarding component 1106 is configured to activate the second wavelength selective switch of the target line unit among the multiple line units, forward the external data to the second optical splitter of the local add / drop unit corresponding to the target line unit; and forward the external data to the local device through the local add / drop unit corresponding to the target line unit. In an embodiment of the present disclosure, the first data forwarding component 1106 includes: a first optical channel creation unit configured to create an optical channel between the second site and a first line unit of the plurality of line units, and to create a first restoration optical channel between the second site and a second line unit of the plurality of line units; the first data forwarding unit configured to, when the first line unit detects that the line is normal, determine that the target line unit is the first line unit, and forward external data to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the first line unit; and the second data forwarding unit configured to, when the first line unit detects a line interruption, determine that the target line unit is the second line unit, and forward external data to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the second line unit. In an embodiment of the present disclosure, the first data forwarding unit is further configured to: activate the media channel corresponding to the second wavelength selective unit of the first line unit, and deactivate the media channels corresponding to the second wavelength selective units of line units other than the first line unit in the plurality of line units. In the embodiment of the present disclosure, the second data forwarding unit is further configured to: start the media channel corresponding to the second wavelength selection unit of the second line unit, and close the media channels corresponding to the second wavelength selection units of the line units other than the second line unit among the multiple line units.In an embodiment of the present disclosure, the method further includes: a first optical channel creation component configured to create a second restoration optical channel between the second site and a third line unit among the multiple line units during a process of forwarding external data to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the second line unit; and a third data forwarding component configured to, when the second line unit detects a line interruption fault, determine that the target line unit is the third line unit, and forward the external data to the second optical splitter of the local add / drop unit via the second wavelength selective switch of the third line unit. In the disclosed embodiment, the first data forwarding component 1106 includes: a second optical channel creation unit configured to create a primary optical channel between a primary line unit among the multiple line units and a primary local add / drop unit among the multiple local add / drop units at the second site, and to create a backup optical channel between a backup line unit among the multiple line units and a backup local add / drop unit among the multiple local add / drop units at the second site; and a third data forwarding unit configured to determine the primary line unit and the backup line unit as target line units, forward external data to the second optical splitter of the primary local add / drop unit via the second wavelength selective switch of the primary line unit, and forward external data to the second optical splitter of the backup local add / drop unit via the second wavelength selective switch of the backup line unit. In an embodiment of the present disclosure, the method further includes: a second optical channel creation component configured to, when the active line unit detects a line interruption fault, create a third restoration optical channel between the second site, a first other line unit among the multiple line units, and the active local add / drop unit, wherein the first other line unit is used to represent a line unit among the multiple line units other than the active line unit and the backup line unit; a first optical channel determination component configured to determine the optical channel between the second site, the first other line unit, and the active local add / drop unit as the active optical channel; and a fourth data forwarding component configured to determine the first other line unit and the backup line unit as target line units, forward external data to the second optical splitter of the active local add / drop unit via the second wavelength selective switch of the first other line unit, and forward external data to the second optical splitter of the backup local add / drop unit via the second wavelength selective switch of the backup line unit.In the embodiment of the present disclosure, the first data forwarding component 1106 further includes: a fourth data forwarding unit, configured to forward external data to the local device through the primary local add / drop unit or the backup local add / drop unit when the primary line unit detects that the line is normal and the backup line unit detects that the line is normal; a fifth data forwarding unit, configured to forward external data to the local device through the backup local add / drop unit when the primary line unit detects that a line interruption fault occurs and the backup line unit detects that the line is normal; and forward external data to the local device through the primary local add / drop unit when the primary line unit detects that the line is normal and the backup line unit detects that a line interruption fault occurs. In an embodiment of the present disclosure, the apparatus further includes: a third optical channel creation component configured to, when the backup line unit detects a line interruption fault, create a third restoration optical channel between the second site, the second other line unit, and the backup local add / drop unit, wherein the second other line unit is used to represent a line unit other than the primary line unit, the backup line unit, and the first other line unit among the multiple line units; a second optical channel determination component configured to determine the optical channel between the second site, the second other line unit, and the backup local add / drop unit as a backup optical channel; and a fifth data forwarding component configured to determine the first other line unit and the second other line unit as target line units, forward external data to the second optical splitter of the primary local add / drop unit via the second wavelength selective switch of the first other line unit, and forward external data to the second optical splitter of the backup local add / drop unit via the second wavelength selective switch of the second other line unit. It should be noted that the local data broadcast component 1102, data transmission component 1104, first data forwarding component 1106, and second data forwarding component 1108 described above correspond to steps S1002 to S1008 in Example 3. These four components and the corresponding steps implement the same examples and application scenarios, but are not limited to those disclosed in Example 1. It should be noted that the aforementioned components or units may be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, 102n). These components may also be part of an apparatus and run in an electronic device. It should be noted that the preferred implementation schemes involved in the aforementioned embodiments of the present disclosure are the same as those provided in Example 1, as well as the application scenarios and implementation processes, but are not limited to the solutions provided in Example 1.Embodiment 5: An embodiment of the present disclosure may provide an electronic device, which may be any electronic device in a group of electronic devices. Optionally, in this embodiment, the electronic device may be replaced with a terminal device such as a mobile terminal. Optionally, in this embodiment, the electronic device may be located in at least one of multiple network devices in a computer network. In this embodiment, the electronic device may execute program code for the following steps in a method for controlling a reconfigurable optical add / drop multiplexer network: forwarding local data sent by a local device to a first wavelength selective switch of multiple line units via a first optical splitter of at least one local add / drop unit; forwarding the local data to an external device via multiple line units; receiving external data fed back by an external device based on the local data via multiple line units; and activating a second wavelength selective switch of the multiple line units to forward the external data to a second optical splitter of at least one local add / drop unit. Optionally, Figure 12 is a block diagram of the structure of an electronic device according to Embodiment 5 of the present disclosure. As shown, the electronic device A may include: one or more (only one shown) processors 1202, a memory 1204, a storage controller, and a peripheral interface, wherein the peripheral interface is connected to a radio frequency component, an audio component, and a display. The memory can be used to store software programs and components, such as program instructions / components corresponding to the control method and apparatus for a reconfigurable optical add / drop multiplexer network in the embodiments of the present disclosure. The processor executes the software programs and components stored in the memory to execute various functional applications and data processing, thereby implementing the control method for the reconfigurable optical add / drop multiplexer network. The memory can include high-speed random access memory (RAM) and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory can further include memory remotely located from the processor, and such remote memory can be connected to terminal A via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.The processor may call information and an application program stored in a memory through a transmission device to execute the following steps: forwarding local data sent by a local device to a first wavelength selective switch of a plurality of line units via a first optical splitter of at least one local add / drop unit, including: upon receiving an optical channel broadcast sent by the first optical splitter, establishing an optical channel between the local add / drop unit and a first line unit of the plurality of line units, and establishing a first restoration optical channel between the local add / drop unit and at least one second line unit of the plurality of line units; upon detecting that the first line unit is normal, transmitting the local data from the first optical splitter to the first wavelength selective switch of the first line unit via the optical channel; upon detecting that an interruption fault occurs in the first line unit, transmitting the local data from the first optical splitter to the first wavelength selective switch of the second line unit via the first restoration optical channel. Optionally, the processor may further execute program code for the following steps: transmitting the local data from the first optical splitter to the first wavelength selective switch of the first line unit via the optical channel, including: activating a media channel corresponding to an upstream wavelength selective unit in the first line unit, and deactivating a media channel corresponding to an upstream wavelength selective unit in the second line unit. Optionally, the processor may further execute program code for the following steps: transmitting local data from the first optical splitter to the first wavelength selective switch of the second line unit via the first restoration optical channel, including: activating the media channel corresponding to the upstream wavelength selective unit in the first line unit, and deactivating the media channel corresponding to the upstream wavelength selective unit in any one of the second line units. Optionally, the processor may further execute program code for the following steps: the method may further include: in the process of transmitting the local data from the first optical splitter to the first wavelength selective switch of the second line unit via the first restoration optical channel, establishing a second restoration optical channel between the local add / drop unit and at least one third line unit among the plurality of line units; and upon detecting an interruption fault in the second line unit, transmitting the local data from the first optical splitter to the first wavelength selective switch of the third line unit via the second restoration optical channel.Optionally, the processor may further execute program code for the following steps: forwarding local data sent by a local device to first wavelength selective switches of multiple line units through a first optical splitter of at least one local add / drop unit, including: establishing a primary optical channel between the local add / drop unit and a primary line unit among the multiple line units, establishing a backup optical channel between the local add / drop unit and a backup line unit among the multiple line units, and establishing a third recovery optical channel between the local add / drop unit and other line units among the multiple line units, where the other line units represent line units other than the primary line unit and the backup line unit among the multiple line units; transmitting the local data from the first optical splitter to the first wavelength selective switch of the primary line unit through the primary optical channel when the primary line unit is detected to be normal; transmitting the local data from the first optical splitter to the first wavelength selective switch of the backup line unit through the backup optical channel when an interruption fault occurs in the primary line unit; and transmitting the local data from the first optical splitter to the first wavelength selective switches of the other line units through the third recovery optical channel when an interruption fault occurs in the backup line unit. Optionally, the processor may further execute program code for the following steps: The method further includes: upon detecting an interruption fault in the primary line unit, determining the optical channel between the local add / drop unit and multiple other line units as the primary optical channel. Optionally, the processor may further execute program code for the following steps: The method further includes: upon detecting an interruption fault in the primary line unit, determining the optical channel between the local add / drop unit and the primary line unit as the third restoration optical channel. Optionally, the processor may further execute program code for the following steps: The method further includes: upon detecting an interruption fault in the backup line unit, determining the optical channel between the local add / drop unit and the primary line unit as the backup optical channel. Optionally, the processor may further execute program code for the following steps: The method further includes: upon detecting an interruption fault in the backup line unit, determining the optical channel between the local add / drop unit and the backup line unit as the third restoration optical channel.Optionally, the processor may further execute program code for the following steps: forwarding local data sent by a local device to first wavelength selective switches of multiple line units through a first optical splitter of at least one local add / drop unit, including: forwarding the local data to the first wavelength selective switches of the multiple line units through the first optical splitter of the first local add / drop unit when a first local add / drop unit among the at least one local add / drop unit is detected to be normal; and forwarding the local data to the first wavelength selective switches of the multiple line units through the first optical splitter of a second local add / drop unit among the at least one local add / drop unit when an interruption fault is detected in the first local add / drop unit. In an embodiment of the present disclosure, local data sent by a local device is forwarded to a first wavelength selective switch of multiple line units via a first optical splitter of at least one local add / drop unit; the local data is forwarded to an external device via multiple line units; external data fed back by the external device based on the local data is received via multiple line units; and the second wavelength selective switches of the multiple line units are activated to forward the external data to the second optical splitter of at least one local add / drop unit. By placing the wavelength selective switch on the line unit and configuring an optical splitter corresponding to the wavelength selective switch in the local add / drop unit, when a local device needs to transmit local data to an external device, or when an external device needs to transmit external data to a local device, or when a line unit fails, the wavelength selective switch is directly connected and disconnected by controlling the channel between the optical splitter and the wavelength selective switch. This enables switching between different lines without reconfiguring wavelength selective switch parameters, reducing the impact of configuration time on data transmission and recovery processes, thereby significantly improving the efficiency of transmission line selection and ensuring that data transmission in the channel is not interrupted for a long time due to channel anomalies. This addresses the technical issue of low efficiency in recovering interrupted data transmission processes in the related art. Those skilled in the art will appreciate that the structure shown in the figure is merely illustrative, and the electronic device may also be a smartphone (such as an Android phone, iOS phone, etc.), a tablet computer, a PDA, or a terminal device such as a mobile internet device (MID) or PAD. Figure 10 does not limit the structure of the aforementioned electronic devices. For example, electronic device A may include more or fewer components (such as a network interface, a display device, etc.) than shown in Figure 10, or may have a configuration different from that shown in Figure 10.Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware associated with the terminal device through a program. The program can be stored in a computer-readable storage medium, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. Example 6: The embodiments of the present disclosure also provide a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the control method for the reconfigurable optical add / drop multiplexer network provided in Example 1. Optionally, in this embodiment, the storage medium can be located in any electronic device in a group of electronic devices in a computer network, or in any mobile terminal in a group of mobile terminals. Optionally, in this embodiment, the storage medium is configured to store program code for executing the following steps: forwarding local data sent by a local device to a first wavelength selective switch of a plurality of line units through a first optical splitter of at least one local add / drop unit; forwarding the local data to an external device through the plurality of line units; receiving external data fed back by the external device based on the local data through the plurality of line units; and activating a second wavelength selective switch of the plurality of line units to forward the external data to a second optical splitter of at least one local add / drop unit. Optionally, the storage medium is further configured to include program code for executing the following steps: forwarding local data sent by a local device to a first wavelength selective switch of a plurality of line units via a first optical splitter of at least one local add / drop unit, including: upon receiving an optical channel broadcast sent by the first optical splitter, establishing an optical channel between the local add / drop unit and a first line unit of the plurality of line units, and establishing a first restoration optical channel between the local add / drop unit and at least one second line unit of the plurality of line units; upon detecting that the first line unit is normal, transmitting the local data from the first optical splitter to the first wavelength selective switch of the first line unit via the optical channel; and upon detecting that an interruption fault has occurred in the first line unit, transmitting the local data from the first optical splitter to the first wavelength selective switch of the second line unit via the first restoration optical channel. Optionally, the storage medium is further configured to include program code for executing the following steps: transmitting local data from the first optical splitter to the first wavelength selective switch of the first line unit via the optical channel, including: activating a media channel corresponding to an upstream wavelength selective unit in the first line unit, and deactivating a media channel corresponding to an upstream wavelength selective unit in the second line unit.Optionally, the storage medium further includes program code for executing the following steps: transmitting local data from the first optical splitter to the first wavelength selective switch of the second line unit via the first restoration optical channel, including: activating the media channel corresponding to the upstream wavelength selective unit in the first line unit, and deactivating the media channel corresponding to the upstream wavelength selective unit in any one of the second line units. Optionally, the storage medium further includes program code for executing the following steps: the method further includes: during the process of transmitting the local data from the first optical splitter to the first wavelength selective switch of the second line unit via the first restoration optical channel, establishing a second restoration optical channel between the local add / drop unit and at least one third line unit among the plurality of line units; and upon detecting an interruption fault in the second line unit, transmitting the local data from the first optical splitter to the first wavelength selective switch of the third line unit via the second restoration optical channel. Optionally, the storage medium is further configured to execute program code for executing the following steps: forwarding local data sent by a local device to a first wavelength selective switch of a plurality of line units through a first optical splitter of at least one local add / drop unit, including: creating a primary optical channel between the local add / drop unit and a primary line unit among the plurality of line units, creating a backup optical channel between the local add / drop unit and a backup line unit among the plurality of line units, and creating a third restoration optical channel between the local add / drop unit and other line units among the plurality of line units, wherein the other line units represent line units other than the primary line unit and the backup line unit among the plurality of line units; transmitting the local data from the first optical splitter to the first wavelength selective switch of the primary line unit through the primary optical channel when the primary line unit is detected to be normal; transmitting the local data from the first optical splitter to the first wavelength selective switch of the backup line unit through the backup optical channel when an interruption fault occurs in the primary line unit; and transmitting the local data from the first optical splitter to the first wavelength selective switch of the other line units through the third restoration optical channel when an interruption fault occurs in the backup line unit. Optionally, the storage medium further contains program code for executing the following steps: the method further includes: upon detecting that a fault interruption occurs in the primary line unit, determining an optical channel between the local add / drop unit and multiple other line units as the primary optical channel. Optionally, the storage medium further contains program code for executing the following steps: the method further includes: upon detecting that the primary line unit has recovered, determining an optical channel between the local add / drop unit and the primary line unit as a third restoration optical channel.Optionally, the storage medium is further configured to include program code for executing the following steps: the method further comprising: upon detecting that an interruption fault has occurred in the backup line unit, determining an optical channel between the local add / drop unit and the primary line unit as a backup optical waveguide. Optionally, the storage medium is further configured to include program code for executing the following steps: the method further comprising: upon detecting that the backup line unit has recovered, determining an optical channel between the local add / drop unit and the backup line unit as a third restoration optical channel. Optionally, the storage medium is further configured to include program code for executing the following steps: forwarding local data sent by a local device to a first wavelength selective switch of multiple line units via a first optical splitter of at least one local add / drop unit, including: upon detecting that a first local add / drop unit in the at least one local add / drop unit is normal, forwarding the local data to the first wavelength selective switches of the multiple line units via the first optical splitter of the first local add / drop unit; and upon detecting that an interruption fault has occurred in the first local add / drop unit, forwarding the local data to the first wavelength selective switches of the multiple line units via the first optical splitter of a second local add / drop unit in the at least one local add / drop unit. It should be noted that the serial numbers of the above-mentioned embodiments of the present disclosure are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. In the above-mentioned embodiments of the present disclosure, the descriptions of each embodiment are given with some emphasis. For portions not described in detail in a particular embodiment, reference should be made to the relevant descriptions of other embodiments. In the several embodiments provided in the present disclosure, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is merely a logical functional division. In actual implementation, other divisions may be employed. For example, multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented. Furthermore, the coupling or direct coupling or communication connection shown or discussed between each other may be through interfaces. Indirect coupling or communication connection between units or components may be electrical or other forms. Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units; that is, they may be located in one location or distributed across multiple network units. Some or all of these units may be selected to achieve the objectives of the present embodiments according to actual needs. In addition, the functional units in the various embodiments of the present disclosure may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes instructions for causing a computer device (such as a personal computer, server, or network device) to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memories (ROMs), random access memories (RAMs), removable hard drives, magnetic disks, or optical disks. The above are merely preferred embodiments of the present disclosure. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present disclosure, and such improvements and modifications should also be considered within the scope of protection of the present disclosure. Industrial Applicability: The solution provided by the embodiments of the present disclosure can be applied to data transmission. By placing a wavelength selective switch on a line unit and connecting an optical splitter corresponding to the wavelength selective switch in a local add / drop unit, when a local device needs to transmit local data to an external device, or when an external device needs to transmit external data to a local device, the local data can be directly sent or received via the wavelength selective switch and the corresponding optical splitter, thereby ensuring the timeliness of the transmitted local data and received external data. Furthermore, by connecting the wavelength selective switches in different line units and the optical splitters in different local add / drop units, switching between different lines can be quickly achieved without reconfiguring wavelength selective switch parameters. This reduces the impact of configuration time on data transmission and recovery processes, thereby significantly improving the efficiency of transmission line selection and ensuring that data transmission in a channel is not interrupted for a long time due to channel anomalies. This addresses the technical issue of low efficiency in recovering interrupted data transmission in related technologies.
Claims
Claims 1. A method for controlling a reconfigurable optical add / drop multiplexer network, comprising: broadcasting the local data sent by the local device to the first wavelength selective switches of the plurality of line units through the first optical splitter of at least one local add / drop unit of the first site; The local data is sent to the second site through the multiple line units, and external data sent by the second site is received, wherein the local data is forwarded by the second site to the external device, and the external data is data fed back to the first site by the external device based on the local data; a second wavelength selective switch of a target line unit among the multiple line units is activated to forward the external data to a second optical splitter of a local add / drop unit corresponding to the target line unit; and the external data is forwarded to the local device through the local add / drop unit corresponding to the target line unit.
2. The method according to claim 1, wherein: In a case where the at least one local add / drop unit includes one local add / drop unit, starting the second wavelength selective switch of a target line unit among the multiple line units to forward the external data to the second optical splitter of the local add / drop unit corresponding to the target line unit includes: creating an optical channel between the second site and a first line unit of the multiple line units, and creating a first restoration optical channel between the second site and a second line unit of the multiple line units; when the first line unit detects that the line is normal, determining that the target line unit is the first line unit, and forwarding the external data to the second optical splitter of the local add / drop unit through the second wavelength selective switch of the first line unit; when the first line unit detects that a line interruption fault occurs, determining that the target line unit is the second line unit, and forwarding the external data to the second optical splitter of the local add / drop unit through the second wavelength selective switch of the second line unit.
3. The method according to claim 2, wherein: Forwarding the external data to the second optical splitter of the local add / drop unit through the second wavelength selection switch of the first line unit includes: starting the media channel corresponding to the second wavelength selection unit of the first line unit, and closing the media channels corresponding to the second wavelength selection units of the line units other than the first line unit among the multiple line units.
4. The method according to claim 2, wherein: Forwarding the external data to the second optical splitter of the local add / drop unit through the second wavelength selection switch of the second line unit includes: starting the media channel corresponding to the second wavelength selection unit of the second line unit, and closing the media channels corresponding to the second wavelength selection units of the line units other than the second line unit among the multiple line units. 28 5. The method according to claim 2, wherein: The method further includes: creating a second restoration optical channel between the second site and a third line unit among the multiple line units during the process of forwarding the external data to the second optical splitter of the local add / drop unit through the second wavelength selective switch of the second line unit; and determining that the target line unit is the third line unit when the second line unit detects a line interruption fault, and forwarding the external data to the second optical splitter of the local add / drop unit through the second wavelength selective switch of the third line unit.
6. The method according to claim 1, wherein: In a case where the at least one local add / drop unit includes a primary local add / drop unit and a backup local add / drop unit, starting the second wavelength selective switch of a target line unit among the multiple line units to forward the external data to the second optical splitter of the local add / drop unit corresponding to the target line unit includes: creating a primary optical channel between the second site, the primary line unit among the multiple line units, and the primary local add / drop unit among the multiple local add / drop units, and creating a backup optical channel between the second site, the backup line unit among the multiple line units, and the backup local add / drop unit among the multiple local add / drop units; determining the primary line unit and the backup line unit as the target line units, forwarding the external data to the second optical splitter of the primary local add / drop unit through the second wavelength selective switch of the primary line unit, and forwarding the external data to the second optical splitter of the backup local add / drop unit through the second wavelength selective switch of the backup line unit.
7. The method according to claim 6, wherein: The method also includes: when the main line unit detects that a line interruption fault occurs, creating a third recovery optical channel between the second site, the first other line unit among the multiple line units, and the main local add / drop unit, wherein the first other line unit is used to represent the line units among the multiple line units other than the main line unit and the backup line unit; determining the optical channel between the second site, the first other line unit, and the main local add / drop unit as the main optical channel; determining the first other line unit and the backup line unit as the target line units, forwarding the external data to the second splitter of the main local add / drop unit through the second wavelength selective switch of the first other line unit, and forwarding the external data to the second splitter of the backup local add / drop unit through the second wavelength selective switch of the backup line unit.
8. The method according to claim 6, wherein: Forwarding the external data to the local device through the local add / drop unit corresponding to the target line unit, comprising: when the active line unit detects that the line is normal and the standby line unit detects that the line is normal, forwarding the external data to the local device through the active local add / drop unit or the standby local add / drop unit data is forwarded to the local device; when the active line unit detects that a line interruption fault occurs and the backup line unit detects that the line is normal, the external data is forwarded to the local device through the backup local add / drop unit; when the active line unit detects that the line is normal and the backup line unit detects that a line interruption fault occurs, the external data is forwarded to the local device through the active local add / drop unit.
9. The method according to claim 7, wherein: After determining that the first other line unit and the backup line unit are the target line units, the method further includes: in a case where the backup line unit detects a line interruption fault, creating a third restoration optical channel between the second site, the second other line unit, and the backup local add / drop unit, wherein the second other line unit is used to represent a line unit other than the main line unit, the backup line unit, and the first other line unit among the multiple line units; determining the optical channel between the second site, the second other line unit, and the backup local add / drop unit as the backup optical channel; determining the first other line unit and the second other line unit as the target line units, forwarding the external data to the second optical splitter of the main local add / drop unit through the second wavelength selective switch of the first other line unit, and forwarding the external data to the second optical splitter of the backup local add / drop unit through the second wavelength selective switch of the second other line unit.
10. A reconfigurable optical add / drop multiplexer site, comprising: At least one local add / drop unit is connected to a local device, the local add / drop unit comprising at least: a first optical splitter and a second optical splitter; and multiple line units, the line units comprising at least: a first wavelength selective switch and a second wavelength selective switch, the first wavelength selective switch being connected to the first optical splitter, and the second wavelength selective switch being connected to the second optical splitter. The first optical splitter of the at least one local add / drop unit is configured to broadcast local data sent by the local device to the first wavelength selective switches of the multiple line units. The multiple line units are configured to send the local data to other reconfigurable optical add / drop multiplexer sites and receive external data sent by the other reconfigurable optical add / drop multiplexer sites. The local data is forwarded by the other reconfigurable optical add / drop multiplexer sites to external devices. The external data is data fed back to the other reconfigurable optical add / drop multiplexer sites by the external devices based on the local data. The second wavelength selective switch of a target line unit among the multiple line units is configured to forward the external data to the second optical splitter of the local add / drop unit corresponding to the target line unit. The local add / drop unit corresponding to the target line unit is configured to forward the external data to the local device. The other reconfigurable optical add / drop multiplexer sites are used to characterize the reconfigurable optical add / drop multiplexer. Other sites except the reconfigurable optical add / drop multiplexer site among the multiple reconfigurable optical add / drop multiplexer sites included in the add / drop multiplexer site.
11. The reconfigurable optical add / drop multiplexer site according to claim 10, wherein: The at least one local add / drop unit comprises a local add / drop unit; The reconfigurable optical add / drop multiplexer site further includes: a control unit connected to the local add / drop unit and the plurality of line units, and configured to create an optical channel between a first line unit among the plurality of line units and the other reconfigurable optical add / drop multiplexer site, and to create a first restoration optical channel between a second line unit among the plurality of line units and the other reconfigurable optical add / drop multiplexer site; and, if the first line unit detects that the line is normal, determine that the target line unit is the first line unit, and activate a second wavelength selective switch of the first line unit to forward the external data to the second optical splitter of the local add / drop unit; When the first line unit detects a line interruption fault, it determines that the target line unit is the second line unit, and starts the second wavelength selective switch of the second line unit to forward the external data to the second optical splitter of the local add / drop unit.
12. The reconfigurable optical add / drop multiplexer site according to claim 10, wherein: The at least one local add / drop unit includes a primary local add / drop unit and a backup local add / drop unit; The reconfigurable optical add / drop multiplexer site further includes: a control unit connected to the primary local add / drop unit, the backup local add / drop unit, and the multiple line units, and configured to create a primary optical channel between the other reconfigurable optical add / drop multiplexer sites, a primary line unit among the multiple line units, and the primary local add / drop unit, and to create a backup optical channel between the other reconfigurable optical add / drop multiplexer sites, a backup line unit among the multiple line units, and the backup local add / drop unit; determine the primary line unit and the backup line unit as the target line units, activate a second wavelength selective switch of the primary line unit to forward the external data to the second optical splitter of the primary local add / drop unit, and activate the second wavelength selective switch of the backup line unit to forward the external data to the second optical splitter of the backup local add / drop unit.
13. The reconfigurable optical add / drop multiplexer site according to claim 12, wherein: The reconfigurable optical add / drop multiplexer site further includes: a selection unit configured to select the active local add / drop unit or the backup local add / drop unit to forward the external data to the local device when the active line unit detects that the line is normal and the backup line unit detects that the line is normal; forward the external data to the local device through the backup local add / drop unit when the active line unit detects that a line interruption fault occurs and the backup line unit detects that the line is normal; and forward the external data to the local device through the backup local add / drop unit when the active line unit detects that the line is normal. When the line is normal and the backup line unit detects that a line interruption fault occurs, the external data is forwarded to the local device through the active local add / drop unit.
14. A reconfigurable optical add / drop multiplexer network, comprising: A plurality of reconfigurable optical add / drop multiplexer sites as claimed in any one of claims 10 to 13.
15. An electronic device, comprising: a memory storing an executable program; A processor is configured to run the program, wherein the program executes the method according to any one of claims 1 to 9 when running.
16. A computer-readable storage medium comprising a stored executable program, wherein when the executable program is executed, the device where the storage medium is located is controlled to execute the method according to any one of claims 1 to 9. 32
Citation Information
Patent Citations
Dynamic monitoring and calibration of nodes in optical networking device
CN111247466A
Optical fiber connection box, data processing method and computer storage medium
CN114545562A
Reconfigurable optical add drop multiplexer
CN115314147A
System and method for shared mesh restoration in optical networks
US20130272693A1
Wavelength selective switch (WSS) based multiplexing architecture
US20160191189A1