传感技术学报2025,Vol.38Issue(4):744-748,5.DOI:10.3969/j.issn.1004-1699.2025.04.024
基于TF-IDF算法的无线传感网络攻击流量检测方法研究
Research on Detection Method of Attack Traffic in Wireless Sensor Network Based on TF-IDF Algorithm
摘要
Abstract
There are many types of attack traffic in wireless sensor networks,and the detection method of attack traffic is difficult to meet multiple types of traffic data,resulting in poor detection accuracy.Therefore,a wireless sensor network attack traffic detection method based on TF-IDF algorithm is proposed.Firstly,the wireless sensor network traffic is divided into two type,i.e.,continuous and discrete.The continuous traffic is processed by using the unique heat coding,and the discrete traffic is normalized.Then,the traffic characteristics of the wireless sensor network are extracted by the TF-IDF algorithm,the multi-channel self-coder is trained by the feature vector set,and the TF-IDF algorithm is used to calculate the frequency of the attack traffic data characteristics to be detected in the wireless sensor net-work traffic,so as to sort the attack traffic.Finally,the final traffic type detection result is output through Softmax classifier.The simulation results show that the minimum detection precision of the proposed method is 97.05%,the maximum false alarm rate is 2.01%,and the av-erage test time is 20.1 s,proving that the proposed method can effectively and accurately detect attack traffic in wireless sensor networks.关键词
无线传感网络/攻击流量检测/TF-IDF算法/多通道自编码器Key words
wireless sensor network/attack traffic detection/TF-IDF algorithm/multi-channel self-encoder分类
信息技术与安全科学引用本文复制引用
王晨,刘鑫..基于TF-IDF算法的无线传感网络攻击流量检测方法研究[J].传感技术学报,2025,38(4):744-748,5.基金项目
河北省教育厅项目(ZC2021217) (ZC2021217)