5G Building All-Optical Access Analog Fiber Denoising Method and System

By constructing a three-dimensional noise feature descriptor based on time and frequency phase, and employing a step-by-step collaborative processing strategy and Walsh-Hadamard transform, the problem of identifying and suppressing multi-dimensional noise and distortion in analog optical fibers for 5G building all-optical access was solved, thereby improving signal purity and transmission quality.

CN123122684APending Publication Date: 2026-11-17GREATWAY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611301855.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing technologies struggle to comprehensively and accurately identify and suppress multi-dimensional noise and distortion in analog fiber optic transmission for 5G building all-optical access, especially transient pulse interference and slow drift in the time domain, harmonic distortion in the frequency domain, and phase shift caused by dispersion in the phase domain, leading to a decline in signal quality.

Method used

By constructing a three-dimensional noise feature descriptor for time-frequency phase, transient pulse interference, slow drift, harmonic distortion, and phase shift features are extracted. A step-by-step collaborative processing strategy is adopted to perform broadband suppression in the frequency domain, nonlinear suppression in the time domain, and phase domain compensation correction. The Walsh-Hadamard transform is combined to identify distortion components and construct an inverse compensation signal, ultimately achieving signal denoising.

Benefits of technology

It significantly improves signal purity and transmission fidelity, effectively suppresses broadband noise, nonlinear distortion and phase distortion, and ensures high-speed wireless access quality in 5G building all-optical access scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123122684A_ABST
    Figure CN123122684A_ABST
Patent Text Reader

Abstract

This invention relates to the field of optical fiber communication technology, and more particularly to a method and system for denoising analog optical fibers in 5G building all-optical access. By extracting multidimensional noise features of the analog electrical signal in the time, frequency, and phase domains, a noise feature descriptor is generated. Based on this descriptor, broadband suppression, time-domain nonlinear suppression, phase compensation, and alignment are performed sequentially to obtain a reconstructed signal. A distorted residual signal is obtained through differential operations, and after Walsh-Hadamard transform, an inverse compensation component is constructed and weighted in the transform domain, then inversely transformed to a time-domain compensated signal. Finally, this compensated signal is superimposed with the reconstructed signal to obtain the denoised signal. This invention achieves accurate identification and joint suppression of multidimensional noise in analog optical fiber signals, significantly improving signal quality and system performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of optical fiber communication technology, and in particular to a method and system for denoising analog optical fibers for 5G all-optical access in buildings. Background Technology

[0002] This invention relates to the field of optical fiber communication technology, and in particular to a signal denoising method for simulated optical fiber transmission links in 5G building all-optical access scenarios.

[0003] In 5G all-optical access networks for buildings, analog fiber optic repeaters are key equipment for achieving deep signal coverage. Their working principle typically involves down-converting the radio frequency (RF) signal received by the remote RF unit into an analog intermediate frequency (IF) or baseband signal, transmitting it through an analog fiber optic link to the near-end unit, where it is then up-converted back into an RF signal for amplification and retransmission. While analog fiber optic transmission is simple in structure and low in cost, the signal is highly susceptible to various forms of degradation during long-distance transmission.

[0004] In existing technologies, noise suppression for analog fiber optic links typically focuses on frequency domain processing. A common approach is to use fixed or adaptive filters, such as bandpass filters or notch filters, to filter out out-of-band interference noise or specific harmonic components. Another approach involves using pre-distortion or post-distortion compensation techniques, based on characteristic modeling of nonlinear devices such as power amplifiers, to generate inverse signals to counteract nonlinear distortion. These methods can improve signal quality to some extent.

[0005] Impairment introduced by simulated fiber optic links is complex and multi-dimensional, including not only harmonic distortion and out-of-band noise in the frequency domain, but also transient pulse interference in the time domain, slow signal drift caused by factors such as ambient temperature, and phase shift due to fiber dispersion. Existing processing methods focused on the frequency domain or a single dimension (such as those targeting only nonlinearity) struggle to collaboratively identify and comprehensively suppress these time-domain, frequency-domain, and phase-domain impairments. Frequency-domain filters cannot effectively handle transient pulses in the time domain, while traditional predistortion techniques are typically designed for static nonlinear models and lack the ability to dynamically track and compensate for time-varying drift and phase distortion.

[0006] In the simulated fiber optic direct-play scenario of 5G building all-optical access, how to comprehensively and accurately identify and suppress multi-dimensional and complex noise and distortion introduced by fiber optic transmission, and improve the fidelity of signal reconstruction, has become a technical problem that urgently needs to be solved in this field. Summary of the Invention

[0007] This invention provides a method and system for denoising simulated optical fibers in 5G building all-optical access, which can solve the problems in the prior art.

[0008] A first aspect of the present invention provides a method for denoising simulated optical fibers in 5G building all-optical access, comprising: The system acquires analog signals in the electrical domain and extracts transient pulse interference and slow drift features in the time domain, harmonic distortion and out-of-band interference features in the frequency domain, and phase shift features caused by dispersion in the phase domain, generating a noise feature descriptor containing three-dimensional spatial coordinates of time, frequency, and phase. Based on the noise feature descriptor, the electrical domain analog signal is broadband suppressed according to the harmonic distortion feature and out-of-band interference feature to obtain the frequency domain clean signal; Based on the transient pulse interference characteristics, slow drift characteristics, and phase shift characteristics, the frequency domain clean signal is subjected to time-domain nonlinear suppression, phase-domain compensation correction, and phase alignment to obtain a reconstructed electrical domain analog signal. The reconstructed electrical domain analog signal is time-domain aligned with the reference signal, and then differential operation is performed to obtain the distorted residual signal. The distorted residual signal is subjected to Walsh-Hadamard transform. Each order of distortion component is identified in the transform domain. An inverse compensation component with the same amplitude and opposite phase to each order of distortion component is constructed. All inverse compensation components and their corresponding compensation intensity coefficients are weighted and superimposed in the transform domain and then an inverse transform is performed to obtain the time-domain inverse compensation signal. The time-domain inverse compensation signal and the reconstructed electrical domain analog signal are superimposed in the time domain to obtain the denoised electrical domain analog signal.

[0009] The system acquires an analog signal in the electrical domain and extracts transient pulse interference and slow drift features in the time domain, harmonic distortion and out-of-band interference features in the frequency domain, and phase shift features caused by dispersion in the phase domain. This generates a noise feature descriptor containing three-dimensional spatial coordinates of time, frequency, and phase, including: The electrical domain analog signal is sampled using a sliding window. The peak change rate of the signal amplitude within each time window is calculated. The pulse arrival time is extracted based on the peak change rate as the transient pulse interference feature. The baseline offset rate is calculated to extract the drift start time as the slow drift feature. The electric domain analog signal is subjected to a fast Fourier transform to identify the frequency position corresponding to the fundamental frequency component. The harmonic distortion coefficient is calculated based on the spectral energy peak at the frequency position that is an integer multiple of the harmonic distortion feature. The frequency points outside the signal bandwidth that have energy exceeding a preset out-of-band energy threshold are detected as the out-of-band interference feature. The instantaneous phase sequence is extracted by performing Hilbert transform on the electric domain analog signal, the phase deviation of the instantaneous phase sequence is calculated, and the phase curvature parameter is obtained by calculating the second derivative as the phase shift feature caused by the dispersion; Using the pulse arrival time and the drift start time as time domain coordinates, the integer multiple frequency positions and the frequency points in the out-of-band interference features as frequency domain coordinates, and the phase curvature parameter as phase domain coordinates, a three-dimensional spatial coordinate structure is constructed as the noise feature descriptor.

[0010] Based on the noise feature descriptor, broadband suppression is performed on the electrical domain analog signal according to the harmonic distortion characteristics and out-of-band interference characteristics to obtain a frequency domain cleaned signal, including: Extract the integer multiple frequency positions and harmonic distortion coefficients corresponding to the harmonic distortion features from the noise feature descriptor. For each integer multiple frequency position, construct a harmonic suppression frequency band centered on the integer multiple frequency position. The magnitude of the harmonic distortion coefficient is proportional to the bandwidth of the harmonic suppression frequency band. Extract the frequency points corresponding to the out-of-band interference features from the noise feature descriptor, and construct an out-of-band suppression band centered on each frequency point, with the out-of-band suppression band covering the frequency range around the frequency point. A frequency domain suppression template is generated based on the harmonic suppression frequency band and the out-of-band suppression frequency band. The frequency domain suppression template has a suppression gain coefficient set in the harmonic suppression frequency band and the out-of-band suppression frequency band, and a passband gain coefficient set in the effective signal frequency band. The suppression gain coefficient is smaller than the passband gain coefficient. The value of the suppression gain coefficient is determined according to the harmonic distortion coefficient. The frequency domain signal is obtained by performing a fast Fourier transform on the electrical domain analog signal. The frequency domain signal is then multiplied with the frequency domain suppression template in the frequency domain. Finally, the frequency domain signal after the multiplication operation is converted back to the time domain by an inverse fast Fourier transform to obtain the frequency domain cleaned signal.

[0011] Based on the transient pulse interference characteristics, slow drift characteristics, and phase shift characteristics, the frequency domain cleaned signal is subjected to time-domain nonlinear suppression, phase-domain compensation correction, and phase alignment to obtain a reconstructed electrical domain analog signal, including: Extract the pulse arrival time corresponding to the transient pulse interference feature, locate the pulse time domain position point corresponding to the pulse arrival time in the frequency domain clean signal, and construct a pulse suppression time window at the pulse time domain position point. Extract the drift start time corresponding to the slow drift feature, locate the drift time domain position point corresponding to the drift start time in the frequency domain clean signal, construct a baseline correction time period starting from the drift time domain position point, and calculate the baseline offset of the frequency domain clean signal within the baseline correction time period; The frequency domain cleaned signal is subjected to nonlinear amplitude reduction processing within the pulse suppression time window, and baseline offset compensation processing is performed within the baseline correction time period to obtain the time domain corrected signal; Extract the phase curvature parameter corresponding to the phase offset feature, and construct a phase compensation sequence based on the phase curvature parameter. The curvature of the phase compensation sequence has the opposite sign to the curvature of the phase curvature parameter. The time-domain correction signal is subjected to analytical signal transformation to obtain a complex signal representation. Phase trajectory data is extracted from the complex signal representation. The phase trajectory data is superimposed with the phase compensation sequence in the phase domain. Based on the real component of the reconstructed signal from the phase sequence after superposition, the reconstructed electrical domain analog signal is obtained.

[0012] After aligning the reconstructed electrical domain analog signal with the reference signal in the time domain, performing differential operations to obtain the distorted residual signal includes: Extract the time-domain waveform feature points of the reconstructed electrical domain analog signal, and extract the time-domain waveform feature points of the reference signal; Calculate the time offset between the time-domain waveform feature points of the reconstructed electrical domain analog signal and the time-domain waveform feature points of the reference signal, and perform a time-domain translation operation on the reconstructed electrical domain analog signal according to the time offset to align the time-domain waveform feature points of the reconstructed electrical domain analog signal with the time-domain waveform feature points of the reference signal on the time axis. Calculate the amplitude ratio of the reconstructed electrical domain analog signal to the reference signal after time-domain alignment, and perform amplitude normalization processing on the reconstructed electrical domain analog signal based on the amplitude ratio, so that the amplitude magnitude of the reconstructed electrical domain analog signal is consistent with the amplitude magnitude of the reference signal. The reconstructed electrical domain analog signal after time-domain shifting and amplitude normalization is compared with the reference signal by performing a differential operation on a sampling point-by-sampling basis in the time domain, and the time-domain sequence after the differential operation is used as the distortion residual signal.

[0013] The distorted residual signal is subjected to Walsh-Hadamard transform. Distortion components of each order are identified in the transform domain. Inverse compensation components with equal amplitude and opposite phase to each order distortion component are constructed. All inverse compensation components and their corresponding compensation intensity coefficients are weighted and superimposed in the transform domain, and then an inverse transform is performed to obtain the time-domain inverse compensation signal, including: The Walsh-Hadamard transform is performed on the distorted residual signal to obtain the transform domain coefficient matrix. The transform domain coefficients corresponding to each order of distortion components are extracted from the transform domain coefficient matrix. The transform domain coefficients corresponding to each order of distortion components are arranged in order of order to form a distortion coefficient sequence. For each distortion coefficient in the distortion coefficient sequence, the amplitude and phase values ​​of the distortion coefficient are extracted, and an inverse coefficient that is equal to the amplitude value and differs from the phase value by a preset phase difference is constructed. The preset phase difference causes the inverse coefficient and the distortion coefficient to cancel each other out in the time domain. Each distortion coefficient in the distortion coefficient sequence is mapped to a corresponding inverse coefficient to form an inverse coefficient sequence. The compensation intensity coefficient of the corresponding inverse coefficient in the inverse coefficient sequence is determined based on the amplitude value of each distortion coefficient in the distortion coefficient sequence. The value of the compensation intensity coefficient is proportional to the amplitude value of the distortion coefficient. Each inverse coefficient in the inverse coefficient sequence is weighted with its corresponding compensation intensity coefficient. All the weighted inverse coefficients are then superimposed in the transform domain to obtain the compensation transform domain coefficient matrix. The compensation transform domain coefficient matrix is ​​then subjected to a Walsh-Hadamard inverse transform to be converted back to the time domain to obtain the time-domain inverse compensation signal.

[0014] The time-domain inverse compensation signal and the reconstructed electrical domain analog signal are superimposed in the time domain to obtain the denoised electrical domain analog signal, which includes: The number of time-domain sampling points is detected for the time-domain inverse compensation signal and the reconstructed electrical domain analog signal, and it is determined whether the number of time-domain sampling points of the time-domain inverse compensation signal is consistent with the number of time-domain sampling points of the reconstructed electrical domain analog signal. When the number of time-domain sampling points of the time-domain inverse compensation signal is inconsistent with the number of time-domain sampling points of the reconstructed electrical analog signal, the signal with fewer time-domain sampling points is subjected to time-domain sampling point expansion processing to make the number of time-domain sampling points consistent. Extract the amplitude value of the time-domain inverse compensation signal at each time-domain sampling point, extract the amplitude value of the reconstructed electrical domain analog signal at each time-domain sampling point, and calculate the amplitude-energy ratio of the time-domain inverse compensation signal and the reconstructed electrical domain analog signal at the corresponding time-domain sampling point. The amplitude-weighted adjustment of the time-domain inverse compensation signal is performed according to the amplitude-energy ratio. The amplitude-weighted time-domain inverse compensation signal and the reconstructed electrical domain analog signal are then superimposed point by point at each time-domain sampling point to obtain the denoised electrical domain analog signal.

[0015] A second aspect of the present invention provides a 5G building all-optical access analog fiber optic noise reduction system, comprising: The feature extraction unit is used to acquire the analog signal in the electrical domain and extract transient pulse interference features and slow drift features in the time domain, harmonic distortion features and out-of-band interference features in the frequency domain, and phase shift features caused by dispersion in the phase domain, generating a noise feature descriptor containing three-dimensional spatial coordinates of time, frequency and phase. A broadband suppression unit is used to perform broadband suppression on the electrical domain analog signal based on the noise feature descriptor, according to the harmonic distortion characteristics and out-of-band interference characteristics, to obtain a frequency domain clean signal. The timing correction unit is used to perform time-domain nonlinear suppression, phase-domain compensation correction, and phase alignment on the frequency-domain clean signal based on the transient pulse interference characteristics, slow-varying drift characteristics, and phase shift characteristics, to obtain a reconstructed electrical domain analog signal. The differential operation unit is used to perform differential operation on the reconstructed electrical domain analog signal and the reference signal in the time domain to obtain the distorted residual signal; The transform domain complement unit is used to perform Walsh-Hadamard transform on the distorted residual signal, identify each order of distortion components in the transform domain, construct an inverse compensation component with the same amplitude and opposite phase to each order of distortion component, and perform an inverse transform after weighting and superimposing all inverse compensation components and their corresponding compensation intensity coefficients in the transform domain to obtain the time-domain inverse compensation signal. The signal superposition unit is used to superimpose the time-domain inverse compensation signal and the reconstructed electrical domain analog signal in the time domain to obtain the denoised electrical domain analog signal.

[0016] A third aspect of the present invention provides an electronic device, comprising: processor; Memory used to store processor-executable instructions; The processor is configured to invoke instructions stored in the memory to execute the aforementioned method.

[0017] A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the aforementioned method.

[0018] The beneficial effects of this application are as follows: This method constructs a three-dimensional noise feature descriptor based on time, frequency, and phase, achieving a comprehensive and accurate characterization of various noise types in analog electrical signals. This descriptor can simultaneously capture multiple complex noise features, such as transient pulses, slow drift, harmonic distortion, out-of-band interference, and phase shifts caused by dispersion, providing precise discrimination criteria for subsequent targeted processing and effectively avoiding noise residue or signal damage problems caused by single-dimensional feature extraction.

[0019] Based on noise feature descriptors, this method employs a step-by-step collaborative processing strategy. First, broadband suppression of harmonic distortion and out-of-band interference is performed in the frequency domain to filter out noise energy outside the frequency band at its source, resulting in a frequency-domain cleaned signal. Subsequently, nonlinear suppression and compensation correction are applied to the cleaned signal in the time and phase domains, effectively eliminating the damage to the signal waveform integrity caused by transient pulses, slow drift, and phase shift, thereby obtaining a high-quality reconstructed electrical domain analog signal.

[0020] By performing a differential operation between the reconstructed signal and the reference signal, the distorted residual signal can be accurately separated. Applying a Walsh-Hadamard transform to the distorted residual signal allows for clear identification and separation of each order of distortion components in the transform domain. By constructing inverse compensation components with equal amplitude and opposite phase to each order of distortion components, and performing weighted superposition and inverse transform in the transform domain, a highly matched time-domain inverse compensation signal can be generated.

[0021] Finally, the inverse compensation signal is superimposed with the reconstructed electrical domain analog signal to achieve precise cancellation of residual distortion. This method, through a closed-loop mechanism of multi-dimensional feature extraction, domain-specific collaborative processing, and transform domain inverse compensation, significantly improves the signal purity and transmission fidelity of analog fiber optic repeater links in 5G building all-optical access scenarios, effectively suppressing broadband noise, nonlinear distortion, and phase distortion, thus ensuring the service quality of high-speed wireless access. Attached Figure Description

[0022] Figure 1 A flowchart illustrating the simulated fiber optic noise reduction method for 5G all-optical access in buildings; Figure 2 This is a schematic diagram of the inverse compensation process in the Walsh-Hadamard transform domain. Detailed Implementation

[0023] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0024] The technical solution of the present invention will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0025] Figure 1 This is a flowchart illustrating the 5G building all-optical access analog fiber optic noise reduction method according to an embodiment of the present invention, as shown below. Figure 1 As shown, the 5G building all-optical access analog fiber optic noise reduction method includes: The system acquires analog signals in the electrical domain and extracts transient pulse interference and slow drift features in the time domain, harmonic distortion and out-of-band interference features in the frequency domain, and phase shift features caused by dispersion in the phase domain, generating a noise feature descriptor containing three-dimensional spatial coordinates of time, frequency, and phase. Based on the noise feature descriptor, the electrical domain analog signal is broadband suppressed according to the harmonic distortion feature and out-of-band interference feature to obtain the frequency domain clean signal; Based on the transient pulse interference characteristics, slow drift characteristics, and phase shift characteristics, the frequency domain clean signal is subjected to time-domain nonlinear suppression, phase-domain compensation correction, and phase alignment to obtain a reconstructed electrical domain analog signal. The reconstructed electrical domain analog signal is time-domain aligned with the reference signal, and then differential operation is performed to obtain the distorted residual signal. The distorted residual signal is subjected to Walsh-Hadamard transform. Each order of distortion component is identified in the transform domain. An inverse compensation component with the same amplitude and opposite phase to each order of distortion component is constructed. All inverse compensation components and their corresponding compensation intensity coefficients are weighted and superimposed in the transform domain and then an inverse transform is performed to obtain the time-domain inverse compensation signal. The time-domain inverse compensation signal and the reconstructed electrical domain analog signal are superimposed in the time domain to obtain the denoised electrical domain analog signal.

[0026] In one optional implementation, the process involves acquiring an analog signal in the electrical domain and extracting transient pulse interference features and slow drift features in the time domain, extracting harmonic distortion features and out-of-band interference features in the frequency domain, and extracting phase shift features caused by dispersion in the phase domain. This generates a noise feature descriptor containing three-dimensional spatial coordinates of time, frequency, and phase. The electrical domain analog signal is sampled using a sliding window. The peak change rate of the signal amplitude within each time window is calculated. The pulse arrival time is extracted based on the peak change rate as the transient pulse interference feature. The baseline offset rate is calculated to extract the drift start time as the slow drift feature. The electric domain analog signal is subjected to a fast Fourier transform to identify the frequency position corresponding to the fundamental frequency component. The harmonic distortion coefficient is calculated based on the spectral energy peak at the frequency position that is an integer multiple of the harmonic distortion feature. The frequency points outside the signal bandwidth that have energy exceeding a preset out-of-band energy threshold are detected as the out-of-band interference feature. The instantaneous phase sequence is extracted by performing Hilbert transform on the electric domain analog signal, the phase deviation of the instantaneous phase sequence is calculated, and the phase curvature parameter is obtained by calculating the second derivative as the phase shift feature caused by the dispersion; Using the pulse arrival time and the drift start time as time domain coordinates, the integer multiple frequency positions and the frequency points in the out-of-band interference features as frequency domain coordinates, and the phase curvature parameter as phase domain coordinates, a three-dimensional spatial coordinate structure is constructed as the noise feature descriptor.

[0027] In 5G all-optical access systems for buildings, analog electrical signals are affected by various noises during fiber optic transmission, including transient impulse interference, slow drift, harmonic distortion, out-of-band interference, and phase shift caused by dispersion. To effectively identify and extract these noise characteristics, a comprehensive analysis is needed in the time, frequency, and phase domains.

[0028] In the time-domain feature extraction, a sliding window sampling technique is used to process the analog signal in the electrical domain. The window length for sliding window sampling is set to... The window overlap rate is set between 50% and 75% to ensure information continuity between adjacent windows. Within each time window, the recorded signal amplitude sequence is as follows: ,in This represents the sampling point index. When calculating the peak change rate, first identify the local maxima within the window, and let the amplitudes of adjacent maxima be... and The corresponding time interval is The peak jump rate is then calculated as follows: .when Exceeding the preset transition rate threshold When this occurs, it is determined to be a transient pulse interference, and this moment is recorded as the pulse arrival time. The threshold The value is dynamically adjusted based on the statistical characteristics of the normal signal, and is usually set to 3 to 5 times the average amplitude change rate of the normal signal.

[0029] For the extraction of slowly varying drift features, the baseline value of the signal within each sliding window is calculated. The baseline value is obtained by median filtering the signal within the window, with the filter length set to 1 / 10 to 1 / 5 of the window length. The baseline values ​​of adjacent windows are denoted as follows: and The baseline offset rate is calculated as follows: ,in This is the window duration. When... The absolute value exceeds the drift rate threshold. If this continues for more than three consecutive windows, it is determined to be the start of a slow drift, and this start time is recorded as the drift start time. Drift rate threshold The value is set according to the long-term stability characteristics of the signal, typically 0.1% to 0.5% of the average signal amplitude per millisecond.

[0030] In the feature extraction of the frequency domain, a Fast Fourier Transform is performed on the analog signal in the electrical domain to obtain the spectrum. When identifying the fundamental frequency component, search for the frequency point with the highest spectral energy within the expected signal frequency range; the frequency corresponding to this point is... This is the fundamental frequency. To improve the accuracy of fundamental frequency identification, a parabolic interpolation method is used to refine the spectral peaks. The interpolation formula is: ,in This refers to the frequency resolution.

[0031] Harmonic distortion characteristics are extracted based on spectral energy analysis at integer multiples of the fundamental frequency. Among them Integer and , To determine the maximum harmonic order, extract the peak spectral energy. The harmonic distortion coefficient is calculated as follows: ,in This represents the energy of the fundamental frequency component. This coefficient quantifies the intensity of the harmonic components relative to the fundamental frequency component, reflecting the degree of nonlinear distortion of the signal. In practical applications, The value is typically taken as 5 to 10, covering the main low-order harmonic components.

[0032] Detecting out-of-band interference requires first determining the effective bandwidth range of the signal. Based on the nominal bandwidth of the 5G signal and actual transmission requirements, the upper and lower boundary frequencies of the signal bandwidth are set as follows: and In the frequency range and Inside, among which Search for spectral energy at half the sampling frequency. Exceeding the out-of-band energy threshold The frequency points are selected. This threshold is set to -40dB to -60dB of the average energy of the in-band signal; the specific value is adjusted according to the system's noise margin requirements. All detected out-of-band interference frequency points are recorded as a set. This serves as an out-of-band interference feature.

[0033] Feature extraction in the phase domain dimension employs the Hilbert transform technique. For analog signals in the electrical domain... Perform Hilbert transform to obtain analytic signal ,in Represents the Hilbert transform operator. The imaginary unit is used. The instantaneous phase sequence is obtained by calculating the phase angle of the analytic signal, expressed as: In order to eliminate phase The transition involves unwinding the phase sequence to obtain a continuous phase curve. .

[0034] The calculation of phase deviation is based on an ideal linear phase model, assuming that the ideal phase in the absence of dispersion is... ,in Angular frequency, This is the initial phase. The deviation between the actual phase and the ideal phase is... The phase curvature parameter is obtained by calculating the second derivative of the deviation. In discrete-time series, the second derivative is calculated using the central difference method as follows: ,in Sampling interval. Phase curvature parameter. It reflects the nonlinear phase change characteristics caused by dispersion, and its non-zero value indicates the existence and intensity of the dispersion effect.

[0035] After extracting features from the time, frequency, and phase domains, a three-dimensional spatial coordinate structure is constructed as a noise feature descriptor. The time domain coordinates are determined by the pulse arrival time. and drift start time Composition, normalizing these time values ​​to Within the interval. Frequency domain coordinates are determined by integer multiples of the fundamental frequency position. and out-of-band interference frequency points The components are also normalized. Phase domain coordinates are determined by the phase curvature parameter. The statistical characteristic values ​​constitute the value, including the mean of the phase curvature. ,variance and peak These parameters are normalized to Interval.

[0036] The three-dimensional spatial coordinate structure is represented in vector form as follows: superscript This indicates the transpose. In cases with multiple noise sources, each noise source corresponds to a three-dimensional coordinate point, and all coordinate points constitute a noise feature point cloud. This descriptor not only contains feature information of various noise types but also establishes the correlation between the time domain, frequency domain, and phase domain, providing comprehensive feature basis for subsequent noise suppression and compensation. Through this three-dimensional spatial coordinate representation, the distribution characteristics of noise in different domains can be intuitively observed, and it supports noise classification and recognition algorithms based on spatial distance.

[0037] In one optional implementation, based on the noise feature descriptor, broadband suppression is performed on the electrical domain analog signal according to the harmonic distortion characteristics and out-of-band interference characteristics to obtain a frequency domain cleaned signal, including: Extract the integer multiple frequency positions and harmonic distortion coefficients corresponding to the harmonic distortion features from the noise feature descriptor. For each integer multiple frequency position, construct a harmonic suppression frequency band centered on the integer multiple frequency position. The magnitude of the harmonic distortion coefficient is proportional to the bandwidth of the harmonic suppression frequency band. Extract the frequency points corresponding to the out-of-band interference features from the noise feature descriptor, and construct an out-of-band suppression band centered on each frequency point, with the out-of-band suppression band covering the frequency range around the frequency point. A frequency domain suppression template is generated based on the harmonic suppression frequency band and the out-of-band suppression frequency band. The frequency domain suppression template has a suppression gain coefficient set in the harmonic suppression frequency band and the out-of-band suppression frequency band, and a passband gain coefficient set in the effective signal frequency band. The suppression gain coefficient is smaller than the passband gain coefficient. The value of the suppression gain coefficient is determined according to the harmonic distortion coefficient. The frequency domain signal is obtained by performing a fast Fourier transform on the electrical domain analog signal. The frequency domain signal is then multiplied with the frequency domain suppression template in the frequency domain. Finally, the frequency domain signal after the multiplication operation is converted back to the time domain by an inverse fast Fourier transform to obtain the frequency domain cleaned signal.

[0038] In 5G all-optical access systems for buildings, after noise feature extraction, the electrical signals transmitted via simulated fiber optics require precise suppression of harmonic distortion and out-of-band interference at the frequency domain. Extracting harmonic distortion features from the generated noise feature descriptors necessitates locating all integer multiples of the frequency. These locations typically correspond to the second, third, or even higher harmonic components of the fundamental frequency signal. Each integer multiple of the frequency is associated with a harmonic distortion coefficient, which quantifies the energy intensity of the harmonic component at that frequency. A large harmonic distortion coefficient indicates severe harmonic interference at that frequency, necessitating the construction of a wider harmonic suppression band to adequately cover the spread of harmonic energy.

[0039] The process of constructing a harmonic suppression band involves using integer multiples of a frequency as the center frequency and expanding symmetrically to both sides to form the bandwidth. The bandwidth is determined by a direct proportionality to the harmonic distortion coefficient, specifically by multiplying the harmonic distortion coefficient by a preset bandwidth expansion factor. For example, when the fundamental frequency is... At that time, the second harmonic is located at At this location, if the harmonic distortion coefficient is The bandwidth of the harmonic suppression frequency band can then be set to... ,in The bandwidth spreading factor is determined empirically, typically ranging from 0.05 to 0.2. The specific value needs to be adjusted based on the system bandwidth and signal modulation method. The lower limit frequency of this band is... The upper limit frequency is This ensures that harmonic energy and its sidelobe components are all included in the suppression range.

[0040] For processing out-of-band interference features, the frequency points extracted from noise feature descriptors are typically scattered outside the effective signal band. These frequency points originate from interference signal leakage in adjacent frequency bands or narrowband interference sources in the electromagnetic environment. For each extracted frequency point, an out-of-band suppression band needs to be constructed to attenuate local frequency domain energy. The center frequency of the out-of-band suppression band is the location of that frequency point, and the bandwidth setting needs to consider the spectral spread characteristics of the interference signal. In practical applications, a fixed bandwidth strategy can be adopted, such as uniformly setting the out-of-band suppression band width to 1‰ to 1% of the signal sampling rate, or dynamically adjusting the bandwidth according to the energy peak value at each frequency point, so that interference points with higher energy peak values ​​correspond to wider suppression bands.

[0041] After defining all harmonic suppression and out-of-band suppression frequency bands, a frequency domain suppression template needs to be generated as the basis for subsequent frequency domain filtering. The frequency domain suppression template is a coefficient vector with the same length as the frequency domain signal, where each element corresponds to the gain coefficient at a specific frequency point. Within the frequency range covered by the harmonic suppression and out-of-band suppression bands, the gain coefficient of the frequency domain suppression template is set as the suppression gain coefficient. This coefficient is typically less than 0.2, which can significantly attenuate the energy at the corresponding frequency. The specific value of the suppression gain coefficient is determined based on the harmonic distortion coefficient, and an inverse proportional relationship can be adopted; that is, the larger the harmonic distortion coefficient, the smaller the suppression gain coefficient, achieving a stronger suppression effect. For example, when the harmonic distortion coefficient... When the value is greater than 0.5, the corresponding suppression gain coefficient can be set to This ensures that strong interference is fully suppressed.

[0042] Within the effective frequency band of the signal, i.e., the frequency range carrying useful information, the gain coefficient of the frequency domain suppression template is set to the passband gain coefficient. This coefficient is typically close to or slightly greater than 1.0 to prevent signal energy attenuation and even provide moderate enhancement. The passband gain coefficient should be set to avoid saturation distortion caused by excessive amplification, and is generally set between 0.95 and 1.05. For the transition region located at the edge of the effective frequency band, a smooth transition function can be used to gradually decrease the gain coefficient from the passband gain coefficient to the suppression gain coefficient, avoiding the introduction of time-domain ringing effects by abrupt changes in the frequency domain response. Commonly used transition functions include cosine roll-off functions or Gaussian functions, and the transition band width is typically set to 5% to 10% of the signal bandwidth.

[0043] After the frequency domain suppression template is generated, a Fast Fourier Transform (FFT) is performed on the analog electrical signal to be processed, converting the time-domain signal to the frequency domain. The number of points in the FFT needs to be determined based on the signal length and frequency resolution requirements, and is usually chosen to be an integer power of 2, not less than the number of signal sampling points, to fully utilize the computational efficiency of the FFT algorithm. The resulting frequency-domain signal is a complex sequence, where each complex element contains the amplitude and phase information of the corresponding frequency component.

[0044] The frequency domain signal is multiplied by a frequency domain suppression template in the frequency domain. This involves multiplying the complex value of the frequency domain signal at each frequency point by the gain coefficient of the corresponding position in the frequency domain suppression template. This operation achieves selective frequency filtering, significantly attenuating the energy of frequency components within the harmonic suppression band and out-of-band suppression band, while maintaining the relative integrity of frequency components within the effective signal band. The frequency domain signal after the multiplication operation retains its complex form; its amplitude spectrum has been adjusted according to the frequency domain suppression template, and its phase spectrum largely maintains the phase relationship of the original signal, unless phase compensation is required in subsequent processing.

[0045] Performing an inverse fast Fourier transform (IFT) on the frequency domain signal after the dot product operation converts the frequency domain signal back to the time domain, yielding a frequency-domain cleaned signal. The number of points in the IFT must be consistent with that in the forward transform, and the length of the resulting time-domain signal is the same as the original electrical domain analog signal. The frequency-domain cleaned signal appears as a smooth signal in the time domain waveform, with harmonic distortion and out-of-band interference components suppressed. Its spectral purity is significantly improved, providing a high-quality input signal for subsequent time-domain nonlinearity suppression and phase-domain compensation correction.

[0046] In practical engineering applications, a multi-iteration strategy can be adopted to further improve the frequency domain suppression effect. After the initial frequency domain suppression, the resulting cleaned frequency domain signal is subjected to a fast Fourier transform again to detect residual harmonics and out-of-band interference energy. If the residual energy is still higher than a preset threshold, the suppression gain coefficient in the frequency domain suppression template is updated to increase the suppression intensity at the residual interference frequency points, and the frequency domain multiplication and inverse transform are performed again. This iterative process is usually executed 2 to 3 times to suppress the residual interference to an acceptable level, avoiding signal distortion accumulation caused by excessive iteration.

[0047] Furthermore, considering the broadband characteristics of 5G signals, the design of the frequency domain suppression template needs to take into account the subcarrier spacing and resource block distribution. When the signal uses orthogonal frequency division multiplexing modulation, the subcarrier spacing is small and densely arranged, and the bandwidth setting of the harmonic suppression band needs to avoid inadvertently damaging adjacent subcarriers. In this case, a refined frequency domain suppression template can be used to limit the suppression bandwidth to less than half of a single subcarrier spacing, or a comb filter structure can be used to perform notch suppression only at harmonic frequency points, keeping other frequency components within the subcarrier spacing unaffected. This refined design can suppress harmonic interference while maximizing the preservation of useful signal energy, thus improving the bit error rate performance of the denoised signal.

[0048] In one optional implementation, the frequency domain cleaned signal is subjected to time-domain nonlinear suppression, phase-domain compensation correction, and phase alignment based on the transient pulse interference characteristics, slow-varying drift characteristics, and phase shift characteristics to obtain a reconstructed electrical domain analog signal, including: Extract the pulse arrival time corresponding to the transient pulse interference feature, locate the pulse time domain position point corresponding to the pulse arrival time in the frequency domain clean signal, and construct a pulse suppression time window at the pulse time domain position point. Extract the drift start time corresponding to the slow drift feature, locate the drift time domain position point corresponding to the drift start time in the frequency domain clean signal, construct a baseline correction time period starting from the drift time domain position point, and calculate the baseline offset of the frequency domain clean signal within the baseline correction time period; The frequency domain cleaned signal is subjected to nonlinear amplitude reduction processing within the pulse suppression time window, and baseline offset compensation processing is performed within the baseline correction time period to obtain the time domain corrected signal; Extract the phase curvature parameter corresponding to the phase offset feature, and construct a phase compensation sequence based on the phase curvature parameter. The curvature of the phase compensation sequence has the opposite sign to the curvature of the phase curvature parameter. The time-domain correction signal is subjected to analytical signal transformation to obtain a complex signal representation. Phase trajectory data is extracted from the complex signal representation. The phase trajectory data is superimposed with the phase compensation sequence in the phase domain. Based on the real component of the reconstructed signal from the phase sequence after superposition, the reconstructed electrical domain analog signal is obtained.

[0049] After obtaining the frequency-domain cleaned signal, in-depth correction is needed for residual temporal nonlinear interference, baseline drift, and phase distortion caused by fiber dispersion. This process first extracts transient pulse interference features from the noise feature descriptor, which includes key parameters such as pulse amplitude threshold, rise edge slope, and pulse arrival time. The pulse arrival time is obtained by performing a sliding window energy detection on the frequency-domain cleaned signal. When the local energy exceeds 3.5 times the average background energy and the duration is less than 200 microseconds, it is identified as a pulse event, and its time tag is recorded. Based on this time tag, the pulse temporal location point in the frequency-domain cleaned signal is located; this location point corresponds to the sampling index in the signal sequence. A pulse suppression time window is constructed by extending 150 sampling points forward and backward from this sampling index. The width of this time window is dynamically adjusted according to the sampling rate to ensure complete coverage of the pulse disturbance region.

[0050] Simultaneously, slow-varying drift features are extracted from the noise feature descriptor. These features are obtained by multi-scale wavelet decomposition of the original signal, selecting low-frequency components with a scale coefficient greater than 5 as the drift components. The drift start time is identified using a first-order difference criterion: when the difference values ​​of 50 consecutive sampling points maintain the same sign and the cumulative offset exceeds 2% of the signal's dynamic range, the start time of that interval is recorded. The drift time-domain position point corresponding to this drift start time is located in the frequency-domain cleaned signal. A baseline correction time period is constructed by extending from this position point to the end time of the drift feature. Within this time period, a moving median filter is used to calculate the baseline offset. The filter window length is set to 500 sampling points. The baseline trajectory curve is fitted using the median of the sample values ​​within the sliding window. The difference between this curve and the ideal zero baseline is the baseline offset.

[0051] When performing nonlinear amplitude reduction processing on the frequency domain cleanup signal within the pulse suppression time window, a soft threshold function is used to achieve smooth suppression. Let the [missing information - likely a time window term] be the [missing information - likely a time window term]. The original amplitude of each sampling point is The pulse amplitude threshold is The reduction is expressed as ,in To reduce the intensity coefficient, a value ranging from 0.02 to 0.08 is used. Iterative optimization reduces the peak-to-average power ratio (PAPR) of the signal within the window to below 3. During baseline offset compensation processing within the baseline correction period, the signal value at each sampling point within that period is subtracted from the corresponding baseline offset to achieve zero baseline recovery. The signal after impulse suppression and baseline correction is output as the time-domain corrected signal.

[0052] To address phase distortion caused by fiber dispersion, phase shift features are extracted from the phase domain dimension of the noise feature descriptor. These features are obtained by performing a Hilbert transform on the signal to obtain an instantaneous phase sequence, and then calculating the phase curvature parameter by performing a second-order difference on the instantaneous phase sequence. .when A positive value indicates phase lead accumulation, while a negative value indicates phase lag accumulation. A phase compensation sequence is constructed based on this phase curvature parameter. The sequence must satisfy the curvature as The conditions, in specific form, are as follows: ,in For sampling point index, For the phase reference point index, This represents the initial phase offset. The length of the phase compensation sequence is consistent with the length of the time-domain correction signal, and sampling point alignment is ensured through interpolation.

[0053] When performing analytic signal transformation on the time-domain corrected signal, the Hilbert transform is used to construct the imaginary component. Let the time-domain corrected signal be... Its Hilbert transform result is Then the complex signal is represented as ,in The imaginary unit is used. Phase trajectory data is extracted from this complex signal representation, calculated as follows: ,when When the phase trajectory data approaches zero, a sign function correction is used to avoid phase jumps. With phase compensation sequence Phase-domain superposition yields the corrected phase sequence. After phase superposition, phase dewinding is required. When the phase difference between adjacent sampling points exceeds... At that time, plus Integer multiple corrections are applied to ensure the continuity of the phase sequence.

[0054] When reconstructing the real component of a signal based on the corrected phase sequence, the property that the amplitude of a complex signal remains constant is utilized. The instantaneous amplitude of the complex signal is then calculated. The real components are reconstructed using the corrected phase sequence, and are expressed as follows: This reconstruction process achieves precise correction of only phase distortion while maintaining the signal energy envelope unchanged. The reconstructed real components constitute the reconstructed electrical domain analog signal, which has undergone time-domain pulse suppression, baseline drift compensation, and phase-domain dispersion correction, laying the foundation for subsequent distortion residual extraction.

[0055] In practical applications, the width of the pulse suppression time window needs to be adaptively adjusted according to the symbol period of the 5G signal. When using 256QAM modulation, the symbol period is approximately 66.7 nanoseconds, and the pulse suppression time window should cover at least 5 symbol periods to ensure complete suppression of the pulse tail effect. A dual-threshold strategy is used to determine the start and end points of the baseline correction time period: the starting threshold is set to 1.5% of the signal dynamic range, and the ending threshold is set to 0.8%, to avoid signal distortion caused by over-correction. The construction of the phase compensation sequence needs to consider the fiber type. For G.652 single-mode fiber, the dispersion coefficient is approximately 17 picoseconds per nanometer per kilometer, and the corresponding phase curvature parameter can be calculated from the transmission distance and operating wavelength. During the analytical signal transformation process, the Hilbert transform is implemented using the Fast Fourier Transform. The imaginary component is obtained by multiplying the frequency domain by the symbol function and then performing an inverse transform, which has a higher computational efficiency than the time-domain convolution method. The phase unwinding algorithm adopts a quality-guided path tracking strategy, prioritizing regions with smaller phase gradients to improve the robustness of unwinding. The signal-to-noise ratio of the reconstructed electrical domain analog signal is improved by about 8 to 12 dB compared with the frequency domain cleaned signal, effectively suppressing inter-symbol interference caused by temporal nonlinear interference and dispersion, and meeting the transmission requirements of 64QAM and above high-order modulation in 5G building scenarios.

[0056] In one optional implementation, performing differential operations after time-domain alignment of the reconstructed electrical domain analog signal with the reference signal to obtain the distorted residual signal includes: Extract the time-domain waveform feature points of the reconstructed electrical domain analog signal, and extract the time-domain waveform feature points of the reference signal; Calculate the time offset between the time-domain waveform feature points of the reconstructed electrical domain analog signal and the time-domain waveform feature points of the reference signal, and perform a time-domain translation operation on the reconstructed electrical domain analog signal according to the time offset to align the time-domain waveform feature points of the reconstructed electrical domain analog signal with the time-domain waveform feature points of the reference signal on the time axis. Calculate the amplitude ratio of the reconstructed electrical domain analog signal to the reference signal after time-domain alignment, and perform amplitude normalization processing on the reconstructed electrical domain analog signal based on the amplitude ratio, so that the amplitude magnitude of the reconstructed electrical domain analog signal is consistent with the amplitude magnitude of the reference signal. The reconstructed electrical domain analog signal after time-domain shifting and amplitude normalization is compared with the reference signal by performing a differential operation on a sampling point-by-sampling basis in the time domain, and the time-domain sequence after the differential operation is used as the distortion residual signal.

[0057] After obtaining the reconstructed electrical domain analog signal, the residual distortion components need to be extracted through precise comparison with the reference signal. Time-domain alignment and differential operations constitute the core steps of distortion residual extraction. Through refined waveform feature matching and amplitude calibration, various nonlinear and linear distortion components introduced in the transmission link can be accurately separated.

[0058] The extraction of time-domain waveform feature points employs a multi-scale feature detection strategy. For the reconstructed electrical analog signal, the first derivative of the signal is first calculated, and the peaks and troughs are located by detecting the zero-crossing points of the derivative. Simultaneously, the second derivative is calculated, and the inflection points are identified by the sign change of the second derivative. These peaks, troughs, and inflection points together constitute the basic skeleton feature points of the signal. To improve the robustness of feature point localization, the signal is decomposed into three levels of wavelet, and feature points are extracted at different scale levels. These multi-scale feature points are then fused. A weighted voting mechanism is used during fusion, with lower-scale feature points receiving higher weights because they are less affected by noise. Finally, the positions with voting scores exceeding a preset threshold are selected as reliable time-domain waveform feature points. The same feature point extraction process is used for the reference signal to ensure consistency in the extraction methods between the two sets of feature points. During the feature point extraction process, based on the frame structure characteristics of 5G signals, we prioritize the selection of key feature points with standardized definitions, such as preamble sequences and pilot symbols, as these locations have clear correspondences in both ideal and actual signals.

[0059] The time offset is calculated based on the optimal matching of feature point sequences. The feature point sequence of the reconstructed electrical domain analog signal is denoted as a timestamp set, and the feature point sequence of the reference signal is denoted as another timestamp set. A two-dimensional matching matrix is ​​constructed, where rows correspond to feature points of the reconstructed signal, columns correspond to feature points of the reference signal, and matrix elements represent the similarity between corresponding feature point pairs. The similarity calculation comprehensively considers the local waveform morphology, amplitude characteristics, and phase characteristics of the feature points. The local waveform morphology is measured by extracting waveform segments from 32 sampling points before and after the feature point and calculating the normalized cross-correlation coefficient between these segments. The amplitude characteristics are measured by calculating the instantaneous amplitude ratio at the feature point; ideally, this ratio should be close to a constant. The phase characteristics are measured by extracting the instantaneous phase using Hilbert transform and calculating the phase difference at the feature point. The weighted sum of these three measures serves as the final similarity score. The optimal matching path is found in the matching matrix using a dynamic time warping algorithm, allowing for one-to-many and many-to-one matching relationships to address local time stretching phenomena in the signal. After determining the optimal matching path, the time difference between all matching feature point pairs is calculated, and the median of the time differences is used as the global time offset. Using the median instead of the mean can effectively suppress the influence of individual abnormal matching points.

[0060] The time-domain shift operation employs a fractional delay filter to achieve sub-sampling precision time alignment. When the calculated time offset is an integer number of sampling periods, the time-domain sequence of the reconstructed electrical analog signal can be directly cyclically shifted. When the time offset contains a fractional part, sub-sampling level time shifting is required. A Lagrange interpolation filter is used to construct the fractional delay filter, with an 8th order filter, which achieves high-precision fractional delay while maintaining manageable computational complexity. The filter coefficients are dynamically calculated based on the specific fractional delay, and the reconstructed electrical analog signal is shifted along the time axis by the specified fractional delay through convolution operations. After shifting, the deviation between the key feature points of the reconstructed signal and the corresponding feature points of the reference signal along the time axis is reduced to within 0.1 sampling periods, meeting the time alignment accuracy requirements of subsequent differential operations. For the periodic frame structure in 5G signals, after initial alignment, continuous time tracking is performed using a frame synchronization signal to compensate for the accumulated time deviation caused by clock drift.

[0061] The amplitude ratio is calculated based on the statistical characteristics of the effective signal range. The effective carrying range of the signal is identified, excluding preamble and tail idle segments to avoid interference from these low-energy ranges in the amplitude ratio estimation. Within the effective carrying range, the root mean square (RMS) value of the reconstructed electrical domain analog signal and the RMS value of the reference signal are calculated, and their ratio serves as a preliminary amplitude ratio estimate. Considering the amplitude modulation present in the signal, a single global RMS ratio cannot accurately reflect the amplitude relationship. The signal is divided into several time windows, each corresponding to one subframe period of the 5G signal. Local RMS ratios are calculated within each time window. Statistical analysis is performed on all local ratios, removing outliers deviating from the median by more than two standard deviations. The average of the remaining local ratios is taken as the final global amplitude ratio. This segmented statistical and outlier removal strategy effectively addresses amplitude abrupt changes and local anomalies in the signal, improving the robustness of the amplitude ratio estimation.

[0062] Each sample point of the reconstructed electrical domain analog signal is multiplied by the reciprocal of the amplitude ratio, ensuring that the normalized reconstructed signal has the same energy level as the reference signal in a statistical sense. Before the normalization operation, the amplitude ratio needs to be checked for reasonableness. If the ratio exceeds a preset reasonable range, such as less than 0.5 or greater than 2.0, it indicates an anomaly in the reconstructed signal or reference signal. In this case, an alarm mechanism is triggered, the differential operation process is suspended, and the abnormal event is recorded. After the reasonableness check is passed, the normalization operation is performed uniformly over the entire signal duration, ensuring that all sample points use the same normalization coefficient and maintaining the relative amplitude relationship within the signal unchanged.

[0063] The sample-by-sample differential operation is performed after time-domain alignment and amplitude normalization. The processed reconstructed electrical domain analog signal is denoted as a time-domain sequence, and the reference signal is denoted as another time-domain sequence; both have the same number of sampling points. The differential operation is performed point-by-point according to the sampling point index, calculating the difference between corresponding sampling points. The difference sequence constitutes the distortion residual signal. The differential operation uses a subtraction operation, subtracting the sampling value of the reconstructed electrical domain analog signal from the sampling value of the reference signal. A positive residual indicates that the amplitude of the reconstructed signal is too small at that location, while a negative residual indicates that the amplitude of the reconstructed signal is too large. During the differential operation, the amplitude range of the residual signal is monitored in real time. When the residual amplitude of multiple consecutive sampling points exceeds 30% of the reference signal amplitude, significant local distortion is identified. The distortion characteristics in this interval will be analyzed in detail in subsequent distortion component identification. The distortion residual signal obtained from the differential operation retains the original sampling rate, and its time-domain length is completely consistent with the reconstructed electrical domain analog signal, providing a complete time-domain data foundation for subsequent transform-domain analysis.

[0064] The quality of the distorted residual signal directly affects the effectiveness of subsequent inverse compensation. To verify the accuracy of differential operations, the energy ratio of the distorted residual signal is calculated, which is the ratio of the total energy of the residual signal to the total energy of the reference signal. Typically, the residual energy ratio between the reconstructed signal after initial denoising and the reference signal should be between 5% and 15%. An excessively high residual energy ratio indicates insufficient initial denoising effect, while an excessively low residual energy ratio indicates overfitting in the time-domain alignment or amplitude normalization process. The residual energy ratio is recorded as a key performance indicator for evaluating the overall denoising method's effectiveness and optimizing parameters. Through the aforementioned refined time-domain alignment, amplitude calibration, and differential operation process, residual distortion components can be accurately extracted from the reconstructed electrical domain analog signal, laying a reliable foundation for subsequent distortion component identification and inverse compensation in the transform domain, ultimately achieving high-fidelity transmission of analog fiber optic signals in 5G building all-optical access scenarios.

[0065] In one optional implementation, the distorted residual signal is subjected to a Walsh-Hadamard transform. Distortion components of each order are identified in the transform domain. Inverse compensation components with equal amplitude and opposite phase to each order distortion component are constructed. All inverse compensation components and their corresponding compensation intensity coefficients are weighted and superimposed in the transform domain, and then an inverse transform is performed to obtain a time-domain inverse compensation signal, including: The Walsh-Hadamard transform is performed on the distorted residual signal to obtain the transform domain coefficient matrix. The transform domain coefficients corresponding to each order of distortion components are extracted from the transform domain coefficient matrix. The transform domain coefficients corresponding to each order of distortion components are arranged in order of order to form a distortion coefficient sequence. For each distortion coefficient in the distortion coefficient sequence, the amplitude and phase values ​​of the distortion coefficient are extracted, and an inverse coefficient that is equal to the amplitude value and differs from the phase value by a preset phase difference is constructed. The preset phase difference causes the inverse coefficient and the distortion coefficient to cancel each other out in the time domain. Each distortion coefficient in the distortion coefficient sequence is mapped to a corresponding inverse coefficient to form an inverse coefficient sequence. The compensation intensity coefficient of the corresponding inverse coefficient in the inverse coefficient sequence is determined based on the amplitude value of each distortion coefficient in the distortion coefficient sequence. The value of the compensation intensity coefficient is proportional to the amplitude value of the distortion coefficient. Each inverse coefficient in the inverse coefficient sequence is weighted with its corresponding compensation intensity coefficient. All the weighted inverse coefficients are then superimposed in the transform domain to obtain the compensation transform domain coefficient matrix. The compensation transform domain coefficient matrix is ​​then subjected to a Walsh-Hadamard inverse transform to be converted back to the time domain to obtain the time-domain inverse compensation signal.

[0066] like Figure 2 As shown, the method includes: After obtaining the distorted residual signal, it is necessary to perform refined analysis and compensation processing on the signal in the transform domain to transform the distorted residual signal. As input, a Walsh-Hadamard transform is performed. The Walsh-Hadamard transform is a discrete transform based on orthogonal rectangular wave basis functions. Its core advantage lies in its low computational complexity and good ability to separate distortion components. For a length of... The distorted residual signal sequence is used to construct Walsh-Hadamard transformation matrix This matrix is ​​composed of Walsh functions arranged in order, with each row corresponding to a Walsh basis function with a specific index. Performing a transformation operation yields the transformation domain coefficient matrix. Each element of this matrix represents the projection intensity of the distorted residual signal onto the corresponding Walsh basis function.

[0067] After obtaining the coefficient matrix of the transformation domain Next, the transform domain coefficients corresponding to each order of distortion component need to be extracted. There is a correspondence between the order of the distortion component and the ordinal number of the Walsh function; lower-order distortion components mainly correspond to lower-order Walsh function numbers, while higher-order distortion components correspond to higher-order Walsh function numbers. Following the order from zero to higher, the coefficient values ​​at the corresponding positions are sequentially read from the transform domain coefficient matrix. These coefficient values ​​are arranged in the extraction order to form a distortion coefficient sequence. ,in This represents the total order of the distortion components that need to be compensated. Each element in the distortion coefficient sequence... Both are complex numbers, containing amplitude and phase information, respectively reflecting the first... The intensity and relative time offset characteristics of the first-order distortion component.

[0068] For each distortion coefficient in the distortion coefficient sequence, a corresponding inverse coefficient needs to be constructed to achieve the cancellation effect. For the th Distortion coefficient First, extract its amplitude value. and phase value Amplitude value Characterized the energy intensity and phase value of this order of distortion component. This characterizes the relative positional relationship of the distortion components in the time domain. To achieve complete cancellation in the time domain, the constructed inverse coefficients need to satisfy the condition of equal amplitude but opposite phase. Specifically, the inverse coefficients... The amplitude is set to The phase is set to The preset phase difference The value is usually taken as The radian is 180 degrees. The inverse coefficients constructed in this way exhibit a conjugate symmetric relationship with the original distortion coefficients in the transform domain. When the two are transformed back to the time domain through inverse transform, they can achieve mutual cancellation of signals.

[0069] In constructing the inverse coefficients, the varying degrees of influence of different order distortion components on signal quality are considered. Generally, lower-order distortion components have larger amplitudes and significantly affect the overall signal characteristics, while higher-order distortion components, although smaller in amplitude, introduce subtle distortions. Therefore, a compensation intensity coefficient is assigned to each inverse coefficient to adjust its contribution weight in the final compensated signal. (Compensation Intensity Coefficient) The determination is based on the amplitude value of the corresponding distortion coefficient. A direct proportional relationship is established between the two. The specific mapping relationship can be expressed as follows: ,in This is a global scaling factor, adjusted based on the overall energy level of the distorted residual signal in the actual application scenario. Distortion components with larger amplitude values ​​receive higher compensation intensity coefficients, ensuring that the main distortion components are suppressed preferentially during the compensation process.

[0070] Each distortion coefficient in the distortion coefficient sequence Mapped to the corresponding inverse coefficient Then, an inverse coefficient sequence is formed. This sequence has the same length and order correspondence as the distortion coefficient sequence, but the phase characteristics of each element have undergone a predetermined shift. Simultaneously, a compensation intensity coefficient sequence is determined based on the amplitude values ​​of the distortion coefficients. The construction is now complete. These two sequences together form the basis of the subsequent transform-domain weighted superposition operation.

[0071] When performing a transform-domain weighted superposition operation, for each inverse coefficient in the inverse coefficient sequence... Compare it with the corresponding compensation strength coefficient Perform multiplication to obtain the weighted inverse coefficients. This weighting process essentially involves fine-tuning the compensation intensity of different order distortion components in the transform domain. After weighting, all weighted inverse coefficients are superimposed in the transform domain. Since the Walsh-Hadamard transform has linear properties, the superposition operation in the transform domain corresponds to the superposition of signals in the time domain; therefore, the summation operation of all weighted inverse coefficients can be performed directly. The weighted inverse coefficients are filled into the compensated transform domain coefficient matrix in order of their order. For the corresponding positions of higher-order components that are not involved in compensation, the corresponding coefficients are set to zero.

[0072] Obtain the coefficient matrix of the compensated transform domain Then, an inverse Walsh-Hadamard transform is performed to convert it back to the time domain. The inverse transform process uses the same Walsh-Hadamard transform matrix as the forward transform. The mapping from the transform domain to the time domain is accomplished through matrix multiplication. The output of the inverse transform is the time-domain inverse compensation signal. The waveform characteristics of this signal in the time domain are complementary to those of the distorted residual signal, and the phase configuration of its components at each order ensures mutual cancellation with the corresponding components of the distorted residual signal.

[0073] In practical processing, the extraction of distortion coefficients also needs to consider the impact of noise background on the identification of weak distortion components. For coefficients in the transform domain coefficient matrix whose amplitude is below the noise threshold, it can be determined that they do not contain effective distortion information. When constructing the inverse coefficient sequence, the corresponding inverse coefficients are set to zero to avoid introducing additional noise amplification effects. Noise threshold. The threshold is usually set based on statistical analysis of the distortion-free region of the signal, calculating the root mean square value of the transform domain coefficients as a reference, and setting the threshold as a multiple of that root mean square value.

[0074] The setting of the compensation intensity coefficient can also incorporate an adaptive adjustment mechanism. After the initial compensation process, the compensation effect of each order of distortion components is evaluated by detecting the residual distortion level of the compensated signal. For orders with insufficient compensation, the corresponding compensation intensity coefficient is appropriately increased in subsequent iterations; for orders with overcompensation, the compensation intensity coefficient is decreased. This adaptive adjustment, through the introduction of a feedback mechanism, can gradually optimize the compensation effect, enabling the time-domain inverse compensation signal to more accurately match the characteristics of the distortion residual signal.

[0075] The entire transform-domain compensation process fully leverages the distortion component decoupling capability of the Walsh-Hadamard transform, achieving refined compensation control by independently processing distortion components of each order in the transform domain. Compared to direct compensation in the time domain, the transform-domain method can more accurately identify and suppress distortion components with different frequency characteristics, exhibiting superior processing performance, especially for complex signal scenarios containing multiple nonlinear distortion mechanisms. The resulting time-domain inverse compensation signal serves as the final compensation benchmark and will be superimposed on the reconstructed electrical domain analog signal in subsequent steps to complete the overall denoising task.

[0076] In one optional implementation, the time-domain inverse compensation signal and the reconstructed electrical domain analog signal are time-domain superimposed to obtain the denoised electrical domain analog signal, including: The number of time-domain sampling points is detected for the time-domain inverse compensation signal and the reconstructed electrical domain analog signal, and it is determined whether the number of time-domain sampling points of the time-domain inverse compensation signal is consistent with the number of time-domain sampling points of the reconstructed electrical domain analog signal. When the number of time-domain sampling points of the time-domain inverse compensation signal is inconsistent with the number of time-domain sampling points of the reconstructed electrical analog signal, the signal with fewer time-domain sampling points is subjected to time-domain sampling point expansion processing to make the number of time-domain sampling points consistent. Extract the amplitude value of the time-domain inverse compensation signal at each time-domain sampling point, extract the amplitude value of the reconstructed electrical domain analog signal at each time-domain sampling point, and calculate the amplitude-energy ratio of the time-domain inverse compensation signal and the reconstructed electrical domain analog signal at the corresponding time-domain sampling point. The amplitude-weighted adjustment of the time-domain inverse compensation signal is performed according to the amplitude-energy ratio. The amplitude-weighted time-domain inverse compensation signal and the reconstructed electrical domain analog signal are then superimposed point by point at each time-domain sampling point to obtain the denoised electrical domain analog signal.

[0077] In 5G building all-optical access simulation fiber transmission scenarios, the superposition of the time-domain inverse compensation signal and the reconstructed electrical domain analog signal requires ensuring strict consistency between them in the time domain dimension; otherwise, it will lead to distortion of the compensation effect or even the introduction of new interference components. Since the reconstructed electrical domain analog signal undergoes multiple stages of processing, including frequency domain purification, time-domain nonlinearity suppression, and phase domain compensation correction, the number of its time-domain sampling points can vary due to interpolation, filtering, or resampling operations. The time-domain inverse compensation signal, on the other hand, is reconstructed from the transform domain through the Walsh-Hadamard inverse transform, and its number of sampling points depends on the number of basis functions involved in the operation in the transform domain. Therefore, before performing the final time-domain superposition operation, the number of time-domain sampling points of the two signals must be detected and aligned.

[0078] First, perform time-domain sampling point counting operations on both the time-domain inverse compensation signal and the reconstructed electrical domain analog signal. Assume the sampling point set of the time-domain inverse compensation signal is... The set of sampling points for reconstructing the analog signal in the electric domain is ,in This represents the total number of sampling points for the time-domain inverse compensation signal. This represents the total number of sampling points for the reconstructed electrical domain analog signal. This is determined by... and The numerical relationship between the two signals is used to determine whether they match in the time domain. When detected... At this time, signals with a small number of sampling points need to be expanded.

[0079] For signals with a small number of sampling points, a cubic spline interpolation algorithm is used to expand the time-domain sampling points. In specific implementation, if... This requires expanding the time-domain inverse compensation signal to increase the number of sampling points from... Expand to Cubic spline interpolation preserves the continuity and smoothness of the signal, avoiding the abrupt changes introduced by linear interpolation or zero-order hold interpolation. During interpolation, the time interval between the original sampling points is first calculated, and then an appropriate number of new sampling points are inserted between every two adjacent original sampling points to ensure that the total number of expanded sampling points matches the target signal. A cubic polynomial is used to fit the amplitude envelope of four adjacent original sampling points during interpolation, ensuring the continuity of the first and second derivatives. Then, the same interpolation expansion operation is performed on the reconstructed electrical domain analog signal, reducing its number of sampling points from... Expand to After expansion processing, the number of sampling points for the two signals becomes consistent, denoted as... .

[0080] After aligning the number of sampling points, it is necessary to extract the amplitude values ​​of the two signals at each time-domain sampling point. For the time-domain inverse compensation signal, its amplitude at the [number]th sampling point... The amplitude value at each sampling point is denoted as ,in For reconstructed electrical domain analog signals, in the first... The amplitude value at each sampling point is denoted as These two sets of amplitude value sequences form the basis for subsequent amplitude-energy ratio calculations. To avoid division by zero errors during the calculation process, the amplitude values ​​need to be preprocessed. When the absolute value of the amplitude value at a certain sampling point is less than a preset threshold... (For example When ), replace the amplitude value with This ensures the numerical stability of subsequent calculations.

[0081] The amplitude-energy ratio calculation reflects the energy intensity relationship between the time-domain inverse compensation signal and the reconstructed electrical-domain analog signal at various sampling points. In the... At each sampling point location, the amplitude-energy ratio is calculated as follows: This ratio quantifies the energy proportion of the compensation signal at that location, providing a basis for subsequent amplitude-weighted adjustments. When the value is much greater than 1, it indicates that the energy of the compensated signal at that position is significantly higher than that of the original reconstructed signal, posing a risk of overcompensation; when When the value is much less than 1, it indicates that the compensation signal energy is insufficient and cannot effectively offset the distortion residual. To prevent extreme energy ratios from causing the weighted adjustment to fail, the calculated value is... Apply a threshold limit to constrain it to Within the range, the typical value is , .

[0082] The amplitude-weighted adjustment of the time-domain inverse compensation signal based on the amplitude-energy ratio aims to match the energy distribution of the compensation signal with that of the reconstructed signal, thus avoiding new waveform distortions after superposition due to excessive energy differences. The adjusted time-domain inverse compensation signal is then applied in the [missing information - likely a specific data point or section]. The amplitude value at each sampling point is calculated as follows: ,in This is the amplitude weighting coefficient. This coefficient is obtained by smoothing the amplitude-energy ratio sequence, specifically using a moving average filter. The sequence is smoothed, and the window length is set to 5 sampling points. The first step is to calculate the... The average energy ratio at each sampling point location Then according to Calculate the weighting coefficients. By taking the square root, the energy ratio is converted into an amplitude ratio, ensuring that the weighting adjustment is performed in the amplitude domain rather than the power domain.

[0083] After amplitude weighting adjustment, the adjusted time-domain inverse compensation signal and the reconstructed electrical-domain analog signal are superimposed point-by-point at each time-domain sampling point. In the... At each sampling point, the amplitude value of the denoised electrical analog signal is calculated as follows: This point-by-point superposition operation is essentially performing vector addition in the time domain, directly superimposing the waveform of the compensation signal onto the reconstructed signal to cancel out the distortion residual. It's important to note that because the inverse compensation components of each order in the time-domain inverse compensation signal are already set to be out of phase with the distortion components during construction, the superposition operation effectively weakens the impact of the distortion residual. In practice, the point-by-point superposition operation can be accelerated using a parallel computing architecture. The superposition operation of each sampling point is distributed to multiple processing units to be performed simultaneously, which significantly reduces processing latency.

[0084] To further improve the denoising effect, boundary smoothing is performed on the denoised electrical analog signal after point-by-point superposition. Due to the discontinuities introduced by interpolation at the beginning and end of the signal sequence, a gradient window function is used to smooth the amplitude of the first 5% and last 5% of the sampling points. Specifically, a raised cosine window function is used, smoothly transitioning the window function coefficients from 0 to 1 in the initial region and from 1 to 0 in the final region, ensuring waveform continuity at the signal boundaries. After boundary smoothing, the denoised electrical analog signal maintains a stable amplitude envelope throughout the entire time domain, avoiding interference from abrupt changes in the subsequent modulation and demodulation stages.

[0085] In some 5G all-optical access scenarios in buildings, the reconstructed electrical domain analog signal exhibits slow amplitude drift due to the time-varying characteristics of the fiber optic channel. To address this, baseline drift correction is performed on the reconstructed electrical domain analog signal before point-by-point superposition. By calculating the low-frequency trend component of the signal sequence, median filtering is used to extract the amplitude drift curve over a long time scale. This drift curve is then subtracted from the original signal to obtain the baseline-corrected reconstructed electrical domain analog signal. Superimposing the baseline-corrected signal with the amplitude-weighted time-domain inverse compensation signal achieves a more stable denoising effect. The window length for the correction operation is adaptively set according to the time-domain length of the signal, typically set to 10% of the total number of sampling points, ensuring effective tracking of the drift trend without over-smoothing useful signal components.

[0086] After completing all processing steps, the resulting denoised electrical domain analog signal contains complete... The waveform characteristics of the time-domain sampling points have effectively suppressed various noise components such as harmonic distortion, transient pulse interference, slow drift, and phase shift caused by dispersion. This denoised signal can be directly fed into the subsequent electro-optical conversion module to complete the simulated fiber optic transmission process in the 5G building all-optical access system, ensuring that the signal quality meets the performance requirements of high-speed communication links.

[0087] A second aspect of the present invention provides a 5G building all-optical access analog fiber optic noise reduction system, comprising: The feature extraction unit is used to acquire the analog signal in the electrical domain and extract transient pulse interference features and slow drift features in the time domain, harmonic distortion features and out-of-band interference features in the frequency domain, and phase shift features caused by dispersion in the phase domain, generating a noise feature descriptor containing three-dimensional spatial coordinates of time, frequency and phase. A broadband suppression unit is used to perform broadband suppression on the electrical domain analog signal based on the noise feature descriptor, according to the harmonic distortion characteristics and out-of-band interference characteristics, to obtain a frequency domain clean signal. The timing correction unit is used to perform time-domain nonlinear suppression, phase-domain compensation correction, and phase alignment on the frequency-domain clean signal based on the transient pulse interference characteristics, slow-varying drift characteristics, and phase shift characteristics, to obtain a reconstructed electrical domain analog signal. The differential operation unit is used to perform differential operation on the reconstructed electrical domain analog signal and the reference signal in the time domain to obtain the distorted residual signal; The transform domain complement unit is used to perform Walsh-Hadamard transform on the distorted residual signal, identify each order of distortion components in the transform domain, construct an inverse compensation component with the same amplitude and opposite phase to each order of distortion component, and perform an inverse transform after weighting and superimposing all inverse compensation components and their corresponding compensation intensity coefficients in the transform domain to obtain the time-domain inverse compensation signal. The signal superposition unit is used to superimpose the time-domain inverse compensation signal and the reconstructed electrical domain analog signal in the time domain to obtain the denoised electrical domain analog signal.

[0088] A third aspect of the present invention provides an electronic device, comprising: processor; Memory used to store processor-executable instructions; The processor is configured to invoke instructions stored in the memory to execute the aforementioned method.

[0089] A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, implement the aforementioned method.

[0090] This invention can be a method, apparatus, system, and / or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for performing various aspects of the invention.

[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

A 1.5G building all-optical access analog fiber optic noise reduction method, characterized in that, include: The system acquires analog signals in the electrical domain and extracts transient pulse interference and slow drift features in the time domain, harmonic distortion and out-of-band interference features in the frequency domain, and phase shift features caused by dispersion in the phase domain, generating a noise feature descriptor containing three-dimensional spatial coordinates of time, frequency, and phase. Based on the noise feature descriptor, the electrical domain analog signal is broadband suppressed according to the harmonic distortion feature and out-of-band interference feature to obtain the frequency domain clean signal; Based on the transient pulse interference characteristics, slow drift characteristics, and phase shift characteristics, the frequency domain clean signal is subjected to time-domain nonlinear suppression, phase-domain compensation correction, and phase alignment to obtain a reconstructed electrical domain analog signal. The reconstructed electrical domain analog signal is time-domain aligned with the reference signal, and then differential operation is performed to obtain the distorted residual signal. The distorted residual signal is subjected to Walsh-Hadamard transform. Each order of distortion component is identified in the transform domain. An inverse compensation component with the same amplitude and opposite phase to each order of distortion component is constructed. All inverse compensation components and their corresponding compensation intensity coefficients are weighted and superimposed in the transform domain and then an inverse transform is performed to obtain the time-domain inverse compensation signal. The time-domain inverse compensation signal and the reconstructed electrical domain analog signal are superimposed in the time domain to obtain the denoised electrical domain analog signal.

2. The method according to claim 1, characterized in that, The system acquires an analog signal in the electrical domain and extracts transient pulse interference and slow drift features in the time domain, harmonic distortion and out-of-band interference features in the frequency domain, and phase shift features caused by dispersion in the phase domain. This generates a noise feature descriptor containing three-dimensional spatial coordinates of time, frequency, and phase, including: The electrical domain analog signal is sampled using a sliding window. The peak change rate of the signal amplitude within each time window is calculated. The pulse arrival time is extracted based on the peak change rate as the transient pulse interference feature. The baseline offset rate is calculated to extract the drift start time as the slow drift feature. The electric domain analog signal is subjected to a fast Fourier transform to identify the frequency position corresponding to the fundamental frequency component. The harmonic distortion coefficient is calculated based on the spectral energy peak at the frequency position that is an integer multiple of the harmonic distortion feature. The frequency points outside the signal bandwidth that have energy exceeding a preset out-of-band energy threshold are detected as the out-of-band interference feature. The instantaneous phase sequence is extracted by performing Hilbert transform on the electric domain analog signal, the phase deviation of the instantaneous phase sequence is calculated, and the phase curvature parameter is obtained by calculating the second derivative as the phase shift feature caused by the dispersion; Using the pulse arrival time and the drift start time as time domain coordinates, the integer multiple frequency positions and the frequency points in the out-of-band interference features as frequency domain coordinates, and the phase curvature parameter as phase domain coordinates, a three-dimensional spatial coordinate structure is constructed as the noise feature descriptor.

3. The method according to claim 1, characterized in that, Based on the noise feature descriptor, broadband suppression is performed on the electrical domain analog signal according to the harmonic distortion characteristics and out-of-band interference characteristics to obtain a frequency domain cleaned signal, including: Extract the integer multiple frequency positions and harmonic distortion coefficients corresponding to the harmonic distortion features from the noise feature descriptor. For each integer multiple frequency position, construct a harmonic suppression frequency band centered on the integer multiple frequency position. The magnitude of the harmonic distortion coefficient is proportional to the bandwidth of the harmonic suppression frequency band. Extract the frequency points corresponding to the out-of-band interference features from the noise feature descriptor, and construct an out-of-band suppression band centered on each frequency point, with the out-of-band suppression band covering the frequency range around the frequency point. A frequency domain suppression template is generated based on the harmonic suppression frequency band and the out-of-band suppression frequency band. The frequency domain suppression template has a suppression gain coefficient set in the harmonic suppression frequency band and the out-of-band suppression frequency band, and a passband gain coefficient set in the effective signal frequency band. The suppression gain coefficient is smaller than the passband gain coefficient. The value of the suppression gain coefficient is determined according to the harmonic distortion coefficient. The frequency domain signal is obtained by performing a fast Fourier transform on the electrical domain analog signal. The frequency domain signal is then multiplied with the frequency domain suppression template in the frequency domain. Finally, the frequency domain signal after the multiplication operation is converted back to the time domain by an inverse fast Fourier transform to obtain the frequency domain cleaned signal.

4. The method according to claim 1, characterized in that, Based on the transient pulse interference characteristics, slow drift characteristics, and phase shift characteristics, the frequency domain cleaned signal is subjected to time-domain nonlinear suppression, phase-domain compensation correction, and phase alignment to obtain a reconstructed electrical domain analog signal, including: Extract the pulse arrival time corresponding to the transient pulse interference feature, locate the pulse time domain position point corresponding to the pulse arrival time in the frequency domain clean signal, and construct a pulse suppression time window at the pulse time domain position point. Extract the drift start time corresponding to the slow drift feature, locate the drift time domain position point corresponding to the drift start time in the frequency domain clean signal, construct a baseline correction time period starting from the drift time domain position point, and calculate the baseline offset of the frequency domain clean signal within the baseline correction time period; The frequency domain cleaned signal is subjected to nonlinear amplitude reduction processing within the pulse suppression time window, and baseline offset compensation processing is performed within the baseline correction time period to obtain the time domain corrected signal; Extract the phase curvature parameter corresponding to the phase offset feature, and construct a phase compensation sequence based on the phase curvature parameter. The curvature of the phase compensation sequence has the opposite sign to the curvature of the phase curvature parameter. The time-domain correction signal is subjected to analytical signal transformation to obtain a complex signal representation. Phase trajectory data is extracted from the complex signal representation. The phase trajectory data is superimposed with the phase compensation sequence in the phase domain. Based on the phase sequence after superposition, the real component of the reconstructed signal is obtained to obtain the reconstructed electrical domain analog signal.

5. The method according to claim 1, characterized in that, After aligning the reconstructed electrical domain analog signal with the reference signal in the time domain, performing differential operations to obtain the distorted residual signal includes: Extract the time-domain waveform feature points of the reconstructed electrical domain analog signal, and extract the time-domain waveform feature points of the reference signal; Calculate the time offset between the time-domain waveform feature points of the reconstructed electrical domain analog signal and the time-domain waveform feature points of the reference signal, and perform a time-domain translation operation on the reconstructed electrical domain analog signal according to the time offset to align the time-domain waveform feature points of the reconstructed electrical domain analog signal with the time-domain waveform feature points of the reference signal on the time axis. Calculate the amplitude ratio of the reconstructed electrical domain analog signal to the reference signal after time-domain alignment, and perform amplitude normalization processing on the reconstructed electrical domain analog signal based on the amplitude ratio, so that the amplitude magnitude of the reconstructed electrical domain analog signal is consistent with the amplitude magnitude of the reference signal. The reconstructed electrical domain analog signal after time-domain shifting and amplitude normalization is subjected to a point-by-point differential operation in the time domain with the reference signal, and the time-domain sequence after the differential operation is used as the distortion residual signal.

6. The method according to claim 1, characterized in that, The distorted residual signal is subjected to Walsh-Hadamard transform. Distortion components of each order are identified in the transform domain. Inverse compensation components with equal amplitude and opposite phase to each order distortion component are constructed. All inverse compensation components and their corresponding compensation intensity coefficients are weighted and superimposed in the transform domain, and then an inverse transform is performed to obtain the time-domain inverse compensation signal, including: A Walsh-Hadamard transform is performed on the distorted residual signal to obtain a transform domain coefficient matrix. The transform domain coefficients corresponding to each order of distortion components are extracted from the transform domain coefficient matrix. The transform domain coefficients corresponding to each order of distortion components are arranged in order of order to form a distortion coefficient sequence. For each distortion coefficient in the distortion coefficient sequence, the amplitude and phase values ​​of the distortion coefficient are extracted, and an inverse coefficient is constructed that is equal to the amplitude value and differs from the phase value by a preset phase difference. The preset phase difference causes the inverse coefficient and the distortion coefficient to cancel each other out in the time domain. Each distortion coefficient in the distortion coefficient sequence is mapped to a corresponding inverse coefficient to form an inverse coefficient sequence. The compensation intensity coefficient of the corresponding inverse coefficient in the inverse coefficient sequence is determined based on the amplitude value of each distortion coefficient in the distortion coefficient sequence. The value of the compensation intensity coefficient is proportional to the amplitude value of the distortion coefficient. Each inverse coefficient in the inverse coefficient sequence is weighted with its corresponding compensation intensity coefficient. All the weighted inverse coefficients are then superimposed in the transform domain to obtain the compensation transform domain coefficient matrix. The compensation transform domain coefficient matrix is ​​then subjected to a Walsh-Hadamard inverse transform to be converted back to the time domain to obtain the time-domain inverse compensation signal.

7. The method according to claim 1, characterized in that, The time-domain inverse compensation signal and the reconstructed electrical domain analog signal are superimposed in the time domain to obtain the denoised electrical domain analog signal, which includes: The number of time-domain sampling points is detected for the time-domain inverse compensation signal and the reconstructed electrical domain analog signal, and it is determined whether the number of time-domain sampling points of the time-domain inverse compensation signal is consistent with the number of time-domain sampling points of the reconstructed electrical domain analog signal. When the number of time-domain sampling points of the time-domain inverse compensation signal is inconsistent with the number of time-domain sampling points of the reconstructed electrical analog signal, the signal with fewer time-domain sampling points is subjected to time-domain sampling point expansion processing to make the number of time-domain sampling points consistent. Extract the amplitude value of the time-domain inverse compensation signal at each time-domain sampling point, extract the amplitude value of the reconstructed electrical domain analog signal at each time-domain sampling point, and calculate the amplitude-energy ratio of the time-domain inverse compensation signal and the reconstructed electrical domain analog signal at the corresponding time-domain sampling point. The amplitude-weighted adjustment of the time-domain inverse compensation signal is performed according to the amplitude-energy ratio. The amplitude-weighted time-domain inverse compensation signal and the reconstructed electrical domain analog signal are then superimposed point by point at each time-domain sampling point to obtain the denoised electrical domain analog signal. An 8.5G building all-optical access analog fiber optic noise reduction system, used to implement the method as described in any one of claims 1-7, characterized in that, include: The feature extraction unit is used to acquire the analog signal in the electrical domain and extract transient pulse interference features and slow drift features in the time domain, harmonic distortion features and out-of-band interference features in the frequency domain, and phase shift features caused by dispersion in the phase domain, generating a noise feature descriptor containing three-dimensional spatial coordinates of time, frequency and phase. A broadband suppression unit is used to perform broadband suppression on the electrical domain analog signal based on the noise feature descriptor, according to the harmonic distortion characteristics and out-of-band interference characteristics, to obtain a frequency domain clean signal. The timing correction unit is used to perform time-domain nonlinear suppression, phase-domain compensation correction, and phase alignment on the frequency-domain clean signal based on the transient pulse interference characteristics, slow-varying drift characteristics, and phase shift characteristics, to obtain a reconstructed electrical domain analog signal. The differential operation unit is used to perform differential operation on the reconstructed electrical domain analog signal and the reference signal in the time domain to obtain the distorted residual signal; The transform domain complement unit is used to perform Walsh-Hadamard transform on the distorted residual signal, identify each order of distortion components in the transform domain, construct an inverse compensation component with the same amplitude and opposite phase to each order of distortion component, and perform an inverse transform after weighting and superimposing all inverse compensation components and their corresponding compensation intensity coefficients in the transform domain to obtain the time-domain inverse compensation signal. The signal superposition unit is used to superimpose the time-domain inverse compensation signal and the reconstructed electrical domain analog signal in the time domain to obtain the denoised electrical domain analog signal.

9. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to invoke instructions stored in the memory to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the computer program instructions are executed by the processor, they implement the method described in any one of claims 1 to 7.