CN113484956A - Optical switch channel switching method, system, optical switch and storage medium - Google Patents

Optical switch channel switching method, system, optical switch and storage medium Download PDF

Info

Publication number
CN113484956A
CN113484956A CN202110661683.5A CN202110661683A CN113484956A CN 113484956 A CN113484956 A CN 113484956A CN 202110661683 A CN202110661683 A CN 202110661683A CN 113484956 A CN113484956 A CN 113484956A
Authority
CN
China
Prior art keywords
quadrant
point
initial
target
channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110661683.5A
Other languages
Chinese (zh)
Other versions
CN113484956B (en
Inventor
周强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
O Net Technologies Shenzhen Group Co Ltd
Original Assignee
O Net Communications Shenzhen Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by O Net Communications Shenzhen Ltd filed Critical O Net Communications Shenzhen Ltd
Priority to CN202110661683.5A priority Critical patent/CN113484956B/en
Publication of CN113484956A publication Critical patent/CN113484956A/en
Application granted granted Critical
Publication of CN113484956B publication Critical patent/CN113484956B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B6/00Light guides; Structural details of arrangements comprising light guides and other optical elements, e.g. couplings
    • G02B6/24Coupling light guides
    • G02B6/26Optical coupling means
    • G02B6/35Optical coupling means having switching means
    • G02B6/3564Mechanical details of the actuation mechanism associated with the moving element or mounting mechanism details
    • G02B6/3584Mechanical details of the actuation mechanism associated with the moving element or mounting mechanism details constructional details of an associated actuator having a MEMS construction, i.e. constructed using semiconductor technology such as etching

Abstract

The invention provides an optical switch channel switching method, an optical switch channel switching system, an optical switch and a storage medium. The optical switch channel switching method comprises the following steps: acquiring a to-be-divided area including at least one to-be-divided channel calibration point, and performing quadrant division operation on the to-be-divided area, wherein the quadrant division operation divides the to-be-divided area into four quadrants; acquiring a coordinate mean value of at least one to-be-determined channel calibration point included in each quadrant, taking the coordinate mean value as a current quadrant transit point of the corresponding quadrant, and acquiring a quadrant origin of quadrant division operation as a current quadrant center point; screening all channel scaling points to be determined in each quadrant according to the current quadrant transit point and the current quadrant central point to obtain at least one qualified channel scaling point; and acquiring initial calibration points and target calibration points in all the qualified channel calibration points, and planning a switching path according to the initial calibration points and the target calibration points. The invention can effectively improve the production efficiency and the use quality of the optical switch product.

Description

Optical switch channel switching method, system, optical switch and storage medium
Technical Field
The invention relates to the field of optical channels, in particular to an optical switch channel switching method, an optical switch channel switching system, an optical switch and a storage medium.
Background
At present, a Micro-Electro-Mechanical System (MEMS) optical switch occupies a higher and higher market for the whole optical switch due to its low insertion loss, polarization insensitivity, and low power consumption. Mature MEMS optical switches are known as 1x2,1x4, 1x8, 1x 16. In recent years, MEMS optical switches are developed towards more channels, and the market demand for 1x32,1x48, 1x64 and 1x128 optical switches is increasing.
The MEMS optical switch is internally provided with a chip, and the rotating position of the chip is adjusted by changing the voltage of the chip. Each output port of the MEMS optical switch has an optimal set of chip control data, i.e., channel calibration. When the channel calibration value is changed, the optical output port of the MEMS optical switch can be changed. With the increase of the number of channels of the optical switch, the switching between the channels may have optical signal flash in a non-specified channel; the occurrence of such optical signals may cause the system to generate erroneous judgment.
The channel switching of the MEMS optical switch is usually directly switched from the coordinate origin of the chip to each channel calibration point, and manually checks the calibration data of all channels of all the optical switches, analyzes the calibration data, and selects out and discards the channels which may have optical signal flash. Therefore, more channels can be judged and abandoned, and the number of channels of the optical switch is wasted; secondly, because of manual selection, the working efficiency is low and the quality may be unstable.
Disclosure of Invention
The invention aims to solve the technical problems of low efficiency and low quality reliability of manually screening qualified channel calibration points, and provides an optical switch channel switching method, an optical switch channel switching system, an optical switch and a storage medium aiming at the defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: provided is an optical switch channel switching method, comprising: acquiring a to-be-divided area including at least one to-be-determined channel calibration point, and performing quadrant division operation on the to-be-divided area, wherein the quadrant division operation divides the to-be-divided area into four quadrants; acquiring a coordinate mean value of at least one to-be-determined channel calibration point included in each quadrant, taking the coordinate mean value as a current quadrant transit point of a corresponding quadrant, and acquiring a quadrant origin of quadrant division operation as a current quadrant center point; screening the at least one to-be-determined channel scaling point in each quadrant according to the current quadrant transit point and the current quadrant central point to obtain at least one qualified channel scaling point; and acquiring an initial scaling point and a target scaling point in the at least one qualified channel scaling point, and planning a switching path according to the initial scaling point and the target scaling point.
Wherein, the step of screening the at least one to-be-determined channel calibration point according to the current quadrant transit point and the current quadrant center point comprises: and taking the undetermined channel scaling point corresponding to the position distance which is greater than or equal to a preset distance threshold value as the qualified channel scaling point.
Wherein, the step of screening the at least one to-be-determined channel calibration point according to the current quadrant transit point and the current quadrant center point comprises: aiming at each quadrant, taking the central point of the center of the current quadrant as an origin, taking the positive direction of an X axis as an initial position and taking the counterclockwise direction as a rotating direction, and acquiring the opening angle of each to-be-determined channel calibration point in the current quadrant; sequencing the opening angles corresponding to each calibration point of the channel to be determined in the current quadrant according to the angle size, acquiring an opening angle sequence, and calculating the opening angle difference of every two adjacent opening angles in the opening angle sequence; when the opening angle difference is greater than or equal to a preset opening angle threshold value, two to-be-determined channel scaling points corresponding to the opening angle difference are the qualified channel scaling points; and when the opening angle difference is smaller than the preset opening angle threshold value, calculating the position distance from two to-be-determined channel calibration points corresponding to the opening angle difference to a current quadrant transit point of a quadrant corresponding to the opening angle difference, and taking one of the two to-be-determined channel calibration points corresponding to a longer position distance as the qualified channel calibration point.
Wherein the step of planning a switching path according to the initial calibration point and the target calibration point comprises: when the initial calibration point and the target calibration point are in the same quadrant, acquiring a final quadrant transit point of the quadrant in which the initial calibration point and the target calibration point are located; the switching path is from the initial calibration point to the final quadrant transit point, and then from the final quadrant transit point to the target calibration point; when the initial calibration point and the target calibration point are not in the same quadrant, acquiring an initial quadrant transit point of the quadrant where the initial calibration point is located and a target quadrant transit point of the quadrant where the target calibration point is located; the switching path is from the initial calibration point to the initial quadrant transit point, then from the initial quadrant transit point to the current quadrant central point, then from the current quadrant central point to the target quadrant transit point, and then from the target quadrant transit point to the target calibration point.
The to-be-divided areas comprise at least one parent quadrant area obtained by last quadrant division operation; and the current quadrant central point is a current quadrant transit point of a current quadrant region corresponding to the quadrant division operation.
Wherein the step of planning a switching path according to the initial calibration point and the target calibration point comprises: when the initial calibration point and the target calibration point are not in the same parent quadrant area, acquiring a parent quadrant central point corresponding to the last quadrant division operation, acquiring an initial quadrant transit point of a quadrant where the initial calibration point is located and a target quadrant transit point of a quadrant where the target calibration point is located, acquiring an initial quadrant central point corresponding to the initial quadrant transit point, and acquiring a target quadrant central point corresponding to the target quadrant transit point; the switching path is from the initial calibration point to the initial quadrant transit point, then from the initial quadrant transit point to the initial quadrant central point, then from the initial quadrant central point to the parent quadrant central point, then from the parent quadrant central point to the target quadrant central point, then from the target quadrant central point to the target quadrant transit point, and then from the target quadrant transit point to the target calibration point.
Wherein the step of planning a switching path according to the initial calibration point and the target calibration point comprises: modifying the position of the current quadrant center point.
The other technical scheme adopted by the invention for solving the technical problem is as follows: there is provided an optical switch channel switching system comprising: the device comprises a dividing module, a judging module and a judging module, wherein the dividing module is used for acquiring a to-be-divided area comprising at least one to-be-determined channel scaling point, and performing quadrant division operation on the to-be-divided area, and the quadrant division operation divides the to-be-divided area into four quadrants; the determining module is used for acquiring a coordinate mean value of at least one to-be-determined channel calibration point included in each quadrant, taking the coordinate mean value as a current quadrant transit point of the corresponding quadrant, and acquiring a quadrant origin of quadrant division operation as a current quadrant center point; the screening module is used for screening the at least one to-be-determined channel calibration point in each quadrant according to the current quadrant transit point and the current quadrant central point to obtain at least one qualified channel calibration point; and the path module is used for acquiring an initial scaling point and a target scaling point in the at least one qualified channel scaling point and planning a switching path according to the initial scaling point and the target scaling point.
The other technical scheme adopted by the invention for solving the technical problem is as follows: there is provided an optical switch comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the method as described above.
The other technical scheme adopted by the invention for solving the technical problem is as follows: there is provided a storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the method as described above.
The method has the advantages that compared with the prior art, the method divides a to-be-divided area comprising at least one to-be-determined channel calibration point into four quadrants, acquires a current quadrant transit point of each quadrant and a quadrant origin of quadrant division operation as current quadrant center points, screens the at least one to-be-determined channel calibration point in each quadrant according to the current quadrant transit point and the current quadrant center point, acquires at least one qualified channel calibration point, acquires an initial calibration point and a target calibration point in the at least one qualified channel calibration point, plans a switching path according to the initial calibration point and the target calibration point, avoids the problem of optical signal flash of a non-appointed channel, effectively improves production efficiency of optical switch products, and improves use quality of optical switch products.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a channel switching method of an optical switch according to a first embodiment of the present invention;
FIG. 2 is a schematic view of a scene of an embodiment of an area to be divided into four quadrants according to the present invention;
FIG. 3 is a schematic view of a scene of an embodiment of an area to be divided into sixteen quadrants according to the present invention;
FIG. 4 is a schematic structural diagram of an embodiment of an optical switch channel switching system provided in the present invention;
FIG. 5 is a schematic structural diagram of an embodiment of an optical switch provided in the present invention;
fig. 6 is a schematic structural diagram of an embodiment of a storage medium provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for switching channels of an optical switch according to a first embodiment of the present invention. The method for switching the optical switch channel provided by the invention comprises the following steps:
s101: the method comprises the steps of obtaining a to-be-divided area including at least one to-be-divided channel calibration point, and carrying out quadrant division operation on the to-be-divided area, wherein the quadrant division operation divides the to-be-divided area into four quadrants.
In a specific implementation scenario, at least one pending channel calibration point is obtained. The coordinates of each channel to be calibrated point correspond to one optical switch channel, at least one optical switch channel is selected from the optical fiber array based on a preset selection standard, the x-axis driving voltage and the y-axis driving voltage corresponding to each selected optical switch channel are obtained, and the x-axis driving voltage and the y-axis driving voltage corresponding to each optical switch channel are used as the coordinates of the corresponding channel to be calibrated point.
In the implementation scene, the region to be divided comprises all the undetermined channel scaling points, and in other implementation scenes, the region to be divided comprises part of the undetermined channel scaling points. And performing quadrant division operation on the area to be divided, wherein the quadrant division operation divides the area to be divided into four quadrants. Referring to fig. 2, fig. 2 is a schematic view of a scene of an embodiment of an area to be divided into four quadrants according to the present invention.
S102: and acquiring a coordinate mean value of at least one to-be-determined channel calibration point included in each quadrant, taking the coordinate mean value as a current quadrant transit point of the corresponding quadrant, and acquiring a quadrant origin of quadrant division operation as a current quadrant center point.
In a specific implementation scenario, when performing the quadrant division operation, a quadrant origin (0,0) of the quadrant division operation is used as a current quadrant center point, and in other implementation scenarios, any point in the region to be divided may also be selected as the current quadrant center point, for example, (3, 5).
And acquiring the coordinate mean value of at least one to-be-determined channel calibration point included in each quadrant, and taking the coordinate mean value as the current quadrant transit point of the corresponding quadrant. For example, quadrant a includes four undetermined channel calibration points a (xa, ya), b (xb, yb), c (xc, yc), and d (xd, yd), and then coordinate mean (x, y), where x is (xa + xb + xc + xd)/4, and y is (ya + yb + yc + yd)/4. And taking the point corresponding to the coordinate mean value (x, y) as the current quadrant center point of the quadrant A. And acquiring the current quadrant transit point of each of the four divided quadrants according to the method.
In other implementation scenarios, if there may be a case where a calibration point of a to-be-determined channel is not included in a certain quadrant, the transit point in the current quadrant of the certain quadrant is not calculated.
S103: and screening at least one to-be-determined channel calibration point in each quadrant according to the current quadrant transit point and the current quadrant central point to obtain at least one qualified channel calibration point.
In a specific implementation scenario, at least one to-be-determined channel scaling point in each quadrant is screened according to a current quadrant transit point and a current quadrant central point, and at least one qualified channel scaling point meeting preset requirements in each quadrant is selected. Specifically, for each quadrant of the four quadrants acquired in step S101, a position distance from each undetermined channel calibration point in the current quadrant to a transit point in the current quadrant is calculated, if the position distance is smaller than a preset distance threshold, the undetermined channel calibration point corresponding to the position distance is determined to be an unqualified channel calibration point, the unqualified channel calibration point is eliminated, and if the position distance is greater than or equal to the preset distance threshold, the undetermined channel calibration point corresponding to the position distance is determined to be a qualified channel calibration point, and the qualified channel calibration point is retained, so that at least one qualified channel calibration point meeting the preset requirement in the current quadrant is screened out. The smaller the preset distance threshold is, the more calibration points of the undetermined channel which is possibly eliminated are, the more corresponding optical channels are eliminated, and the lower the probability of the optical signal flash is. The preset distance value can change along with the change of the density of the optical switch channels and the size of the distance between the light-emitting end faces of the optical channel optical fibers. In one implementation scenario, the optical switch is a 1 × 24 switch, the fiber core spacing of the end face of the channel fiber is about 65 μm, and the predetermined distance threshold may be 5V.
In other implementation scenarios, for each of the four quadrants acquired in step S101, the opening angle from the center point of the current quadrant to each to-be-determined channel calibration point in the current quadrant is calculated, with the center point of the current quadrant as an origin, the positive direction of the X axis as an initial position, and the counterclockwise direction as a rotation direction. Specifically, the slope of a connecting line from a calibration point of a channel to be calibrated to the central point of the current quadrant can be calculated, and the opening angle corresponding to the calibration point of the channel to be calibrated is calculated according to the atan function. And sequencing the field angles corresponding to each to-be-determined channel calibration point in the current quadrant according to the angle size to obtain a field angle sequence. The order may be from small to large or from large to small, and is not limited herein. And calculating the opening angle difference of every two adjacent opening angles in the opening angle sequence. When the opening angle difference is greater than or equal to a preset opening angle threshold (for example, 8 degrees), two undetermined channel calibration points corresponding to the opening angle difference are qualified channel calibration points and are reserved, when the opening angle difference is smaller than the preset opening angle threshold, the position distance from the two undetermined channel calibration points corresponding to the opening angle difference to a turning point in the current quadrant corresponding to the opening angle difference is calculated, one of the two undetermined channel calibration points corresponding to a longer position distance is reserved as a qualified channel calibration point, and the other corresponding to a shorter position distance is deleted as an unqualified channel calibration point. And screening out at least one qualified channel scaling point which meets the preset requirement in the current quadrant.
In other implementation scenarios, at least one to-be-determined channel calibration point in each quadrant may be screened in other calculation manners according to the current quadrant transit point and the current quadrant center point. For example, the distance between any two undetermined channel calibration points in the current quadrant is calculated, if the distance is smaller than a preset threshold value, the undetermined channel calibration point closer to the current quadrant transit point of the current quadrant is used as an unqualified channel calibration point, the unqualified channel calibration point is deleted, the undetermined channel calibration point farther from the current quadrant transit point of the current quadrant is used as a qualified channel calibration point, and the qualified channel calibration point is reserved, so that at least one qualified channel calibration point meeting the preset requirement in the current quadrant is screened out.
In other implementation scenarios, the coordinate density of at least one undetermined channel calibration point in the current quadrant may also be calculated, and if the coordinate density is smaller than a preset density threshold, all the undetermined channel calibration points in the current quadrant are taken as qualified channel calibration points.
S104: and acquiring an initial scaling point and a target scaling point in at least one qualified channel scaling point, and planning a switching path according to the initial scaling point and the target scaling point.
In a specific implementation scenario, an initial scaling point and a target scaling point are obtained from all the qualified channel scaling points, and the initial scaling point and the target scaling point may be set according to actual use requirements of a user, and a switching path is planned according to the initial scaling point and the target scaling point. Since the initial calibration point and the target calibration point are selected from the at least one qualified channel calibration point, a phenomenon of flashing of the optical signal does not occur.
In other implementation scenarios, in order to further improve the use quality of the optical switch, the position coordinate of the central point of the current quadrant may be appropriately shifted as needed, for example, adjusted from (0,0) to (3V,5V), and the specific value may be optimally adjusted according to the actual situation, with the goal of adjusting the com end so that there is no return light when the chip rotates back to the central point.
Referring to fig. 2, in the implementation scenario shown in fig. 2, a black solid circle Z0 is a current quadrant center point, black solid circles Z1-Z4 are current quadrant transit points of each quadrant, grid squares X1-X5 are unqualified channel index points eliminated when a distance from the current quadrant transit point of the quadrant where the grid square lattice X1-X5 is located is less than a preset distance threshold, and hollow circles P1-P10 are qualified channel index points. Wherein, the opening angle difference between the X1 opening angle and the P4 opening angle is smaller than the preset threshold, and the X1 is closer to the Z2, and thus is defined as a culling point.
When a switching path is planned according to the initial calibration point and the target calibration point, the switching path is planned by combining the position relationship of the initial calibration point and the target calibration point. When the initial calibration point and the target calibration point are in the same quadrant, acquiring a final quadrant transit point of the quadrant in which the initial calibration point and the target calibration point are positioned; the switching path is from the initial calibration point to the final quadrant transit point, and then from the final quadrant transit point to the target calibration point. For example, in fig. 2, the initial calibration point is P1, the target calibration point is P4, and the initial calibration point and the target calibration point are located in the same quadrant, then the current quadrant transit point Z2 of the quadrant where the initial calibration point and the target calibration point are located is taken as the final quadrant transit point, the switching path is from the initial calibration point P1 to the final quadrant transit point Z2, and then from the final quadrant transit point Z2 to the target calibration point P4.
When the initial calibration point and the target calibration point are in different quadrants, taking an initial quadrant transit point of the quadrant where the initial calibration point is located and a target quadrant transit point of the quadrant where the target calibration point is located; the switching path is from the initial calibration point to the initial quadrant transit point, then from the initial quadrant transit point to the current quadrant central point, then from the current quadrant central point to the target quadrant transit point, and then from the target quadrant transit point to the target calibration point. For example, in fig. 2, if the initial calibration point is P4 and the target calibration point is P9, and the two calibration points are located in different quadrants, the current quadrant transit point Z2 of the quadrant where the initial calibration point P4 is located is taken as the initial quadrant transit point, and the current quadrant transit point Z1 of the quadrant where the target calibration point P9 is located is taken as the target quadrant transit point. The switching path is from the initial calibration point P1 to the initial quadrant transit point Z2, from the initial quadrant transit point Z2 to the current quadrant center point Z0, from the current quadrant center point Z0 to the target quadrant transit point Z1, and from the target quadrant transit point Z1 to the target calibration point P9.
It can be known from the above description that, in this embodiment, an area to be divided, which includes at least one undetermined channel calibration point, is divided into four quadrants, a current quadrant transit point of each quadrant is acquired, a quadrant origin of quadrant division operation is acquired as a current quadrant center point, at least one undetermined channel calibration point in each quadrant is screened according to the current quadrant transit point and the current quadrant center point, at least one qualified channel calibration point is acquired, an initial calibration point and a target calibration point in the at least one qualified channel calibration point are acquired, a switching path is planned according to the initial calibration point and the target calibration point, the problem of optical signal flash of a non-designated channel is avoided, the production efficiency of an optical switch product is effectively improved, and the use quality of the optical switch product is improved.
Referring to fig. 3, fig. 3 is a schematic view of a scene of an embodiment of an area to be divided into sixteen quadrants according to the present invention. As shown in fig. 3, when the density of the channels is high, that is, the density of at least one to-be-determined channel calibration point is high, a quadrant division operation may be performed for each of the 4 quadrants shown in fig. 2. In the implementation scenario, quadrant division operation is performed on each of the 4 parent quadrant areas obtained by the last quadrant division operation, and in other implementation scenarios, quadrant division operation may be performed on any one or several of the 4 parent quadrant areas obtained by the last quadrant division operation. For example, the density degree of at least one to-be-determined channel calibration point in each parent quadrant region can be acquired, and quadrant division operation is performed only on parent quadrant regions with the density degree larger than a preset degree threshold.
In the implementation scenario shown in fig. 3, a black solid circle Z0 is a parent quadrant central point corresponding to the last quadrant division operation, black solid circles Z1-Z4 are parent quadrant transit points of each parent quadrant region, a squared frame in a field shape is an rejected unqualified channel index point, and an empty circle is a qualified channel index point. In the implementation scenario, after each quadrant segmentation operation is completed, a current quadrant transit point and a current quadrant central point corresponding to the quadrant segmentation are obtained, and at least one to-be-determined channel calibration point in each quadrant is screened according to the current quadrant transit point and the current quadrant central point. For example, in FIG. 3, at least one of the points to be calibrated for a channel is screened according to Z0 and Z1-Z4. And secondarily screening at least one to-be-determined channel calibration point after screening according to Z1-Z4, Z11-Z14, Z21-Z24, Z31-Z34 and Z41-Z44.
In the implementation scenario shown in fig. 3, it is determined whether the initial calibration point and the target calibration point are in the same parent quadrant region, and if so, the scenario is similar to the scenario in fig. 2 when the initial calibration point and the target calibration point are not in the same quadrant. For example, the initial calibration point is P2 and the target calibration point is P1. The initial calibration point is P2, the target calibration point is P1, the initial calibration point and the target calibration point are located in the same parent quadrant region (second quadrant), the current quadrant transit point Z21 of the quadrant where the initial calibration point P2 is located is obtained as an initial quadrant transit point, and the current quadrant transit point Z22 of the quadrant where the target calibration point P1 is located is obtained as a target quadrant transit point. The switching path is from an initial calibration point P2 to an initial quadrant transit point Z21, then from the initial quadrant transit point Z21 to a current quadrant center point Z2, then from the current quadrant center point Z2 to a target quadrant transit point Z22, and then from a target quadrant transit point Z22 to a target calibration point P1.
When the initial calibration point and the target calibration point are not in the same parent quadrant area, acquiring a parent quadrant central point corresponding to the last quadrant division operation, and acquiring an initial quadrant transit point of a quadrant where the initial calibration point is located and a target quadrant transit point of a quadrant where the target calibration point is located; the switching path is from the initial calibration point to the initial quadrant transit point, then from the initial quadrant transit point to the current quadrant central point, then from the current quadrant central point to the parent quadrant central point, then from the parent quadrant central point to the target quadrant transit point, and then from the target quadrant transit point to the target calibration point. For example, in the scenario shown in FIG. 3, the initial calibration point is P2 and the target calibration point is P3. The initial calibration point is P2 and the target calibration point is P3 located in different parent quadrant regions. And acquiring a parent quadrant central point Z0 corresponding to the last quadrant division operation, acquiring a current quadrant transit point Z21 of the quadrant where the initial calibration point P2 is located as an initial quadrant transit point, and acquiring a current quadrant transit point Z11 of the quadrant where the target calibration point P3 is located as a target quadrant transit point. Acquiring an initial quadrant central point Z2 corresponding to the initial quadrant transit point Z21, and acquiring a target quadrant central point Z1 corresponding to the target quadrant transit point Z11;
the switching path is from an initial calibration point P2 to an initial quadrant transit point Z21, from the initial quadrant transit point Z21 to an initial quadrant center point Z2, from the initial quadrant center point Z2 to a parent quadrant center point Z0, from the parent quadrant center point Z0 to a target quadrant center point Z1, from the target quadrant center point Z1 to a target quadrant transit point Z11, and from the target quadrant transit point Z11 to a target calibration point P3.
According to the description, in the embodiment, when the channel density is high, at least one of the 4 parent quadrant regions acquired by the last quadrant division operation is subjected to quadrant division operation, more undetermined channel calibration points can be effectively eliminated, the problem of optical signal flash of a non-designated channel is effectively solved, the production efficiency of an optical switch product is effectively improved, and the use quality of the optical switch product is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an optical switch channel switching system according to an embodiment of the present invention. The optical switch channel switching system 10 includes a dividing module 11, a determining module 12, a screening module 13, and a path module 14.
The dividing module 11 is configured to acquire a to-be-divided region including at least one to-be-determined channel scaling point, and perform quadrant division operation on the to-be-divided region, where the quadrant division operation divides the to-be-divided region into four quadrants. The determining module 12 is configured to obtain a coordinate mean value of at least one to-be-determined channel calibration point included in each quadrant, use the coordinate mean value as a current quadrant transit point of the corresponding quadrant, and obtain a quadrant origin of a quadrant division operation as a current quadrant center point. The screening module 13 is configured to screen the at least one to-be-determined channel calibration point in each quadrant according to the current quadrant transit point and the current quadrant center point, and obtain at least one qualified channel calibration point. The path module 14 is configured to obtain an initial scaling point and a target scaling point in the at least one qualified channel scaling point, and plan a switching path according to the initial scaling point and the target scaling point.
The screening module 13 is further configured to determine a position distance from a current quadrant transit point in each quadrant to each undetermined channel calibration point in the quadrant where the current quadrant transit point is located, and use the undetermined channel calibration point corresponding to the position distance greater than or equal to a preset distance threshold as the qualified channel calibration point.
The screening module 13 is further configured to, for each quadrant, obtain an opening angle of each to-be-determined channel scaling point in the current quadrant, with the central point of the current quadrant as an origin, a positive direction of an X axis as an initial position, and a counterclockwise direction as a rotation direction; sequencing the opening angles corresponding to each calibration point of the channel to be determined in the current quadrant according to the angle size, acquiring an opening angle sequence, and calculating the opening angle difference of every two adjacent opening angles in the opening angle sequence; when the opening angle difference is greater than or equal to a preset opening angle threshold value, two to-be-determined channel scaling points corresponding to the opening angle difference are the qualified channel scaling points; and when the opening angle difference is smaller than the preset opening angle threshold value, calculating the position distance from two to-be-determined channel calibration points corresponding to the opening angle difference to a current quadrant transit point of a quadrant corresponding to the opening angle difference, and taking one of the two to-be-determined channel calibration points corresponding to a longer position distance as the qualified channel calibration point.
The path module 14 is further configured to, when the initial calibration point and the target calibration point are in the same quadrant, obtain a final quadrant transit point of the quadrant where the initial calibration point and the target calibration point are located; the switching path is from the initial calibration point to the final quadrant transit point, and then from the final quadrant transit point to the target calibration point; when the initial calibration point and the target calibration point are not in the same quadrant, acquiring an initial quadrant transit point of the quadrant where the initial calibration point is located and a target quadrant transit point of the quadrant where the target calibration point is located; the switching path is from the initial calibration point to the initial quadrant transit point, then from the initial quadrant transit point to the current quadrant central point, then from the current quadrant central point to the target quadrant transit point, and then from the target quadrant transit point to the target calibration point.
The to-be-divided area comprises at least one parent quadrant area obtained by the last quadrant division operation; and the current quadrant central point is a current quadrant transit point of a current quadrant region corresponding to the quadrant division operation.
The path module 14 is further configured to, when the initial calibration point and the target calibration point are not located in the same parent quadrant region, obtain a parent quadrant central point corresponding to the last quadrant division operation, obtain an initial quadrant transit point of a quadrant in which the initial calibration point is located and a target quadrant transit point of a quadrant in which the target calibration point is located, obtain an initial quadrant central point corresponding to the initial quadrant transit point, and obtain a target quadrant central point corresponding to the target quadrant transit point; the switching path is from the initial calibration point to the initial quadrant transit point, then from the initial quadrant transit point to the initial quadrant central point, then from the initial quadrant central point to the parent quadrant central point, then from the parent quadrant central point to the target quadrant central point, then from the target quadrant central point to the target quadrant transit point, and then from the target quadrant transit point to the target calibration point.
The path module 14 is also configured to modify the location of the current quadrant center point.
As can be seen from the above description, in this embodiment, the optical switch channel switching system divides a to-be-divided area including at least one to-be-divided channel calibration point into four quadrants, acquires a current quadrant transit point of each quadrant and acquires a quadrant origin of quadrant division operation as a current quadrant center point, screens the at least one to-be-divided channel calibration point in each quadrant according to the current quadrant transit point and the current quadrant center point, acquires at least one qualified channel calibration point, acquires an initial calibration point and a target calibration point in the at least one qualified channel calibration point, and plans a switching path according to the initial calibration point and the target calibration point, so that the problem of optical signal flash of a non-designated channel is avoided, the production efficiency of an optical switch product is effectively improved, and the use quality of the optical switch product is improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an optical switch according to an embodiment of the present invention. The image processing apparatus 20 includes a processor 21 and a memory 22. The processor 21 is coupled to a memory 22. The memory 22 has stored therein a computer program which is executed by the processor 21 in operation to implement the method as shown in fig. 1. The detailed methods can be referred to above and are not described herein.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a storage medium according to an embodiment of the present invention. The storage medium 30 stores at least one computer program 31, and the computer program 31 is used for being executed by a processor to implement the method shown in fig. 1-2, and the detailed method can be referred to above and is not described herein again. In one embodiment, the computer readable storage medium 30 may be a memory chip in a terminal, a hard disk, or other readable and writable storage tool such as a removable hard disk, a flash disk, an optical disk, or the like, and may also be a server or the like.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, and the program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An optical switch channel switching method, comprising:
acquiring a to-be-divided area including at least one to-be-determined channel calibration point, and performing quadrant division operation on the to-be-divided area, wherein the quadrant division operation divides the to-be-divided area into four quadrants;
acquiring a coordinate mean value of at least one to-be-determined channel calibration point included in each quadrant, taking the coordinate mean value as a current quadrant transit point of a corresponding quadrant, and acquiring a quadrant origin of quadrant division operation as a current quadrant center point;
screening the at least one to-be-determined channel scaling point in each quadrant according to the current quadrant transit point and the current quadrant central point to obtain at least one qualified channel scaling point;
and acquiring an initial scaling point and a target scaling point in the at least one qualified channel scaling point, and planning a switching path according to the initial scaling point and the target scaling point.
2. The method according to claim 1, wherein the step of screening the at least one calibration point of the channel to be determined according to the current quadrant midpoint and the current quadrant midpoint comprises:
and taking the undetermined channel scaling point corresponding to the position distance which is greater than or equal to a preset distance threshold value as the qualified channel scaling point.
3. The method according to claim 1, wherein the step of screening the at least one calibration point of the channel to be determined according to the current quadrant midpoint and the current quadrant midpoint comprises:
aiming at each quadrant, taking the center point of the current quadrant as an origin, taking the positive direction of an X axis as an initial position and taking the counterclockwise direction as a rotating direction, and acquiring the opening angle of each to-be-determined channel scaling point in the current quadrant;
sequencing the opening angles corresponding to each calibration point of the channel to be determined in the current quadrant according to the angle size, acquiring an opening angle sequence, and calculating the opening angle difference of every two adjacent opening angles in the opening angle sequence;
when the opening angle difference is greater than or equal to a preset opening angle threshold value, two to-be-determined channel scaling points corresponding to the opening angle difference are the qualified channel scaling points;
and when the opening angle difference is smaller than the preset opening angle threshold value, calculating the position distance from two to-be-determined channel calibration points corresponding to the opening angle difference to a current quadrant transit point of a quadrant corresponding to the opening angle difference, and taking one of the two to-be-determined channel calibration points corresponding to a longer position distance as the qualified channel calibration point.
4. The method of claim 1, wherein the step of planning the switching path according to the initial calibration point and the target calibration point comprises:
when the initial calibration point and the target calibration point are in the same quadrant, acquiring a final quadrant transit point of the quadrant in which the initial calibration point and the target calibration point are located;
the switching path is from the initial calibration point to the final quadrant transit point, and then from the final quadrant transit point to the target calibration point;
when the initial calibration point and the target calibration point are not in the same quadrant, acquiring an initial quadrant transit point of the quadrant where the initial calibration point is located and a target quadrant transit point of the quadrant where the target calibration point is located;
the switching path is from the initial calibration point to the initial quadrant transit point, then from the initial quadrant transit point to the current quadrant central point, then from the current quadrant central point to the target quadrant transit point, and then from the target quadrant transit point to the target calibration point.
5. The optical switch channel switching method according to claim 4, wherein the area to be divided includes at least one parent quadrant area obtained by a last quadrant division operation; and the current quadrant central point is a current quadrant transit point of a current quadrant region corresponding to the quadrant division operation.
6. The method of claim 5, wherein the step of planning the switching path according to the initial calibration point and the target calibration point comprises:
when the initial calibration point and the target calibration point are not in the same parent quadrant area, acquiring a parent quadrant central point corresponding to the last quadrant division operation, acquiring an initial quadrant transit point of a quadrant where the initial calibration point is located and a target quadrant transit point of a quadrant where the target calibration point is located, acquiring an initial quadrant central point corresponding to the initial quadrant transit point, and acquiring a target quadrant central point corresponding to the target quadrant transit point;
the switching path is from the initial calibration point to the initial quadrant transit point, then from the initial quadrant transit point to the initial quadrant central point, then from the initial quadrant central point to the parent quadrant central point, then from the parent quadrant central point to the target quadrant central point, then from the target quadrant central point to the target quadrant transit point, and then from the target quadrant transit point to the target calibration point.
7. The method of claim 1, wherein the step of planning the switching path according to the initial calibration point and the target calibration point comprises:
modifying the position of the current quadrant center point.
8. An optical switch channel switching system, comprising:
the device comprises a dividing module, a judging module and a judging module, wherein the dividing module is used for acquiring a to-be-divided area comprising at least one to-be-determined channel scaling point, and performing quadrant division operation on the to-be-divided area, and the quadrant division operation divides the to-be-divided area into four quadrants;
the determining module is used for acquiring a coordinate mean value of at least one to-be-determined channel calibration point included in each quadrant, taking the coordinate mean value as a current quadrant transit point of the corresponding quadrant, and acquiring a quadrant origin of quadrant division operation as a current quadrant center point;
the screening module is used for screening the at least one to-be-determined channel calibration point in each quadrant according to the current quadrant transit point and the current quadrant central point to obtain at least one qualified channel calibration point;
and the path module is used for acquiring an initial scaling point and a target scaling point in the at least one qualified channel scaling point and planning a switching path according to the initial scaling point and the target scaling point.
9. An optical switch, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
10. A storage medium, characterized in that a computer program is stored which, when being executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
CN202110661683.5A 2021-06-15 2021-06-15 Optical switch channel switching method, system, optical switch and storage medium Active CN113484956B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110661683.5A CN113484956B (en) 2021-06-15 2021-06-15 Optical switch channel switching method, system, optical switch and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110661683.5A CN113484956B (en) 2021-06-15 2021-06-15 Optical switch channel switching method, system, optical switch and storage medium

Publications (2)

Publication Number Publication Date
CN113484956A true CN113484956A (en) 2021-10-08
CN113484956B CN113484956B (en) 2022-12-06

Family

ID=77934795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110661683.5A Active CN113484956B (en) 2021-06-15 2021-06-15 Optical switch channel switching method, system, optical switch and storage medium

Country Status (1)

Country Link
CN (1) CN113484956B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6728016B1 (en) * 2000-06-05 2004-04-27 Calient Networks, Inc. Safe procedure for moving mirrors in an optical cross-connect switch
US20140355984A1 (en) * 2013-05-29 2014-12-04 Calient Technologies, Inc. Colorless, reconfigurable, optical add-drop multiplexer (roadm) apparatus and method
CN105518508A (en) * 2013-11-21 2016-04-20 华为技术有限公司 Device and method for micro-electro-mechanical-system photonic switch
CN108768511A (en) * 2018-06-22 2018-11-06 武汉光迅科技股份有限公司 A kind of intelligent selecting method and device of two dimension MEMS OSW photoswitches Hitless points
CN109547150A (en) * 2018-10-29 2019-03-29 武汉光迅科技股份有限公司 A kind of noiseless selection method and device for photoswitch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6728016B1 (en) * 2000-06-05 2004-04-27 Calient Networks, Inc. Safe procedure for moving mirrors in an optical cross-connect switch
US20140355984A1 (en) * 2013-05-29 2014-12-04 Calient Technologies, Inc. Colorless, reconfigurable, optical add-drop multiplexer (roadm) apparatus and method
CN105518508A (en) * 2013-11-21 2016-04-20 华为技术有限公司 Device and method for micro-electro-mechanical-system photonic switch
CN108768511A (en) * 2018-06-22 2018-11-06 武汉光迅科技股份有限公司 A kind of intelligent selecting method and device of two dimension MEMS OSW photoswitches Hitless points
CN109547150A (en) * 2018-10-29 2019-03-29 武汉光迅科技股份有限公司 A kind of noiseless selection method and device for photoswitch

Also Published As

Publication number Publication date
CN113484956B (en) 2022-12-06

Similar Documents

Publication Publication Date Title
CN108961296B (en) Fundus image segmentation method, fundus image segmentation device, fundus image segmentation storage medium and computer equipment
US10310772B2 (en) Memory control method and memory control apparatus
CN113484956B (en) Optical switch channel switching method, system, optical switch and storage medium
US11972828B2 (en) Repair circuit, memory, and repair method
CN101656107B (en) Method for reading and programming a memory
US10628071B2 (en) Method of storage allocation, electronic device, storage system and computer program product
CN105049262A (en) Method and device for adjusting flow loads of ports
US10776227B2 (en) Memory management system and method thereof
CN108520347A (en) Panoptic visualization grid voltage quality methods of exhibiting, system and computer equipment
CN111194049A (en) Method and device for determining network quality
CN113163122B (en) Focusing method
KR20230118881A (en) Image processing method and image processing system
CN111415700B (en) Repair method, repair device and computer storage medium
CN110619020B (en) Block chain fragmentation method based on machine learning
CN107945273B (en) Processing method and device of terrain grid, storage medium and terminal
CN111787487B (en) Method, device, equipment and storage medium for determining scene cell resources
CN104575614A (en) Invalid screening method of memory units
US10325672B2 (en) Memory apparatus having plurality of information storage tables managed by separate virtual regions and control method thereof
CN114399010A (en) Two-dimensional code encoding and decoding methods, devices, equipment and medium
US6819591B1 (en) Method for erasing a memory sector in virtual ground architecture with reduced leakage current
KR20230004109A (en) Method and apparatus for collecting point cloud data
CN113231734A (en) Laser light path calibration method and device, storage medium and laser cutting machine
US7925938B2 (en) Structure and method of repairing SDRAM by generating slicing table of fault distribution
CN113676913B (en) Neighbor cell list configuration method and device and server
CN113038486A (en) Neighbor cell planning method and device, computing equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518000 No. 35, Cuijing Road, Pingshan New District, Shenzhen, Guangdong

Patentee after: Ona Technology (Shenzhen) Group Co.,Ltd.

Address before: No.35 Cuijing Road, Pingshan District, Shenzhen City, Guangdong Province

Patentee before: O-NET COMMUNICATIONS (SHENZHEN) Ltd.