Main/standby switching method, system and equipment of IR (Interface between the Radio Remote Unit and the Baseband Processing Unit) ports

The invention discloses a main/standby switching method, a system and equipment of IR (Infrared Radiation) ports. The method comprises the following steps of: detecting the states of a main IR port and a standby IR port by BBU (Baseband Processing Unit) equipment in real time; if the main IR port is detected to be abnormal and the standby IR port is detected to be normal, sending a main/standby switching command of the IR ports to RRU (Radio Remote Unit) equipment by the BBU equipment; and switching service data and an application layer message which are transmitted on the optical fiber of the main IR port onto the optical fiber of the standby IR port for transmitting. By utilizing the invention, the influences on the service loaded on the RRU equipment of the main/standby switching of the IR ports can be greatly reduced.