Patent ID: 8165165

Claim:
A method for a dynamic header compression, comprising: receiving a received packet having a header from an upper layer; comparing header information of the received packet with header information of a previous packet; when a suppression part of the received packet is the same as a suppression part of the previous packet, compressing the received packet based on a predetermined header suppression rule; and when the suppression part of the received packet is not the same as the suppression part of the previous packet, transmitting the received packet without compression, wherein the header information of the received packet and the header information of the previous packet can be enlarged or become narrower, wherein the comparing header information including: calculating a temporary PHSM and a temporary PHSF by comparing the previous packet and the received packet; comparing the temporary PHSM and the temporary PHSF with an active PHSM and an active PHSF, respectively; when the temporary PHSM and the temporary PHSF are the same as the active PHSM and the active PHSF, respectively, determining the suppression part of the previous packet and the received packet is equal; when the temporary PHSM and the temporary PHSF include the active PHSM and the active PHSF, respectively, determining the suppression part of the received packet is greater than the previous packet; and when the temporary PHSM and the temporary PHSF are not the same as the active PHSM and the active PHSF, respectively, determining the suppression part of the previous packet and the received packet is different from each other.