Patent ID: 8761197

Claim:
A compression method, applied to a mode transformation in a robust header compression, and comprising the following computer-implemented steps: setting a mode parameter field in an Initial and Refresh (IR) compression package/Initial and Refresh Dynamic (IRDYN) compression package of which a package formats is Profile2 and Profile3 type; and after receiving a mode transformation request carrying an expected target mode, a compression party obtaining information about the expected target mode from the mode transformation request and sending out the information about the expected target mode by carrying that information in the mode parameter field in the IR compression package or the IRDYN compression package if the IR compression package or the IRDYN compression package of which the package format is Profile2 or Profile3 type is required for replying; wherein, the step of setting the mode parameter field in the IR compression package/IRDYN compression package of which the package format is Profile2 and Profile3 type comprises: if the IR compression package/IRDYN compression package of which the package format is Profile2 and Profile3 type adopts an Internet Protocol version 4 (IPv4) packet package stream, then setting one or more reserved bits of an Internet Protocol (IP) header dynamic part of the compression package as the mode parameter field; or adding one or more bits to an IP header dynamic part of the compression package, and then setting the one or more added bits as the mode parameter field, or setting the one or more added bits and one or more reserved bits of the IP header dynamic part of the compression package as the mode parameter field together; and if the IR compression package/IRDYN compression package of which the package format is Profile2 and Profile3 type adopts an Internet Protocol version 6 (IPv6) packet package stream, adding one or more bits to an IP header dynamic part of the compression package, and then setting the one or more added bits as the mode parameter field.