计算机工程与应用 ›› 2014, Vol. 50 ›› Issue (11): 95-98.

• 网络、通信、安全 • 上一篇    下一篇

粒子群算法和K近邻相融合的网络入侵检测

徐  鹏1,姜凤茹2   

  1. 1.湛江师范学院 数学与计算科学学院,广东 湛江 524048
    2.河南商业高等专科学校 应用电子系,郑州 450044
  • 出版日期:2014-06-01 发布日期:2015-04-08

Network intrusion detection model based on particle swarm optimization and k-nearest neighbor

XU Peng1, JIANG Fengru2   

  1. 1.School of Mathematics and Computer Science, Zhanjiang Normal University, Zhanjiang, Guangdong 524048, China
    2.Department of Applications Electronic, Henan Business College, Zhengzhou 450044, China
  • Online:2014-06-01 Published:2015-04-08

摘要: 为了提高网络入侵检测效果,提出一种粒子群优化算法(PSO)和K最近邻相融(KNN)的网络入侵检测模型(PSO-KNN)。首先特征子集和KNN参数作为一个粒子,然后通过粒子之间的信息交流和相互协作,找到最优特征子集和KNN参数,从而建立最优网络入侵检测模型,最后利用KDD 1999数据集对模型性能进行测试。结果表明,相对于其他入侵检测算法,PSO-KNN更有效地精简网络数据特征,提高分类算法的网络入侵检测速度及检测率。

关键词: 网络入侵检测, 特征选择, 粒子群优化算法, K最近邻

Abstract: In order to improve network intrusion detection performance, this paper proposes a network intrusion detection model based on particle swarm optimization and k-nearest neighbor. Firstly, the features and KNN’s parameters are taken as a particle, and then the optimal features and KNN’s parameters are got by particle swarm to build the optimal network intrusion detection model, finally, the performance of the built model is tested by KDD 1999 data. Experimental results show that the proposed algorithm is more effective for feature selection of network data and improvement of network intrusion detection speed and detection rate of classification algorithms.

Key words: network intrusion detection, features selection, particle swarm optimization algorithm, k-nearest neighbor