An optical receiver, comprising an optoelectronic detector, a transimpedance amplification circuit, a single-ended-to-differential converter and an I/O interface, wherein: the optoelectronic detector, configured to convert a received optical signal into a current signal, wherein bandwidth of the optoelectronic detector is lower than a system transmission bandwidth requirement; the transimpedance amplification circuit, configured to: receive the current signal and a first control signal; and perform transimpedance gain compensation for the current signal based on the first control signal to obtain a voltage signal, wherein a frequency response value of the current signal within first bandwidth of the transimpedance amplification circuit is higher than that within the bandwidth of the optoelectronic detector, and wherein any frequency in the first bandwidth is not lower than an upper cut-off frequency of the optoelectronic detector, wherein the first control signal is received from a controller; the single-ended-to-differential converter, configured to: convert the voltage signal into a differential voltage signal; and, send the differential voltage signal to the I/O interface and the controller, wherein the first control signal is generated based on the differential voltage signal; and, the I/O interface, configured to output the differential voltage signal. the optoelectronic detector, configured to convert a received optical signal into a current signal, wherein bandwidth of the optoelectronic detector is lower than a system transmission bandwidth requirement; the transimpedance amplification circuit, configured to: receive the current signal and a first control signal; and perform transimpedance gain compensation for the current signal based on the first control signal to obtain a voltage signal, wherein a frequency response value of the current signal within first bandwidth of the transimpedance amplification circuit is higher than that within the bandwidth of the optoelectronic detector, and wherein any frequency in the first bandwidth is not lower than an upper cut-off frequency of the optoelectronic detector, wherein the first control signal is received from a controller; receive the current signal and a first control signal; and perform transimpedance gain compensation for the current signal based on the first control signal to obtain a voltage signal, wherein a frequency response value of the current signal within first bandwidth of the transimpedance amplification circuit is higher than that within the bandwidth of the optoelectronic detector, and wherein any frequency in the first bandwidth is not lower than an upper cut-off frequency of the optoelectronic detector, wherein the first control signal is received from a controller; the single-ended-to-differential converter, configured to: convert the voltage signal into a differential voltage signal; and, send the differential voltage signal to the I/O interface and the controller, wherein the first control signal is generated based on the differential voltage signal; and, convert the voltage signal into a differential voltage signal; and, send the differential voltage signal to the I/O interface and the controller, wherein the first control signal is generated based on the differential voltage signal; and, the I/O interface, configured to output the differential voltage signal.