Method and system for capturing network data
A network data and data packet technology, applied in the field of network data capture methods and systems, can solve the problems of increasing the system and CPU, reducing the efficiency of data packet transmission, etc., and achieve the effect of solving synchronization problems, saving CPU resources, and improving transmission efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] see Figure 2a , is a flowchart of a network data capture method provided in Embodiment 1 of the present invention. The method of the embodiment of the present invention is suitable for a network data capture system, and the system includes: a network card, a kernel state driver and a user state data analysis device. Wherein, the network card belongs to the hardware layer, the kernel mode driver belongs to the kernel mode, and the user mode data analysis device belongs to the user mode.
[0032] The method includes: step 210 - step 260 .
[0033] Step 210, the network card captures the data packet, and buffers the data packet into a receiving first-in-first-out queue of the network card.
[0034] Wherein, the receiving first-in-first-out queue (RX First Input First Output, RX FIFO) is used to receive the data packets captured by the network card. RX stands for receiving. First-in-first-out queue (FIFO) is a first-in-first-out data buffer. The difference from ordinary...
Embodiment 2
[0075] see image 3 , is a flow chart of a network data capture method provided in Embodiment 2 of the present invention. The method of this embodiment is applicable to a network data capture system, and the system includes: a driver module, a network card configured in a hardware layer, a kernel mode driver and a network adapter configured in a kernel mode, and a user mode data analysis device configured in a user mode. Wherein, the network adapter is the hardware driver of the network card, which is mainly responsible for the initialization and configuration of the network card, as well as functions such as sending and receiving of data packets; , loaded by the driver module (ie image 3 The registered driver module shown) starts working until the driver module is unloaded (i.e. image 3 Unregister the driver module as shown) to end the work.
[0076] The method includes: Step 310 - Step 370 . Wherein, loop one includes steps 310 to 370 , and loop two includes steps 330 ...
Embodiment 3
[0096] see Figure 4 , is a schematic structural diagram of a network data capture system provided in Embodiment 3 of the present invention. The system includes: a network card 410 , a kernel mode driver 420 and a user mode data analysis device 430 .
[0097]Wherein, the network card 410 is used for capturing data packets, and buffering the data packets into the receiving first-in-first-out queue (RX FIFO) of the network card; The data packets in the first-in first-out queue can be transmitted to the data receiving space (rx ring) of the network adapter (adapter) through the PCI DMA controller specifically. ) pointed to the preconfigured circular buffer area in the kernel state driver 420; it is also used to send an interrupt request to the kernel state driver 420 based on a preset interrupt trigger strategy; the kernel state driver 420 is used to preconfigure the circular buffer area ; It is also used to stop receiving new interrupt requests sent by the network card accordi...
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