An optical signal generation device, comprising: a laser, a first modulator, a second modulator, a first adjustment module, and a beam combiner, wherein: two ends of the laser are respectively connected to the first modulator and the second modulator, the first modulator is connected to the first adjustment module, and two ends of the beam combiner are respectively connected to the first adjustment module and the second modulator; the laser is configured to: output a first channel of optical signal to the first modulator, and output a second channel of optical signal to the second modulator; the first modulator is configured to: receive the first channel of optical signal and a loaded first channel of electrical modulation signal, and modulate the first channel of optical signal based on the first channel of electrical modulation signal to obtain a first channel of modulated optical signal; the second modulator is configured to: receive the second channel of optical signal and a loaded second channel of electrical modulation signal, and modulate the second channel of optical signal based on the second channel of electrical modulation signal to obtain a second channel of modulated optical signal; the first adjustment module is configured to adjust a phase of the first channel of modulated optical signal or an optical path along which the first channel of modulated optical signal arrives at the beam combiner; and the beam combiner is configured to: combine the second channel of modulated optical signal and the first channel of modulated optical signal that is obtained after the phase adjustment or the optical path adjustment, to obtain a combined signal, and output the combined signal. two ends of the laser are respectively connected to the first modulator and the second modulator, the first modulator is connected to the first adjustment module, and two ends of the beam combiner are respectively connected to the first adjustment module and the second modulator; the laser is configured to: output a first channel of optical signal to the first modulator, and output a second channel of optical signal to the second modulator; the first modulator is configured to: receive the first channel of optical signal and a loaded first channel of electrical modulation signal, and modulate the first channel of optical signal based on the first channel of electrical modulation signal to obtain a first channel of modulated optical signal; the second modulator is configured to: receive the second channel of optical signal and a loaded second channel of electrical modulation signal, and modulate the second channel of optical signal based on the second channel of electrical modulation signal to obtain a second channel of modulated optical signal; the first adjustment module is configured to adjust a phase of the first channel of modulated optical signal or an optical path along which the first channel of modulated optical signal arrives at the beam combiner; and the beam combiner is configured to: combine the second channel of modulated optical signal and the first channel of modulated optical signal that is obtained after the phase adjustment or the optical path adjustment, to obtain a combined signal, and output the combined signal.