SDN based user-defined data packet sampling method

A data packet and sampling configuration technology, applied in the field of computer networks, can solve the problems of large data packets, inaccurate sampling data, and inability to minimize sampling, so as to reduce the size of sampling results, increase flexibility, and reduce effect of stress

Active Publication Date: 2017-03-15
INST OF INFORMATION ENG CAS
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing traditional network, information is usually collected from data packets through data mirroring or according to a defined protocol format. In addition to complex configuration of switches or additional hardware support, sampling of data packets and required information In contrast, or due to the limitation of the protocol format, the sampling content cannot be flexibly defined, resulting in inaccurate sampling data and taking it on demand, resulting in too large data packets, and the data part contains a lot of useless information, resulting in a large a

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
  • SDN based user-defined data packet sampling method
  • SDN based user-defined data packet sampling method
  • SDN based user-defined data packet sampling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings.

[0031] 1. figure 1 It is the system operation flowchart of the present invention. Such as figure 1 As shown, the method includes:

[0032] 1) The self-defined sampling module in the controller, the controller receives the sampling information from the upper application, performs type judgment and analysis operation, and the output of this subsystem is sampling configuration, sampling start / sampling stop command;

[0033] 2) The switch receives and parses the command. If the command is a sampling configuration command, configure the switch with custom parameters; if the command is to start sampling, after completing the configuration, sample the specified content of the data packet that meets the sampling requirements. Processing; if the instruction...

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 SDN based user-defined data packet sampling method. The SDN based user-defined data packet sampling method comprises the step of 1) setting a sampling module in a controller, and configuring an appointed switch by the controller based on sampling configuration information sent by an upper-layer application; 2) when the controller receives a sampling start instruction sent by the upper-layer application, sending the sampling start instruction to the appointed switch; 3) when the switch receives the sampling start instruction, starting a set timer, sieving each data packet based on configuration to obtain data packets meeting a matching rule, then extracting needed content from the sieved data packets according to a configured sampling mode and outputting the needed content to an appointed port; and 4) when the controller receives a sampling stop instruction sent by the upper-layer application, sending the sampling stop instruction to the appointed switch based on the sampling start instruction, and when the switch receives the sampling stop instruction, stopping sampling and cancelling the timer. The SDN based user-defined data packet sampling method not only guarantees more accurate sampling content, but also can reduce the size of the data packets to the maximum extent.

Description

technical field [0001] The invention belongs to the field of computer networks, relates to a sampling method, and more specifically relates to an SDN-oriented self-defined data packet sampling method. Background technique [0002] The purpose of network data packet sampling is to obtain network status information with a small amount of information, monitor network communication, and deal with some abnormal situations in the network. Nowadays, with the rapid popularization of the Internet and the frequent occurrence of network attacks, protection The operational security of the network has also become another important purpose of data packet sampling and monitoring. In the existing traditional network, information is usually collected from data packets through data mirroring or according to a defined protocol format. In addition to complex configuration of the switch or additional hardware support for sampling, the data packets obtained by sampling and the required informatio...

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): H04L12/26
CPCH04L43/022
Inventor 宋晨王利明史淼荀浩杨倩谢德俊
Owner INST OF INFORMATION ENG CAS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products