The present disclosure relates to the field of
optical communication, and relates to an optical
transmission system, a switching method, an
optical amplifier board, a medium, and an electronic device, which are able to avoid switching failure of OMSP protection. The switching method is a switching method for redundancy protection of an optical
transmission system. The optical
transmission system comprises a main optical channel and a standby optical channel. The switching method comprises: acquiring a received
optical power of an
amplifier in an optical channel among the main optical channel and the standby optical channel through which an optical
signal is currently being transmitted; comparing the received
optical power with a threshold value, the threshold value being associated with a reference value and a relative threshold, and the relative threshold being associated with an
optical fiber characteristic of a span in which the
amplifier is located; if the received
optical power is lower than the threshold value, turning off light output of the
amplifier; and in response to turning off the light output of the amplifier, switching the transmission of the optical
signal to the optical channel among the main optical channel and the standby optical channel through which the optical
signal is not currently being transmitted.