Unlock instant, AI-driven research and patent intelligence for your innovation.

A kind of ip packet header detection method and device

A detection method and detection device technology, which are applied in the directions of digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as the communication needs of communication parties that cannot be compatible with multiple communication protocols.

Active Publication Date: 2020-11-03
北京泛讯信息技术有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention aims at the technical problem existing in the prior art that the IP packet header detection scheme is suitable for packet header detection of a single communication protocol and cannot meet the communication requirements of communication parties compatible with multiple communication protocols

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
  • A kind of ip packet header detection method and device
  • A kind of ip packet header detection method and device
  • A kind of ip packet header detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] Please refer to figure 1 , the embodiment of the present invention provides a method for detecting an IP packet header, which is applied to a wireless communication device, and the method for detecting an IP packet header includes the following steps:

[0058] S1. Based on all the communication protocols compatible with the wireless communication device, determine the IP packet header marking information of all the communication protocols;

[0059] S2. Generate a packet header detection list based on the IP packet header tag information;

[0060] S3. When the wireless communication device receives the IP packet data stream, read any IP packet header marking information in the packet header detection list cyclically as the current packet header marking information, and use the current IP packet header marking information as the character section as a unit, and perform similarity calculations with the IP packet data flow in turn to obtain calculation results;

[0061] S...

Embodiment 2

[0085] Based on the same inventive concept, please refer to Figure 6A , the embodiment of the present application also provides an IP packet header detection device, including:

[0086] The IP packet header marking information determination module 61 is used to determine the IP packet header marking information of all communication protocols based on all communication protocols compatible with the wireless communication device;

[0087] Packet header detection list generating module 62, for generating a packet header detection list based on the IP packet header marking information;

[0088] The similarity calculation module 63 is used for when the wireless communication device receives the IP packet data flow, cyclically reads any IP packet header marking information in the packet header detection list as the current packet header marking information, and uses the current IP Packet header marking information is in units of bytes, and the similarity calculation is performed w...

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 method and a device for detecting an IP packet header, which belongs to the technical field of wireless communication, and aims at solving the problem that an existing IP packet header detector is suitable for header detection for single communication protocol. The method comprises the following steps: S1, determining IP packet header marker information of all communication protocols of communication equipment; S2, generating a header detection list based on the IP packet header marker information; S3, cyclically reading arbitrary IP packet header marker information in the header detection list when an IP packet data stream is received, and sequentially calculating the similarity with the IP packet data stream by taking the read IP packet header marker information in bytes; and S4, determining that data segment of the IP packet data stream for similarity calculation is the IP packet header when the last byte of the current header marker information is calculated and the calculation result reaches a preset value. According to the method and the device, IP packet headers for IP packet data streams can be detected under multiple communication protocols, the flexibility is good and the resource occupation is small.

Description

technical field [0001] The invention relates to the technical field of wireless communication, in particular to an IP packet header detection method and device. Background technique [0002] At present, regardless of using the OSI communication model or the TCP / IP communication model for communication, when the application layer data is sent to the network through the protocol stack, each layer protocol must add a data header (header), which is called encapsulation; When receiving data, the data on the network is encapsulated into a frame and sent to the transmission medium. After reaching the destination host, each layer protocol strips off the corresponding header, and finally the application layer data is handed over to the application program for processing. In the data receiving process, it is an essential key step to accurately capture data packets (such as IP packets). [0003] On the other hand, in order to adapt to different communication needs, the communication p...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/26H04L29/06
CPCH04L43/08H04L43/18H04L69/16H04L69/22
Inventor 黄越平
Owner 北京泛讯信息技术有限公司