Signal detection method, electronic device and storage medium

By obtaining and processing the symbol group power and signal characteristic information of the radio frequency signal in the communication system, and comparing it with preset threshold values, the problem of inaccurate signal detection in the PRACH channel is solved, and the accuracy and efficiency of signal detection are improved.

CN115801515BActive Publication Date: 2024-12-20EKC COMM TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211363131.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-02
Publication Date
2024-12-20
Estimated Expiration
2042-11-02

AI Technical Summary

Technical Problem

In a communication system, the signal power changes received by the physical random access channel (PRACH) lead to inaccurate signal detection, which reduces the accuracy of signal detection.

Method used

By obtaining the target signal from the radio frequency channel, calculating the symbol group power of the symbol group, and calculating signal characteristic information based on at least one of the signal power and the symbol group power, and comparing it with a preset threshold value, to improve the accuracy of signal detection. sex. Specific steps include obtaining the frequency deviation estimate of the symbol group, frequency deviation compensation, calculating the symbol group power, determining the signal power, calculating the signal-to-noise ratio and signal power proportion, and obtaining signal characteristic information based on the symbol group power change amplitude.

Benefits of technology

It reduces the phenomenon of false detection and missed detection, improves the accuracy of signal detection, and can achieve more accurate signal detection at a lower calculation amount.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115801515B_ABST
    Figure CN115801515B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a signal detection method, an electronic device, and a storage medium, which belong to the field of communication technology. The signal detection method includes: obtaining a target signal from a radio frequency channel; obtaining a symbol group in the target signal, and calculating the symbol group power of the symbol group; determining the signal power of the target signal according to the symbol group power; calculating the signal characteristic information of the target signal according to at least one of the signal power and the symbol group power; comparing the signal characteristic information with a preset threshold value, and obtaining the detection result of the target signal according to the comparison result. The present application can perform a comprehensive detection of the target signal by comparing any signal feature of the signal characteristic information with the threshold value, thereby reducing the phenomenon of false detection and missed detection, and can improve the accuracy of signal detection with a lower amount of calculation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a signal detection method, electronic equipment and storage medium. Background Art

[0002] In a communication system, the first step for a receiver and a transmitter to achieve successful communication is to establish time and frequency synchronization, and uplink synchronization is accomplished by the Random Access Channel (RACH).

[0003] In the related art, the signal-to-noise ratio value of the physical random access channel (PRACH) is often compared with a threshold value to detect whether a user signal exists. However, when the uplink channel signal is transmitted, the power received by the PRACH will change, and interference is likely to occur during signal detection, resulting in inaccurate detection results and reducing the accuracy of signal detection. Summary of the invention

[0004] The main purpose of the embodiments of the present application is to provide a signal detection method, an electronic device and a storage medium, which can improve the accuracy of signal detection.

[0005] To achieve the above-mentioned purpose, the first aspect of an embodiment of the present application proposes a signal detection method, which includes: obtaining a target signal from a radio frequency channel; obtaining a symbol group in the target signal, and calculating the symbol group power of the symbol group; determining the signal power of the target signal based on the symbol group power; calculating the signal characteristic information of the target signal based on at least one of the signal power and the symbol group power; comparing the signal characteristic information with a preset threshold value, and obtaining the detection result of the target signal based on the comparison result.

[0006] According to some embodiments of the present application, there are multiple symbol groups in the target signal, and the step of obtaining the symbol groups in the target signal and calculating the symbol group power of the symbol groups includes: obtaining the symbol groups in the target signal, and performing frequency offset estimation on the symbol groups through multiple symbols in each of the symbol groups to obtain a frequency offset estimation value; obtaining an average of the frequency offset estimation values ​​of all the symbol groups to obtain an average frequency offset estimation value; performing frequency offset compensation on the symbols in each of the symbol groups through the average frequency offset estimation value; and performing averaging and square calculations on the symbol groups after frequency offset compensation to obtain symbol group power.

[0007] According to some embodiments of the present application, there are multiple symbol groups in the target signal, and determining the signal power of the target signal based on the symbol group power includes: obtaining a preset collision threshold value; if the symbol group power is less than the collision threshold value, determining that the symbol group power is valid; determining the effective number of the valid symbol group powers, accumulating the valid symbol group powers, and dividing by the effective number to obtain the signal power of the target signal.

[0008] According to some embodiments of the present application, obtaining a preset collision threshold value includes: obtaining a target parameter obtained through simulation testing; determining a target symbol group power among the symbol group powers according to the order of magnitude of a plurality of the symbol group powers; and multiplying the target parameter by the target symbol group power to obtain a collision threshold value.

[0009] According to some embodiments of the present application, the signal characteristic information of the target signal is calculated based on at least one of the signal power and the symbol group power, including: calculating a signal-to-noise ratio value of the target signal based on the signal power; calculating a signal power proportion value of the target signal based on the signal power and the signal powers of all the target signals; calculating a symbol group power variation amplitude of the target signal based on a variation amplitude of the symbol group power; obtaining the signal characteristic information of the target signal based on at least one of the signal-to-noise ratio value, the signal power proportion value and the symbol group power variation amplitude.

[0010] According to some embodiments of the present application, the signal-to-noise ratio value of the target signal calculated based on the signal power includes: obtaining the number of symbols in the symbol group, and obtaining the number of symbol groups of the symbol group; obtaining a first value based on the difference between the number of symbols and the number of symbol groups, and performing conjugate multiplication on the first value to obtain the trace of the matrix to obtain a second value; performing cumulative calculation on the first value and the second value, and obtaining a third value based on the real part after the accumulation; obtaining a fourth value by obtaining the product of the number of symbols, the number of symbol groups, and the number of antennas connected to the radio frequency channel; obtaining the noise power of the target signal by dividing the third value by the fourth value; and obtaining the signal-to-noise ratio value of the target signal based on the signal power and the noise power calculation.

[0011] According to some embodiments of the present application, there are multiple communication signals in the radio frequency channel, and the target signal is any one of the multiple communication signals, and each of the communication signals has signal power; the signal power ratio of the target signal is calculated based on the signal power and the signal power of all the target signals, including: determining the maximum signal power among the signal powers according to the order of magnitude of the signal powers corresponding to the multiple communication signals; dividing the signal power of the target signal by the maximum signal power, and calculating the signal power ratio of the target signal.

[0012] According to some embodiments of the present application, the calculation of the symbol group power variation amplitude of the target signal based on the symbol group power variation amplitude includes: obtaining the number of repetitions of the target signal transmission; obtaining the maximum symbol group power and the minimum symbol group power of the symbol group power in each repeated transmission; accumulating and calculating multiple maximum symbol group powers according to the number of repetitions to obtain a first value, and accumulating and calculating multiple minimum symbol group powers according to the number of repetitions to obtain a second value; dividing the first value by the second value to calculate the symbol group power variation amplitude of the target signal.

[0013] According to some embodiments of the present application, a second aspect of the embodiments of the present application proposes an electronic device, wherein the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the signal detection method described in any one of the embodiments of the first aspect of the present application when executing the computer program.

[0014] According to some embodiments of the present application, a third aspect of the embodiments of the present application proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the signal detection method described in any one of the embodiments of the first aspect of the present application.

[0015] The signal detection method, electronic device and storage medium proposed in the present application, since in the process of signal detection, there will be overlapping parts of the signal in time and frequency resources, resulting in inaccurate signal detection results, by comparing any signal feature of the signal characteristic information with the threshold value, the target signal can be comprehensively detected, thereby reducing the phenomenon of false detection and missed detection, and can improve the accuracy of signal detection with a lower amount of calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a flow chart of a signal detection method provided in an embodiment of the present application;

[0017] Figure 2 yes Figure 1 Flow chart of step S102;

[0018] Figure 3 yes Figure 1 Flow chart of step S103 in FIG.

[0019] Figure 4 yes Figure 3 Flow chart of step S301;

[0020] Figure 5 yes Figure 1 Flow chart of step S104 in FIG.

[0021] Figure 6 yes Figure 5 Flow chart of step S501 in FIG.

[0022] Figure 7 yes Figure 5 Flow chart of step S502 in FIG.

[0023] Figure 8 yes Figure 5 Flow chart of step S503 in FIG.

[0024] Fig. 9 is a schematic diagram of an overall exemplary scheme of an embodiment of the present application;

[0025] Fig.10 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0026] 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.

[0027] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0029] In a communication system, the first step for a receiver and a transmitter to complete communication is to establish time-frequency synchronization, and uplink synchronization is accomplished by the Random Access Channel (RACH). The physical uplink shared channel corresponding to the Physical Downlink Shared CHannel (PDSCH), the Physical Uplink Shared Channel (PUSCH) is mainly used to transmit uplink service data, mainly carrying user data and control information. Sometimes when the PUSCH signal is transmitted, the PUSCH and the Physical Random Access Channel (PRACH) signals will "collide", that is, there will be overlaps in the time-frequency resources, which will cause the power received by the PRACH to change, resulting in false detection or missed detection of PRACH users.

[0030] It can be understood that a random access signal period is composed of several preamble signals (Preamble), a preamble signal is composed of several symbol groups (Symbol Group), and a symbol group is composed of a cyclic prefix (CP) and several identical symbols.

[0031] In the related art, after a series of demodulation processes are performed on the received signal under the PRACH channel, the signal-to-noise ratio can be estimated and compared with the preset threshold value. By determining whether the estimated signal-to-noise ratio is greater than or less than the preset threshold, it is determined whether the user signal has been detected. The preset threshold value is usually an approximate value preset based on the number of repetitions and the number of transmitting and receiving antennas under pure noise conditions. If the threshold value is set too high, it will result in missed detection of the user. If the threshold value is set too low, it will result in multiple detection of the user.

[0032] Based on this, the embodiments of the present application provide a signal prediction method, system, electronic device and storage medium, which can improve the accuracy of signal detection.

[0033] In some embodiments, the signal detection method is applied to a signal detection system. The signal detection system includes a network receiving module for receiving signals and a processing module for processing signals, and can execute the signal detection method provided in the embodiments of the present application.

[0034] The signal detection method, electronic device, and storage medium provided in the embodiments of the present application are specifically described through the following embodiments.

[0035] The signal detection method in the embodiments of the present application can be illustrated by the following embodiments.

[0036] See also Figure 1In some embodiments, the present application proposes a signal detection method, comprising the following steps:

[0037] Step S101, acquiring a target signal from a radio frequency channel;

[0038] Step S102, obtaining a symbol group in the target signal, and calculating a symbol group power of the symbol group;

[0039] Step S103, determining the signal power of the target signal according to the symbol group power;

[0040] Step S104, calculating and obtaining signal characteristic information of the target signal according to at least one of the signal power and the symbol group power;

[0041] Step S105: compare the signal characteristic information with a preset threshold value, and obtain a detection result of the target signal according to the comparison result.

[0042] In some embodiments, the radio frequency channel is used to receive a communication signal, there are multiple communication signals in the radio frequency channel, and the target signal is any one of the multiple communication signals.

[0043] The target signal is a modulated communication signal with a certain transmission frequency. Exemplarily, the target signal may be a pilot signal.

[0044] In some embodiments, a target signal is composed of several symbol groups (Symbol Group), and a symbol group is composed of a cyclic prefix (CP) and several identical symbols. Exemplarily, by processing the signal in units of symbol groups, the frequency deviation estimation value and time deviation estimation value of the signal can be obtained, so as to facilitate the calculation of subsequent symbol group power, signal power, noise power, signal-to-noise ratio and other numerical values. In some embodiments, the symbol group power can be used to calculate the collision threshold of the signal, and the collision threshold is used to judge the symbol group power, so as to screen out the effective symbol group power, thereby calculating the signal power and further improving the detection accuracy of the target signal. In addition, the symbol group power can also be used to calculate the maximum signal power. By calculating the maximum signal power, it can be used to calculate the signal feature information, and then compared with the preset threshold value to screen the user signal to improve the detection accuracy of the target signal.

[0045] In some embodiments, the signal characteristic information may be a signal-to-noise ratio value of the target signal calculated based on the signal power, a signal power ratio value of the target signal calculated based on the signal power and the signal power of all target signals, or a symbol group power variation amplitude of the target signal calculated based on the variation amplitude of the symbol group power. It can be understood that by comparing the signal characteristic information with a preset threshold value, the detection accuracy of the target signal can be improved and the detection performance can be improved.

[0046] In some embodiments, the detection result of the target signal is a result of determining whether it is a target signal. Exemplarily, the detection result of the target signal may be a detection result of determining whether the target signal is a user signal or a non-user signal.

[0047] In some embodiments, when the signal characteristic information is the signal-to-noise ratio of the target signal, the signal-to-noise ratio is the ratio of signal power to noise power. The signal-to-noise ratio represents the effective value of the signal and noise voltage. Therefore, the higher the signal-to-noise ratio, the better. An ideal threshold value is selected through simulation experiments for comparison with the signal-to-noise ratio. If the signal-to-noise ratio is greater than the threshold value, it indicates that the target signal has been detected. The embodiment of the present application can effectively judge the target signal by comparing the signal-to-noise ratio with the preset threshold value, thereby improving the detection accuracy of the target signal.

[0048] In some embodiments, when the signal characteristic information is a signal power ratio of the target signal calculated based on the signal power and the signal power of all target signals, since the signal power on the user side is not much different, the signal power ratio can be obtained by dividing the signal power of the current signal by the maximum signal power. If the signal power ratio is less than the preset threshold, it is judged that a user signal is detected. If the signal power ratio is greater than the preset threshold, it is judged as a non-user signal. By comparing the signal power ratio with the preset threshold value, the target signal can be effectively judged and the detection accuracy of the target signal can be improved.

[0049] In some embodiments, when the signal characteristic information is the symbol group power change amplitude of the target signal calculated according to the change amplitude of the symbol group power. In some embodiments, the target signal is a user signal. It can be understood that when the uplink channel signal is transmitted, the user signal is relatively stable and the amplitude fluctuation is very small, so it can be judged whether it is a user signal by the fluctuation size of the symbol group power amplitude of the target signal. If the symbol group power change amplitude of the target signal is less than the preset threshold, it is judged that a user signal is detected. If the symbol group power change amplitude of the target signal is greater than the preset threshold, it is judged as a non-user signal. By comparing the symbol group power change amplitude of the target signal with the preset threshold value, the target signal can be effectively judged and the detection accuracy of the target signal can be improved.

[0050] It can be understood that the threshold value can be threshold 1, threshold 2, and threshold 3, and threshold 1, threshold 2, and threshold 3 are all threshold values ​​obtained through actual simulation tests. Threshold 1 is used to compare with the calculated signal-to-noise ratio value. If the signal-to-noise ratio value is greater than threshold 1, the user signal is detected. If it is not greater than threshold 1, the user signal is not detected; Threshold 2 is used to compare with the signal power and the signal power of all target signals to obtain the signal power ratio of the target signal. If the power ratio of the target signal is less than threshold 2, it is judged as a user signal. If the power ratio of the target signal is greater than threshold 2, it is judged as a non-user signal; Threshold 3 is used to compare with the symbol group power change amplitude of the target signal calculated by the symbol group power change amplitude. If the symbol group power change amplitude of the target signal is less than threshold 3, it is judged as a user signal. If the symbol group power change amplitude of the target signal is greater than threshold 3, it is judged as a non-user signal; The collision threshold is used to judge the symbol group power, thereby screening out the effective symbol group power, and calculating the signal power. By setting an effective threshold value, in the process of signal detection, it is possible to accurately judge the target signal, discard non-target signals, and further improve the detection accuracy of the target signal.

[0051] In some embodiments, threshold one, threshold two or threshold three can be used alone to detect the signal. Using a single threshold to detect the signal eliminates the need for multiple detections, which can reduce the amount of system calculations, increase the speed of signal detection, and save signal detection time.

[0052] Exemplarily, in the process of signal detection, the target signal can be detected by combining threshold 1, threshold 2, and threshold 3. Optionally, the target signal can be detected by combining threshold 1 and threshold 2, or by combining threshold 1 and threshold 3. Any combination of threshold 1, threshold 2, and threshold 3 is within the protection scope of the present application, and the embodiments of the present application are not specifically limited here. It can be understood that by combining any signal detection thresholds, the detection accuracy is higher than that of setting only a single threshold, and the detection accuracy of the target signal can be greatly improved through a lower amount of calculation. The target signal can be detected multiple times, and it can be determined whether the target signal is a user signal by comparing and judging with the threshold value multiple times, thereby improving the accuracy of signal detection.

[0053] See also Figure 2 In some embodiments, step S102 may include steps S201 to S204:

[0054] Step S201, acquiring a symbol group in a target signal, and performing frequency offset estimation on the symbol group using a plurality of symbols in each symbol group to obtain a frequency offset estimation value;

[0055] Step S202, obtaining an average value of the frequency offset estimation values ​​of all symbol groups to obtain an average frequency offset estimation value;

[0056] Step S203, performing frequency offset compensation on symbols in each symbol group by averaging the frequency offset estimation value;

[0057] Step S204, performing averaging calculation and square calculation on the symbol group after frequency offset compensation to obtain symbol group power.

[0058] In some embodiments of step S201, the system first obtains the target signal from the RF channel. In some embodiments, the target signal may be a baseband time domain signal. The time domain signal is then de-cyclically prefixed and Fourier transformed. Since the Fourier transform converts the time domain signal into a frequency domain signal, the frequency domain signal of the received signal can be obtained. The target signal may also be a directly obtained frequency domain signal. Afterwards, the frequency offset of the symbol group is estimated through multiple symbols in each symbol group to obtain a frequency offset estimation value for each symbol group. The time domain signal is converted into a frequency domain signal through Fourier transform.

[0059] In some embodiments of step S202, the frequency offset estimation values ​​of all symbol groups are averaged to obtain an average frequency offset estimation value.

[0060] Exemplarily, there are multiple symbol groups in the target signal. In some embodiments, step S201 obtains a frequency offset estimation value The calculation formula and the average frequency offset estimation value (Fo obtained in step S202 HZ ) is calculated as follows:

[0061]

[0062]

[0063] The data h sc Contains Data, denoted as h sc (i,j,q). Where i∈n sg For data h sc The number of symbol groups contained in is the number of symbols contained in each symbol group, j∈n Rx is the number of antennas, Indicates obtaining all average frequency offset estimation values, and deltaT indicates the time difference between two adjacent symbols in a symbol group.

[0064] In some embodiments, in step S203, frequency offset compensation is performed on the symbols in each symbol group. The formula is as follows:

[0065]

[0066] in, Indicates the duration of each symbol aligned with the first symbol, and ts represents a basic time unit.

[0067] In some embodiments, the obtained frequency offset compensated symbols can be averaged every L symbols to obtain the averaged symbol. In some embodiments, L is the window length, which represents the number of symbols in a symbol group. It can be understood that in the communication system, the common communication model is Y=HX+N, where Y represents the received signal, X represents the input signal, H is the channel, and N is the noise, and the noise obeys Gaussian distribution. In PRACH, X can be regarded as the input signal and divided into windows in units of window length, such as L=5. The received signal can be averaged by dividing the received signal by the number of windows after windowing. If it is assumed that the noise N1 and N2 both obey the N(0,1) distribution, when the noise N1 and N2 of the received signal are averaged Obeying N(0,1 / 2), the noise power decreases, thereby achieving the effect of improving the signal-to-noise ratio and achieving noise suppression.

[0068] In some embodiments, L is the window length, and the window length can be set to 5, then L=5 represents that the number of symbols in a symbol group is 5. Use the averaged symbols to estimate the delay. In some embodiments, the data after frequency offset compensation is used, and the symbol group is averaged to calculate the angle difference of adjacent symbol groups. Then the angle differences with the same subcarrier spacing are accumulated. It can be understood that the target signal can be modulated on the subcarrier, and the angle difference with the subcarrier spacing is obtained, and the angle is taken to obtain the phase value. For the case where the subcarrier spacing is 1 and the subcarrier spacing is not 1, separate calculations are required. For the case where the subcarrier spacing is 1, the phase value corresponding to the subcarrier spacing of 1 is directly used to calculate the delay; for the case where the subcarrier spacing is not 1, it is necessary to find the phase value with the smallest difference from the subcarrier spacing of 1 to calculate the delay. Finally, the delay results of all existing subcarrier spacings are accumulated to obtain the time deviation estimate. For the time deviation estimation of the target signal, the signal-to-noise ratio of the signal can be calculated based on the time deviation estimate, so as to compare with the threshold value, thereby detecting the target signal and improving the detection accuracy of the target signal.

[0069] Exemplarily, in step S204, the frequency offset compensated data is processed in symbol groups. All symbol groups of the signal are averaged and then squared to obtain symbol group power (powerSsg). The calculation formula of symbol group power is as follows:

[0070]

[0071] powerSsg(i)=h pre (i)2 i∈[1,n sg ]

[0072] in Indicates the number of symbol groups after frequency offset compensation, which is the data after frequency offset compensation, in symbol groups. Indicates the number of symbols in a symbol group.

[0073] See also Figure 3 In some embodiments, there are multiple symbol groups in the target signal, and step S103 may include steps S301 to S303:

[0074] Step S301, obtaining a preset collision threshold value;

[0075] Step S302, if the symbol group power is less than the collision threshold, determine that the symbol group power is valid;

[0076] Step S303, determining an effective number of effective symbol group powers, accumulating and calculating the effective symbol group powers, and dividing the accumulated number by the effective number to obtain the signal power of the target signal.

[0077] Exemplarily, in step S301, the collision threshold is a threshold for determining whether the symbol group power is valid. By obtaining a preset collision threshold value, the collision threshold value is obtained by multiplying the result obtained by the target parameter according to actual needs or simulation test with the minimum symbol group power, and is used to determine the symbol group power. The calculation formula of the collision threshold is:

[0078] threshold=X*min(powerSsg)

[0079] Where threshold represents the collision threshold, X represents the target parameter, which is the ideal parameter value obtained by simulation based on the actual test environment, and min(powerSsg) represents the minimum symbol group power.

[0080] It can be understood that if the symbol group power is less than the collision threshold value, the symbol group power is judged to be valid and is retained for subsequent calculation of the signal power. If the symbol group power is greater than the collision threshold value, the symbol group power is judged to be invalid and is discarded. By introducing the collision threshold to judge the symbol group power, the valid symbol group power can be retained, and the invalid symbol group power is prevented from being added to the calculation of the signal power, which affects the accuracy of the calculation result.

[0081] Exemplarily, in the process of signal detection, the target signal can be detected by combining threshold 1, threshold 2, threshold 3 and collision threshold. Optionally, the target signal can be detected by combining threshold 1, threshold 2 and collision threshold, or by combining threshold 1, threshold 3 and collision threshold. Any combination of threshold 1, threshold 2, threshold 3 and collision threshold is within the protection scope of the present application, and the embodiments of the present application are not specifically limited here. It can be understood that by combining any signal detection thresholds, the detection accuracy is higher than that of setting only a single threshold, and the detection accuracy of the target signal can be greatly improved through a lower amount of calculation. The target signal can be detected multiple times, and it can be determined whether the target signal is a user signal by comparing it with the threshold value multiple times, thereby improving the accuracy of signal detection.

[0082] Exemplarily, in step S303, the signal power of the target signal can be obtained by accumulating the effective symbol group power and dividing it by the number of effective symbol group powers. The target signal power (powerS) is calculated as follows:

[0083]

[0084] SumpowerSsg=∑powerSsg

[0085] Where SumpowerSsg represents the sum of the power of the symbol groups passing the collision threshold, and Nsgtemp represents the number of symbol groups passing the collision threshold.

[0086] It can be understood that by setting the collision threshold, invalid symbol group power is discarded, which prevents the invalid symbol group power from participating in the calculation of signal power, thereby preventing the accuracy of the obtained signal result from being affected.

[0087] See also Figure 4 In some embodiments, step S301 may include but is not limited to steps S401 to S403:

[0088] Step S401, obtaining target parameters obtained through simulation testing;

[0089] Step S402, determining a target symbol group power among the symbol group powers according to the order of magnitude of the multiple symbol group powers;

[0090] Step S403: multiply the target parameter by the target symbol group power to obtain a collision threshold value.

[0091] Exemplarily, in step S402, the target symbol group power in the symbol group power is the minimum symbol group power obtained by sorting multiple symbol group powers. Optionally, by sorting multiple symbol group powers, the target parameter is set according to actual needs or ideal results obtained by simulation tests.

[0092] Exemplarily, the target parameter is an ideal result obtained according to actual needs or simulation tests. In some embodiments, the target parameter is 32. At this time, the collision threshold value is the product of 32 and the minimum symbol group power. In some embodiments, the target parameter can be 20, 38, etc. Due to different signal transmission environments, the parameter values ​​obtained by simulation experiments are also different. This application does not impose specific restrictions on this. By setting the collision threshold, each symbol group power can be judged. If the symbol group power is less than the collision threshold, it is considered to be a valid symbol group power, and the valid symbol group powers are added up and summed. The sum is divided by the number of symbol groups to calculate the signal power. If the symbol group power is greater than the collision threshold, it is considered to be an invalid symbol group power, which is discarded and the number of symbol groups is reduced by 1.

[0093] In some embodiments, because the effective symbol group power can be determined by setting the collision threshold, the invalid symbol group power can be discarded, which can improve the efficiency of signal detection and the accuracy of signal power calculation.

[0094] In some embodiments, the target symbol group power in the signal power can be determined according to the order of magnitude of multiple symbol group powers, that is, the minimum symbol group power in the signal power, the symbol group power at an intermediate value, or other symbol group powers that need to be determined can be determined in order to perform relevant calculations.

[0095] In some embodiments, the target parameter is multiplied by the target symbol group power to obtain the collision threshold value. In step S403, exemplarily, the target parameter is 32, and the collision threshold value is the product of 32 and the minimum symbol group power. That is, threshold = 32*min(powerSsg), where threshold represents the collision threshold.

[0096] See also Figure 5 In some embodiments, step S104 may include but is not limited to steps S501 to S504:

[0097] Step S501, calculating the signal-to-noise ratio of the target signal according to the signal power;

[0098] Step S502, calculating the signal power ratio of the target signal according to the signal power and the signal power of all target signals;

[0099] Step S503, calculating the symbol group power variation amplitude of the target signal according to the symbol group power variation amplitude;

[0100] Step S504: obtaining signal characteristic information of the target signal according to at least one of the signal-to-noise ratio value, the signal power ratio value and the symbol group power variation amplitude.

[0101] In some embodiments, the signal-to-noise ratio value is the ratio of signal power to noise power. The signal-to-noise ratio value represents the effective value of the signal and noise voltage. Therefore, the higher the signal-to-noise ratio, the better. The signal-to-noise ratio value can be used to detect the target signal. In some embodiments, if the target signal is a user signal, the signal-to-noise ratio value is compared with the threshold value by a preset threshold value. If the signal-to-noise ratio value is greater than the threshold value, the target signal is judged to be a valid user signal. If the signal-to-noise ratio value is less than the threshold value, the target signal is judged to be an invalid user signal.

[0102] In some embodiments, since the signal power on the user side is not much different, the signal power ratio value can be obtained by dividing the signal power of the current signal by the maximum signal power. If the signal power ratio value is less than the preset threshold, it is judged that the user signal is detected. If the signal power ratio value is greater than the preset threshold, it is judged as a non-user signal. By comparing the signal power ratio value with the preset threshold value, the target signal can be effectively judged and the detection accuracy of the target signal can be improved.

[0103] It is understandable that, since the power received by PRACH will change during uplink channel signal transmission, and the power change is a periodic change, interference is likely to occur during signal detection, resulting in inaccurate detection results and reducing the accuracy of signal detection. Therefore, the symbol group power change amplitude of the target signal can be calculated based on the symbol group power change amplitude. If the symbol group power change amplitude of the target signal is less than the preset threshold, it is judged that a user signal is detected. If the symbol group power change amplitude of the target signal is greater than the preset threshold, it is judged as a non-user signal. By comparing the symbol group power change amplitude of the target signal with the preset threshold value, the target signal can be effectively judged and the detection accuracy of the target signal can be improved.

[0104] In some embodiments, signal characteristic information of the target signal is obtained based on at least one of the signal-to-noise ratio value, the signal power ratio value and the symbol group power change amplitude. The target characteristic information can be used to judge the target signal. Exemplarily, the target characteristic information can be used to judge whether the target signal is a user signal. The target characteristic information can be used as a characteristic of the target signal to compare with a preset threshold value to judge whether the target signal is a user signal. Since the target characteristic information represents the characteristics of the signal, the accuracy of signal detection can be improved by introducing the target characteristic information for calculation.

[0105] See also Figure 6 In some embodiments, step S501 may include but is not limited to steps S601 to S606:

[0106] Step S601, obtaining the number of symbols in a symbol group, and obtaining the number of symbol groups of the symbol group;

[0107] Step S602, obtaining a first value according to the difference between the number of symbols and the number of symbol groups, performing conjugate multiplication on the first value to obtain the trace of the matrix, and obtaining a second value;

[0108] Step S603, performing cumulative calculation on the first value and the second value, and obtaining a third value according to the accumulated real part;

[0109] Step S604, obtaining the product of the number of symbols, the number of symbol groups and the number of antennas connected to the radio frequency channel to obtain a fourth value;

[0110] Step S605, obtaining the noise power of the target signal by dividing the third value by the fourth value;

[0111] Step S606: Calculate the signal-to-noise ratio of the target signal according to the signal power and the noise power.

[0112] In some embodiments, there are multiple communication signals in the radio frequency channel, the target signal is any one of the multiple communication signals, and each communication signal has signal power.

[0113] In some embodiments, the effective number of symbols and the number of symbol groups can be obtained through the determination of step S302. It can be understood that the first value is the difference between the number of symbols and the number of symbol groups. In some embodiments, the number of symbols is the number of symbols obtained after frequency offset compensation, which is the data obtained after frequency offset compensation, and the number of symbol groups is the number of symbol groups obtained after frequency offset compensation, which is the data obtained after frequency offset compensation. Therefore, the first value can also be the difference between the data obtained after frequency offset compensation for symbols and the data obtained after frequency offset compensation for symbol groups.

[0114] In some embodiments, the second value may be the trace of a matrix obtained by conjugate multiplication of the first value; in some embodiments, the first value and the second value are cumulatively calculated, and the real part of the sum is taken as the third value; in some embodiments, the fourth value is the product of the number of symbols, the number of symbol groups and the number of antennas connected to the radio frequency channel. In some embodiments, the noise power can be obtained by dividing the third value by the fourth value. In some embodiments, the symbol group and the number of symbol groups are obtained by obtaining the effective symbol group power through the collision threshold in some embodiments of the present application, and thereby determining which symbols and symbol groups are effective and retaining the effective symbols and symbol groups.

[0115] In some embodiments, because the effective symbol group power can be determined by setting the collision threshold, the invalid symbol group power can be discarded, which can improve the efficiency of signal detection and the accuracy of noise power calculation.

[0116] Exemplarily, the noise power calculation formula of the target signal is:

[0117]

[0118]

[0119]

[0120] In the formula, is the data after symbol number frequency offset compensation, is the data after the symbol group average frequency offset compensation, accpowerNi is the trace of the matrix, powerNi is the noise power, temp represents the first value, trace(temp*temp') represents the second value, real(accpowerNi) represents the third value, Represents the fourth value.

[0121] In some embodiments, the noise power may be calculated in other ways, and the embodiments of the present application do not impose any specific limitation on this.

[0122] Exemplarily, in step S501, the formula for calculating the signal-to-noise ratio of the target signal is:

[0123]

[0124] Wherein PowerS is the signal power. The calculation method of the signal power has been introduced in the embodiment of the present application and will not be repeated here. PowerNI is the noise power.

[0125] It can be understood that by calculating the signal-to-noise ratio and comparing the signal-to-noise ratio value with a preset threshold value, the target signal can be effectively judged and the detection accuracy of the target signal can be improved.

[0126] In some embodiments, the frequency offset estimation value and the time offset estimation value can also be used to compensate the LS channel estimation value, aligned to the same symbol and subcarrier position, the compensated channel estimation values ​​are merged, and the merged channel estimation values ​​are used to calculate the signal power and noise power, thereby obtaining the signal-to-noise ratio value.

[0127] In some embodiments, threshold 1 is obtained according to parameters preset by the user, or calculated based on the frequency offset estimation value, and the signal-to-noise ratio value is compared with threshold 1 to perform random access signal detection, and the signal is detected when the signal-to-noise ratio estimation value exceeds threshold 1. It is understandable that threshold 1 is an ideal numerical result obtained through actual simulation testing. It is understandable that the above-mentioned acquisition of threshold 1 is only used as an embodiment, and does not represent a limitation on the embodiments of the present application, and threshold 1 can also be calculated by other network parameters.

[0128] In some embodiments, the detection accuracy of the signal can be improved by detecting the target signal with a threshold pair.

[0129] See also Figure 7 In some embodiments, step S502 may include but is not limited to steps S701 to S702:

[0130] Step S701, determining a maximum signal power among the signal powers according to the order of magnitude of the signal powers corresponding to the plurality of communication signals;

[0131] Step S702: Divide the signal power of the target signal by the maximum signal power to calculate a signal power ratio of the target signal.

[0132] In some embodiments, the signal powers corresponding to the plurality of communication signals are sorted to determine the maximum signal power, the minimum signal power, the intermediate signal power, etc., for subsequent calculations.

[0133] It is understandable that the signal power of the target signal may be the signal power of the current signal. Since the signal power on the user side is not much different, the signal power ratio value may be obtained by dividing the signal power of the current signal by the maximum signal power. In some embodiments, the maximum signal power may be obtained by summing the power of the symbol groups of the current signal and dividing the result by the number of symbol groups. The calculated ratio value is then compared with a preset threshold value, where the preset threshold value is an ideal threshold value obtained by performing actual simulation tests.

[0134] Exemplarily, in step S502, the signal power ratio value (Ratio(i)) of the target signal is calculated as follows:

[0135]

[0136]

[0137] Where PowerSsg is the symbol group power.

[0138] In some embodiments, the ideal value obtained by the actual simulation test is used as the threshold 2. Exemplarily, the preset threshold 2 is 0.01, that is, when the signal power ratio of the target signal is less than 20 decibels, it is judged that the user signal is detected. If the calculated ratio is greater than 20 decibels, it is judged as a non-user signal. In some embodiments, the preset threshold value can be 10 decibels or 30 decibels. The specific preset threshold value is an ideal value obtained according to the actual simulation test, and can also be adjusted as needed, without specific restrictions. By calculating the signal power ratio of the target signal to judge the target signal, the accuracy of the target signal detection can be improved. In other words, by calculating the signal power ratio of the target signal to judge the target signal, the accuracy of the user signal detection can be improved, and the occurrence of false detection and missed detection can be reduced.

[0139] In some embodiments, according to the order of signal powers corresponding to multiple communication signals, the maximum signal power among the signal powers can be determined, and the minimum signal power among the signal powers, the signal power at an intermediate value, or other signal powers that need to be determined can also be determined in order to perform relevant calculations.

[0140] See also Figure 8 In some embodiments, step S503 may include but is not limited to steps S801 to S804:

[0141] Step S801, obtaining the number of repetitions of target signal transmission;

[0142] Step S802, obtaining the maximum symbol group power and the minimum symbol group power in each repetition number of symbol group power transmissions;

[0143] Step S803, accumulating and calculating a plurality of maximum symbol group powers according to the number of repetitions to obtain a first value, and accumulating and calculating a plurality of minimum symbol group powers according to the number of repetitions to obtain a second value;

[0144] Step S804: Divide the first value by the second value to calculate the symbol group power variation amplitude of the target signal.

[0145] Exemplarily, if the target signal is a user signal, when the user signal is transmitted in the uplink channel, the user signal is relatively stable and the amplitude fluctuation is very small, so it can be determined whether it is a user signal by the amplitude fluctuation of the symbol group power of the target signal.

[0146] In some embodiments, if the number of repetitions of the target signal transmission is 1, a maximum symbol group power and a minimum symbol group power are obtained when the symbol group power is transmitted when the number of repetitions is 1. At this time, the first value is a maximum symbol group power value, and the second value is a minimum symbol group power value. The calculation result is obtained by dividing the first value by the second value. The calculation result is compared with a preset threshold value. If the result is less than the preset threshold value, it is determined to be a target signal; if the result is greater than the preset threshold value, it is determined to be a non-user signal.

[0147] In some embodiments, if the number of repetitions of the target signal transmission is 2, the 2 maximum symbol group powers and 2 minimum symbol group powers of the symbol group power transmitted when the number of repetitions is 2 are obtained. At this time, the first value is the sum of the 2 maximum symbol group power values, and the second value is the sum of the 2 minimum symbol group power values. The calculation result is obtained by dividing the first value by the second value. The calculation result is compared with the preset threshold value. If the result is less than the preset threshold value, it is judged as a target signal; if the result is greater than the preset threshold value, it is judged as a non-user signal.

[0148] It is understandable that the number of repetitions refers to the number of repetitions sent by PRACH, which is obtained through the system information block (SIB) of the base station. The threshold value preset here is an ideal threshold value obtained by performing actual simulation tests. In some embodiments, the number of repetitions sent by the target signal can be 4 times, 8 times or more. By judging the amplitude fluctuation size of the target signal, user signals and non-user signals can be effectively detected, thereby improving the accuracy of signal detection.

[0149] In some embodiments, the calculation formula of the symbol group power variation amplitude (PowerSsgRatio) of the target signal in step S804 is:

[0150]

[0151] In some embodiments, PowerSsgRatio is the power variation amplitude of the symbol group, Rep is the number of repetitions, and PowerSsgSort is the power of the symbol group after descending order, so the first two are the maximum symbol group power values, and the last two are the minimum symbol group power values. Finally, the calculated result is compared with the preset threshold three. If it is less than the preset threshold three, it is considered that the fluctuation is small and it is judged as a user. If it is greater than the threshold three, it is considered that the fluctuation is large and it is judged as a non-user. By setting the threshold three, it can be effectively avoided that the power received by PRACH will change during the uplink channel signal transmission, and the periodic change of the power change will cause interference during signal detection, which can make the detection result more accurate and improve the accuracy of signal detection.

[0152] Reference Fig. 9 The following is a general description of the overall scheme of the signal detection method implementation process in the embodiment of the present application:

[0153] First, a target signal is obtained from the radio frequency channel. In some embodiments, the target signal is a baseband time domain signal. The time domain signal is de-cyclically prefixed and a frequency domain signal of the received signal is obtained through Fourier transformation.

[0154] Afterwards, frequency offset estimation is performed on the symbol group using multiple symbols in each symbol group to obtain a frequency offset estimation value, and an average value of the frequency offset estimation values ​​of all symbol groups is obtained to obtain an average frequency offset estimation value.

[0155] The symbols in each symbol group are compensated for frequency offset and estimated for time offset by averaging the estimated value of frequency offset. After that, the symbol group after frequency offset compensation is averaged and squared to obtain the symbol group power. The collision threshold is then calculated by the symbol group power, and the valid symbol group power and invalid symbol group power are determined by the collision threshold. If the symbol group power is less than the collision threshold, it is considered to be a valid symbol group power and the valid symbol group power is retained; if the symbol group power is greater than the collision threshold, it is considered to be an invalid symbol group power and the invalid symbol group power is discarded.

[0156] Afterwards, the signal power and noise power are calculated to obtain the signal-to-noise ratio of the target signal. The obtained signal-to-noise ratio value is compared with the preset threshold one. If the signal-to-noise ratio value is less than threshold one, it is judged as a non-user signal and discarded, and the judgment ends; if the signal-to-noise ratio value is greater than threshold one, it is retained and preliminarily judged as a user signal detected, and the next step of calculation is performed.

[0157] According to the order of signal powers corresponding to multiple signals, determine the maximum signal power among the signal powers; divide the signal power of the target signal by the maximum signal power to calculate the signal power ratio of the target signal. Compare the signal power ratio of the target signal with the preset threshold 2. If the signal power ratio is greater than the threshold 2, it is judged as a non-user signal and discarded, and the judgment ends; if the signal power ratio is less than the threshold 2, it is retained and judged as a user signal detected, and the next calculation is performed.

[0158] Obtain the number of repetitions of the target signal transmission; obtain the maximum symbol group power and the minimum symbol group power of the symbol group power in each repetition transmission; cumulatively calculate multiple maximum symbol group powers according to the number of repetitions to obtain a first value, and cumulatively calculate multiple minimum symbol group powers according to the number of repetitions to obtain a second value; divide the first value by the second value to calculate the symbol group power change amplitude of the target signal. Compare the symbol group power change amplitude of the target signal with the preset threshold three. If the symbol group power change amplitude ratio is greater than the threshold three, it is judged as a non-user signal, discarded, and the judgment ends; if the symbol group power change amplitude is less than the threshold three, it is retained, and it is judged as the target signal is detected, and the judgment ends.

[0159] It is understandable that the embodiments of the present application increase the threshold of signal detection by setting a collision threshold and threshold two and threshold three in combination with threshold one of the related technology, effectively reduce the occurrence of false detection and missed detection, and improve the accuracy of signal detection. In some embodiments, threshold one can be combined with threshold two plus a collision threshold to judge the target signal, threshold one can be combined with threshold three plus a collision threshold to judge the target signal, threshold one can be combined with threshold two and threshold three plus a collision threshold to judge the target signal, and the embodiments of the present application do not limit this. Through arbitrary combinations of multiple thresholds, different thresholds can be selected to judge the signal according to needs and actual conditions, thereby improving the accuracy of signal detection.

[0160] The above description of an embodiment of the overall solution has at least the following beneficial effects: by setting multiple threshold values ​​to detect the target signal, it is possible to avoid the situation where a single threshold value does not fully detect the target signal, reduce the probability of false detection and missed detection of the channel, and improve the detection accuracy of the target signal.

[0161] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first. For example, before obtaining the target signal in the embodiment of the present application, the user's consent is required; for example, when obtaining the user's stored data and the user's cache data access request, the user's permission or consent will be obtained first. Moreover, the collection, use and processing of these data will comply with the relevant laws, regulations and standards of the relevant countries and regions. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or separate consent will be obtained through a pop-up window or jump to a confirmation page. After clearly obtaining the user's separate permission or separate consent, the necessary user-related data used to enable the normal operation of the embodiment of the present application is obtained.

[0162] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above signal detection method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0163] See also Fig.10 , Fig.10 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0164] The processor 1001 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0165] The memory 1002 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1002, and the processor 1001 calls and executes the signal detection method of the embodiment of this application;

[0166] Input / output interface 1003, used to implement information input and output;

[0167] The communication interface 1004 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);

[0168] A bus 1005 , which transmits information between various components of the device (e.g., the processor 1001 , the memory 1002 , the input / output interface 1003 , and the communication interface 1004 );

[0169] The processor 1001 , the memory 1002 , the input / output interface 1003 and the communication interface 1004 are connected to each other in communication within the device via the bus 1005 .

[0170] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned signal detection method is implemented.

[0171] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0172] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0173] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0174] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0175] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0176] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0177] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0178] In the several embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0179] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0180] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0181] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0182] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A signal detection method, characterized in that: The method comprises: Acquire target signal from RF channel; Acquire a symbol group in the target signal, and calculate the symbol group power of the symbol group; there are multiple symbol groups in the target signal; Obtaining a preset collision threshold value; if the symbol group power is less than the collision threshold value, determining that the symbol group power is valid; determining an effective number of the effective symbol group powers, accumulating and calculating the effective symbol group powers, and dividing by the effective number to obtain the signal power of the target signal; Calculating a signal-to-noise ratio value of the target signal according to the signal power of the target signal; Determine the maximum signal power among the signal powers according to the order of magnitude of the signal powers corresponding to the multiple signals, and divide the signal power of the target signal by the maximum signal power to obtain a signal power ratio of the target signal; Calculating a symbol group power variation amplitude of the target signal according to the symbol group power variation amplitude; Obtaining signal characteristic information of the target signal according to at least one of the signal-to-noise ratio value, the signal power proportion value, and the symbol group power variation amplitude; The signal characteristic information is compared with a preset threshold value, and a detection result of the target signal is obtained according to the comparison result; wherein the detection result is a result of determining whether the target signal is a user signal.

2. The signal detection method according to claim 1, characterized in that: There are multiple symbol groups in the target signal, and obtaining the symbol groups in the target signal and calculating the symbol group powers of the symbol groups includes: Acquire a symbol group in the target signal, and perform frequency offset estimation on the symbol group using a plurality of symbols in each of the symbol groups to obtain a frequency offset estimation value; Obtaining an average value of the frequency offset estimation values ​​of all the symbol groups to obtain an average frequency offset estimation value; Performing frequency offset compensation on the symbols in each of the symbol groups by using the average frequency offset estimation value; The symbol group after frequency offset compensation is averaged and squared to obtain symbol group power.

3. The signal detection method according to claim 1, characterized in that: The obtaining of a preset collision threshold value includes: Obtain target parameters through simulation testing; Determining a target symbol group power among the symbol group powers according to a magnitude order of the plurality of symbol group powers; The target parameter is multiplied by the target symbol group power to obtain a collision threshold value.

4. The signal detection method according to claim 1, characterized in that: The calculating the signal-to-noise ratio value of the target signal according to the signal power includes: obtaining the number of symbols in the symbol group, and obtaining the number of symbol groups of the symbol group; Obtain a first value according to a difference between the number of symbols and the number of symbol groups, and perform conjugate multiplication on the first value to obtain a matrix trace to obtain a second value; Accumulate the first value and the second value to obtain a third value according to the accumulated real parts; Obtain a fourth value by multiplying the number of symbols, the number of symbol groups, and the number of antennas connected to the radio frequency channel; Obtaining the noise power of the target signal by dividing the third value by the fourth value; A signal-to-noise ratio value of the target signal is calculated according to the signal power and the noise power.

5. The signal detection method according to claim 1, characterized in that: There are multiple communication signals in the radio frequency channel, the target signal is any one of the multiple communication signals, and each of the communication signals has signal power; The calculating the signal power ratio of the target signal according to the signal power and the signal powers of all the target signals includes: Determining a maximum signal power among the signal powers according to the order of magnitude of the signal powers corresponding to the plurality of communication signals; The signal power of the target signal is divided by the maximum signal power to calculate a signal power ratio of the target signal.

6. The signal detection method according to claim 1, characterized in that: The calculating, according to the variation amplitude of the symbol group power, to obtain the symbol group power variation amplitude of the target signal comprises: Obtaining the number of repetitions of sending the target signal; Obtaining the maximum symbol group power and the minimum symbol group power for the number of repetitions of the symbol group power in each repeated transmission; Accumulating and calculating the multiple maximum symbol group powers according to the number of repetitions to obtain a first value, and accumulating and calculating the multiple minimum symbol group powers according to the number of repetitions to obtain a second value; The first value is divided by the second value to calculate the symbol group power change amplitude of the target signal.

7. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the signal detection method according to any one of claims 1 to 6 when executing the computer program.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the signal detection method according to any one of claims 1 to 6 is implemented.