The invention discloses an
optical fiber signal regeneration method and device, and the method comprises the steps: carrying out the code pattern context analysis of an
optical fiber signal received on a target
optical fiber channel, determining a specific code element position and a
redundant code element position, and carrying out the waveform reconstruction of the specific code element position and the
redundant code element position, and obtaining a reconstructed optical
fiber signal; performing
retiming processing on the reconstructed optical
fiber signal to obtain a regeneration code element sequence; and when determining that the target optical
fiber channel exits the switching state, performing bit alignment on the reconstructed optical fiber signal according to the regenerated code element sequence to obtain an aligned optical fiber signal. The line coding symbol identification accuracy is enhanced, the
time sequence consistency of the regenerated output signal and the original signal at the bit is ensured through the alignment of the reconstructed signal, the error code
diffusion risk caused by dispersion and routing difference is reduced, the overall
communication quality is improved, and the method is suitable for large-scale popularization and application. And strict requirements of
relay protection of a power
system on stability and consistency of
data transmission are better met.