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

Internet protocol version 4 (IPv4) packet header variation rule detection method and system

A detection method and technology of changing laws, applied in the field of detecting changes of IPv4 packet headers, can solve problems such as low data compression efficiency, and achieve the effect of solving low compression efficiency and improving compression efficiency

Active Publication Date: 2013-10-30
LEADCORE TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0019] In view of this, the object of the present invention is to provide a method and system for detecting changes in IPv4 packet headers, so as to solve the problem of low data compression efficiency in the prior art

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
  • Internet protocol version 4 (IPv4) packet header variation rule detection method and system
  • Internet protocol version 4 (IPv4) packet header variation rule detection method and system
  • Internet protocol version 4 (IPv4) packet header variation rule detection method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] See figure 1 As shown, the method for detecting the change rule of the IPv4 packet header provided by the embodiment of the present invention may include the following steps:

[0054] Step A: Calculate the difference between the curr_ip_id_offset of the current data packet and the prev_ip_id_offset of the previous data packet of the current data packet.

[0055] Record the serial number sn of the current data packet and the previous data packet of the current data packet, marked as curr_sn and prev_sn respectively; record the value ip-id of the current data packet and the previous data packet IP-ID of the current data packet, respectively marked as curr_ip_id and prev_ip_id. Then according to the recorded serial number and IP-ID value, calculate the ip_id_offset value of the current packet and the previous packet of the current packet, and mark them as curr_ip_id_offset and prev_ip_id_offset respectively, and then make a difference to get their difference.

[0056] Among them...

Embodiment 2

[0071] See figure 2 As shown, the method for detecting the change rule of the IPv4 packet header provided by the present invention further includes the following steps:

[0072] Step B1: When the difference is greater than the preset value, the endianness of the IP-ID field of the IPv4 packet header is reversed, and the difference between the curr_ip_id_offset of the current data packet and the prev_ip_id_offset of the previous data packet of the current data packet is recalculated.

[0073] Step B2, and when the difference is less than or equal to the preset value, set the current data packet NBO to 0, and return to step C.

[0074] The specific implementation of this embodiment will be described below in conjunction with a specific example.

[0075] Suppose sn in the context is 0x0004, ip-id is 0x0004, RND=0, NBO=0. In the subsequent data packets, according to the network sequence, the sn of the first packet is 0x0500 and the ip-id is 0x0500; the sn of the second packet is 0x0600, ...

Embodiment 3

[0090] See image 3 As shown, the method for detecting the change rule of the IPv4 packet header provided by the present invention further includes the following steps:

[0091] Step C1: After the endianness of the IP-ID field of the current data packet is reversed, the difference between the curr_ip_id_offset of the current data packet obtained by recalculation and the prev_ip_id_offset of the previous data packet of the current data packet is greater than the preset value. The stability index of the current packet NBO is increased by 1.

[0092] Step D1, when the stability index of the NBO of the current data packet reaches the preset threshold, set the current data packet RND to 1 to determine that the current data packet cannot be compressed, and select the next data packet of the current data packet as the current data packet And return to the step A.

[0093] The preset threshold value in this step is a value that can be flexibly selected according to specific data compression...

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 an Internet protocol version 4 (IPv4) packet header variation rule detection method and an IPv4 packet header variation detection system. The method comprises the following steps of: computing a difference value between the curr_ip_id_offset of a current data packet and the prev_ip_id_offset of the previous data packet; when the difference value is less or equal to a preset value, setting NBO used for marking whether an Internet protocol-identification (IP-ID) domain adopts a network byte order or not to be 1; if the NBO of the current data packet is judged to be the same as that of the previous data packet, subtracting 1 from an NBO stability index of the current data packet; and when the NBO stability index of the current data packet is 0, setting RND used for marking whether the IP-ID domain is randomly changed or not to be 0 to determine that the current data packet can be compressed. In the method and the system, the variations of a sequence number (SN) are taken into account in the detection of IP-ID domain variations so as to eliminate the influence of SN hopping on IP-ID domain variation rule detection, further accurately detect IP-ID domain variation rules and improve the compression efficiency.

Description

Technical field [0001] The present invention relates to the field of wireless communication technology, and more specifically to a method and system for detecting the change rule of the IPv4 packet header. Background technique [0002] RFC3095 is a protocol for header compression for RTP / UDP / IPv4, non-RTP UDP / IPv4 and ESP / IPv4 packets. The basic principle of header compression is to establish synchronized context information between the compression end and the decompression end, and to record the changing laws of each field in the IP header. When the change of the field in the IP packet header complies with the established rules of both parties, the field can be partially or completely omitted, so that the number of bits occupied by the IP packet header is reduced and the data transmission efficiency is improved. The application of this compression algorithm in the field of wireless communication can improve the utilization efficiency of air interface resources to a certain exte...

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): H04W24/02H04W28/06
Inventor 李品善邓曼
Owner LEADCORE TECH