Patent ID: 11962344
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Telecommunications (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method for obtaining a transmitter test parameter, wherein the method is applied to a hardware processor of an apparatus, and comprises:
performing waveform sampling on an optical signal sent by a transmitter, to obtain a sampled electrical signal;
obtaining a first noise amount associated with the sampled electrical signal based on a preset initial noise ratio parameter and a level amplitude of the sampled electrical signal,
wherein the level amplitude of the sampled electrical signal is greater than a minimum level and less than a maximum level,
wherein the preset initial noise ratio parameter is a ratio of a maximum noise amount to a minimum noise amount,
wherein the maximum noise amount is a noise amount associated with an electrical signal at the maximum level,
wherein the minimum noise amount is a noise amount associated with an electrical signal at the minimum level, and
wherein the first noise amount is a noise amount that is greater than the minimum noise amount and less than the maximum noise amount; and

obtaining a second noise amount associated with an ideal electrical signal based on the initial noise ratio parameter, a first level amplitude of the ideal electrical signal and a second level amplitude of the ideal electrical signal,
wherein an optical modulation amplitude of the ideal electrical signal equals to the optical modulation amplitude of the sampled electrical signal, and
wherein the first level amplitude of the ideal electrical signal is the maximum level, the second level amplitude of the ideal electrical signal is the minimum level, wherein

the first noise amount and the second noise amount are used to perform a consistency test on the transmitter.