Signal processing method and apparatus
By dividing the signal sequence into signal groups and residual signals, and using the preprocessing results and local sequences to determine the correlation, the high power consumption problem of the terminal device when capturing PSS is solved, and the battery life of the terminal device is improved.
Patent Information
- Application Number
- CN202411667894.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2044-11-20
AI Technical Summary
In the 5G NR physical layer protocol, terminal devices need to perform a lot of calculations when capturing PSS, resulting in high power consumption, especially for power-sensitive terminal devices with weak battery life.
By dividing the signal sequence into signal groups and residual signals, the correlation is determined using preprocessing results and local sequences, thereby reducing computational load and power consumption.
It reduces the computing resources and power consumption of terminal devices during PSS capture, and improves the battery life of power-sensitive terminal devices.
Smart Images

Figure CN119485627B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical fields of terminals and communications, and in particular to a signal processing method and apparatus. Background Technology
[0002] The physical layer protocol of 5G NR stipulates that terminal devices need to capture the Synchronization Signal / PBCH (SSB) sent by network-side devices for cell access.
[0003] The Primary Synchronization Signal (PSS) is the first signal in the SSB. During SSB acquisition, the PSS must be acquired first. Currently, the received PSS sequence and the local PSS sequence are typically cross-correlated to obtain their correlation. Whether the PSS is acquired is then determined by signal processing. The length of the received PSS sequence is the same as the length of the local PSS sequence.
[0004] Since the length of the PSS received sequence is the same as the length of the PSS local sequence, the terminal device needs to perform a lot of calculations to obtain the correlation between the PSS received sequence and the PSS local sequence, which will consume a lot of computing resources and result in high power consumption of the terminal device. Summary of the Invention
[0005] This application provides a signal processing method and apparatus that can be used to reduce the power consumption of terminal devices.
[0006] In a first aspect, embodiments of this application provide a signal processing method applied to a terminal device, the method comprising:
[0007] Obtain the signal sequence to be processed and the local sequence corresponding to the signal sequence, wherein the total number of signals in the local sequence is less than the total number of signals in the signal sequence;
[0008] Based on the index of the signals in the signal sequence, the signal sequence is divided into at least one signal group and the remaining signals in the signal sequence excluding the signal group. Each signal group includes two signals, and the sum of the indices of the two signals is equal to the total number of signals in the signal sequence.
[0009] Determine the preprocessing result corresponding to each signal group, and the preprocessing result is used to obtain the correlation between the signal sequence and the local sequence;
[0010] The correlation is determined based on the preprocessing results corresponding to each signal group, the remaining signals, and the local sequence.
[0011] In one implementation, determining the preprocessing result corresponding to the signal group includes:
[0012] Acquire the first signal component and the second signal component of the first signal in the signal group, wherein the first signal component and the second signal component are configured as signals with the same amplitude but opposite polarities;
[0013] The third and fourth signal components of the second signal in the signal group are obtained, and the third and fourth signal components are configured as signals with the same amplitude but opposite polarities.
[0014] The preprocessing result corresponding to the signal group is determined based on the first signal component, the second signal component, the third signal component, and the fourth signal component.
[0015] In one implementation, determining the preprocessing result corresponding to the signal group based on the first signal component, the second signal component, the third signal component, and the fourth signal component includes:
[0016] The first arithmetic unit determines the sum of the first signal component and the third signal component as the first sum component; the difference between the second signal component and the fourth signal component as the first difference component; the difference between the first signal component and the third signal component as the second difference component; and the sum of the second signal component and the fourth signal component as the second sum component.
[0017] The preprocessing result corresponding to the signal group includes the first sum component, the first difference component, the second difference component, and the second sum component.
[0018] In one implementation, the local sequence includes the local signal corresponding to each signal group and the local signal corresponding to the remaining signals;
[0019] The step of determining the correlation based on the preprocessing results corresponding to each signal group, the remaining signal, and the local sequence includes:
[0020] For each signal group, the preprocessing result corresponding to the signal group and the local signal corresponding to the signal group are cross-correlated to obtain the first cross-correlation result corresponding to the signal group;
[0021] The remaining signal and the local signal corresponding to the remaining signal are cross-correlated to obtain the second cross-correlation result corresponding to the remaining signal.
[0022] The correlation degree is determined based on the first cross-correlation result corresponding to each signal group and the second cross-correlation result corresponding to the remaining signals.
[0023] In one embodiment, the preprocessing result includes a first sum component, a first difference component, a second difference component, and a second sum component;
[0024] Perform cross-correlation processing on the preprocessed result corresponding to the signal group and the local signal corresponding to the signal group to obtain the first cross-correlation result corresponding to the signal group, including:
[0025] The second arithmetic unit sequentially multiplies the fifth signal component of the local signal corresponding to the signal group with the first sum component to determine the first correlation component; multiplies the sixth signal component of the local signal corresponding to the signal group with the first difference component to determine the second correlation component; multiplies the sixth signal component with the second difference component to determine the third correlation component; and multiplies the fifth signal component with the second sum component to determine the fourth correlation component. The fifth signal component and the sixth signal component are configured as signals with the same amplitude but opposite polarities.
[0026] The third arithmetic unit sequentially calculates the sum of the first correlation component and the second correlation component to determine the first sub-correlation result; and calculates the sum of the third correlation component and the fourth correlation component to determine the second sub-correlation result.
[0027] The first cross-correlation result is determined to include the first sub-correlation result and the second sub-correlation result.
[0028] In one embodiment, cross-correlation processing is performed on the remaining signal and the local signal corresponding to the remaining signal to obtain a second cross-correlation result corresponding to the remaining signal, including:
[0029] Determine the conjugate signal of the local signal corresponding to the remaining signal;
[0030] The complex product of the remaining signal and the conjugate signal is determined as the correlation signal;
[0031] The second cross-correlation result is determined to include both the real and imaginary components of the correlated signal.
[0032] In one implementation, determining the correlation degree based on the first cross-correlation result corresponding to each signal group and the second cross-correlation result corresponding to the remaining signals includes:
[0033] The square of the sum of the first sub-correlation result in the first cross-correlation result and the real component in the second cross-correlation result is determined as the first square value;
[0034] The square of the sum of the second sub-correlation result in the first cross-correlation result and the imaginary component in the second cross-correlation result is determined as the second square value;
[0035] The sum of the first squared value and the second squared value is determined as the correlation.
[0036] In one implementation, the total number of signals in the signal sequence is , An integer greater than or equal to 3;
[0037] The step of dividing the signal sequence into at least one signal group and the remaining signals in the signal sequence excluding the signal groups according to the index of the signals in the signal sequence includes:
[0038] The The signals with indices 0 and 2 The signal is determined to be the remaining signal;
[0039] The The index of the signals is and The signal is identified as a signal group. .
[0040] Secondly, embodiments of this application provide a signal processing apparatus, comprising:
[0041] The acquisition module is used to acquire the signal sequence to be processed and the local sequence corresponding to the signal sequence, wherein the total number of signals in the local sequence is less than the total number of signals in the signal sequence;
[0042] The partitioning module is used to divide the signal sequence into at least one signal group and the remaining signals in the signal sequence other than the signal group according to the index of the signals in the signal sequence. Each signal group includes two signals, and the sum of the indices of the two signals is equal to the total number of signals in the signal sequence.
[0043] A determination module is used to determine the preprocessing result corresponding to each signal group, and the preprocessing result is used to obtain the correlation between the signal sequence and the local sequence;
[0044] The determination module is used to determine the correlation based on the preprocessing results corresponding to each signal group, the remaining signals, and the local sequence.
[0045] In one implementation, the determining module is specifically used for:
[0046] Acquire the first signal component and the second signal component of the first signal in the signal group, wherein the first signal component and the second signal component are configured as signals with the same amplitude but opposite polarities;
[0047] The third and fourth signal components of the second signal in the signal group are obtained, and the third and fourth signal components are configured as signals with the same amplitude but opposite polarities.
[0048] The preprocessing result corresponding to the signal group is determined based on the first signal component, the second signal component, the third signal component, and the fourth signal component.
[0049] In one implementation, the determining module is specifically used for:
[0050] The first arithmetic unit determines the sum of the first signal component and the third signal component as the first sum component; the difference between the second signal component and the fourth signal component as the first difference component; the difference between the first signal component and the third signal component as the second difference component; and the sum of the second signal component and the fourth signal component as the second sum component.
[0051] The preprocessing result corresponding to the signal group includes the first sum component, the first difference component, the second difference component, and the second sum component.
[0052] In one implementation, the local sequence includes the local signal corresponding to each signal group and the local signal corresponding to the remaining signals; the determining module is specifically used for:
[0053] For each signal group, the preprocessing result corresponding to the signal group and the local signal corresponding to the signal group are cross-correlated to obtain the first cross-correlation result corresponding to the signal group;
[0054] The remaining signal and the local signal corresponding to the remaining signal are cross-correlated to obtain the second cross-correlation result corresponding to the remaining signal.
[0055] The correlation degree is determined based on the first cross-correlation result corresponding to each signal group and the second cross-correlation result corresponding to the remaining signals.
[0056] In one implementation, the preprocessing result includes a first sum component, a first difference component, a second difference component, and a second sum component; the determining module is specifically used for:
[0057] The second arithmetic unit sequentially multiplies the fifth signal component of the local signal corresponding to the signal group with the first sum component to determine the first correlation component; multiplies the sixth signal component of the local signal corresponding to the signal group with the first difference component to determine the second correlation component; multiplies the sixth signal component with the second difference component to determine the third correlation component; and multiplies the fifth signal component with the second sum component to determine the fourth correlation component. The fifth signal component and the sixth signal component are configured as signals with the same amplitude but opposite polarities.
[0058] The third arithmetic unit sequentially calculates the sum of the first correlation component and the second correlation component to determine the first sub-correlation result; and calculates the sum of the third correlation component and the fourth correlation component to determine the second sub-correlation result.
[0059] The first cross-correlation result is determined to include the first sub-correlation result and the second sub-correlation result.
[0060] In one implementation, the determining module is specifically used for:
[0061] Determine the conjugate signal of the local signal corresponding to the remaining signal;
[0062] The complex product of the remaining signal and the conjugate signal is determined as the correlation signal;
[0063] The second cross-correlation result is determined to include both the real and imaginary components of the correlated signal.
[0064] In one implementation, the determining module is specifically used for:
[0065] The square of the sum of the first sub-correlation result in the first cross-correlation result and the real component in the second cross-correlation result is determined as the first square value;
[0066] The square of the sum of the second sub-correlation result in the first cross-correlation result and the imaginary component in the second cross-correlation result is determined as the second square value;
[0067] The sum of the first squared value and the second squared value is determined as the correlation.
[0068] In one implementation, the total number of signals in the signal sequence is , An integer greater than or equal to 3;
[0069] The step of dividing the signal sequence into at least one signal group and the remaining signals in the signal sequence excluding the signal groups according to the index of the signals in the signal sequence includes:
[0070] The The signals with indices 0 and 2 The signal is determined to be the remaining signal;
[0071] The The index of the signals is and The signal is identified as a signal group. .
[0072] Thirdly, embodiments of this application provide a terminal device, including: a memory and a processor;
[0073] The memory stores computer-executed instructions;
[0074] The processor executes computer execution instructions stored in the memory to implement the signal processing method in any of the embodiments of the first aspect described above.
[0075] Fourthly, embodiments of this application provide a storage medium storing instructions that, when executed on a processor, cause the processor to perform the signal processing method described in any of the embodiments of the first aspect.
[0076] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the signal processing method in any of the embodiments of the first aspect described above.
[0077] This application provides a signal processing method and apparatus. In this method, the total number of signals in the local sequence is less than the total number of signals in the signal sequence. Based on the index of the signals in the signal sequence, the signal sequence is divided into at least one signal group and the remaining signals in the signal sequence excluding the signal group. Based on the preprocessing result corresponding to each signal group, the remaining signals, and the local sequence, the correlation between the signal sequence and the local sequence is determined. This can reduce the amount of computation required for correlation, thereby reducing the computing resources of the terminal device and reducing the power consumption of the terminal device. Attached Figure Description
[0078] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0079] Figure 1 This is one of the flowcharts illustrating the signal processing method provided in the embodiments of this application;
[0080] Figure 2 This is a second schematic flowchart of the signal processing method provided in an embodiment of this application;
[0081] Figure 3 This is an overall schematic diagram of the preprocessing provided in the embodiments of this application;
[0082] Figure 4 A schematic diagram of the preprocessing unit provided in the embodiments of this application;
[0083] Figure 5 A schematic diagram of the preprocessing unit provided in the embodiments of this application;
[0084] Figure 6 The third schematic flowchart of the signal processing method provided in the embodiments of this application;
[0085] Figure 7 A schematic diagram of the cross-correlation operator provided in the embodiments of this application;
[0086] Figure 8 A complete capture process diagram provided for embodiments of this application;
[0087] Figure 9 This is a structural diagram corresponding to the complete capture process provided in the embodiments of this application;
[0088] Figure 10 This is a schematic diagram of the signal processing device provided in the embodiments of this application;
[0089] Figure 11 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application.
[0090] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation
[0091] Terminal equipment includes user equipment (UE), access terminal equipment, user unit, user station, mobile station, mobile station, remote station, remote terminal equipment, mobile device, user terminal equipment, wireless communication equipment, user agent or user device, etc.
[0092] Network-side equipment can be, for example, a base station (BTS) in a GSM or CDMA communication system, a base station (NodeB, NB) in a WCDMA communication system, an evolved base station (eNB or eNodeB) in an LTE system, a base station (gNB) in a 5G network, a base station in a future network (such as a 6G network), or a base station or satellite in an NTN communication system.
[0093] The 5G NR physical layer protocol specifies that terminal devices achieve cell access based on SSB. During this process, the terminal device needs to capture the SSB. The SSB consists of PSS (Primary Synchronization Signal), SSS (Secondary Synchronization Signals), and PBCH (Physical Broadcast Channel). The PSS is the first signal in the SSB sequence; therefore, capturing the PSS is the first step in the SSB acquisition process.
[0094] In related technologies, terminal devices can capture PSS using the following method: acquiring the PSS received sequence and a locally pre-stored PSS local sequence; performing a cross-correlation operation on the PSS received sequence and the PSS local sequence to obtain the correlation between the PSS received sequence and the PSS local sequence. The cross-correlation operation can be implemented using the following formula (1):
[0095] (1);
[0096] in, This indicates the correlation between the PSS received sequence and the PSS local sequence. Indicates the local sequence of PSS. Indicates the PSS receive sequence. Indicates taking the conjugate. Indicates the shift value. Signals representing sequences, This indicates the number of signals in the sequence.
[0097] In formula (1), the length of the PSS received sequence is the same as the length of the PSS local sequence, both being... Therefore, in the process of obtaining relevance, terminal devices need to perform... The secondary correlation operation consumes a large amount of computing resources, resulting in high power consumption of the terminal device. Moreover, in 5G NR, there are usually three types of PSS, each of which is an M sequence. The length of the M sequence is usually long, such as 127 bits. The transmission period of each type of PSS is not fixed, such as 5ms, 10ms, 20ms, 40ms, or 80ms. In the process of capturing PSS, in order to avoid missing PSS, the terminal device needs to have three types of local PSS sequences, and obtain the correlation between each type of local PSS sequence and the PSS received sequence in real time according to the above formula (1). This further consumes more computing resources of the terminal device, which further increases the power consumption of the terminal device, resulting in weaker battery life for power-sensitive terminal devices. Among them, power-sensitive terminal devices can be handheld terminal devices.
[0098] In view of this, embodiments of this application provide a signal processing method and apparatus. In this method, the total number of signals in the local sequence used to determine the correlation is less than the total number of signals in the signal sequence to be processed. The signal sequence is then divided into at least one signal group and the remaining signals in the signal sequence excluding the signal group. Based on the preprocessing result corresponding to each signal group, the remaining signals, and the local sequence, the correlation between the signal sequence and the local sequence is determined. This method can be used to reduce the computing resources and power consumption occupied by the terminal device in obtaining the correlation, thereby reducing the computing resources and power consumption in the PSS capture process and improving the battery life of terminal devices that are sensitive to power consumption.
[0099] This application provides a signal processing method applicable to Global System for Mobile Communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), and 5G systems, as well as future communication systems (e.g., 6G) and Non-Terrestrial Network (NTN) communication systems.
[0100] Before describing the signal processing method provided in the embodiments of this application, we will first discuss the PSS local sequence. The conjugate symmetry is explained. It can be expressed using the following formula (2):
[0101] (2);
[0102] in, This represents the inverse fast Fourier transform. For example, a frequency-domain binary phase shift keying (BPSK) M-sequence with a length of 127 bits. A sequence of real numbers with values of +1 or -1. , This indicates the number of points in the inverse Fast Fourier Transform. Represents the imaginary unit. Represents pi (π). .
[0103] when When, formula (2) is expressed as: .
[0104] because It is a sequence of real numbers, therefore .
[0105] when When, formula (2) can be expressed as: .
[0106] when When, formula (2) can be expressed as: .
[0107] As can be seen from the above, in hour, , It has conjugate symmetry.
[0108] because Because it has conjugate symmetry, formula (1) can also be transformed into formula (3) as follows:
[0109] (3).
[0110] because, It can be represented as , ;in, express The real part of the data (i.e. (I-channel signal) express Imaginary data (i.e.) (Q-channel signal) express The real part of the data (i.e. (I-channel signal) express Imaginary data (i.e.) The Q-channel signal). Therefore, formula (3) can also be expressed as formula (4) as follows:
[0111] (4);
[0112] The signal processing method provided in this application will be described below with reference to specific embodiments.
[0113] Figure 1 This is one of the flowcharts illustrating the signal processing method provided in an embodiment of this application. Figure 1 As shown, the method includes:
[0114] S101. Obtain the signal sequence to be processed and the local sequence corresponding to the signal sequence. The total number of signals in the local sequence is less than the total number of signals in the signal sequence.
[0115] Optionally, the execution entity in this application embodiment is a signal processing device that performs the method. The signal processing device can be implemented through a combination of software and / or hardware. For example, the signal processing device is a terminal device or a receiver within a terminal device.
[0116] The signal sequence to be processed can be a PSS receive sequence.
[0117] For example, the total number of signals in a signal sequence can be There are 10 signals, and the total number of signals in the local sequence can be 100. , It is an integer greater than or equal to 3. For example, the signal sequence to be processed can be represented as... .
[0118] Optionally, the local sequence corresponding to the signal sequence can be obtained from the local memory.
[0119] In the signal sequence represented as When, the local sequence is represented as .
[0120] Unlike related technologies, where the length of the signal sequence and the length of the local sequence are the same. The depth of the memory used to store local sequences is also [missing information]. This is a waste of storage space. In this application, the number of signals in the signal sequence is greater than the number of signals in the local sequence, where the number of signals is... The depth of the memory used to store local sequences is also [missing information]. Therefore, storage space can be saved.
[0121] S102. Based on the index of the signal in the signal sequence, divide the signal sequence into at least one signal group and the remaining signals in the signal sequence other than the signal group.
[0122] Each signal group consists of two signals, and the sum of the indices of the two signals equals the total number of signals in the signal sequence.
[0123] For example, two signals in a signal group are represented as and ,in, Indicates that the index is The signal Indicates that the index is The signal and The sum equals .
[0124] The remaining signal is, for example, the signal with index 0. and index as signal .
[0125] S103. Determine the preprocessing results corresponding to each signal group.
[0126] The preprocessing results are used to obtain the correlation between the signal sequence and the local sequence.
[0127] Optionally, for each signal group, the signal group is preprocessed to obtain the preprocessed result corresponding to the signal group.
[0128] S104. Based on the preprocessing results, remaining signals, and local sequences corresponding to each signal group, determine the correlation between the signal sequences and the local sequences.
[0129] In this embodiment, the total number of signals in the local sequence is less than the total number of signals in the signal sequence, saving storage space. Furthermore, based on the preprocessing results, remaining signals, and local sequence corresponding to each signal group, the correlation between the signal sequence and the local sequence is determined, which can reduce the amount of computation for correlation, improve the efficiency of obtaining correlation, reduce the occupancy of the terminal device's computing resources, and thus reduce the power consumption of the terminal device.
[0130] Figure 2 This is a second schematic flowchart illustrating the signal processing method provided in an embodiment of this application. Figure 2 As shown, the method includes:
[0131] S201. Obtain the signal sequence to be processed and the local sequence corresponding to the signal sequence. The total number of signals in the local sequence is less than the total number of signals in the signal sequence.
[0132] S202. Based on the index of the signal in the signal sequence, divide the signal sequence into at least one signal group and the remaining signals in the signal sequence other than the signal group. Each signal group includes two signals, and the sum of the indices of the two signals is equal to the total number of signals in the signal sequence.
[0133] In some embodiments, the total number of signals in the signal sequence is At that time, the signal sequence is divided into multiple signal groups and residual signals, including:
[0134] Will The signals with indices 0 and 2 The signal is determined to be the remaining signal;
[0135] Will The index of the signals is and The signal is identified as a signal group, where, .
[0136] It should be noted that S203 to S205 are executed for each signal group in the multiple signal groups.
[0137] S203. Obtain the first signal component and the second signal component of the first signal in a signal group.
[0138] The first signal component and the second signal component are configured as signals with the same amplitude but opposite polarities.
[0139] The two signals in each signal group are represented as follows: and At that time, assuming the first signal is , It can be represented as ;in, Represents the first signal component (i.e., (I-channel signal) This represents the second signal component (i.e., (Q-channel signal).
[0140] S204. Obtain the third and fourth signal components of the second signal in a signal group.
[0141] The third and fourth signal components are configured as signals with the same amplitude but opposite polarities.
[0142] The two signals in each signal group are represented as follows: and At that time, assuming the second signal is , It can be represented as ;in, Represents the third signal component (i.e., (I-channel signal) Represents the fourth signal component (i.e. (Q-channel signal).
[0143] S205. Based on the first signal component, the second signal component, the third signal component, and the fourth signal component, determine the preprocessing result corresponding to a signal group.
[0144] In some embodiments, S205 specifically includes:
[0145] The first arithmetic unit sequentially determines the sum of the first signal component and the third signal component as the first sum component; the difference between the second signal component and the fourth signal component as the first difference component; the difference between the first signal component and the third signal component as the second difference component; and the sum of the second signal component and the fourth signal component as the second sum component.
[0146] The preprocessing result is determined to include a first sum component, a first difference component, a second difference component, and a second sum component.
[0147] The first arithmetic unit can be an adder or a subtractor.
[0148] For example, the first signal component, the third signal component, and the first sum component satisfy the following formula (5):
[0149] (5);
[0150] in, Indicates the first and the component.
[0151] For example, the second signal component, the fourth signal component, and the first difference component satisfy the following formula (6):
[0152] (6);
[0153] in, This represents the first difference component.
[0154] For example, the first signal component, the third signal component, and the second difference component satisfy the following formula (7):
[0155] (7);
[0156] in, This represents the second difference component.
[0157] For example, the second signal component, the fourth signal component, and the second signal component satisfy the following formula (8):
[0158] (8);
[0159] in, This indicates the second component.
[0160] Substituting formulas (5) to (7) into formula (4), we obtain the following formula (9):
[0161] (9).
[0162] In this embodiment, a first signal component and a second signal component of a first signal in a signal group are obtained, and a third signal component and a fourth signal component of a second signal in a signal group are obtained. Based on the first signal component, the second signal component, the third signal component, and the fourth signal component, the preprocessing result corresponding to a signal group is determined, which allows for advance preparation. , , , In order to use formula (9) to obtain the correlation between the signal sequence and the local sequence.
[0163] S206. Based on the preprocessing results, remaining signals, and local sequences corresponding to each signal group, determine the correlation between the signal sequences and the local sequences.
[0164] exist Figure 2 In the method provided in the embodiment, the first signal component and the second signal component of the first signal in a signal group are first obtained, and then the third signal component and the fourth signal component of the second signal in a signal group are obtained. Based on the first signal component, the second signal component, the third signal component and the fourth signal component, the preprocessing result corresponding to a signal group is determined. Then, based on the preprocessing result corresponding to each signal group, the remaining signal and the local sequence, the correlation between the signal sequence and the local sequence is determined. This can achieve the purpose of obtaining the correlation based on conjugate symmetry, thereby reducing the computing resources of the terminal device and reducing the power consumption of the terminal device.
[0165] Figure 3 This is an overall schematic diagram of the preprocessing provided in an embodiment of this application. Figure 3 As shown, it includes: One preprocessing unit. Each preprocessing unit has the same structure and function, and each preprocessing unit preprocesses a signal group according to the methods in S203 to S205.
[0166] The implementation principle of the preprocessing unit is as follows: Figure 4 As shown.
[0167] Figure 4 This is a schematic diagram illustrating the principle of the preprocessing unit provided in an embodiment of this application. Figure 4As shown, the preprocessing unit includes two adders and two subtractors. The two adders and two subtractors can operate in parallel. In this embodiment, the adder or subtractor can be understood as an adder / subtractor, where " / " in the adder / subtractor signifies "or".
[0168] Two signals in a signal group include and , ,and When two adders and two subtractors operate in parallel, the result is... , , and Specifically, and Through an adder, we get , and By using a subtractor, we get , and Through an adder, we get , and By using a subtractor, we get .
[0169] Since the number of preprocessing units is If each preprocessing unit includes 4 adders / subtractors, then the number of adders / subtractors used is: .
[0170] In this embodiment of the application, a first arithmetic unit can be used to obtain... , , and This saves on the number of arithmetic units used in the preprocessing process.
[0171] Figure 5 This is a schematic diagram illustrating the principle of the preprocessing unit provided in an embodiment of this application. Figure 5 As shown, it includes: one adder / subtractor (first arithmetic unit). Under the action of the add control signal, the first arithmetic unit is used as an adder; under the action of the subtract control signal, the first arithmetic unit is used as a subtractor.
[0172] Driven by the system clock, , , , Shift to the right sequentially; correspondingly, driven by the system clock, , , , They also move to the right in sequence.
[0173] For example, driven by the first system clock, the clock shifts right, and a control signal controls the first arithmetic unit to function as an adder. The adder then... and ,get .
[0174] Driven by the second system clock, the clock shifts right, and a control signal is applied to control the first arithmetic unit to function as a subtractor. The subtractor operates according to... and ,get .
[0175] Driven by the third system clock, the clock shifts right, and a control signal controls the first arithmetic unit to function as a subtractor. The subtractor operates according to... and ,get .
[0176] Driven by the fourth system clock, a right shift control signal is used to control the first arithmetic unit to function as an adder. The adder then... and ,get .
[0177] Since the number of preprocessing units is Each preprocessing unit includes one first arithmetic unit, and the number of first arithmetic units used is... This reduces the number of adders / subtractors used in preprocessing.
[0178] Figure 6 This is the third schematic flowchart illustrating the signal processing method provided in this application. Figure 6 As shown, the method includes:
[0179] S601. Obtain the signal sequence to be processed and the local sequence corresponding to the signal sequence. The total number of signals in the local sequence is less than the total number of signals in the signal sequence.
[0180] S602. Based on the index of the signal in the signal sequence, divide the signal sequence into at least one signal group and the remaining signals in the signal sequence other than the signal group. Each signal group includes two signals, and the sum of the indices of the two signals is equal to the total number of signals in the signal sequence.
[0181] S603. Determine the preprocessing result corresponding to each signal group. The preprocessing result includes the first sum component, the first difference component, the second difference component, and the second sum component.
[0182] S604. Perform cross-correlation processing on the preprocessing results and the local signals corresponding to each signal group to obtain the first cross-correlation result for each signal group.
[0183] The local sequence includes the local signal corresponding to each signal group, as well as the local signal corresponding to the remaining signals.
[0184] For example, signal groups (including) and The corresponding local signal is , .
[0185] For example, The corresponding local signal is .
[0186] For example, The corresponding local signal is .
[0187] In some embodiments, cross-correlation processing is performed on the preprocessed result corresponding to a signal group and the local signal corresponding to the signal group to obtain a first cross-correlation result corresponding to the signal group, including:
[0188] The second arithmetic unit sequentially determines the first correlation component by multiplying the fifth signal component of the local signal corresponding to a signal group with the first sum component; determines the second correlation component by multiplying the sixth signal component of the local signal corresponding to a signal group with the first difference component; determines the third correlation component by multiplying the sixth signal component with the second difference component; and determines the fourth correlation component by multiplying the fifth signal component with the second sum component.
[0189] The third arithmetic unit sequentially determines the sum of the first and second correlation components as the first sub-correlation result; and determines the sum of the third and fourth correlation components as the second sub-correlation result.
[0190] The first sub-correlation result and the second sub-correlation result are defined as the first cross-correlation result. The first cross-correlation result includes the first sub-correlation result and the second sub-correlation result.
[0191] The second arithmetic unit is a multiplier.
[0192] The third arithmetic unit is either an adder or a subtractor.
[0193] The fifth and sixth signal components are configured as signals with the same amplitude but opposite polarities.
[0194] For example, a local signal corresponding to a signal group It can be represented as ,in, Represents the fifth signal component. This represents the sixth signal component.
[0195] For example, the first relevant component can be expressed as the following formula (10): (10).
[0196] For example, the second relevant component can be expressed as the following formula (11): (11).
[0197] For example, the third relevant component can be expressed as the following formula (12): (12).
[0198] For example, the fourth related component can be expressed as the following formula (13): (13).
[0199] For example, the first sub-correlation result can be expressed as the following formula (14):
[0200] (14).
[0201] For example, the second sub-correlation result can be expressed as the following formula (15):
[0202] (15).
[0203] S605. Perform cross-correlation processing on the remaining signal and the local signal corresponding to the remaining signal to obtain the second cross-correlation result corresponding to the remaining signal.
[0204] In some embodiments, the conjugate signal of the local signal corresponding to the remaining signal is determined; the complex product of the remaining signal and the conjugate signal is determined as the correlation signal; and the second cross-correlation result is determined to include the real and imaginary components of the correlation signal.
[0205] For example, the remaining signal Corresponding local signal It can be represented as: ;in, express The actual data, express The imaginary part of the data. For local signals. After performing conjugation processing, the resulting conjugate signal can be expressed as: ;in, Indicates local signal The conjugate signal.
[0206] Furthermore, the relevant signal (i.e., the residual signal) and conjugate signal The product can be expressed as the following formula (16):
[0207] (16).
[0208] For example, the remaining signal Corresponding local signal It can be represented as: ;in, express The actual data, express The imaginary part of the data. For local signals. After performing conjugation processing, the resulting conjugate signal can be expressed as: ;in, Indicates local signal The conjugate signal.
[0209] Furthermore, the remaining signal and conjugate signal The product (i.e., the correlation signal) can be expressed as the following formula (17):
[0210] (17).
[0211] The real component of the second cross-correlation result includes the following two items:
[0212] , .
[0213] The second cross-correlation result includes the following two imaginary components of the correlated signal:
[0214] , .
[0215] S606. Determine the correlation between the signal sequence and the local sequence based on the first cross-correlation result corresponding to each signal group and the second cross-correlation result corresponding to the remaining signals.
[0216] In some embodiments, the square of the sum of the first sub-correlation result in the first cross-correlation result and the real components in the second cross-correlation result is determined as the first square value; the square of the sum of the second sub-correlation result in the first cross-correlation result and the imaginary components in the second cross-correlation result is determined as the second square value.
[0217] The sum of the first and second squared values is determined as the correlation.
[0218] For example, the first square value It can be expressed as the following formula (18):
[0219] (18).
[0220] For example, the second square value This can be expressed as formula (19):
[0221] (19).
[0222] For example, relevance can be expressed as the following formula (20):
[0223] (20).
[0224] As can be seen from formula (20), without considering the shift value, formula (20) is the same as formula (9).
[0225] In related technologies, a result is obtained. and A total of 4 multipliers and 2 adders / subtractors are needed. Because... Therefore, the number of multipliers used is The number of adders / subtractors used is Therefore, multipliers and adders / subtractors are used in large quantities.
[0226] To reduce the number of multipliers and adders, the embodiments of this application employ the following... Figure 7 The cross-correlation operator yields a and .
[0227] Figure 7 This is a schematic diagram of the cross-correlation operator provided in an embodiment of this application. For example... Figure 7 As shown, it includes: a multiplier (second arithmetic unit) (represented as...) Adder / subtractor (third arithmetic unit, represented as) ) and delay unit (represented as (The delay unit represents a delay of one system clock cycle).
[0228] Driven by the system clock, , , , Shift to the right sequentially; correspondingly, driven by the system clock, , , , Move to the right in sequence.
[0229] Driven by the first system clock, the second arithmetic unit shifts to the right, and then... and get , Delay by one system clock cycle.
[0230] Driven by the second system clock, the second arithmetic unit shifts to the right, and according to... and ,get Add a control signal to control the third arithmetic unit to become a subtractor, and the third arithmetic unit according to... and delay The second sub-correlation result was obtained. .
[0231] Driven by the third system clock, the second arithmetic unit shifts to the right, according to... and ,get , Delay by one system clock cycle.
[0232] Driven by the fourth system clock, the third arithmetic unit shifts to the right, according to... and ,get The subtraction control signal controls the adder / subtractor to be an adder, and the second arithmetic unit... and delay The first sub-correlation result was obtained. .
[0233] exist Figure 7 In the cross-correlation operator shown, we obtain a and Using only one multiplier (third arithmetic unit) and one adder / subtractor (second arithmetic unit), because Therefore, the number of multipliers used is The number of adders / subtractors used is Therefore, the number of multipliers and adders / subtractors used is relatively small.
[0234] Therefore, in this embodiment, the product of the fifth signal component and the first sum component of the local signal corresponding to a signal group is determined as the first correlation component; the product of the sixth signal component and the first difference component of the local signal corresponding to a signal group is determined as the second correlation component; the product of the sixth signal component and the second difference component is determined as the third correlation component; the product of the fifth signal component and the second sum component is determined as the fourth correlation component; the sum of the first and second correlation components is determined as the first sub-correlation result; the sum of the third and fourth correlation components is determined as the second sub-correlation result; and the first and second sub-correlation results are determined as the first cross-correlation result. This reduces the number of multipliers and adders / subtractors used.
[0235] The following comparison, with reference to Table 1, illustrates the total resources used to obtain relevance through relevant techniques versus the total resources used to obtain relevance through the method described in this application.
[0236] Table 1
[0237]
[0238] Unlike related technologies, where the length of the signal sequence and the length of the local sequence are the same. The depth of the memory used to store local sequences is also [missing information]. In this application, the number of signals in the signal sequence is greater than the number of signals in the local sequence, and the number of signals in the local sequence is... The depth of the memory used to store local sequences is also [missing information]. Therefore, compared with related technologies, the embodiments of this application can save storage space.
[0239] Unlike related technologies, which target Since each signal requires two adders / subtractors to obtain the correlation signal between the signal and the conjugate signal of the local signal, a total of [number] are needed. One adder / subtractor. In this application, the calculation formula (18) contains... and A total of 2 adders / subtractors are needed for calculation, and the calculation formula (19) is as follows. and A total of two adders / subtractors are required. In this application, in Figure 5 Based on the examples, it can be seen that one of the calculation formulas (18) is... And one of the formulas (19) One adder / subtractor is needed, because Therefore, it is necessary All of the calculation formulas for each adder / subtractor (18) and all of (19) In summary, the embodiments of this application require a total of Adder / subtractor.
[0240] Unlike related technologies, which target Since each signal requires four multipliers to obtain the correlation signal between the signal and the conjugate signal of the local signal, a total of [number] multipliers are needed. One multiplier. In the embodiments of this application, the calculation formula (18) is used for multipliers. and A total of 4 multipliers are needed to calculate the value in formula (19). and A total of four multipliers are required. In this application, in... Figure 5 Based on the examples, it can be seen that one of the calculation formulas (18) is... And one of the formulas (19) One multiplier is needed, because Therefore, it is necessary All of the multiplier calculation formulas (18) and all of the formula (19) In summary, the embodiments of this application require a total of A multiplier.
[0241] Optionally, there can be multiple local sequences. When there are multiple local sequences, for each local sequence, the method provided in this application embodiment can be used to obtain the correlation between the PSS received signal sequence and the corresponding PSS local sequence; and based on the correlation between the PSS received signal sequence and each PSS local sequence, it can be determined whether the PSS has been captured. The following is combined with... Figure 8 Taking three local sequences (local sequence 1, local sequence 2, and local sequence 3) as an example, the complete capture process of PSS is explained.
[0242] Figure 8 This is a schematic diagram illustrating the complete capture process provided for embodiments of this application. For example... Figure 8 As shown, the method includes:
[0243] S801, Receives PSS analog signal.
[0244] S802 performs down-conversion and analog-to-digital conversion on the PSS analog signal to obtain the PSS digital signal.
[0245] S803. The PSS digital signal is decimated by 4 times to obtain the baseband receiving sequence.
[0246] Taking a 5G NR operating frequency range 2 (FR2) with a subcarrier spacing (SCS) of 90 kHz as an example, when the channel bandwidth is 100 MHz, the system clock is 122.88 MHz. With the SSB bandwidth fixed at 240 SCS and the occupied bandwidth being 240 × 90 kHz = 28.8 MHz (twice 14.4 MHz), the sampling clock for the PSS receiving sequence only needs to reach 30.72 MHz, which allows for 4x decimation (i.e., 122.88 MHz / 30.72 MHz).
[0247] For example, the baseband receive sequence is represented as follows . The number of signals in the baseband receive sequence
[0248] S804. Store the signals in the baseband receive sequence in the shift register. to ,in, , It is an integer greater than or equal to 0.
[0249] S805. For the PSS received sequence stored in the shift register, divide the PSS received sequence into multiple signal groups and remaining signals.
[0250] The PSS receive sequence includes signals. to .
[0251] S806. Determine the preprocessing result corresponding to each signal group. The sum of the indices of the two signals included in each signal group is equal to the total number of signals in the PSS received sequence.
[0252] Specifically, the execution methods of S806 and S103 are the same, and the execution process of S806 will not be described in detail here.
[0253] S807. Obtain the PSS local sequence 1 corresponding to the PSS received sequence. Based on the preprocessing results corresponding to each signal group, the remaining signals in the PSS received sequence, and the PSS local sequence 1, determine the sequence number in the PSS received sequence. The correlation between the PSS received sequence and PSS local sequence 1 after the second shift.
[0254] S808. Obtain the PSS local sequence 2 corresponding to the PSS received sequence. Based on the preprocessing results corresponding to each signal group, the remaining signals in the PSS received sequence, and the PSS local sequence 2, determine the sequence number in the PSS received sequence. The correlation between the PSS received sequence and the PSS local sequence 2 after the second shift.
[0255] S809. Obtain the PSS local sequence 3 corresponding to the PSS received sequence. Based on the preprocessing results corresponding to each signal group, the remaining signals in the PSS received sequence, and the PSS local sequence 3, determine the sequence number in the PSS received sequence. The correlation between the PSS received sequence and the PSS local sequence 3 after the second shift.
[0256] Specifically, S807, S808, S809 are executed in the same way as S105, and the process of S807, S808, and S809 will not be described again here.
[0257] S810, Judgment Greater than or equal to the preset shift value.
[0258] If not, execute S811; otherwise, execute S812.
[0259] In some embodiments, it can also be determined whether the time is within the search time; if so, S811 is executed, otherwise S812 is executed.
[0260] S811, will And repeat S804 to S810.
[0261] S812. Determine the maximum relevance among all the relevance scores already obtained.
[0262] For example, in At that time, the correlation between the PSS received sequence and PSS local sequence 1 is P11, the correlation between the PSS received sequence and PSS local sequence 2 is P21, and the correlation between the PSS received sequence and PSS local sequence 3 is P31.
[0263] exist At that time, the correlation between the PSS received sequence and PSS local sequence 1 was P12, the correlation between the PSS received sequence and PSS local sequence 2 was P22, and the correlation between the PSS received sequence and PSS local sequence 3 was P32.
[0264] exist At that time, the correlation between the PSS received sequence and PSS local sequence 1 was P13, the correlation between the PSS received sequence and PSS local sequence 2 was P23, and the correlation between the PSS received sequence and PSS local sequence 3 was P33.
[0265] The maximum relevance is then determined among P11, P21, P31, P12, P22, P32, P13, P23, and P33.
[0266] S813. Determine whether the maximum relevance is greater than the preset threshold.
[0267] If yes, then execute S814; otherwise, execute S815.
[0268] In some embodiments, the preset threshold can be the average of all obtained relevance scores or a weighted average.
[0269] S814, determine the PSS local sequence corresponding to the maximum relevance as the target PSS local sequence; determine the sequence corresponding to the maximum relevance. The starting position of the PSS is determined; the identifier of the target PSS local sequence, the starting position of the PSS, and the PSS capture success indication are output.
[0270] For example, if the maximum relevance is P23, then the target PSS local sequence is determined to be PSS local sequence 2, and the starting position of the PSS is... .
[0271] S815 outputs a PSS capture failure indication.
[0272] In the above Figure 8 Based on this, the following will combine Figure 9 The structural diagram corresponding to the complete capture process is explained.
[0273] Figure 9 This is a structural diagram corresponding to the complete capture process provided in the embodiments of this application. For example... Figure 9 As shown, it includes: a down-conversion low-pass filter module, a 4x decimation module, a shift register, a preprocessing module, a correlation determination module, a maximum signal processing module, and a capture judgment module.
[0274] The down-conversion low-pass filter module is used to down-convert analog signals and perform analog-to-digital conversion to obtain digital signals.
[0275] The 4x decimation module is used to decimate digital signals by 4x to obtain a baseband signal sequence.
[0276] A shift register is used to store a portion of a baseband signal sequence.
[0277] The preprocessing module is used to execute S805 and obtain the preprocessing results corresponding to each signal group.
[0278] The relevance determination module 1 is used to execute S806 to obtain the relevance.
[0279] Relevance determination module 2 is used to execute S807 to obtain the relevance.
[0280] The relevance determination module 3 is used to execute S808 to obtain the relevance.
[0281] The maximum relevance determination module is used to execute S809 to S811.
[0282] The capture judgment module is used to execute S812 to output the identifier of the target local sequence, the start position of the PSS and the PSS capture success indication, or to output the PSS capture failure indication.
[0283] exist Figure 9 Based on this, and in conjunction with Table 2, we compare the total resources used to obtain the relevance using relevant technologies with the total resources used to obtain the relevance using the method of this application.
[0284] Table 2
[0285]
[0286] It should be noted that, Figure 9 The total number of local PSS sequences is equal to "3" in Table 2.
[0287] Based on the same technical concept, embodiments of this application also provide a signal processing apparatus. The following, in conjunction with… Figure 10 The signal processing apparatus provided in the embodiments of this application will be described.
[0288] Figure 10 This is a schematic diagram of the signal processing device provided in an embodiment of this application. Figure 10 As shown, the signal processing device 100 includes:
[0289] The acquisition module 1001 is used to acquire the signal sequence to be processed and the local sequence corresponding to the signal sequence, wherein the total number of signals in the local sequence is less than the total number of signals in the signal sequence;
[0290] The partitioning module 1002 is used to partition the signal sequence into at least one signal group and the remaining signals in the signal sequence other than the signal group according to the index of the signal in the signal sequence. Each signal group includes two signals, and the sum of the indices of the two signals is equal to the total number of signals in the signal sequence.
[0291] The determination module 1003 is used to determine the preprocessing result corresponding to each signal group, and the preprocessing result is used to obtain the correlation between the signal sequence and the local sequence;
[0292] The determination module 1003 is used to determine the correlation degree based on the preprocessing result corresponding to each signal group, the remaining signal, and the local sequence.
[0293] In one implementation, the determining module 1003 is specifically used for:
[0294] Acquire the first signal component and the second signal component of the first signal in the signal group, wherein the first signal component and the second signal component are configured as signals with the same amplitude but opposite polarities;
[0295] The third and fourth signal components of the second signal in the signal group are obtained, and the third and fourth signal components are configured as signals with the same amplitude but opposite polarities.
[0296] The preprocessing result corresponding to the signal group is determined based on the first signal component, the second signal component, the third signal component, and the fourth signal component.
[0297] In one implementation, the determining module 1003 is specifically used for:
[0298] The first arithmetic unit determines the sum of the first signal component and the third signal component as the first sum component; the difference between the second signal component and the fourth signal component as the first difference component; the difference between the first signal component and the third signal component as the second difference component; and the sum of the second signal component and the fourth signal component as the second sum component.
[0299] The preprocessing result corresponding to the signal group includes the first sum component, the first difference component, the second difference component, and the second sum component.
[0300] In one embodiment, the local sequence includes the local signal corresponding to each signal group and the local signal corresponding to the remaining signals; the determining module 1003 is specifically used for:
[0301] For each signal group, the preprocessing result corresponding to the signal group and the local signal corresponding to the signal group are cross-correlated to obtain the first cross-correlation result corresponding to the signal group;
[0302] The remaining signal and the local signal corresponding to the remaining signal are cross-correlated to obtain the second cross-correlation result corresponding to the remaining signal.
[0303] The correlation degree is determined based on the first cross-correlation result corresponding to each signal group and the second cross-correlation result corresponding to the remaining signals.
[0304] In one embodiment, the preprocessing result includes a first sum component, a first difference component, a second difference component, and a second sum component; the determining module 1003 is specifically used for:
[0305] The second arithmetic unit sequentially multiplies the fifth signal component of the local signal corresponding to the signal group with the first sum component to determine the first correlation component; multiplies the sixth signal component of the local signal corresponding to the signal group with the first difference component to determine the second correlation component; multiplies the sixth signal component with the second difference component to determine the third correlation component; and multiplies the fifth signal component with the second sum component to determine the fourth correlation component. The fifth signal component and the sixth signal component are configured as signals with the same amplitude but opposite polarities.
[0306] The third arithmetic unit sequentially calculates the sum of the first correlation component and the second correlation component to determine the first sub-correlation result; and calculates the sum of the third correlation component and the fourth correlation component to determine the second sub-correlation result.
[0307] The first cross-correlation result is determined to include the first sub-correlation result and the second sub-correlation result.
[0308] In one implementation, the determining module 1003 is specifically used for:
[0309] Determine the conjugate signal of the local signal corresponding to the remaining signal;
[0310] The complex product of the remaining signal and the conjugate signal is determined as the correlation signal;
[0311] The second cross-correlation result is determined to include both the real and imaginary components of the correlated signal.
[0312] In one implementation, the determining module 1003 is specifically used for:
[0313] The square of the sum of the first sub-correlation result in the first cross-correlation result and the real component in the second cross-correlation result is determined as the first square value;
[0314] The square of the sum of the second sub-correlation result in the first cross-correlation result and the imaginary component in the second cross-correlation result is determined as the second square value;
[0315] The sum of the first squared value and the second squared value is determined as the correlation.
[0316] In one implementation, the total number of signals in the signal sequence is , An integer greater than or equal to 3;
[0317] The step of dividing the signal sequence into at least one signal group and the remaining signals in the signal sequence excluding the signal groups according to the index of the signals in the signal sequence includes:
[0318] The The signals with indices 0 and 2 The signal is determined to be the remaining signal;
[0319] The The index of the signals is and The signal is identified as a signal group. .
[0320] It should be noted that the signal processing device 100 provided in this application embodiment can implement all the method steps in the above method embodiment and achieve the same technical effect. Here, the parts and beneficial effects that are the same as those in the method embodiment will not be described in detail.
[0321] It should be understood that the aforementioned signal processing device 100 is embodied in the form of functional modules. The term "module" here may refer to application-specific integrated circuits (ASICs), electronic circuits, processors (e.g., shared processors, proprietary processors, or group processors) and memories for executing one or more software or firmware programs, combined logic circuits, and / or other suitable components that support the described functions.
[0322] In embodiments of this application, the signal processing device 100 may also be a chip, such as a system-on-a-chip (SoC), a modem, etc.
[0323] Figure 11 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Figure 11 As shown, the terminal device 110 may include a memory 1101, a processor 1102, and a transceiver 1103. Exemplarily, the memory 1101, the processor 1102, and the transceiver 1103 are interconnected via a bus 1104.
[0324] The memory 1101 is used by the computer to execute instructions.
[0325] The processor 1102 executes computer execution instructions stored in the memory 1101 to implement the methods in any of the above embodiments.
[0326] It should be understood that, in the embodiments of this application, the processor may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0327] In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software. The steps of the method disclosed in the embodiments of this application can be directly manifested as execution by a hardware processor, or as a combination of hardware and software modules within the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor executes the instructions in the memory, combining them with its hardware to complete the steps of the above method. To avoid repetition, detailed descriptions are omitted here.
[0328] As a possible product form, the access point and station in the embodiments of this application can also be implemented by one or more of the following: one or more field-programmable gate arrays, programmable logic devices (PLDs), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits capable of performing the various functions described throughout this application.
[0329] This application also provides a storage medium storing instructions that, when executed on a processor, cause the processor to perform the methods described in any of the above embodiments.
[0330] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the methods in any of the above embodiments.
[0331] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0332] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0333] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0334] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0335] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.
[0336] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network-side device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0337] The above description is merely a specific embodiment of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.
[0338] Terminal equipment can be any device that includes wireless transceiver capabilities and can cooperate with network-side equipment to provide communication services to users. Specifically, terminal equipment can refer to user equipment (UE), access terminal equipment, user unit, user station, mobile station, mobile station, remote station, remote terminal equipment, mobile device, user terminal equipment, terminal equipment, wireless communication equipment, user agent, or user device. For example, terminal equipment can be a cellular phone, cordless phone, Session Initiation Protocol (SIP) phone, Wireless Local Loop (WLL) station, Personal Digital Assistant (PDA), handheld device with wireless communication capabilities, computing device or other processing device connected to a wireless modem, in-vehicle equipment, wearable device, or terminal equipment in future 5G networks or networks after 5G, etc.
[0339] Network-side equipment is a device used to communicate with terminal devices. For example, it can be a base station (BTS) in a Global System for Mobile Communication (GSM) or Code Division Multiple Access (CDMA) communication system, a base station (NodeB, NB) in a Wideband Code Division Multiple Access (WCDMA) system, an evolved Node B (eNB or eNodeB) in an LTE system, or a relay station, access point, vehicle-mounted equipment, wearable device, or network-side equipment in a future 5G network or a network after 5G, or network-side equipment in a future evolved Public Land Mobile Network (PLMN) network, etc.
[0340] In this application, the term "comprising" and its variations may refer to a non-limiting inclusion. The terms "first," "second," etc., are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. The term "at least one" refers to one or more. "More than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
Claims
1. A signal processing method, characterized by, The method is applied to a terminal device, and comprises the following steps: obtaining a signal sequence to be processed and a local sequence corresponding to the signal sequence, wherein the total number of signals in the local sequence is less than the total number of signals in the signal sequence; dividing the signal sequence into at least one signal group and remaining signals other than the signal group in the signal sequence according to the indexes of the signals in the signal sequence, wherein each signal group comprises two signals, and the sum of the indexes of the two signals is equal to the total number of signals in the signal sequence; determining a preprocessing result corresponding to each signal group, wherein the preprocessing result is used to obtain a correlation degree between the signal sequence and the local sequence, and the local sequence comprises a local signal corresponding to each signal group and a local signal corresponding to the remaining signals; determining the correlation degree according to the preprocessing result corresponding to each signal group, the remaining signals, and the local sequence, comprising: for each signal group, performing cross-correlation processing on the preprocessing result corresponding to the signal group and the local signal corresponding to the signal group to obtain a first cross-correlation result corresponding to the signal group; performing cross-correlation processing on the remaining signals and the local signal corresponding to the remaining signals to obtain a second cross-correlation result corresponding to the remaining signals; and determining the correlation degree according to the first cross-correlation result corresponding to each signal group and the second cross-correlation result corresponding to the remaining signals; the determination of the preprocessing result corresponding to each signal group comprises: obtaining a first signal component and a second signal component of a first signal in the signal group, wherein the first signal component and the second signal component are configured as signals with the same amplitude but opposite polarities; obtaining a third signal component and a fourth signal component of a second signal in the signal group, wherein the third signal component and the fourth signal component are configured as signals with the same amplitude but opposite polarities; determining the preprocessing result corresponding to the signal group according to the first signal component, the second signal component, the third signal component, and the fourth signal component, comprising: determining, by a first operator, the sum of the first signal component and the third signal component as a first sum component; determining the difference between the second signal component and the fourth signal component as a first difference component; determining the difference between the first signal component and the third signal component as a second difference component; determining the sum of the second signal component and the fourth signal component as a second sum component; and determining the preprocessing result corresponding to the signal group to comprise the first sum component, the first difference component, the second difference component, and the second sum component.
2. The method of claim 1, wherein, the preprocessing result comprises a first sum component, a first difference component, a second difference component, and a second sum component; the cross-correlation processing on the preprocessing result corresponding to a signal group and the local signal corresponding to the signal group to obtain a first cross-correlation result corresponding to the signal group comprises: The second operator sequentially determines a first correlation component by multiplying a fifth signal component of a local signal corresponding to the signal group and the first sum component, determines a second correlation component by multiplying a sixth signal component of the local signal and the first difference component, determines a third correlation component by multiplying the sixth signal component and the second difference component, determines a fourth correlation component by multiplying the fifth signal component and the second sum component, and the fifth signal component and the sixth signal component are configured as signals with the same amplitude but opposite polarities; The third operator sequentially determines a first sub-correlation result by summing the first correlation component and the second correlation component, and determines a second sub-correlation result by summing the third correlation component and the fourth correlation component. The first cross-correlation result includes the first sub-correlation result and the second sub-correlation result.
3. The method of claim 2, wherein, The cross-correlation processing on the residual signal and a local signal corresponding to the residual signal obtains a second cross-correlation result corresponding to the residual signal, including: determining a conjugate signal of the local signal corresponding to the residual signal; determining a correlation signal by multiplying the residual signal and the conjugate signal; the second cross-correlation result includes a real component and an imaginary component of the correlation signal.
4. The method of claim 3, wherein, The determination of the correlation degree according to the first cross-correlation result corresponding to each signal group and the second cross-correlation result corresponding to the residual signal includes: determining a first square value by squaring a sum of a first sub-correlation result in the first cross-correlation result and a real component in the second cross-correlation result; determining a second square value by squaring a sum of a second sub-correlation result in the first cross-correlation result and an imaginary component in the second cross-correlation result; determining the correlation degree by summing the first square value and the second square value.
5. The method of claim 1, wherein, The total number of signals in the signal sequence is , is an integer greater than or equal to 3; The division of the signal sequence into at least one signal group and a residual signal other than the signal group according to the index of the signal in the signal sequence includes: determining, from the signals, a signal having an index of 0 and determining, from the signals, a signal having an index of 0 and determining whether the signals are a signal group, . 6. A signal processing device, characterized by including: an acquisition module configured to acquire a signal sequence to be processed and a local sequence corresponding to the signal sequence, a total number of signals in the local sequence being less than a total number of signals in the signal sequence; a division module configured to divide the signal sequence into at least one signal group and a residual signal other than the signal group according to the index of the signal in the signal sequence, each signal group including two signals, and a sum of the indices of the two signals being equal to the total number of signals in the signal sequence; a determination module configured to determine a preprocessing result corresponding to each signal group, the preprocessing result being used to obtain a correlation degree between the signal sequence and the local sequence; the local sequence includes a local signal corresponding to each signal group and a local signal corresponding to the residual signal; the determination module is further configured to determine the correlation degree according to the preprocessing result corresponding to each signal group, the residual signal, and the local sequence. The determining module is specifically configured to: acquire a first signal component and a second signal component of a first signal in the signal group, the first signal component and the second signal component being configured as signals with the same amplitude but opposite polarities; acquire a third signal component and a fourth signal component of a second signal in the signal group, the third signal component and the fourth signal component being configured as signals with the same amplitude but opposite polarities; and determine a pre-processing result corresponding to the signal group according to the first signal component, the second signal component, the third signal component and the fourth signal component. The determining module is further specifically configured to: determine, by a first operator, a sum of the first signal component and the third signal component as a first sum component; determine a difference between the second signal component and the fourth signal component as a first difference component; determine a difference between the first signal component and the third signal component as a second difference component; determine a sum of the second signal component and the fourth signal component as a second sum component; and determine the pre-processing result corresponding to the signal group to include the first sum component, the first difference component, the second difference component and the second sum component. For each signal group, perform cross-correlation processing on the pre-processing result corresponding to the signal group and a local signal corresponding to the signal group to obtain a first cross-correlation result corresponding to the signal group. perform cross-correlation processing on the remaining signal and a local signal corresponding to the remaining signal to obtain a second cross-correlation result corresponding to the remaining signal; and determine the correlation degree according to the first cross-correlation result corresponding to each signal group and the second cross-correlation result corresponding to the remaining signal.
7. A terminal device, characterized by comprising: comprise: a memory and a processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 5.
8. A storage medium, characterized by The storage medium stores instructions, when the instructions are executed on the processor, causing the processor to execute the signal processing method according to any one of claims 1 to 5.
9. A computer program product, characterised in that, comprise a computer program, when the computer program is executed by the processor, implementing the signal processing method according to any one of claims 1 to 5.
Citation Information
Patent Citations
PSS detection method and device, storage medium and terminal
CN111294084A
Timing synchronization method and device in communication system
CN112911698A