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: 2011-10-12
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 detection method of the IPv4 packet header change rule that the embodiment of the present invention provides may include the following steps:

[0054] Step A, calculating 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 previous data packet IP-ID of the current data packet and the current data packet, respectively marked as curr_ip_id and prev_ip_id. Then calculate the ip_id_offset value of the current data packet and the previous data packet of the current data packet according to the recorded serial number and IP-ID value, mark them as curr_ip_id_offset and prev_ip_id_offset respectively, and then do the difference to get their difference.

[00...

Embodiment 2

[0071] see figure 2 As shown, the detection method of the IPv4 packet header change rule provided by the present invention also includes the following steps:

[0072] Step B1, when the difference is greater than the preset value, switch the byte order of the IP-ID field of the IPv4 header, and recalculate 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.

[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 the step C.

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

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

Embodiment 3

[0090] see image 3 As shown, the detection method of the IPv4 packet header change rule provided by the present invention also includes the following steps:

[0091] Step C1, when the difference between the recalculated 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 greater than the preset value after the byte order of the IP-ID field of the current data packet is switched, the Add 1 to the stability indicator of the current packet NBO.

[0092] Step D1, when the stability index of the NBO of the current data packet reaches the preset threshold value, 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 step A as described.

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

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 technical field of wireless communication, and more specifically relates to a method and system for detecting changes of IPv4 packet headers. Background technique [0002] RFC3095 is a protocol for header compression of RTP / UDP / IPv4, non-RTP UDP / IPv4 and ESP / IPv4 packets. The basic principle of its header compression is to establish synchronous context information between the compression end and the decompression end, and record the changing rules of each field in the IP packet header. When the change of the field in the IP header conforms to the established rules of both parties, the field can be partially or completely omitted, thereby reducing the number of bits occupied by the IP header and improving data transmission efficiency. The application of the compression algorithm in the field of wireless communication can improve the utilization efficiency of air interface resources to a certain extent. [0003] In ...

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