Optical switch switching protection method and device

By gradually adjusting the driving voltage of the optical switch and using multiple gradual switching methods, the life damage and reliability reduction caused by direct switching of the optical switch driving voltage is solved, and the effect of extending the service life of the optical switch and improving the reliability of the OCS system is achieved.

CN119854682APending Publication Date: 2025-04-18ACCELINK TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510003503.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In the prior art, direct switching of the driving voltage of the optical switch will damage the life of the optical switch and reduce the reliability of the switching.

Method used

By obtaining at least one set of intermediate voltages, the initial driving voltage is gradually adjusted to the target driving voltage, and multiple gradual switching is used to achieve a smooth curve change in the voltage.

Benefits of technology

Without affecting the switching performance of the optical switch, the service life of the optical switch is extended, thereby improving the reliability of the entire OCS system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854682A_ABST
    Figure CN119854682A_ABST
Patent Text Reader

Abstract

The invention relates to the field of optical switch control, in particular to an optical switch switching protection method and device. The method mainly comprises the following steps: acquiring at least one group of intermediate voltages according to an initial driving voltage of a channel before switching and a target driving voltage of a channel after switching; wherein the same group of intermediate voltages are not located on the same straight line, and any intermediate voltage is different from the driving voltage of any channel in the optical switch; and selecting a group of intermediate voltages, and sequentially changing the driving voltage of the optical switch to each intermediate voltage from the initial driving voltage until the target driving voltage is reached. According to the invention, smooth curve change of the voltage can be realized, and the service life of the optical switch can be prolonged under the condition that the switching performance of the optical switch is not influenced, so that the reliability of the whole OCS system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of optical switch control, and in particular to a protection method and device for optical switch switching. Background Art

[0002] In recent years, with the development and expansion of data centers, the optical network of data centers has become increasingly large and complex. In super-large computing or cloud computing, it is necessary to coordinate and distribute the processing in many separate data centers and research centers. The use of optical circuit switching (OCS) optical switches can effectively connect many computing resources and storage resources at high speed to realize a super-large computing and storage function-integrated system.

[0003] OCS, also known as optical switch array, is usually composed of many optical switches. The rules of input ports and output ports can be 192*192, 256*256, 384*348 or higher dimensions. Since the correspondence between the input port and output port of the optical switch can be switched arbitrarily, this feature adds great flexibility to the networking, especially for networks that need to be expanded and changed. It improves scalability. It is precisely because of this feature that OCS is used more and more widely, such as large cloud networks, large equipment sharing automatic test systems, all-optical cross-connect (OXC) core optical network applications, etc.

[0004] Since the scenarios in which OCS is used are all related to system networking, the reliability of OCS is required to be very high. Otherwise, errors will have a wide impact, so the switching mechanism of OCS needs to be designed reasonably. The current OCS solution hardware implements the switching of optical switches between different channels by applying the driving voltage corresponding to each channel. In a certain scenario, the driving voltage corresponding to channel A is V1, and the driving voltage corresponding to channel B is V2. When the optical switch switches from channel A to channel B, if (V2-V1) or (V1-V2) is relatively large, if the driving voltage is directly adjusted from the current V1 to the expected target value V2, it will damage the life of the optical switch and reduce the reliability of the optical switch switching.

[0005] In view of this, how to overcome the defects of the prior art and solve the problem caused by the direct switching of the driving voltage of the optical switch is a problem to be solved in the technical field. Summary of the invention

[0006] In view of the above defects or improvement requirements of the prior art, the present invention solves the problem caused by direct switching of the driving voltage of the optical switch.

[0007] The embodiment of the present invention adopts the following technical solution:

[0008] In a first aspect, the present invention provides a protection method for switching of an optical switch, specifically: obtaining at least one group of intermediate voltages based on an initial driving voltage of a channel before switching and a target driving voltage of a channel after switching; wherein the same group of intermediate voltages are not on the same straight line, and any intermediate voltage is different from the driving voltage of any channel in the optical switch; selecting a group of intermediate voltages, starting from the initial driving voltage, and changing the driving voltage of the optical switch to each intermediate voltage in turn until the target driving voltage is reached.

[0009] Preferably, the obtaining of at least one group of intermediate voltages specifically includes: taking the initial driving voltage as the first current driving voltage, calculating the current voltage difference between the current driving voltage and the target driving voltage, taking the product of the current voltage difference and the current power-on coefficient as the current incremental voltage, and taking the sum of the current driving voltage and the current incremental voltage as the next configuration voltage; taking the next configuration voltage as the current driving voltage, calculating the current incremental voltage and the next configuration voltage according to the current power-on coefficient until the next configuration voltage reaches the target driving voltage, and taking all current driving voltages except the initial driving voltage as a group of intermediate voltages; wherein the value range of the current power-on coefficient is (0,1], and the current power-on coefficient corresponding to each current driving voltage increases monotonically one by one.

[0010] Preferably, the obtaining of at least one set of intermediate voltages specifically includes: taking the initial driving voltage and the target driving voltage as two points on a curve to obtain a corresponding curve; sampling on the curve, and taking all voltages sampled on one curve as a set of intermediate voltages.

[0011] Preferably, the obtaining of at least one set of intermediate voltages further includes: obtaining driving voltages of other channels, and when the intermediate voltage and the obtained driving voltage are less than a specified voltage difference, using the intermediate voltage as a conflict voltage; for each conflict voltage, offsetting it according to a specified offset value, and using the offset voltage as the corresponding intermediate voltage.

[0012] Preferably, obtaining at least one group of intermediate voltages specifically includes: taking the initial driving voltage as the starting point of the path, the target driving voltage as the end point of the path, and the driving voltages of other channels as obstacles, and planning at least one voltage change path; wherein the voltage change path is not a straight line; sampling the voltage change path, and taking all voltages sampled on a voltage change path as a group of intermediate voltages; wherein the sampling points include all inflection points on the voltage change path.

[0013] Preferably, the planning of obtaining at least one voltage change path with the initial driving voltage as the starting point of the path, the target driving voltage as the end point of the path, and the driving voltages of other channels as obstacles specifically includes: obtaining the voltage offset value of the driving voltage of each channel according to the arrangement of the channels; using the voltage offset value of the initial driving voltage as the starting point of the path, the voltage offset value of the target driving voltage as the end point of the path, and the voltage offset values ​​driven by other channels as obstacles, completing the corresponding path planning to obtain at least one voltage change path.

[0014] Preferably, the using voltage offset values ​​driven by other channels as obstacles specifically includes: using voltage offset values ​​of other channels as midpoints and designated crosstalk distances as radius to obtain circular crosstalk spaces corresponding to each channel, and using the circular crosstalk spaces as obstacles.

[0015] Preferably, obtaining at least one set of intermediate voltages further includes: when the initial driving voltage is greater than the target driving voltage, the intermediate voltage is less than the initial driving voltage and greater than the target driving voltage; when the initial driving voltage is less than the target driving voltage, the intermediate voltage is greater than the initial driving voltage and less than the target driving voltage.

[0016] In a second aspect, the present invention provides a protection device for optical switch switching, specifically: comprising at least one processor and a memory, wherein the at least one processor and the memory are connected via a data bus, and the memory stores instructions that can be executed by the at least one processor, and after the instructions are executed by the processor, they are used to complete the protection method for optical switch switching in the first aspect.

[0017] In a third aspect, the present invention further provides a non-volatile computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are executed by one or more processors to complete the method provided in the first aspect.

[0018] In a fourth aspect, a chip is provided, comprising: a processor and an interface, for calling and running a computer program stored in the memory from a memory, and executing the method provided in the first aspect.

[0019] According to a fifth aspect, a computer program product comprising instructions is provided. When the instructions are executed on a computer or a processor, the computer or the processor executes the method provided in the first aspect.

[0020] Compared with the prior art, the beneficial effect of the present invention lies in: selecting multiple intermediate voltages between the initial driving voltage and the target driving voltage, and performing multiple progressive switching according to the intermediate voltages to achieve a smooth curve change of the voltage. Without affecting the switching performance of the optical switch, the service life of the optical switch can be extended, thereby improving the reliability of the entire OCS system. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 A schematic diagram of a voltage change path when an optical switch is switched in the prior art;

[0023] Figure 2 A flow chart of a protection method for optical switch switching provided by an embodiment of the present invention;

[0024] Figure 3 A schematic diagram of a voltage change path when an optical switch is switched in the method provided by an embodiment of the present invention;

[0025] Figure 4 A schematic diagram of a K value change during a switching process in the method provided in an embodiment of the present invention;

[0026] Figure 5 A schematic diagram of a voltage change path calculation process when an optical switch is switched in a method provided in an embodiment of the present invention;

[0027] Figure 6 A schematic diagram of the structure of a protection device for optical switch switching provided by an embodiment of the present invention;

[0028] The reference numerals are as follows:

[0029] 11: processor; 12: memory. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0031] The present invention is an architecture of a specific functional system, so the specific embodiments mainly illustrate the functional logical relationship between the various structural modules, and do not limit the specific software and hardware implementation methods.

[0032] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other. The present invention will be described in detail below with reference to the accompanying drawings and embodiments.

[0033] In the scenario of this embodiment, in the current state, channel A in the optical switch is connected, and the corresponding driving voltage is Vstart (abbreviated as Vs); it is necessary to switch to channel B, and the expected target voltage is Vtarget (abbreviated as Vt).

[0034] The driving voltage can be changed from Vs to Vt by many voltage change paths, such as straight line, step, curve, etc. In the prior art, Vs is usually directly increased to Vt, and the voltage change path can be expressed as a linear equation: Vt = Vs*K+B, and its trajectory is as follows Figure 1 As shown, that is, a straight line with Vs and Vt as vertices. The advantages and disadvantages of the straight line path adjustment method are very obvious: the advantage is fast switching, and the target value can be reached in one switch; the disadvantage is that if the difference between Vt and Vs is large, the sudden change of the optical switch driving voltage will affect the service life of the optical switch.

[0035] Embodiment 1:

[0036] In order to avoid affecting the life of the optical switch, when the switching time T meets the performance index, it is necessary to ensure the stability of the switching without pursuing speed. In this embodiment, a protection method for optical switch switching is proposed, which realizes smooth switching of the optical switch voltage by changing the curve of the driving voltage, so as to reduce the damage when the optical switch is switched and ensure the life of the optical switch.

[0037] like Figure 2 As shown, the optical switch switching protection method provided by the embodiment of the present invention has the following specific steps:

[0038] Step 101: obtaining at least one set of intermediate voltages according to an initial driving voltage of a channel before switching and a target driving voltage of a channel after switching.

[0039] In the method provided in this embodiment, a curved path is used to increase the driving voltage. The voltage change path of the driving voltage is as follows: Figure 3 As shown, the driving voltage increases from Vs to Vt through the curve path shown by curve A or curve B, and each Vnext is an intermediate voltage. This method can well balance the requirements of switching speed and switching smoothness. In actual scenarios, there can be countless curves between Vs and Vt, and the trajectory and curvature of each curve are different. You can choose a suitable curve as needed.

[0040] However, in the actual control process, it is not easy to control the driving voltage to change along the curve. In this embodiment, a curved path is converted into a multi-segment broken line trajectory that matches the curved trajectory, and the inflection point of the broken line is used as the intermediate voltage for voltage adjustment during switching. All inflection points on each broken line are a group of intermediate voltages. In order to ensure the smoothness of the change, the same group of intermediate voltages are not on the same straight line. On the other hand, in order to avoid the switching process affecting other channels, any intermediate voltage is different from the driving voltage of any channel in the optical switch.

[0041] Furthermore, when adjusting the driving voltage, it is necessary to ensure that the driving voltage varies within a range between Vs and Vt. In actual implementation, the control can be performed through the intermediate voltage. Specifically, when the initial driving voltage is greater than the target driving voltage, the intermediate voltage is less than the initial driving voltage and greater than the target driving voltage; when the initial driving voltage is less than the target driving voltage, the intermediate voltage is greater than the initial driving voltage and less than the target driving voltage. Figure 3 In one scenario, Vs is less than Vt, so curve A is used as the voltage change path; in another scenario, Vs' is greater than Vt', and curve B is used as the voltage change curve when Vs' decreases to Vt'; in the above two scenarios, the time axis of curve A is opposite to the time axis of curve B.

[0042] Step 102: Select a set of intermediate voltages, start from the initial driving voltage, and sequentially change the driving voltage of the optical switch to each intermediate voltage until the target driving voltage is reached.

[0043] After obtaining multiple sets of intermediate voltages, you need to select one set of intermediate voltages as the actual voltage change path. When making a selection, you can determine the selection basis based on the actual scenario, such as: minimum crosstalk during switching, shortest switching time, smoothest voltage change path, maximum deviation from other channel drive voltages, etc. You can also combine multiple factors for comprehensive evaluation and screening. In general scenarios, select the path with the minimum crosstalk during switching as the voltage change path to avoid affecting other channels as much as possible.

[0044] After selecting the intermediate voltage to be used, the initial driving voltage can be increased or decreased to each intermediate voltage in sequence until the target driving voltage is reached, thereby completing the smooth switching of the driving voltage.

[0045] After step 101 to step 102 provided in this embodiment, a voltage variation path in the form of a curve can be obtained, and smooth switching can be completed according to the path.

[0046] In actual implementation, different parameters can be controlled to obtain different curve paths, thereby achieving different curvatures to realize the switching of the optical switch. When the driving voltage is adjusted in steps based on the intermediate voltage, the change in curvature can be achieved by adjusting the number and voltage value of the intermediate voltage. Specifically, first determine the number of intermediate voltage points N according to the values ​​of Vs and Vt. The number of N represents the number of times the driving voltage is adjusted from Vs to Vt. The number of points can be 10, 20, 30 or other values, which can be flexibly configured according to the actual application. In a specific scenario, Vs = 1, Vt = 30, N = 20, and 20 steps of driving voltage change are required from Vs to Vt, corresponding to 20 intermediate voltages. The intermediate voltages can be selected from 1, 1.2, 1.5, 1.8...29.2, 29.5, 30.

[0047] In actual implementation, an appropriate method can be selected to calculate the voltage change path and the intermediate voltage according to actual calculation needs or control needs. The following simply provides some available calculation methods. It is understandable that the following specific implementation methods are only used to illustrate the specific implementation process of the method in this embodiment in certain specific scenarios, and are not intended to limit the scope of protection.

[0048] In a specific scenario, the intermediate voltage value is calculated using a step-by-step recursive method. The initial driving voltage is used as the first current driving voltage, the current voltage difference between the current driving voltage and the target driving voltage is calculated, the product of the current voltage difference and the current power-on coefficient is used as the current incremental voltage, and the sum of the current driving voltage and the current incremental voltage is used as the next configuration voltage. The next configuration voltage is used as the current driving voltage, and the current incremental voltage and the next configuration voltage are calculated according to the current power-on coefficient until the next configuration voltage reaches the target driving voltage. All current driving voltages except the initial driving voltage are used as a set of intermediate voltages.

[0049] In a specific implementation, each time the recursion is performed, the current intermediate voltage Vnext can be calculated using the following formula:

[0050] Vnext=Vnow+(Vt-Vnow)*K;

[0051] Wherein: K is the current power-on coefficient, the value range of the current power-on coefficient is (0,1], greater than 0 and less than or equal to 1; Vnow is the current driving voltage during this recursion, and Vnow = Vs during the first recursion; Vnext is the middle voltage during this recursion, that is, Vnow during the next recursion.

[0052] In the same voltage change path, when calculating each Vnext, the value of K used may be the same or different. The number of K values ​​used in the entire calculation process corresponds to the number of intermediate voltages that the voltage change path needs to include.

[0053] Since Vnext is calculated by recursion, (Vt-Vnow) is different in each recursion, so the change between every two adjacent Vnext is different, which can change the voltage change path from a straight line to a smooth curve, avoiding the uniformly increasing straight line path in the existing method.

[0054] In the specific implementation, the curvature of the Vs to Vt curve can be adjusted by the current power-on coefficient K, and the curvature determines whether the curve shape is smooth. Considering the voltage range of Vs and Vt, the value range of K and the curve formula can be selected to select the switching curve. When the recursion is performed for the first time, the initial driving voltage Vs is the first Vnow, and the difference delta with the target driving voltage Vt is the largest. With each increment, the new Vnext is used as the new Vnow in the current calculation, Vnow constantly approaches Vt, and the interval delta between Vnow and Vt becomes smaller and smaller. Finally, Vnow and Vt reach an agreement and reach the adjustment end point. In general scenarios, the current power-on coefficient K corresponding to each current driving voltage Vnow increases monotonically one by one, and the K value is the smallest at the beginning, so that the amplitude of K*delta is small and the jump is smooth; when the interval delta between Vnow and Vt becomes smaller and smaller, K begins to increase, but the amplitude of K*delta can still be kept small, and the jump is smooth.

[0055] On the other hand, in the above formula, the smaller the K value, the smaller the amplitude of K*delta, and the more switching times are required to reach Vt. In the switching process of the optical switch, the time of each voltage switching is the same, and the more switching times, the longer the overall switching time T. Therefore, in actual implementation, it is also necessary to control the number of intermediate voltages through the K value so that the voltage change path strikes a balance between smoothness and less time consumption. Specifically, each group of K values ​​can be traversed to confirm the voltage value and switching time passed by the curve corresponding to each group of K values, so as to obtain the voltage change path actually used.

[0056] In a specific scenario, the initial driving voltage is 0V and the target driving voltage is 90V, corresponding to 192 channels of OCS; or, the initial driving voltage is 0V and the target driving voltage is 120V, corresponding to 384 channels of OCS. In this scenario, the number of intermediate voltages N is 20. Switching from the initial driving voltage to the target driving voltage will pass through 20 intermediate voltages, and a maximum of 20 K values ​​can be used. On a certain voltage change path, the power-on coefficient K can be taken as follows for each recursion: 0.050, 0.053, 0.056, 0.059, 0.063, 0.067, 0.071, 0.077, 0.083, 0.091, 0.100, 0.111, 0.125, 0.143, 0.167, 0.200, 0.250, 0.333, 0.500, 1.000. In this scenario, the power-on coefficient K takes the minimum value in the first recursion, and increases monotonically in each recursion, and finally reaches 1. The value curve of the power-on coefficient K is as follows: Figure 4 As shown, it can be seen that the value of K is a curve waveform, which can make (Vnow-Vt) change unevenly during each recursion, so that its corresponding voltage change path is also a curve. Therefore, in this embodiment, by configuring different power-on coefficients K, a curve that meets the conditions can be obtained without sacrificing switching time performance.

[0057] In a specific scenario, the voltage change path in the form of a curve is directly obtained, and then the intermediate voltage value is calculated by curve sampling. Specifically: the initial drive voltage and the target drive voltage are taken as two points on the curve to obtain the corresponding curve; sampling is performed on the curve, and all voltages sampled on a curve are taken as a set of intermediate voltages. In specific implementations, the voltage change path in the form of a curve can be obtained by specifying a curve formula, the best curve obtained from actual scenarios or experiments, and trajectory prediction using a neural network. When sampling, characteristic points such as the inflection point of the curve need to be used as sampling points to ensure that the actual voltage change path matches the shape of the curve.

[0058] In actual implementation, since OCS contains multiple optical switch channels, there may be driving voltages of other channels between the initial driving voltage Vs and the target driving voltage Vt, and the voltage change path calculated by the above method may pass through the driving voltages of other channels. Therefore, after obtaining the intermediate voltage, it is also necessary to determine whether the voltage change path where the intermediate voltage is located conflicts with the driving voltages of other channels and resolve the conflict. In specific implementations, the conflict can be resolved by adjusting the curve trajectory or adjusting the intermediate voltage value. In a certain scenario, the driving voltages of other channels are obtained. When the intermediate voltage and the obtained driving voltage are less than the specified voltage difference, the intermediate voltage is used as the conflict voltage; for each conflicting voltage, it is offset according to the specified offset value, and the offset voltage is used as the corresponding intermediate voltage.

[0059] In a specific scenario, the driving voltage that conflicts with other channels is directly avoided by path planning. Specifically: take the initial driving voltage as the starting point of the path, the target driving voltage as the end point of the path, and the driving voltage of other channels as obstacles, and plan at least one voltage change path. Sample the voltage change path, and take all the voltages sampled on a voltage change path as a set of intermediate voltages; wherein the sampling points include all inflection points on the voltage change path. When performing path planning, the planned voltage change path is not a straight line, it can be a multi-segment broken line or a curve. When the voltage change path is a broken line, the inflection point of each broken line segment is used as a sampling point; when the voltage change path is a curve, the characteristic points on the curve are used as sampling points.

[0060] The common OCS at present is usually based on the Micro-Electro-Mechanical System (MEMS) process. The voltage offset between the two channels in the optical switch is related to the position offset value between the switch chips corresponding to the channels. When the switch chips are arranged in a two-dimensional matrix, the voltage offset value of the driving voltage includes an x ​​component and a y component, specifically: Vx+, Vx-, Vy+, Vy-. When the two channels are in the same column, the x component of the voltage offset value is 0; when the two channels are in the same row, the y component of the voltage offset value is 0. The x component of the voltage offset value corresponds to the x-direction offset distance of the switch chip, and the y component of the voltage offset value corresponds to the y-direction offset distance of the switch chip. Therefore, the path planning of the voltage change path can be performed with reference to the position of the switch chip corresponding to the channel. Specifically: according to the arrangement of the channels, the voltage coordinates of the driving voltage of each channel are obtained; the voltage offset value of the initial driving voltage is used as the starting point of the path, the voltage offset value of the target driving voltage is used as the end point of the path, and the voltage offset values ​​of other channels are used as obstacles to complete the corresponding path planning to obtain at least one voltage change path.

[0061] Similarly, when performing path planning, it is also necessary to avoid conflicts with the driving voltages of other channels. In scenarios where the voltage offset value contains x-component and y-component, the driving voltage range of other channels that need to be avoided can also be calculated based on the position of the switch chip. Specifically: take the voltage offset value of other channels as the midpoint, and the specified crosstalk distance as the radius to obtain the circular crosstalk space corresponding to each channel, and use the circular crosstalk space as an obstacle. In general scenarios, crosstalk will occur when the distance between switch chips is less than 0.5mm, so the crosstalk distance can be set to 0.5mm.

[0062] In a specific scenario, the optical switch specification is 120*120, and the switch chips corresponding to the channels in the MEMS array are arranged as follows: Figure 5As shown, each circle represents the circular crosstalk space of a channel, and the center of the circle is the voltage offset value of the channel. In this scenario, it is necessary to switch from channel 1 to channel 16 at the same time. At the same time, channel 2 switches to channel 13, and channel 3 switches to channel 15. Therefore, during the process of switching from channel 1 to channel 16, the change in the driving voltage cannot affect the connection between channel 2 and channel 13, nor can it affect the connection between channel 3 and channel 15. When switching, there can be multiple curved paths that meet the requirements between channel 1 and channel 16. Among them, the voltage change path shown by the dotted line is a straight line, and the circular crosstalk space passing through channel 2 and channel 15 intersects, which will affect the state of optical switches 2 and 15, thereby forming the so-called switching crosstalk or interference, which does not meet the requirements. The voltage change path shown by the solid line is the curve change path obtained by the method of this embodiment. The switching process does not affect the requirements of other channels and can be used as a voltage change path to be selected.

[0063] The optical switch switching protection method provided in this embodiment selects multiple intermediate voltages between the initial driving voltage and the target driving voltage, and performs multiple progressive switching according to the intermediate voltages to achieve a smooth curve change of the voltage. Without affecting the switching performance of the optical switch, the service life of the optical switch can be extended, thereby improving the reliability of the entire OCS system.

[0064] Embodiment 2:

[0065] Based on the optical switch switching protection method provided in the above embodiment 1, the present invention also provides an optical switch switching protection device that can be used to implement the above method, such as Figure 6 , which is a schematic diagram of the device architecture of an embodiment of the present invention. The optical switch protection device of this embodiment includes one or more processors 11 and a memory 12. Figure 6 A processor 11 is taken as an example.

[0066] The processor 11 and the memory 12 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0067] The memory 12 is a non-volatile computer-readable storage medium for the protection method of optical switch switching, and can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as the protection method of optical switch switching in Example 1. The processor 11 executes various functional applications and data processing of the protection device of optical switch switching by running the non-volatile software programs, instructions and modules stored in the memory 12, that is, the protection method of optical switch switching in Example 1 is implemented.

[0068] The memory 12 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 12 may optionally include a memory remotely arranged relative to the processor 11, and these remote memories may be connected to the processor 11 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0069] The program instructions / modules are stored in the memory 12, and when executed by one or more processors 11, the protection method for optical switch switching in the above embodiment 1 is executed, for example, the above described Figure 2 The steps shown.

[0070] An embodiment of the present invention further provides a non-volatile computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are executed by one or more processors, such as Figure 6 A processor 11 in the embodiment may enable the one or more processors to execute the protection method for optical switch switching in embodiment 1, for example, to execute the above-described Figure 2 The steps shown.

[0071] It is worth noting that the information interaction, execution process, etc. between the modules and units within the above-mentioned devices and systems are based on the same concept as the processing method embodiment of the present invention. The specific contents can be found in the description of the method embodiment of the present invention and will not be repeated here.

[0072] A person skilled in the art may understand that all or part of the steps in the various methods of the embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0073] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A protection method for optical switch switching, characterized in that: include: Obtain at least one set of intermediate voltages according to the initial driving voltage of the channel before switching and the target driving voltage of the channel after switching; wherein the intermediate voltages of the same set are not on the same straight line, and any intermediate voltage is different from the driving voltage of any channel in the optical switch; A set of intermediate voltages is selected, starting from the initial driving voltage, and the driving voltage of the optical switch is sequentially changed to each intermediate voltage until the target driving voltage is reached.

2. The optical switch protection method according to claim 1, characterized in that: The obtaining of at least one set of intermediate voltages specifically includes: Taking the initial driving voltage as the first current driving voltage, calculating the current voltage difference between the current driving voltage and the target driving voltage, taking the product of the current voltage difference and the current power-on coefficient as the current incremental voltage, and taking the sum of the current driving voltage and the current incremental voltage as the next configuration voltage; The next configuration voltage is used as the current driving voltage, and the current incremental voltage and the next configuration voltage are calculated according to the current power-on coefficient until the next configuration voltage reaches the target driving voltage, and all current driving voltages except the initial driving voltage are used as a group of intermediate voltages; wherein the value range of the current power-on coefficient is (0,1], and the current power-on coefficient corresponding to each current driving voltage increases monotonically one by one.

3. The optical switch protection method according to claim 1, characterized in that: The obtaining of at least one set of intermediate voltages specifically includes: Taking the initial driving voltage and the target driving voltage as two points on the curve, a corresponding curve is obtained; Sampling is performed on the curve, and all voltages sampled on a curve are taken as a group of intermediate voltages.

4. The optical switch protection method according to any one of claims 2 or 3, characterized in that: The obtaining of at least one set of intermediate voltages further comprises: Obtaining the driving voltage of other channels, when the intermediate voltage and the obtained driving voltage are less than the specified voltage difference, the intermediate voltage is used as the conflict voltage; Each conflicting voltage is offset according to a specified offset value, and the offset voltage is used as the corresponding intermediate voltage.

5. The optical switch protection method according to claim 1, characterized in that: The obtaining of at least one set of intermediate voltages specifically includes: Taking the initial driving voltage as the path starting point, the target driving voltage as the path ending point, and the driving voltages of other channels as obstacles, at least one voltage change path is planned; wherein the voltage change path is not a straight line; The voltage change path is sampled, and all voltages sampled on the voltage change path are used as a group of intermediate voltages; wherein the sampling points include all inflection points on the voltage change path.

6. The protection method for optical switch switching according to claim 5, characterized in that: The method of planning at least one voltage change path with the initial driving voltage as the path starting point, the target driving voltage as the path ending point, and the driving voltages of other channels as obstacles specifically includes: According to the arrangement of the channels, a voltage offset value of the driving voltage of each channel is obtained; The voltage offset value of the initial driving voltage is used as the path starting point, the voltage offset value of the target driving voltage is used as the path end point, and the voltage offset values ​​driven by other channels are used as obstacles to complete the corresponding path planning to obtain at least one voltage change path.

7. The optical switch protection method according to claim 6, characterized in that: The voltage offset value driven by other channels is used as an obstacle, specifically including: The voltage offset value of other channels is taken as the midpoint and the specified crosstalk distance is taken as the radius to obtain the circular crosstalk space corresponding to each channel, and the circular crosstalk space is taken as the obstacle.

8. The optical switch protection method according to claim 1, characterized in that: The obtaining of at least one set of intermediate voltages further comprises: When the initial driving voltage is greater than the target driving voltage, the intermediate voltage is less than the initial driving voltage and greater than the target driving voltage; When the initial driving voltage is lower than the target driving voltage, the intermediate voltage is higher than the initial driving voltage and lower than the target driving voltage.

9. A protection device for optical switch switching, characterized in that: The method comprises at least one processor and a memory, wherein the at least one processor and the memory are connected via a data bus, and the memory stores instructions executable by the at least one processor, and after being executed by the processor, the instructions are used to complete the protection method for optical switch switching according to any one of claims 1 to 8.

10. A non-volatile computer storage medium, characterized in that: The computer storage medium stores computer executable instructions, which are executed by one or more processors to implement the optical switch switching protection method according to any one of claims 1 to 8.