CN113490262B - Channel sniffing method, device, equipment and storage medium - Google Patents

Channel sniffing method, device, equipment and storage medium Download PDF

Info

Publication number
CN113490262B
CN113490262B CN202110757163.4A CN202110757163A CN113490262B CN 113490262 B CN113490262 B CN 113490262B CN 202110757163 A CN202110757163 A CN 202110757163A CN 113490262 B CN113490262 B CN 113490262B
Authority
CN
China
Prior art keywords
signal
interference
noise ratio
window
unit
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
CN202110757163.4A
Other languages
Chinese (zh)
Other versions
CN113490262A (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.)
Beijing Shengzhe Science & Technology Co ltd
Original Assignee
Beijing Shengzhe Science & Technology Co ltd
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 Beijing Shengzhe Science & Technology Co ltd filed Critical Beijing Shengzhe Science & Technology Co ltd
Priority to CN202110757163.4A priority Critical patent/CN113490262B/en
Publication of CN113490262A publication Critical patent/CN113490262A/en
Application granted granted Critical
Publication of CN113490262B publication Critical patent/CN113490262B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • 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]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses a channel sniffing method, a device, equipment and a storage medium, wherein the method comprises the following steps: receiving a signal to be detected, and decomposing the signal to be detected into a plurality of unit signals with symbol period lengths; calculating the signal-to-interference-and-noise ratio of each unit signal, and carrying out combination logic judgment on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window; if the combined logic judgment result is that the detection fails, sliding the sniffing window backwards by a preset number of unit signals, returning to execute the operation of calculating the signal-to-interference-plus-noise ratio of each unit signal, and carrying out the combined logic judgment on the signal-to-interference-plus-noise ratio of the unit signal in the current sniffing window until the combined logic judgment result is that the detection is successful or the detection of the signal to be detected is finished. The technical scheme of the embodiment of the invention realizes that the signal-to-interference-and-noise ratio of the signal is utilized, the accuracy of channel sniffing is improved, and different signal detection accuracy is satisfied through combination logic judgment.

Description

Channel sniffing method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a channel sniffing method, a device, equipment and a storage medium.
Background
For a Low-Power-consumption Network (LPWAN), a terminal is required to have a capability of continuous Low-Power operation. Since the main power consumption of the terminal comes from the radio frequency, the time for turning on the radio frequency unit needs to be shortened as much as possible. Currently, the main method for implementing short-time radio frequency start is that the terminal periodically wakes up part of the receiving function units at specific time to perform channel sniffing. When the channel sniffing does not detect the wake-up signal, the terminal continues to sleep until the next channel sniffing time comes; when the channel sniffs detects the wake-up signal, the terminal starts all the receiving functional units to continuously receive the useful signal.
In the prior art, the channel sniffing technology is mostly implemented by adopting a method of performing correlation calculation with a specific signal, when the correlation value between a received signal and the specific signal is greater than a specific threshold value, the wake-up signal is considered to be detected, otherwise, the wake-up signal is considered not to be detected. However, this method has a disadvantage in that the correlation detection is continuous detection for calculating the inner product value of the vector, and is susceptible to burst interference or probabilistic large variance noise, and the detection accuracy is reduced.
Disclosure of Invention
The embodiment of the invention provides a channel sniffing method, a device, equipment and a storage medium, which are used for realizing the purpose of improving the accuracy of channel sniffing by utilizing the signal-to-interference-and-noise ratio of signals and meeting different signal detection accuracy through combination logic judgment.
In a first aspect, an embodiment of the present invention provides a channel sniffing method, including:
receiving a signal to be detected, and decomposing the signal to be detected into a plurality of unit signals with symbol period lengths;
calculating the signal-to-interference-and-noise ratio of each unit signal, and carrying out combination logic judgment on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window;
if the combined logic judgment result is that the detection fails, sliding the sniffing window backwards by a preset number of unit signals, returning to execute the operation of calculating the signal-to-interference-plus-noise ratio of each unit signal, and carrying out the combined logic judgment on the signal-to-interference-plus-noise ratio of the unit signal in the current sniffing window until the combined logic judgment result is that the detection is successful or the detection of the signal to be detected is finished.
Optionally, decomposing the signal to be detected into a unit signal with a plurality of symbol period lengths includes:
sliding decomposition is carried out on the signal to be detected by using the window length as a sampling window of a modulation symbol period to obtain a plurality of unit signals;
the interval between the starting position of the current access window and the starting position of the previous adjacent access window is determined according to the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window.
Optionally, determining the interval between the starting position of the current access window and the starting position of the previous adjacent access window according to the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window includes:
if the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window is greater than the threshold value, the interval between the starting position of the current access window and the starting position of the previous adjacent access window is one symbol period;
if the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window is smaller than or equal to the threshold value, the interval between the starting position of the current access window and the starting position of the previous adjacent access window is one sampling period.
Optionally, calculating the signal-to-interference-and-noise ratio of each unit signal, and performing a combinational logic decision on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window, including:
calculating the signal-to-interference-and-noise ratio of each unit signal, and sequentially storing the signal-to-interference-and-noise ratio of each unit signal into each register in the shift register group until all registers in the register group are occupied; the register group is equal to the sniffing window in length;
and carrying out probability counting judgment and continuous counting judgment on the signal-to-interference-and-noise ratio in the register group, and carrying out combination logic judgment on the probability calculation judgment result and the continuous counting judgment result according to the configured combination logic switch to obtain a combination logic judgment result.
Optionally, performing probability counting decision on the signal-to-interference-and-noise ratio in the register set includes:
counting the total number of signal-to-interference-and-noise ratios larger than a target threshold value in a register set to be used as a first number;
and if the first number is larger than the first expected threshold, outputting a probability counting judgment result as 1, otherwise, outputting a probability counting judgment result as 0.
Optionally, performing continuous counting decision on the signal-to-interference-and-noise ratio in the register set includes:
counting the maximum continuous number of signal-to-interference-and-noise ratios larger than a target threshold value in the register set as a second number;
and if the second number is larger than a second expected threshold value, outputting a continuous counting judgment result as 1, otherwise, outputting a continuous counting judgment result as 0.
Optionally, according to the configured combinational logic switch, performing combinational logic decision on the probability calculation decision result and the continuous counting decision result to obtain a combinational logic decision result, including:
if the value of the combination logic switch is 0, performing OR operation on the probability calculation judgment result and the continuous counting judgment result;
if the value of the combination logic switch is 1, performing AND operation on the probability calculation judgment result and the continuous counting judgment result;
if the operation result is 1, determining that the combination logic judgment result is successful detection, otherwise, determining that the combination logic judgment result is failed detection.
In a second aspect, an embodiment of the present invention further provides a channel sniffing device, including:
the signal decomposition module is used for receiving the signal to be detected and decomposing the signal to be detected into a plurality of unit signals with symbol period lengths;
the combined logic judgment module is used for calculating the signal-to-interference-and-noise ratio of each unit signal and carrying out combined logic judgment on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window;
and the circulation module is used for sliding the sniffing window backwards by a preset number of unit signals if the judgment result is that the detection fails, returning to execute the operation of calculating the signal-to-interference-plus-noise ratio of each unit signal, and carrying out the operation of combining logic judgment on the signal-to-interference-plus-noise ratio of the unit signal in the current sniffing window until the judgment result is that the detection is successful or the detection of the signal to be detected is finished.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the program or programs, when executed by the processor or processors, cause the processor or processors to implement the channel sniffing method provided by any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the channel sniffing method provided by any embodiment of the present invention.
In the embodiment of the invention, the signal to be detected is received and decomposed into a plurality of unit signals with symbol period lengths; calculating the signal-to-interference-and-noise ratio of each unit signal, and carrying out combination logic judgment on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window; if the combined logic judgment result is detection failure, the sniffing window is slid backwards by a preset number of unit signals, the signal-to-interference-and-noise ratio of each unit signal is calculated in a return mode, and the combined logic judgment operation is carried out on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window until the combined logic judgment result is detection success or the detection of the signal to be detected is finished, so that the problem that channel sniffing is easily affected and detection accuracy is low in the prior art is solved, the signal-to-interference-and-noise ratio of the signal can be utilized, the accuracy of channel sniffing is improved, and different signal detection accuracy is met through the combined logic judgment.
Drawings
Fig. 1a is a flow chart of a channel sniffing method according to a first embodiment of the present invention;
fig. 1b is a schematic diagram of channel sniffing in a first embodiment of the present invention;
FIG. 1c is a flow chart of an implementation of channel sniffing in a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a channel sniffing device in a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1a is a flow chart of a channel sniffing method according to a first embodiment of the invention, which is applicable to detecting whether a received signal is a wake-up signal, which method may be performed by a channel sniffing device, which may be implemented in hardware and/or software and which may be integrated in an electronic device providing channel sniffing services, e.g. a receiver device, in general. As shown in fig. 1a, the method comprises:
step 110, receiving a signal to be detected, and decomposing the signal to be detected into a plurality of unit signals with symbol period lengths.
In this embodiment, as shown in fig. 1b, the signal to be detected may be a signal received by the receiver device within a configurable channel sniff duration in a configurable channel sniff period SniffPeriod. The received signal may be detected for a sliding wake-up signal based on signal-to-interference-and-noise ratio through a configurable sniffing window SniffWindow. If a sniffing window for successfully detecting signal sniffing exists in the SniffDuration, the sniffing period of the channel is successful, and the receiver equipment can start all the receiving functions to continuously receive useful signals; if all signal sniff detection fails within the SniffDuration, the channel sniff of the period fails and the receiver device enters a sleep state.
In this embodiment, since the sniffing window can only take part of the received signal to detect each time, in order to quickly calculate the signal-to-interference-and-noise ratio of the signal in the sniffing window and improve the accuracy requirement of signal detection by using the signal-to-interference-and-noise ratio, the received signal to be detected can be decomposed into a plurality of unit signals with the length equal to one symbol period, so that the signal-to-interference-and-noise ratio of each unit signal is simply calculated, and multiple modes of judgment can be performed according to the signal-to-interference-and-noise ratios of the plurality of unit signals. Wherein the symbol period may be the duration of one modulation symbol.
Optionally, decomposing the signal to be detected into a unit signal with a plurality of symbol period lengths may include: sliding decomposition is carried out on the signal to be detected by using the window length as a sampling window of a modulation symbol period to obtain a plurality of unit signals; the interval between the starting position of the current access window and the starting position of the previous adjacent access window is determined according to the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window.
In this embodiment, as shown in fig. 1c, a window length equal to the window length of one modulation symbol period may be used to slide the signal to be detected, so as to obtain the signal to be detected
Figure BDA0003148184120000061
Into a plurality of unit signals having a length equal to one symbol period
Figure BDA0003148184120000062
In order to ensure the signal quality of each decomposed unit signal, a certain signal overlapping portion exists between the two previous and next unit signals, and the size of the interval between the starting position of the current access window and the starting position of the previous adjacent access window, that is, the size of the overlapping portion between the unit signal corresponding to the current access window and the previous unit signal, can be determined according to the size of the signal-to-interference-and-noise ratio of the previous decomposed unit signal.
Optionally, determining the interval between the starting position of the current access window and the starting position of the previous adjacent access window according to the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window may include: if the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window is greater than the threshold value, the interval between the starting position of the current access window and the starting position of the previous adjacent access window is one symbol period; if the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window is smaller than or equal to the threshold value, the interval between the starting position of the current access window and the starting position of the previous adjacent access window is one sampling period.
In this embodiment, when determining the starting position of the current access window according to the signal-to-interference-and-noise ratio of the previous unit signal, if the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window is greater than the specified threshold, the signal quality of the previous unit signal is considered to be better, so that the unit signal taken by the current access window may overlap with the previous unit signal by less signal, and at this time, a symbol period may be set between the current access window and the starting position of the previous access window. If the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous access window is smaller than or equal to the specified threshold, the signal quality of the previous unit signal is considered to be poor, so that the unit signal taken by the current access window can overlap with the previous unit signal by more signals, and at the moment, a sampling period can be set between the current access window and the starting position of the previous access window. Wherein the sampling period may be the time taken for a sample.
And 120, calculating the signal-to-interference-and-noise ratio of each unit signal, and carrying out combination logic judgment on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window.
In this embodiment, as shown in fig. 1c, after a unit signal is obtained, an appropriate signal-to-interference-and-noise ratio estimation method may be used to calculate the signal-to-interference-and-noise ratio of the unit signal according to the specific modulation format of the wake-up signal, for example, a time domain signal-to-interference-and-noise ratio estimation method, a frequency domain signal-to-interference-and-noise ratio estimation method, or a combination thereof. And to combine the signal-to-interference-and-noise ratio SNR i And feeding back to the step 110, so that the step 110 determines the starting position of the next fetch window according to the signal-to-interference-and-noise ratio. And then, acquiring the signal-to-interference-and-noise ratio of all unit signals corresponding to the current sniffing window, respectively carrying out signal judgment on the unit signals by adopting a plurality of modes, and carrying out combination logic judgment on judgment results in the plurality of modes according to the precision requirement to obtain judgment results corresponding to part of signals to be detected in the current sniffing window.
Optionally, calculating the signal-to-interference-and-noise ratio of each unit signal and performing a combinational logic decision on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window may include: calculating the signal-to-interference-and-noise ratio of each unit signal, and sequentially storing the signal-to-interference-and-noise ratio of each unit signal into each register in the shift register group until all registers in the register group are occupied; the register group is equal to the sniffing window in length; and carrying out probability counting judgment and continuous counting judgment on the signal-to-interference-and-noise ratio in the register group, and carrying out combination logic judgment on the probability calculation judgment result and the continuous counting judgment result according to the configured combination logic switch to obtain a combination logic judgment result.
In this embodiment, as shown in fig. 1c, in order to obtain the signal-to-interference-and-noise ratio of all unit signals corresponding to the current sniffing window, a register set with a length equal to that of the sniffing window may be set to store the signal-to-interference-and-noise ratio of all unit signals in the sniffing window, that is, the number of registers included in the register set is equal to the number of unit signals in the sniffing window. Therefore, each time a signal-to-interference-plus-noise ratio is calculated, the signal-to-interference-plus-noise ratio stored in the register set is moved to the right by the position of one register as a whole, the newly calculated signal-to-interference-plus-noise ratio is stored in the register set until the register set is fully occupied, and the signal-to-interference-plus-noise ratios of all unit signals corresponding to the current sniffing window are obtained. And then, carrying out two different decisions, namely probability counting decision and continuous counting decision, on all signal-to-interference-and-noise ratios in the register group, setting the value of a combination logic switch according to the detection precision requirement of the signal to be detected, and carrying out corresponding combination logic decision on a probability calculation decision result StaticFlag and a continuous counting decision result SequencnFlag to obtain a combination logic decision result combnFlag.
Optionally, performing probability counting decision on the signal-to-interference-and-noise ratio in the register set may include: counting the total number of signal-to-interference-and-noise ratios larger than a target threshold value in a register set to be used as a first number; and if the first number is larger than the first expected threshold, outputting a probability counting judgment result as 1, otherwise, outputting a probability counting judgment result as 0.
In this embodiment, when probability counting is performed on all signal-to-interference-plus-noise ratios in the register set, the number staticinum of signal-to-interference-plus-noise ratios of Sniff Window Len continuous symbols in the current sniffing Window, which is greater than a configurable target threshold SniffSNRThrd, can be counted, the staticinum is compared with a first expected threshold sniffstaticinum, and if the staticinum is greater than sniffstaticinum, the current sniffing Window is considered to detect a wake-up signal, and a probability counting policy decision result staticing=1 is output; otherwise, the current sniffing window is considered to not detect the wake-up signal, and a probability counting strategy judgment result staticflag=0 is output.
Optionally, performing continuous counting decision on the signal-to-interference-and-noise ratio in the register set may include: counting the maximum continuous number of signal-to-interference-and-noise ratios larger than a target threshold value in the register set as a second number; and if the second number is larger than a second expected threshold value, outputting a continuous counting judgment result as 1, otherwise, outputting a continuous counting judgment result as 0.
In this embodiment, when performing continuous counting decision on all signal-to-interference-plus-noise ratios in the register set, the maximum continuous number SequenNum of signal-to-interference-plus-noise ratios of Sniff Window Len continuous symbols in the current sniffing Window, which is greater than a configurable target threshold SniffSNRThrd, can be counted, the SequenNum is compared with a second desired threshold SniffSequenNum, and if the SequenNum is greater than SniffSequenNum, the current sniffing Window is considered to detect a wake-up signal, and a continuous counting strategy decision result sequenflag=1 is output; otherwise, the current sniffing window is considered to not detect the wake-up signal, and a continuous counting strategy judgment result SequencnFlag=0 is output.
Optionally, according to the configured combinational logic switch, performing combinational logic decision on the probability calculation decision result and the continuous counting decision result to obtain a combinational logic decision result, which may include: if the value of the combination logic switch is 0, performing OR operation on the probability calculation judgment result and the continuous counting judgment result; if the value of the combination logic switch is 1, performing AND operation on the probability calculation judgment result and the continuous counting judgment result; if the operation result is 1, determining that the combination logic judgment result is successful detection, otherwise, determining that the combination logic judgment result is failed detection.
In this embodiment, the value of the combinational logic switch orange may be set according to the service requirement, where the value is 0 represents or operation, and the value is 1 represents and operation. It may be that when orand=0, combnflag=staticflag||sequensflag is output; when orand=1, combnflag=staticflag & & sequensflag is output. If combnflag=1, the wake-up signal is detected in the current sniffing window, the signal detection can be exited, all receiving functional units of the receiver device are awakened to receive the subsequent signal, and if combnflag=0, the wake-up signal is not detected in the current sniffing window, and the sniffing window needs to be slid to acquire a new signal to continue detection.
And 130, if the combined logic judgment result is that the detection fails, sliding the sniffing window backwards by a preset number of unit signals, returning to execute the operation of calculating the signal-to-interference-plus-noise ratio of each unit signal, and carrying out the combined logic judgment operation on the signal-to-interference-plus-noise ratio of the unit signal in the current sniffing window until the combined logic judgment result is that the detection is successful or the detection of the signal to be detected is finished.
In this embodiment, after determining that the current sniffing Window does not detect the wake-up signal, if there are still undetected unit signals in the signal to be detected, the sniffing Window is slid backward by a preset number of unit signals, for example, by one unit signal length, to obtain new Sniff Window Len unit signals. At this time, it is necessary to calculate the signal-to-interference-and-noise ratio of the newly added unit signal, shift all the data stored in the register set by one register to the right, store the newly calculated signal-to-interference-and-noise ratio into the register set, and then perform a combinational logic decision again on all the signal-to-interference-and-noise ratios in the register set. The above process is repeated until the result of the combination logic decision is that the detection is successful, and a sniffing window for detecting the wake-up signal appears, or until all the signals to be detected received in the channel sniffing duration are detected.
In the embodiment of the invention, the signal to be detected is received and decomposed into a plurality of unit signals with symbol period lengths; calculating the signal-to-interference-and-noise ratio of each unit signal, and carrying out combination logic judgment on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window; if the combined logic judgment result is detection failure, the sniffing window is slid backwards by a preset number of unit signals, the signal-to-interference-and-noise ratio of each unit signal is calculated in a return mode, and the combined logic judgment operation is carried out on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window until the combined logic judgment result is detection success or the detection of the signal to be detected is finished, so that the problem that channel sniffing is easily affected and detection accuracy is low in the prior art is solved, the signal-to-interference-and-noise ratio of the signal can be utilized, the accuracy of channel sniffing is improved, and different signal detection accuracy is met through the combined logic judgment.
Example two
Fig. 2 is a schematic structural diagram of a channel sniffing device according to a second embodiment of the present invention, which is applicable to detecting whether a received signal is a wake-up signal, and which may be implemented in hardware and/or software and may be generally integrated in an electronic device, such as a receiver device, that provides a channel sniffing service. As shown in fig. 2, the apparatus includes:
the signal decomposition module 210 is configured to receive a signal to be detected and decompose the signal to be detected into a unit signal with a plurality of symbol period lengths;
the combinational logic decision module 220 is configured to calculate a signal-to-interference-and-noise ratio of each unit signal, and perform combinational logic decision on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window;
and the circulation module 230 is configured to, if the determination result is that the detection fails, slide the sniffing window backward by a preset number of unit signals, return to perform the operation of calculating the signal-to-interference-and-noise ratio of each unit signal, and perform the operation of combining logic determination on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window until the determination result is that the detection is successful or the signal to be detected is detected.
In the embodiment of the invention, the signal to be detected is received and decomposed into a plurality of unit signals with symbol period lengths; calculating the signal-to-interference-and-noise ratio of each unit signal, and carrying out combination logic judgment on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window; if the combined logic judgment result is detection failure, the sniffing window is slid backwards by a preset number of unit signals, the signal-to-interference-and-noise ratio of each unit signal is calculated in a return mode, and the combined logic judgment operation is carried out on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window until the combined logic judgment result is detection success or the detection of the signal to be detected is finished, so that the problem that channel sniffing is easily affected and detection accuracy is low in the prior art is solved, the signal-to-interference-and-noise ratio of the signal can be utilized, the accuracy of channel sniffing is improved, and different signal detection accuracy is met through the combined logic judgment.
Optionally, the signal decomposition module 210 is configured to:
sliding decomposition is carried out on the signal to be detected by using the window length as a sampling window of a modulation symbol period to obtain a plurality of unit signals;
the interval between the starting position of the current access window and the starting position of the previous adjacent access window is determined according to the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window.
Optionally, the signal decomposition module 210 is configured to:
if the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window is greater than the threshold value, the interval between the starting position of the current access window and the starting position of the previous adjacent access window is one symbol period;
if the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window is smaller than or equal to the threshold value, the interval between the starting position of the current access window and the starting position of the previous adjacent access window is one sampling period.
Optionally, the combinational logic decision module 220 is configured to:
calculating the signal-to-interference-and-noise ratio of each unit signal, and sequentially storing the signal-to-interference-and-noise ratio of each unit signal into each register in the shift register group until all registers in the register group are occupied; the register group is equal to the sniffing window in length;
and carrying out probability counting judgment and continuous counting judgment on the signal-to-interference-and-noise ratio in the register group, and carrying out combination logic judgment on the probability calculation judgment result and the continuous counting judgment result according to the configured combination logic switch to obtain a combination logic judgment result.
Optionally, the combinational logic decision module 220 is configured to:
counting the total number of signal-to-interference-and-noise ratios larger than a target threshold value in a register set to be used as a first number;
and if the first number is larger than the first expected threshold, outputting a probability counting judgment result as 1, otherwise, outputting a probability counting judgment result as 0.
Optionally, the combinational logic decision module 220 is configured to:
counting the maximum continuous number of signal-to-interference-and-noise ratios larger than a target threshold value in the register set as a second number;
and if the second number is larger than a second expected threshold value, outputting a continuous counting judgment result as 1, otherwise, outputting a continuous counting judgment result as 0.
Optionally, the combinational logic decision module 220 is configured to:
if the value of the combination logic switch is 0, performing OR operation on the probability calculation judgment result and the continuous counting judgment result;
if the value of the combination logic switch is 1, performing AND operation on the probability calculation judgment result and the continuous counting judgment result;
if the operation result is 1, determining that the combination logic judgment result is successful detection, otherwise, determining that the combination logic judgment result is failed detection.
The channel sniffing device provided by the embodiment of the invention can execute the channel sniffing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example III
Fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention. Fig. 3 illustrates a block diagram of an exemplary device 12 suitable for use in implementing embodiments of the present invention. The device 12 shown in fig. 3 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 3, device 12 is in the form of a general purpose computing device. Components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, commonly referred to as a "hard disk drive"). Although not shown in fig. 3, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with device 12, and/or any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, device 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, via network adapter 20. As shown, network adapter 20 communicates with other modules of device 12 over bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the channel sniffing method provided by embodiments of the present invention.
Namely: a channel sniffing method is implemented, comprising:
receiving a signal to be detected, and decomposing the signal to be detected into a plurality of unit signals with symbol period lengths;
calculating the signal-to-interference-and-noise ratio of each unit signal, and carrying out combination logic judgment on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window;
if the combined logic judgment result is that the detection fails, sliding the sniffing window backwards by a preset number of unit signals, returning to execute the operation of calculating the signal-to-interference-plus-noise ratio of each unit signal, and carrying out the combined logic judgment on the signal-to-interference-plus-noise ratio of the unit signal in the current sniffing window until the combined logic judgment result is that the detection is successful or the detection of the signal to be detected is finished.
Example IV
The fourth embodiment of the present invention also discloses a computer storage medium having stored thereon a computer program which when executed by a processor implements a channel sniffing method comprising:
receiving a signal to be detected, and decomposing the signal to be detected into a plurality of unit signals with symbol period lengths;
calculating the signal-to-interference-and-noise ratio of each unit signal, and carrying out combination logic judgment on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window;
if the combined logic judgment result is that the detection fails, sliding the sniffing window backwards by a preset number of unit signals, returning to execute the operation of calculating the signal-to-interference-plus-noise ratio of each unit signal, and carrying out the combined logic judgment on the signal-to-interference-plus-noise ratio of the unit signal in the current sniffing window until the combined logic judgment result is that the detection is successful or the detection of the signal to be detected is finished.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (10)

1. A method of channel sniffing, comprising:
receiving a signal to be detected, and decomposing the signal to be detected into a plurality of unit signals with symbol period lengths;
calculating the signal-to-interference-and-noise ratio of each unit signal, and carrying out combination logic judgment on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window;
if the combined logic judgment result is that the detection fails, sliding the sniffing window backwards by a preset number of unit signals, returning to execute the operation of calculating the signal-to-interference-plus-noise ratio of each unit signal, and carrying out the combined logic judgment on the signal-to-interference-plus-noise ratio of the unit signal in the current sniffing window until the combined logic judgment result is that the detection is successful or the detection of the signal to be detected is finished.
2. The method of claim 1, wherein decomposing the signal to be detected into a plurality of unit signals of symbol period length comprises:
sliding decomposition is carried out on the signal to be detected by using the window length as a sampling window of a modulation symbol period to obtain a plurality of unit signals;
the interval between the starting position of the current access window and the starting position of the previous adjacent access window is determined according to the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window.
3. The method of claim 2, wherein determining the interval between the start position of the current fetch window and the start position of the previous neighboring fetch window based on the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous neighboring fetch window comprises:
if the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window is greater than the threshold value, the interval between the starting position of the current access window and the starting position of the previous adjacent access window is one symbol period;
if the signal-to-interference-and-noise ratio of the unit signal decomposed by the previous adjacent access window is smaller than or equal to the threshold value, the interval between the starting position of the current access window and the starting position of the previous adjacent access window is one sampling period.
4. The method of claim 1, wherein calculating the signal-to-interference-and-noise ratio for each unit signal and making a combinational logic decision on the signal-to-interference-and-noise ratio for the unit signal within the current sniff window comprises:
calculating the signal-to-interference-and-noise ratio of each unit signal, and sequentially storing the signal-to-interference-and-noise ratio of each unit signal into each register in the shift register group until all registers in the register group are occupied; the register set is equal to the sniffing window in length;
and carrying out probability counting judgment and continuous counting judgment on the signal-to-interference-and-noise ratio in the register group, and carrying out combination logic judgment on a probability calculation judgment result and a continuous counting judgment result according to the configured combination logic switch to obtain a combination logic judgment result.
5. The method of claim 4, wherein making a probability count decision on signal-to-interference-and-noise ratios in the register set comprises:
counting the total number of signal-to-interference-and-noise ratios larger than a target threshold value in the register set to be used as a first number;
and if the first number is larger than the first expected threshold, outputting a probability counting judgment result as 1, otherwise, outputting a probability counting judgment result as 0.
6. The method of claim 4, wherein making successive count decisions for signal-to-interference-and-noise ratios in the register set comprises:
counting the maximum continuous number of signal-to-interference-and-noise ratios larger than a target threshold value in the register group to be used as a second number;
and if the second number is larger than a second expected threshold value, outputting a continuous counting judgment result as 1, otherwise, outputting a continuous counting judgment result as 0.
7. The method of claim 4, wherein performing a combinational logic decision on the probability computation decision result and the successive count decision result according to the configured combinational logic switch to obtain a combinational logic decision result comprises:
if the value of the combination logic switch is 0, performing OR operation on the probability calculation judgment result and the continuous counting judgment result;
if the value of the combination logic switch is 1, performing AND operation on the probability calculation judgment result and the continuous counting judgment result;
if the operation result is 1, determining that the combination logic judgment result is successful detection, otherwise, determining that the combination logic judgment result is failed detection.
8. A channel sniffing device, comprising:
the signal decomposition module is used for receiving a signal to be detected and decomposing the signal to be detected into unit signals with a plurality of symbol period lengths;
the combined logic judgment module is used for calculating the signal-to-interference-and-noise ratio of each unit signal and carrying out combined logic judgment on the signal-to-interference-and-noise ratio of the unit signal in the current sniffing window;
and the circulation module is used for sliding the sniffing window backwards by a preset number of unit signals if the judgment result is that the detection fails, returning to execute the operation of calculating the signal-to-interference-plus-noise ratio of each unit signal, and carrying out the operation of combining logic judgment on the signal-to-interference-plus-noise ratio of the unit signal in the current sniffing window until the judgment result is that the detection is successful or the detection of the signal to be detected is finished.
9. An electronic device, the device comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the channel sniffing method of any of claims 1-7.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements a channel sniffing method according to any of claims 1-7.
CN202110757163.4A 2021-07-05 2021-07-05 Channel sniffing method, device, equipment and storage medium Active CN113490262B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110757163.4A CN113490262B (en) 2021-07-05 2021-07-05 Channel sniffing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110757163.4A CN113490262B (en) 2021-07-05 2021-07-05 Channel sniffing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113490262A CN113490262A (en) 2021-10-08
CN113490262B true CN113490262B (en) 2023-04-25

Family

ID=77940803

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110757163.4A Active CN113490262B (en) 2021-07-05 2021-07-05 Channel sniffing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113490262B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2234360A1 (en) * 2009-03-27 2010-09-29 Fujitsu Limited Ordered successive interference cancellation in multi-channel wireless communication systems
CN102624662A (en) * 2012-04-13 2012-08-01 南京航空航天大学 Incoherent detection technology suitable for DMR digital trunking communication system
CN103999422A (en) * 2012-10-26 2014-08-20 英特尔公司 Methods and systems to mitigate impulse interference
CN107306238A (en) * 2016-04-21 2017-10-31 北京三星通信技术研究有限公司 Reception, sending method and the corresponding receiver and emitter of carrier (boc) modulated signals

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160048360A (en) * 2014-10-24 2016-05-04 삼성전자주식회사 method and apparatus for receiving a signal based on a measurement of interference

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2234360A1 (en) * 2009-03-27 2010-09-29 Fujitsu Limited Ordered successive interference cancellation in multi-channel wireless communication systems
CN102624662A (en) * 2012-04-13 2012-08-01 南京航空航天大学 Incoherent detection technology suitable for DMR digital trunking communication system
CN103999422A (en) * 2012-10-26 2014-08-20 英特尔公司 Methods and systems to mitigate impulse interference
CN107306238A (en) * 2016-04-21 2017-10-31 北京三星通信技术研究有限公司 Reception, sending method and the corresponding receiver and emitter of carrier (boc) modulated signals

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
倪水平 ; 常慧刚 ; 徐玉平 ; .基于信噪比估计的自适应频谱感知算法.计算机应用研究.2017,(第09期),全文. *

Also Published As

Publication number Publication date
CN113490262A (en) 2021-10-08

Similar Documents

Publication Publication Date Title
CN107527630B (en) Voice endpoint detection method and device and computer equipment
CN102598808A (en) Adaptive digital baseband receiver
US20150146826A1 (en) INTEGRATED CIRCUIT IMPLEMENTATION OF METHODS AND APPARATUSES FOR MONITORING OCCUPANCY OF WIDEBAND GHz SPECTRUM, AND SENSING RESPECTIVE FREQUENCY COMPONENTS OF TIME-VARYING SIGNALS USING SUB-NYQUIST CRITERION SIGNAL SAMPLING
CN109669663B (en) Method and device for acquiring range amplitude, electronic equipment and storage medium
CN113507334B (en) Channel sniffing-based parameter testing method, device, equipment and storage medium
CN111726182B (en) Multi-primary user dynamic spectrum sensing method under non-Gaussian noise fading channel
CN111641420A (en) Signal detection and acquisition method, device, receiver and storage medium
CN111343344A (en) Voice abnormity detection method and device, storage medium and electronic equipment
CN113490262B (en) Channel sniffing method, device, equipment and storage medium
US7729435B2 (en) Null detection in DAB, T-DMB, and DAB-IP systems
CN110601716B (en) Anti-interference communication method, device, terminal and storage medium
CN113470646A (en) Voice wake-up method, device and equipment
US9973973B2 (en) Signal processing devices and methods
Liu et al. Robust time-hopping pseudolite signal acquisition method based on dynamic Bayesian network
CN112187684B (en) Soft demodulation method, soft demodulation device, receiver and storage medium
CN111447637B (en) Spectrum data acquisition method, device, equipment and storage medium
CN113259971B (en) Reception mode setting method, reception mode setting device, storage medium, and electronic apparatus
CN109358755B (en) Gesture detection method and device for mobile terminal and mobile terminal
CN114401077B (en) Signal synchronization method and device, electronic equipment and storage medium
CN105704644B (en) Method and apparatus for signal synchronization
CN114401176B (en) Signal arrival detection method and device, electronic equipment and storage medium
CN112468423B (en) Signal decoding method, signal decoding device, electronic equipment and storage medium
CN111179966A (en) Voice analysis method and device, electronic equipment and storage medium
CN112995082B (en) OFDM symbol processing method, device, equipment and storage medium
CN113438700B (en) Redirection method, redirection device and electronic equipment

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