Real-time network data capture method based on connection

A data capture and real-time network technology, applied in the network field, can solve the problems of reducing, wasting memory, connecting and processing data, etc., to achieve the effect of reducing occupation, reducing system I/O times, and reducing CPU occupation

Inactive Publication Date: 2010-08-25
上海百络信息技术有限公司
View PDF7 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The related technology of relevant packet capturing has been disclosed in Chinese patents 200810097512.9, 200610113329.4, 200810019282.4, 01139038.7, 200710076153.4, 200810192946.7, 200610065273.X, but these patents do not solve the following problems in real time through TCP/IP communication protocol: Second, merge the repeated content between data packets, reduce the content submitted to the application layer for analysis, thereby reducing system memory usage and I/O times; third, the application layer program obtains data based on connections
[0004] The current network data capture method, such as Chine

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
  • Real-time network data capture method based on connection
  • Real-time network data capture method based on connection
  • Real-time network data capture method based on connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The preferred embodiments of the present invention are given below in conjunction with the accompanying drawings to describe the technical solution of the present invention in detail.

[0027] As shown in Figure 1, when the real-time network data capture method based on the connection of the present invention is in the actual network environment, the data mirroring module copies the network data packets outside, and the data mirroring module can adopt the monitoring port or mirror port after configuration with the mirroring switch , the network card is connected to the data mirroring module and obtains the network data packet transmitted from the mirroring port of the data mirroring module, the network card submits the network data to the network card driver in the network card driver module for processing, and the network card driver passes the network data packet to the virtual network card after processing The driver module processes, and then the virtual network card...

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 real-time network data capture method based on connection, comprising the following steps: 1. initializing the application layer programs and registering the network data processing function; 2. initializing a virtual network card drive module; 3. the application layer opening the kernel communication event and monitoring whether the kernel communication event is signal state; 4. the virtual network card drive module receiving the data packets submitted by a network card drive module; 5. analyzing the data header information; 6. computing connectives according to the common connection information such as the IP addresses, physical addresses, port numbers and the like of the data packets; 7. extracting the data which are not repetitive in connectors from the data packets and generating packet descriptions; 8. merging the packet descriptions into a connection buffer; 9. judging whether the data in connection need to be submitted in real time; and 10. the virtual network card drive module setting the kernel communication event as the signal state. The method avoids submitting the data which are repetitive in one connection.

Description

technical field [0001] The invention relates to a network technology, in particular to a connection-based real-time network data capture method. Background technique [0002] Obtaining and processing and analyzing data packets transmitted in the network has become a basic technology of network analysis. At present, packet capture technologies basically rely on foreign open source software and are basically based on data packets. Under the Linux system, the Libpcap function package is generally used (a network access system under Linux, which obtains data packets based on timing), and under the Windows system, the Winpcap system (a Windows network access system, which obtains data packets based on timing) is generally used, or Use shared memory based packet capture method. In the TCP / IP protocol, a complete data packet has an Ethernet header, an IP header, a TCP / UDP / ICMP header, and application layer data. In the data packets in the same data connection, the Ethernet header...

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/26H04L12/56H04L29/08
Inventor 胡国中彭春莲
Owner 上海百络信息技术有限公司
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