<p>An optical switch, comprises an input beam splitter (31) used to input optical signal, an output beam splitter (32) used to output optical signal, two waveguide arms (33) connected between the input beam splitter (31) and the output beam splitter (32) and used to transmit the optical signal from the input beam splitter (31) to the output beam splitter (32), and two groups of micro-ring resonators (34) coupled with the two waveguide arms (33) respectively and used to adjust the phase of the optical signal output from the corresponding waveguide (33) respectively.</p>