Disclosure of Invention
In view of the above problems, the present invention is proposed to provide a method for actual frequency point alignment of suspicious signals, which overcomes or at least partially solves the above problems, and comprises the following steps:
setting a target frequency band, carrying out panoramic scanning on the target frequency band, and determining suspicious signals appearing in the target frequency band;
determining a central frequency point corresponding to the suspicious signal;
and calculating the actual frequency point corresponding to the suspicious signal according to the central frequency point.
Optionally, the setting a target frequency band, performing panoramic scanning on the target frequency band, and determining a suspicious signal appearing in the target frequency band includes:
setting a target frequency band, collecting a background signal of the target frequency band, adding a preset numerical value to a power value of the background signal to be used as a threshold value, and storing the threshold value;
and carrying out panoramic scanning on the target frequency band, and if the power value of the signal in the continuous time period is greater than the corresponding threshold value, taking the signal as a suspicious signal.
Optionally, the determining the center frequency point corresponding to the suspicious signal further includes:
splitting the target frequency band into a plurality of adjacent sampling points with equal resolution bandwidth, and sequencing the plurality of sampling points in sequence according to the descending order of the frequency point values in the target frequency band;
and determining at least one sampling point corresponding to the suspicious signal according to at least one resolution bandwidth in which the suspicious signal falls, and determining a central frequency point corresponding to the suspicious signal according to the at least one sampling point.
Optionally, the determining, according to at least one of the resolution bandwidths into which the suspicious signal falls, at least one sampling point corresponding to the suspicious signal, and determining, according to the at least one sampling point, a center frequency point corresponding to the suspicious signal include:
when the suspicious signal falls into a resolution bandwidth, determining a sampling point corresponding to the resolution bandwidth, and taking the sampling point as a central frequency point;
when the suspicious signal falls into even number of resolution bandwidths, determining sampling points corresponding to the even number of resolution bandwidths one to one, adding the serial numbers corresponding to the even number of sampling points to obtain an average value, and taking the frequency point corresponding to the average value as a central frequency point;
and when the suspicious signal falls into odd resolution bandwidths larger than 1, determining sampling points corresponding to the odd resolution bandwidths one to one, and taking the sampling point with the sequence number value in the middle as a central frequency point.
Optionally, calculating actual frequency points corresponding to the suspicious signals according to the central frequency points, including;
based on the formula
Calculating the added value C
i(ii) a Wherein K is the sequence number of the sampling point corresponding to the central frequency point, m
kIs the central frequency point and is a frequency point,
is the power value of the central frequency point,
the power value of the left sampling point nearest to the central frequency point,
the power value of the right sampling point which is adjacent and closest to the central frequency point is obtained;
based on the formula mpeak=mk+CiCalculating an actual frequency point corresponding to the suspicious signal; wherein m ispeakThe actual frequency point corresponding to the suspicious signal.
According to another aspect of the present invention, an actual frequency point alignment apparatus for suspicious signals is further provided, including:
the scanning module is configured to set a target frequency band, perform panoramic scanning on the target frequency band and determine suspicious signals appearing in the target frequency band;
the determining module is configured to determine a central frequency point corresponding to the suspicious signal;
and the calculation module is configured to calculate the actual frequency point of the suspicious signal according to the central frequency point.
Optionally, the scanning module further comprises:
the acquisition unit is configured to set a target frequency band, acquire a background signal of the target frequency band, and store the power value of the background signal plus a preset numerical value as a threshold value;
and the scanning unit is configured to perform panoramic scanning on the target frequency band, and if the power value of the signal in the continuous time period is greater than the threshold value corresponding to the power value, the signal is taken as a suspicious signal.
Optionally, the determining module further comprises:
the splitting unit is configured to split the target frequency band into a plurality of adjacent sampling points with equal resolution bandwidth, and the sampling points are sequentially sequenced according to the sequence of the frequency point values in the target frequency band from small to large;
and the determining unit is configured to determine at least one sampling point corresponding to the suspicious signal according to at least one resolution bandwidth in which the suspicious signal falls, and determine a central frequency point corresponding to the suspicious signal according to the at least one sampling point.
Optionally, the determining unit is further configured to:
when the suspicious signal falls into a resolution bandwidth, determining a sampling point corresponding to the resolution bandwidth, and taking the sampling point as a central frequency point;
when the suspicious signal falls into even number of resolution bandwidths, determining sampling points corresponding to the even number of resolution bandwidths one to one, adding the serial numbers corresponding to the even number of sampling points to obtain an average value, and taking the frequency point corresponding to the average value as a central frequency point;
and when the suspicious signal falls into odd resolution bandwidths larger than 1, determining sampling points corresponding to the odd resolution bandwidths one to one, and taking the sampling point with the sequence number value in the middle as a central frequency point.
Optionally, the computing module is further configured to:
based on the formula
Calculating the added value C
i(ii) a Wherein K is the sequence number of the sampling point corresponding to the central frequency point, m
kIs the central frequency point and is a frequency point,
is the power value of the central frequency point,
the power value of the left sampling point nearest to the central frequency point,
the power value of the right sampling point which is adjacent and closest to the central frequency point is obtained;
based on the formula mpeak=mk+CiCalculating an actual frequency point corresponding to the suspicious signal; wherein m ispeakThe actual frequency point corresponding to the suspicious signal.
In the embodiment of the invention, a target frequency band is set, the target frequency band is subjected to panoramic scanning, a suspicious signal appearing in the target frequency band is determined, then a central frequency point corresponding to the suspicious signal is determined, and finally an actual frequency point corresponding to the suspicious signal is calculated according to the central frequency point. Based on the scheme provided by the invention, the actual frequency point of the suspicious signal can be quickly and accurately found, and then analysis is carried out to confirm the source of the signal.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It should be noted that the technical features of the embodiments and alternative embodiments of the present invention may be combined with each other without conflict.
In order to solve the above technical problem, an embodiment of the present invention provides an actual frequency point alignment method for a suspicious signal, and fig. 1 shows a schematic flow diagram of the actual frequency point alignment method for the suspicious signal according to the embodiment of the present invention. As shown in fig. 1, the method includes:
step S102: setting a target frequency band, carrying out panoramic scanning on the target frequency band, and determining suspicious signals appearing in the target frequency band;
step S104: determining a central frequency point corresponding to the suspicious signal;
step S106: and calculating the actual frequency point corresponding to the suspicious signal according to the central frequency point.
In the embodiment of the invention, a target frequency band is set, the target frequency band is subjected to panoramic scanning, a suspicious signal appearing in the target frequency band is determined, then a central frequency point corresponding to the suspicious signal is determined, and finally an actual frequency point corresponding to the suspicious signal is calculated according to the central frequency point. Based on the scheme provided by the invention, the actual frequency point of the suspicious signal can be quickly and accurately found and analyzed, so that the source of the signal is confirmed.
In a preferred embodiment, the step S102 further includes: setting a target frequency band, collecting a background signal of the target frequency band, adding a preset numerical value to a power value of the background signal to be used as a threshold value and storing the threshold value, then carrying out panoramic scanning on the target frequency band, and if the power value of a signal in a continuous time period is larger than the threshold value corresponding to the power value, using the signal as a suspicious signal.
In this embodiment, as shown in fig. 2, the target frequency band SPAN may be set to 863.0625MHz to 864.0625MHz, the target frequency band may be set according to actual requirements, after the target frequency band is set, a background signal of the target frequency band, that is, a background noise level, needs to be collected, a power value of the background signal is sometimes fluctuated, in order to prevent the background noise level from being mistaken for a new signal, a preset value needs to be added on the basis of the power value of the background signal as a threshold value, and the preset value may be set according to an actual situation, for example, a value of +15dB or higher, so that only when the power value of the signal exceeds the threshold value corresponding to the power value, the signal is considered as a new signal. The reasonable threshold value is set for the target frequency band, so that the suspicious signal can be accurately found, the misjudgment can be prevented, and the requirement can be met by adding different preset values to different frequency bands as the threshold value under certain conditions.
After the threshold value is set, the panoramic scanning is started for the target frequency band, the power value of the signal of the current target frequency band can be automatically compared with the threshold value stored in advance by software in the whole process to determine whether a suspicious signal appears, and if the power value of the signal existing in the continuous time period is larger than the threshold value corresponding to the power value, the signal is considered to be the suspicious signal.
In a preferred embodiment, the step S104 further includes: the method comprises the steps of splitting a target frequency band into a plurality of adjacent sampling points with the same resolution bandwidth, sequencing the plurality of sampling points in sequence according to the sequence of frequency point values in the target frequency band from small to large, then determining at least one sampling point corresponding to a suspicious signal according to at least one resolution bandwidth in which the suspicious signal falls, and determining a central frequency point corresponding to the suspicious signal according to the at least one sampling point.
In this embodiment, the target frequency band is split into a plurality of adjacent sampling points with the same resolution bandwidth, where the number of the sampling points may be set according to an actual situation, as shown in fig. 3-5, based on the above example, the target frequency band SPAN is 863.0625MHz to 864.0625MHz, where the number of the sampling points is 1600, the signal attenuation value ATT is-70 dB, the resolution bandwidth corresponding to each sampling point is SPAN/1600 ═ 0.625KHz, then the plurality of sampling points are sequentially ordered according to the descending order of the frequency point values in the target frequency band, that is, 863.0625MHz is used as a starting point, 863.0625MHz +0.625KHz is used as a sampling point 1, 863.0625MHz +2 × 0.625KHz is used as a sampling point 2, and so on until the sampling point 1600, fig. 3-5 only show the sampling points 1 to 10 in the target frequency band, and the rest of the sampling points are not shown in the figure.
And then determining at least one sampling point corresponding to the suspicious signal according to at least one resolution bandwidth in which the suspicious signal falls, wherein the suspicious signal may be fixed at one frequency point or may jump several frequency points continuously, when the suspicious signal is fixed at one frequency point, the corresponding sampling point may be determined according to the current resolution bandwidth in which the suspicious signal is located, when the suspicious signal jumps multiple frequency points in a continuous time period, a plurality of corresponding sampling points need to be determined according to the multiple resolution bandwidths in which the suspicious signal is located, and finally, the central frequency point corresponding to the suspicious signal is determined according to the determined plurality of sampling points.
In a preferred embodiment, determining at least one sampling point corresponding to the suspected signal according to the at least one resolution bandwidth into which the suspected signal falls includes: when the suspicious signal falls into a resolution bandwidth, determining a sampling point corresponding to the resolution bandwidth, and taking the sampling point as a central frequency point; when the suspicious signal falls into even number of resolution bandwidths, determining sampling points corresponding to the even number of resolution bandwidths one to one, adding the serial numbers corresponding to the even number of sampling points to obtain an average value, and taking the frequency point corresponding to the average value as a central frequency point; when the suspicious signal falls into odd resolution bandwidths larger than 1, determining sampling points corresponding to the odd resolution bandwidths one to one, and taking the sampling points with the sequence numbers in the middle as central frequency points.
Based on the above-mentioned example, as shown in fig. 3, when a suspicious signal falls into a resolution bandwidth, determining that a sampling point corresponding to the resolution bandwidth is a sampling point 5, and at this time, taking the sampling point 5 as a central frequency point corresponding to the suspicious signal; as shown in fig. 4, when a suspicious signal falls into even number of resolution bandwidths in a continuous time period, determining that sampling points corresponding to the even number of resolution bandwidths one to one are sampling point 3, sampling point 4, sampling point 5, and sampling point 6, where a central frequency point corresponding to the suspicious signal is (3+4+5+6)/4 ═ 4.5; as shown in fig. 5, when the suspicious signal falls into odd number of resolution bandwidths greater than 1, it is determined that sampling points corresponding to the odd number of resolution bandwidths one to one are sampling point 4, sampling point 5, and sampling point 6, and at this time, the center frequency point corresponding to the suspicious signal is sampling point 5.
It can be seen from fig. 3-5 that the suspicious signal just falls on the sampling point, and in practical cases, as can be seen from fig. 3-5, if the suspicious signal falls on the interval from the sampling point 4 to the sampling point 5, the sampling point corresponding to the suspicious signal can be considered as the sampling point 5 at this time.
The method comprises the steps of calculating the central frequency point corresponding to the suspicious signal according to the sampling point number corresponding to the suspicious signal, and calculating the central frequency point corresponding to the suspicious signal in each condition.
After determining the center frequency point corresponding to the suspicious signal, in a preferred embodiment, calculating the actual frequency point corresponding to the suspicious signal according to the center frequency point further includes: based on the formula
Calculating the added value C
i(ii) a Wherein K is the sequence number of the sampling point corresponding to the central frequency point, m
kIs the central frequency point and is a frequency point,
is the power value of the central frequency point,
the power value of the left sampling point nearest to the central frequency point,
is the power value of the nearest right-side sampling point adjacent to the central frequency point, and is then based on the formula m
peak=m
k+C
iCalculating an actual frequency point corresponding to the suspicious signal; wherein m is
peakThe actual frequency point corresponding to the suspicious signal.
Wherein,
the power value of the nearest left sampling point adjacent to the central frequency point at the current moment,
and the power value of the right sampling point adjacent to the central frequency point at the current moment is obtained.
Likewise, based on the above example, if it is determined that the center frequency point is
sample point 5, K is 5, m
5To 5, it is determined that the
sampling point 5 corresponds to the current timeHas a power value of X
5Is 1w, and the nearest left sampling point adjacent to the central frequency
point sampling point 5 is m
K-1For
sample point 4, the power value X of
sample point 4 at the current moment is determined
40.631w, and m is the nearest right-side sampling point adjacent to the central frequency
point sampling point 5
K+1For
sampling point 6, the power value X of
sampling point 6 at the current moment is determined
6Is 0.501w, and then the above values are substituted
Calculating the added value C
i0.13/0.868 is equal to 0.15, and m is further equal to
peak=m
k+C
iCalculating actual frequency point m corresponding to
suspicious signal peak5+0.15 ═ 5.15.
If the determined center frequency point is 4.5, the corresponding sampling point K is determined to be 5, and m is the same as mK-1Is sample point 4, mK+1The subsequent calculation process for sampling the points 6 is the same as the above calculation process, and the present invention will not be described in detail.
After the central frequency point corresponding to the suspicious signal is determined, the actual frequency point corresponding to the suspicious signal is calculated according to the calculation mode, so that the found actual frequency point of the suspicious signal is more accurate.
Based on the same inventive concept, the present invention further provides an actual frequency point alignment apparatus for a suspicious signal, fig. 6 shows a structural block diagram of the actual frequency point alignment apparatus for the suspicious signal according to the embodiment of the present invention, and as shown in fig. 6, the apparatus 600 includes:
the scanning module 610 is configured to set a target frequency band, perform panoramic scanning on the target frequency band, and determine a suspicious signal appearing in the target frequency band;
a determining module 620 configured to determine a center frequency point corresponding to the suspicious signal;
and the calculating module 630 is configured to calculate the actual frequency point of the suspicious signal according to the central frequency point.
In a preferred embodiment, fig. 7 is a block diagram illustrating a structure of an actual frequency point alignment apparatus for a suspicious signal according to a preferred embodiment of the present invention, and as shown in fig. 7, the scanning module 210 further includes:
the acquisition unit 611 is configured to set a target frequency band, acquire a background signal of the target frequency band, and add a preset value to a power value of the background signal to serve as a threshold value;
the scanning unit 612 is configured to perform panoramic scanning on the target frequency band, and if the power value of the signal in the continuous time period is greater than the threshold value corresponding to the power value, the signal is regarded as a suspicious signal.
In a preferred embodiment, fig. 8 is a block diagram illustrating a structure of an actual frequency point alignment apparatus for a suspicious signal according to another preferred embodiment of the present invention, and as shown in fig. 8, the determining module 220 further includes:
the splitting unit 621 is configured to split the target frequency band into a plurality of adjacent sampling points with equal resolution and bandwidth, split the target frequency band into the plurality of adjacent sampling points with a preset bandwidth, and sequence the plurality of sampling points in sequence according to the descending order of the frequency point values in the target frequency band, wherein each sampling point corresponds to the preset bandwidth;
the determining unit 622 is configured to determine at least one sampling point corresponding to the suspicious signal according to at least one bandwidth resolution bandwidth in which the suspicious signal falls, and determine a center frequency point corresponding to the suspicious signal according to the at least one sampling point.
In a preferred embodiment, the determining unit 222 is further configured to:
when the suspicious signal falls into a bandwidth with a bandwidth resolution, determining a sampling point corresponding to the bandwidth with the bandwidth resolution, and taking the sampling point as a central frequency point;
when the suspicious signal falls into even number of bandwidth resolution bandwidths, determining sampling points corresponding to the even number of bandwidth resolution bandwidths one to one, adding the serial numbers corresponding to the even number of sampling points to obtain an average value, and taking the frequency point corresponding to the average value as a central frequency point;
when the suspicious signal falls into odd bandwidth resolution bandwidths larger than 1, determining sampling points corresponding to the odd bandwidth resolution bandwidths one to one, and taking the sampling point with the sequence number value in the middle as a central frequency point.
In a preferred embodiment, the calculating module 230 is further configured to:
based on the formula
Calculating the added value C
i(ii) a Wherein K is the sequence number of the sampling point corresponding to the central frequency point, m
kIs the central frequency point and is a frequency point,
is the power value of the central frequency point,
the power value of the left sampling point nearest to the central frequency point,
the power value of the right sampling point which is adjacent and closest to the central frequency point is obtained;
based on the formula mpeak=mk+CiCalculating the actual frequency point corresponding to the suspicious signal; wherein m ispeakThe actual frequency point corresponding to the suspicious signal.
In the embodiment of the invention, a target frequency band is set, the target frequency band is subjected to panoramic scanning, a suspicious signal appearing in the target frequency band is determined, then at least one corresponding sample is determined according to at least one resolution bandwidth in which the suspicious signal falls, a central frequency point corresponding to the suspicious signal is determined according to at least one sampling point, and then an actual frequency point corresponding to the suspicious signal is calculated according to the central frequency point. Based on the scheme provided by the invention, at least one sampling point corresponding to the suspicious signal is determined, the center frequency point of the suspicious signal is determined according to the at least one sampling point, so that the center frequency point of the suspicious signal is found more accurately, the actual frequency point of the suspicious signal is calculated according to the center frequency point of the suspicious signal, so that the actual frequency point of the suspicious signal is found more accurately, and then the actual frequency point is analyzed, so that the source of the suspicious signal is confirmed.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.