A dpdk-based high-speed network data packet capture splitting and caching method
A high-speed network and network data technology, applied in the transmission system, electrical components, etc., can solve the problems of non-compliance, inability to high-speed shunt and cache, no data packet shunt and cache requirements, etc., to achieve the effect of high-speed capture
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0046] Step 1: Network Data Capture
[0047] Step 1-1: Install the DPDK driver;
[0048] Step 1-2: Use the packet capture interfaces rte_eth_rx_burst and rte_ctrlmbuf_data to obtain data packets, set the network card queue to 4, start four packet capture threads at the same time, and bind the packet capture threads to 0-3 cores of the CPU.
[0049] Step 2: Parse the captured data packet, extract the quintuple information, parse the data packet into a custom format CDetectionElement, and cache it in the lock-free queue concurrent_queue. The specific method is:
[0050] Step 2-1: Analyze the data packet, extract information such as source IP, destination IP, source port, destination port and protocol type, and encapsulate it into a class CDetectionElement to be detected;
[0051] Step 2-2: Put CDetectionElement into the buffer queue, the queue uses the concurrent_queue lock-free queue in intel TBB;
[0052] Step 3: The thread polls the cache queue, and when the data in the qu...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com