The invention discloses a method and a device for producing a differential quadrature phase-shift
keying code optical
signal, which belong to the field of communication. The method comprises the steps of: performing light-splitting
processing on an optical
signal to obtain two polarized light signals; performing modulation and phase-shift
processing on one of the polarized light signals to obtain a polarized
light signal after the phase shift, and modulating the other polarized
light signal to obtain another polarized modulated
light signal; performing light combination
processing on the polarized light
signal after the phase shift and another polarized modulated light signal to obtain a polarization-multiplexed optical signal; and performing polarization processing on the polarization-multiplexed optical signal to obtain the differential quadrature phase-shift
keying code optical signal. The device comprises a polarization light splitter, a modulator, a phase-shift controller, a polarization light combiner and a
polarizer. The method and the device can steadily produce the differential quadrature phase-shift
keying code optical signal through light-splitting processing, modulation and phase-shift processing, light combination processing and polarization processing.