Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Parallel acceleration method for KNN algorithm-based network intrusion detection

A technology of network intrusion detection and KNN algorithm, which is applied in the field of information security to ensure the system detection rate, improve the overall efficiency, and improve the operation speed.

Active Publication Date: 2018-09-28
ZHEJIANG UNIV OF TECH
View PDF3 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention first aims at the complex distance calculation problem in the KNN classification algorithm, extracts the common part of the calculation, and uses the general matrix multiplication function provided by CUDA to realize the distance calculation between the network intrusion detection data point and the network intrusion detection training data set , which improves the operation speed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Parallel acceleration method for KNN algorithm-based network intrusion detection
  • Parallel acceleration method for KNN algorithm-based network intrusion detection
  • Parallel acceleration method for KNN algorithm-based network intrusion detection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The technical scheme of the present invention will be further explained below in conjunction with the drawings.

[0028] The parallelization acceleration method of network intrusion detection based on KNN algorithm of the present invention, the specific implementation steps are as follows:

[0029] (1) The algorithm is initialized on the CPU side and GPU side. Initialize m network intrusion detection data points to be detected on the CPU side, n network intrusion detection training data points with classification labels, the dimension of each data point is d, and the number of nearest neighbors is k (k≤n) . The memory space of the network intrusion detection data point set and training data point set to be detected is allocated on the GPU side, and the data is copied from the CPU side to the GPU side.

[0030] (8) Calculate the distance from m intrusion detection data points to n training data points in parallel, and obtain a distance matrix with dimension m*n. On the GPU s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a parallel acceleration method for KNN algorithm-based network intrusion detection. A CUDA parallel computing model is adopted in the method. The method comprises the steps thatfirstly, parallel analysis is conducted on KNN algorithm-based network intrusion detection, and when the distances between network intrusion detection data points and a training data set are computed, a general matrix multiplication function provided by the CUDA is adopted for acceleration, so that the computing speed is increased; secondly, in the distance sorting stage, a selection mechanism for two parallel sorting strategies is provided, the sorting algorithm needing the shorter sorting time can be flexibly selected for distance sorting according to the sorting result of a few data; and finally, in the classification stage of the intrusion detection data points, counting is conducted by adopting a CUDA-based atom addition operation. The experiment result shows that the acceleration method is valid, and the parallel acceleration performance of network intrusion detection is effectively improved on the condition that the detection rate is guaranteed.

Description

(1) Technical field [0001] The invention relates to a network intrusion detection technology in the field of information security, and is a parallelized acceleration method for network intrusion detection based on a KNN algorithm. (2) Background technology [0002] The purpose of network intrusion detection is to analyze the data traffic transmitted on the network, and find and detect abnormal traffic from it. At present, there are many classification algorithms used in network intrusion detection systems. Among them, network intrusion detection based on KNN (K-Nearest Neighbor) classification algorithm is the most commonly used. The most classic solution method of the KNN algorithm is the brute force search method. This method first calculates the distance between each network intrusion detection data point and the network intrusion detection training data set in turn, and then quickly sorts the distance of each intrusion detection data point in turn, thereby Get the k training...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06G06K9/62
CPCH04L63/1408H04L63/1425G06F18/2413
Inventor 刘端阳郑江帆沈国江刘志朱李楠杨曦阮中远
Owner ZHEJIANG UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products