An optical cross connection apparatus , comprising: x input ports, y output ports, a first switch matrix , a second switch matrix , and a control apparatus , wherein x and y are positive integers, and y is greater than or equal to x, wherein the first switch matrix comprises x×m switches in a matrix arrangement, and x switches of the first column in the first switch matrix are respectively configured to receive polarized light beams from the x input ports; the second switch matrix comprises y×n switches in a matrix arrangement, and the y output ports are respectively used to receive light beams from y switches of the last column in the second switch matrix; and each input port of the x input ports is corresponding to an output port; a switch in the first switch matrix and a switch in the second switch matrix each comprise at least one polymer polarization grating, PPG , wherein the PPG is configured to change incident left-handed polarized light to right-handed polarized light and emit the right-handed polarized light at a preset deflection angle in a deflection plane of the PPG in a first preset direction, and change incident right-handed polarized light to left-handed polarized light and emit the left-handed polarized light at the preset deflection angle in the deflection plane of the PPG in a second preset direction, wherein the first preset direction is opposite to the second preset direction; and the control apparatus is configured to control the switches in the first switch matrix and the second switch matrix when it is determined that a corresponding output port of the j th input port is the k th output port, so that a light beam output from the j th input port is incident to the k th output port at a preset angle after successively passing through switches of the j th row in the first switch matrix and switches of the k th row in the second switch matrix, wherein j is a positive integer less than or equal to x, and k is a positive integer less than or equal to y. x input ports, y output ports, a first switch matrix , a second switch matrix , and a control apparatus , wherein x and y are positive integers, and y is greater than or equal to x, wherein the first switch matrix comprises x×m switches in a matrix arrangement, and x switches of the first column in the first switch matrix are respectively configured to receive polarized light beams from the x input ports; the second switch matrix comprises y×n switches in a matrix arrangement, and the y output ports are respectively used to receive light beams from y switches of the last column in the second switch matrix; and each input port of the x input ports is corresponding to an output port; a switch in the first switch matrix and a switch in the second switch matrix each comprise at least one polymer polarization grating, PPG , wherein the PPG is configured to change incident left-handed polarized light to right-handed polarized light and emit the right-handed polarized light at a preset deflection angle in a deflection plane of the PPG in a first preset direction, and change incident right-handed polarized light to left-handed polarized light and emit the left-handed polarized light at the preset deflection angle in the deflection plane of the PPG in a second preset direction, wherein the first preset direction is opposite to the second preset direction; and the control apparatus is configured to control the switches in the first switch matrix and the second switch matrix when it is determined that a corresponding output port of the j th input port is the k th output port, so that a light beam output from the j th input port is incident to the k th output port at a preset angle after successively passing through switches of the j th row in the first switch matrix and switches of the k th row in the second switch matrix, wherein j is a positive integer less than or equal to x, and k is a positive integer less than or equal to y. <EOS>