patents.google.com

CN115021836B - Signal compensation method and device, frequency domain compensation data determination method and device - Google Patents

  • ️Tue Sep 24 2024

具体实施方式DETAILED DESCRIPTION

为了能够更加详尽地了解本申请实施例的特点与技术内容,下面结合附图对本申请实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present invention.

需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

应理解,本申请实施例的技术方案可以应用第四代移动通信系统(the 4thgeneration mobile communication system,4G)、新无线(New Radio,NR)系统或未来的通信系统,也可以用于其他各种无线通信系统,例如:窄带物联网(Narrow Band-Internet ofThings,NB-IoT)系统、全球移动通讯系统(Global System of Mobile communication,GSM)、增强型数据速率GSM演进(Enhanced Data rate for GSM Evolution,EDGE)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、码分多址2000(Code Division Multiple Access,CDMA2000)系统、时分同步码分多址(Time Division-Synchronization Code Division Multiple Access,TD-SCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)等。It should be understood that the technical solution of the embodiment of the present application can be applied to the fourth generation mobile communication system (4G), the new wireless (NR) system or the future communication system, and can also be used in various other wireless communication systems, such as: Narrow Band-Internet of Things (NB-IoT) system, Global System of Mobile communication (GSM), Enhanced Data rate for GSM Evolution (EDGE) system, Wideband Code Division Multiple Access (WCDMA) system, Code Division Multiple Access 2000 (CDMA2000) system, Time Division-Synchronization Code Division Multiple Access (TD-SCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TD-SCDMA) system. Duplex, TDD), Universal Mobile Telecommunication System (UMTS), etc.

图1示出了本申请实施例可能适用的一种网络架构。如图1所示,本实施例提供的网络架构包括:网络设备101和终端设备102。本申请实施例所涉及到的终端设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他电子设备,以及各种形式的用户终端设备(terminal device)或移动台(MobileStation,MS)等等。本申请实施例所涉及到的网络设备是一种部署在无线接入网中用以为终端设备提供无线通信功能的设备。在本申请实施例中,该网络设备例如可以为图1所示的基站,该基站可以包括各种形式的宏基站,微基站,中继站,接入点等电子设备。FIG1 shows a network architecture that may be applicable to an embodiment of the present application. As shown in FIG1 , the network architecture provided in this embodiment includes: a network device 101 and a terminal device 102. The terminal devices involved in the embodiments of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other electronic devices connected to a wireless modem with wireless communication functions, as well as various forms of user terminal devices (terminal device) or mobile stations (MobileStation, MS), etc. The network device involved in the embodiments of the present application is a device deployed in a wireless access network to provide wireless communication functions for terminal devices. In an embodiment of the present application, the network device may be, for example, the base station shown in FIG1, and the base station may include various forms of macro base stations, micro base stations, relay stations, access points and other electronic devices.

本申请实施例提供的信号补偿方法,可以应用在网络设备与终端设备进行信息交互时的接收端中,接收端既可以是终端设备也可以是网络设备。可选的,该方法也可以应用在终端与终端之间的信息交互过程中,即发送端和接收端为两个不同的终端,对此本申请实施例不做限制。The signal compensation method provided in the embodiment of the present application can be applied to the receiving end when the network device and the terminal device perform information exchange, and the receiving end can be either the terminal device or the network device. Optionally, the method can also be applied in the process of information exchange between terminals, that is, the sending end and the receiving end are two different terminals, which is not limited by the embodiment of the present application.

实际应用中,调制解调器(Modem)接收到的信号,都会经历过严重的频域损伤。一般的,这种频域损伤可能是由模拟器件通道和数字滤波通道的频域特性造成,其后果往往是信号频谱的主瓣受到损伤,形状发生严重畸变。In practical applications, the signals received by the modem will experience severe frequency domain damage. Generally, this frequency domain damage may be caused by the frequency domain characteristics of the analog device channel and the digital filter channel, and the result is often that the main lobe of the signal spectrum is damaged and the shape is seriously distorted.

图2示出了本申请提供的信号补偿方法可能适用的业务场景,如图2所示,该方法可以应用于4G/5G制式的Modem 21中。FIG2 shows a service scenario to which the signal compensation method provided in the present application may be applicable. As shown in FIG2 , the method can be applied to a Modem 21 of the 4G/5G standard.

如图2所示,目标信号从天线进入接收机,经过射频链路模块和模数转换器(Analog Digital Convertor,ADC)后,进入Modem 21中进行处理。也就是说目标信号可能会经历射频链路的频域损伤,以及ADC器件的频域损伤。As shown in FIG2 , the target signal enters the receiver from the antenna, passes through the RF link module and the analog digital converter (ADC), and then enters the Modem 21 for processing. That is, the target signal may experience frequency domain damage of the RF link and frequency domain damage of the ADC device.

Modem 21可以包括数字链路损伤(Decimate)模块、离散傅里叶变换(DiscreteFourier Transform,DFT)或快速傅里叶变换(Fast Fourier Transform,FFT)模块、解调与侦测(Demodulation&Detection,DMD)模块、以及小区搜索和测量(Cell search&Measurement,CSM)模块。Modem 21 may include a digital link impairment (Decimate) module, a discrete Fourier transform (DFT) or fast Fourier transform (FFT) module, a demodulation and detection (DMD) module, and a cell search and measurement (CSM) module.

其中,数字链路损伤模块用于对目标信号进行下采样和滤波处理,滤除干扰信号。DFT/FFT模块用于将目标信号从时域转换至频域,以便于得到基带信号。DMD模块用于对基带信号进行解调和检测。CSM模块用于根据基带信号进行小区搜索和测量。Among them, the digital link damage module is used to downsample and filter the target signal to filter out the interference signal. The DFT/FFT module is used to convert the target signal from the time domain to the frequency domain to obtain the baseband signal. The DMD module is used to demodulate and detect the baseband signal. The CSM module is used to search and measure the cell based on the baseband signal.

参考图3所示的示意图,受到频域损伤的信号的频谱31和理想接收信号的频谱32(即无频域损伤的情况下目标信号的频谱)相比已经发生了巨大变化,而且随着信号经历不同的通道,信号在频域也会经历各种不同的损伤。这些损伤都需要相应的补偿值来补偿频域的损伤,否则后续的信道估计,测量等处理都会受到严重影响。为了降低频域损伤带来的影响,实际应用中,可以根据理想接收信号的频谱32和受到频域损伤的信号的频谱31,确定理想补偿函数33。基于该理想补偿函数33,可以对目标信号进行频域补偿。Referring to the schematic diagram shown in FIG3 , the spectrum 31 of the signal damaged in the frequency domain has changed greatly compared to the spectrum 32 of the ideal received signal (i.e., the spectrum of the target signal without frequency domain damage), and as the signal passes through different channels, the signal will also experience various damages in the frequency domain. These damages require corresponding compensation values to compensate for the damage in the frequency domain, otherwise subsequent channel estimation, measurement and other processing will be seriously affected. In order to reduce the impact of frequency domain damage, in actual applications, an ideal compensation function 33 can be determined based on the spectrum 32 of the ideal received signal and the spectrum 31 of the signal damaged in the frequency domain. Based on the ideal compensation function 33, the target signal can be compensated in the frequency domain.

具体来说,目前的补偿方式可以是,先根据器件(例如图2所示的射频链路模块,或者ADC模块,或者数字链路损伤模块)造成的频域损伤进行频谱求逆,得到频域内每个采样点的理想补偿值,该理想补偿值可以理解为使每个采样点的信号值恢复至未收到频域损伤的大小的补偿值。然后构建采样点和理想补偿值之间的多项式,并对该多项式进行离线拟合,使多项式中每个采样点的计算结果逼近这个理想补偿值,确定多项式中每项的系数,得到每一项分别对应的拟合系数,并存储这些拟合系数。当需要进行频域补偿时,便可基于上述多项式的拟合系数计算得到每个采样点的频域补偿值,接着将得到的每个采样点的频域补偿值与受到频域损伤的目标信号的频谱31相乘,实现目标信号的频域补偿。Specifically, the current compensation method can be to first perform spectrum inversion based on the frequency domain damage caused by the device (such as the RF link module, ADC module, or digital link damage module shown in FIG2 ) to obtain the ideal compensation value for each sampling point in the frequency domain, which can be understood as a compensation value that restores the signal value of each sampling point to the size without frequency domain damage. Then, a polynomial between the sampling point and the ideal compensation value is constructed, and the polynomial is fitted offline so that the calculation result of each sampling point in the polynomial approaches the ideal compensation value, the coefficient of each item in the polynomial is determined, the fitting coefficient corresponding to each item is obtained, and these fitting coefficients are stored. When frequency domain compensation is required, the frequency domain compensation value of each sampling point can be calculated based on the fitting coefficient of the above polynomial, and then the obtained frequency domain compensation value of each sampling point is multiplied by the spectrum 31 of the target signal damaged by the frequency domain to achieve frequency domain compensation of the target signal.

然而,上述方案需要存储每个采样点对应的拟合系数,计算方式复杂而且数据存储量较大。为了降低运算复杂度和存储数据量,参考图4所示,实际应用中可以将接收信号在频域上均匀分段,每个频域区间内的采样点采用同一个补偿值进行补偿,每个频域区间对应的补偿值是该频域区间内所有采样点理想补偿值的平均值。However, the above scheme needs to store the fitting coefficient corresponding to each sampling point, the calculation method is complicated and the data storage volume is large. In order to reduce the computational complexity and the amount of stored data, referring to FIG4, in actual application, the received signal can be evenly segmented in the frequency domain, and the sampling points in each frequency domain interval are compensated with the same compensation value, and the compensation value corresponding to each frequency domain interval is the average value of the ideal compensation values of all sampling points in the frequency domain interval.

其中,图4中的横轴表示频域,纵轴表示幅度域,虚线41表示理想补偿函数H(f)对应的曲线。另外,图4中还包括多个虚线42,多个虚线42可以用于区分划分后的多个频域区间,两个相邻的虚线42之间频域表征一个频域区间。另外,每个频域区间中包括一段实线43,实线43对应的幅度值为每个频域区间中采样点的频域补偿值。In FIG. 4 , the horizontal axis represents the frequency domain, the vertical axis represents the amplitude domain, and the dotted line 41 represents the curve corresponding to the ideal compensation function H(f). In addition, FIG. 4 also includes a plurality of dotted lines 42, which can be used to distinguish the multiple frequency domain intervals after division, and the frequency domain between two adjacent dotted lines 42 represents a frequency domain interval. In addition, each frequency domain interval includes a solid line 43, and the amplitude value corresponding to the solid line 43 is the frequency domain compensation value of the sampling point in each frequency domain interval.

图4对应的相关技术中,可以通过以下步骤进行信号补偿:In the related art corresponding to FIG4 , signal compensation can be performed through the following steps:

步骤a、将需要进行频域补偿的频域平均分为K个频域区间,计算每个频域区间对应的频域补偿值。Step a: Divide the frequency domain that needs to be compensated in the frequency domain into K frequency domain intervals on average, and calculate the frequency domain compensation value corresponding to each frequency domain interval.

其中,每个频域区间的频域补偿值可以是划分频域区间后的该频域区间内所有采样点的理想补偿值的平均值。这里的理想补偿值是由理想补偿函数H(f),即图4中曲线41确定的。示例性的,根据曲线41可以确定采样点4对应的纵坐标的取值为H(4),因此,可以确定采样点4的理想补偿值即为H(4)。The frequency domain compensation value of each frequency domain interval may be the average value of the ideal compensation values of all sampling points in the frequency domain interval after the frequency domain interval is divided. The ideal compensation value here is determined by the ideal compensation function H(f), that is, the curve 41 in FIG. 4. Exemplarily, according to the curve 41, it can be determined that the value of the ordinate corresponding to the sampling point 4 is H(4), and therefore, it can be determined that the ideal compensation value of the sampling point 4 is H(4).

步骤b、接收到目标信号时,从存储空间中获取每个频域区间对应的频域补偿值。Step b: when the target signal is received, the frequency domain compensation value corresponding to each frequency domain interval is obtained from the storage space.

步骤c、基于每个频域区间的频域补偿值对目标信号进行逐点补偿。Step c: compensating the target signal point by point based on the frequency domain compensation value of each frequency domain interval.

其中,第k个频域区间中的采样点(例如第一个频域区间中采样点1至4)使用同一个频域补偿值hk进行补偿,k为[1,K]内的任意整数。公式(1)示出了目标信号的频域补偿序列。The sampling points in the kth frequency domain interval (eg, sampling points 1 to 4 in the first frequency domain interval) are compensated using the same frequency domain compensation value hk , where k is any integer in [1, K]. Formula (1) shows the frequency domain compensation sequence of the target signal.

其中,为信号的频域补偿序列,包括了频域中每个采样点对应的频域补偿值。L为每个频域区间的长度,也可以理解为每个频域区间内的采样点数量,L·K=N/2。N为FFT长度,也可以理解为频域内所有采样点的数量。in, is the frequency domain compensation sequence of the signal, including the frequency domain compensation value corresponding to each sampling point in the frequency domain. L is the length of each frequency domain interval, which can also be understood as the number of sampling points in each frequency domain interval, L·K=N/2. N is the FFT length, which can also be understood as the number of all sampling points in the frequency domain.

也就是说,相关技术中的设备可以仅仅存储每个频域区间对应的频域补偿值,而不用存储所有采样点的补偿值。That is to say, the device in the related art may only store the frequency domain compensation value corresponding to each frequency domain interval, without storing the compensation values of all sampling points.

然而,为了提高补偿精度,使逼近理想补偿函数H(f),可以按照以下公式(2)进行优化。However, in order to improve the compensation accuracy, Approximating the ideal compensation function H(f), it can be optimized according to the following formula (2).

可以理解的是,相关技术中为了达到一定的补偿精度,需要划分更多的频域区间(即增大K值),造成了存储和传输的负担。而在传递和存储信息量一定的条件下,补偿精度受限。It is understandable that in order to achieve a certain compensation accuracy in the related art, more frequency domain intervals need to be divided (ie, the K value is increased), which causes a burden on storage and transmission. Under the condition of a certain amount of information to be transmitted and stored, the compensation accuracy is limited.

基于此,本申请实施例提供一种信号补偿方法,可以应用于Modem中,或应用于包括Modem的终端设备中,或应用于包括网络设备中。以终端设备为例,终端设备可以获取目标信号频域内多个频域区间的每个频域区间对应的斜率参数;该斜率参数是基于当前频域区间中至少两个采样点分别对应的理想补偿值确定;其中,至少两个采样点与其对应的理想补偿值满足理想补偿函数,理想补偿函数用于指示频域内的采样点与所述目标信号的频域补偿值之间的相关关系;利用所述每个频域区间对应的斜率参数,对所述目标信号的信号值进行补偿。Based on this, an embodiment of the present application provides a signal compensation method, which can be applied to a modem, or to a terminal device including a modem, or to a network device. Taking the terminal device as an example, the terminal device can obtain the slope parameter corresponding to each frequency domain interval of multiple frequency domain intervals in the frequency domain of the target signal; the slope parameter is determined based on the ideal compensation values corresponding to at least two sampling points in the current frequency domain interval; wherein at least two sampling points and their corresponding ideal compensation values satisfy an ideal compensation function, and the ideal compensation function is used to indicate the correlation between the sampling points in the frequency domain and the frequency domain compensation value of the target signal; using the slope parameter corresponding to each frequency domain interval, the signal value of the target signal is compensated.

也就是说,终端设备在接收到目标信号后,可以将频域划分为多个频域区间,利用每个频域区间对应的斜率参数,对目标信号进行补偿处理;由于每个频域区间的斜率参数可以表征对应频域区间中采样点的理想补偿值的变化情况,因此,基于每个频域区间的斜率参数确定出对应频域区间中采样点的补偿值更逼近理想补偿值。这样,本申请实施例提供的信号补偿方法中,终端设备获取每个频域区间的斜率参数,并基于每个频域区间的斜率参数进行补偿后的目标信号,更接近理想接收信号。也就是说,在存储/传递信息量有限的情况下,本申请实施例提供的信号补偿方法可以提高信号的补偿精度;而在与相关技术中的补偿精度相同的情况下,本申请实施例提供的信号补偿方法可以存储/传递更少的信息量,从而节省存储开销。如此,有效平衡了补偿精度以及存储/传递信息量之间的关系。That is to say, after receiving the target signal, the terminal device can divide the frequency domain into multiple frequency domain intervals, and use the slope parameters corresponding to each frequency domain interval to compensate the target signal; since the slope parameters of each frequency domain interval can characterize the change of the ideal compensation value of the sampling point in the corresponding frequency domain interval, the compensation value of the sampling point in the corresponding frequency domain interval determined based on the slope parameters of each frequency domain interval is closer to the ideal compensation value. In this way, in the signal compensation method provided by the embodiment of the present application, the terminal device obtains the slope parameters of each frequency domain interval, and the target signal after compensation based on the slope parameters of each frequency domain interval is closer to the ideal received signal. In other words, in the case of limited storage/transmission of information, the signal compensation method provided by the embodiment of the present application can improve the compensation accuracy of the signal; and in the case of the same compensation accuracy as in the related art, the signal compensation method provided by the embodiment of the present application can store/transmit less information, thereby saving storage overhead. In this way, the relationship between compensation accuracy and storage/transmission of information is effectively balanced.

示例性的,参考图2所示的业务场景示意图,采用本申请实施例提供的信号补偿方法进行补偿后的目标信号,可以服务于Modem中的解调与侦测(Demodulation&Detection,DMD)和小区搜索和测量(Cell search&measurement,CSM)两个模块。具体地,目标信号经历射频链路的频域损伤,以及ADC器件的频域损伤后进入Modem 21中。进入Modem 21的目标信号可以经历两个通道,其中一个通道是DFT/FFT模块和DMD模块构成的通道。另外一个通道是数字链路损伤模块、DFT/FFT模块和CSM模块构成的通道。Exemplarily, referring to the business scenario diagram shown in FIG2, the target signal compensated by the signal compensation method provided in the embodiment of the present application can serve the two modules of demodulation and detection (DMD) and cell search and measurement (CSM) in the modem. Specifically, the target signal enters the Modem 21 after experiencing the frequency domain damage of the RF link and the frequency domain damage of the ADC device. The target signal entering the Modem 21 can go through two channels, one of which is a channel composed of a DFT/FFT module and a DMD module. The other channel is a channel composed of a digital link damage module, a DFT/FFT module, and a CSM module.

在一些实施例中,本申请实施例提供的信号补偿方法的实施主体可以是DFT/FFT模块。In some embodiments, the implementation body of the signal compensation method provided in the embodiments of the present application may be a DFT/FFT module.

示例性的,在DFT/FFT模块和DMD模块构成的通道中,DFT/FFT模块可以将接收到的目标信号由时域信号转换至频域信号,进一步,DFT/FFT模块采用本申请提供的信号补偿方法对时频转换后的目标信号进行频域补偿,得到经过补偿的目标信号,并将经过补偿的目标信号发送至DMD模块进行后续基带处理。Exemplarily, in a channel formed by a DFT/FFT module and a DMD module, the DFT/FFT module can convert the received target signal from a time domain signal to a frequency domain signal. Furthermore, the DFT/FFT module uses the signal compensation method provided in the present application to perform frequency domain compensation on the target signal after time-frequency conversion to obtain a compensated target signal, and sends the compensated target signal to the DMD module for subsequent baseband processing.

在数字链路损伤模块、DFT/FFT模块和CSM模块构成的通道中,数字链路损伤模块接收到目标信号后,可以对目标信号进行下采样和滤波处理,并将处理后的目标信号传输至DFT/FFT模块。DFT/FFT模块可以将接收到的目标信号由时域信号转换至频域信号,进一步,DFT/FFT模块采用本申请提供的信号补偿方法对时频转换后的目标信号进行频域补偿,得到经过补偿的目标信号,并将经过补偿的目标信号发送至CSM模块进行后续基带处理。In the channel composed of the digital link damage module, the DFT/FFT module and the CSM module, after receiving the target signal, the digital link damage module can downsample and filter the target signal, and transmit the processed target signal to the DFT/FFT module. The DFT/FFT module can convert the received target signal from a time domain signal to a frequency domain signal. Further, the DFT/FFT module uses the signal compensation method provided in the present application to perform frequency domain compensation on the target signal after time-frequency conversion to obtain a compensated target signal, and sends the compensated target signal to the CSM module for subsequent baseband processing.

在一些实施例中,本申请实施例提供的信号补偿方法的实施主体可以是DMD模块或者CSM模块。In some embodiments, the implementation body of the signal compensation method provided in the embodiments of the present application may be a DMD module or a CSM module.

示例性的,在DFT/FFT模块和DMD模块构成的通道中,DFT/FFT模块可以将接收到的目标信号由时域信号转换至频域信号,并将时频转换后的目标信号传输至DMD模块。这样,DMD模块可以采用本申请提供的信号补偿方法对接收到的目标信号进行频域补偿,得到经过补偿的目标信号,进而对经过补偿的目标信号进行后续基带处理。Exemplarily, in the channel formed by the DFT/FFT module and the DMD module, the DFT/FFT module can convert the received target signal from the time domain signal to the frequency domain signal, and transmit the target signal after the time-frequency conversion to the DMD module. In this way, the DMD module can use the signal compensation method provided by the present application to perform frequency domain compensation on the received target signal to obtain a compensated target signal, and then perform subsequent baseband processing on the compensated target signal.

在数字链路损伤模块、DFT/FFT模块和CSM模块构成的通道中,数字链路损伤模块接收到目标信号后,可以对目标信号进行下采样和滤波处理,并将处理后的目标信号传输至DFT/FFT模块。DFT/FFT模块可以将接收到的目标信号由时域信号转换至频域信号,并将时频转换后的目标信号传输至CSM模块。这样,CSM模块可以采用本申请提供的信号补偿方法对接收到的目标信号进行频域补偿,得到经过补偿的目标信号,进而对经过补偿的目标信号进行后续基带处理。In the channel composed of the digital link damage module, the DFT/FFT module and the CSM module, after receiving the target signal, the digital link damage module can downsample and filter the target signal, and transmit the processed target signal to the DFT/FFT module. The DFT/FFT module can convert the received target signal from a time domain signal to a frequency domain signal, and transmit the target signal after time-frequency conversion to the CSM module. In this way, the CSM module can use the signal compensation method provided in the present application to perform frequency domain compensation on the received target signal, obtain a compensated target signal, and then perform subsequent baseband processing on the compensated target signal.

可以理解,本申请实施例提供的信号补偿方法可以应用在网络设备与终端设备之间的信息交互过程中,即在线阶段,该在线阶段是指调制解调器可以对接收到的目标信号进行实时的频域补偿的阶段。具体地,该方法既可以应用于无线通信系统中的网络设备,还可以应用于无线通信系统中的终端设备,以下论述以终端设备为例进行说明。It can be understood that the signal compensation method provided in the embodiment of the present application can be applied in the information interaction process between the network device and the terminal device, that is, the online stage, which refers to the stage in which the modem can perform real-time frequency domain compensation on the received target signal. Specifically, the method can be applied to both the network device in the wireless communication system and the terminal device in the wireless communication system. The following discussion takes the terminal device as an example for explanation.

图5为本申请实施例信号补偿方法的实现流程示意图,如图5所示,所述方法可以包括步骤510和步骤520:FIG5 is a schematic diagram of an implementation flow of a signal compensation method according to an embodiment of the present application. As shown in FIG5 , the method may include steps 510 and 520:

步骤510、获取多个频域区间中每个频域区间对应的斜率参数;每个频域区间的斜率参数是基于每个频域区间中至少两个采样点分别对应的理想补偿值确定;其中,至少两个采样点与其对应的理想补偿值满足理想补偿函数,理想补偿函数用于指示频域内的采样点与所述目标信号的频域补偿值之间的相关关系。Step 510, obtain a slope parameter corresponding to each frequency domain interval in a plurality of frequency domain intervals; the slope parameter of each frequency domain interval is determined based on ideal compensation values corresponding to at least two sampling points in each frequency domain interval; wherein at least two sampling points and their corresponding ideal compensation values satisfy an ideal compensation function, and the ideal compensation function is used to indicate a correlation between the sampling points in the frequency domain and the frequency domain compensation value of the target signal.

步骤520、利用每个频域区间对应的斜率参数,对目标信号的信号值进行补偿。Step 520: Compensate the signal value of the target signal using the slope parameter corresponding to each frequency domain interval.

需要说明的是,目标信号的频域可以被划分为多个频域区间,其中,每个频域区间的长度相同或者不同,也就是说每个频域区间的采样点数量相同或者不同,本申请实施例对此不做限制。It should be noted that the frequency domain of the target signal can be divided into multiple frequency domain intervals, wherein the length of each frequency domain interval is the same or different, that is, the number of sampling points in each frequency domain interval is the same or different, and the embodiments of the present application do not impose any restrictions on this.

本申请实施例中,当终端设备接收到目标信号后,可以获取划分频域区间后的每个频域区间所对应的斜率参数。In an embodiment of the present application, after the terminal device receives the target signal, it can obtain the slope parameter corresponding to each frequency domain interval after the frequency domain interval is divided.

其中,每个频域区间对应的斜率参数可以预先根据理想补偿函数确定。在一种可能的实现方式中,每个频域区间对应的斜率参数可以是已存储的数据,相应的,获取多个频域区间中每个频域区间对应的斜率参数,可以理解为从存储空间中读取已存储的每个频域区间对应的斜率参数。Among them, the slope parameter corresponding to each frequency domain interval can be determined in advance according to the ideal compensation function. In a possible implementation, the slope parameter corresponding to each frequency domain interval can be stored data, and accordingly, obtaining the slope parameter corresponding to each frequency domain interval in multiple frequency domain intervals can be understood as reading the slope parameter corresponding to each stored frequency domain interval from the storage space.

示例性的,每个频域区间的斜率参数可以根据该频域区间中两个或者两个以上的采样点对应的理想补偿值确定,而采样点对应的理想补偿值可以根据理想补偿函数确定。Exemplarily, the slope parameter of each frequency domain interval may be determined according to the ideal compensation values corresponding to two or more sampling points in the frequency domain interval, and the ideal compensation values corresponding to the sampling points may be determined according to the ideal compensation function.

应理解,理想补偿函数是指对目标器件造成的频域损伤进行频域补偿的函数。也就是说,理想补偿函数可以表征频域内的采样点与目标信号的频域补偿值之间的相关关系。It should be understood that the ideal compensation function refers to a function that performs frequency domain compensation on the frequency domain damage caused by the target device. In other words, the ideal compensation function can characterize the correlation between the sampling points in the frequency domain and the frequency domain compensation value of the target signal.

应理解,目标器件是指使接收信号发生频域损伤的器件。目标器件可以是模拟滤波器、数字滤波器、模数转换器、功率放大器等器件,本申请实施例对此不做限定。It should be understood that the target device refers to a device that causes frequency domain damage to the received signal. The target device may be an analog filter, a digital filter, an analog-to-digital converter, a power amplifier, etc., and the embodiments of the present application do not limit this.

实际应用中,可以根据目标器件的频率响应函数,恢复出目标信号通过目标器件后产生的频域损伤。进而,终端设备可以根据该频域损伤,确定频域中每个采样点与频域补偿值之间的相关关系,从而得到理想补偿函数。In practical applications, the frequency domain damage caused by the target signal passing through the target device can be restored based on the frequency response function of the target device. Then, the terminal device can determine the correlation between each sampling point in the frequency domain and the frequency domain compensation value based on the frequency domain damage, thereby obtaining an ideal compensation function.

示例性的,图3示出了理想接收信号的频谱31和受到频域损伤的目标信号的频谱32,和理想补偿函数33。由图3可见,频域损伤在目标信号的频域上具有对称性。参考图3所示,目标信号可以包括N个采样点,其中,受到频域损伤的目标信号32,其幅度在频域内采样点-N/2至0的分布与在频域内采样点0至N/2中的分布相同。对应的,理想补偿函数33在目标信号的频域上也具有对称性。Exemplarily, FIG3 shows a spectrum 31 of an ideal received signal, a spectrum 32 of a target signal with frequency domain damage, and an ideal compensation function 33. As shown in FIG3, the frequency domain damage is symmetrical in the frequency domain of the target signal. Referring to FIG3, the target signal may include N sampling points, wherein the target signal 32 with frequency domain damage has the same distribution of its amplitude in the sampling points -N/2 to 0 in the frequency domain as that in the sampling points 0 to N/2 in the frequency domain. Correspondingly, the ideal compensation function 33 is also symmetrical in the frequency domain of the target signal.

可选地,理想补偿函数33可以仅指示频域内N/2个采样点与目标信号的频域补偿值之间的相关关系,N为理想补偿函数中采样点的个数,N为大于或等于2的偶数。频域中的另外N/2个采样点对应的补偿值,可以根据已知的N/2个采样点来确定。Optionally, the ideal compensation function 33 may only indicate the correlation between N/2 sampling points in the frequency domain and the frequency domain compensation value of the target signal, where N is the number of sampling points in the ideal compensation function, and N is an even number greater than or equal to 2. The compensation values corresponding to the other N/2 sampling points in the frequency domain may be determined based on the known N/2 sampling points.

示例性的,参考图6所示的频域补偿示意图,其中横轴表示频域,纵轴表示幅度域。虚线61为理想补偿函数。也就是说,频域内采样点1至采样点N/2,与目标信号补偿值之间的关系呈现虚线61所示的曲线关系。每个采样点对应的理想补偿值,可以由虚线61确定。以虚线61中的点a为例,点a在横轴的投影为采样点n,点a在纵轴的投影为H(n),表示在采样点n上目标信号的理想补偿值为H(n)。Exemplarily, refer to the frequency domain compensation schematic diagram shown in FIG6 , in which the horizontal axis represents the frequency domain and the vertical axis represents the amplitude domain. The dotted line 61 is an ideal compensation function. In other words, the relationship between sampling point 1 to sampling point N/2 in the frequency domain and the target signal compensation value presents a curve relationship shown by the dotted line 61. The ideal compensation value corresponding to each sampling point can be determined by the dotted line 61. Taking point a in the dotted line 61 as an example, the projection of point a on the horizontal axis is sampling point n, and the projection of point a on the vertical axis is H(n), indicating that the ideal compensation value of the target signal at sampling point n is H(n).

本申请实施例中,任一频域区间对应的斜率参数可以是基于当前频域区间中至少两个采样点分别对应的理想补偿值确定;其中,至少两个采样点与其对应的理想补偿值满足理想补偿函数。In an embodiment of the present application, the slope parameter corresponding to any frequency domain interval can be determined based on the ideal compensation values corresponding to at least two sampling points in the current frequency domain interval; wherein at least two sampling points and their corresponding ideal compensation values satisfy the ideal compensation function.

可选地,上述至少两个采样点可以是对应的频域区间中任意两个或者两个以上的采样点,也可以是相邻两个采样点之间的距离大于预设距离的两个或两个以上的采样点,还可以是位于当前频域区间两端的采样点,本申请实施例对此不做限制。Optionally, the at least two sampling points may be any two or more sampling points in the corresponding frequency domain interval, or may be two or more sampling points whose distance between two adjacent sampling points is greater than a preset distance, or may be sampling points located at both ends of the current frequency domain interval, which is not limited in this embodiment of the present application.

需要说明的是,由于理想补偿函数在频域上处于变化状态,不同的采样点对应的理想补偿函数不同,因此,不同的频域区间对应的斜率参数也不同。It should be noted that, since the ideal compensation function is in a changing state in the frequency domain, different sampling points correspond to different ideal compensation functions, and therefore, different frequency domain intervals correspond to different slope parameters.

应理解,根据频域区间中至少两个采样点对应的理想补偿函数得到的斜率参数,可以在一定程度上表征当前频域区间中多个采样点对应的理想补偿值的变化情况。示例性的,参考图6所示,图6中还包括多个虚线63,多个虚线63可以用于区分划分后的多个频域区间。另外,图6中的实线62示出了每个频域区间对应的斜率参数所构成的直线。可以看出,采样点1、2、3、4对应的理想补偿值变化缓慢,频域区间A对应的斜率参数较小,因此,频域区间A对应的斜率参数所构成的直线,与频域区间A内的理想补偿函数61几乎重合。对于频域区间B,其包括的采样点的理想补偿值变化较快,因此,频域区间B对应的斜率参数较大。从图6可以看出,频域区间B对应的斜率构成的直线能够表征频域区间B内补偿值随着采样点递增而快速增加的规律。It should be understood that the slope parameter obtained according to the ideal compensation function corresponding to at least two sampling points in the frequency domain interval can characterize the change of the ideal compensation value corresponding to multiple sampling points in the current frequency domain interval to a certain extent. Exemplarily, referring to FIG6, FIG6 also includes multiple dotted lines 63, and multiple dotted lines 63 can be used to distinguish the multiple frequency domain intervals after division. In addition, the solid line 62 in FIG6 shows the straight line formed by the slope parameter corresponding to each frequency domain interval. It can be seen that the ideal compensation value corresponding to sampling points 1, 2, 3, and 4 changes slowly, and the slope parameter corresponding to the frequency domain interval A is small. Therefore, the straight line formed by the slope parameter corresponding to the frequency domain interval A almost coincides with the ideal compensation function 61 in the frequency domain interval A. For the frequency domain interval B, the ideal compensation value of the sampling points included therein changes rapidly, so the slope parameter corresponding to the frequency domain interval B is large. As can be seen from FIG6, the straight line formed by the slope corresponding to the frequency domain interval B can characterize the law that the compensation value in the frequency domain interval B increases rapidly as the sampling points increase.

由于使用理想补偿函数对接收到的目标信号进行频域补偿时,需要存储理想补偿函数中每个频域采样点对应的理想补偿值。这里的采样点的总数为DFT或FFT的长度,并且补偿值的精度通常到达小数点后的多位。因此,直接将理想补偿函数中每个频域采样点对应的理想补偿值进行存储,需要极大的内存开销。When the ideal compensation function is used to perform frequency domain compensation on the received target signal, it is necessary to store the ideal compensation value corresponding to each frequency domain sampling point in the ideal compensation function. The total number of sampling points here is the length of DFT or FFT, and the accuracy of the compensation value usually reaches multiple decimal places. Therefore, directly storing the ideal compensation value corresponding to each frequency domain sampling point in the ideal compensation function requires a huge memory overhead.

基于此,终端设备可以利用每个频域区间的斜率参数,对目标信号进行频域补偿。其中,终端设备可以仅存储每个频域区间的斜率参数,在接收到目标信号之后,可以利用每个频域区间的斜率参数,确定每个频域区间中各个采样点的频域补偿值,并基于确定出的频域补偿值对目标信号进行补偿。Based on this, the terminal device can use the slope parameter of each frequency domain interval to perform frequency domain compensation on the target signal. The terminal device can only store the slope parameter of each frequency domain interval, and after receiving the target signal, the slope parameter of each frequency domain interval can be used to determine the frequency domain compensation value of each sampling point in each frequency domain interval, and the target signal can be compensated based on the determined frequency domain compensation value.

具体地,终端设备可以利用每个频域区间的斜率参数,确定每个频域区间中采样点对应的频域补偿值,进而基于每个采样点的频域补偿值对该采样点的目标信号对应的信号值进行补偿,从而完成目标信号的补偿。Specifically, the terminal device can use the slope parameter of each frequency domain interval to determine the frequency domain compensation value corresponding to the sampling point in each frequency domain interval, and then compensate the signal value corresponding to the target signal of the sampling point based on the frequency domain compensation value of each sampling point, thereby completing the compensation of the target signal.

其中,不同的采样点对应的频域补偿值不同,也就是说,终端设备可以基于频域区间的斜率参数,对目标信号进行逐点补偿。示例性的,参考图6所示,根据理想补偿函数(即虚线61)可以确定采样点n对应的理想补偿值为H(n)。而根据采样点n所在的频域区间对应的斜率参数(即实线62)可以确定采样点n对应的频域补偿值为hnAmong them, different sampling points correspond to different frequency domain compensation values, that is, the terminal device can compensate the target signal point by point based on the slope parameter of the frequency domain interval. Exemplarily, referring to FIG6, according to the ideal compensation function (i.e., the dotted line 61), the ideal compensation value corresponding to the sampling point n can be determined as H(n). And according to the slope parameter corresponding to the frequency domain interval where the sampling point n is located (i.e., the solid line 62), the frequency domain compensation value corresponding to the sampling point n can be determined as h n .

由此可见,由于每个频域区间的斜率参数可以表征对应频域区间中采样点的理想补偿值的变化情况,因此,基于每个频域区间的斜率参数确定出对应频域区间中采样点的频域补偿值,与图4所示的根据频域区间内理想补偿值的平均值确定出的补偿值相比,更逼近理想补偿值。也就是说,本申请实施例提供的信号补偿方法中,终端设备仅需存储每个频域区间的斜率参数,通过基于每个频域区间的斜率参数目标信号进行补偿,补偿后的目标信号更接近理想接收信号。如此,在传递和存储信息量有限的情况下,可以提高信号的补偿精度。It can be seen that since the slope parameter of each frequency domain interval can characterize the change of the ideal compensation value of the sampling point in the corresponding frequency domain interval, the frequency domain compensation value of the sampling point in the corresponding frequency domain interval is determined based on the slope parameter of each frequency domain interval, which is closer to the ideal compensation value than the compensation value determined according to the average value of the ideal compensation value in the frequency domain interval shown in Figure 4. In other words, in the signal compensation method provided in the embodiment of the present application, the terminal device only needs to store the slope parameter of each frequency domain interval, and compensates the target signal based on the slope parameter of each frequency domain interval, so that the compensated target signal is closer to the ideal received signal. In this way, the compensation accuracy of the signal can be improved when the amount of information transmitted and stored is limited.

可选地,步骤510获取多个频域区间中每个频域区间对应的斜率参数之前,还可以执行以下步骤:Optionally, before step 510 of acquiring the slope parameter corresponding to each frequency domain interval in the multiple frequency domain intervals, the following steps may also be performed:

步骤500、将目标信号由时域信号转换至频域信号。Step 500: Convert the target signal from a time domain signal to a frequency domain signal.

终端设备在对目标信号进行补偿之前,还需要将目标信号由时域信号转换至频域信号。Before compensating the target signal, the terminal device also needs to convert the target signal from a time domain signal to a frequency domain signal.

本申请实施例中,终端设备可以通过DFT或者FFT将目标信号由时域信号转换至频域信号,本申请实施例对此不做限定。In an embodiment of the present application, the terminal device can convert the target signal from a time domain signal to a frequency domain signal through DFT or FFT, which is not limited in this embodiment of the present application.

在一些实施例中,目标信号的频域可以被均匀划分,每个频域区间的长度相同。也就是说,将频域划分得到的多个频域区间中,每个频域区间内包括的采样点的数量相同。具体地,终端设备可以预先存储频域区间的长度,以及每个频域区间对应的斜率参数。这样,当终端设备接收到目标信号后,可以根据频域区间的长度对目标信号进行划分得到多个频域区间,并根据每个频域区间对应的斜率参数,实现对目标信号的补偿。In some embodiments, the frequency domain of the target signal can be evenly divided, and the length of each frequency domain interval is the same. That is, in the multiple frequency domain intervals obtained by dividing the frequency domain, the number of sampling points included in each frequency domain interval is the same. Specifically, the terminal device can pre-store the length of the frequency domain interval and the slope parameter corresponding to each frequency domain interval. In this way, when the terminal device receives the target signal, the target signal can be divided according to the length of the frequency domain interval to obtain multiple frequency domain intervals, and the target signal can be compensated according to the slope parameter corresponding to each frequency domain interval.

在另一些实施例中,目标信号的频域也可以被非均匀的划分,每个频域区间的长度可以不同。也就是说,将频域划分得到的多个频域区间中,每个频域区间包括的采样点的数据可以不同。示例性的,在理想补偿函数缓慢变化的频域被划分的频域区间的长度,可以大于理想补偿函数快速变化的频域被划分的频域区间的长度。也是因为,理想补偿函数快速变化的频域由于相邻两个采样点的理想补偿值变化较大,适当降低频域区间的长度,可以使对应频域区间的斜率参数所构成的直线可以更逼近理想补偿函数。具体地,终端设备可以预先存储每个频域区间的长度,以及每个频域区间对应的斜率参数。这样,当终端设备接收到目标信号后,可以根据每个频域区间的长度对目标信号进行非俊宇划分得到多个频域区间,并根据每个频域区间对应的斜率参数,实现对目标信号的补偿。In other embodiments, the frequency domain of the target signal may also be divided non-uniformly, and the length of each frequency domain interval may be different. That is to say, in the multiple frequency domain intervals obtained by dividing the frequency domain, the data of the sampling points included in each frequency domain interval may be different. Exemplarily, the length of the frequency domain interval divided in the frequency domain where the ideal compensation function changes slowly may be greater than the length of the frequency domain interval divided in the frequency domain where the ideal compensation function changes rapidly. It is also because the frequency domain where the ideal compensation function changes rapidly has a large change in the ideal compensation value of two adjacent sampling points. By appropriately reducing the length of the frequency domain interval, the straight line formed by the slope parameter of the corresponding frequency domain interval can be closer to the ideal compensation function. Specifically, the terminal device may pre-store the length of each frequency domain interval and the slope parameter corresponding to each frequency domain interval. In this way, when the terminal device receives the target signal, the target signal may be non-uniformly divided according to the length of each frequency domain interval to obtain multiple frequency domain intervals, and the compensation of the target signal may be realized according to the slope parameter corresponding to each frequency domain interval.

在本申请一实施例中,参考图7所示,步骤520中利用每个频域区间对应的斜率参数,对目标信号的信号值进行补偿,可以通过以下步骤来实现:In an embodiment of the present application, referring to FIG. 7 , in step 520, the signal value of the target signal is compensated by using the slope parameter corresponding to each frequency domain interval, which can be achieved by the following steps:

步骤5201、基于第k个频域区间对应的斜率参数,确定第k个频域区间中第l个采样点的频域补偿值hk,l;其中,k为大于等于1且小于等于K的整数,K为多个频域区间的数量,l为大于等于1且小于等于L的整数,L为第k个频域区间中采样点的数量;不同采样点对应的补偿值不同;Step 5201: Determine a frequency domain compensation value h k,l of the l th sampling point in the k th frequency domain interval based on the slope parameter corresponding to the k th frequency domain interval; wherein k is an integer greater than or equal to 1 and less than or equal to K, K is the number of the multiple frequency domain intervals, l is an integer greater than or equal to 1 and less than or equal to L, and L is the number of sampling points in the k th frequency domain interval; different sampling points have different corresponding compensation values;

步骤5202、基于频域补偿值hk,l,对目标信号中的第k个频域区间的第l个采样点对应的信号值进行补偿,继续确定第k个频域区间中第l+1个采样点的频域补偿值hk,l+1,基于频域补偿值hk,l+1对目标信号中的第k个频域区间的第l+1个采样点对应的信号值进行补偿,直至对目标信号中所有频域区间中所有采样点对应的信号值完成补偿。Step 5202: Based on the frequency domain compensation value h k,l , compensate the signal value corresponding to the lth sampling point in the kth frequency domain interval in the target signal, continue to determine the frequency domain compensation value h k,l+1 of the l+1th sampling point in the kth frequency domain interval, and compensate the signal value corresponding to the l+1th sampling point in the kth frequency domain interval in the target signal based on the frequency domain compensation value h k,l+1 , until the signal values corresponding to all sampling points in all frequency domain intervals in the target signal are compensated.

可以理解的是,终端设备可以按照每个频域区间的斜率参数,依次确定每个频域区间中各个采样点的频域补偿值,并基于每个采样点的频域补偿值对目标信号中该采样点对应的信号值进行补偿,直至遍历完整个频域区间内的采样点,得到最终经过补偿的目标信号。It can be understood that the terminal device can determine the frequency domain compensation value of each sampling point in each frequency domain interval in turn according to the slope parameter of each frequency domain interval, and compensate the signal value corresponding to the sampling point in the target signal based on the frequency domain compensation value of each sampling point, until the sampling points in the entire frequency domain interval are traversed to obtain the final compensated target signal.

也就是说,终端设备可以从第1个频域区间的第1个采样点开始进行补偿处理,确定第1个频域区间中第1个采样点的频域补偿值h1,1,并利用该补偿值h1,1对目标信号的第1个频域区间第1个采样点的信号值进行补偿。接着,终端设备可以确定第1个频域区间中第2个采样点的频域补偿值h1,2,并利用确定出的补偿值h1,2对目标信号的第1个频域区间中的第2个采样点的信号值进行补偿。以此类推,终端设备可以完成对第1个频域区间内的所有采样点完成补偿处理。进一步,终端设备可以逐点对第2个频域区间内的采样点进行补偿处理,逐点对第3个频域区间内的采样点进行补偿处理,直至完成对所有频域区间内所有采样点的补偿。That is, the terminal device can start compensation processing from the first sampling point of the first frequency domain interval, determine the frequency domain compensation value h 1,1 of the first sampling point in the first frequency domain interval, and use the compensation value h 1,1 to compensate the signal value of the first sampling point in the first frequency domain interval of the target signal. Then, the terminal device can determine the frequency domain compensation value h 1,2 of the second sampling point in the first frequency domain interval, and use the determined compensation value h 1,2 to compensate the signal value of the second sampling point in the first frequency domain interval of the target signal. By analogy, the terminal device can complete the compensation processing for all sampling points in the first frequency domain interval. Furthermore, the terminal device can perform compensation processing on the sampling points in the second frequency domain interval point by point, and on the sampling points in the third frequency domain interval point by point, until the compensation for all sampling points in all frequency domain intervals is completed.

以下详细介绍终端设备如何确定任意一个频域区间(例如第k个频域区间)中任意一个采样点(例如第l个采样点)的频域补偿值。The following describes in detail how the terminal device determines the frequency domain compensation value of any sampling point (eg, the lth sampling point) in any frequency domain interval (eg, the kth frequency domain interval).

在一种可能的实现方式中,目标信号被划分为K个频域区间,其中每个频域区间的长度可以相同,也可以不同。In a possible implementation, the target signal is divided into K frequency domain intervals, wherein the length of each frequency domain interval may be the same or different.

对应的,步骤5201中基于第k个频域区间对应的斜率参数,确定第k个频域区间中第l个采样点的频域补偿值hk,l可以通过以下方式实现:Correspondingly, in step 5201, determining the frequency domain compensation value hk,l of the lth sampling point in the kth frequency domain interval based on the slope parameter corresponding to the kth frequency domain interval can be achieved in the following manner:

终端设备可以基于第k个频域区间对应的斜率参数Δk和第k-1个频域区间中第M个采样点对应的频率补偿值hk-1,M,计算第k个频域区间中第l个采样点的频域补偿值hk,l,M为第k-1个频域区间中采样点的数量。The terminal device can calculate the frequency domain compensation value h k,l of the lth sampling point in the kth frequency domain interval based on the slope parameter Δ k corresponding to the kth frequency domain interval and the frequency compensation value h k-1,M corresponding to the Mth sampling point in the k-1th frequency domain interval , where M is the number of sampling points in the k-1th frequency domain interval.

可选地,图8示出了另一种信号频域幅度补偿示意图,其中,横轴表示示频域,纵轴表示幅度域。虚线81表示理想补偿函数H(f)对应的曲线。图8中的频域被多个虚线83划分为多个频域区间。另外,实线82示出了每个频域区间对应的斜率参数所构成的直线。参考图8所示,终端设备可以先基于第k个频域区间对应的斜率参数Δk,得到第l个采样点在该第k个频域区间内的高度l·Δk。接着,终端设备可以将l·Δk与第k-1个频域区间中最后一个采样点,即第M个采样点对应的频率补偿值hk-1,M相加,即可得到第k个频域区间中第l个采样点的频域补偿值hk,lOptionally, FIG8 shows another schematic diagram of signal frequency domain amplitude compensation, wherein the horizontal axis represents the frequency domain and the vertical axis represents the amplitude domain. The dotted line 81 represents the curve corresponding to the ideal compensation function H(f). The frequency domain in FIG8 is divided into multiple frequency domain intervals by multiple dotted lines 83. In addition, the solid line 82 shows a straight line formed by the slope parameter corresponding to each frequency domain interval. Referring to FIG8, the terminal device can first obtain the height l·Δ k of the lth sampling point in the kth frequency domain interval based on the slope parameter Δ k corresponding to the kth frequency domain interval. Then, the terminal device can add l·Δ k to the last sampling point in the k-1th frequency domain interval, that is, the frequency compensation value h k-1,M corresponding to the Mth sampling point, to obtain the frequency domain compensation value h k,l of the lth sampling point in the kth frequency domain interval.

需要说明的是,M的取值与L的取值可以相同,也可以不同。也就是说,第k个频域区间的采样点数量,与第k-1个频域区间的采样点数量可以相同,也可以不同,本申请实施例对此不做限制。It should be noted that the value of M may be the same as or different from the value of L. That is, the number of sampling points in the kth frequency domain interval may be the same as or different from the number of sampling points in the k-1th frequency domain interval, and this embodiment of the application does not limit this.

其中,第k-1个频域区间的最后与一个采样点的频域补偿值hk-1,M,可以是基于第k-1个频域区间对应的斜率参数Δk-1和第k-2个频域区间中第J个采样点对应的频率补偿值hk-2,J确定的,其中,J为第k-2个频域区间采样点的数量。Among them, the frequency domain compensation value h k-1,M of the last sampling point in the k-1th frequency domain interval can be determined based on the slope parameter Δ k-1 corresponding to the k-1th frequency domain interval and the frequency compensation value h k-2,J corresponding to the Jth sampling point in the k-2th frequency domain interval, where J is the number of sampling points in the k-2th frequency domain interval.

具体地,终端设备可以基于第k-1个频域区间对应的斜率参数Δk-1,计算第k-1个频域区间中最后一个采样点在该频域区间的高度M·Δk-1。接着,终端设备可以将M·Δk-1与第k-2个频域区间中最后一个采样点,即第J个采样点对应的频率补偿值hk-2,J相加,即可得到第k-1个频域区间中最后一个采样点的频域补偿值hk-1,MSpecifically, the terminal device may calculate the height M·Δ k-1 of the last sampling point in the k-1th frequency domain interval in the frequency domain interval based on the slope parameter Δ k-1 corresponding to the k-1th frequency domain interval. Then, the terminal device may add M·Δ k-1 to the last sampling point in the k-2th frequency domain interval, that is, the frequency compensation value h k-2,J corresponding to the Jth sampling point, to obtain the frequency domain compensation value h k-1,M of the last sampling point in the k-1th frequency domain interval.

需要说明的是,J的取值与L和M的取值可以相同,也可以不同,本申请实施例对此不做限制。It should be noted that the value of J may be the same as or different from the values of L and M, and this embodiment of the present application does not impose any limitation on this.

进一步地,第k-2个频域区间中第J个采样点对应的频率补偿值hk-2,J可以是基于第k-2个频域区间对应的斜率参数Δk-1和第k-3个频域区间中最后一个采样点对应的频率补偿值确定的,其确定方式与确定hk-2,J的方式相同,此处不再赘述。Furthermore, the frequency compensation value h k-2,J corresponding to the Jth sampling point in the k-2th frequency domain interval can be determined based on the slope parameter Δ k-1 corresponding to the k-2th frequency domain interval and the frequency compensation value corresponding to the last sampling point in the k-3th frequency domain interval. The determination method is the same as the method for determining h k-2,J , and will not be repeated here.

以此类推,第2个频域区间中第Q个采样点的频域补偿值,可以是基于第2个频域区间的斜率参数Δ2和第1个频域区间第P个采样点的频域补偿值确定。其中,Q为第2个频域区间中采样点的数量,P为第1个频域区间中采样点的数量。并且,第1个频域区间的第P个采样点的频域补偿值可以是基于第1个频域区间的斜率参数Δ1与频域补偿值的基准值H(0)确定。H(0)可以理解为是采样点0的理想补偿值,通常情况下H(0)的取值为1。可选地,H(0)可以预先存储于本地存储空间中。By analogy, the frequency domain compensation value of the Qth sampling point in the second frequency domain interval can be determined based on the slope parameter Δ2 of the second frequency domain interval and the frequency domain compensation value of the Pth sampling point in the first frequency domain interval. Wherein, Q is the number of sampling points in the second frequency domain interval, and P is the number of sampling points in the first frequency domain interval. In addition, the frequency domain compensation value of the Pth sampling point in the first frequency domain interval can be determined based on the slope parameter Δ1 of the first frequency domain interval and the reference value H(0) of the frequency domain compensation value. H(0) can be understood as the ideal compensation value of sampling point 0, and the value of H(0) is usually 1. Optionally, H(0) can be pre-stored in the local storage space.

以下结合示例说明终端设备对目标信号的补偿过程。The following is an example to illustrate the compensation process of the terminal device for the target signal.

首先,终端设备可以先对第1个频域区间中的采样点进行补偿处理。其中,第1个频域区间的斜率参数为Δ1。另外,第1个频域区间的长度为P,P为大于0的整数,即第1个频域区间中采样点的数量为P。First, the terminal device may perform compensation processing on the sampling points in the first frequency domain interval. The slope parameter of the first frequency domain interval is Δ 1 . In addition, the length of the first frequency domain interval is P, where P is an integer greater than 0, that is, the number of sampling points in the first frequency domain interval is P.

具体地,终端设备可以基于第1个频域区间的斜率参数Δ1和H(0),确定第1个频域区间中第1个采样点的频域补偿值。图9示出了又一种信号频域幅度补偿示意图,其中,横轴表示示频域,纵轴表示幅度域。虚线91表示理想补偿函数H(f)对应的曲线。图9中的频域被多个虚线93划分为多个频域区间。另外,实线92示出了每个频域区间对应的斜率参数所构成的直线。参考图9所示,第1个频域区间中第1个采样点(即点1,1)的频域补偿值h1,1为1·Δ1+H(0)。进一步,终端设备可以利用计算得到的h1,1,对目标信号中第1个频域区间中第1个采样点的信号值进行补偿。具体地,终端设备可以通过乘法单元将h1,1与目标信号中第1个频域区间中第1个采样点的信号值进行相乘,完成第1个频域区间中第1个采样点的频域补偿。Specifically, the terminal device can determine the frequency domain compensation value of the first sampling point in the first frequency domain interval based on the slope parameters Δ 1 and H(0) of the first frequency domain interval. Figure 9 shows another schematic diagram of signal frequency domain amplitude compensation, wherein the horizontal axis represents the frequency domain and the vertical axis represents the amplitude domain. The dotted line 91 represents the curve corresponding to the ideal compensation function H(f). The frequency domain in Figure 9 is divided into multiple frequency domain intervals by multiple dotted lines 93. In addition, the solid line 92 shows a straight line formed by the slope parameters corresponding to each frequency domain interval. Referring to Figure 9, the frequency domain compensation value h 1,1 of the first sampling point (i.e., point 1,1) in the first frequency domain interval is 1·Δ 1 +H(0). Further, the terminal device can use the calculated h 1,1 to compensate the signal value of the first sampling point in the first frequency domain interval in the target signal. Specifically, the terminal device may multiply h 1,1 by the signal value of the first sampling point in the first frequency domain interval in the target signal through a multiplication unit to complete the frequency domain compensation of the first sampling point in the first frequency domain interval.

完成对第1个频域区间中第1个采样点的频域补偿后,终端设备可以基于第1个频域区间的斜率参数Δ1和H(0),确定第1个频域区间中第2个采样点(即点1,2)的频域补偿值h1,2。具体地,结合图9所示,第1个频域区间中第2个采样点的频域补偿值h1,2可以为2·Δ1+H(0)。终端设备可以利用计算得到的h1,2,对目标信号中第1个频域区间中第2个采样点的信号值进行补偿。After completing the frequency domain compensation for the first sampling point in the first frequency domain interval, the terminal device can determine the frequency domain compensation value h 1,2 of the second sampling point (i.e., point 1,2) in the first frequency domain interval based on the slope parameter Δ 1 and H(0) of the first frequency domain interval. Specifically, as shown in FIG9 , the frequency domain compensation value h 1,2 of the second sampling point in the first frequency domain interval can be 2·Δ 1 +H(0). The terminal device can use the calculated h 1,2 to compensate the signal value of the second sampling point in the first frequency domain interval in the target signal.

以此类推,终端设备可以基于上述方式,确定第1个频域区间中的其他采样点的频域补偿值,并完成目标信号中对应采样点的补偿。例如,第1个频域区间中第i个采样点的频域补偿值h1,i可以是i·Δ1+H(0),终端设备可以利用h1,i对目标信号对应的第1个频域区间的第i个采样点的信号值进行补偿,i为大于等于2且小于等于P的整数。另外,第1个频域区间中最后一个采样点的频域补偿值h1,P可以为P·Δ1+H(0),终端设备可以利用h1,P对目标信号对应的第1个频域区间的最一个采样点的信号值进行补偿。By analogy, the terminal device can determine the frequency domain compensation values of other sampling points in the first frequency domain interval based on the above method, and complete the compensation of the corresponding sampling points in the target signal. For example, the frequency domain compensation value h 1,i of the i-th sampling point in the first frequency domain interval can be i·Δ 1 +H(0), and the terminal device can use h 1,i to compensate the signal value of the i-th sampling point in the first frequency domain interval corresponding to the target signal, where i is an integer greater than or equal to 2 and less than or equal to P. In addition, the frequency domain compensation value h 1,P of the last sampling point in the first frequency domain interval can be P·Δ 1 +H(0), and the terminal device can use h 1,P to compensate the signal value of the last sampling point in the first frequency domain interval corresponding to the target signal.

接着,在对目标信号中第1个频域区间中所有采样点补偿完成后,终端设备可以继续对第2个频域区间进行补偿处理。其中,第2个频域区间的斜率参数为Δ2。另外,第2个频域区间的长度为Q,Q为大于0的整数,即第2个频域区间中采样点的数量为Q。Then, after all sampling points in the first frequency domain interval in the target signal are compensated, the terminal device can continue to perform compensation processing on the second frequency domain interval. The slope parameter of the second frequency domain interval is Δ 2 . In addition, the length of the second frequency domain interval is Q, and Q is an integer greater than 0, that is, the number of sampling points in the second frequency domain interval is Q.

需要说明的是,第1个频域区间的长度P和第2个频域区间的长度Q可以相同,也可以不同。It should be noted that the length P of the first frequency domain interval and the length Q of the second frequency domain interval may be the same or different.

本申请实施例中,终端设备可以基于第2个频域区间的斜率参数Δ1和h1,P,确定第2个频域区间中第1个采样点的频域补偿值。参考图9所示,第2个频域区间中第1个采样点的频域补偿值h2,1为1·Δ2+h1,P。其中,根据上文所述,h1,P可以为P·Δ1+H(0),也就是说,h2,1还可以表示为1·Δ2+PΔ1+H(0)。In an embodiment of the present application, the terminal device may determine the frequency domain compensation value of the first sampling point in the second frequency domain interval based on the slope parameter Δ 1 and h 1,P of the second frequency domain interval. Referring to FIG9 , the frequency domain compensation value h 2,1 of the first sampling point in the second frequency domain interval is 1·Δ 2 +h 1,P . According to the above, h 1,P may be P·Δ 1 +H(0), that is, h 2,1 may also be expressed as 1·Δ 2 +PΔ 1 +H(0).

进一步,终端设备可以利用计算得到的h2,1,对目标信号中第2个频域区间中第1个采样点的信号值进行补偿。也就是说,终端设备可以通过乘法单元将h2,1与目标信号中第2个频域区间中第1个采样点的信号值进行相乘,完成第2个频域区间中第1个采样点的频域补偿。Furthermore, the terminal device can use the calculated h 2,1 to compensate the signal value of the first sampling point in the second frequency domain interval of the target signal. In other words, the terminal device can multiply h 2,1 with the signal value of the first sampling point in the second frequency domain interval of the target signal through a multiplication unit to complete the frequency domain compensation of the first sampling point in the second frequency domain interval.

接着,终端设备可以基于第2个频域区间的斜率参数Δ2和h1,P,确定第2个频域区间中第2个采样点的频域补偿值。参考图9所示,第2个频域区间中第1个采样点的频域补偿值h2,1为2·Δ2+h1,P。进一步,终端设备可以利用计算得到的h2,1,对目标信号中第2个频域区间中第1个采样点的信号值进行补偿。Next, the terminal device may determine the frequency domain compensation value of the second sampling point in the second frequency domain interval based on the slope parameter Δ 2 and h 1,P of the second frequency domain interval. Referring to FIG9 , the frequency domain compensation value h 2,1 of the first sampling point in the second frequency domain interval is 2·Δ 2 +h 1,P . Further, the terminal device may use the calculated h 2,1 to compensate the signal value of the first sampling point in the second frequency domain interval in the target signal.

以此类推,终端设备可以基于上述方式,确定第2个频域区间中的其他采样点的频域补偿值,并完成目标信号中对应采样点的补偿。进一步地,在对目标信号中第2个频域区间中所有采样点补偿完成后,终端设备可以继续对其他频域区间的采样点进行补偿处理,直至完成对K个频域区间中每个频域区间内所有采样点的补偿。By analogy, the terminal device can determine the frequency domain compensation values of other sampling points in the second frequency domain interval based on the above method, and complete the compensation of the corresponding sampling points in the target signal. Further, after the compensation of all sampling points in the second frequency domain interval in the target signal is completed, the terminal device can continue to compensate the sampling points in other frequency domain intervals until the compensation of all sampling points in each frequency domain interval of the K frequency domain intervals is completed.

由此可见,本申请实施例提供的信号补偿方法中,终端设备可以仅存储和传递K个斜率参数,以及每个频域区间的采样点个数,通过每个频域区间对应的斜率参数对目标信号进行逐点补偿,其中,同一频域区间中的不同采样点可以使用不同的频域补偿值进行补偿。相比图4所示的相关信号补偿技术中,同一频域区间中不同采样点使用相同的频域补偿值进行补偿的方式,有斜率参数能够在一定程度上表征理想补偿函数的变化情况,因此,采用斜率参数确定对应频域区间内采样点的频域补偿值,更接近理想补偿值,如此,可以提高目标信号的补偿精度。It can be seen that in the signal compensation method provided in the embodiment of the present application, the terminal device can only store and transmit K slope parameters and the number of sampling points in each frequency domain interval, and compensate the target signal point by point through the slope parameters corresponding to each frequency domain interval, wherein different sampling points in the same frequency domain interval can be compensated using different frequency domain compensation values. Compared with the related signal compensation technology shown in FIG4, in which different sampling points in the same frequency domain interval are compensated using the same frequency domain compensation value, the slope parameter can characterize the change of the ideal compensation function to a certain extent. Therefore, the frequency domain compensation value of the sampling point in the corresponding frequency domain interval is determined using the slope parameter, which is closer to the ideal compensation value. In this way, the compensation accuracy of the target signal can be improved.

在另一种可能的实现方式中,目标信号被划分为K个频域区间,其中每个频域区间的长度相同(也可以理解为每个频域区间的采样点数量相同),其中,每个频域区间的采样点数量均为L。In another possible implementation, the target signal is divided into K frequency domain intervals, wherein each frequency domain interval has the same length (which can also be understood as the number of sampling points in each frequency domain interval is the same), wherein the number of sampling points in each frequency domain interval is L.

对应的,步骤5201中基于第k个频域区间对应的斜率参数,确定第k个频域区间中第l个采样点的频域补偿值hk,l可以通过以下方式实现:Correspondingly, in step 5201, determining the frequency domain compensation value hk,l of the lth sampling point in the kth frequency domain interval based on the slope parameter corresponding to the kth frequency domain interval can be achieved in the following manner:

终端设备可以基于公式(3)所示的第一运算关系,确定第k个频域区间中第l个采样点的频域补偿值hk,lThe terminal device may determine the frequency domain compensation value h k,l of the l th sampling point in the k th frequency domain interval based on the first operation relationship shown in formula (3).

其中,H(0)为频域补偿值的基准值,Δk为所述第k个频域区间对应的斜率参数。Wherein, H(0) is the reference value of the frequency domain compensation value, and Δk is the slope parameter corresponding to the kth frequency domain interval.

应理解,lΔk可以理解为是第k个频域区间中第l个采样点在该频域区间的高度。可以分解为H(0)+L·Δ1+LΔ2+…+LΔk-1。也就是说,可以理解为是第k个频域区间之前的k-1个频域区间中各个频域区间的最后一个采样点在对应的频域区间的高度的总和。It should be understood that lΔ k can be understood as the height of the lth sampling point in the kth frequency domain interval in the frequency domain interval. It can be decomposed into H(0)+L·Δ 1 +LΔ 2 +…+LΔ k-1 . That is, It can be understood as the sum of the heights of the last sampling points of each frequency domain interval in the k-1 frequency domain intervals before the kth frequency domain interval in the corresponding frequency domain interval.

示例性的,每个频域区间的长度L为4。当k取值为1,l取值为3时,参考图9所示,第1个频域区间中第3个采样点的频域补偿值h3,2=H(0)+3·Δ1。当k取值为3,l取值为2时,参考图9所示,第3个频域区间中第2个采样点的频域补偿值h3,2=H(0)+4·(Δ12)+2·Δ3Exemplarily, the length L of each frequency domain interval is 4. When k is 1 and l is 3, as shown in FIG9 , the frequency domain compensation value of the third sampling point in the first frequency domain interval is h 3,2 =H(0)+3·Δ 1 . When k is 3 and l is 2, as shown in FIG9 , the frequency domain compensation value of the second sampling point in the third frequency domain interval is h 3,2 =H(0)+4·(Δ 12 )+2·Δ 3 .

由此可见,本申请实施例提供的信号补偿方法中,终端设备可以仅存储和传递K个斜率参数,以及频域区间长度L,通过每个频域区间对应的斜率参数对目标信号进行逐点补偿,其中,同一频域区间中的不同采样点可以使用不同的频域补偿值进行补偿。相比图4所示的相关信号补偿技术中,同一频域区间中不同采样点使用相同的频域补偿值进行补偿的方式,提高了补偿精度。同时,在与图4所示的相关信号补偿技术的补偿精度相同时,本申请实施例提供的信号补偿方法,终端设备存储和传输的信息量与图4所示的相关技术需存储和传递的信息量相比更少,能够大大节约终端设备的存储空间。It can be seen that in the signal compensation method provided in the embodiment of the present application, the terminal device can only store and transmit K slope parameters and the frequency domain interval length L, and compensate the target signal point by point through the slope parameters corresponding to each frequency domain interval, wherein different sampling points in the same frequency domain interval can be compensated using different frequency domain compensation values. Compared with the related signal compensation technology shown in Figure 4, the compensation accuracy is improved by using the same frequency domain compensation value to compensate different sampling points in the same frequency domain interval. At the same time, when the compensation accuracy is the same as that of the related signal compensation technology shown in Figure 4, the signal compensation method provided in the embodiment of the present application, the amount of information stored and transmitted by the terminal device is less than the amount of information that needs to be stored and transmitted by the related technology shown in Figure 4, which can greatly save the storage space of the terminal device.

图10为本申请实施例频域补偿数据确定方法的实现流程示意图,如图10所示,所述方法可以包括以下步骤1010至步骤1030:FIG. 10 is a schematic diagram of an implementation flow of a method for determining frequency domain compensation data according to an embodiment of the present application. As shown in FIG. 10 , the method may include the following steps 1010 to 1030:

步骤1010、确定多个频域区间。Step 1010: Determine multiple frequency domain intervals.

步骤1020、基于理想补偿函数,获取每个频域区间中至少两个采样点对应的理想补偿值;所述理想补偿函数用于指示频域内的采样点与目标信号的频域补偿值之间的相关关系。Step 1020: Based on an ideal compensation function, obtain ideal compensation values corresponding to at least two sampling points in each frequency domain interval; the ideal compensation function is used to indicate the correlation between the sampling points in the frequency domain and the frequency domain compensation values of the target signal.

步骤1030、基于每个频域区间中至少两个采样点对应的理想补偿值,确定每个频域区间对应的斜率参数;所述每个频域区间对应的斜率参数用于对所述目标信号的信号值进行补偿。Step 1030: Determine a slope parameter corresponding to each frequency domain interval based on ideal compensation values corresponding to at least two sampling points in each frequency domain interval; the slope parameter corresponding to each frequency domain interval is used to compensate for the signal value of the target signal.

实际应用中,当基于理想补偿函数对接收到的目标信号进行频域补偿时,需要存储理想补偿函数中每个频域采样点的理想补偿值。这里的采样点的总数为DFT或FFT的长度,并且补偿值的精度通常到达小数点后的多位。因此,直接将理想补偿函数中每个频域采样点对应的理想补偿值进行存储,需要极大的内存开销。In practical applications, when frequency domain compensation is performed on the received target signal based on the ideal compensation function, the ideal compensation value of each frequency domain sampling point in the ideal compensation function needs to be stored. The total number of sampling points here is the length of the DFT or FFT, and the accuracy of the compensation value usually reaches multiple decimal places. Therefore, directly storing the ideal compensation value corresponding to each frequency domain sampling point in the ideal compensation function requires a huge memory overhead.

基于此,本申请实施例可以对理想补偿函数的频域(与目标信号的频域相同)进行分段处理,得到多个频域区间。进一步地,根据每个频域区间中理想补偿函数的变化情况,计算并存储每个频域区间的斜率参数,以便于终端设备在在线计算阶段接收到目标信号后,可以基于每个频域区间的斜率参数,对目标信号对应的频域区间内包含的多个采样点的信号值进行补偿。Based on this, the embodiment of the present application can perform segmented processing on the frequency domain of the ideal compensation function (the same as the frequency domain of the target signal) to obtain multiple frequency domain intervals. Furthermore, according to the change of the ideal compensation function in each frequency domain interval, the slope parameter of each frequency domain interval is calculated and stored, so that after the terminal device receives the target signal in the online calculation stage, it can compensate the signal values of multiple sampling points contained in the frequency domain interval corresponding to the target signal based on the slope parameter of each frequency domain interval.

具体地,终端设备可以基于每个频域区间内至少两个采样点对应的理想补偿值,确定每个频域区间对应的斜率参数。其中,每个频域区间中采样点对应的理想补偿值,可以根据理想补偿函数确定。Specifically, the terminal device may determine the slope parameter corresponding to each frequency domain interval based on the ideal compensation values corresponding to at least two sampling points in each frequency domain interval, wherein the ideal compensation values corresponding to the sampling points in each frequency domain interval may be determined according to the ideal compensation function.

应理解,若上述至少两个采样点的数量为2时,终端设备可以计算频域区间中两个采样点的对应的理想补偿值之间的差值,进而,将该差值与这两个采样点的距离相除,得到该频域区间对应的斜率参数。若采样点的数量大于2时,终端设备可以确定相邻两个采样点之间的初始斜率,得到多个初始斜率,进而终端设备可以对多个初始斜率进行平均,得到最终该频域区间的斜率参数。终端设备还可以利用其它方式确定每个频域区间的斜率参数,本申请实施例对此不做限制。It should be understood that if the number of the at least two sampling points is 2, the terminal device can calculate the difference between the corresponding ideal compensation values of the two sampling points in the frequency domain interval, and then divide the difference by the distance between the two sampling points to obtain the slope parameter corresponding to the frequency domain interval. If the number of sampling points is greater than 2, the terminal device can determine the initial slope between two adjacent sampling points to obtain multiple initial slopes, and then the terminal device can average the multiple initial slopes to obtain the final slope parameter of the frequency domain interval. The terminal device can also use other methods to determine the slope parameter of each frequency domain interval, and the embodiments of the present application are not limited to this.

需要说明的是,上述至少两个采样点可以是对应的频域区间中任意两个或者两个以上的采样点,也可以是采样点之间的距离大于预设距离的两个或两个以上的采样点,还可以是位于当前频域区间两端的采样点,本申请实施例对此不做限制。It should be noted that the at least two sampling points mentioned above may be any two or more sampling points in the corresponding frequency domain interval, or may be two or more sampling points whose distance between the sampling points is greater than a preset distance, or may be sampling points located at both ends of the current frequency domain interval, and the embodiment of the present application does not impose any restrictions on this.

在一些实施例中,终端设备可以对理想补偿函数的频域进行均匀分段,得到上述多个频域区间。也就是说,分段后每个频域区间的长度相同,也即每个频域区间的采样点个数相同。In some embodiments, the terminal device may evenly segment the frequency domain of the ideal compensation function to obtain the above-mentioned multiple frequency domain intervals. That is, the length of each frequency domain interval after segmentation is the same, that is, the number of sampling points in each frequency domain interval is the same.

示例性的,终端设备将理想补偿函数的频域均匀划分为K段,得到K个频域区间。每个频域区间的长度为L,也就是说,每个频域区间中包含的采样点的数量为L。基于此,终端设备可以根据以下公式(4)所示的第二运算关系,确定任意一个频域区间(例如第k个频域区间)的斜率参数。Exemplarily, the terminal device evenly divides the frequency domain of the ideal compensation function into K segments to obtain K frequency domain intervals. The length of each frequency domain interval is L, that is, the number of sampling points contained in each frequency domain interval is L. Based on this, the terminal device can determine the slope parameter of any frequency domain interval (for example, the kth frequency domain interval) according to the second operation relationship shown in the following formula (4).

其中,Δk为第k个频域区间的斜率参数,N为理想补偿函数中频域上总的采样点个数。其中,和H(Lk)可以理解为是第k个频域区间中最后一个采样点的理想补偿值,和H(L(k-1))可以理解为是第k-1个频域区间中最后一个采样点的理想补偿值。Wherein, Δ k is the slope parameter of the kth frequency domain interval, and N is the total number of sampling points in the frequency domain in the ideal compensation function. and H(Lk) can be understood as the ideal compensation value of the last sampling point in the kth frequency domain interval. And H(L(k-1)) can be understood as the ideal compensation value of the last sampling point in the k-1th frequency domain interval.

示例性的,参考图9所示,终端设备将理想补偿函数的频域均匀划分为3段,每个频域区间的长度L取值为4。其中,第1个频域区间的斜率参数Δ1可以是第2个频域区间的斜率参数Δ2可以是第3个频域区间的斜率参数Δ3可以是Exemplarily, referring to FIG9 , the terminal device evenly divides the frequency domain of the ideal compensation function into 3 segments, and the length L of each frequency domain interval is 4. The slope parameter Δ 1 of the first frequency domain interval can be The slope parameter Δ2 of the second frequency domain interval can be The slope parameter Δ3 of the third frequency domain interval can be

在另一些实施例中,终端设备也可以对理想补偿函数的频域进行非均匀分段,得到上述多个频域区间。其中,分段后每个频域区间的长度不同。示例性的,在理想补偿函数缓慢变化的频域被划分的频域区间的长度,可以大于理想补偿函数快速变化的频域被划分的频域区间的长度。也是因为,理想补偿函数快速变化的频域由于相邻两个采样点的理想补偿值变化较大,适当降低频域区间的长度,可以使对应频域区间的斜率参数所构成的直线可以更逼近理想补偿函数。具体地,终端设备可以预先存储每个频域区间的长度,以及每个频域区间对应的斜率参数。这样,当终端设备接收到目标信号后,可以根据每个频域区间的长度对目标信号进行非俊宇划分得到多个频域区间,并根据每个频域区间对应的斜率参数,实现对目标信号的补偿。In other embodiments, the terminal device may also perform non-uniform segmentation on the frequency domain of the ideal compensation function to obtain the above-mentioned multiple frequency domain intervals. Among them, the length of each frequency domain interval after segmentation is different. Exemplarily, the length of the frequency domain interval divided in the frequency domain where the ideal compensation function changes slowly may be greater than the length of the frequency domain interval divided in the frequency domain where the ideal compensation function changes rapidly. It is also because the ideal compensation value of two adjacent sampling points in the frequency domain where the ideal compensation function changes rapidly changes greatly. By appropriately reducing the length of the frequency domain interval, the straight line formed by the slope parameter of the corresponding frequency domain interval can be closer to the ideal compensation function. Specifically, the terminal device can pre-store the length of each frequency domain interval and the slope parameter corresponding to each frequency domain interval. In this way, when the terminal device receives the target signal, it can perform non-uniform segmentation on the target signal according to the length of each frequency domain interval to obtain multiple frequency domain intervals, and according to the slope parameter corresponding to each frequency domain interval, realize compensation for the target signal.

在一些实施例中,不同物理器件对信号频谱造成的损伤并不相同。也就是说,不同的物理器件对应的理想补偿函数不同。因此,可以为不同的物理器件设置与该物理器件对应的多个频域区间,以及每个频域区间的斜率参数。当终端设备确定目标信号经过哪些器件后,可以从存储空间中获取这些器件对应的多个频域区间中每个频域区间的斜率参数,对接收到的目标信号进行补偿。In some embodiments, different physical devices cause different damages to the signal spectrum. In other words, different physical devices correspond to different ideal compensation functions. Therefore, multiple frequency domain intervals corresponding to the physical device and the slope parameters of each frequency domain interval can be set for different physical devices. After the terminal device determines which devices the target signal passes through, it can obtain the slope parameters of each frequency domain interval in the multiple frequency domain intervals corresponding to these devices from the storage space to compensate for the received target signal.

示例性的,参考图2所示的业务场景示意图中,当终端设备中的Modem在DMD模块对目标信号进行处理时,可以确定目标信号经历了射频链路模块和ADC模块。因此,可以从存储空间中获取射频链路模块对应多个频域区间中每个频域区间的斜率参数,以及ADC模块对应的多个频域区间中每个频域区间的斜率参数。这样,Modem可以基于射频链路模块对应的多个频域区间中每个频域区间的斜率参数,以及ADC模块的多个频域区间中每个频域区间的斜率参数数对目标信号进行补偿。Exemplarily, referring to the business scenario diagram shown in FIG2, when the modem in the terminal device processes the target signal in the DMD module, it can be determined that the target signal has passed through the RF link module and the ADC module. Therefore, the slope parameter of each frequency domain interval in the multiple frequency domain intervals corresponding to the RF link module and the slope parameter of each frequency domain interval in the multiple frequency domain intervals corresponding to the ADC module can be obtained from the storage space. In this way, the modem can compensate for the target signal based on the slope parameter of each frequency domain interval in the multiple frequency domain intervals corresponding to the RF link module and the slope parameter number of each frequency domain interval in the multiple frequency domain intervals of the ADC module.

另外,当Modem在CSM模块对目标信号进行处理时,可以确定信号经历了射频链路模块、ADC模块和数字链路损伤模块。因此,Modem可以获取射频链路模块对应的多个频域区间中每个频域区间的斜率参数,ADC模块对应的多个频域区间中每个频域区间的斜率参数,以及数字链路损伤模块对应的多个频域区间中每个频域区间的斜率参数。进而,基于射频链路模块对应的多个频域区间中每个频域区间的斜率参数,ADC模块对应的多个频域区间中每个频域区间的斜率参数,和数字链路损伤模块对应的多个频域区间中每个频域区间的斜率参数对目标信号进行补偿处理。In addition, when the modem processes the target signal in the CSM module, it can be determined that the signal has passed through the RF link module, the ADC module, and the digital link damage module. Therefore, the modem can obtain the slope parameters of each of the multiple frequency domain intervals corresponding to the RF link module, the slope parameters of each of the multiple frequency domain intervals corresponding to the ADC module, and the slope parameters of each of the multiple frequency domain intervals corresponding to the digital link damage module. Furthermore, based on the slope parameters of each of the multiple frequency domain intervals corresponding to the RF link module, the slope parameters of each of the multiple frequency domain intervals corresponding to the ADC module, and the slope parameters of each of the multiple frequency domain intervals corresponding to the digital link damage module, the target signal is compensated.

综上所述,本申请实施例提供的信号补偿方法,可以预先划分频域区间,并确定每个频域区间的斜率参数。这样,调制解调器可以基于每个频域区间的斜率参数,对目标信号进行补偿处理。如此,在存储和传递信息量一定的前提下,提高目标信号的补偿精度。In summary, the signal compensation method provided in the embodiment of the present application can pre-divide the frequency domain interval and determine the slope parameter of each frequency domain interval. In this way, the modem can perform compensation processing on the target signal based on the slope parameter of each frequency domain interval. In this way, the compensation accuracy of the target signal is improved under the premise of storing and transmitting a certain amount of information.

结合图2所示的业务场景示意图,和图11所示的信号补偿方法的实现流程示意图对本申请实施例提供的信号补偿方法进行详细阐述。如图11所示,所述方法可以包括以下步骤1110至步骤1130:The signal compensation method provided by the embodiment of the present application is described in detail in combination with the business scenario schematic diagram shown in FIG2 and the implementation flow diagram of the signal compensation method shown in FIG11. As shown in FIG11, the method may include the following steps 1110 to 1130:

步骤1110,将接收到的目标信号由时域信号转换至频域信号。Step 1110: convert the received target signal from a time domain signal to a frequency domain signal.

在一些实施例中,参考图2所示,在DFT/FFT模块和DMD模块构成的通道中,目标信号经过射频链路模块以及ADC转换后,进入DFT/FFT模块。DFT/FFT模块可以对时域信号进行DFT或者FFT处理,将目标信号从时域转换至频域。In some embodiments, as shown in FIG2 , in the channel formed by the DFT/FFT module and the DMD module, the target signal enters the DFT/FFT module after being converted by the RF link module and the ADC. The DFT/FFT module can perform DFT or FFT processing on the time domain signal to convert the target signal from the time domain to the frequency domain.

在另一些实施例中,参考图2所示,在数字链路损伤模块、DFT/FFT模块和CSM模块构成的通道中,目标信号经过ADC模块和数字链路损伤模块后,进入DFT/FFT模块。DFT/FFT模块可以对目标信号进行DFT或者FFT处理,将目标信号从时域转换至频域。In some other embodiments, as shown in FIG2 , in the channel formed by the digital link impairment module, the DFT/FFT module and the CSM module, the target signal passes through the ADC module and the digital link impairment module and then enters the DFT/FFT module. The DFT/FFT module can perform DFT or FFT processing on the target signal to convert the target signal from the time domain to the frequency domain.

步骤1120、获取多个频域区间中每个频域区间对应的斜率参数;每个频域区间对应的斜率参数是基于每个频域区间中至少两个采样点分别对应的理想补偿值确定;其中,至少两个采样点与其对应的理想补偿值满足理想补偿函数,理想补偿函数用于指示频域内的采样点与所述目标信号的频域补偿值之间的相关关系。Step 1120, obtain a slope parameter corresponding to each frequency domain interval in a plurality of frequency domain intervals; the slope parameter corresponding to each frequency domain interval is determined based on ideal compensation values corresponding to at least two sampling points in each frequency domain interval; wherein at least two sampling points and their corresponding ideal compensation values satisfy an ideal compensation function, and the ideal compensation function is used to indicate a correlation between the sampling points in the frequency domain and the frequency domain compensation value of the target signal.

步骤1130、利用每个频域区间对应的斜率参数,对目标信号的信号值进行补偿。Step 1130: Compensate the signal value of the target signal using the slope parameter corresponding to each frequency domain interval.

在一些实施例中,参考图2所示,在DFT/FFT模块和DMD模块构成的通道中,Modem可以从存储空间中获取射频链路模块对应的多个频域区间中每个频域区间的斜率参数,以及ADC模块对应多个频域区间中每个频域区间的斜率参数。In some embodiments, as shown in reference Figure 2, in the channel formed by the DFT/FFT module and the DMD module, the modem can obtain the slope parameter of each frequency domain interval in the multiple frequency domain intervals corresponding to the RF link module and the slope parameter of each frequency domain interval in the multiple frequency domain intervals corresponding to the ADC module from the storage space.

进一步,Modem可以基于射频链路模块对应的多个斜率参数对目标信号进行第一补偿处理,并基于ADC模块对应的多个斜率参数,对经过第一补偿处理后的目标函数进行第二补偿处理,得到最终补偿后的目标信号,Modem可以将最终补偿后的目标信号发送至DMD模块进行后续基带处理。Furthermore, the modem can perform a first compensation processing on the target signal based on multiple slope parameters corresponding to the RF link module, and perform a second compensation processing on the target function after the first compensation processing based on multiple slope parameters corresponding to the ADC module to obtain a final compensated target signal. The modem can send the final compensated target signal to the DMD module for subsequent baseband processing.

在另一些实施例中,参考图2所示,在数字链路损伤模块、DFT/FFT模块和CSM模块构成的通道中,Modem可以从存储空间中获取射频链路模块对应的多个频域区间中每个频域区间的斜率参数,ADC模块对应的多个频域区间中每个频域区间的斜率参数,以及数字链路损伤模块对应的多个频域区间中每个频域区间的斜率参数。这样,Modem可以基于射频链路模块对应的多个斜率参数对目标信号进行第一补偿处理,接着Modem可以基于ADC模块对应的多个斜率参数对经过第一补偿处理后的目标信号进行第二补偿处理,最后Modem可以基于数字链路损伤模块对应的多个斜率参数,对经过第二补偿处理的目标信号进行第三补偿处理,得到最终补偿后的目标信号。进一步,Modem可以将经过补偿处理的目标信号发送至CSM模块进行后续基带处理。In other embodiments, as shown in reference to FIG. 2, in the channel composed of the digital link damage module, the DFT/FFT module and the CSM module, the modem can obtain from the storage space the slope parameter of each frequency domain interval in the multiple frequency domain intervals corresponding to the RF link module, the slope parameter of each frequency domain interval in the multiple frequency domain intervals corresponding to the ADC module, and the slope parameter of each frequency domain interval in the multiple frequency domain intervals corresponding to the digital link damage module. In this way, the modem can perform a first compensation process on the target signal based on the multiple slope parameters corresponding to the RF link module, and then the modem can perform a second compensation process on the target signal after the first compensation process based on the multiple slope parameters corresponding to the ADC module, and finally the modem can perform a third compensation process on the target signal after the second compensation process based on the multiple slope parameters corresponding to the digital link damage module to obtain the final compensated target signal. Further, the modem can send the compensated target signal to the CSM module for subsequent baseband processing.

需要说明的是,图11对应的方法实施例的描述,与上述其他方法实施例的描述是类似的,具有同上述其他方法实施例相似的有益效果。对于图11对应的方法实施例中未披露的技术细节,请参照上述其他方法实施例的描述而理解。It should be noted that the description of the method embodiment corresponding to FIG11 is similar to the description of the other method embodiments described above, and has similar beneficial effects as the other method embodiments described above. For technical details not disclosed in the method embodiment corresponding to FIG11, please refer to the description of the other method embodiments described above for understanding.

下面,结合具体应用场景对本申请实施例提供的信号补偿方法进行详细阐述。Below, the signal compensation method provided in the embodiment of the present application is described in detail in combination with specific application scenarios.

具体地,参考图12所示的信号补偿方法流程示意图,本申请实施例提供的信号补偿方法,可以通过离线计算部分A和在线使用部分B实现。Specifically, referring to the signal compensation method flow chart shown in FIG12 , the signal compensation method provided in the embodiment of the present application can be implemented through an offline calculation part A and an online use part B.

其中,离线计算部分A中,终端设备可以执行以下步骤:In the offline calculation part A, the terminal device can perform the following steps:

步骤A1、获取目标器件的频率响应函数。Step A1: Obtain the frequency response function of the target device.

步骤A2、根据目标器件的频率响应函数,确定采样点1至采样点N/2对应的理想补偿函数。Step A2: Determine the ideal compensation function corresponding to sampling point 1 to sampling point N/2 according to the frequency response function of the target device.

具体地,可以根据目标器件的频率响应函数,确定出目标器件对目标信号造成的频域损伤,从而基于频域损伤确定出频域内每个采样点对应的理想补偿函数。Specifically, the frequency domain damage caused by the target device to the target signal can be determined according to the frequency response function of the target device, so as to determine the ideal compensation function corresponding to each sampling point in the frequency domain based on the frequency domain damage.

理想补偿函数具有对称性,如图6所示,可以仅获取频域内采样点1至采样点N/2对应的理想补偿函数。The ideal compensation function is symmetrical. As shown in FIG6 , only the ideal compensation function corresponding to sampling point 1 to sampling point N/2 in the frequency domain can be obtained.

步骤A3、将理想补偿函数的频域划分为K个频域区间。Step A3: Divide the frequency domain of the ideal compensation function into K frequency domain intervals.

也就是说,将采样点1至采样点N/2对应的理想补偿函数的频域划分为K个频域区间。That is to say, the frequency domain of the ideal compensation function corresponding to sampling point 1 to sampling point N/2 is divided into K frequency domain intervals.

可选地,终端设备可以将理想补偿函数的频域均匀划分为K个频域区间,每个频域区间的长度为L,其中,L·K=N/2。Optionally, the terminal device may evenly divide the frequency domain of the ideal compensation function into K frequency domain intervals, each frequency domain interval has a length of L, where L·K=N/2.

步骤A4、基于每个频域区间中至少两个采样点对应的理想补偿值,确定每个频域区间对应的斜率参数。Step A4: Determine a slope parameter corresponding to each frequency domain interval based on the ideal compensation values corresponding to at least two sampling points in each frequency domain interval.

其中,终端设备可以利用上述公式(4)计算每个频域区间对应的斜率参数。The terminal device may use the above formula (4) to calculate the slope parameter corresponding to each frequency domain interval.

步骤A5、存储每个频域区间对应的斜率参数。Step A5: store the slope parameter corresponding to each frequency domain interval.

其中,终端设备也可以存储频域区间的数量。The terminal device may also store the number of frequency domain intervals.

进一步地,在线计算部分B中,终端设备可以执行以下步骤:Furthermore, in the online computing part B, the terminal device may perform the following steps:

步骤B1、获取每个频域区间对应的斜率参数。Step B1: Obtain the slope parameter corresponding to each frequency domain interval.

步骤B2、基于第k个频域区间对应的斜率参数,计算第k个频域区间中第l个采样点的频域补偿值hk,lStep B2: Calculate the frequency domain compensation value h k,l of the l th sampling point in the k th frequency domain interval based on the slope parameter corresponding to the k th frequency domain interval.

可选地,每个频域区间的长度相同时,终端设备可以利用上述公式(3)计算hk,lOptionally, when the lengths of each frequency domain interval are the same, the terminal device may calculate h k,l using the above formula (3).

步骤B3、基于hk,l,对第k个频域区间中第l个采样点的信号值进行补偿处理。Step B3: Based on h k,l , compensation processing is performed on the signal value of the l th sampling point in the k th frequency domain interval.

基于步骤B2和步骤B3,终端设备可以对每个频域区间内的每个采样点进行补偿处理。进一步地,调制解调器还可以利用对称性,完成目标信号中另一半信号的补偿处理。Based on step B2 and step B3, the terminal device can perform compensation processing on each sampling point in each frequency domain interval. Furthermore, the modem can also use symmetry to complete compensation processing on the other half of the target signal.

由此可见,本申请实施例提供的信号补偿方法。一方面,本申请实施例提供的信号补偿方法本申请实施例提供的信号补偿方法在保证补偿精度的前提下,能够节约存储空间。另一方面,在存储相同数据量的基础上,还能够高补偿精度。It can be seen that the signal compensation method provided by the embodiment of the present application can save storage space while ensuring the compensation accuracy. On the other hand, it can also improve the compensation accuracy while storing the same amount of data.

以采样点数量N为4096的信号为例,本申请实施例提供的方案与相关技术方案的对比如下表1所示:Taking a signal with 4096 sampling points N as an example, a comparison between the solution provided by the embodiment of the present application and the related technical solution is shown in Table 1 below:

表1Table 1

结合表1第二列和第五列显示的内容,在相似补偿精度条件下(本申请实施例提供的方案补偿精度为-49.27,相关技术方案的补偿精度为-45.60),本申请实施例提供的方案需存储/传递的信息量,是存储/传递的信息量的八分之一(16/128),也就是说,相关技术方案中将频域划分为128个频域区间所达到的补偿精度,使用本申请实施例提供的方法仅需将频域分为16个频域区间即可达到同样的补偿精度。这样,本申请实施例提供的方案比相关技术方案大大节省了存储空间。Combined with the contents shown in the second and fifth columns of Table 1, under similar compensation accuracy conditions (the compensation accuracy of the scheme provided in the embodiment of the present application is -49.27, and the compensation accuracy of the related technical scheme is -45.60), the amount of information that needs to be stored/transmitted by the scheme provided in the embodiment of the present application is one eighth (16/128) of the amount of information stored/transmitted, that is, the compensation accuracy achieved by dividing the frequency domain into 128 frequency domain intervals in the related technical scheme, can be achieved by only dividing the frequency domain into 16 frequency domain intervals using the method provided in the embodiment of the present application. In this way, the scheme provided in the embodiment of the present application greatly saves storage space compared with the related technical scheme.

结合表1第二列和第四列显示的内容,在相同的存储/传递数据个数条件下,本申请实施例提供的方案比相关技术方案提高了约18.73dB的补偿精度。Combined with the contents shown in the second and fourth columns of Table 1, under the condition of the same number of stored/transmitted data, the solution provided by the embodiment of the present application improves the compensation accuracy by about 18.73 dB compared with the related technical solution.

本申请一实施例提供一种信号补偿装置,该装置可以是作为信号接收端的终端设备或网络设备,也可以是终端设备或网络设备中用于进行频域补偿的芯片(例如Modem芯片、片上系统(system on chip)等)。An embodiment of the present application provides a signal compensation device, which may be a terminal device or a network device serving as a signal receiving end, or a chip in the terminal device or the network device for performing frequency domain compensation (eg, a modem chip, a system on chip, etc.).

图13为本申请实施例提供的信号补偿装置的结构示意图,如图13所示,该装置可以包括:FIG. 13 is a schematic diagram of the structure of a signal compensation device provided in an embodiment of the present application. As shown in FIG. 13 , the device may include:

第一获取单元1301,被配置为获取多个频域区间的每个频域区间对应的斜率参数;所述每个频域区间对应的斜率参数是基于所述每个频域区间中至少两个采样点分别对应的理想补偿值确定;所述至少两个采样点与其对应的理想补偿值满足理想补偿函数,所述理想补偿函数用于指示频域内的采样点与目标信号的频域补偿值之间的相关关系;The first acquisition unit 1301 is configured to acquire a slope parameter corresponding to each frequency domain interval of a plurality of frequency domain intervals; the slope parameter corresponding to each frequency domain interval is determined based on the ideal compensation values respectively corresponding to at least two sampling points in each frequency domain interval; the at least two sampling points and the ideal compensation values corresponding thereto satisfy an ideal compensation function, and the ideal compensation function is used to indicate a correlation between the sampling points in the frequency domain and the frequency domain compensation value of the target signal;

信号补偿单元1302,被配置为利用所述每个频域区间对应的斜率参数,对所述目标信号的信号值进行补偿。The signal compensation unit 1302 is configured to compensate the signal value of the target signal by using the slope parameter corresponding to each frequency domain interval.

在本申请一些实施例中,所述每个频域区间内包括的采样点的数量相同。In some embodiments of the present application, the number of sampling points included in each frequency domain interval is the same.

在本申请一些实施例中,所述信号补偿单元1302,还被配置为基于第k个频域区间对应的斜率参数,确定所述第k个频域区间中第l个采样点的频域补偿值hk,l;其中,k为大于等于1且小于等于K的整数,K为所述多个频域区间的数量,l为大于等于1且小于等于L的整数,L为所述第k个频域区间中采样点的数量;基于所述第k个频域区间的所述第l个采样点的频域补偿值hk,l,对所述目标信号中的第k个频域区间的第l个采样点对应的信号值进行补偿。In some embodiments of the present application, the signal compensation unit 1302 is further configured to determine the frequency domain compensation value h k,l of the lth sampling point in the kth frequency domain interval based on the slope parameter corresponding to the kth frequency domain interval; wherein k is an integer greater than or equal to 1 and less than or equal to K, K is the number of the multiple frequency domain intervals, l is an integer greater than or equal to 1 and less than or equal to L, and L is the number of sampling points in the kth frequency domain interval; based on the frequency domain compensation value h k,l of the lth sampling point in the kth frequency domain interval, the signal value corresponding to the lth sampling point in the kth frequency domain interval in the target signal is compensated.

在本申请一些实施例中,所述信号补偿单元1302,还被配置为基于所述第k个频域区间对应的斜率参数,以及第k-1个频域区间中第M个采样点对应的频率补偿值hk-1,M,计算所述第k个频域区间中第l个采样点的频域补偿值hk,l,其中,M为所述第k-1个频域区间采样点的数量。In some embodiments of the present application, the signal compensation unit 1302 is further configured to calculate the frequency domain compensation value h k,l of the lth sampling point in the kth frequency domain interval based on the slope parameter corresponding to the kth frequency domain interval and the frequency compensation value h k-1 ,M corresponding to the Mth sampling point in the k-1th frequency domain interval, where M is the number of sampling points in the k-1th frequency domain interval.

在本申请一些实施例中,所述第k-1个频域区间中第M个采样点对应的频率补偿值hk-1,M,是基于所述第k-1个频域区间对应的斜率参数和第k-2个频域区间中第J个采样点对应的频率补偿值hk-2,J确定的,其中,J为所述第k-2个频域区间采样点的数量;In some embodiments of the present application, the frequency compensation value h k-1,M corresponding to the Mth sampling point in the k-1th frequency domain interval is determined based on the slope parameter corresponding to the k-1th frequency domain interval and the frequency compensation value h k-2,J corresponding to the Jth sampling point in the k-2th frequency domain interval, where J is the number of sampling points in the k-2th frequency domain interval;

第1个频域区间中第P个采样点对应的频域补偿值h1,P基于所述第1个频域区间的斜率参数和H(0)确定,其中,H(0)为频域补偿值的基准值。The frequency domain compensation value h1 ,P corresponding to the Pth sampling point in the first frequency domain interval is determined based on the slope parameter of the first frequency domain interval and H(0), where H(0) is a reference value of the frequency domain compensation value.

在本申请一些实施例中,所述每个频域区间内包括的采样点的数量均为L,所述信号补偿单元1302,还被配置为基于第一运算关系,确定所述第k个频域区间中第l个采样点的频域补偿值hk,l,所述第一运算关系满足以下公式:In some embodiments of the present application, the number of sampling points included in each frequency domain interval is L, and the signal compensation unit 1302 is further configured to determine the frequency domain compensation value h k,l of the l th sampling point in the k th frequency domain interval based on a first operation relationship, and the first operation relationship satisfies the following formula:

其中,H(0)为频域补偿值的基准值,Δk为所述第k个频域区间对应的斜率参数。Wherein, H(0) is the reference value of the frequency domain compensation value, and Δk is the slope parameter corresponding to the kth frequency domain interval.

在本申请一些实施例中,所述信号补偿装置还包括转换单元,被配置为将所述目标信号由时域信号转换至频域信号。In some embodiments of the present application, the signal compensation device further includes a conversion unit configured to convert the target signal from a time domain signal to a frequency domain signal.

本申请一实施例提供一种频域补偿数据确定装置,该装置可以执行上述任意实施例所提供的频域补偿数据确定方法。其中,该装置生成的频域补偿数据可以包括上述多个频域区间对应的斜率参数。An embodiment of the present application provides a frequency domain compensation data determination device, which can execute the frequency domain compensation data determination method provided in any of the above embodiments. The frequency domain compensation data generated by the device can include the slope parameters corresponding to the above multiple frequency domain intervals.

示例性的,图14为本申请实施例提供的频域补偿数据确定装置的结构示意图,如图14所示,该装置可以包括:Exemplarily, FIG14 is a schematic diagram of the structure of a device for determining frequency domain compensation data provided in an embodiment of the present application. As shown in FIG14 , the device may include:

确定单元1401,被配置为确定多个频域区间;The determining unit 1401 is configured to determine a plurality of frequency domain intervals;

第二获取单元1402,被配置为获取每个频域区间中至少两个采样点对应的理想补偿值;所述理想补偿函数用于指示频域内的采样点与目标信号的频域补偿值之间的相关关系;The second acquisition unit 1402 is configured to acquire an ideal compensation value corresponding to at least two sampling points in each frequency domain interval; the ideal compensation function is used to indicate the correlation between the sampling points in the frequency domain and the frequency domain compensation value of the target signal;

所述确定单元1401,还被配置为基于所述每个频域区间中至少两个采样点对应的理想补偿值,确定所述每个频域区间对应的斜率参数;所述每个频域区间对应的斜率参数用于对所述目标信号的信号值进行补偿。The determination unit 1401 is further configured to determine a slope parameter corresponding to each frequency domain interval based on an ideal compensation value corresponding to at least two sampling points in each frequency domain interval; the slope parameter corresponding to each frequency domain interval is used to compensate for the signal value of the target signal.

在本申请的一些实施例中,In some embodiments of the present application,

所述确定单元1401,还被配置为对频域进行均匀分段,得到所述多个频域区间;其中,每个频域区间内的采样点数量相同。The determining unit 1401 is further configured to uniformly segment the frequency domain to obtain the multiple frequency domain intervals; wherein the number of sampling points in each frequency domain interval is the same.

需要说明的是,在本实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。It should be noted that the functional units in this embodiment may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above integrated module may be implemented in the form of hardware or in the form of software functional modules.

集成的模块如果以软件功能模块的形式实现并非作为独立的产品进行销售或使用时,可以存储在一个计算机可读取存储介质中,基于这样的理解,本实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或processor(处理器)执行本实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated module is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the method of this embodiment. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., which can store program code.

本申请实施例还提供一种调制解调器,如图15示,本申请实施例提出的调制解调器可以包括处理器1501、以及存储有所述处理器可执行指令的存储器1502。The embodiment of the present application further provides a modem. As shown in FIG. 15 , the modem provided in the embodiment of the present application may include a processor 1501 and a memory 1502 storing instructions executable by the processor.

示例性的,处理器1501可以包括数字链路损伤模块、DFT/FFT模块、DMD模块和CSM模块。其中,数字链路损伤模块用于对目标信号进行下采样和滤波处理,滤除干扰信号。DFT/FFT模块用于将目标信号从时域转换至频域,以便于得到基带信号。DMD模块用于对基带信号进行解调和检测。CSM模块用于根据基带信号进行小区搜索和测量。Exemplarily, the processor 1501 may include a digital link impairment module, a DFT/FFT module, a DMD module, and a CSM module. The digital link impairment module is used to downsample and filter the target signal to filter out the interference signal. The DFT/FFT module is used to convert the target signal from the time domain to the frequency domain to obtain the baseband signal. The DMD module is used to demodulate and detect the baseband signal. The CSM module is used to perform cell search and measurement based on the baseband signal.

所述处理器1501和所述存储器1502通过通信总线1503进行通信;The processor 1501 and the memory 1502 communicate via a communication bus 1503;

所述处理器1501,运行所述存储器1502中存储的计算机程序时,可以执行以下指令:The processor 1501, when running the computer program stored in the memory 1502, may execute the following instructions:

获取多个频域区间的每个频域区间对应的斜率参数;所述每个频域区间对应的斜率参数是基于所述每个频域区间中至少两个采样点分别对应的理想补偿值确定;所述至少两个采样点与其对应的理想补偿值满足理想补偿函数,所述理想补偿函数用于指示频域内的采样点与目标信号的频域补偿值之间的相关关系;Obtaining a slope parameter corresponding to each frequency domain interval of a plurality of frequency domain intervals; the slope parameter corresponding to each frequency domain interval is determined based on ideal compensation values respectively corresponding to at least two sampling points in each frequency domain interval; the at least two sampling points and their corresponding ideal compensation values satisfy an ideal compensation function, and the ideal compensation function is used to indicate a correlation between the sampling points in the frequency domain and the frequency domain compensation value of the target signal;

利用所述每个频域区间对应的斜率参数,对所述目标信号的信号值进行补偿。The signal value of the target signal is compensated using the slope parameter corresponding to each frequency domain interval.

在本申请一些实施例中,所述处理器1501,运行所述存储器1502中存储的计算机程序时,还可以执行以下指令:In some embodiments of the present application, the processor 1501, when running the computer program stored in the memory 1502, may also execute the following instructions:

基于第k个频域区间对应的斜率参数,确定所述第k个频域区间中第l个采样点的频域补偿值hk,l;其中,k为大于等于1且小于等于K的整数,K为所述多个频域区间的数量,l为大于等于1且小于等于L的整数,L为所述第k个频域区间中采样点的数量;基于所述第k个频域区间的所述第l个采样点的频域补偿值hk,l,对所述目标信号中的第k个频域区间的第l个采样点对应的信号值进行补偿,直至对所述目标信号中所有频域区间中所有采样点对应的信号值完成补偿。Based on the slope parameter corresponding to the kth frequency domain interval, determine the frequency domain compensation value h k,l of the lth sampling point in the kth frequency domain interval; wherein k is an integer greater than or equal to 1 and less than or equal to K, K is the number of the multiple frequency domain intervals, l is an integer greater than or equal to 1 and less than or equal to L, and L is the number of sampling points in the kth frequency domain interval; based on the frequency domain compensation value h k,l of the lth sampling point in the kth frequency domain interval, compensate for the signal value corresponding to the lth sampling point in the kth frequency domain interval in the target signal until the signal values corresponding to all sampling points in all frequency domain intervals in the target signal are compensated.

在本申请一些实施例中,所述处理器1501,运行所述存储器1502中存储的计算机程序时,还可以执行以下指令:In some embodiments of the present application, the processor 1501, when running the computer program stored in the memory 1502, may also execute the following instructions:

基于所述第k个频域区间对应的斜率参数,以及第k-1个频域区间中第M个采样点对应的频率补偿值hk-1,M,计算所述第k个频域区间中第l个采样点的频域补偿值hk,l。其中,M为所述第k-1个频域区间采样点的数量。Based on the slope parameter corresponding to the kth frequency domain interval and the frequency compensation value h k-1,M corresponding to the Mth sampling point in the k-1th frequency domain interval, the frequency domain compensation value h k,l of the lth sampling point in the kth frequency domain interval is calculated, where M is the number of sampling points in the k-1th frequency domain interval.

在本申请一些实施例中,每个频域区间内包括的采样点的数量均为L,所述处理器1501,运行所述存储器1502中存储的计算机程序时,还可以执行以下指令:In some embodiments of the present application, the number of sampling points included in each frequency domain interval is L. When the processor 1501 runs the computer program stored in the memory 1502, it can also execute the following instructions:

基于第一运算关系,确定所述第k个频域区间中第l个采样点的频域补偿值hk,l,所述第一运算关系满足以下公式:Based on the first operation relationship, the frequency domain compensation value h k,l of the l th sampling point in the k th frequency domain interval is determined, and the first operation relationship satisfies the following formula:

其中,H(0)为频域补偿值的基准值,Δk为所述第k个频域区间对应的斜率参数。Wherein, H(0) is the reference value of the frequency domain compensation value, and Δk is the slope parameter corresponding to the kth frequency domain interval.

在本申请一些实施例中,所述处理器1501,运行所述存储器1502中存储的计算机程序时,还可以执行以下指令:将所述目标信号由时域信号转换至频域信号。In some embodiments of the present application, the processor 1501, when running the computer program stored in the memory 1502, may also execute the following instructions: converting the target signal from a time domain signal to a frequency domain signal.

在本申请一些实施例中,所述处理器1501,运行所述存储器1502中存储的计算机程序时,还可以执行以下指令:In some embodiments of the present application, the processor 1501, when running the computer program stored in the memory 1502, may also execute the following instructions:

确定多个频域区间;determining a plurality of frequency domain intervals;

基于理想补偿函数,获取每个频域区间中至少两个采样点对应的理想补偿值;所述理想补偿函数用于指示频域内的采样点与目标信号的频域补偿值之间的相关关系;Based on an ideal compensation function, obtaining ideal compensation values corresponding to at least two sampling points in each frequency domain interval; the ideal compensation function is used to indicate the correlation between the sampling points in the frequency domain and the frequency domain compensation values of the target signal;

基于所述每个频域区间中至少两个采样点对应的理想补偿值,确定所述每个频域区间对应的斜率参数;所述每个频域区间对应的斜率参数用于对所述目标信号的信号值进行补偿。Based on the ideal compensation values corresponding to at least two sampling points in each frequency domain interval, a slope parameter corresponding to each frequency domain interval is determined; the slope parameter corresponding to each frequency domain interval is used to compensate the signal value of the target signal.

在本申请一些实施例中,所述处理器1501,运行所述存储器1502中存储的计算机程序时,还可以执行以下指令:In some embodiments of the present application, the processor 1501, when running the computer program stored in the memory 1502, may also execute the following instructions:

对频域进行均匀分段,得到所述多个频域区间;其中,每个频域区间内的采样点数量相同。The frequency domain is evenly segmented to obtain the multiple frequency domain intervals; wherein the number of sampling points in each frequency domain interval is the same.

在本申请提供的实施例中,上述处理器1501可以为特定用途集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital SignalProcessor,DSP)、数字信号处理装置(Digital Signal Processing Device,DSPD)、可编程逻辑装置(Progmable Logic Device,PLD)、现场可编程门阵列(Field Progmable GateArray,FPGA)、中央处理器(Central Processing Unit,CPU)、控制器中的至少一种。可以理解地,对于不同的设备,用于实现上述处理器功能的电子器件还可以为其它,本申请实施例不作具体限定。In the embodiments provided in the present application, the processor 1501 may be at least one of an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), and a controller. It is understandable that for different devices, the electronic device used to implement the functions of the processor may also be other, which is not specifically limited in the embodiments of the present application.

在实际应用中,存储器1502可以是易失性存储器(volatile memory),例如随机存取存储器(Random-Access Memory,RAM);或者非易失性存储器(non-volatile memory),例如只读存储器(Read-Only Memory,ROM),快闪存储器(flash memory),硬盘(Hard DiskDrive,HDD)或固态硬盘(Solid-State Drive,SSD);或者上述种类的存储器的组合,并向处理器1501提供指令和数据。In practical applications, the memory 1502 may be a volatile memory, such as a random access memory (RAM); or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above types of memories, and provide instructions and data to the processor 1501.

基于前述实施例,本申请实施例还提供一种通信设备,该通信设备中可以集成上述实施例提供的调制解调器。参考图15所示,该调制解调器可以包括处理器1501、以及存储有所述处理器可执行指令的存储器1502;Based on the above embodiments, the present application also provides a communication device, in which the modem provided in the above embodiments may be integrated. Referring to FIG15 , the modem may include a processor 1501 and a memory 1502 storing instructions executable by the processor;

所述处理器1501和所述存储器1502通过通信总线1503进行通信;The processor 1501 and the memory 1502 communicate via a communication bus 1503;

处理器1501可以从存储器1502中调用并运行计算机程序,以实现本申请实施例中的方法。The processor 1501 can call and run the computer program from the memory 1502 to implement the method in the embodiment of the present application.

在本申请提供的实施例中,所述通信装置可以是接收机或通信设备。这里,通信设备可以是终端设备或者网络设备。其中,终端设备可以包括UE、接入终端、UE单元、UE站、移动站、移动台、远方站、远程终端、移动设备、UE终端、终端、无线终端设备、UE代理或UE装置等。还可以是蜂窝电话、无绳电话、SIP电话、无线本地环路WLL站、PDA、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、无人机、可穿戴设备、机器人,未来5G网络中的终端或者未来演进的PLMN中的终端等。终端设备还可以包括IOT设备,IOT设备可以包括各种类型的传感器、空调、洗衣机、灯具、以及车载终端等,本申请实施例对此不做限定。In the embodiments provided in the present application, the communication device may be a receiver or a communication device. Here, the communication device may be a terminal device or a network device. Among them, the terminal device may include UE, access terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal, mobile device, UE terminal, terminal, wireless terminal device, UE agent or UE device, etc. It may also be a cellular phone, a cordless phone, a SIP phone, a wireless local loop WLL station, a PDA, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a drone, a wearable device, a robot, a terminal in a future 5G network or a terminal in a future evolved PLMN, etc. The terminal device may also include an IOT device, which may include various types of sensors, air conditioners, washing machines, lamps, and vehicle-mounted terminals, etc., which are not limited in the embodiments of the present application.

网络设备可以包括全球移动通讯(Global System of Mobile communication,GSM)系统或码分多址(Code Division Multiple Access,CDMA)系统的基站(BaseTransceiver Station,BTS),也可以是宽带码分多址(Wideband Code Division MultipleAccess,WCDMA)系统中的基站(NodeB,NB),还可以是LTE系统中的eNB、接入点(accesspoint,AP)或者中继站,也可以是5G系统中的基站(如gNB或TRP)等,还可以是云无线接入网络(Cloud Radio Access Network,CRAN)场景下的无线控制器以及可穿戴设备或车载设备等。在此不作限定。The network device may include a base station (Base Transceiver Station, BTS) of a Global System of Mobile communication (GSM) system or a Code Division Multiple Access (CDMA) system, or a base station (NodeB, NB) in a Wideband Code Division Multiple Access (WCDMA) system, or an eNB, access point (AP) or relay station in an LTE system, or a base station (such as a gNB or TRP) in a 5G system, or a wireless controller in a Cloud Radio Access Network (CRAN) scenario, as well as a wearable device or vehicle-mounted device, etc. This is not limited here.

本申请实施例还提供了一种计算机存储介质,具体为计算机可读存储介质。其上存储有计算机指令,在计算机存储介质位于电子设备制作装置时,该计算机指令被处理器执行时实现本申请实施例上述信号补偿方法或频域补偿数据确定方法中的任意步骤。The present application also provides a computer storage medium, specifically a computer-readable storage medium, on which computer instructions are stored, and when the computer storage medium is located in an electronic device manufacturing device, the computer instructions are executed by a processor to implement any step of the above-mentioned signal compensation method or frequency domain compensation data determination method of the present application.

本申请提供了一种计算机程序产品,包括计算机可读代码,当计算机可读代码在处理器中运行时,执行用于实现上述信号补偿方法中的步骤,或者,执行时实现上述频域补偿数据确定方法中的步骤。The present application provides a computer program product, including computer readable codes, which, when executed in a processor, are used to implement the steps in the above-mentioned signal compensation method, or, when executed, implement the steps in the above-mentioned frequency domain compensation data determination method.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以至少两个单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately configured as a unit, or at least two units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

需要说明的是:本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。It should be noted that the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.