File analysis UDP protocol method, device based on file in pcap format

A protocol and file technology, applied in the computer field, can solve the problems of UDP protocol analysis of various fault location obstacles, the inability to accurately identify data packets, and the inability to visually display packet capture results, etc.

Active Publication Date: 2020-01-07
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF14 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the existing packet capture tools can only capture data packets from the network, but cannot visually display the packet capture results, which is not conducive to the analysis and fault location of the UDP protocol
Moreover, the protocols configured in a network include not o

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
  • File analysis UDP protocol method, device based on file in pcap format
  • File analysis UDP protocol method, device based on file in pcap format
  • File analysis UDP protocol method, device based on file in pcap format

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0057]At present, the existing packet capture tools can only capture data packets from the network, but cannot visually display the packet capture results, which is not conducive to the analysis and fault location of the UDP protocol. Moreover, the protocols configured in a network include not only the UDP protocol, so the captured data packets may conform to other protocols, and the existing packet capture tools cannot accurately identify the data packets corresponding to different ...

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 file analysis UDP protocol method, device and apparatus based on a pcap format and a readable storage medium. The method disclosed by the invention comprises the following steps: capturing a file in a pcap format from a network configured with a UDP protocol; calling a filter to filter the file to obtain a target file; splitting the target file into a file header and a plurality of data packets; extracting any data packet, and judging whether the data packet conforms to a UDP (User Datagram Protocol) or not by utilizing a libpcap library; and if so, analyzing the datapacket to obtain an analysis result, and visually displaying the analysis result, so that the user analyzes the UDP protocol according to the analysis result. The filter and the libpcap library are utilized to avoid the influence of other data on the analysis result, and the analysis result can be visually displayed, so that the analysis accuracy of the UDP protocol and the positioning accuracy of the UDP protocol fault are improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method, device, device and readable storage medium for analyzing UDP protocol based on files in pcap format. Background technique [0002] At present, in order to test the UDP protocol configured in the network, some packet capture tools can be used to capture data packets in the network, and then analyze these data packets to analyze the UDP protocol and determine the relevant faults in the UDP protocol. [0003] However, the existing packet capture tools can only capture data packets from the network, but cannot visually display the packet capture results, which is not conducive to the analysis and fault location of the UDP protocol. Moreover, the protocols configured in a network include not only the UDP protocol, so the captured data packets may conform to other protocols, and the existing packet capture tools cannot accurately identify the data packets correspo...

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/26H04L29/06
CPCH04L43/18H04L69/164
Inventor 王电轻
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
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