CN114866166B - Wi-Fi subcarrier cross-protocol interference identification method based on CNN - Google Patents
Wi-Fi subcarrier cross-protocol interference identification method based on CNN Download PDFInfo
- Publication number
- CN114866166B CN114866166B CN202210219478.8A CN202210219478A CN114866166B CN 114866166 B CN114866166 B CN 114866166B CN 202210219478 A CN202210219478 A CN 202210219478A CN 114866166 B CN114866166 B CN 114866166B
- Authority
- CN
- China
- Prior art keywords
- subcarrier
- cnn
- subcarriers
- layer
- training
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/12—Classification; Matching
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Software Systems (AREA)
- Molecular Biology (AREA)
- Mathematical Physics (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Quality & Reliability (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
Abstract
发明公开了一种基于CNN的Wi‑Fi子载波干扰识别方法,具体包括以下步骤:步骤1,采集异构无线网络中Wi‑Fi子载波的信道特征信息并分类;步骤2,预处理并将得到的数据集划分为训练集和测试集;步骤3,对步骤2得到的训练集通过CNN模型学习训练,得到训练后的子载波分类模型;所述CNN模型包括输入层、中间层L、输出层;所述中间层包括两层卷积层、非线性拟合函数、全连接层、激活函数;步骤4,根据步骤3训练得到的分类模型对测试集中的子载波进行干扰识别,定位受干扰子载波和不受干扰子载波。实验结果及性能分析表明,相对于现有技术,本发明所提供的方法在精确度、泛化能力等方面均有提高。
The invention discloses a CNN-based Wi-Fi sub-carrier interference identification method, which specifically includes the following steps: Step 1, collecting and classifying channel characteristic information of Wi-Fi sub-carriers in a heterogeneous wireless network; Step 2, preprocessing and The data set that obtains is divided into training set and test set; Step 3, the training set that step 2 obtains is learned and trained by CNN model, obtains the subcarrier classification model after training; Described CNN model comprises input layer, intermediate layer L, output layer; the middle layer includes two layers of convolutional layers, nonlinear fitting function, fully connected layer, and activation function; step 4, according to the classification model trained in step 3, the subcarriers in the test set are subjected to interference identification, and the location is interfered subcarriers and undisturbed subcarriers. Experimental results and performance analysis show that, compared with the prior art, the method provided by the present invention has improved accuracy, generalization ability and the like.
Description
技术领域technical field
本发明涉及异构无线网络通信领域,具体涉及一种基于卷积神经网络的Wi-Fi子载 波跨协议干扰识别方法。The present invention relates to the field of heterogeneous wireless network communication, in particular to a convolutional neural network-based Wi-Fi sub-carrier cross-protocol interference identification method.
背景技术Background technique
异构无线网络是在同ISM开放频段内融合多种现有通信技术而形成的复杂通信单元, 多种不兼容的无线通信技术在同一时空下共享同一段频谱资源的现象,即为异构无线网 络共存。在人工智能高速发展的时代下,异构无线网络共存的应用场景(智能交通、车联网等)普遍存在,由于异构无线网络共存现象而引发的跨协议同频干扰降低了频谱利 用率,浪费了有效带宽,这是无线通信中数据高效传输面临的一个重要挑战。一般地, 共享频谱资源的无线设备可使用带有冲突避免的载波侦听多路访问(CSMA/CA)协议实 现数据传输,通过CCA方式监控信道状态,并采用二元指数后退算法来避免冲突,以牺 牲某一个设备为代价来获取其他设备的更大的可用带宽份额。但是,CSMA/CA依赖于随 机回溯,在更多设备试图接入信道时明显降低网络吞吐量。而且无法适用于“高功率干 扰”场景,原因在于高功耗设备检测不到低功耗设备的存在,低功耗设备的信号增益远 小于高功率信号,最终导致高功耗设备独占共享频谱,低功耗设备“饿死”。在异构无 线网络共存环境下,若采用不同通信协议的异构设备不能共享有限的频谱资源,将会引 起信号间干扰,造成丢包、信号失真、通信时延增大,进而导致数据传输成功率与频谱 利用率降低。A heterogeneous wireless network is a complex communication unit formed by fusing multiple existing communication technologies in the same ISM open frequency band. The phenomenon that multiple incompatible wireless communication technologies share the same spectrum resource in the same time and space is called a heterogeneous wireless network. Network coexistence. In the era of rapid development of artificial intelligence, application scenarios where heterogeneous wireless networks coexist (intelligent transportation, Internet of Vehicles, etc.) This is an important challenge for efficient data transmission in wireless communications. Generally, wireless devices sharing spectrum resources can use the Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) protocol to implement data transmission, monitor channel status through CCA, and use binary exponential backoff algorithm to avoid conflicts, Obtain a greater share of available bandwidth from other devices at the expense of one device. However, CSMA/CA relies on random backtracking, significantly reducing network throughput as more devices attempt to access the channel. And it cannot be applied to the "high-power interference" scenario, because high-power devices cannot detect the existence of low-power devices, and the signal gain of low-power devices is much smaller than that of high-power signals, which eventually leads to high-power devices monopolizing the shared spectrum. Low-power devices "starve to death". In the coexistence environment of heterogeneous wireless networks, if heterogeneous devices using different communication protocols cannot share limited spectrum resources, it will cause interference between signals, resulting in packet loss, signal distortion, and increased communication delay, which will lead to successful data transmission. rate and spectrum utilization are reduced.
异构无线网络中数据传输的干扰主要在于不同通信协议底层架构的不兼容。由于各 种无线通信在设计之初,并未考虑跨协议在同一时域内对频谱资源进行共享,因此遵循不同协议标准的设备在共享频段内竞争资源,产生同频干扰。迄今为止,异构无线网络 中多协议同时通信产生的干扰问题已经得到了国内外通信领域众多科研人员以及工业界 的广泛关注,并提出了一系列的解决方案,主要可分为干扰避免方案、干扰消除方案、 跨协议数据传输方案三大类。不论是哪一种解决方式,其首要前提都是对跨协议干扰的 精准识别,进而才能选择不同的干扰解决方式。例如:2.4GHz频段是全球共享的ISM 频段,Wi-Fi、Bluetooth、ZigBee等无线通信技术都可以在这个频段工作。但是由于不同 的通信方式遵循不同的MAC层协议和标准,如Wi-Fi遵循IEEE802.11b/g/n协议,ZigBee遵循IEEE802.15.4协议,由于二者在物理层调制/解调的不兼容性,同一个异构 无线网络下的多元化设备工作在同一频带内就会产生跨协议干扰,这将影响异构无线网 络的整体性能。并且在实际通信过程中,窄带ZigBee信号干扰对不同Wi-Fi子载波的影 响不同,存在受干扰子载波和不受干扰子载波两类,子载波性能的差异可以为Wi-Fi通 信带来更多的灵活性。The interference of data transmission in heterogeneous wireless networks mainly lies in the incompatibility of the underlying architectures of different communication protocols. Since various wireless communications were not designed to share spectrum resources in the same time domain across protocols, devices following different protocol standards compete for resources in the shared frequency band, resulting in co-channel interference. So far, the interference problem caused by multi-protocol simultaneous communication in heterogeneous wireless networks has been widely concerned by many researchers and industrial circles in the field of communication at home and abroad, and a series of solutions have been proposed, which can be mainly divided into interference avoidance schemes, There are three types of interference elimination schemes and cross-protocol data transmission schemes. No matter which solution is used, the first prerequisite is the accurate identification of cross-protocol interference, and then different interference solutions can be selected. For example: the 2.4GHz frequency band is a globally shared ISM frequency band, and wireless communication technologies such as Wi-Fi, Bluetooth, and ZigBee can all work in this frequency band. However, because different communication methods follow different MAC layer protocols and standards, such as Wi-Fi follows the IEEE802.11b/g/n protocol, and ZigBee follows the IEEE802.15.4 protocol, due to the incompatibility between the two in the physical layer modulation/demodulation , multiple devices working in the same frequency band under the same heterogeneous wireless network will generate cross-protocol interference, which will affect the overall performance of the heterogeneous wireless network. And in the actual communication process, narrowband ZigBee signal interference has different effects on different Wi-Fi subcarriers. There are two types of interfered subcarriers and non-interfered subcarriers. The difference in subcarrier performance can bring more Wi-Fi communication. Much flexibility.
但是现有的信道估计技术是对Wi-Fi信道整体做出粗粒度的信道估计和分析,并没有 细化到子载波层面,而且在通信过程中也无法通过对所有子载波的信道特征信息进行分 析后再对子载波分类,进而确定传输方案。However, the existing channel estimation technology is to make coarse-grained channel estimation and analysis on the Wi-Fi channel as a whole, which has not been refined to the sub-carrier level, and it is impossible to perform channel feature information on all sub-carriers during the communication process. After the analysis, the subcarriers are classified to determine the transmission scheme.
目前,已相继提出了多种常用的信道估计方法:At present, a variety of commonly used channel estimation methods have been proposed one after another:
(1)基于训练序列的信道估计。通过发送已知的训练序列,在接收端进行初始的信道估计,当发送有用的信息数据时,利用初始的信道估计结果进行一个判决更新,完成 实时的信道估计。(1) Channel estimation based on training sequence. By sending known training sequences, initial channel estimation is performed at the receiving end. When useful information data is sent, a judgment update is performed using the initial channel estimation results to complete real-time channel estimation.
(2)盲信道估计。利用信道结构信息和传输信息符号的统计特性来进行信道估计,该方法不需要训练序列,仅通过对接收信号进行相关处理获得信道状态信息。(2) Blind channel estimation. The channel estimation is carried out by using the channel structure information and the statistical characteristics of the transmitted information symbols. This method does not need a training sequence, and only obtains the channel state information by correlating the received signals.
(3)半盲信道估计。无需或只需要很短的训练序列。结合盲估计与基于训练序列估计这两种方法优点的信道估计方法。(3) Semi-blind channel estimation. No or only very short training sequences are required. A channel estimation method that combines the advantages of blind estimation and training sequence-based estimation.
上述信道估计与分析方法各有优劣,分别适应于不同的特定应用场景,针对不同的 情况可能存在着不同的弊端,但是它们均没有关注到WiFi单个子载波的信道状态信息。在异构无线网络中,受到跨协议干扰后,不同子载波信道状态是存在差异的,如果对所 有子载波一视同仁可能会导致通信性能的下降。因此,首先需要从子载波层面进行信道 估计,并采用有效的分类模型来对Wi-Fi子载波进行干扰识别,快速定位受干扰子载波 和不受干扰子载波。The above channel estimation and analysis methods have their own advantages and disadvantages, which are suitable for different specific application scenarios, and may have different disadvantages for different situations, but none of them pay attention to the channel state information of a single subcarrier of WiFi. In a heterogeneous wireless network, after cross-protocol interference, the channel status of different sub-carriers is different. If all sub-carriers are treated equally, the communication performance may be degraded. Therefore, it is first necessary to perform channel estimation from the sub-carrier level, and use an effective classification model to identify the interference of Wi-Fi sub-carriers, and quickly locate the interfered sub-carriers and non-interference sub-carriers.
发明内容Contents of the invention
为解决上述问题,本发明提出了一种基于卷积神经网络的Wi-Fi子载波干扰识别方 法,该方法首先对真实场景下异构无线网络中子载波的信道特征信息进行采集和可视化 分析,划分为受干扰子载波和不受干扰子载波两类。通过对信道特征信息进行预处理后构建训练集和测试集,进而采用提出的卷积神经网络(Convolutional Neural Networks,CNN),通过训练生成子载波干扰识别的分类模型,最后通过分类模型实现对异构无线 网络中子载波的干扰识别。在这里子载波干扰识别问题等价于学习子载波分类的条件概 率分布,利用最大条件概率对子载波进行分类决策。In order to solve the above problems, the present invention proposes a Wi-Fi subcarrier interference identification method based on a convolutional neural network. The method first collects and visually analyzes the channel characteristic information of the subcarriers in a heterogeneous wireless network in a real scene. It is divided into two types: disturbed subcarriers and non-interfered subcarriers. After preprocessing the channel feature information, the training set and test set are constructed, and then the proposed Convolutional Neural Networks (CNN) is used to generate a classification model for subcarrier interference recognition through training. Interference identification of subcarriers in structured wireless networks. Here, the subcarrier interference identification problem is equivalent to learning the conditional probability distribution of subcarrier classification, and using the maximum conditional probability to classify subcarriers.
为了实现上述任务,本发明采用以下技术方案:In order to achieve the above tasks, the present invention adopts the following technical solutions:
一种基于CNN的Wi-Fi子载波干扰识别方法,具体包括以下步骤:A CNN-based Wi-Fi subcarrier interference identification method, specifically comprising the following steps:
步骤1,采集异构无线网络中Wi-Fi子载波的信道特征信息并分类;Step 1, collect and classify the channel characteristic information of Wi-Fi subcarriers in the heterogeneous wireless network;
步骤2,对步骤1采集到的信道特征信息进行数据预处理,包括缺失数值和出现异常值进行填充,并将信道特征信息进行归一化处理,然后将预处理后的数据集划分为训 练集和测试集;
步骤3,对步骤2得到的训练集通过CNN模型学习训练,得到训练后的子载波分类模型;所述CNN模型包括输入层、中间层L、输出层;所述中间层包括两层卷积层、非 线性拟合函数、全连接层、激活函数;Step 3, the training set obtained in
步骤4,根据步骤3训练得到的分类模型对测试集中的子载波进行干扰识别,定位受 干扰子载波和不受干扰子载波。
进一步的,所述步骤1的具体操作如下:Further, the specific operation of the step 1 is as follows:
在时隙T中,发送端采用子载波Si向接收节点发送K个数据包,对于子载波Si,接收端向发送端反馈子载波信道信息,发送端设备集接收端反馈的子载波Si的信道特征信息,获取所有子载波的信道特征信息后,发送端划分n个子载波的类别。In the time slot T, the sending end uses the subcarrier S i to send K data packets to the receiving node. For the subcarrier S i , the receiving end feeds back the channel information of the subcarrier to the sending end, and the sending end device sets the subcarrier S The channel characteristic information of i , after obtaining the channel characteristic information of all subcarriers, the sending end divides the categories of n subcarriers.
进一步的,所述步骤2具体包括如下子步骤:Further, the
步骤21,对信道特征信息进行数据填充,得到数据填充后的数据集;具体操作如下:Step 21, data filling is performed on the channel characteristic information to obtain a data set after data filling; the specific operation is as follows:
采用箱型图分析法对于子载波的k次采样中偏离正常范围的值进行异常值检测,并 将异常值视为缺失值,采用K近邻算法对缺失值进行填充处理;Adopt the box diagram analysis method to carry out outlier detection to the value that deviates from the normal range in the k sampling of the subcarrier, and treat the outlier as a missing value, and use the K nearest neighbor algorithm to fill in the missing value;
步骤22,对步骤21得到的数据填充后的数据集采用线性函数进行归一化处理,得到预处理后的数据集。In
步骤23,将预处理后的数据集划分为训练集和测试集。Step 23, divide the preprocessed data set into training set and test set.
进一步的,所述步骤3中,所述中间层的作用如下:Further, in the step 3, the function of the middle layer is as follows:
a)两层卷积层用于进行深层次特征感知和提取,局部感知子载波信道特征;a) Two convolutional layers are used for deep-level feature perception and extraction, and local perception of sub-carrier channel features;
b)通过全连接层连接所有的特征,将输出值送给分类器;b) Connect all the features through the fully connected layer, and send the output value to the classifier;
c)在全连接层引入dropout操作,在一次循环中随机删除神经网络中的部分神经元, 然后再进行该次循环中网络的训练和优化过程,下一循环中重复这一过程,并用损失函 数衡量模型预测的好坏,随着训练的进行,损失值总体呈下降趋势,直至训练结束;c) Introduce the dropout operation in the fully connected layer, randomly delete some neurons in the neural network in one cycle, and then perform the training and optimization process of the network in this cycle, repeat this process in the next cycle, and use the loss function To measure the quality of the model prediction, as the training progresses, the loss value generally shows a downward trend until the end of the training;
进一步的,所述步骤3中,所述两层卷积层采用3x3卷积核。Further, in the step 3, the two convolution layers use a 3x3 convolution kernel.
进一步的,所述步骤3中,采用BP算法进行更新优化,完成网络的学习与训练,最小化预测误差;其中,所述优化的过程有两个阶段:Further, in the step 3, the BP algorithm is used for update optimization, the learning and training of the network is completed, and the prediction error is minimized; wherein, the optimization process has two stages:
1)前向计算根据输入从前往后依次计算得到最终输出值,并计算当前输出与目标的 差距,即计算损失函数;1) Forward calculation calculates the final output value according to the input from front to back, and calculates the gap between the current output and the target, that is, calculates the loss function;
2)反向更新利用随机梯度下降法最小化损失函数,通过传递误差值更新权值;2) The reverse update uses the stochastic gradient descent method to minimize the loss function, and updates the weight by passing the error value;
进一步的,所述步骤3中,对于中间层L和L+i,采用非线性函数对中间层L的输 出作非线性映射;第L层的输入表示为x(L),权重表示为u(L);Further, in the step 3, for the middle layer L and L+i, the output of the middle layer L is nonlinearly mapped by a nonlinear function; the input of the L layer is expressed as x (L) , and the weight is expressed as u ( L) ;
则L+1层的输入x(L+1)表示为:Then the input x (L+1) of the L+1 layer is expressed as:
x(L+1)=f(u(L)x(L))x (L+1) = f(u (L) x (L) )
中间层L的权重=(u(1),u(2),…u(L)),输入=(x(1),x(2),…x(L)),f(·)表示非线性函 数。The weight of the middle layer L = (u (1) , u (2) , ...u (L) ), input = (x (1) , x (2) , ... x (L) ), f( ) means not linear function.
进一步的,所述步骤3中,所述全连接层通过激活函数softmax获取实现子载波分类 的条件概率,不同类别的条件概率之和为1;条件概率分布如下:Further, in the step 3, the fully connected layer obtains the conditional probability of realizing subcarrier classification through the activation function softmax, and the sum of the conditional probabilities of different categories is 1; the conditional probability distribution is as follows:
softmax激活函数表达式如下:The softmax activation function expression is as follows:
其中,x(0)表示输入层数据,u表示权重,j=0或1表示可能输出的子载波类别, exp(y(j|u,x(0)))表示输出层输出子载波类别为j时给出的数值。Among them, x (0) represents the input layer data, u represents the weight, j=0 or 1 represents the possible output subcarrier category, exp(y(j|u, x (0) )) indicates that the output layer output subcarrier category is The value given at j.
进一步的,所述步骤3中,所述CNN模型用到的交叉熵损失函数表达式为:Further, in the step 3, the expression of the cross-entropy loss function used by the CNN model is:
其中,n表示输入样本数,k表示类别数,Si表示输入样本i的真实类别,j表示预 测类别,1{·}表示只有当括号内表达式为真时函数才等于1,否则等于0。Among them, n represents the number of input samples, k represents the number of categories, S i represents the true category of input sample i, j represents the predicted category, 1{ } means that the function is equal to 1 only when the expression in the brackets is true, otherwise it is equal to 0 .
进一步的,所述步骤3中,所述CNN模型的目标函数:Further, in the step 3, the objective function of the CNN model:
G(u,x(0))=-klog(P(k=1|u,x(0)))-(1-k)log(P(k=0|u,x(0)))G(u, x (0) )=-klog(P(k=1|u,x (0) ))-(1-k)log(P(k=0|u,x (0) ))
=-log(PK(k))=-log(P K (k))
其中,k表示类别数目,x(0)表示输入层数据,u表示权重,P(k=1|u,x(0))表示输 出类别1的概率,PK(k)表示预测类别的条件概率分布。Among them, k represents the number of categories, x (0) represents the input layer data, u represents the weight, P(k=1|u, x (0) ) represents the probability of outputting category 1, and P K (k) represents the condition of the predicted category Probability distributions.
本发明与现有技术相比具有以下技术特点:Compared with the prior art, the present invention has the following technical characteristics:
(1)本发明对Wi-Fi信道状态的研究细化到子载波层面,对子载波信道特征信息采集后进行了细粒度分析和分类,有利于在频域上对频谱资源更高效的利用。(1) The present invention refines the research on the Wi-Fi channel state to the sub-carrier level, and conducts fine-grained analysis and classification after the sub-carrier channel characteristic information is collected, which is conducive to more efficient use of spectrum resources in the frequency domain.
(2)本发明首次将CNN技术应用于子载波干扰识别的场景下,模型训练过程中综合考虑了所有子载波的信道特征信息,实现了对子载波的干扰识别,快速定位受干扰子 载波和不受干扰子载波,并具有较好的准确率和泛化能力。(2) The present invention applies CNN technology to the scene of subcarrier interference identification for the first time. In the process of model training, the channel feature information of all subcarriers is comprehensively considered, realizing the interference identification of subcarriers, and quickly locating the interfered subcarriers and It is free from interference subcarriers, and has good accuracy and generalization ability.
(3)本发明基于真实场景采集子载波信道特征信息,构建训练集和测试集,并证明了所提出的CNN模型用于子载波识别的可行性。使用真实场景中采集到的数据进行训练 和测试是重要且有价值的。(3) The present invention collects subcarrier channel feature information based on real scenarios, constructs training sets and test sets, and proves the feasibility of the proposed CNN model for subcarrier identification. It is important and valuable to use the data collected in the real scene for training and testing.
附图说明Description of drawings
图1为本发明的方法的流程图。Figure 1 is a flow chart of the method of the present invention.
图2为子载波EVM数据示例图;Figure 2 is an example diagram of subcarrier EVM data;
图3为受干扰前、后Wi-Fi子载波能量监听情况,其中,(a)为受干扰前,(b)为 受干扰后;Figure 3 is the Wi-Fi subcarrier energy monitoring situation before and after being interfered, where (a) is before being interfered, and (b) is after being interfered;
图4为训练数据集在子载波干扰识别CNN模型下的分类准确率;Figure 4 is the classification accuracy rate of the training data set under the subcarrier interference recognition CNN model;
图5为测试数据集在子载波干扰识别CNN模型下的分类准确率;Figure 5 is the classification accuracy rate of the test data set under the subcarrier interference recognition CNN model;
图6为测试数据集在子载波干扰识别CNN模型不同配置下的分类准确率;Figure 6 shows the classification accuracy of the test data set under different configurations of the subcarrier interference recognition CNN model;
图7为CNN模型与SVM模型分类准确率对比。Figure 7 is a comparison of the classification accuracy between the CNN model and the SVM model.
以下结合附图和具体实施方式对本发明进一步解释说明。The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.
具体实施方式detailed description
本发明中涉及的相关技术术语:Relevant technical terms involved in the present invention:
1、CNN:卷积神经网络(Convolutional Neural Networks)。1. CNN: Convolutional Neural Networks.
2、子载波信道特征信息:指在异构无线网络中Wi-Fi设备受到异构设备(如ZigBee)干扰时,在某一固定时隙T下,使用子载波Si(0<i<n,其中i表示子载波索引, n表示子载波数目)进行数据传输时,所有反映子载波信道状态的相关信息,例如,误 码率、能量检测、幅值、EVM(Error Vector Magnitude)等。2. Subcarrier channel characteristic information: refers to when Wi-Fi devices in a heterogeneous wireless network are interfered by heterogeneous devices (such as ZigBee), in a fixed time slot T, use subcarriers S i (0<i<n , where i represents the subcarrier index, n represents the number of subcarriers) during data transmission, all relevant information reflecting the channel state of the subcarriers, such as bit error rate, energy detection, amplitude, EVM (Error Vector Magnitude), etc.
为了能够快速定位受干扰子载波和不受干扰子载波,本发明提出了一种基于CNN的子载波干扰识别方法。In order to quickly locate interfered subcarriers and undisturbed subcarriers, the present invention proposes a CNN-based subcarrier interference identification method.
基于CNN的子载波干扰识别方法综合考虑真实的子载波信道特征信息,通过CNN训练得到子载波分类模型。第一,采集异构无线网络中Wi-Fi子载波的信道特征信息, 根据子载波信道特征信息确定子载波受干扰情况,经过数据预处理后生成训练集和测试 集;第二,对所述的训练集通过包括输入层、中间层L(卷积层、非线性拟合函数、全 连接层、激活函数)、输出层的CNN自主学习训练生成分类模型;最后利用训练生成的 子载波分类模型对子载波进行干扰识别,即根据子载波输出为不同类别的条件概率值进 行最大条件概率决策,将子载波划分为不同的类别。The CNN-based subcarrier interference identification method comprehensively considers the real subcarrier channel feature information, and obtains the subcarrier classification model through CNN training. First, collect the channel characteristic information of the Wi-Fi subcarrier in the heterogeneous wireless network, determine the interference situation of the subcarrier according to the subcarrier channel characteristic information, and generate a training set and a test set after data preprocessing; second, the The training set of the training set generates a classification model through CNN autonomous learning training including the input layer, the middle layer L (convolution layer, nonlinear fitting function, fully connected layer, activation function), and the output layer; finally, the subcarrier classification model generated by training is used Interference identification is performed on the subcarriers, that is, the maximum conditional probability decision is made according to the conditional probability values output by the subcarriers into different categories, and the subcarriers are divided into different categories.
本发明给出的基于CNN的Wi-Fi子载波干扰识别方法,包括以下步骤:The CNN-based Wi-Fi subcarrier interference identification method provided by the present invention comprises the following steps:
步骤1,采集异构无线网络中Wi-Fi子载波的信道特征信息并分类。具体操作如下:Step 1, collecting and classifying channel characteristic information of Wi-Fi subcarriers in a heterogeneous wireless network. The specific operation is as follows:
在时隙T中,发送端采用子载波Si向接收节点发送K个数据包,对于子载波Si,每个数据包发送过程采用闭环反馈思路,接收端向发送端反馈子载波信道信息,发送端设备 通过上位机采集接收端反馈的子载波Si的信道特征信息,获取所有子载波的信道特征信 息后,发送端通过对信道特征信息可视化分析并为对应子载波添加标签参数,也即划分 n个子载波的类别。In the time slot T, the sending end uses the subcarrier S i to send K data packets to the receiving node. For the subcarrier S i , the sending process of each data packet adopts a closed-loop feedback idea, and the receiving end feeds back the channel information of the subcarrier to the sending end. The sending end device collects the channel characteristic information of the subcarrier S i fed back by the receiving end through the host computer, and after obtaining the channel characteristic information of all subcarriers, the sending end visually analyzes the channel characteristic information and adds label parameters to the corresponding subcarriers, that is, Classify n subcarriers.
步骤2,对步骤1采集到的信道特征信息进行数据预处理,包括缺失数值和出现异常值进行填充,以保证数据维度补齐,并将信道特征信息进行归一化处理,并将预处理 后的数据集划分为训练集和测试集;具体包括如下子步骤:
步骤21,对信道特征信息进行数据填充,得到数据填充后的数据集。Step 21, data filling is performed on the channel feature information to obtain a data set after data filling.
这是由于异构无线网络中跨协议干扰的存在,在采用闭环思路对某些子载波的信道 特征信息进行收集时,常常会出现部分数据异常或者缺失的现象。例如:在第i次(i<k,k为采样次数)的信息采集过程中,部分数据分布为:0.5,160,12,4,3,25…;这 样的数据序列无法直接用作数据集使用。This is due to the existence of cross-protocol interference in heterogeneous wireless networks. When the closed-loop approach is used to collect channel characteristic information of certain subcarriers, some data is often abnormal or missing. For example: in the information collection process of the i time (i<k, k is the number of samples), some data distributions are: 0.5, 160, 12, 4, 3, 25...; such a data sequence cannot be directly used as a data set use.
具体地,对于子载波的k次采样中偏离正常范围的值要进行异常值检测,本实施例中采用箱型图分析法,即提供一个识别异常值的标准,超出上界(UB)和下界(LB)界 定范围的数值和乱码数值识别为异常值,并将异常值视为缺失值,交给缺失值处理方法 来处理。Specifically, outlier detection is performed on values deviating from the normal range in the k samples of subcarriers. In this embodiment, the box diagram analysis method is used, that is, a standard for identifying outliers is provided, beyond the upper bound (UB) and lower bound (LB) The values and garbled values within the defined range are identified as outliers, and the outliers are regarded as missing values, which are handed over to the missing value processing method for processing.
对于缺失值进行处理前,要确定数据缺失的机制和形式,异常值(缺失值)是完全随机缺失、随机缺失还是非随机缺失。本实施例中,数据的缺失属于随机缺失,对于子 载波的k次采样中,数据缺失情况与子载波受干扰情况有关,闭环反馈过程中受到干扰 的子载波更容易出现异常值和缺失值。如果舍弃缺失记录,则会丢失大量信息,使不完 全观测数据与完全观测数据间产生系统差异。对于缺失值的处理,要根据样本集中其余 采样中特征数据的分布情况来对一个缺失值进行填充。Before processing missing values, it is necessary to determine the mechanism and form of missing data, and whether outliers (missing values) are completely random missing, random missing or non-random missing. In this embodiment, the missing data belongs to random missing. In the k samples of subcarriers, the missing data is related to the interference of the subcarriers. The disturbed subcarriers in the closed-loop feedback process are more likely to have outliers and missing values. If missing records are discarded, a large amount of information will be lost, resulting in systematic differences between incomplete and complete observations. For the processing of missing values, a missing value should be filled according to the distribution of characteristic data in the remaining samples in the sample set.
具体地,采用K近邻算法对缺失值进行处理,根据缺失值Di在其他k个信道特征信息中取值的平均值来填充该缺失值;Specifically, the K-nearest neighbor algorithm is used to process the missing value, and the missing value is filled according to the average value of the missing value Di in other k channel feature information;
步骤22,对步骤21得到的数据填充后的数据集进行归一化处理,得到预处理后的数据集。
对于采集到的信道特征信息中存在奇异样本数据,比如采集的子载波信道特征信息 中存在离散数值0.5和150,这样的离散数据将会导致网络收敛速度变慢,因此需要将数据按照一定的规则将离散数据归一化到[0,1]之间。本实施例中采用线性函数归一化方式进行等比例缩放处理,如下式所示:For the singular sample data in the collected channel feature information, for example, there are discrete values 0.5 and 150 in the collected subcarrier channel feature information, such discrete data will slow down the network convergence speed, so the data needs to be processed according to certain rules Normalize discrete data between [0,1]. In this embodiment, the linear function normalization method is used to perform proportional scaling processing, as shown in the following formula:
其中,D为信道特征信息,Dmax该信道特征信息的最大值,Dmin为该信道特征信息的最 小值,Dnorm为归一化处理后的数值。Wherein, D is the channel feature information, D max is the maximum value of the channel feature information, D min is the minimum value of the channel feature information, and D norm is the value after normalization processing.
步骤23,将预处理后的数据集划分为训练集和测试集。Step 23, divide the preprocessed data set into training set and test set.
步骤3,对步骤2得到的训练集通过CNN模型学习训练,得到训练后的子载波分类模型;该网络模型包括输入层、中间层(包括两层卷积层、非线性拟合函数、全连接层、 激活函数)、输出层。其中,中间层的作用如下:Step 3, the training set obtained in
a)两层卷积层用于进行深层次特征感知和提取,局部感知子载波信道特征;a) Two convolutional layers are used for deep-level feature perception and extraction, and local perception of sub-carrier channel features;
b)通过全连接层连接所有的特征,将输出值送给分类器(即激活函数)。b) Connect all the features through the fully connected layer, and send the output value to the classifier (ie, the activation function).
c)在全连接层引入dropout操作(常规设置为0.5),在一次循环中随机删除神经网络中的部分神经元,然后再进行该次循环中网络的训练和优化过程,下一循环中重复 这一过程,并用损失函数衡量模型预测的好坏,随着训练的进行,理想情况下损失值总 体呈下降趋势,直至训练结束。通过Dropout操作,可以命令一个神经单元和随机挑选 出来的神经元共同工作,减弱了神经元节点间的联合适应性,可以有效防止网络出现过 拟合情况,增强网络泛化能力。c) Introduce the dropout operation in the fully connected layer (normally set to 0.5), randomly delete some neurons in the neural network in one cycle, and then perform the training and optimization process of the network in this cycle, and repeat this in the next cycle A process, and use the loss function to measure the quality of the model prediction. As the training progresses, ideally, the loss value generally shows a downward trend until the end of the training. Through the Dropout operation, a neural unit can be ordered to work together with randomly selected neurons, which weakens the joint adaptability between neuron nodes, effectively prevents the network from over-fitting, and enhances the network generalization ability.
具体地,步骤3中两层卷积层可以局部感知子载波信道特征,关键在于对卷积核大小的确定和权值优化过程,具体如下:Specifically, the two convolutional layers in step 3 can locally perceive the subcarrier channel characteristics, the key lies in the determination of the convolution kernel size and the weight optimization process, as follows:
结合已知的信道特征信息和Wi-Fi子载波受到跨协议干扰的特点,在构建CNN模型时,要在常规经验基础上设计符合样本数据特征和跨协议干扰特点的卷积核,加快CNN 模型对子载波进行识别的过程,在这里采用3x3卷积核。在异构网络中对子载波干扰识 别的问题中,就卷积本身的作用而言,相对于大卷积核(5x5,7x7,……),3x3卷积 核足以捕获子载波信道特征的变化。假定卷积核数量都为n,采用1个5x5卷积核参数 量为25n,而2个3x3卷积核参数量为18n,2个3x3卷积核和1个5x5卷积核感受野相 同,前者可以有效减少计算复杂度和参数量;而且卷积核大小为3x3的2个卷积层堆叠 拥有比卷积核大小为5x5的1个卷积层更多的非线性变换,前者可以使用两次非线性激 活函数,而后者只有一次,(前者特征多样性增大)使得网络容量更大,CNN对特征的 学习能力更强,进而对于子载波不同类别的区分能力更强;从模型压缩角度来讲,相同 感受野的前提下,在这里采用小卷积核堆叠用更少的参数获得更深的网络,增加网络的 拟合能力。Combined with the known channel characteristic information and the characteristics of Wi-Fi subcarriers being interfered by cross-protocols, when building a CNN model, it is necessary to design a convolution kernel that conforms to the characteristics of sample data and cross-protocol interference on the basis of conventional experience, so as to speed up the CNN model. In the process of identifying subcarriers, a 3x3 convolution kernel is used here. In the problem of subcarrier interference identification in heterogeneous networks, in terms of the role of convolution itself, compared with large convolution kernels (5x5, 7x7, ...), 3x3 convolution kernels are sufficient to capture changes in subcarrier channel characteristics . Assuming that the number of convolution kernels is n, the parameter quantity of one 5x5 convolution kernel is 25n, and the parameter quantity of two 3x3 convolution kernels is 18n, and the receptive fields of two 3x3 convolution kernels and one 5x5 convolution kernel are the same. The former can effectively reduce the computational complexity and the amount of parameters; and the stack of two convolutional layers with a convolution kernel size of 3x3 has more nonlinear transformations than one convolutional layer with a convolution kernel size of 5x5. The former can use two The sub-nonlinear activation function, while the latter has only one time, (the former feature diversity increases) makes the network capacity larger, CNN's ability to learn features is stronger, and the ability to distinguish different types of subcarriers is stronger; from the perspective of model compression In other words, under the premise of the same receptive field, small convolution kernel stacking is used here to obtain a deeper network with fewer parameters and increase the fitting ability of the network.
对于权值优化过程,本发明中采用BP算法进行更新,完成网络的学习与训练,最小化预测误差。其中优化的过程主要有两个阶段:For the weight optimization process, the present invention adopts the BP algorithm to update, complete the learning and training of the network, and minimize the prediction error. The optimization process mainly has two stages:
1)前向计算根据输入从前往后依次计算得到最终输出值,并计算当前输出与目标的差距, 即计算损失函数。1) Forward calculation Calculate the final output value according to the input from front to back, and calculate the gap between the current output and the target, that is, calculate the loss function.
2)反向更新利用随机梯度下降法最小化损失函数,通过传递误差值更新权值等参数。2) The reverse update uses the stochastic gradient descent method to minimize the loss function, and updates parameters such as weights by passing the error value.
具体地,要对步骤3中对于中间层L和L+1,要采用非线性函数对中间层L的输出 作非线性映射,以增强网络对复杂特征的分类能力;Specifically, for the intermediate layer L and L+1 in step 3, the output of the intermediate layer L must be nonlinearly mapped using a nonlinear function to enhance the network's ability to classify complex features;
CNN网络中间层L和L+1之间需要进行非线性处理,其中第L层的输入可表示为 x(L),权重表示为u(L),本实施例采用激活函数softsign。Non-linear processing is required between the intermediate layer L and L+1 of the CNN network, where the input of the Lth layer can be expressed as x (L) and the weight can be expressed as u (L) . In this embodiment, the activation function softsign is used.
则L+1层的输入x(L+1)可表示为:Then the input x (L+1) of the L+1 layer can be expressed as:
x(L+1)=f(u(L)x(L))x (L+1) = f(u (L) x (L) )
在这里,中间层各层的权重可表示为u=(u(1),u(2),…u(L)),输入可表示为 x=(x(1),x(2),…x(L)),f(·)表示非线性函数。Here, the weights of each layer in the middle layer can be expressed as u=(u (1) , u (2) , ...u (L) ), and the input can be expressed as x=(x (1) , x (2) , ... x (L) ), f(·) represents a nonlinear function.
假设在CNN中间层没有对输出特征进行非线性处理,那么输出层和输入层之间可表 述为简单的线性关系,CNN等价于被简化为只有一层的网络模型,此时二者关系可表示如下:Assuming that the output features are not processed nonlinearly in the middle layer of CNN, then the relationship between the output layer and the input layer can be expressed as a simple linear relationship. CNN is equivalent to being simplified to a network model with only one layer. At this time, the relationship between the two can be expressed as Expressed as follows:
x(O)=u(L)u(L-1)…u(1)x(0) x (O) = u (L) u (L-1) …u (1) x (0)
其中,x(0)表示输入数据,x(O)表示输出数据,如果在中间层不加入非线性处理过程则无法学习复杂的特征进行分类。Among them, x (0) represents the input data, and x (O) represents the output data. If the nonlinear processing process is not added in the middle layer, it is impossible to learn complex features for classification.
具体地,步骤3中的全连接层要通过激活函数softmax来获取实现子载波分类的条件 概率,不同类别的条件概率之和为1;Specifically, the fully connected layer in step 3 needs to obtain the conditional probability of subcarrier classification through the activation function softmax, and the sum of the conditional probabilities of different categories is 1;
因为子载波类别分为受干扰/不受干扰2个类别,因此通过softmax输出数据中每个 向量长度为2,其中每个数据都有一个介于0和|之间的数值,描述了输入数据属于它 所代表的类相对于其他类的可能性。假设在这里分类器预测的子载波类别S∈{0,1},这 是一个离散型随机变量,s=0和s=1分别表示受干扰子载波和不受干扰子载波,反之亦然。 这种情况下,预测概率P符合伯努利分布,其概率质量函数可以表示为PS(s)= Ps(1-P)1-s,且条件概率分布可写为如下公式:Because the subcarrier category is divided into 2 categories: interfered/undisturbed, each vector length in the softmax output data is 2, each of which has a value between 0 and |, describing the input data Likelihood of belonging to the class it represents relative to other classes. Assuming that the subcarrier category S∈{0, 1} predicted by the classifier here is a discrete random variable, s=0 and s=1 represent interfered subcarriers and undisturbed subcarriers, and vice versa. In this case, the predicted probability P conforms to the Bernoulli distribution, its probability mass function can be expressed as P S (s) = P s (1-P) 1-s , and the conditional probability distribution can be written as the following formula:
进一步地,步骤3中所采用的softmax激活函数表达式如下所示:Further, the expression of the softmax activation function used in step 3 is as follows:
其中,x(0)表示输入层数据,u表示权重,j=0或1表示可能输出的子载波类别, exp(y(j|u,x(0)))表示输出层输出子载波类别为j时给出的数值。进而,可将k分类问 题的条件概率P衍变为:Among them, x (0) represents the input layer data, u represents the weight, j=0 or 1 represents the possible output subcarrier category, exp(y(j|u, x (0) )) indicates that the output layer output subcarrier category is The value given at j. Furthermore, the conditional probability P of the k-classification problem can be derived as:
具体地,步骤3中CNN模型用到的交叉熵损失函数表达式为:Specifically, the expression of the cross-entropy loss function used by the CNN model in step 3 is:
其中,n表示输入样本数,k表示类别数,Si表示输入样本i的真实类别,j表示预 测类别,1{·}表示只有当括号内表达式为真时函数才等于1,否则等于0。Among them, n represents the number of input samples, k represents the number of categories, S i represents the true category of the input sample i, j represents the predicted category, 1{ } means that the function is equal to 1 only when the expression in the brackets is true, otherwise it is equal to 0 .
在上述损失函数的基础上,建立CNN模型的目标函数,目标函数描述了条件概率分布与损失函数之间的关系:On the basis of the above loss function, the objective function of the CNN model is established. The objective function describes the relationship between the conditional probability distribution and the loss function:
G(u,x(0))=-klog(P(k=1|u,x(0)))-(1-k)log(P(k=0|u,x(0)))G(u, x (0) )=-klog(P(k=1|u,x (0) ))-(1-k)log(P(k=0|u,x (0) ))
=-log(PK(k))=-log(P K (k))
其中,k表示类别数目(在本实施例中k=2),x(0)表示(输入层数据),u表示权重, P(k=1|u,x(0))表示输出类别1的概率,PK(k)表示预测类别的条件概率分布。Among them, k represents the number of categories (k=2 in this embodiment), x (0) represents (input layer data), u represents the weight, P(k=1|u, x (0) ) represents the output of category 1 Probability, P K (k) represents the conditional probability distribution of the predicted class.
步骤4,根据步骤3训练得到的分类模型对待测的子载波进行干扰识别,定位受干扰 子载波和不受干扰子载波。
具体地,步骤4中所述的对子载波类别进行预测的准确率可表述为;Specifically, the accuracy rate of predicting the subcarrier category described in
其中n表示样本数目,Si表示输入样本i的真实类别,j表示预测得到的类别。Where n represents the number of samples, S i represents the true category of the input sample i, and j represents the predicted category.
步骤4通过步骤3训练得到的分类模型对步骤2数据预处理后得到的测试集进行子载波类别S∈{0,1}预测,利用最大条件概率进行分类决策,定位受干扰子载波和不受干 扰子载波。
为了证明本发明的方法的对子载波干扰识别的可行性和有效性,本发明在真实的异 构无线网络场景下通过WARP设备采集到的数据样本集上进行了如下实验评估。In order to prove the feasibility and effectiveness of the method of the present invention for subcarrier interference identification, the present invention carried out the following experimental evaluation on the data sample set collected by WARP equipment in a real heterogeneous wireless network scenario.
一、数据集说明1. Data set description
本实验所使用的数据集是由实验设备进行采集,我们在异构网络环境下,测得了所 需要的Wi-Fi设备端的子载波信息,本实验将收集到的子载波信息分为训练数据集和测试数据集,其中训练数据集和测试数据集包含了子载波的吞吐量、SER(Symbol ErrorRate)、CSI(Channel State Information)幅值、子载波能量信息、EVM(Error VectorMagnitude),表1显示了数据集的具体情况。如图1、2所示,展示了抓取到的部分信道 信息,图1显示了Wi-Fi子载波受到跨协议干扰后的EVM值和受干扰数据分布,图2显 示了Wi-Fi子载波受到跨协议干扰前后的信道能量变化,这些信息需要能够真实有效的 反应出子载波信道信息。The data set used in this experiment is collected by the experimental equipment. We measured the required sub-carrier information on the Wi-Fi device side in a heterogeneous network environment. In this experiment, the collected sub-carrier information is divided into training data sets. and test data sets, in which the training data set and the test data set include the throughput of subcarriers, SER (Symbol ErrorRate), CSI (Channel State Information) amplitude, subcarrier energy information, EVM (Error VectorMagnitude), Table 1 shows the specifics of the data set. As shown in Figures 1 and 2, part of the captured channel information is displayed. Figure 1 shows the EVM value and interference data distribution of the Wi-Fi subcarriers after cross-protocol interference. Figure 2 shows the Wi-Fi subcarriers The channel energy changes before and after cross-protocol interference, the information needs to be able to truly and effectively reflect the subcarrier channel information.
表1数据集的统计数据Statistics of the dataset in Table 1
二、分析实验结果2. Analyze the experimental results
图3显示了随着训练轮次的增加,CNN模型对训练集子载波的分类性能。相对较高SINR和较低SINR环境,在中等SINR环境下,分类准确性达到100%的训练轮次更少。 这是由于在异构网络的高干扰环境下,Wi-Fi子载波受到跨协议干扰的同时,会出现时域 上的避让和回退,造成网络收敛速度下降,在低干扰环境下,此时跨协议干扰特征较弱, 环境噪声会导致网络收敛速度下降。Figure 3 shows the classification performance of the CNN model on the subcarriers of the training set as the number of training epochs increases. Compared with the high SINR and low SINR environments, the medium SINR environment has fewer training epochs to achieve 100% classification accuracy. This is because in the high-interference environment of heterogeneous networks, when the Wi-Fi subcarriers are subject to cross-protocol interference, there will be avoidance and fallback in the time domain, resulting in a decrease in network convergence speed. In a low-interference environment, at this time The cross-protocol interference feature is weak, and the environmental noise will cause the network convergence speed to decrease.
图4显示了CNN模型在不同SINR下对测试集的分类性能。可以看出,在中等 SINR下,测试数据集分类准确率最高,这是由于真实环境下子载波受到跨协议干扰的特 征较为明显所导致,而且在不同的SINR下,使用该CNN模型均实现了收敛效果,证明 了CNN模型对Wi-Fi子载波进行干扰识别的鲁棒性。Figure 4 shows the classification performance of the CNN model on the test set under different SINRs. It can be seen that under the medium SINR, the classification accuracy of the test data set is the highest, which is caused by the fact that the subcarriers are subject to cross-protocol interference in the real environment, and under different SINRs, the CNN model has achieved convergence. The effect proves the robustness of the CNN model for interference identification on Wi-Fi subcarriers.
图5显示了增加卷积层数时CNN模型的性能变化。通过增加卷积层数,比较了测试集在不同SINR下的分类性能。实验结果表明,增加卷积层数后的分类性能和原配置下基 本保持一致,这表明在该网络模型下卷积层数量的增加不会显著提高分类性能。Figure 5 shows the performance change of the CNN model when increasing the number of convolutional layers. By increasing the number of convolutional layers, the classification performance of the test set under different SINRs is compared. The experimental results show that the classification performance after increasing the number of convolutional layers is basically the same as that of the original configuration, which indicates that the increase in the number of convolutional layers in this network model will not significantly improve the classification performance.
图6显示了不同SINR下,CNN模型和SVM模型对于子载波干扰识别的性能对比。 支持向量机(SVM)要求从时域或频域上选择子载波特征,该方法训练简单,识别速度快。 然而,它的性能在很大程度上取决于特征的选择,不能适应环境的变化。这是由于SVM 依赖于特征的提取,手动提取的特征不能完全代表Wi-Fi子载波在异构网络共存环境下 的信道特征。通过CNN模型对子载波进行干扰识别,可以发现不同SINR下对子载波的 分类准确率明显高于SVM,说明该模型具有更好的泛化能力。Figure 6 shows the performance comparison of the CNN model and the SVM model for subcarrier interference identification under different SINRs. Support Vector Machine (SVM) requires subcarrier features to be selected from the time domain or frequency domain. This method is simple to train and fast to identify. However, its performance depends heavily on the selection of features and cannot adapt to changes in the environment. This is because SVM relies on feature extraction, and manually extracted features cannot fully represent the channel characteristics of Wi-Fi subcarriers in a heterogeneous network coexistence environment. Through the CNN model to identify the interference of the subcarriers, it can be found that the classification accuracy of the subcarriers under different SINRs is significantly higher than that of the SVM, indicating that the model has better generalization ability.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210219478.8A CN114866166B (en) | 2022-03-08 | 2022-03-08 | Wi-Fi subcarrier cross-protocol interference identification method based on CNN |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210219478.8A CN114866166B (en) | 2022-03-08 | 2022-03-08 | Wi-Fi subcarrier cross-protocol interference identification method based on CNN |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114866166A CN114866166A (en) | 2022-08-05 |
| CN114866166B true CN114866166B (en) | 2023-01-10 |
Family
ID=82628025
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210219478.8A Active CN114866166B (en) | 2022-03-08 | 2022-03-08 | Wi-Fi subcarrier cross-protocol interference identification method based on CNN |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114866166B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115603851B (en) * | 2022-10-21 | 2026-01-30 | 西北大学 | Method and apparatus for cross-protocol interference cancellation based on interference characteristics in encoding and decoding |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111556453A (en) * | 2020-04-27 | 2020-08-18 | 南京邮电大学 | Multi-scene indoor action recognition method based on channel state information and BilSTM |
| CN112163574A (en) * | 2020-11-23 | 2021-01-01 | 南京航天工业科技有限公司 | ETC interference signal transmitter identification method and system based on deep residual error network |
| WO2021043126A1 (en) * | 2019-09-02 | 2021-03-11 | Iq Works Limited | System and method for event recognition |
| CN112990026A (en) * | 2021-03-19 | 2021-06-18 | 西北大学 | Wireless signal perception model construction and perception method and system based on countermeasure training |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11665777B2 (en) * | 2018-09-28 | 2023-05-30 | Intel Corporation | System and method using collaborative learning of interference environment and network topology for autonomous spectrum sharing |
-
2022
- 2022-03-08 CN CN202210219478.8A patent/CN114866166B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021043126A1 (en) * | 2019-09-02 | 2021-03-11 | Iq Works Limited | System and method for event recognition |
| CN111556453A (en) * | 2020-04-27 | 2020-08-18 | 南京邮电大学 | Multi-scene indoor action recognition method based on channel state information and BilSTM |
| CN112163574A (en) * | 2020-11-23 | 2021-01-01 | 南京航天工业科技有限公司 | ETC interference signal transmitter identification method and system based on deep residual error network |
| CN112990026A (en) * | 2021-03-19 | 2021-06-18 | 西北大学 | Wireless signal perception model construction and perception method and system based on countermeasure training |
Non-Patent Citations (4)
| Title |
|---|
| Channel Selective Activity Recognition with WiFi: A Deep Learning Approach Exploring Wideband Information;Fangxin Wang等;《IEEE Transactions on Network Science and Engineering》;20180410;第181-192页 * |
| HEIR: Heterogeneous interference recognition for wireless sensor networks;Meng Hou等;《Proceeding of IEEE International Symposium on a World of Wireless, Mobile and Multimedia Networks 2014》;20141009;第1-9页 * |
| 一种通信干扰分类方法;Marc Lichtman等;《通信对抗》;20160315(第01期);第56-62页 * |
| 基于卷积神经网络联合多域特征提取的干扰识别算法;王鹏宇等;《信号处理》;20211025;第1-13页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114866166A (en) | 2022-08-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Kulin et al. | End-to-end learning from spectrum data: A deep learning approach for wireless signal identification in spectrum monitoring applications | |
| US12143826B2 (en) | Predicting a radio spectrum usage | |
| CN103716123B (en) | Packet loss and wrong reason recognition methods and system in a kind of sensor network | |
| CN107547460A (en) | Radio communication Modulation Signals Recognition method based on deep learning | |
| JP2021525933A (en) | Methods, devices and computer-readable media for detecting cell states in wireless cellular networks | |
| WO2022057321A1 (en) | Method and apparatus for detecting anomalous link, and storage medium | |
| CN113452676B (en) | A detector allocation method and Internet of things detection system | |
| KR20230091093A (en) | Data-Based Probabilistic Modeling of Wireless Channels Using Conditional Variational Auto-Encoders | |
| CN118890404A (en) | 5G protocol and line short compatible intercommunication method and system | |
| TW202437155A (en) | Traffic identification using machine learning | |
| EP2120181A1 (en) | A sensor node, a sensor network and a method for autonomous decision-making in sensor networks | |
| CN114866166B (en) | Wi-Fi subcarrier cross-protocol interference identification method based on CNN | |
| CN112804119B (en) | MAC protocol identification method based on convolutional neural network | |
| Almohamad et al. | A deep learning model for LoRa signals classification using cyclostationay features | |
| Tassie et al. | Leveraging explainable AI for reducing queries of performance indicators in open RAN | |
| Li et al. | Trustworthy deep learning for encrypted traffic classification: Z. Li et al. | |
| Abdulaal et al. | Deep Learning-based Signal Identification in Wireless Communication Systems: A Comparative Analysis on 3G, LTE, and 5G Standards | |
| Cerar et al. | Learning to fairly classify the quality of wireless links | |
| CN114915526A (en) | Communication signal modulation identification method, device and system | |
| CN104168599B (en) | Wireless sensor network fault diagnosis method based on time weight K- nearest neighbour methods | |
| CN111291078A (en) | Domain name matching detection method and device | |
| CN107634923A (en) | A Distributed Communication Signal Modulation Recognition Method | |
| Mokhtar | Adaptive based machine learning approach for cooperative energy detection in cognitive radio networks | |
| Tao et al. | Memorial K-means clustering for cooperative spectrum sensing in cognitive wireless sensor networks at low SNR regimes | |
| Alshawki et al. | Congestion Control Prediction Model for 5G Environment Based on Supervised and Unsupervised Machine Learning Approach |
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 |