The optical line protection switch module is a combined function module based on optical components such as relay optical switch, coupler and PD. By monitoring the optical power of the main and standby ports, it can acheive the fast optical path swtiching according to the customized switching threshold. And it can also acheive the switch state maintaining even after power off.