With the rise in Internet of Things (IoT) devices, home network management and security are becoming complex. There is an urgent requirement to make smart home network management efficient. This work proposes an SDN-based architecture to secure smart home networks through K-Nearest Neighbor (KNN) based device classifications and malicious traffic detection. The efficiency is further enhanced by offloading the computation-intensive KNN model to Field Programmable Gate Arrays (FPGA), which offers parallel processing power of GPU platforms at lower costs and higher efficiencies, and can be used to accelerate time-sensitive tasks. The proposed parallelization and implementation of KNN on FPGA are achieved by using the Vivado Design Suite from Xilinx and High-Level Synthesis (HLS). When optimized with 10-fold cross-validation, the proposed solution for KNN consistently exhibits the best performances on FPGA when compared with four alternative KNN instances (i.e., 78\% faster than the parallel bubble sort-based implementation and 99\% faster than the other three sorting algorithms). Moreover, with 36,225 training samples, the proposed KNN solution classifies a test query with 95\% accuracy in approximately 4 milliseconds on FPGA compared to 57 seconds on a CPU platform.
翻译:随着互联网(IoT)装置的兴起,家庭网络管理和安全变得日益复杂,迫切需要提高智能型家庭网络管理的效率。这项工作提议建立基于SDN的SDN架构,通过K-Nearest邻居(KNNN)的装置分类和恶意交通检测,确保智能家庭网络。由于将计算密集的KNN模型卸载到外地可编程门阵列(FPGA),使GPU平台的平行处理能力降低成本,提高效率,并可用于加速时间敏感的任务。拟议在FPGA上的 KNNN的平行化和实施是通过使用Xilinx和高级合成(HLS)的Vivado设计套件实现的。如果以10倍交叉校验优化,拟议的KNNN的解决方案在FPGA上展示了最佳表现,与四种可编程的KNNGA实例相比(即比平行的气泡类实施速度快78 ⁇ 快,比其他三种分类算速度快99 ⁇ 快)。此外,拟议的KNNNNGA解决方案在大约95秒的CFPGA测试中,比45秒的CFPA的精确度为45秒。