Primary synchronization signal processing method, device, equipment and medium
By splitting the pending sequence of the synchronization cycle into sub-sequences and performing related processing, the problem of large storage space occupancy in the prior art is solved, and a main synchronization signal processing method with low storage amount is realized.
Patent Information
- Application Number
- CN202411959455.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2044-12-30
AI Technical Summary
In the case where the terminal is away from the base station or the electromagnetic environment complex, existing main synchronization signal processing methods need to occupy a large storage space to increase the peak amplitude.
By splitting the pending sequences of multiple synchronization cycles into multiple pending subsequences and performing correlation power accumulation and peak search processing for each subsequence index, it is only necessary to store the storage space size corresponding to the length of the subsequence data. Related power accumulation results.
It realizes the peak point detection capability of main synchronization signal processing without increasing storage space, reduces storage space usage, and has the advantage of low storage volume.
Smart Images

Figure CN119402958A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a method, device, equipment and medium for processing a primary synchronization signal. Background Art
[0002] Signal synchronization of the New Radio (NR) Primary Synchronization Signal (PSS) is a key step in achieving terminal access and successful communication in the fifth generation mobile communication technology (5G). Through PSS synchronization, information such as the cell sector number, symbol timing, and frequency can be obtained.
[0003] The main synchronization signal processing method in the related art receives a complete synchronization cycle sequence data through the baseband processor, performs frequency domain or time domain correlation calculation on the sequence data and the local main synchronization sequence, and finds the maximum correlation power peak point corresponding to the sequence data.
[0004] In scenarios where the terminal is far away from the base station and the main synchronization signal is weak or the electromagnetic environment of the terminal is complex, in order to increase the peak amplitude, it is necessary to accumulate the relevant power corresponding to the sequence data of multiple synchronization cycles, and the above-mentioned main synchronization signal processing method will occupy a large storage space. Summary of the invention
[0005] Based on this, it is necessary to provide a main synchronization signal processing method, device, equipment and medium with low computational complexity in order to solve the above technical problems.
[0006] In a first aspect, the present application provides a method for processing a primary synchronization signal, comprising:
[0007] Obtain the sequences to be processed corresponding to multiple synchronization cycles in the current synchronization process;
[0008] Divide each sequence to be processed into a plurality of subsequences to be processed;
[0009] A peak search process is performed on the correlation power accumulation results corresponding to each to-be-processed subsequence corresponding to each subsequence index to determine the maximum peak point corresponding to the current synchronization process.
[0010] In one embodiment, peak search processing is performed on the correlation power accumulation results corresponding to each to-be-processed subsequence corresponding to each subsequence index to determine the maximum peak point corresponding to the current synchronization process, including:
[0011] Get the peak point corresponding to each subsequence index;
[0012] Determine the maximum peak point based on the peak point corresponding to the last subsequence index;
[0013] The process of obtaining the peak point corresponding to each subsequence index includes:
[0014] Determine, according to each to-be-processed subsequence corresponding to the subsequence index, a related power subsequence corresponding to each to-be-processed subsequence;
[0015] Accumulate each related power subsequence to obtain a multi-period accumulation subsequence corresponding to the subsequence index;
[0016] A peak search process is performed on the multi-period accumulated subsequence corresponding to the subsequence index to determine the peak point corresponding to the subsequence index.
[0017] In one embodiment, each relevant power subsequence is accumulated to obtain a multi-period accumulated subsequence corresponding to the subsequence index, including:
[0018] When the first relevant power subsequence corresponding to the subsequence index is obtained, the first relevant power subsequence is stored in the target storage space;
[0019] After obtaining the subsequence index corresponding to k When there are related power subsequences, k The related power subsequences are added to the intermediate accumulated subsequences in the target storage space to update the intermediate accumulated subsequences stored in the target storage space; k The value range is 2 to K- 1, where K is the number of synchronization cycles corresponding to the current synchronization process;
[0020] When the Kth related power subsequence corresponding to the subsequence index is obtained, the Kth related power subsequence is added to the intermediate accumulated subsequence stored in the target storage space to obtain a multi-period accumulated subsequence corresponding to the subsequence index.
[0021] In one embodiment, when a first relevant power subsequence corresponding to a subsequence index is obtained, storing the first relevant power subsequence into a target storage space includes:
[0022] When the first relevant power subsequence is obtained, the symbol power corresponding to each sampling point corresponding to the first relevant power subsequence is obtained;
[0023] Based on the symbol power corresponding to each sampling point, the first correlation power subsequence is normalized to obtain an updated first correlation power subsequence;
[0024] The updated first related power subsequence is stored in the target storage space.
[0025] In one embodiment, obtaining the symbol power corresponding to each sampling point corresponding to the first correlation power subsequence includes:
[0026] When N sampling points are sequentially taken out from the first subsequence to be processed and frequency domain correlation calculation is performed according to the overlap-retention method to obtain the first correlation power subsequence, the symbol power corresponding to each sampling point is determined according to the following steps for the first subsequence to be processed:
[0027] When taking out the first group of N sampling points, the symbol power corresponding to the first N-129 sampling points in the first group of N sampling points is determined by taking the symbol length as the window length and N-129 as the total sliding window length;
[0028] When taking out the h-th group of N sampling points, the symbol power corresponding to the first N-129 sampling points in the h-th group of N sampling points is determined by taking the symbol length as the window length, N-129 as the total length of the sliding window, and the symbol power corresponding to the N-129th sampling point of the previous group, where the value range of h is 2 to H, and H indicates that the first subsequence to be processed includes H groups of N sampling points.
[0029] In one embodiment, determining the maximum peak point based on the peak point corresponding to the last subsequence index includes:
[0030] The maximum peak point is determined according to the peak points corresponding to the subsequence indexes.
[0031] In one embodiment, performing peak search processing on a multi-period accumulated subsequence corresponding to a subsequence index to determine a peak point corresponding to the subsequence index includes:
[0032] Traverse the accumulated power values corresponding to each sampling point in the multi-period accumulated subsequence, and update the sampling point whose accumulated power value is greater than the power value corresponding to the maximum peak point as the maximum peak point;
[0033] The maximum peak point at the end of the traversal is determined as the peak point corresponding to the subsequence index;
[0034] Determine the maximum peak point based on the peak point corresponding to the last subsequence index, including:
[0035] The peak point corresponding to the last subsequence index is determined as the maximum peak point.
[0036] In a second aspect, the present application also provides a primary synchronization signal processing device, including:
[0037] A data splitting module is used to obtain the sequences to be processed corresponding to multiple synchronization cycles in the current synchronization process, and to divide each sequence to be processed into multiple subsequences to be processed;
[0038] The peak value determination module is used to perform peak value search processing on the relevant power accumulation subsequences corresponding to each to-be-processed subsequence corresponding to each subsequence index, and determine the maximum peak point corresponding to the current synchronization process.
[0039] In a third aspect, the present application further provides a communication device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method in the first aspect are implemented.
[0040] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the method of the first aspect when the computer program is executed by a processor.
[0041] The above-mentioned main synchronization signal processing method, device, equipment and medium, by splitting the sequence to be processed corresponding to multiple synchronization periods into multiple sub-sequences to be processed, indexing the sub-sequences one by one in the order of the sub-sequence index, perform correlation power, accumulation and peak search processing, and only need to use the storage space size corresponding to the data length of the sub-sequence to be processed to store the correlation power accumulation result corresponding to the current sub-sequence index. Compared with directly performing correlation power, accumulation and peak search processing on the entire sequence to be processed, it is necessary to use the storage space size corresponding to the data length of the sequence to be processed to store the correlation power accumulation result. The main synchronization signal processing method provided in this embodiment can occupy less storage space. For example, only 1 / M of the previous storage space size is needed to store the correlation power accumulation result, where M is the number of sub-sequences to be processed included in the sequence to be processed; the main synchronization signal processing method provided in this embodiment has the advantage of low storage capacity. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 is an application environment diagram of a method for processing a master synchronization signal in an embodiment;
[0044] Figure 2 1 is a flow chart of a method for processing a master synchronization signal in one embodiment;
[0045] Figure 3 A schematic diagram of splitting a sequence to be processed of multiple synchronization cycles in one embodiment;
[0046] Figure 4A schematic diagram of a process for determining a peak point corresponding to a subsequence index in one embodiment;
[0047] Figure 5 is a schematic diagram of a process of storing related power subsequences into a target storage space in one embodiment;
[0048] Figure 6 A schematic flow chart showing a master synchronization signal processing process as a layered loop processing process in one embodiment;
[0049] Figure 7 FIG. 4 is a diagram showing the internal structure of a communication device in one embodiment. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] The antenna array excitation data determination method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown in the figure, the terminal 102 communicates with the network device 104 through the network. The terminal 102 may also be referred to as a user equipment (UE for short), and the terminal 102 may be various mobile devices, for example, a mobile phone (or a "cellular" phone), a computer with a mobile terminal, etc., or a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device, or various Internet of Things devices. The network device 104 may be a device for communicating with the terminal 102, for example, it may be a base station (Base Transceiver Station, BTS) in a Global System for Mobile Communications (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 evolved base station (Evolutional Node B, eNB or eNodeB) in a Long Term Evolution (LTE) system, or a base station (the next Generation Node B, gNB) in a 5th Generation New Radio (5G NR) system, or a base station used in a 6G mobile communication system; the present application does not limit the terminal 102 and the network device 104.
[0052] In an exemplary embodiment, Figure 2 As shown, a main synchronization signal processing method is provided, and the method is applied to Figure 1 The terminal 102 in the example is used for illustration. In this embodiment, the method includes the following steps 202 to 206. Among them:
[0053] Step 202: Obtain the to-be-processed sequences corresponding to the multiple synchronization periods in the current synchronization process.
[0054] Among them, the current synchronization process refers to the process in which the terminal receives the synchronization signal broadcast by the base station in scenarios such as initial cell access, wireless channel quality recovery, or adjacent cell switching, and performs preliminary time synchronization and frequency synchronization based on the main synchronization signal in the synchronization signal.
[0055] Among them, the sequence to be processed refers to the signal received by the terminal baseband after being processed by pre-stage filtering and other processing, and then transmitted to the main synchronization signal processing module for main synchronization signal processing. The sequence to be processed includes the time domain position of each sampling point and the time domain power value corresponding to each sampling point. In scenarios such as the terminal is far away from the base station or the electromagnetic environment is relatively complex, the electromagnetic signal is weak, and the data received by the terminal baseband is processed by pre-stage filtering and other processing. The signal amplitude is relatively small. In this way, the main synchronization signal processing module caches the sequence to be processed for multiple synchronization cycles, and then performs the main synchronization signal processing process.
[0056] For example, in the NR standard, one synchronization period is 20 ms (milliseconds).
[0057] Step 204: divide each sequence to be processed into a plurality of subsequences to be processed.
[0058] Each sequence to be processed is split into multiple subsequences to be processed.
[0059] In a possible implementation, according to a preset number M of subsequences, the data of each synchronization period of 20 ms is split into M subsequences to be processed with a data length of 20 ms / M.
[0060] Exemplarily, the number of subsequences M is determined in the following manner: according to the length of the sequence to be processed and the number of points of the Fast Fourier Transform (FFT), so that the data length of the subsequence to be processed obtained by splitting according to the number of subsequences M is greater than the number of points of the Fourier transform, so that the overlap retention method can be used for subsequent frequency domain correlation calculation processing for each subsequence to be processed.
[0061] As another example, the number of subsequences M is determined in the following manner: according to the storage space reuse requirement, that is, the random access memory (RAM) that subsequently stores the accumulated results of the relevant powers corresponding to the subsequences to be processed can be reused in a module that does not work simultaneously with the PSS processing process.
[0062] As another example, the number M of subsequences is determined in the following manner: according to the length of the sequence to be processed, the number of Fourier transform points, and the storage space multiplexing requirement.
[0063] In a possible implementation, each sequence to be processed is divided into a plurality of subsequences to be processed, including: dividing each sequence to be processed into a plurality of subsequences to be processed according to a preset data length.
[0064] Exemplarily, the preset data length is determined according to the number of Fourier transform points, that is, the preset data length is greater than the number of Fourier transform points. Another exemplary embodiment, the preset data length is determined according to the storage space multiplexing requirement. Another exemplary embodiment, the preset data length is determined according to the number of Fourier transform points and the storage space multiplexing requirement.
[0065] Step 206: Perform peak search processing on the correlation power accumulation results corresponding to each to-be-processed subsequence corresponding to each subsequence index to determine the maximum peak point corresponding to the current synchronization process.
[0066] Among them, Figure 3 As shown, the subsequence index is used to represent the position of each to-be-processed subsequence in the corresponding to-be-processed sequence, that is, the subsequence index is 1, which refers to the first to-be-processed subsequence after each to-be-processed sequence is split, the subsequence index is 2, which refers to the second to-be-processed subsequence after each to-be-processed sequence is split, and the subsequence index is M, which refers to the Mth to-be-processed subsequence after each to-be-processed sequence is split.
[0067] Among them, taking the subsequence index as the processing dimension, the following are executed in sequence: the relevant power subsequences corresponding to each to-be-processed subsequence corresponding to the subsequence index are accumulated, and the peak search process is performed on the accumulated result to obtain the peak point corresponding to the subsequence; until the accumulation and peak search processes are completed for each to-be-processed subsequence corresponding to the last subsequence index, the maximum peak point corresponding to the current synchronization process is determined.
[0068] Exemplarily, the peak points of each to-be-processed subsequence with a subsequence index of 1 are first obtained; then the peak points of each to-be-processed subsequence with a subsequence index of 2 are obtained, and the processes are performed in sequence until the peak points of each to-be-processed subsequence with a subsequence index of M are obtained.
[0069] In the related art, frequency domain correlation and accumulation processing is performed on the entire sequence to be processed, and a storage space corresponding to the length of the sequence to be processed needs to be set. For example, a storage space corresponding to a data length of 20ms is set to store the accumulated sequence of the relevant power sequence corresponding to each sequence to be processed, resulting in the problem of occupying a large storage space. In this embodiment, the sequence to be processed is split, and the relevant power is calculated and accumulated for each subsequence index, and the maximum peak point corresponding to the subsequence index is determined, and then the maximum peak point corresponding to the current synchronization process is determined. It is only necessary to set a storage space corresponding to the data length of the subsequence to be processed. For example, a storage space corresponding to a data length of 20ms / M is set to store the accumulated subsequence of the relevant power subsequence corresponding to each subsequence to be processed, thereby reducing the storage space occupation.
[0070] The main synchronization signal processing method provided in the above embodiment splits the sequence to be processed corresponding to multiple synchronization periods into multiple sub-sequences to be processed, and performs correlation power, accumulation and peak search processing on the sub-sequence indexes one by one in the order of sub-sequence indexes. It only needs to use the storage space size corresponding to the data length of the sub-sequence to be processed to store the correlation power accumulation result corresponding to the current sub-sequence index. Compared with directly performing correlation power, accumulation and peak search processing on the entire sequence to be processed, it is necessary to use the storage space size corresponding to the data length of the sequence to be processed to store the correlation power accumulation result. The main synchronization signal processing method provided in this embodiment can occupy less storage space. For example, only 1 / M of the previous storage space needs to be used to store the correlation power accumulation result. The main synchronization signal processing method provided in this embodiment has the advantage of low storage capacity.
[0071] In an exemplary embodiment, the peak search process is performed on the correlation power accumulation subsequences corresponding to each to-be-processed subsequence corresponding to each subsequence index to determine the maximum peak point corresponding to the current synchronization process, including: obtaining the peak point corresponding to each subsequence index; determining the maximum peak point based on the peak point corresponding to the last subsequence index; wherein, please refer to Figure 4 The process of obtaining the peak point corresponding to each subsequence index includes steps 402 to 406, wherein:
[0072] Step 402: Determine the relevant power subsequences corresponding to the subsequences to be processed according to the subsequence indexes corresponding to the subsequences to be processed.
[0073] For each subsequence to be processed, a frequency domain correlation calculation process is performed between the subsequence to be processed and the local main synchronization sequence to obtain a correlation sub-power sequence corresponding to the subsequence to be processed.
[0074] Exemplarily, the process of performing frequency domain correlation calculation processing on the subsequence to be processed and the local main synchronization sequence to obtain the correlation power subsequence corresponding to the subsequence to be processed includes: taking out N sampling points from the subsequence to be processed in sequence and performing frequency domain correlation calculation processing according to the overlap retention method to obtain the corresponding correlation power subsequence, wherein N is the number of sampling points corresponding to the FFT operation. The overlap retention method means that in the process of sequentially reading N sampling points from the subsequence to be processed, except for reading the first reading of N sampling points, the 128 sampling points at the beginning of each reading of N sampling points and the last 128 sampling points of the previous reading of N sampling points are the same, that is, the N sampling points in two adjacent reading sequences repeat 128 sampling points. The process of frequency domain correlation calculation and processing includes: performing FFT operation on N sampling points in the subsequence to be processed to obtain frequency domain data, performing conjugate complex multiplication on the frequency domain data and the local main synchronization sequence to obtain the complex multiplication result, performing inverse fast Fourier transform (IFFT) on the complex multiplication result to obtain time domain data, that is, to obtain the correlation result, calculating the power of the correlation result to obtain the correlation power corresponding to the N sampling points; combining the power of the correlation results of each group of N sampling points to obtain the corresponding correlation power subsequence of the subsequence to be processed.
[0075] Step 404: perform accumulation processing on each related power subsequence to obtain a multi-period accumulation subsequence corresponding to the subsequence index.
[0076] In a possible implementation, step 404 further includes:
[0077] Step A1: when the first relevant power subsequence corresponding to the subsequence index is obtained, the first relevant power subsequence is stored in the target storage space.
[0078] The target storage space may be a reserved storage space in the terminal's RAM. For example, the size of the target storage space is Bit width, where bit width refers to the bit width of the RAM.
[0079] Step A2, after obtaining the subsequence index corresponding to the When there are related power subsequences, The relevant power subsequences are accumulated with the relevant power subsequences of the multi-period accumulated subsequences stored in the target storage space, and the multi-period accumulated subsequences stored in the target storage space are updated; The value range is 2 to K ,in K It is the number of synchronization cycles corresponding to the current synchronization process.
[0080] Step A3, when the Kth related power subsequence corresponding to the subsequence index is obtained, the Kth related power subsequence is added to the intermediate accumulated subsequence stored in the target storage space to obtain a multi-period accumulated subsequence corresponding to the subsequence index.
[0081] The first synchronization cycle directly stores the relevant power subsequence into the target storage space, and the second synchronization cycle directly stores the relevant power subsequence into the target storage space. K -1 synchronization period corresponding to the relevant power subsequence and the data stored in the target storage space are added and then stored in the target storage space. K After the relevant power subsequences corresponding to the synchronization periods are added to the data stored in the target storage space, a multi-cycle accumulated subsequence is obtained; exemplarily, the multi-cycle accumulated subsequence is stored in the target storage space, and when the peak search processing is performed subsequently, the multi-cycle accumulated subsequence is read from the target storage space; another exemplary method is to directly send the multi-cycle accumulated subsequence to the peak search module without storing it in the target storage space, so as to improve the processing efficiency.
[0082] Step 406: Perform peak search processing on the multi-period accumulated subsequence corresponding to the subsequence index to determine the peak point corresponding to the subsequence index.
[0083] In a possible implementation, the multi-period accumulated subsequence corresponding to the subsequence index is traversed one by one to perform peak search processing, the peak point of the subsequence index is determined, and the position and power value corresponding to the peak point are stored in a preset peak storage space; that is, the peak point corresponding to each subsequence index is obtained for each subsequence index, each peak point is stored in the preset peak storage space, and then the maximum peak point is determined from each peak point.
[0084] In this embodiment, the process of determining the maximum peak point based on the peak point corresponding to the last subsequence index includes: determining the maximum peak point according to the peak points corresponding to each subsequence index, wherein the peak point with the largest correlation power value among the peak point corresponding to the first subsequence index to the peak point corresponding to the last subsequence index is determined as the maximum peak point.
[0085] In a possible implementation, a data structure (exemplarily, a data tuple or data correspondence) is preset for storing a maximum peak point, wherein the maximum peak point includes two parameters, namely, a sampling point position and a sampling point related power value. In this implementation, a peak search process is performed on a multi-period accumulated subsequence corresponding to a subsequence index to determine a peak point corresponding to the subsequence index, including: traversing the accumulated power values corresponding to each sampling point in the multi-period accumulated subsequence, and updating the sampling point whose accumulated power value is greater than the power value corresponding to the maximum peak point as the maximum peak point; and determining the maximum peak point at the end of the traversal as the peak point corresponding to the subsequence index.
[0086] In this embodiment, a peak search process is performed on the multi-period accumulated subsequence corresponding to the first subsequence index to obtain a peak point corresponding to the first subsequence index, which is the sampling point with the highest correlation power value in the multi-period accumulated subsequence corresponding to the first subsequence index; in the process of performing a peak search process on the multi-period accumulated subsequence corresponding to the second subsequence index, the maximum peak point used for comparison is the peak point corresponding to the first subsequence index, and the peak point corresponding to the second subsequence index obtained after the search is completed is also the maximum peak point corresponding to the first two subsequence indexes; the peak point obtained by performing a peak search on the multi-period accumulated subsequence corresponding to the mth subsequence index is the maximum peak point corresponding to the first m subsequence indexes; and so on, the peak point corresponding to the last subsequence index is the maximum peak point corresponding to the current synchronization process.
[0087] Correspondingly, in this embodiment, the process of determining the maximum peak point based on the peak point corresponding to the last subsequence index includes: determining the peak point corresponding to the last sequence index as the maximum peak point.
[0088] In this implementation, the accumulated power values corresponding to each sampling point are traversed, and the maximum peak point is updated, thereby improving the efficiency of determining the maximum peak point and saving the size of the peak storage space.
[0089] In an exemplary embodiment, please refer to Figure 5 , when the first relevant power subsequence corresponding to the subsequence index is obtained, the process of storing the first relevant power subsequence into the target storage space includes steps 502 to 506, wherein:
[0090] Step 502: when the first correlation power subsequence is obtained, the symbol power corresponding to each sampling point corresponding to the first correlation power subsequence is obtained.
[0091] The symbol power corresponding to a sampling point refers to the cumulative sum of the time domain powers of each sampling point corresponding to a PSS symbol length calculated with the sampling point as the symbol starting position; wherein a PSS symbol length is 128, and correspondingly, the symbol power corresponding to the first sampling point refers to the cumulative sum of the sample power value of the first sampling point to the sample power value of the 128th sampling point; the symbol power corresponding to the second sampling point refers to the cumulative sum of the sample power value of the second sampling point to the sample power value of the 129th sampling point, and so on, the symbol power corresponding to the 127th sampling point refers to the cumulative sum of the sample power value of the 127th sampling point to the sample power value of the 256th sampling point. In this embodiment, the symbol power corresponding to the sampling point is used to determine whether the correlation power corresponding to the sampling point needs to be normalized.
[0092] In a possible implementation, the process of obtaining the symbol power corresponding to each sampling point corresponding to the first correlation power subsequence includes: taking out N sampling points from the first subsequence to be processed in sequence and performing frequency domain correlation calculation processing according to overlap retention to obtain the first correlation power subsequence, and determining the symbol power corresponding to each sampling point for the first sequence to be processed according to the following steps: when taking out the first group of N sampling points, using the symbol length as the window length and N-129 as the total sliding window length to determine the symbol power corresponding to the first N-129 sampling points in the first group of N sampling points; when taking out the hth group of N sampling points, using the symbol length as the window length and N-129 as the total sliding window length and the symbol power corresponding to the N-129th sampling point in the previous group, determine the symbol power corresponding to the first N-129 sampling points in the hth group of N sampling points, where the value range of h is 2 to H, and H indicates that the first subsequence to be processed corresponds to H groups of N sampling points.
[0093] When N sampling points are taken out from the first to-be-processed subsequence for the first time to calculate the symbol power, the sliding window slides backward from the starting position, and the sliding length is N-129. The power sum in the window obtained by sliding to the last sampling point is saved in the variable o_symbol_pwr, that is, the symbol power corresponding to the N-129th sampling point; so as to calculate the symbol power corresponding to the first point when N sampling points are taken out for the second time, so as to avoid calculating the symbol power twice for the repeated sampling points between two adjacent N sampling points, and reduce the amount of calculation of the symbol power.
[0094] Exemplarily, when the first group of N sampling points is taken out, the power in the window and pss_symbol_pwr are calculated according to the following formula: ;
[0095] Where n_sample_pwr represents the sample power value of the newly entered sampling point, and o_sample_pwr represents the sample power value of the sampling point that slides out of the current window. When the number of sampling points entering the sliding window reaches 128 for the first time, it is the starting position of the sliding window.
[0096] The symbol power corresponding to the first sampling point is the cumulative sum of the power value from the first sampling point to the power value of the 128th sampling point.
[0097] Exemplarily, when non-first group N sampling points are taken out, the power sum in the window, that is, the power sum in the window pss_symbol_pwr is calculated according to the following formula: ;
[0098] Among them, o_symbol_pwr is the symbol power corresponding to the N-128th sampling point in the previous group of N sampling points, and sample_pwr_last is the sample power value corresponding to the N-128th sampling point in the previous group of N sampling points.
[0099] Exemplarily, N is 256, that is, 256 sampling points are taken out each time for frequency domain correlation calculation processing; when 256 sampling points are taken out for symbol power calculation for the first time, 128 is used as the window length and 127 is used as the total length of the sliding window to determine the symbol powers corresponding to the 1st sampling point to the 127th sampling point respectively; when 256 sampling points are taken out for the second time, the symbol power corresponding to the 127th sampling point at the first sampling is added to the sample point power corresponding to the first sampling point of this sampling, and the sample point power corresponding to the 127th sampling point at the first sampling is subtracted from the sample point power corresponding to the 127th sampling point at the first sampling, to obtain the symbol power corresponding to the first sampling point at the second sampling, thereby avoiding the problem of large amount of calculation caused by performing two symbol power calculations on the repeated sampling points during two samplings in the related art.
[0100] In this embodiment, during the frequency domain correlation processing of the first subsequence to be processed, each time the data corresponding to N sampling points are taken out and transmitted to the frequency domain correlation calculation module, the data corresponding to the N sampling points are transmitted to the symbol power calculation module, thereby reducing the number of data acquisitions and the power consumption of data acquisition. At the same time, each time the sliding window is calculated, considering that there are 128 sampling points repeated between any two adjacent N sampling points, when it is not the first time to acquire data, the power within the window at the starting position of the sliding window is calculated based on the symbol power of the N-129th sampling point in the previous group of N sampling points, thereby reducing the amount of calculation by about 128 / N.
[0101] Step 504: normalize the first correlation power subsequence based on the symbol power corresponding to each sampling point to obtain an updated first correlation power subsequence.
[0102] Wherein, it is determined whether the first correlation power subsequence needs to be normalized for each sampling point; when the symbol power corresponding to the sampling point is greater than the power threshold, the correlation power corresponding to the sampling point in the first correlation power subsequence is normalized to obtain an updated first correlation power subsequence; when the symbol power corresponding to the sampling point is less than or equal to the power threshold, the correlation power corresponding to the sampling point in the first correlation power subsequence is kept unchanged.
[0103] Step 506: Store the updated first related power subsequence into the target storage space.
[0104] Correspondingly, in this embodiment, after obtaining the subsequence index corresponding to the When there are related power subsequences, get the The symbol power corresponding to each sampling point corresponding to the correlation power subsequence is calculated based on the symbol power corresponding to each sampling point. The relevant power subsequences are normalized to obtain the updated related power subsequences; then based on the updated The related subsequences are rubber-processed with the intermediate accumulated subsequences in the target storage space to update the intermediate accumulated subsequences in the target storage space.
[0105] Correspondingly, in this embodiment, when the Kth correlation power subsequence corresponding to the subsequence index is obtained, the symbol power corresponding to each sampling point corresponding to the Kth correlation power subsequence is obtained, and the Kth correlation power subsequence is normalized based on the symbol power corresponding to each sampling point to obtain an updated Kth correlation power subsequence; then, the updated Kth correlation subsequence is added to the intermediate accumulated subsequence in the target storage space to obtain a multi-period accumulated sequence corresponding to the subsequence index.
[0106] The main synchronization signal processing method provided by the above embodiment, in the process of obtaining a multi-period accumulated subsequence, judges whether the correlation result power value corresponding to each sampling point in the correlation power subsequence needs to be normalized point by point based on the symbol power corresponding to each sampling point in the time domain. When the symbol power value is greater than the threshold, the corresponding correlation result power value is normalized to avoid abnormal correlation result power value due to noise or other reasons, thereby improving the robustness of the obtained multi-period accumulated subsequence.
[0107] In an exemplary embodiment, a method for processing a master synchronization signal is provided, wherein the method is applied to Figure 1The terminal 102 in is taken as an example for explanation. In this embodiment, the method includes: obtaining sequences to be processed corresponding to K synchronization periods in the current synchronization process; dividing each sequence to be processed into M subsequences to be processed; taking N sampling points in sequence for the K subsequences to be processed corresponding to the first subsequence index, and performing two processing processes of symbol power calculation and frequency domain correlation calculation in parallel for the N sampling points taken out each time, wherein 128 sampling points are repeated between any two adjacent N sampling points, that is, the last 128 sampling points of the N sampling points taken out for the first time are the same as the first 128 sampling points of the N sampling points taken out for the second time; splicing the frequency domain correlation calculation results of all N sampling points to obtain the correlation power subsequence corresponding to the subsequence to be processed, combining the symbol power calculation results of all N sampling points to obtain the symbol power of each sampling point in the subsequence to be processed, normalizing the correlation power results of the sampling points whose symbol power is greater than the power threshold to obtain the correlation power subsequence of the updated subsequence to be processed; obtaining the first subsequence index corresponding to the first subsequence index. The relevant power subsequences corresponding to the subsequences to be processed are then stored in the target storage space as intermediate cumulative subsequences, and the relevant power subsequences of the 2nd to-be-processed subsequences to-be-processed subsequences corresponding to the first subsequence index are added to the intermediate cumulative subsequence stored in the target storage space, and then stored in the target storage space to update the intermediate cumulative subsequence, and when the relevant power subsequence of the Kth subsequence to be processed corresponding to the first subsequence index is obtained, the relevant power subsequence is added to the intermediate cumulative subsequence in the target storage space to obtain a multi-cycle cumulative subsequence, and the multi-cycle cumulative subsequence is peak searched, and the position of the maximum value is recorded; the relevant power calculation, multi-cycle accumulation and peak search processing processes of the K subsequences to be processed corresponding to the remaining subsequence indexes are similar to the corresponding processing processes of the K subsequences to be processed corresponding to the first subsequence index, and will not be repeated here until the maximum peak point of the current synchronization process is determined based on the peak point corresponding to the last subsequence index.
[0108] The master synchronization signal processing process of the above embodiment can be understood as a layered cyclic processing process, wherein the first layer includes a processing process of a subsequence to be processed corresponding to a subsequence index, the second layer includes a processing process of judging whether all subsequences to be processed corresponding to a subsequence index have been processed, and the third layer includes a processing process of judging whether all subsequence indexes have been processed. Figure 6 As shown, Indicates the synchronization cycle index corresponding to the current subsequence to be processed, K Indicates the number of synchronization cycles. The value range is 1 to K , M is the number of subsequences to be processed into which a sequence to be processed is divided, mRepresents the current subsequence index, m The value range is 1 to M ; After each second-layer judgment is completed, k is reinitialized to 1.
[0109] The main synchronization signal processing method provided in the above embodiment is based on K The maximum peak point search process is performed on the sequence to be processed in the synchronization cycle, and each sequence to be processed is divided into M subsequences to be processed, so that the storage space for storing the multi-period correlation power accumulation results only needs the number of period samples / M , and the peak value can be increased by K times; the amount of computation for the symbol energy of the subsequence to be processed is reduced by about 128 / N , which can achieve low computational complexity and low storage volume in the main synchronization processing process when detecting weak signals and complex electromagnetic scenarios.
[0110] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0111] It is understood that the term "based on" used in this application is used to describe one or more factors that affect the determination, and does not exclude other factors that may affect the determination. For example, the phrase "determine A based on B" means that the determination of A can be based entirely or at least partially on factor B, that is, B is a factor that affects the determination of A, but does not exclude that the determination of A is also based on C.
[0112] Based on the same inventive concept, the embodiment of the present application also provides a main synchronization signal processing device for implementing the main synchronization signal processing method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more main synchronization signal processing device embodiments provided below can refer to the limitations of the main synchronization signal processing method above, and will not be repeated here.
[0113] In an exemplary embodiment, a primary synchronization signal processing device is provided, comprising a data splitting module and a peak value determination module, wherein:
[0114] A data splitting module is used to obtain the sequences to be processed corresponding to multiple synchronization cycles in the current synchronization process, and to divide each sequence to be processed into multiple subsequences to be processed;
[0115] The peak value determination module is used to perform peak value search processing on the relevant power accumulation subsequences corresponding to each to-be-processed subsequence corresponding to each subsequence index, and determine the maximum peak point corresponding to the current synchronization process.
[0116] In an exemplary embodiment, the peak determination module includes a correlation calculation unit, an accumulation unit and a peak search unit, wherein the correlation calculation unit is used to determine the correlation power subsequence corresponding to each to-be-processed subsequence according to each to-be-processed subsequence corresponding to the subsequence index; the accumulation unit is used to perform accumulation processing on each correlation power subsequence to obtain a multi-cycle accumulation subsequence corresponding to the subsequence index; the peak search unit is used to perform peak search processing on the multi-cycle accumulation subsequence corresponding to the subsequence index to determine the peak point corresponding to the subsequence index; the peak search unit is also used to determine the maximum peak point based on the peak point corresponding to the last subsequence index.
[0117] In an exemplary embodiment, the accumulating unit is used to store the first relevant power subsequence to the target storage space when the first relevant power subsequence corresponding to the subsequence index is obtained; When there are related power subsequences, The related power subsequences are added to the intermediate accumulated subsequences in the target storage space to update the intermediate accumulated subsequences stored in the target storage space; The value range is 2 to K- 1, where K is the number of synchronization cycles corresponding to the current synchronization process; when the Kth related power subsequence corresponding to the subsequence index is obtained, the Kth related power subsequence is added to the intermediate accumulated subsequence stored in the target storage space to obtain a multi-cycle accumulated subsequence corresponding to the subsequence index.
[0118] In an exemplary embodiment, the accumulation unit includes a symbol power calculation subunit, a normalization update subunit and a storage subunit, wherein the symbol power calculation subunit is used to obtain the symbol power corresponding to each sampling point corresponding to the first relevant power subsequence when obtaining the first relevant power subsequence; the normalization update subunit is used to normalize the first relevant power subsequence based on the symbol power corresponding to each sampling point to obtain an updated first relevant power subsequence; and the storage subunit is used to store the updated first relevant power subsequence into the target storage space.
[0119] In an exemplary embodiment, the symbol power calculation subunit is used to sequentially take out N sampling points from the first subsequence to be processed and perform frequency domain correlation calculation processing according to the overlap retention method to obtain the first correlation power subsequence, and at the same time, determine the symbol power corresponding to each sampling point for the first subsequence to be processed according to the following steps: when taking out the first group of N sampling points, use the symbol length as the window length and N-129 as the total sliding window length to determine the symbol power corresponding to the first N-129 sampling points in the first group of N sampling points; when taking out the hth group of N sampling points, use the symbol length as the window length and N-129 as the total sliding window length and the symbol power corresponding to the N-129th sampling point in the previous group to determine the symbol power corresponding to the first N-129 sampling points in the hth group of N sampling points, where the value range of h is 2 to H, and H indicates that the first subsequence to be processed corresponds to H groups of N sampling points.
[0120] In an exemplary embodiment, the peak search unit is used to determine the maximum peak point according to the peak points corresponding to the subsequence indexes.
[0121] In an exemplary embodiment, the peak search unit is used to traverse the accumulated power values corresponding to each sampling point in the multi-period accumulated subsequence, update the sampling point whose accumulated power value is greater than the power value corresponding to the maximum peak point as the maximum peak point, and determine the maximum peak point at the end of the traversal as the peak point corresponding to the subsequence index; and determine the peak point corresponding to the last subsequence index as the maximum peak point.
[0122] Each module in the above-mentioned master synchronization signal processing device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0123] In an exemplary embodiment, a communication device is provided. The communication device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7As shown. The communication device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the communication device is used to exchange information between the processor and the external device. The communication interface of the communication device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a main synchronization signal processing method is implemented. The display unit of the communication device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the communication device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the communication device housing, or an external keyboard, touchpad or mouse.
[0124] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the communication device to which the scheme of the present application is applied. The specific communication device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0125] In one embodiment, a communication device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0126] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0127] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0128] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0129] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0130] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0131] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for processing a master synchronization signal, characterized in that: The method comprises: Obtain the sequences to be processed corresponding to multiple synchronization cycles in the current synchronization process; Dividing each of the sequences to be processed into a plurality of subsequences to be processed; A peak search process is performed on the correlation power accumulation results corresponding to each to-be-processed subsequence corresponding to each subsequence index to determine the maximum peak point corresponding to the current synchronization process.
2. The method according to claim 1, characterized in that The performing peak search processing on the correlation power accumulation results corresponding to each to-be-processed subsequence corresponding to each subsequence index to determine the maximum peak point corresponding to the current synchronization process includes: Obtaining the peak point corresponding to each subsequence index; Determine the maximum peak point based on the peak point corresponding to the last subsequence index; The process of obtaining the peak point corresponding to each subsequence index includes: Determine, according to each to-be-processed subsequence corresponding to the subsequence index, a related power subsequence corresponding to each to-be-processed subsequence; Accumulate each of the related power subsequences to obtain a multi-period accumulation subsequence corresponding to the subsequence index; A peak search process is performed on the multi-period accumulated subsequence corresponding to the subsequence index to determine the peak point corresponding to the subsequence index.
3. The method according to claim 2, characterized in that The step of performing accumulation processing on each of the related power subsequences to obtain a multi-period accumulation subsequence corresponding to the subsequence index includes: When a first relevant power subsequence corresponding to the subsequence index is obtained, storing the first relevant power subsequence in a target storage space; After obtaining the subsequence index corresponding to the k When there are related power subsequences, the k The related power subsequences are added to the intermediate accumulated subsequences in the target storage space to update the intermediate accumulated subsequences stored in the target storage space; k The value range is 2 to K- 1, where K is the number of synchronization cycles corresponding to the current synchronization process; When the Kth related power subsequence corresponding to the subsequence index is obtained, the Kth related power subsequence is added to the intermediate accumulated subsequence stored in the target storage space to obtain a multi-period accumulated subsequence corresponding to the subsequence index.
4. The method according to claim 3, characterized in that When the first relevant power subsequence corresponding to the subsequence index is obtained, storing the first relevant power subsequence in the target storage space includes: When the first relevant power subsequence is obtained, obtaining the symbol power corresponding to each sampling point corresponding to the first relevant power subsequence; Based on the symbol power corresponding to each of the sampling points, normalizing the first related power subsequence to obtain an updated first related power subsequence; The updated first related power subsequence is stored in the target storage space.
5. The method according to claim 4, characterized in that The obtaining of the symbol power corresponding to each sampling point corresponding to the first correlation power subsequence includes: While taking out N sampling points from the first subsequence to be processed in sequence and performing frequency domain correlation calculation processing according to the overlap-retention method to obtain the first correlation power subsequence, the symbol power corresponding to each sampling point is determined for the first subsequence to be processed according to the following steps: When taking out the first group of N sampling points, the symbol powers corresponding to the first N-129 sampling points in the first group of N sampling points are determined by taking the symbol length as the window length and N-129 as the total sliding window length; When taking out the h-th group of N sampling points, the symbol power corresponding to the first N-129 sampling points in the h-th group of N sampling points is determined by taking the symbol length as the window length, N-129 as the total length of the sliding window, and the symbol power corresponding to the N-129th sampling point of the previous group, where the value range of h is 2 to H, and H indicates that the first subsequence to be processed includes H groups of N sampling points.
6. The method according to claim 2, characterized in that The determining the maximum peak point based on the peak point corresponding to the last subsequence index includes: The maximum peak point is determined according to the peak points respectively corresponding to the subsequence indexes.
7. The method according to claim 2, characterized in that The performing peak search processing on the multi-period accumulated subsequence corresponding to the subsequence index to determine the peak point corresponding to the subsequence index includes: Traversing the accumulated power values corresponding to each sampling point in the multi-period accumulated subsequence, and updating the sampling point whose accumulated power value is greater than the power value corresponding to the maximum peak point as the maximum peak point; Determine the maximum peak point at the end of the traversal as the peak point corresponding to the subsequence index; The determining the maximum peak point based on the peak point corresponding to the last subsequence index includes: The peak point corresponding to the last subsequence index is determined as the maximum peak point.
8. A main synchronization signal processing device, characterized in that: The device comprises: A data splitting module is used to obtain sequences to be processed corresponding to multiple synchronization cycles in the current synchronization process, and to divide each sequence to be processed into multiple subsequences to be processed; The peak value determination module is used to perform peak value search processing on the relevant power accumulation subsequences corresponding to each to-be-processed subsequence corresponding to each subsequence index, so as to determine the maximum peak point corresponding to the current synchronization process.
9. A communication device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and device for detecting main synchronizing signal
CN101719889A
Method and device for searching neighbor-cell of LTE (long term evolution) system
CN102510566A
Method and device of anti-frequency-offset detection of random access preamble
CN104135774A
A multiple synchronization method and system for OFDM
CN109088842A
Method for detecting primary synchronization signal and detection device
CN110677364A