CN109474359B - Frequency sweeping method, terminal equipment and storage medium - Google Patents

Frequency sweeping method, terminal equipment and storage medium Download PDF

Info

Publication number
CN109474359B
CN109474359B CN201710806431.0A CN201710806431A CN109474359B CN 109474359 B CN109474359 B CN 109474359B CN 201710806431 A CN201710806431 A CN 201710806431A CN 109474359 B CN109474359 B CN 109474359B
Authority
CN
China
Prior art keywords
frequency
freq
frequency point
freqpointset
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710806431.0A
Other languages
Chinese (zh)
Other versions
CN109474359A (en
Inventor
贾有朋
黄剑华
谢鑫
徐兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Telecommunications Technology CATT
Datang Mobile Communications Equipment Co Ltd
Original Assignee
China Academy of Telecommunications Technology CATT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Academy of Telecommunications Technology CATT filed Critical China Academy of Telecommunications Technology CATT
Priority to CN201710806431.0A priority Critical patent/CN109474359B/en
Priority to PCT/CN2018/090493 priority patent/WO2019047578A1/en
Publication of CN109474359A publication Critical patent/CN109474359A/en
Application granted granted Critical
Publication of CN109474359B publication Critical patent/CN109474359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/336Signal-to-interference ratio [SIR] or carrier-to-interference ratio [CIR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Security & Cryptography (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a frequency sweeping method and terminal equipment, which are used for solving the technical problem that an NB-IoT terminal has longer frequency sweeping time in the prior art. The frequency sweeping method comprises the following steps of based on the bandwidth to be sweptDetermining a first frequency point set FreqPointSet, wherein the first FreqPointSet comprises NFreqIndividual frequency point, NFreqIs an integer of 1 or more; sweeping the frequency of the first FreqPointSet in a first frequency sweeping mode; the first frequency scanning mode is used for determining a frequency point where a cell with a signal-to-noise ratio (SNR) greater than a first SNR threshold is located; if the target cell is not detected at any frequency point of the first FreqPointSet, carrying out frequency sweeping on a second FreqPointSet in the first FreqPointSet in a second frequency sweeping mode; the second frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than the second SNR threshold is located, the first SNR threshold is larger than the second SNR threshold, and the second FreqPointSet comprises MFreqIndividual frequency point, MFreqIs less than or equal to NFreqIs a positive integer of (1).

Description

Frequency sweeping method, terminal equipment and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a frequency sweeping method and terminal equipment.
Background
The receiving signal of a narrowband Internet of Things (NB-IoT) terminal and the sending signal of a base station need to be on the same frequency point, that is, the NB-IoT terminal needs to sweep frequency of all frequency points of a bandwidth to be swept, until a target cell is detected on a certain frequency point. Frequency points are typically detected using a metric value based on correlation of Narrowband Primary Synchronization Signals (NPSS).
Assuming that the sweep frequency bandwidth is 100MHz, each 0.1MHz corresponds to a sweep frequency point, the NB-IoT terminal needs to sweep 1000 frequency points in total, receive sampling data 10ms for 60 times for each frequency point, and merge measurement values related to NPSS within 60 times, 10ms, that is, 600ms, that is, 10 minutes, for each frequency point, so that the sweep frequency time required for the sweep frequency bandwidth of 100MHz is 600s, that is, 10 minutes. The sweep time for the NB-IoT terminal may be longer if the sweep bandwidth is larger.
In the prior art, no matter what SNR of the target cell is, the NB-IoT terminal needs the same frequency sweeping time, for example, if the SNR of the target cell is-12.6 dB, the whole frequency sweeping process needs 10 minutes; if the SNR of the target cell is 0dB, the whole frequency sweeping process still needs 10 minutes; if the SNR of the target cell is 12.6dB, the whole frequency sweeping process still needs 10 minutes, and the like, which results in a long frequency sweeping time of the NB-IoT terminal.
In summary, the technical problem of long sweep time of the NB-IoT terminal exists in the prior art.
Disclosure of Invention
The embodiment of the invention provides a frequency sweeping method and terminal equipment, which are used for solving the technical problem that an NB-IoT terminal has longer frequency sweeping time in the prior art.
In a first aspect, an embodiment of the present invention provides a frequency sweeping method, including:
determining a first frequency point set FreqPointSet based on a bandwidth to be swept, wherein the first FreqPointSet comprises N _ Freq frequency points, and the N _ Freq is an integer greater than or equal to 1;
sweeping the frequency of the first FreqPointSet in a first frequency sweeping mode; the first frequency scanning mode is used for determining a frequency point where a cell with a signal-to-noise ratio (SNR) greater than a first SNR threshold is located;
if no target cell is detected at any frequency point of the first FreqPointSet, performing frequency sweeping on a second FreqPointSet in the first FreqPointSet in a second frequency sweeping mode; the second frequency sweeping mode is used for determining a frequency point where a cell with an SNR larger than a second SNR threshold is located, the first SNR threshold is larger than the second SNR threshold, the second FreqPointSet comprises M _ Freq frequency points, and M _ Freq is a positive integer smaller than or equal to N _ Freq.
In a possible implementation manner, if the first frequency scanning manner indicates that at most N are received for each frequency point in the first FreqPointSetFrameSub-sampled data, NFrameIf the frequency is an integer greater than or equal to 1, the frequency sweeping of the first FreqPointSet by adopting a first frequency sweeping mode includes:
for the ith in the first FreqPointSetFreqIndividual frequency point, receive jFrameSub-sampled data, the sampled data including a narrowband primary synchronization signal NPSS parameter, iFreqSequentially takes values from 1 to NFreqIs an integer of (a), said jFrameSequentially takes values from 1 to NFrameAn integer of (d);
based on the jFrameCorresponding metric value of sub-sampling data and front (j)Frame-1) determining the metric value corresponding to each of the sub-sampled data at reception of the jth dataFrameWhen sub-sampling the data, the ithFreqMetric value n corresponding to each frequency pointi_Freq
Based on the metric value ni_FreqJudging the ithFreqWhether the target cell exists on each frequency point or not is judged, and if yes, the whole frequency sweeping process is ended; otherwise, start to the (i) thFreq+1) frequency sweep of frequency points.
In a possible implementation, the value n is based on the metrici_FreqJudging the ithFreqWhether the target cell exists on each frequency point comprises the following steps:
judging the metric value ni_FreqWhether greater than the metric threshold Th1nObtaining a first judgment result;
if the first judgment result is yes, continuing to judge the metric value ni_FreqWhether greater than the metric threshold Th2nObtaining a second judgment result, and determining the ith judgment result based on the second judgment resultFreqWhether the target cell exists on each frequency point or not; wherein the metric value threshold Th2nGreater than the metric value threshold Th1n
If the first judgment result is negative, determining the jFrameIs equal to said NFrameThen the metric value n is measuredi_FreqSet to zero and start to the (i) thFreq+1) frequency points, or during the determination of said jFrameLess than said NFrameThen, receive the (j) thFrame+1) th sample data and determines that the (j) th sample data is receivedFrame+1) sub-sampling of data, the ithFreqAnd measuring values corresponding to the frequency points.
In a possible implementation manner, the determining the ith determination based on the second determination resultFreqWhether the target cell exists on each frequency point comprises the following steps:
if the second judgment result is yes, the system is verifiedThe above-mentioned iFreqSynchronous detection is carried out on each frequency point, the synchronous detection comprises NPSS detection, narrowband auxiliary synchronous signal NSSS detection and narrowband physical broadcast signal NPBCH detection, and if the ith frequency point is determined to be the ith frequency pointFreqIf the frequency points are the frequency points of the target cell, ending the whole frequency sweeping process; otherwise, the ith stepFreqMetric value n corresponding to each frequency pointi_FreqSetting zero; or
If the second judgment result is negative, recording the ith judgment resultFreqMetric value n corresponding to each frequency pointi_Freq
In a possible implementation manner, after the frequency sweeping of the first FreqPointSet by using the first frequency sweeping manner, the method includes:
based on the NFreqN corresponding to each frequency pointFreqA number of measurement values ni_FreqTo said NFreqEach frequency point is according to NFreqA number of measurement values ni_FreqSorting from big to small, determining N after sortingFreqFirst N in individual frequency pointsortFrequency points;
sequentially to the front NsortEach frequency point in each frequency point carries out synchronous detection, the synchronous detection comprises NPSS detection, NSSS detection and NPBCH detection, if the first N is determinedsortIf any frequency point in the frequency points is the frequency point of the target cell, ending the whole frequency sweeping process; otherwise, adopting a second frequency sweeping mode to sweep the frequency of the second FreqPointSet.
In a possible implementation manner, the second FreqPointSet does not include the frequency point after the synchronous detection in the first FreqPointSet, and the corresponding metric value n is recordedi_FreqThe frequency point of (c).
In a possible implementation manner, the second frequency sweeping manner indicates that at most M is received for each frequency point in the second FreqPointSetFrameSub-sampled data, said MFrameEach of the sub-sampled data corresponds to a metric value associated with the NPSS parameter, MFrameGreater than NFrame
In a possible implementation manner, after a second frequency sweeping manner is adopted to sweep a second FreqPointSet in the first FreqPointSet, the method further includes:
if the target cell is not detected at any frequency point of the second FreqPointSet, performing frequency sweeping on a third FreqPointSet in the second FreqPointSet in a third frequency sweeping mode; the third frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than a third threshold is located, the second threshold is larger than the third threshold, and the third frequency sweeping mode indicates that at most W is received for each frequency point in the third FreqPointSetFrameSub-sampled data, said WFrameGreater than MFrame
In a second aspect, an embodiment of the present invention provides a terminal device, including:
a determining module, configured to determine a first frequency point set FreqPointSet based on a bandwidth to be swept, where the first FreqPointSet includes NFreqIndividual frequency point, NFreqIs an integer of 1 or more;
the frequency sweeping module is used for sweeping the frequency of the first FreqPointSet in a first frequency sweeping mode; the first frequency scanning mode is used for determining a frequency point where a cell with a signal-to-noise ratio (SNR) greater than a first SNR threshold is located;
the detection module is used for sweeping frequency of a second FreqPointSet in the first FreqPointSet in a second frequency sweeping mode if a target cell is not detected at any frequency point of the first FreqPointSet; the second frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than a second SNR threshold is located, the first SNR threshold is larger than the second SNR threshold, and the second FreqPointSet comprises MFreqIndividual frequency point, said MFreqIs less than or equal to the NFreqIs a positive integer of (1).
In a possible implementation manner, if the first frequency scanning manner indicates that at most N are received for each frequency point in the first FreqPointSetFrameSub-sampled data, NFrameThe sweep frequency module is an integer greater than or equal to 1 and is used for:
for the first FreqPointSeI in tFreqIndividual frequency point, receive jFrameSub-sampled data, the sampled data including a narrowband primary synchronization signal NPSS parameter, iFreqSequentially takes values from 1 to NFreqIs an integer of (a), said jFrameSequentially takes values from 1 to NFrameAn integer of (d);
based on the jFrameCorresponding metric value of sub-sampling data and front (j)Frame-1) determining the metric value corresponding to each of the sub-sampled data at reception of the jth dataFrameWhen sub-sampling the data, the ithFreqMetric value n corresponding to each frequency pointi_Freq
Based on the metric value ni_FreqJudging the ithFreqWhether the target cell exists on each frequency point or not is judged, and if yes, the whole frequency sweeping process is ended; otherwise, start to the (i) thFreq+1) frequency sweep of frequency points.
In one possible implementation, the frequency sweep module is configured to:
judging the metric value ni_FreqWhether greater than the metric threshold Th1nObtaining a first judgment result;
if the first judgment result is yes, continuing to judge the metric value ni_FreqWhether greater than the metric threshold Th2nObtaining a second judgment result, and determining the ith judgment result based on the second judgment resultFreqWhether the target cell exists on each frequency point or not; wherein the metric value threshold Th2nGreater than the metric value threshold Th1n
If the first judgment result is negative, determining the jFrameIs equal to said NFrameThen the metric value n is measuredi_FreqSet to zero and start to the (i) thFreq+1) frequency points, or during the determination of said jFrameLess than said NFrameThen, receive the (j) thFrame+1) th sample data and determines that the (j) th sample data is receivedFrame+1) sub-sampling of data, the ithFreqAnd measuring values corresponding to the frequency points.
In one possible implementationThe frequency sweep module is used for: if the second judgment result is yes, the ith judgment result is judged to be the second judgment resultFreqSynchronous detection is carried out on each frequency point, the synchronous detection comprises NPSS detection, narrowband auxiliary synchronous signal NSSS detection and narrowband physical broadcast signal NPBCH detection, and if the ith frequency point is determined to be the ith frequency pointFreqIf the frequency points are the frequency points of the target cell, ending the whole frequency sweeping process; otherwise, the ith stepFreqMetric value n corresponding to each frequency pointi_FreqSetting zero; or
If the second judgment result is negative, recording the ith judgment resultFreqMetric value n corresponding to each frequency pointi_Freq
In one possible implementation, the detection module is configured to:
based on the NFreqN corresponding to each frequency pointFreqA number of measurement values ni_FreqTo said NFreqEach frequency point is according to NFreqA number of measurement values ni_FreqSorting from big to small, determining N after sortingFreqFirst N in individual frequency pointsortFrequency points;
sequentially to the front NsortEach frequency point in each frequency point carries out synchronous detection, the synchronous detection comprises NPSS detection, NSSS detection and NPBCH detection, if the first N is determinedsortIf any frequency point in the frequency points is the frequency point of the target cell, ending the whole frequency sweeping process; otherwise, adopting a second frequency sweeping mode to sweep the frequency of the second FreqPointSet.
In a possible implementation manner, the second FreqPointSet does not include the frequency point after the synchronous detection in the first FreqPointSet, and the corresponding metric value n is recordedi_FreqThe frequency point of (c).
In a possible implementation manner, the second frequency sweeping manner indicates that at most M is received for each frequency point in the second FreqPointSetFrameSub-sampled data, said MFrameEach of the sub-sampled data corresponds to a metric value associated with the NPSS parameter, MFrameGreater than NFrame
In one possible implementation, the frequency sweep module is further configured to:
after a second FreqPointSet in the first FreqPointSet is swept in a second frequency sweeping mode, if the target cell is not detected at any frequency point of the second FreqPointSet, sweeping a third FreqPointSet in the second FreqPointSet in a third frequency sweeping mode; the third frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than a third threshold is located, the second threshold is larger than the third threshold, and the third frequency sweeping mode indicates that at most W is received for each frequency point in the third FreqPointSetFrameSub-sampled data, said WFrameGreater than MFrame
In a third aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes:
at least one processor, and
a memory communicatively coupled to the at least one processor, a communication interface;
wherein the memory stores instructions executable by the at least one processor, the at least one processor performing the method of the first aspect with the communication interface by executing the instructions stored by the memory.
In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the method according to the first aspect.
One or more of the above technical solutions have the following technical effects or advantages:
the frequency sweeping method provided by the embodiment of the invention firstly adopts a first frequency sweeping mode to sweep frequency for a first FreqPointSet corresponding to a bandwidth to be swept, the first frequency sweeping mode is used for determining a frequency point where a cell with a signal-to-noise ratio (SNR) larger than a first SNR threshold value is located, if a target cell is not detected at any frequency point of the first FreqPointSet, then a second frequency sweeping mode is adopted to sweep frequency for a second FreqPointSet in the first FreqPointSet, the second frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than the second SNR threshold is located, the first SNR threshold is larger than the second SNR threshold, when the frequency sweeping mode determines that the SNR is in a target cell with any SNR range, multiple frequency sweeping modes can be adopted, the condition that only the same frequency sweeping mode is adopted no matter whether the frequency sweeping is used for determining the target cell with high SNR or low SNR is avoided, the frequency of sampling data which needs to be received when each frequency point is swept to determine the target cell with high SNR is reduced, and therefore the frequency sweeping time is shortened.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a main flow of a frequency sweeping method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a frequency sweeping method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a specific flow of a frequency sweeping method in an actual application according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
First, the general idea of the embodiment of the present invention is described as follows.
In order to enable the signals received by the terminal equipment and the signals sent by the base station to be located on the same frequency point, and the terminal equipment does not know the frequency point on which the target cell is located in advance, the terminal equipment is required to sweep frequency of each frequency point of the bandwidth to be swept in sequence so as to detect the target cell on a certain frequency point, and thus the frequency point is determined to be the target frequency point.
In view of the above, an embodiment of the present invention provides a frequency sweeping method, please refer to fig. 1, which is a main flow diagram of the frequency sweeping method according to the embodiment of the present invention. As shown in fig. 1, for different SNR gears, different sampling data receiving times may be set in the embodiment of the present invention, where the sampling data may be data with a length of 10ms, a bandwidth of 240kHz, and a sampling rate of 240kHz and including NPSS parameters, and of course, the parameters of the sampling data, such as the length, the bandwidth, and the sampling rate, may be defined according to practical applications.
In fig. 1, if the terminal device performs frequency sweeping by using a frequency sweeping manner corresponding to frequency sweeping 10, the frequency point where the cell with SNR greater than AdB is located may be swept, and for each frequency point, the terminal device receives a times of sampling data; if the terminal device performs frequency sweeping by adopting a frequency sweeping mode corresponding to the frequency sweeping 11, the frequency point where the cell with the SNR larger than BdB is located can be swept, and in the frequency sweeping mode, the terminal device can accumulatively receive b times of sampling data for each frequency point; if the terminal equipment performs frequency sweeping by adopting a frequency sweeping mode corresponding to the frequency sweeping mode 12, frequency points where cells with SNR (signal to noise ratio) higher than CdB are located can be swept, and for each frequency point, the terminal equipment can accumulatively receive c times of sampling data; if the terminal device performs frequency sweeping by adopting a frequency sweeping mode corresponding to the frequency sweeping mode 13, the frequency point where the cell with the SNR greater than DdB is located can be swept, and for each frequency point, the terminal device can accumulatively receive D times of sampling data and the like, wherein a, B, C and D are integers greater than or equal to 1, a < B < C < D, A, B, C and D are SNR values, and A > B > C > D.
For example, if a is 0, B is-6.6, C is-10.6, and D is-12.6, then a may be 1, B may be 10, C may be 30, and D may be 60. The number of times of receiving the sampling data for each frequency point can be set according to the minimum value of the range of the SNR, the larger the minimum value of the range of the SNR is, the smaller the number of times of receiving the sampling data for each frequency point is, the smaller the minimum value of the range of the SNR is, and the more the number of times of receiving the sampling data for each frequency point is.
When frequency sweeping is performed on a bandwidth to be swept, please refer to fig. 1, the terminal device may first perform frequency sweeping in a frequency sweeping manner corresponding to the frequency sweeping 10, and if an effective frequency point is scanned, that is, a target cell may exist on the frequency point, may sequentially perform synchronous detection on the effective frequency point in a detection manner such as NPSS detection, Narrowband auxiliary Synchronization Signal (NSSS) detection, Narrowband Physical Broadcast Signal (NPBCH) detection, and the like, and if the detection is successful, may determine that the effective frequency point is the target frequency point where the target cell is located, and perform frequency sweeping successfully; if the detection fails, the terminal equipment can continue to perform frequency sweeping by adopting a frequency sweeping mode corresponding to the frequency sweeping 11, similarly, if effective frequency points are scanned, one or more of detection modes such as NPSS, NSSS and NPBCH can be adopted to detect the effective frequency points, and if the detection is successful, the effective frequency points are determined to be target frequency points where target cells are located, and the frequency sweeping is successful; if the detection fails, the terminal device may continue to perform frequency sweeping in a frequency sweeping manner corresponding to the frequency sweeping 12.
It should be noted that if the terminal device still fails to detect in the frequency sweeping manner corresponding to the frequency sweeping 13, other frequency sweeping manners may be adopted to continue the frequency sweeping, and several frequency sweeping manners may be adopted according to actual situations, and fig. 1 is only schematic and is not limited.
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Example one
Referring to fig. 2, an embodiment of the present invention provides a frequency sweeping method, which can be applied to a terminal device, where a process of the frequency sweeping method can be described as follows.
S101: determining a first frequency point set FreqPointSet based on the bandwidth to be swept, wherein the first FreqPointSet comprises NFreqIndividual frequency point, NFreqIs an integer of 1 or more;
s102: sweeping the frequency of the first FreqPointSet in a first frequency sweeping mode; the first frequency scanning mode is used for determining a frequency point where a cell with a signal-to-noise ratio (SNR) greater than a first SNR threshold is located;
s103: if the target cell is not detected at any frequency point of the first FreqPointSet, carrying out frequency sweeping on a second FreqPointSet in the first FreqPointSet in a second frequency sweeping mode; the second frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than the second SNR threshold is located, the first SNR threshold is larger than the second SNR threshold, and the second FreqPointSet comprises MFreqIndividual frequency point, MFreqIs less than or equal to NFreqIs a positive integer of (1).
In S101, assuming that a bandwidth to be swept is 100MHZ, and 0.1MHZ corresponds to a frequency point of frequency sweep, the first FreqPointSet that the terminal device can determine is a frequency point set including 1000 frequency points, that is, N in this exampleFreqEqual to 1000; for another example, still assuming that the bandwidth to be swept is 100MHZ, and 0.2MHZ corresponds to a frequency point of frequency sweep, the terminal device may determine that the first FreqPointSet is a frequency point set including 500 frequency points, that is, in this example, N is NFreqEqual to 500.
As can be seen from the above example, the number of frequency points included in the first FreqPointSet may be determined by the bandwidth to be swept and the bandwidth corresponding to each swept frequency point, and the bandwidth corresponding to each swept frequency point may be set according to an actual situation, which is not limited in the embodiment of the present invention.
After the first FreqPointSet is determined, S102 may be entered, that is, the terminal device may first sweep frequency for the first FreqPointSet in a first frequency sweep mode; the first frequency scanning mode may be used to determine a frequency point where a cell with a signal-to-noise ratio SNR greater than a first SNR threshold is located.
Referring to fig. 1, for example, the first frequency sweeping manner may correspond to the frequency sweeping manner corresponding to the frequency sweeping 10 in fig. 1, for example, for each frequency point, the terminal device may receive 1 time of sampling data, and may determine the frequency point where the cell with the SNR greater than 0dB is located, where 0dB is the first SNR threshold.
In a possible implementation manner, the first frequency scanning manner may indicate that at most N is received for each frequency point in the first FreqPointSetFrameSub-sampled data, NFrameIs an integer of 1 or more.
At this time, S102 may be divided into a plurality of sub-steps, that is, the process of the terminal device sweeping the first FreqPointSet in the first frequency sweeping manner may be described as follows.
First, for the ith in the first FreqPointSetFreqIndividual frequency point, receive jFrameSub-sampled data, the sampled data including a narrowband primary synchronization signal NPSS parameter, iFreqSequentially takes values from 1 to NFreqIs an integer of (a), said jFrameSequentially takes values from 1 to NFrameIs an integer of (1).
Secondly, the terminal device can be according to the jthFrameMetric value corresponding to sub-sampling data and (j) thFrame-1) determining metric values corresponding to the subsampled data at reception jthFrameWhen sub-sampling the data, iFreqMetric value n corresponding to each frequency pointi_Freq
That is to say, for each frequency point, the terminal device calculates a metric value related to the NPSS parameter according to the current sampling data every time the terminal device receives the sampling data, then the terminal device superimposes the metric value calculated this time and the metric value corresponding to the current frequency sweeping frequency point when the terminal device receives the sampling data last time to obtain the superimposed metric value, then the terminal device performs normalization processing on the superimposed metric value to obtain the metric value n corresponding to the current frequency sweeping frequency point when the terminal device receives the sampling data this timei_Freq。。
I.e. the terminal device is receiving the jthFrameWhen sub-sampling the data, iFreqMetric value n corresponding to each frequency pointi_FreqIs jFrameThe average of the metric values obtained by the sub-calculation.
For example, when the terminal device sweeps the frequency of the 2 nd frequency point, the 1 st sampling data is received, and the metric value 1 is calculated according to the 1 st sampling data; receiving the 2 nd sampling data, and calculating to obtain a metric value 2 according to the 2 nd sampling data; and receiving the 3 rd sampling data, and calculating to obtain a metric value 3 according to the 3 rd sampling data.
Therefore, when the terminal equipment receives the 1 st sampling data, the metric value n corresponding to the 2 nd frequency point2_FreqIs a measurement value of 1; when the terminal equipment receives the 2 nd sampling data, the metric value n corresponding to the 2 nd frequency point2_FreqIs the average value of the metric value 1 and the metric value 2; when the terminal equipment receives the 3 rd sampling data, the metric value n corresponding to the 2 nd frequency point2_FreqIs the average of metric value 1, metric value 2, and metric value 3.
Further, the terminal device may determine the metric ni_FreqJudgment of the ithFreqWhether a target cell exists on each frequency point or not is judged, and if yes, the whole frequency sweeping process is ended; otherwise, start to the (i) thFreq+1) frequency sweep of frequency points.
That is, if the terminal device detects a target cell at any frequency point of the first FreqPointSet, the whole frequency sweeping process is ended, and no frequency sweeping and detection are performed on other frequency points, if the terminal device is not in the ith frequency pointFreqIf the target cell is detected on each frequency point, the (i) th cell continues to be detectedFreq+1) frequency points until the frequency sweeping of all frequency points in the first FreqPointSet is completed in the first frequency sweeping mode.
In a possible implementation manner, the terminal device determines the metric ni_FreqJudgment of the ithFreqWhether the target cell exists on each frequency point can adopt, but is not limited to, the following modes:
the terminal equipment can match the metric value ni_FreqAt least two threshold judgments are carried out, and the process is as follows:
the terminal equipment judges the metric value ni_FreqWhether greater than the metric threshold Th1nAnd obtaining a first judgment result.
If the first judgment result is yes, the terminal equipment compares the metric value ni_FreqMaking a second threshold determination, i.e. determining the metric value ni_FreqWhether greater than the metric threshold Th2nObtaining a second judgment result, and determining the ith judgment result based on the second judgment resultFreqWhether the target cell exists on each frequency point or not; among them, the metric threshold Th2nGreater than the metric threshold Th1n
In practical applications, the third metric can be set according to requirementsThreshold Th3nEven more, i.e. at the terminal device, for the metric value ni_FreqPerforming the second threshold judgment, and after obtaining the second judgment result, the terminal device may perform the second threshold judgment on the metric n according to the second judgment resulti_FreqAnd carrying out third threshold judgment. For the metric value ni_FreqThe threshold judgment for several times can be determined according to actual conditions, and the embodiment of the invention is not limited.
If the first judgment result is negative, j is determinedFrameGreater than or equal to NFrameThen measure ni_FreqSet to zero and start to the (i) thFreq+1) frequency point sweep frequency; or if the first judgment result shows the measurement value ni_FreqLess than metric threshold Th1nThen, in determining jFrameLess than NFrameThen, receive the (j) thFrame+1) th sample data and determines that the (j) th sample data is receivedFrame+1) sub-sampling of data, the ithFreqAnd measuring values corresponding to the frequency points.
I.e. if the metric value ni_FreqLess than metric threshold Th1nAnd at the moment, when the frequency of receiving the sampling data by the terminal equipment is more than or equal to the frequency of receiving the sampling data at most according to each frequency point indicated by the first frequency scanning mode, the ith frequency is setFreqZero measurement of individual frequency points, i.e. ithFreqThe metric value corresponding to each frequency point is zero, and the ith frequency point is compared with the corresponding metric valueFreqThe frequency point is sent to a frequency point sequencing module in the terminal equipment, and then the terminal equipment starts to sweep frequency of the next frequency point, namely the (i) th frequency pointFreq+1) frequency sweep of frequency points.
And if the value of the metric ni_FreqLess than metric threshold Th1nAnd at this moment, when the frequency of receiving the sampling data by the terminal equipment is less than the frequency of receiving the sampling data at most for each frequency point indicated by the first frequency scanning mode, the frequency scanning of the current frequency point by the terminal equipment is not finished, so that the terminal equipment receives the next sampling data and calculates the metric value related to the NPSS parameter according to the next sampling data.
In a possible implementation manner, the terminal device determines according to the second determinationThe result determines the ithFreqWhether a target cell exists on each frequency point may include the following two cases.
First, the second decision is yes, i.e. the value ni_FreqGreater than the metric threshold Th2n
In this case, it can be considered that the i-th frequency sweep of the terminal device is currently performedFreqThe individual frequency point is an effective frequency point, and then the ith frequency point can be adjustedFreqSynchronous detection is carried out on each frequency point, wherein the synchronous detection can comprise NPSS detection, NSSS detection and NPBCH detection, and if the terminal equipment can carry out the detection on the ith frequency point in sequenceFreqNPSS detection, NSSS detection and NPBCH detection are carried out on each frequency point, and if the three kinds of detection are successful, the ith frequency point can be determinedFreqAnd a target cell exists on each frequency point.
On the one hand, if the terminal device is in the ithFreqWhen a target cell is detected on each frequency point, the frequency sweep is successful, and the ith can be determinedFreqThe frequency points are the frequency points of the target cell, and at the moment, the terminal equipment can end the whole frequency sweeping process, namely the terminal equipment does not sweep the frequency of other frequency points in the first FreqPointSet any more. That is to say, in the embodiment of the present invention, once the NPSS-related metric value of a certain frequency point is found to be greater than the threshold Th2nAnd the frequency sweeping process is directly suspended, and subsequent synchronous detection including NPSS, NSSS and NPBCH detection is carried out, so that the average scanning time of each frequency point is effectively reduced.
On the other hand, if the terminal device is in the ithFreqIf the target cell is not detected on each frequency point, the frequency sweep fails, and the ith can be determinedFreqThe frequency point is not the target frequency point of the target cell, and the ith frequency point is the target cellFreqThe frequency points are detected synchronously, so that the terminal equipment can detect the ith frequency pointFreqMetric value n corresponding to each frequency pointi_FreqAnd setting zero, sending to the frequency point sequencing module, and starting to sweep frequency of the next frequency point.
Second, if the second judgment result is negative, i.e. the value n is measuredi_FreqLess than metric threshold Th2n
In this case, the terminal device can directly recordThe metric ni_FreqIs the ithFreqAnd the measurement value corresponding to each frequency point can start to sweep frequency of the next frequency point.
Further, the terminal device may repeat the above steps until the frequency sweeping of all frequency points in the first FreqPointSet is completed, and correspondingly obtain NFreqA number of measurement values ni_Freq
In a possible implementation manner, after the terminal device performs frequency sweeping on the first FreqPointSet in the first frequency sweeping manner, the method may further include:
the terminal device may be according to NFreqN corresponding to each frequency pointFreqA number of measurement values ni_FreqFrom large to small, for NFreqSequencing the frequency points, and then determining N of the measurement value from large to smallFreqFirst N in individual frequency pointsortAnd (4) frequency points.
The terminal equipment can sequentially align to the front NsortAnd each frequency point in the frequency points carries out synchronous detection, wherein the synchronous detection can comprise NPSS detection, NSSS detection and NPBCH detection.
If the terminal device successfully detects the target cell at any frequency point, the frequency point can be determined as the target frequency point, and at this time, the terminal device can end the whole frequency sweeping process, that is, other frequency points in the first FreqPointSet are not detected any more.
And if the front N of the terminal devicesortIf the target cell is not successfully detected at any frequency point of the frequency points, the method can enter S103, namely the terminal device is considered not to detect the target cell at any frequency point of the first FreqPointSet, and at this time, the terminal device can perform frequency sweeping on the second FreqPointSet in a second frequency sweeping mode; the second frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than the second SNR threshold is located, the first SNR threshold is larger than the second SNR threshold, and the second FreqPointSet comprises MFreqIndividual frequency point, MFreqIs less than or equal to NFreqA positive integer of (d); the second FreqPointSet does not include the frequency point after synchronous detection in the first FreqPointSet, and the corresponding metric value n is recordedi_FreqThe frequency point of (c).
In a possible implementationIn the formula, the second frequency sweeping mode can indicate that at most M is received for each frequency point in the second FreqPointSetFrameSub-sampled data, MFrameEach of the sub-sampled data corresponds to a metric, M, associated with the NPSS parameterFrameGreater than NFrame
Because the sweep frequency information of the lower-grade SNR in the sweep frequency process of the embodiment of the invention can inherit the sweep frequency information of the higher-grade SNR, namely the sweep frequency information of the first sweep frequency mode can be inherited by the second sweep frequency mode, the frequency point number of the sweep frequency of the lower-grade SNR relative to the higher-grade SNR is reduced.
For example, the second frequency sweeping manner may correspond to frequency sweeping 11 in fig. 1, for example, for each frequency point, the terminal device may cumulatively receive 10 times of sampling data, and may sweep out a frequency point where a cell with an SNR greater than-6.6 dB is located, where the second SNR threshold is-6.6 dB, that is, compared to the first frequency sweeping manner, the second frequency sweeping manner may be used to scan a target cell with a lower SNR and a larger SNR range.
That is, if the terminal device does not detect the target cell at any frequency point in the first FreqPointSet in the first frequency sweeping manner, the terminal device may remove the frequency point after synchronous detection in the first FreqPointSet and record the corresponding metric value n in the first FreqPointSet in the second frequency sweeping manneri_FreqAnd other frequency points except the frequency point of the scanning list are scanned again. Of course, a corresponding metric value n is recordedi_FreqThe frequency points need to be sequenced according to the magnitude of the metric value in the subsequent process and the frequency points which obtain the metric value in the second frequency sweeping mode, the frequency points are sequenced in a first frequency sweeping mode, the frequency points are sequenced in the front from large to small according to the metric value, the subsequent process needs to be synchronously detected, the specific process can refer to the first frequency sweeping mode, and the embodiment of the invention is not repeated.
In a possible implementation manner, after the second FreqPointSet in the first FreqPointSet is swept by using the second sweeping manner, the method further includes:
if the target cell is not detected at any frequency point of the second FreqPointSet, performing frequency sweeping on the third FreqPointSet in the second FreqPointSet in a third frequency sweeping mode; wherein the third frequency sweeping mode is used for determining that the SNR is largeAt the frequency point of the cell with the third threshold, the second threshold is larger than the third threshold, and the third frequency sweeping mode indicates that at most W is received by each frequency point in the third FreqPointSetFrameSub-sampled data, WFrameGreater than MFrame
The following further describes embodiments of the present invention with reference to practical application scenarios.
Suppose that the whole bandwidth to be swept corresponds to NFreqEach frequency point is indexed as iFreqAnd recording the frequency point set corresponding to the whole bandwidth to be swept as a first FreqPointSet.
The terminal device first adopts the first frequency sweeping manner in fig. 1, that is, the frequency sweeping manner corresponding to the frequency sweeping 10 to perform frequency sweeping, referring to fig. 3, the frequency sweeping process is as follows:
a) the first FreqPointSet is set to FreqPointSet10, and only 1 sample data is received for each frequency bin.
b) For the 1 st frequency point, the terminal device may receive the sample data which is 1 time long by 10ms, has a bandwidth of 240kHz and a sampling rate of 240kHz and contains NPSS.
c) The terminal equipment calculates the metric value n based on NPSS correlation according to the received sampling datai_Freq
d) Judging the metric value ni_FreqWhether greater than the metric threshold Th1nIf the value of the metric ni_FreqGreater than the metric threshold Th1nThen judge the metric value ni_FreqWhether greater than the metric threshold Th2nIf the value of the metric ni_FreqGreater than the metric threshold Th2nThe terminal equipment sequentially carries out synchronous detection on the current frequency point, such as NPSS, NSSS, NPBCH and the like, and if the detection is successful, the whole frequency sweeping process is ended; if the detection fails, the metric value n is usedi_FreqAssigning zero to a frequency point sequencing module, and recording the current frequency point in FreqPointset 11; if the measured value ni_FreqLess than metric threshold Th2nThen the metric value n is usedi_FreqAnd sending the frequency points to a frequency point sequencing module, and recording the current frequency points in FreqPointset 12.
If the measured value ni_FreqLess than metric threshold Th1nThen the metric value n is usedi_FreqAnd assigning zero and sending to the frequency point sequencing module.
e) Repeating steps b), c) and d) until all N's have been scannedFreqIndividual frequency point and correspondingly obtain NFreqA number of measurement values ni_Freq
f) According to this NFreqA number of measurement values ni_FreqThe frequency points are sequenced from large to small, and the top N is outputsortThe result of the frequency point ranking is recorded as FreqPointset 13.
g) And sequentially carrying out synchronous detection such as NPSS, NSSS and NPBCH on the frequency points in the frequency point set FreqPointset13, if the detection is successful, ending the whole frequency sweeping process, otherwise, continuously sweeping the frequency by the terminal equipment in a second frequency sweeping mode.
If the terminal device performs frequency scanning by using the second frequency scanning mode in fig. 2, that is, the frequency scanning mode corresponding to the frequency scanning 11, referring to fig. 3, for convenience of distinguishing, the following description sets parameters different from the first frequency scanning mode, but the frequency scanning process is similar and can be described as follows:
a) setting a second FreqPointSet as FreqPointSet100, wherein the FreqPointSet100 meets the following conditions: FreqPointSet100
Figure BDA0001402816730000161
FreqPointSet10、
Figure BDA0001402816730000162
Figure BDA0001402816730000163
And
Figure BDA0001402816730000164
namely, FreqPointSet100 is FreqPointSet10 (frequency point set corresponding to the whole bandwidth to be swept) -FreqPointSet11 (frequency point set subjected to synchronous detection) -FreqPointSet12 (frequency point set with measurement value).
When the frequency sweeping is carried out by adopting the second frequency sweeping mode, the frequency of receiving the sampling data needs to be subtracted from the frequency of receiving the sampling data by adopting the first frequency sweeping mode aiming at each frequency point.
As for this example, minus 1 sample data for "sweep 10," sweep 11 "can receive up to 9 sample data.
b) And for the 1 st frequency point, receiving sampling data which is 10ms long, has a bandwidth of 240kHz and has a sampling rate of 240kHz and contains NPSS.
c) The terminal equipment calculates the measurement value based on NPSS correlation when receiving the sampling data once, combines the measurement value of the next receiving sampling data with the measurement value of the last receiving sampling data, and performs normalization processing on the combined measurement value to obtain the measurement value m based on NPSS correlation at this timei_Freq
d) Judging the metric value mi_FreqWhether greater than the metric threshold Th1mIf the value of the metric mi_FreqGreater than the metric threshold Th1mThen further judging the metric value mi_FreqWhether greater than the metric threshold Th2mIf the value of the metric mi_FreqGreater than the metric threshold Th2mSynchronously detecting the current frequency point by NPSS, NSSS, NPBCH and the like, and ending the whole frequency sweeping process if the detection is successful; if the detection fails, the metric value m is measuredi_FreqAssigning zero to a frequency point sequencing module, and recording the current frequency point in FreqPointset 101; if the measured value mi_FreqLess than metric threshold Th2mThen the metric m is measuredi_FreqAnd sending the frequency points to a frequency point sequencing module, and recording the current frequency points in FreqPointset 102.
If the metric value mi_FreqLess than metric threshold Th1mThen judging whether the number of times of receiving the sampling data is more than MFrameIf the number of times of receiving the sampled data is greater than MFrameThe value of the metric mi_FreqThe assignment is zero, the frequency point is output to a frequency point sequencing module, and the scanning of the current frequency point is finished and the next scanning of the frequency point is switched; if the number of times of receiving the sampled data is less than MFrameThen the next sample data continues to be received and the NPSS-based metric value is calculated.
e) And repeating the step b), the step c) and the step d) until all the frequency points in the FreqPiontSet100 set are scanned, and obtaining corresponding measurement values.
f) The frequency point set FreqPiontSetSort ═ FreqPiontSet100 ^ FreqPointset12 is recorded and
Figure BDA0001402816730000171
i.e., FreqPiontSetSort ═ FreqPiontSet100+ (FreqPointset12-FreqPointset 13). According to the size of the metric values of the frequency points in the frequency point set FreqPiontSetSort, sequencing the frequency points from large to small and outputting the top NsortThe result of the frequency point sequencing is recorded as FreqPointset 103. The metric m of the frequency point belonging to FreqPointset12 but not FreqPointset13 in the frequency point set FreqPiontSetSorti_FreqThe frequency sweep time is effectively reduced by obtaining the frequency sweep 10, namely the frequency sweep information of the frequency sweep 10 is inherited by the frequency point of the frequency sweep 11.
g) And sequentially carrying out synchronous detection such as NPSS, NSSS and NPBCH on the frequency points in the frequency point set FreqPointset103, if the detection is successful, ending the whole frequency sweeping process, and otherwise carrying out frequency sweeping 12, namely carrying out frequency sweeping by adopting a third frequency sweeping mode.
In fig. 1, the processes of "frequency sweep 12" and "frequency sweep 13" are substantially the same as the process of "frequency sweep 11", and the parameters may be set in a process similar to the process of "frequency sweep 11", which is not described in detail in the embodiment of the present invention.
According to one or more technical schemes, the embodiment of the invention has at least the following beneficial effects:
first, the frequency sweeping method in the embodiment of the present invention divides the SNR of the target cell into gears, and each gear receives the sampling data at different times, thereby effectively reducing the times of receiving the sampling data when the target cell is in a high-grade SNR, and further reducing the frequency sweeping time.
Secondly, in the embodiment of the invention, the sweep frequency information of the lower-grade SNR can inherit the sweep frequency information of the higher-grade SNR, so that the frequency point number of the sweep frequency of the lower-grade SNR relative to the higher-grade SNR is reduced, and the sweep frequency time is further reduced.
Thirdly, because the embodiment of the invention can carry out threshold judgment twice or more than twice on the NPSS related metric value, once the NPSS related metric value of a certain frequency point is found to be larger than the threshold, the whole frequency sweeping process can be directly suspended for carrying out the subsequent detection of the target cell, thereby effectively reducing the average scanning time of each frequency point.
Example two
Referring to fig. 4, based on the same inventive concept, an embodiment of the present invention provides a terminal device, which includes a determining module 41, a frequency sweep module 42, and a detecting module 43.
The determining module 41 is configured to determine a first frequency point set FreqPointSet based on a bandwidth to be swept, where the first frequency point set FreqPointSet includes NFreqIndividual frequency point, NFreqIs an integer of 1 or more;
the frequency sweeping module 42 is configured to sweep the frequency of the first FreqPointSet in a first frequency sweeping manner; the first frequency scanning mode is used for determining a frequency point where a cell with a signal-to-noise ratio (SNR) greater than a first SNR threshold is located;
the detection module 43 is configured to perform frequency sweeping on a second FreqPointSet in the first FreqPointSet by using a second frequency sweeping manner if a target cell is not detected at any frequency point of the first FreqPointSet; the second frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than a second SNR threshold is located, the first SNR threshold is larger than the second SNR threshold, and the second FreqPointSet comprises MFreqIndividual frequency point, said MFreqIs less than or equal to the NFreqIs a positive integer of (1).
In a possible implementation manner, if the first frequency scanning manner indicates that at most N are received for each frequency point in the first FreqPointSetFrameSub-sampled data, NFrameThe frequency sweep module 42 is configured to:
for the ith in the first FreqPointSetFreqIndividual frequency point, receive jFrameSub-sampled data, the sampled data including a narrowband primary synchronization signal NPSS parameter, iFreqSequentially takes values from 1 to NFreqIs an integer of (a), said jFrameSequentially takes values from 1 to NFrameAn integer of (d);
based on the jFrameCorresponding metric value of sub-sampling data and front (j)Frame-1) determining the metric value corresponding to each of the sub-sampled data at reception of the jth dataFrameWhen sub-sampling the data, the ithFreqMetric value n corresponding to each frequency pointi_Freq
Based on the metric value ni_FreqJudging the ithFreqWhether the target cell exists on each frequency point or not is judged, and if yes, the whole frequency sweeping process is ended; otherwise, start to the (i) thFreq+1) frequency sweep of frequency points.
In one possible implementation, the sweep frequency module 42 is configured to:
judging the metric value ni_FreqWhether greater than the metric threshold Th1nObtaining a first judgment result;
if the first judgment result is yes, continuing to judge the metric value ni_FreqWhether greater than the metric threshold Th2nObtaining a second judgment result, and determining the ith judgment result based on the second judgment resultFreqWhether the target cell exists on each frequency point or not; wherein the metric value threshold Th2nGreater than the metric value threshold Th1n
If the first judgment result is negative, determining the jFrameIs equal to said NFrameThen the metric value n is measuredi_FreqSet to zero and start to the (i) thFreq+1) frequency points, or during the determination of said jFrameLess than said NFrameThen, receive the (j) thFrame+1) th sample data and determines that the (j) th sample data is receivedFrame+1) sub-sampling of data, the ithFreqAnd measuring values corresponding to the frequency points.
In one possible implementation, the sweep frequency module 42 is configured to: if the second judgment result is yes, the ith judgment result is judged to be the second judgment resultFreqSynchronous detection is carried out on each frequency point, the synchronous detection comprises NPSS detection, narrowband auxiliary synchronous signal NSSS detection and narrowband physical broadcast signal NPBCH detection, and if the ith frequency point is determined to be the ith frequency pointFreqIf the frequency point is the frequency point of the target cell, ending the processThe whole frequency sweeping process; otherwise, the ith stepFreqMetric value n corresponding to each frequency pointi_FreqSetting zero; or
If the second judgment result is negative, recording the ith judgment resultFreqMetric value n corresponding to each frequency pointi_Freq
In a possible implementation manner, the detecting module 43 is configured to:
based on the NFreqN corresponding to each frequency pointFreqA number of measurement values ni_FreqTo said NFreqEach frequency point is according to NFreqA number of measurement values ni_FreqSorting from big to small, determining N after sortingFreqFirst N in individual frequency pointsortFrequency points;
sequentially to the front NsortEach frequency point in each frequency point carries out synchronous detection, the synchronous detection comprises NPSS detection, NSSS detection and NPBCH detection, if the first N is determinedsortIf any frequency point in the frequency points is the frequency point of the target cell, ending the whole frequency sweeping process; otherwise, adopting a second frequency sweeping mode to sweep the frequency of the second FreqPointSet.
In a possible implementation manner, the second FreqPointSet does not include the frequency point after the synchronous detection in the first FreqPointSet, and the corresponding metric value n is recordedi_FreqThe frequency point of (c).
In a possible implementation manner, the second frequency sweeping manner indicates that at most M is received for each frequency point in the second FreqPointSetFrameSub-sampled data, said MFrameEach of the sub-sampled data corresponds to a metric value associated with the NPSS parameter, MFrameGreater than NFrame
In one possible implementation, the sweep frequency module 42 is further configured to:
after a second FreqPointSet in the first FreqPointSet is swept in a second frequency sweeping mode, if the target cell is not detected at any frequency point of the second FreqPointSet, a third frequency sweeping mode is adopted to sweep a third FreqPointSet in the second FreqPointSetFrequency sweeping is carried out by FreqPointSet; the third frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than a third threshold is located, the second threshold is larger than the third threshold, and the third frequency sweeping mode indicates that at most W is received for each frequency point in the third FreqPointSetFrameSub-sampled data, said WFrameGreater than MFrame
EXAMPLE III
Based on the same inventive concept, an embodiment of the present invention provides a terminal device, where the terminal device includes:
at least one processor, and
a memory communicatively coupled to the at least one processor, a communication interface;
wherein the memory stores instructions executable by the at least one processor, and the at least one processor performs the method of embodiment one using the communication interface by executing the instructions stored by the memory.
Example four
Based on the same inventive concept, the embodiments of the present invention provide a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the method according to the first embodiment.
In particular implementations, the computer-readable storage medium includes: various storage media capable of storing program codes, such as a Universal Serial Bus flash drive (USB), a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
The above-described embodiments of the apparatus are merely illustrative, wherein units/modules illustrated as separate components may or may not be physically separate, and components shown as units/modules may or may not be physical units/modules, may be located in one place, or may be distributed over a plurality of network units/modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A frequency sweeping method, the method comprising:
determining a first FreqPointSet based on the bandwidth to be swept, wherein the first FreqPointSet comprises NFreqIndividual frequency point, NFreqIs an integer of 1 or more;
sweeping the frequency of the first FreqPointSet in a first frequency sweeping mode; the first scanning mode is used for determining the frequency point where the cell with the signal-to-noise ratio (SNR) larger than a first SNR threshold is located, and the first scanning mode is used for indicating that at most N is received for each frequency point in the first FreqPointSetFrameSub-sampled data, NFrameIs greater than or equal to 1An integer of (d);
if no target cell is detected at any frequency point of the first FreqPointSet, performing frequency sweeping on a second FreqPointSet in the first FreqPointSet in a second frequency sweeping mode; the second frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than a second SNR threshold is located, the first SNR threshold is larger than the second SNR threshold, and the second FreqPointSet comprises MFreqIndividual frequency point, said MFreqIs less than or equal to the NFreqA positive integer of (d);
wherein, adopt first sweep frequency mode to sweep frequency the first FreqPointSet includes:
for the ith in the first FreqPointSetFreqIndividual frequency point, receive jFrameSub-sampled data, the sampled data including a narrowband primary synchronization signal NPSS parameter, iFreqSequentially takes values from 1 to NFreqIs an integer of (a), said jFrameSequentially takes values from 1 to NFrameAn integer of (d);
based on the jFrameCorresponding metric value of sub-sampling data and front (j)Frame-1) determining the metric value corresponding to each of the sub-sampled data at reception of the jth dataFrameWhen sub-sampling the data, the ithFreqMetric value n corresponding to each frequency pointi_Freq
Based on the metric value ni_FreqJudging the ithFreqWhether the target cell exists on each frequency point or not is judged, and if yes, the whole frequency sweeping process is ended; otherwise, start to the (i) thFreq+1) frequency point sweep frequency;
the method is based on the metric value ni_FreqJudging the ithFreqWhether the target cell exists on each frequency point comprises the following steps:
judging the metric value ni_FreqWhether greater than the metric threshold Th1nObtaining a first judgment result;
if the first judgment result is yes, continuing to judge the metric value ni_FreqWhether greater than the metric threshold Th2nObtaining a second judgment result based on the first judgment resultDetermining the ith as a second judgment resultFreqWhether the target cell exists on each frequency point or not; wherein the metric value threshold Th2nGreater than the metric value threshold Th1n
If the first judgment result is negative, determining the jFrameIs equal to said NFrameThen the metric value n is measuredi_FreqSet to zero and start to the (i) thFreq+1) frequency points, or during the determination of said jFrameLess than said NFrameThen, receive the (j) thFrame+1) th sample data and determines that the (j) th sample data is receivedFrame+1) sub-sampling of data, the ithFreqAnd measuring values corresponding to the frequency points.
2. The method of claim 1, wherein the determining the ith is based on the second determination resultFreqWhether the target cell exists on each frequency point comprises the following steps:
if the second judgment result is yes, the ith judgment result is judged to be the second judgment resultFreqSynchronous detection is carried out on each frequency point, the synchronous detection comprises NPSS detection, narrowband auxiliary synchronous signal NSSS detection and narrowband physical broadcast signal NPBCH detection, and if the ith frequency point is determined to be the ith frequency pointFreqIf the frequency points are the frequency points of the target cell, ending the whole frequency sweeping process; otherwise, the ith stepFreqMetric value n corresponding to each frequency pointi_FreqSetting zero; or
If the second judgment result is negative, recording the ith judgment resultFreqMetric value n corresponding to each frequency pointi_Freq
3. The method of claim 2, wherein after said sweeping said first FreqPointSet with said first sweep frequency, comprising:
based on the NFreqN corresponding to each frequency pointFreqA number of measurement values ni_FreqTo said NFreqEach frequency point is according to NFreqA number of measurement values ni_FreqSorting from big to small, determining N after sortingFreqFront in individual frequency pointNsortFrequency points;
sequentially to the front NsortEach frequency point in each frequency point carries out synchronous detection, the synchronous detection comprises NPSS detection, NSSS detection and NPBCH detection, if the first N is determinedsortIf any frequency point in the frequency points is the frequency point of the target cell, ending the whole frequency sweeping process; otherwise, adopting a second frequency sweeping mode to sweep the frequency of the second FreqPointSet.
4. The method of claim 3, wherein the second FreqPointSet does not include the frequency point after the synchronous detection in the first FreqPointSet, and records the corresponding metric value ni_FreqThe frequency point of (c).
5. The method of claim 4, wherein the second sweep pattern indicates that at most M is received for each frequency point in the second FreqPointSetFrameSub-sampled data, said MFrameEach of the sub-sampled data corresponds to a metric value associated with the NPSS parameter, MFrameGreater than NFrame
6. The method of claim 1 or 5, wherein after sweeping a second FreqPointSet of the first FreqPointSet with a second frequency sweep pattern, the method further comprises:
if the target cell is not detected at any frequency point of the second FreqPointSet, performing frequency sweeping on a third FreqPointSet in the second FreqPointSet in a third frequency sweeping mode; the third frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than a third threshold is located, the second SNR threshold is larger than the third threshold, and the third frequency sweeping mode indicates that at most W is received for each frequency point in the third FreqPointSetFrameSub-sampled data, said WFrameGreater than MFrame
7. A terminal device, characterized in that the terminal device comprises:
a determining module, configured to determine a first FreqPointSet based on a bandwidth to be swept, where the first FreqPointSet includes NFreqIndividual frequency point, NFreqIs an integer of 1 or more;
the frequency sweeping module is used for sweeping the frequency of the first FreqPointSet in a first frequency sweeping mode; the first scanning mode is used for determining the frequency point where the cell with the signal-to-noise ratio (SNR) larger than a first SNR threshold is located, and the first scanning mode is used for indicating that at most N is received for each frequency point in the first FreqPointSetFrameSub-sampled data, NFrameIs an integer of 1 or more;
the detection module is used for sweeping frequency of a second FreqPointSet in the first FreqPointSet in a second frequency sweeping mode if a target cell is not detected at any frequency point of the first FreqPointSet; the second frequency sweeping mode is used for determining the frequency point where the cell with the SNR larger than a second SNR threshold is located, the first SNR threshold is larger than the second SNR threshold, and the second FreqPointSet comprises MFreqIndividual frequency point, said MFreqIs less than or equal to the NFreqA positive integer of (d);
wherein the frequency sweep module is configured to:
for the ith in the first FreqPointSetFreqIndividual frequency point, receive jFrameSub-sampled data, the sampled data including a narrowband primary synchronization signal NPSS parameter, iFreqSequentially takes values from 1 to NFreqIs an integer of (a), said jFrameSequentially takes values from 1 to NFrameAn integer of (d);
based on the jFrameCorresponding metric value of sub-sampling data and front (j)Frame-1) determining the metric value corresponding to each of the sub-sampled data at reception of the jth dataFrameWhen sub-sampling the data, the ithFreqMetric value n corresponding to each frequency pointi_Freq
Based on the metric value ni_FreqJudging the ithFreqWhether the target cell exists on each frequency point or not, if so, ending the whole scanningFrequency flow; otherwise, start to the (i) thFreq+1) frequency point sweep frequency;
the sweep frequency module is specifically configured to:
judging the metric value ni_FreqWhether greater than the metric threshold Th1nObtaining a first judgment result;
if the first judgment result is yes, continuing to judge the metric value ni_FreqWhether greater than the metric threshold Th2nObtaining a second judgment result, and determining the ith judgment result based on the second judgment resultFreqWhether the target cell exists on each frequency point or not; wherein the metric value threshold Th2nGreater than the metric value threshold Th1n
If the first judgment result is negative, determining the jFrameIs equal to said NFrameThen the metric value n is measuredi_FreqSet to zero and start to the (i) thFreq+1) frequency points, or during the determination of said jFrameLess than said NFrameThen, receive the (j) thFrame+1) th sample data and determines that the (j) th sample data is receivedFrame+1) sub-sampling of data, the ithFreqAnd measuring values corresponding to the frequency points.
8. A terminal device, characterized in that the terminal device comprises:
at least one processor, and
a memory communicatively coupled to the at least one processor, a communication interface;
wherein the memory stores instructions executable by the at least one processor, the at least one processor performing the method of any one of claims 1-6 with the communications interface by executing the instructions stored by the memory.
9. A computer-readable storage medium characterized by:
the computer readable storage medium stores computer instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1-6.
CN201710806431.0A 2017-09-08 2017-09-08 Frequency sweeping method, terminal equipment and storage medium Active CN109474359B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710806431.0A CN109474359B (en) 2017-09-08 2017-09-08 Frequency sweeping method, terminal equipment and storage medium
PCT/CN2018/090493 WO2019047578A1 (en) 2017-09-08 2018-06-08 Frequency sweeping method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710806431.0A CN109474359B (en) 2017-09-08 2017-09-08 Frequency sweeping method, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109474359A CN109474359A (en) 2019-03-15
CN109474359B true CN109474359B (en) 2020-10-20

Family

ID=65633499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710806431.0A Active CN109474359B (en) 2017-09-08 2017-09-08 Frequency sweeping method, terminal equipment and storage medium

Country Status (2)

Country Link
CN (1) CN109474359B (en)
WO (1) WO2019047578A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110312321B (en) * 2019-05-10 2020-12-11 展讯通信(上海)有限公司 Method, device and terminal for determining random access resident frequency point
CN112019317B (en) * 2019-05-28 2022-10-28 中兴通讯股份有限公司 Frequency calibration method and device, storage medium and electronic device
CN114828162B (en) * 2021-01-27 2024-03-12 深圳市汇顶科技股份有限公司 Network access method, NB-IoT chip, NB-IoT terminal and computer storage medium
CN114301745B (en) * 2021-12-24 2023-05-16 深圳市联平半导体有限公司 Method and device for determining carrier frequency offset and sampling frequency offset
CN114727368B (en) * 2022-06-10 2022-08-30 北京智联安科技有限公司 Rapid frequency sweeping method, device and medium
CN115866721B (en) * 2023-02-03 2023-05-16 北京智联安科技有限公司 NBiot chip frequency sweeping method based on frequency point ordering
CN116909177B (en) * 2023-09-07 2024-01-05 中星联华科技(北京)有限公司 Sweep frequency parameter control system and method and electronic equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883411A (en) * 2010-05-27 2010-11-10 复旦大学 Rapid frequency scanning method and device for initial cell search
CN102571220B (en) * 2010-12-15 2015-11-25 沈阳新邮通信设备有限公司 Wireless module communication interference detection method and device
CN102821442B (en) * 2011-06-10 2014-10-22 联芯科技有限公司 Scan method and device for frequency points
US8730915B2 (en) * 2011-09-20 2014-05-20 Qualcomm Incorporated Multiple input multiple output (MIMO) based concurrent scan of neighbor cells
CN102883411B (en) * 2012-10-18 2014-11-05 合肥东芯通信股份有限公司 Frequency point scanning method, processor, device and system for LTE (long term evolution)
CN103841597B (en) * 2012-11-27 2017-05-17 联芯科技有限公司 Frequency point scanning method and device for TD-SCDMA system
US9185640B2 (en) * 2013-07-08 2015-11-10 Intel Mobile Communications GmbH Method and related mobile device for searching for a mobile network
CN104735750B (en) * 2013-12-20 2018-11-20 联芯科技有限公司 A kind of small region search method and terminal
CN106341865A (en) * 2015-07-10 2017-01-18 深圳市中兴微电子技术有限公司 Accurate sweep frequency method, device and terminal
CN106470462B (en) * 2015-08-17 2019-11-15 深圳市中兴微电子技术有限公司 A kind of frequency sweeping method, device and terminal

Also Published As

Publication number Publication date
WO2019047578A1 (en) 2019-03-14
CN109474359A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN109474359B (en) Frequency sweeping method, terminal equipment and storage medium
CN107690823B (en) Communication quality detection method, device and equipment
CN106888060B (en) Anti-interference test method and system for wireless communication module
CN114025377B (en) Quality difference identification method, device and storage medium for home broadband network
CN1787073A (en) Speech recognition system for automatically controlling input level and speech recognition method using the same
US20170296081A1 (en) Frame based spike detection module
CN109283121A (en) Pulse recognition method and apparatus, analysis instrument, storage medium
CN102752059A (en) Automatic equipment test method and system
CN108112056B (en) Frequency sweeping method and device for user terminal
CN114325534A (en) Signal testing method, device, equipment and readable storage medium
CN115311526B (en) Defect sample generation method and system based on improved Cycle GAN network
CN113052308A (en) Method for training target cell identification model and target cell identification method
CN110263417A (en) A kind of temporal characteristics acquisition methods, device and electronic equipment
CN108632850B (en) Power spectrum estimation value adjusting method and terminal
CN111294889B (en) Cell search method and device, storage medium and terminal
CN113408805A (en) Lightning ground flashover identification method, device, equipment and readable storage medium
CN113109630B (en) Pulse data processing method and device and blood cell analyzer
CN115865238B (en) Signal interference detection method and device
CN105094463A (en) Infrared touch screen and scanning method thereof
CN113723437B (en) Automatic training method of AI model and AI model training system
CN110931021A (en) Audio signal processing method and device
CN109637585B (en) Method and device for correcting sequencing depth
CN1153396C (en) Diversity receiver
CN110442776B (en) Search response method and device suitable for multi-mode interactive accompanying robot
CN116680507B (en) Method, system and device for automatically determining combustion time of solid rocket engine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee after: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210604

Address after: 100085 1st floor, building 1, yard 5, Shangdi East Road, Haidian District, Beijing

Patentee after: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd.

Address before: 100191 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY