Patent attributes
Disclosed are an optical signal outputting device and method, and a storage medium. The device includes a pump laser, first fiber grating and target fiber grating connected seriatim, the pump laser being configured to emit a first optical signal to the first fiber grating upon receiving a target waveband optical signal transmission instruction, and convert a second waveband optical signal into a target waveband optical signal by resonance upon receiving an optical signal adjusting instruction, then output the same; the first fiber grating being configured to filter the first optical signal to obtain a first waveband optical signal and send it to the target fiber grating; and the target fiber grating being configured to filter the first waveband optical signal to obtain a second waveband optical signal and the target waveband optical signal to use one of them to deliver the optical signal adjusting instruction to the pump laser.