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

IP data packet identification method and gateway

An IP data packet and identification method technology, applied in electrical components, transmission systems, etc., can solve the problems of low IP data packet identification efficiency, long waiting time for data packets, inaccurate port numbers, etc., to reduce computing resources. The effect of consumption, high accuracy and high accuracy

Inactive Publication Date: 2012-12-12
北京中科晶上科技股份有限公司
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] 1: Group data packets by port number. Due to the inaccuracy of port number classification, the data packets in the same group may not necessarily belong to the same application type after grouping, so the overall recognition accuracy is reduced;
[0013] 2: When extracting the characteristics of application data, the method used is very complicated, which increases the amount of calculation, and the identification efficiency of IP data packets is low, especially not suitable for the transmission of widely used real-time data;
[0014] 3: Since the algorithm includes multiple operations such as comparison, comparison, and custom entropy calculations, it can only perform calculations and type judgments on a set of IP data packets at the same time, and must wait for n data packets to be received before identification can be performed. Waiting for a long time for the first packet increases the network delay

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
  • IP data packet identification method and gateway
  • IP data packet identification method and gateway
  • IP data packet identification method and gateway

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] Such as figure 2 As shown, the IP data packet identification method of this embodiment includes the following steps:

[0052] Step 1: Extract the first 8 bytes of the application layer data of the IP packet; the 8 bytes are 71.00, 69.00, 84.00., 32.00, 47.00, 112.00, 114.00, and 110.00 in sequence

[0053] Step 2: Perform Fast Fourier Transform on the extracted 8 bytes to obtain the 8-byte frequency domain feature string; the feature string is obtained by fast Fourier transform from the extracted 8 bytes It is composed of 8 bytes corresponding to the above 8 bytes; the 8 bytes corresponding to the frequency obtained by the above 8 bytes are 640.00, 49.45+116.27i, -80.00-38.00i, -1.45+56.26i, -8.00,- 1.45-56.26i, -80.00+38.00i, 49.45-116.26i. The above-mentioned 8 frequency domain bytes constitute a characteristic string.

[0054] Step 3: Use the SVM (Support Vector Machine) algorithm to classify the above-mentioned feature strings to identify the type of IP data packet; thr...

Embodiment 2

[0062] Such as image 3 As shown, the IP data packet identification method of this embodiment includes the following steps:

[0063] First: Extract the first 6 bytes of the application layer data of the IP packet; the 6 bytes are 128.00, 107.00, 25.00, 212.00, 0.00, 29.00 in sequence;

[0064] Second: transform the 6 bytes extracted from the time domain signal into the corresponding 6 bytes in the frequency domain signal by discrete Fourier transform; the 6 bytes are 501.00, -28.00-89.20 in turn i, 259.00-15.90i, -195.00, 259.50+45.90i, -28.00+89.20i. 6 bytes in the frequency domain constitute the characteristic string in the frequency domain;

[0065] The frequency characteristic string obtained by calculation can also be calculated by fast Fourier transform; fast Fourier transform is a fast algorithm of discrete Fourier transform, which has the characteristics of small amount of calculation, high efficiency and accuracy;

[0066] Third: Use NB (Naive Bayes) Bayesian classification ...

Embodiment I

[0071] The IP data packet identification method in this embodiment is:

[0072] Extract the first 4 bytes of the application layer data of the IP packet; the 4 bytes are 36.00, 2.00, 2.00, 43.00 in sequence. The extracted 4 bytes are subjected to fast Fourier transform to obtain the 4 bytes The corresponding 4 bytes of the frequency domain are 83.00, 34.00+41.00i, -7.00, 34.00-41.00i, and the 4 bytes are converted into frequency domain signals to obtain the characteristic string of the frequency domain; using RART (Partial Decision Tree) Part of the decision tree algorithm classifies the above-mentioned characteristic strings to identify the type of IP data packets; the IP data packets described in this embodiment belong to RTSP application type data packets. According to the classification of the IP data packet, the type mark is added to the classified IP data packet, and the type mark corresponding to each application type is different. Using 4 byte pairs as the original data ...

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 discloses an IP data packet identification method and a gateway, which are designed to solve the problems that the existing IP data packet identification method and the gateway are low in accuracy rate, low in efficiency and large in time delay. The IP data packet identification method comprises the following steps: extracting the front N bytes of data of an IP data packet application layer, and converting the extracted bytes into a frequency domain signal through Fourier transformation to obtain a characteristic string of the frequency domain, and sorting the IP data packets according to the characteristic string by a machine learning algorithm. The gateway in the invention at least comprises an identifying unit which comprises an extracting module, a Fourier transforming module and a sorting module which are connected orderly. The IP data packet identification method and the gateway have the advantages of high accuracy rate, high efficiency and easy implementation.

Description

Technical field [0001] The invention relates to an IP data packet identification method and a gateway. Background technique [0002] Such as figure 1 As shown, the IP data packet is divided into an IP data header and application layer data. The content stored in the IP data header includes information such as source IP address, destination IP address, source port number, destination port number, and communication protocol. Communication protocols usually include TCP transmission control protocol and UDP user data protocol. Application layer data is the specific content to be transmitted in the IP data packet. [0003] For example, in the English document "Maximum Entropy Based IP-Traffic Classification in Mobile Communication Network" published in the IEEE Wireless Communication and Networking Conference, the method for identifying IP data packet types based on application layer data includes the following steps: [0004] Step 1: Group the received n IP data packets according to t...

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/06
Inventor 石晶林胡金龙韩雪韩霖
Owner 北京中科晶上科技股份有限公司
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