An optical transmitter, wherein the optical transmitter comprises a directly modulated laser array and a micro-ring group array, wherein the directly modulated laser array comprises N directly modulated lasers, and the micro-ring group array comprises N circular waveguide groups, N first waveguides, and one second waveguide, wherein the N directly modulated lasers, the N circular waveguide groups, and the N first waveguides form N optical transmission components, each optical transmission component consists of one directly modulated laser, one circular waveguide group, and one first waveguide, the circular waveguide group comprises at least one circular waveguide, and N is greater than or equal to 2; each directly modulated laser is configured to output an optical signal, wherein wavelengths of optical signals output by the directly modulated lasers are different from each other; each first waveguide is coupled with one side of a corresponding circular waveguide group, each first waveguide comprises a first port and a second port, and each first waveguide is configured to receive, through the first port, an optical signal output by a directly modulated laser corresponding to the first waveguide, and couple the received optical signal to the circular waveguide group corresponding to the first waveguide; one side of each circular waveguide group is coupled with a first waveguide corresponding to the circular waveguide group, and the other side is coupled with the second waveguide, and each circular waveguide group is configured to couple a part of optical signals from the first waveguide corresponding to the circular waveguide group to the second waveguide; and the optical transmitter further comprises N control components, wherein each control component is corresponding to one optical transmission component; each control component comprises one first monitor photo detector, one second monitor photo detector, and one feedback control circuit; the circular waveguide group is further configured to couple a remaining part of optical signals in the optical signals from the first waveguide corresponding to the circular waveguide group to the second port; each first monitor photo detector is configured to detect a strength of optical signals output by a directly modulated laser corresponding to the first monitor photo detector in the optical transmitter, and input a detection result into a corresponding feedback control circuit; each second monitor photo detector is connected to a second port of a first waveguide corresponding to the second monitor photo detector, and the second monitor photo detector is configured to detect a strength of the remaining part of optical signals, and input a detection result into the corresponding feedback control circuit; and the feedback control circuit is configured to control a resonant wavelength of the circular waveguide group according to the detection results input by the first monitor photo detector and the second monitor photo detector, wherein an extinction ratio of the part of optical signals that are coupled to the second waveguide is greater than an extinction ratio of the optical signals from the first waveguide corresponding to the circular waveguide group; and the second waveguide is configured to aggregate optical signals from the circular waveguide groups, and output an aggregated optical signals.