CN116382091B - Matrix optical switch array switching method based on fuzzy control algorithm - Google Patents
Matrix optical switch array switching method based on fuzzy control algorithm Download PDFInfo
- Publication number
- CN116382091B CN116382091B CN202310492053.9A CN202310492053A CN116382091B CN 116382091 B CN116382091 B CN 116382091B CN 202310492053 A CN202310492053 A CN 202310492053A CN 116382091 B CN116382091 B CN 116382091B
- Authority
- CN
- China
- Prior art keywords
- optical switch
- matrix optical
- switching
- matrix
- switch array
- 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.)
- Active
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 251
- 239000011159 matrix material Substances 0.000 title claims abstract description 225
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000004422 calculation algorithm Methods 0.000 title claims abstract description 47
- 238000013210 evaluation model Methods 0.000 claims description 36
- 238000012549 training Methods 0.000 claims description 21
- 230000005540 biological transmission Effects 0.000 claims description 15
- 230000004044 response Effects 0.000 claims description 15
- 238000012360 testing method Methods 0.000 claims description 12
- 230000004927 fusion Effects 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 5
- 238000010276 construction Methods 0.000 claims description 3
- 238000010606 normalization Methods 0.000 claims description 2
- 238000004891 communication Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 9
- 238000003491 array Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000007788 liquid Substances 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000010287 polarization Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/042—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Optical Communication System (AREA)
Abstract
The application discloses a matrix optical switch array switching method based on a fuzzy control algorithm, belongs to the technical field of optical communication, and solves the problems that the switching path of the existing matrix optical switch is difficult to optimize, thereby bringing load to the matrix optical switch work and reducing the control efficiency of the matrix optical switch, and the switching method specifically comprises the following steps: acquiring a matrix optical switch working path, constructing a matrix optical switch control model through a fuzzy control algorithm, analyzing the matrix optical switch working path, taking the matrix optical switch working path as input, and executing the matrix optical switch control model to obtain a plurality of groups of matrix optical switch array switching strategies; acquiring a plurality of groups of matrix optical switch array switching strategies; according to the application, a matrix optical switch control model is constructed through a fuzzy control algorithm, the working path of the matrix optical switch is analyzed, and then the optimal matrix optical switch array switching strategy is obtained, so that the switching path of the matrix optical switch is fully optimized, and the control efficiency of the matrix optical switch is improved.
Description
Technical Field
The invention belongs to the technical field of optical communication, and particularly relates to a matrix optical switch array switching method based on a fuzzy control algorithm.
Background
Currently, optical switches of various switching principles and implementation techniques in optical transport networks are widely proposed. The optical switches of different principles and techniques have different characteristics and are suitable for different occasions. According to different optical switching principles, optical switches can be divided into: mechanical optical switches, thermo-optical switches, electro-optical switches and acousto-optic switches. The optical switches can be classified according to their switching media, which can be: free space switched optical switches and waveguide switched optical switches.
Mechanical optical switches have grown more mature and can be divided into moving optical fibers, moving ferrules, moving collimators, moving mirrors, moving prisms and moving couplers. The insertion loss of the traditional mechanical optical switch is lower (less than or equal to 1.5 dB); high isolation (> 45 dB); is not affected by polarization and wavelength. The defect is that the switching time is longer, generally in millisecond order, and the thermo-optic, electro-optic and acousto-optic effect optical switch realizes the switching purpose by changing the waveguide refractive index of the switching medium.
The optical switches commonly used at the present stage have the following steps: MEMS optical switches, inkjet bubble optical switches, thermo-optic effect optical switches, liquid crystal optical switches, holographic optical switches, acousto-optic switches, liquid grating optical switches, SOA optical switches, etc. With the development of new technologies, more types of optical switches will emerge; however, the switching path of the existing matrix optical switch is difficult to optimize, so that the workload is brought to the matrix optical switch, the control efficiency of the matrix optical switch is reduced, and based on the control efficiency, the matrix optical switch array switching method based on the fuzzy control algorithm is provided.
Disclosure of Invention
The invention aims to provide a matrix optical switch array switching method based on a fuzzy control algorithm aiming at the defects of the prior art, and solves the problems that the switching path of the prior matrix optical switch is difficult to optimize, thereby bringing load to the work of the matrix optical switch and reducing the control efficiency of the matrix optical switch.
The optical switches commonly used at the present stage have the following steps: MEMS optical switches, inkjet bubble optical switches, thermo-optic effect optical switches, liquid crystal optical switches, holographic optical switches, acousto-optic switches, liquid grating optical switches, SOA optical switches, etc. With the development of new technologies, more types of optical switches will emerge; however, the switching path of the existing matrix optical switch is difficult to optimize, so that the workload is brought to the matrix optical switch, the control efficiency of the matrix optical switch is reduced, and based on the control efficiency, a matrix optical switch array switching method based on a fuzzy control algorithm is provided, and the switching method comprises the following steps: acquiring a working path of a matrix optical switch; constructing a matrix optical switch control model through a fuzzy control algorithm, analyzing a matrix optical switch working path, and executing the matrix optical switch control model by taking the matrix optical switch working path as input to obtain a plurality of groups of matrix optical switch array switching strategies; and obtaining a plurality of groups of matrix optical switch array switching strategies to obtain an optimal matrix optical switch array switching strategy. According to the application, the matrix optical switch control model is constructed through the fuzzy control algorithm, the working paths of the matrix optical switches are analyzed, and then the switching strategies of a plurality of groups of matrix optical switch arrays are evaluated by the preset switching evaluation model to obtain the optimal matrix optical switch array switching strategy, so that the switching paths of the matrix optical switches are fully optimized, and the control efficiency of the matrix optical switches is improved.
The invention is realized in such a way that the matrix optical switch array switching method based on the fuzzy control algorithm comprises the following steps:
acquiring a working path of a matrix optical switch;
Constructing a matrix optical switch control model through a fuzzy control algorithm, analyzing a matrix optical switch working path, and executing the matrix optical switch control model by taking the matrix optical switch working path as input to obtain a plurality of groups of matrix optical switch array switching strategies;
and acquiring a plurality of groups of matrix optical switch array switching strategies, and evaluating the plurality of groups of matrix optical switch array switching strategies by using a preset switching evaluation model to acquire an optimal matrix optical switch array switching strategy.
Preferably, the method further comprises:
And acquiring an optimal matrix optical switch array switching strategy, executing the optimal matrix optical switch array switching strategy, generating a program control instruction for controlling the matrix optical switch, and compiling the program control instruction in real time to obtain a working control electric signal of the matrix optical switch.
Preferably, the method for obtaining the working path of the matrix optical switch specifically includes:
responding to a power-on instruction, and powering on the matrix optical switch;
The matrix optical switch generates a TCP/IP network instruction, and acquires the voltage of the output end BK of the amplifier at high speed through ADC+DMA.
Preferably, the method for obtaining the working path of the matrix optical switch specifically further includes:
and collecting the switch compiling path and the control path respectively in a TCP/IP mode.
Preferably, the construction of the matrix optical switch control model by a fuzzy control algorithm specifically includes:
Acquiring a preset matrix optical switch data set, wherein the preset matrix optical switch data set comprises a matrix coding set, a switching response time corresponding to each switch unit in each matrix coding set, a switching error rate corresponding to each switch unit in each matrix coding set and a transmission delay corresponding to each two switch units in each matrix coding set;
Processing the matrix optical switch data set to form a fuzzy control rule; specifically, based on the domain switching relation, forming a comprehensive membership degree of fuzzy control according to the switching response time of each switch unit in each matrix coding set, the switching error rate of each switch unit in each matrix coding set and the downward transmission delay of each switch unit in each matrix coding set, wherein the comprehensive membership degree is used for representing the optical switch array switching strategy ambiguity;
The comprehensive membership calculation formula is :U=[(T1+T2)×(1-e)]-(T1min+T2min+T1max+T2max-4m)/2×2n/(T1max+T2max+T1min+T2min),, wherein T 1 is the switching response time of the switching unit, T 2 is the downward transmission delay of the switching unit, e is the switching error rate, T 1min is the minimum switching response time of the switching unit, T 1max is the maximum switching response time of the switching unit, T 2min is the minimum downward transmission delay of the switching unit, T 2max is the maximum downward transmission delay of the switching unit, m is the average time consumption, and n is the domain range.
And step S203, obtaining a matrix optical switch control model according to the comprehensive membership calculation formula.
Preferably, the method for constructing the preset switching evaluation model specifically includes:
Importing a virtual evaluation model template;
calling a plurality of groups of plug-ins for the virtual evaluation model, and reading the plurality of groups of plug-ins for the virtual evaluation model so as to convert the plug-ins for the virtual evaluation model into execution programs to create standard virtual evaluation models;
and adjusting the standard virtual evaluation model, taking the standard data as input, executing multiple standard virtual evaluation model training, and obtaining the switching evaluation model after multiple training.
Preferably, the training method of the switching evaluation model specifically includes:
obtaining test result sample data, and carrying out normalization processing on the test result;
extracting path elements from the sample data, judging whether an optical variable corresponding to the extracted path elements is larger than a preset threshold value, if so, reserving test result sample data, and if not, judging that the path elements are invalid path elements.
Preferably, the training method of the switching evaluation model specifically further includes:
Fusing path elements and associated quantities of effective test result sample data to obtain a first fused element set;
And removing noise data of the path elements and the associated quantity to obtain a second fusion element set, and respectively determining weight values of the path elements in the first fusion element and the second fusion element to obtain a weight value database.
Preferably, the training method of the switching evaluation model specifically further includes:
And training the switching evaluation model to be trained for multiple times by taking single data in the weight value database as input to obtain a switching evaluation model with mature training.
Compared with the prior art, the embodiment of the application has the following main beneficial effects:
According to the application, a matrix optical switch control model is constructed through a fuzzy control algorithm, a matrix optical switch working path is analyzed, and then a plurality of groups of matrix optical switch array switching strategies are evaluated through a preset switching evaluation model to obtain an optimal matrix optical switch array switching strategy, so that the switching path of the matrix optical switch is fully optimized, and the control efficiency of the matrix optical switch is improved.
Drawings
Fig. 1 is a schematic diagram of an implementation flow of a matrix optical switch array switching method based on a fuzzy control algorithm.
Fig. 2 shows a schematic flow chart of an implementation of a method for obtaining a working path of a matrix optical switch.
Fig. 3 shows a schematic implementation flow diagram of a method for constructing a matrix optical switch control model by a fuzzy control algorithm.
Fig. 4 shows a schematic implementation flow diagram of a preset handover evaluation model construction method.
Fig. 5 shows a schematic flow chart of an implementation of the handoff evaluation model training method.
Fig. 6 shows a schematic structural diagram of a matrix optical switch array switching system based on a fuzzy control algorithm.
Detailed Description
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used in the description of the applications herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description of the application and the claims and the description of the drawings above are intended to cover a non-exclusive inclusion. The terms first, second and the like in the description and in the claims or in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The optical switches commonly used at the present stage have the following steps: MEMS optical switches, inkjet bubble optical switches, thermo-optic effect optical switches, liquid crystal optical switches, holographic optical switches, acousto-optic switches, liquid grating optical switches, SOA optical switches, etc. With the development of new technologies, more types of optical switches will emerge; however, the switching path of the existing matrix optical switch is difficult to optimize, so that the workload is brought to the matrix optical switch, the control efficiency of the matrix optical switch is reduced, and based on the control efficiency, a matrix optical switch array switching method based on a fuzzy control algorithm is provided, and the switching method comprises the following steps: acquiring a working path of a matrix optical switch; constructing a matrix optical switch control model through a fuzzy control algorithm, analyzing a matrix optical switch working path, and executing the matrix optical switch control model by taking the matrix optical switch working path as input to obtain a plurality of groups of matrix optical switch array switching strategies; and obtaining a plurality of groups of matrix optical switch array switching strategies to obtain an optimal matrix optical switch array switching strategy. According to the application, the matrix optical switch control model is constructed through the fuzzy control algorithm, the working paths of the matrix optical switches are analyzed, and then the switching strategies of a plurality of groups of matrix optical switch arrays are evaluated by the preset switching evaluation model to obtain the optimal matrix optical switch array switching strategy, so that the switching paths of the matrix optical switches are fully optimized, and the control efficiency of the matrix optical switches is improved.
The embodiment of the invention provides a matrix optical switch array switching method based on a fuzzy control algorithm, as shown in fig. 1, which shows a schematic implementation flow diagram of the matrix optical switch array switching method based on the fuzzy control algorithm, wherein the matrix optical switch array switching method based on the fuzzy control algorithm specifically comprises the following steps:
Step S10, acquiring a working path of a matrix optical switch;
step S20, constructing a matrix optical switch control model through a fuzzy control algorithm, analyzing a matrix optical switch working path, taking the matrix optical switch working path as input, and executing the matrix optical switch control model to obtain a plurality of groups of matrix optical switch array switching strategies;
And S30, acquiring a plurality of groups of matrix optical switch array switching strategies, and evaluating the plurality of groups of matrix optical switch array switching strategies by using a preset switching evaluation model to acquire an optimal matrix optical switch array switching strategy.
And S40, acquiring an optimal matrix optical switch array switching strategy, executing the optimal matrix optical switch array switching strategy, generating a program control instruction for controlling the matrix optical switch, and compiling the program control instruction in real time to obtain a working control electric signal of the matrix optical switch.
In the embodiment, the matrix optical switch control model is constructed through the fuzzy control algorithm, the working paths of the matrix optical switches are analyzed, and then the switching strategies of a plurality of groups of matrix optical switch arrays are evaluated by the preset switching evaluation model to obtain the optimal matrix optical switch array switching strategy, so that the switching paths of the matrix optical switches are fully optimized, and the control efficiency of the matrix optical switches is improved.
The embodiment of the invention provides a method for acquiring a working path of a matrix optical switch, as shown in fig. 2, which shows an implementation flow diagram of the method for acquiring the working path of the matrix optical switch, wherein the method for acquiring the working path of the matrix optical switch specifically comprises the following steps:
step S101, responding to a power-on instruction, and powering on a matrix optical switch;
Step S102, a matrix optical switch generates a TCP/IP network instruction, and the voltage of the BK end of the output end of the amplifier is collected at a high speed through ADC+DMA;
Step S103, collecting switch compiling paths and control paths respectively in a TCP/IP mode.
In this embodiment, the control information chip adopted by the matrix optical switch is an STM32F103ZET6 chip, the STM32F103ZET6 chip is provided with a cloud interface, the matrix optical switch supports the lorewan protocol, the module adopts a transparent mode for communication, and a user does not need coding and control, and a UART interface is provided.
The embodiment of the invention provides a method for constructing a matrix optical switch control model through a fuzzy control algorithm, as shown in fig. 3, which shows a schematic implementation flow chart of the method for constructing the matrix optical switch control model through the fuzzy control algorithm, wherein the method for constructing the matrix optical switch control model through the fuzzy control algorithm specifically comprises the following steps:
Step S201, a preset matrix optical switch data set is obtained, wherein the preset matrix optical switch data set comprises a matrix coding set, a switching response time corresponding to each switch unit in each matrix coding set, a switching error rate corresponding to each switch unit in each matrix coding set and a transmission delay corresponding to each two switch units in each matrix coding set;
Step S202, processing a matrix optical switch data set to form a fuzzy control rule; specifically, based on the domain switching relation, forming a comprehensive membership degree of fuzzy control according to the switching response time of each switch unit in each matrix coding set, the switching error rate of each switch unit in each matrix coding set and the downward transmission delay of each switch unit in each matrix coding set, wherein the comprehensive membership degree is used for representing the switching strategy deviation degree of the optical switch array;
The comprehensive membership calculation formula is :U=[(T1+T2)×(1-e)]-(T1min+T2min+T1max+T2max-4m)/2×2n/(T1max+T2max+T1min+T2min),, wherein T 1 is the switching response time of the switching unit, T 2 is the downward transmission delay of the switching unit, e is the switching error rate, T 1min is the minimum switching response time of the switching unit, T 1max is the maximum switching response time of the switching unit, T 2min is the minimum downward transmission delay of the switching unit, T 2max is the maximum downward transmission delay of the switching unit, m is the average time consumption, and n is the domain range.
And step S203, obtaining a matrix optical switch control model according to the comprehensive membership calculation formula.
The embodiment of the invention provides a method for constructing a preset switching evaluation model, as shown in fig. 4, which shows an implementation flow diagram of the method for constructing the preset switching evaluation model, wherein the method for constructing the preset switching evaluation model specifically comprises the following steps:
Step S301, importing a virtual evaluation model template;
step S302, calling a plurality of groups of plug-ins for the virtual evaluation model, and reading the plurality of groups of plug-ins for the virtual evaluation model to convert the plug-ins for the virtual evaluation model into execution programs to create standard virtual evaluation models;
Step S303, a standard virtual evaluation model is adjusted, standard data is taken as input, multiple standard virtual evaluation model training is executed, and a switching evaluation model is obtained after multiple training.
The embodiment of the invention provides a training method of a switching evaluation model, as shown in fig. 5, which shows an implementation flow diagram of the training method of the switching evaluation model, wherein the training method of the switching evaluation model specifically comprises the following steps:
step S401, sample data of a test result is obtained, and the test result is normalized;
Step S402, extracting path elements from the sample data, judging whether an optical variable corresponding to the extracted path elements is larger than a preset threshold value, if so, retaining the sample data of the test result, otherwise, judging that the path elements are invalid path elements;
step S403, fusing path elements and associated quantities of effective test result sample data to obtain a first fused element set;
step S404, removing noise data of path elements and associated quantities to obtain a second fusion element set, and respectively determining weight values of the path elements in the first fusion element and the second fusion element to obtain a weight value database;
And step S405, training the switching evaluation model to be trained for multiple times by taking single data in the weight value database as input to obtain a switching evaluation model with mature training.
In this embodiment, when the switching evaluation model is trained, more noise is considered in the background, and the boundary between the targets becomes blurred due to excessive noise, so that the omission ratio and the false alarm rate are increased. The invention thus incorporates a supervised attention architecture comprising two modules, a channel attention module and a supervised dataset attention module, which effectively reduces noise information and enhances the switching assessment model.
The embodiment of the invention provides a matrix optical switch array switching system based on a fuzzy control algorithm, as shown in fig. 6, a schematic structural diagram of the matrix optical switch array switching system based on the fuzzy control algorithm is shown, and the matrix optical switch array switching system based on the fuzzy control algorithm specifically comprises:
A working path acquisition module 100, configured to acquire a matrix optical switch working path;
the switching strategy acquisition module 200 is used for constructing a matrix optical switch control model through a fuzzy control algorithm, analyzing a matrix optical switch working path, taking the matrix optical switch working path as input, and executing the matrix optical switch control model to obtain a plurality of groups of matrix optical switch array switching strategies;
The policy evaluation module 300 is configured to obtain a plurality of groups of matrix optical switch array switching policies, and evaluate the plurality of groups of matrix optical switch array switching policies with a preset switching evaluation model to obtain an optimal matrix optical switch array switching policy;
The program-controlled instruction generating module 400 is configured to obtain an optimal matrix optical switch array switching strategy, execute the optimal matrix optical switch array switching strategy, generate a program-controlled instruction for controlling the matrix optical switch, and compile the program-controlled instruction in real time to obtain a working control electrical signal of the matrix optical switch.
In the embodiment, the matrix optical switch control model is constructed through the fuzzy control algorithm, the working paths of the matrix optical switches are analyzed, and then the switching strategies of a plurality of groups of matrix optical switch arrays are evaluated through the preset switching evaluation model to obtain the optimal matrix optical switch array switching strategy, so that the switching paths of the matrix optical switches are fully optimized, and the control efficiency of the matrix optical switches is improved.
In another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing computer program instructions executable by a processor. The computer program instructions, when executed, implement the method of any of the embodiments described above:
acquiring a working path of a matrix optical switch;
Constructing a matrix optical switch control model through a fuzzy control algorithm, analyzing a matrix optical switch working path, and executing the matrix optical switch control model by taking the matrix optical switch working path as input to obtain a plurality of groups of matrix optical switch array switching strategies;
acquiring a plurality of groups of matrix optical switch array switching strategies, and evaluating the plurality of groups of matrix optical switch array switching strategies by using a preset switching evaluation model to acquire an optimal matrix optical switch array switching strategy;
And acquiring an optimal matrix optical switch array switching strategy, executing the optimal matrix optical switch array switching strategy, generating a program control instruction for controlling the matrix optical switch, and compiling the program control instruction in real time to obtain a working control electric signal of the matrix optical switch.
In another aspect of the embodiments of the present invention, there is also provided a computer device including a memory and a processor, the memory storing a computer program that, when executed by the processor, implements the method of any of the embodiments described above.
The memory is used as a non-volatile computer readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions/modules corresponding to the matrix optical switch array switching method based on the fuzzy control algorithm in the embodiment of the application. The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created by use of the resource monitoring method, and the like. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the local module through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Finally, it should be noted that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile 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), which acts as external cache memory. By way of example, and not limitation, RAM may be available in a variety of forms such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
In summary, the application provides a matrix optical switch array switching method based on a fuzzy control algorithm, which comprises the steps of constructing a matrix optical switch control model through the fuzzy control algorithm, analyzing a matrix optical switch working path, and evaluating a plurality of groups of matrix optical switch array switching strategies through a preset switching evaluation model to obtain an optimal matrix optical switch array switching strategy, so that the switching path of a matrix optical switch is fully optimized, and the control efficiency of the matrix optical switch is improved.
It should be noted that, for simplicity of description, the foregoing embodiments are all illustrated as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts, as some steps may be performed in other order or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, such as the above-described division of units, merely a division of logic functions, and there may be additional manners of dividing in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or communication connection shown or discussed as being between each other may be an indirect coupling or communication connection between devices or elements via some interfaces, which may be in the form of telecommunications or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the scope of the present invention. It will be apparent that the described embodiments are merely some, but not all, embodiments of the invention. Based on these embodiments, all other embodiments that may be obtained by one of ordinary skill in the art without inventive effort are within the scope of the invention. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art may still combine, add or delete features of the embodiments of the present invention or make other adjustments according to circumstances without any conflict, so as to obtain different technical solutions without substantially departing from the spirit of the present invention, which also falls within the scope of the present invention.
Claims (7)
1. A matrix optical switch array switching method based on a fuzzy control algorithm is characterized by comprising the following steps:
acquiring a working path of a matrix optical switch;
Constructing a matrix optical switch control model through a fuzzy control algorithm, analyzing a matrix optical switch working path, and executing the matrix optical switch control model by taking the matrix optical switch working path as input to obtain a plurality of groups of matrix optical switch array switching strategies;
acquiring a plurality of groups of matrix optical switch array switching strategies, and evaluating the plurality of groups of matrix optical switch array switching strategies by using a preset switching evaluation model to acquire an optimal matrix optical switch array switching strategy;
the construction of the matrix optical switch control model by the fuzzy control algorithm specifically comprises the following steps:
Acquiring a preset matrix optical switch data set, wherein the preset matrix optical switch data set comprises a matrix coding set, a switching response time corresponding to each switch unit in each matrix coding set, a switching error rate corresponding to each switch unit in each matrix coding set and a transmission delay corresponding to each two switch units in each matrix coding set;
Processing the matrix optical switch data set to form a fuzzy control rule; specifically, based on the domain switching relation, forming a comprehensive membership degree of fuzzy control according to the switching response time of each switch unit in each matrix coding set, the switching error rate of each switch unit in each matrix coding set and the downward transmission delay of each switch unit in each matrix coding set, wherein the comprehensive membership degree is used for representing the optical switch array switching strategy ambiguity;
The comprehensive membership calculation formula is :U=[(T1+T2)×(1-e)]-(T1min+T2min+T1max+T2max-4m)/2×2n/(T1max+T2max+T1min+T2min),, wherein T 1 is the switching response time of a switching unit, T 2 is the downward transmission delay of the switching unit, e is the switching error rate, T 1min is the minimum switching response time of the switching unit, T 1max is the maximum switching response time of the switching unit, T 2min is the minimum downward transmission delay of the switching unit, T 2max is the maximum downward transmission delay of the switching unit, m is the average time consumption, and n is the domain range;
and step S203, obtaining a matrix optical switch control model according to the comprehensive membership calculation formula.
2. The matrix optical switch array switching method based on the fuzzy control algorithm as claimed in claim 1, wherein: further comprises:
And acquiring an optimal matrix optical switch array switching strategy, executing the optimal matrix optical switch array switching strategy, generating a program control instruction for controlling the matrix optical switch, and compiling the program control instruction in real time to obtain a working control electric signal of the matrix optical switch.
3. The matrix optical switch array switching method based on the fuzzy control algorithm as claimed in claim 1, wherein: the method for acquiring the working path of the matrix optical switch specifically comprises the following steps:
responding to a power-on instruction, and powering on the matrix optical switch;
The matrix optical switch generates a TCP/IP network instruction, and acquires the voltage of the output end BK of the amplifier at high speed through ADC+DMA.
4. The matrix optical switch array switching method based on the fuzzy control algorithm as claimed in claim 3, wherein: the method for acquiring the working path of the matrix optical switch specifically further comprises the following steps:
and collecting the switch compiling path and the control path respectively in a TCP/IP mode.
5. The matrix optical switch array switching method based on the fuzzy control algorithm as claimed in claim 1, wherein: the method for constructing the preset switching evaluation model specifically comprises the following steps:
Importing a virtual evaluation model template;
calling a plurality of groups of plug-ins for the virtual evaluation model, and reading the plurality of groups of plug-ins for the virtual evaluation model so as to convert the plug-ins for the virtual evaluation model into execution programs to create standard virtual evaluation models;
and adjusting the standard virtual evaluation model, taking the standard data as input, executing multiple standard virtual evaluation model training, and obtaining the switching evaluation model after multiple training.
6. The matrix optical switch array switching method based on the fuzzy control algorithm as claimed in claim 5, wherein: the training method of the switching evaluation model specifically comprises the following steps:
obtaining test result sample data, and carrying out normalization processing on the test result;
extracting path elements from the sample data, judging whether an optical variable corresponding to the extracted path elements is larger than a preset threshold value, if so, reserving test result sample data, and if not, judging that the path elements are invalid path elements.
7. The matrix optical switch array switching method based on the fuzzy control algorithm as claimed in claim 6, wherein: the training method of the switching evaluation model specifically further comprises the following steps:
Fusing path elements and associated quantities of effective test result sample data to obtain a first fused element set;
Removing noise data of the path elements and the associated quantity to obtain a second fusion element set, and respectively determining weight values of the path elements in the first fusion element and the second fusion element to obtain a weight value database;
And training the switching evaluation model to be trained for multiple times by taking single data in the weight value database as input to obtain a switching evaluation model with mature training.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310492053.9A CN116382091B (en) | 2023-05-04 | 2023-05-04 | Matrix optical switch array switching method based on fuzzy control algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310492053.9A CN116382091B (en) | 2023-05-04 | 2023-05-04 | Matrix optical switch array switching method based on fuzzy control algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116382091A CN116382091A (en) | 2023-07-04 |
CN116382091B true CN116382091B (en) | 2024-11-12 |
Family
ID=86963473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310492053.9A Active CN116382091B (en) | 2023-05-04 | 2023-05-04 | Matrix optical switch array switching method based on fuzzy control algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116382091B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08214007A (en) * | 1987-02-06 | 1996-08-20 | Fujitsu Ltd | Self-routing switch module |
CN113297533A (en) * | 2021-05-14 | 2021-08-24 | 山东大学 | Switch matrix switching method and system for TCT structure photovoltaic array reconstruction process |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
IT1156369B (en) * | 1982-06-22 | 1987-02-04 | Cselt Centro Studi Lab Telecom | MODULAR AND SELF-INSTRADING PCM SWITCHING NETWORK WITH ROAD CONTROL ON VIRTUAL CHANNEL FOR SELF-SWITCHING TELEPHONE WITH DISTRIBUTED CONTROL |
JPH06274459A (en) * | 1993-03-17 | 1994-09-30 | Hitachi Ltd | Semiconductor integrated circuit device |
CN1141817C (en) * | 2002-06-06 | 2004-03-10 | 上海交通大学 | Multi-grain optical router based on optical burst switch |
JP4540951B2 (en) * | 2003-08-12 | 2010-09-08 | 株式会社フジクラ | Matrix light switch |
US11320588B1 (en) * | 2012-04-16 | 2022-05-03 | Mohammad A. Mazed | Super system on chip |
TWI516379B (en) * | 2012-11-02 | 2016-01-11 | 國立交通大學 | Switching driving method used for a driving system |
CN104144290B (en) * | 2013-05-10 | 2017-10-31 | 上海弘视通信技术有限公司 | The image formation control method and its device of the double mode multiple target of intelligent transportation field |
CN107801108B (en) * | 2016-08-30 | 2020-04-03 | 华为技术有限公司 | Method and apparatus for controlling an optical switch matrix |
CN113381802B (en) * | 2021-06-02 | 2023-07-07 | 国网安徽省电力有限公司铜陵供电公司 | An Intelligent Optical Switching System Based on Optical Switching Matrix |
CN114280524B (en) * | 2021-11-10 | 2024-09-13 | 中国船舶重工集团公司第七0九研究所 | Integrated circuit test system calibration method and device based on fuzzy control |
-
2023
- 2023-05-04 CN CN202310492053.9A patent/CN116382091B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08214007A (en) * | 1987-02-06 | 1996-08-20 | Fujitsu Ltd | Self-routing switch module |
CN113297533A (en) * | 2021-05-14 | 2021-08-24 | 山东大学 | Switch matrix switching method and system for TCT structure photovoltaic array reconstruction process |
Also Published As
Publication number | Publication date |
---|---|
CN116382091A (en) | 2023-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10185085B2 (en) | On-chip optical interconnection structure and network | |
CN108551452A (en) | Web crawlers method, terminal and storage medium | |
CA2672913A1 (en) | Automata based storage and execution of application logic in smart card like devices | |
CN108121506A (en) | Cloud volume storage | |
JP2024514057A (en) | Automatic container migration system | |
CN116382091B (en) | Matrix optical switch array switching method based on fuzzy control algorithm | |
CN117061365B (en) | Node selection method, device, equipment and readable storage medium | |
CN117390854A (en) | Vehicle digital twin instance simulation operation system and method | |
CN116628158A (en) | Problem solving method and device based on intelligent agent | |
Li et al. | An Energy‐Efficient Silicon Photonic‐Assisted Deep Learning Accelerator for Big Data | |
US10070285B2 (en) | Data usage recommendation generator | |
CN117873690B (en) | Method for managing power consumption of arithmetic unit chip, computing subsystem and intelligent computing platform | |
US12079121B2 (en) | Co-operative memory management system | |
CN113590666B (en) | Data caching method, system, equipment and computer medium in AI cluster | |
CN110413477A (en) | Method, equipment and the readable medium of the input and output performance of test distributed storage | |
US20230177035A1 (en) | Data Merging in Distributed Computing System | |
Jukan et al. | Evolution towards smart optical networking: where artificial intelligence (AI) meets the world of photonics | |
CN115495980A (en) | Multi-refractive index layer optical fiber mode field parameter prediction and prediction model training method and device | |
Khoroush et al. | Application mapping in hybrid photonic networks-on-chip for reducing insertion loss | |
Xiong et al. | A machine learning method for green energy saving in space division multiplexing elastic optical networks | |
Andrushchak et al. | Research on the scalability of all-optical switches in the OLS networks | |
CN113057530A (en) | Sweeping robot, map updating method and device thereof and storage medium | |
Puche et al. | Accurately modeling a photonic noc in a detailed cmp simulation framework | |
Öz et al. | Playing the MEV Game on a First-Come-First-Served Blockchain | |
Zhou | Implementation of Dynamic Load Balancing in Distributed System Based on Improved Algorithm |
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 |