The application relates to a sun-
eclipse-avoiding method and
system for a spaceborne
laser terminal based on
optical path switching and pointing maintenance, which comprises the following steps: based on
satellite attitude,
orbit data and
laser terminal pointing data, a real-time included angle theta between a sun vector and a
laser communication link vector is calculated in real time; a first protection threshold theta1 is preset, and it is judged whether physical
optical path switching is started; when the real-time included angle theta is less than or equal to theta1, it is determined that it is in a sun-
eclipse danger stage, and the incident
optical path is switched from a communication
receiver to a light shield plate area; during the optical
path switching, the pointing of the laser terminal to the communication target is maintained unchanged; the real-time included angle theta is continuously monitored, and when theta is greater than theta1, the optical path is restored from the light shield plate area to the communication
receiver; and after the optical path is restored, the
communication link is recovered in stages based on the unchanged terminal pointing, so that the
communication link is re-established. Through the cooperative mechanism of hardware optical
path switching and pointing maintenance, the communication
receiver is quickly protected, and the link is quickly recovered.