Disclosure of Invention
The invention solves the technical problem of how to optimize the detection method of the signal sequence so as to give consideration to both the frequency deviation resistance and the anti-interference performance and improve the success probability of signal sequence detection.
To solve the above technical problem, an embodiment of the present invention provides a method for detecting a signal sequence, including: segmenting the received signal sequence to obtain a plurality of segmented data with different lengths; performing a correlation calculation on each of at least one piece of segmented data to obtain a correlation gain of each of the at least one piece of segmented data; summing modulo squares of the correlation gains of the respective data to obtain a piecewise correlation gain of the at least one piece of segmented data; determining a correlation detection result of the signal sequence according to a segment correlation gain of the at least one segment data.
Optionally, when the received signal sequence is segmented, the length of each segmented data obtained by segmentation is sequentially increased, or the length of each segmented data obtained by segmentation is sequentially decreased.
Optionally, the relevant calculation is performed on each piece of data in sequence, where the length of the ith piece of data is M i And performing correlation calculation on each data in the ith segment data by adopting the following formula to obtain the correlation gain of the ith segment data:
wherein, c M (i) Representing the correlation gain, R, of each of the i-th segmented data k Denotes the kth data, a, in the ith segment data k Representing the kth data in the ith segment data of the preset local signal sequence A, wherein the length of the ith segment data of the A is M i ,a k And R k One to one correspondence, conj (a) k ) Denotes a k I is a positive integer.
Optionally, the modulo square sum of the correlation gains of the respective data is given by the following formula:
wherein, C M (i) The segment correlation gain of the i-th segment data is represented.
Optionally, the determining a correlation detection result of the signal sequence according to the segment correlation gain of the at least one segment data includes: if the segment correlation gain C of the ith segment data M (i) And if the detection threshold value is larger than the preset detection threshold value, the signal sequence is determined to be successfully detected.
Optionally, the detection method further includes: after determining that the signal sequence is successfully detected, stopping performing correlation calculation on the remaining segmented data.
Optionally, the signal sequence is an FCCH sequence.
To solve the above technical problem, an embodiment of the present invention further provides a device for detecting a signal sequence, including: the segmentation module is suitable for segmenting the received signal sequence to obtain a plurality of segment data with different lengths; a calculation module adapted to perform correlation calculation on each element in at least one of the segmented data to obtain a correlation gain of the at least one segmented data; a summing module adapted to sum modulo squares of the correlation gain of the at least one segment data to obtain a segment correlation gain of the at least one segment data; a determining module adapted to determine a correlation detection result of the signal sequence according to a segment correlation gain of the at least one segment data.
To solve the above technical problem, an embodiment of the present invention further provides a storage medium having stored thereon computer instructions, where the computer instructions execute the steps of the above method when executed.
In order to solve the foregoing technical problem, an embodiment of the present invention further provides a terminal, including a memory and a processor, where the memory stores computer instructions executable on the processor, and the processor executes the computer instructions to perform the steps of the foregoing method.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a method for detecting a signal sequence, which comprises the following steps: segmenting the received signal sequence to obtain a plurality of segmented data with different lengths; performing a correlation calculation on each data in at least one segmented data to obtain a correlation gain of each data in the at least one segmented data; summing modulo squares of the correlation gains of the respective data to obtain a piecewise correlation gain of the at least one piece of piecewise data; determining a correlation detection result of the signal sequence according to a segment correlation gain of the at least one segment data. Compared with the prior art, the embodiment of the invention calculates the segment correlation gain for at least one of the plurality of segment data with different lengths, can obtain higher correlation gain by using the segment data with smaller length under the condition that the signal sequence has frequency offset, and can obtain higher correlation gain by using the segment data with larger length under the condition that the signal sequence has strong interference, thereby improving the detection success probability of the signal sequence under a wider application scene.
Further, after determining that the signal sequence is successfully detected, the correlation calculation for the remaining segmented data is stopped. By the technical scheme provided by the embodiment of the invention, the correlation calculation of the residual segmented data can be stopped after the signal sequence is successfully detected, the calculation amount can be reduced, and the calculation complexity can be reduced.
Detailed Description
As background art, the detection method of the FCCH signal sequence provided by the prior art is difficult to consider both the frequency offset resistance and the interference resistance.
Typically, the FCCH detection algorithm correlates the received signal sequence R (e.g., the FCCH signal sequence) with the known local FCCH signal sequence A1. Wherein, R = { R (0), R (1), \8230;, R (N-1) }, A1= { a (0), a (1), \8230;, a (N-1) }. The correlation calculation process is as follows.
Where c denotes the correlation gain, R (n) is an element of the received signal sequence R,
a (n) is a known local FCCH signal sequence A1, which can also be understood as an element of the actually transmitted FCCH signal sequence, which is/are also based on>
A is the amplitude of the individual elements of the signal sequence, Δ f is the frequency offset of the received signal, and ` H `>
Is the initial phase, f is the initial frequency, N is a positive integer, and Ts is the sampling time interval.
Order to
B=A·e
jφ The fixed value is determined by the amplitude and initial phase of each element of the signal sequence.
When the frequency offset Δ f =0, the maximum correlation gain can be obtained, as shown in the following equation, where N is a positive integer,
if each received symbol (symbol) R is to be transmitted n The representation is a vector, which can be represented by the vector diagram shown in fig. 1, i.e. the directions of the n vectors are the same, so that the maximum vector sum can be obtained.
However, as shown in FIG. 2, when there is a small frequency offset, there is a fixed angle between each vector due to the presence of the frequency offset
As the frequency offset increases, the modulo value of the gain (c) of the vector sum becomes smaller.
Further, as shown in fig. 3, when there is a large frequency offset, the vectors are dispersed in four quadrants due to the large angle between each vector, and the vector sum may be equal to 0 at this time, that is, the correlation gain of the correlation detection is also equal to 0.
In order to solve the problem that the FCCH correlation gain decreases with the increase of the frequency offset, the prior art segments the received FCCH signal sequence, and the length of each segment data is the same, for example, the length of the FCCH signal sequence is N, N is a positive integer, and the length of each segment data is defined as M, M is a positive integer<And N is added. If the length of the FCCH signal sequence cannot be equally divided, the length of each segment data is M except that the length of the last segment data is smaller than M, and the data V of each segment data i Can be expressed by the following formula:
then, a segment correlation gain can be calculated for each segment data individually, as shown in fig. 4, V i,j Represents the jth data of the ith segment. R t Can represent data in the t-th segment data, a t Can represent data in the t-th segment data of the FCCH signal sequence A1, c M (i) The segment correlation gain for the ith data segment is indicated. c. C M (i) The formula is as follows:
after segmentation, the vector sum between each segment data can obtain better correlation gain due to less components which cancel each other out, and then the segment correlation gains of each segment data are summed to obtain the total correlation gain. Total correlation gain C M The calculation formula of (a) is as follows:
as described above, the correlation gain is calculated in a stepwise manner, and the correlation gain can be obtained even if there is a frequency offset. However, compared with the case without frequency offset, the total correlation gain obtained by the segmentation calculation does not reach the maximum correlation gain, i.e. cannot reach N times of the correlation gain. In strong interference situations, FCCH detection may fail.
However, since the frequency offset estimation cannot be performed before the FCCH is not detected, that is, the frequency offset information is not obtained, it is not possible to determine whether the segmentation process is required. On the contrary, if the segment correlation is not performed, the problem of frequency offset cannot be solved, and if the segment correlation is performed, the FCCH reception fails under the condition of strong interference.
To solve the above technical problem, an embodiment of the present invention provides a method for detecting a signal sequence, including: segmenting the received signal sequence to obtain a plurality of segmented data with different lengths; performing a correlation calculation on each of at least one piece of segmented data to obtain a correlation gain of each of the at least one piece of segmented data; summing modulo squares of the correlation gains of the respective data to obtain a piecewise correlation gain of the at least one piece of segmented data; determining a correlation detection result of the signal sequence according to a segment correlation gain of the at least one segment data.
Compared with the prior art, the embodiment of the invention calculates the segment correlation gain for at least one of the segment data with different lengths, can obtain higher correlation gain by using the segment data with smaller length under the condition that the signal sequence has frequency offset, and can obtain higher correlation gain by using the segment data with larger length under the condition that the signal sequence has strong interference, thereby improving the detection success probability of the signal sequence under wider application scenes.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 5 is a flowchart illustrating a method for detecting a signal sequence according to an embodiment of the present invention. Referring to fig. 5, the detection method may be used on the terminal side, for example, performed by a User Equipment (UE).
Specifically, the detection method may include the steps of:
step S501, segmenting a received signal sequence to obtain a plurality of segmented data with different lengths;
step S502, carrying out correlation calculation on each data in at least one piece of segmental data to obtain the correlation gain of each data in the at least one piece of segmental data;
step S503, summing the modulo squares of the correlation gains of the respective data to obtain a segment correlation gain of the at least one segment data;
step S504, determining a correlation detection result of the signal sequence according to the segment correlation gain of the at least one segment data.
Specifically, in step S501, the UE may segment the received signal sequence to divide the received signal sequence into a plurality of pieces of segment data having different lengths. Those skilled in the art understand that the signal sequence may be an FCCH sequence.
As a non-limiting example, when segmenting the signal sequence, the signal sequence may be segmented in a manner of sequentially increasing the length, so that the length of each segmented data obtained by segmentation is sequentially increased.
For example, the signal sequence is "0,1,2,3,4,5,6,7,8,9,10" in length, 2,3, 6 in order, segmented in increasing length. At this time, each segment data is "0,1", "2,3,4", "5,6,7,8, 9,10", respectively.
As a further non-limiting example, when segmenting the signal sequence, the signal sequence may be segmented in a manner of decreasing length sequentially, so that the length of each segmented data obtained by segmentation decreases sequentially.
For example, the signal sequence is "0,1,2,3,4,5,6,7,8,9,10", sequentially 5, 4, 2 in length, segmented in a manner that the length decreases. At this time, each segment data is "0,1,2,3,4", "5,6,7,8", "9,10", respectively.
In step S502, at least one segment data of the segmented data may be sequentially subjected to correlation calculation, so as to obtain a correlation gain of each data of the at least one segment data.
Specifically, when the signal sequence is r (N), N =0,1, \ 8230; (N-1), N is a positive integer, the signal sequence may be segmented, and at this time, correlation calculation may be performed on each data in the i-th segmented data using the following formula to obtain a correlation gain for each data:
wherein, c M (i) Can represent the correlation gain, R, of each of the i-th segmented data k Can represent the k-th data, a, in the i-th segmented data k Can represent the kth data in the ith segment data of the preset local signal sequence A, and the length of the ith segment data of A is M i ,a k And R k 1. A correspondence, conj (a) k ) Denotes a k I is a positive integer. Those skilled in the art understand that a k Is a local signal, which can be understood as R k The transmission signal of (2).
In step S503, a modulus may be calculated for the correlation gain of each data of the segmented data, and then a sum of squares of the moduli of each data may be calculated to obtain the segment correlation gain of at least one segmented data.
In a specific implementation, the calculation may be performed sequentially according to the segmentation order of the signal sequence. When the segment data completes the correlation calculation, the sum of squares of the modulus values of the correlation gain of each data of the segment data may be calculated.
For example, each segment has a length M0, M1, \8230, mn, wherein M0, M1, \8230, mn is a positive integer, 0<M0<M1<…<Mn,And M0+ M1+ \8230 ++ Mn = N. The formula can then be utilized
Segment correlation gains are calculated for each segment data, where M = { M0, M1, \8230;, mn }.
In step S504, a correlation detection result of the signal sequence may be determined according to the calculated segment correlation gain of the segment data. If the current segmented data is larger than a preset signal detection threshold value, the signal sequence can be successfully detected, and correlation calculation and segment correlation gain calculation of subsequent segmented data can be stopped. If the current segmented data is less than or equal to the preset signal detection threshold, the signal sequence is not successfully detected, and correlation calculation and segmented correlation gain calculation of the next subsequent segmented data are required to be continued.
Those skilled in the art understand that, in the specific implementation, correlation calculation may be performed on all the segmented data, and then segment correlation gain calculation is performed, and signal sequence detection is performed after the operations on all the segmented data are completed.
Assuming that the signal sequence is an FCCH signal sequence and 0-straw M0-straw M1< -8230; < Mn, the pseudo code is as follows.
for M={M0,M1,...Mx}
if(C M >fcch_threshold)
fcch detect success
endif
end for
Those skilled in the art understand that, when comparing the segment correlation method with the same length with the segment correlation method with different lengths provided by the embodiment of the present invention, the two operations are different only in the length of the data in each segment data, and the other operations are completely consistent and the operation amount is basically consistent with the original operation amount.
Therefore, under the condition that the computation amount is basically consistent with that of the prior art, the signal sequence detection method provided by the embodiment of the invention can cover a frequency offset scene or a strong interference scene at the same time, can obtain higher correlation gain in more scenes, can give consideration to both the frequency offset resistance and the anti-interference performance, and improves the success probability of signal sequence detection.
Fig. 6 is a schematic structural diagram of a signal sequence detection apparatus according to an embodiment of the present invention. The detection means 6 of the signal sequence (for simplicity, referred to below simply as detection means 6) may be applied to a terminal device, e.g. executed by a UE. Those skilled in the art will appreciate that embodiments of the present invention may be used to implement the method solution illustrated in fig. 5.
Specifically, the detection device 6 may include: a segmenting module 61, adapted to segment the received signal sequence to obtain a plurality of segmented data with different lengths; a calculation module 62, adapted to perform correlation calculation on each element in at least one of the segmented data to obtain a correlation gain of the at least one segmented data; a summing module 63 adapted to sum the modulo squares of the correlation gain of the at least one segment data to obtain a segment correlation gain of the at least one segment data; a determining module 64 adapted to determine a correlation detection result of the signal sequence based on the piecewise correlation gain of the at least one piece of piecewise data.
In a specific implementation, the signal sequence is an FCCH sequence.
Further, when the received signal sequence is segmented, the length of each segmented data obtained by segmentation is sequentially increased, or the length of each segmented data obtained by segmentation is sequentially decreased.
In a specific implementation, the calculation module 62 is adapted to perform the correlation calculation on the respective data in each segment data in sequence, wherein the length of the ith segment data is M i And performing correlation calculation on each data in the ith segmented data by adopting the following formula to obtain the correlation gain of the ith segmented data:
wherein, c M (i) Representing the correlation gain, R, of each of the i-th segmented data k Denotes the kth data, a, in the ith segment data k Representing the kth data in the ith segment data of the preset local signal sequence A, wherein the length of the ith segment data of the A is M i ,a k And R k One to one correspondence, conj (a) k ) Denotes a k I is a positive integer.
In a specific implementation, the summing module 63 is adapted to sum the modulo squares of the correlation gains of the respective data using the following formula:
wherein, C M (i) A segment correlation gain representing the i-th segment data, c M (k) The correlation gain of each data in the kth segmented data is represented.
In particular implementations, the summing module 63 may include a determination sub-module 631. Specifically, if the segment correlation gain C of the ith segment data M (i) Above a preset detection threshold, the determining sub-module 631 is adapted to determine that the signal sequence is successfully detected.
In a specific implementation, the detection device 6 may further include: a stopping module 65 adapted to stop the correlation calculation of the remaining segmented data after determining that the signal sequence is successfully detected.
For more details of the operation principle and the operation mode of the detection device 6, reference may be made to the above description in fig. 5, and details are not repeated here.
Further, the embodiment of the present invention further discloses a storage medium, on which computer instructions are stored, and when the computer instructions are executed, the technical solution of the method in the embodiment shown in fig. 5 is executed. Preferably, the storage medium may include a computer-readable storage medium such as a non-volatile (non-volatile) memory or a non-transitory (non-transient) memory. The computer readable storage medium may include ROM, RAM, magnetic or optical disks, and the like.
Further, an embodiment of the present invention further discloses a terminal, which includes a memory and a processor, where the memory stores a computer instruction capable of running on the processor, and the processor executes the technical solution of the method in the embodiment shown in fig. 5 when running the computer instruction. In particular, the terminal may be a user equipment (i.e., UE).
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.