The invention discloses a multi-channel single
optical fiber multiplexing communication
relay method and
system, a medium and a processor, and belongs to the technical field of
optical fiber transmission. The method is implemented based on a first
relay device and a second
relay device which are used in pairs and connected through a single
optical fiber, and comprises the following steps: the first relay device receives
original data messages of multiple paths of external terminals, and adds a frame header containing a
channel identifier for each path of message to form an internal relay frame;
multiplexing multiple paths of relay frames into a serial
data stream, converting the serial
data stream into an optical
signal, and sending the optical
signal through a single optical
fiber; and the second relay equipment receives the optical
signal, recovers the optical signal into an
electric signal, analyzes each relay frame and a
channel identifier thereof, and routes the
original data message to an external terminal of a corresponding channel according to the identifier. Transparent and
reliable transmission of multi-channel communication data on a single optical
fiber is realized, optical
fiber resources are greatly saved,
system cost and wiring complexity are reduced, and the
optical fiber transmission system is suitable for multi-interface long-distance communication scenes such as industrial control and intelligent transportation.