Unlock instant, AI-driven research and patent intelligence for your innovation.

GPU-based SDN network packet classification method and system

A classification method and network packet technology, applied in the field of SDN network packet classification, can solve the problems of slow matching speed of packet classification system, unfavorable rule set update, time-consuming and other problems, and achieve the effect that the update rate is not affected

Active Publication Date: 2020-07-31
SOUTH CHINA UNIV OF TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003]The packet classification system is a kind of extraction of multiple fields in the data packet header, taking the traditional five-tuple as an example, source / destination IP address, source / destination port number and the protocol type field, match the rules in the rule set according to their respective matching methods, and retrieve and find the highest priority rule, so as to execute the rule action system. For the current packet classification system commonly used in the SDN network, it includes: linear search system , tuple space search system and tree structure-based search system, among them, the linear search system can only match one rule at a time, although the system flow is simple, but when the rule set is large, the matching speed is too slow; although the tuple space search system Compared with the linear search algorithm, the search speed is improved, but the preprocessing of the rule set in the grouping process is relatively slow, and the process of calculating the mask is also time-consuming, requiring a high-performance CPU to satisfy the calculation; although the search algorithm based on the tree structure is extremely large The search speed is improved, but the algorithm for constructing the search tree structure is complex and the process is very slow, which is not conducive to the update of the rule set
[0004] To sum up, the commonly used packet classification system in SDN network currently has the problem of slow matching speed, or the matching speed becomes faster but the update speed of the rule set is too slow

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
  • GPU-based SDN network packet classification method and system
  • GPU-based SDN network packet classification method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0040] Such as figure 1 As shown, the present embodiment provides a GPU-based SDN network packet classification system, the system includes an SDN switch and a graphics processing unit GPU (Graphics Processing Unit), the SDN switch packs and extracts the packet header field, and performs data processing with the GPU. Transmission; the SDN network packet of the present embodiment includes information such as source IP, destination IP, source port number, destination port number, transmission type (TCP or UDP) and the network data content of user's request, and SDN switch will rule set, packet header field , two-dimensional array, match the kernel, and pass the calculation kernel to the GPU, then receive the calculated result of the GPU and process the data packet according to the received result; the GPU is responsible for receiving the data and kernel sent from the SDN switch, and executing the kernel, and then the final obtained The data is returned to the SDN switch.

[004...

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 a GPU-based SDN network packet classification method and system, and the method comprises the steps of: enabling an SDN switch to create a two-dimensional array, and transmit initial data of a rule set, a matching kernel, a calculation kernel and the two-dimensional array to a GPU; enabling the GPU to receive and store the initial data of the SDN switch; enabling the SDN switch to analyze a packet header field in the SDN network packet and send the packet header field to the GPU; carrying out parallel computing on a plurality of threads in the GPU, and carrying out kernel matching and kernel computing; matching the packet header field with the rule set field, and storing a matching result into a two-dimensional array; performing logical operation on each row of datain the two-dimensional array, and screening an operation result to obtain a rule set number; screening the rule set number with the highest priority and sending the rule set number to the SDN switch;and processing the SDN network packet according to the data processing rule corresponding to the rule set number with the highest priority. According to the method, the characteristic of parallel matching of the data packets is utilized, the parallel computing capacity of the GPU is combined, and it can be guaranteed that the updating rate is not affected while rapid matching is achieved.

Description

technical field [0001] The invention relates to the technical field of SDN network packet classification, in particular to a GPU-based SDN network packet classification method and system. Background technique [0002] Software Defined Networking (SDN) adopts the idea of ​​centralized control and distributed forwarding. At present, the mainstream forwarding protocol adopted by switches in SDN network is OpenFlow protocol. The size of the flow table in the network has increased sharply, and the traditional packet classification system is far from being suitable for SDN networks. Traditional networks only use their best efforts to transmit data packets to their destinations, so data packets may be delayed or lost. [0003] The packet classification system is a way to extract multiple fields in the header of the data packet. Taking the traditional five-tuple as an example, the source / destination IP address, source / destination port number and protocol type fields are matched with...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50G06F16/906
CPCG06F9/5027G06F16/906G06F2209/5018
Inventor 王君君陆以勤金冬子覃健诚
Owner SOUTH CHINA UNIV OF TECH