# US 2002/0059464 A1 · Method and apparatus for header compression

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2002/0059464 A1
- Document ID: US20020059464A1
- Status: Published application
- Kind: A1
- Application number: 09/929,344
- Filed: 2001-08-15
- Published: 2002-05-16
- Earliest claimed: 2000-08-17
- Assignees: Matsushita Electric Industrial Co., Ltd.
- Inventors: Koichi Hata; Akihiro Miyazaki; Koji Imura; Daiji Ido
- Web page: https://patentgrep.com/patent/US20020059464A1

## CPC

- H04L 1/0078: {Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location (forward error control, e.g. FEC, CRC H04L1/004; adaptive formatting H04L1/0006; mappings H04L27/00)}
- H04L 1/0001: {Systems modifying transmission characteristics according to link quality, e.g. power backoff (adaptive data allocation for multicarrier modulation H04L5/0044; controlling transmission power for radio systems H04W52/04)}
- H04L 1/1809: Selective-repeat protocols
- H04L 69/04: Protocols for data compression, e.g. ROHC
- H04L 69/22: Parsing or analysis of headers
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A packet compressor 12 operates under a reliable mode or an optimistic mode. A mode determination unit 31 counts the number of ACK packets or NACK packets received by a unit time X by an ACK/NACK packet receiver 14. When the counted number of NACK packets is larger than a predetermined value Y, the mode determination unit 31 switches the operation mode of the packet compressor 12 to the reliable mode. When the counted number of ACK packets is larger than a predetermined value Z, the mode determination unit 31 switches the operation mode of the packet compressor 12 to the optimistic mode.

## Claims

### Claim 1

A header compression apparatus for compressing a header of a packet to be transmitted by referring to reference information that is also included in a receiving side, said apparatus comprising:
reference information management means for storing and managing said reference information;
packet compression means for compressing the header of the packet in a specified operation mode by referring to said reference information, and selectively adding, to the compressed packet, update information for updating the reference information at the receiving side;
packet transmission means for transmitting the packet compressed by said packet compression means;
packet receiving means for receiving an ACK packet indicating that the reference information at the receiving side has been correctly updated or a NACK packet for requesting transmission of said update information due to a header decompression error that occurred at the receiving side; and
mode determination means for switching the operation mode of said packet compression means to a reliable mode where, after the reference information of the header compression apparatus is updated, said packet compression means continuously adds said update information until the ACK packet is received, and to an optimistic mode where said packet compression means adds said update information when the reference information of the header compression apparatus is updated and whenever receiving the NACK packet, wherein
when said operation mode is the optimistic mode and the number of NACK packets received by a unit time X is larger than a predetermined value Y, said mode determination means switches said operation mode to the reliable mode, and when said operation mode is the reliable mode and the number of ACK packets received by the unit time X is larger than a predetermined value Z, said mode determination means switches said operation mode to the optimistic mode.

### Claim 2 (depends on 1)

The header compression apparatus according to claim 1, wherein
said mode determination means calculates a rate of change in the number of NACK packets or ACK packets received by the unit time X, and increases the unit time X when said rate of change is smaller than a predetermined value A, and decreases the unit time X when said rate of change is larger than a predetermined value B.

### Claim 3

A header decompression apparatus for decompressing a header of a received packet by referring to reference information that is also included in a transmitting side, said apparatus comprising:
reference information management means for storing and managing said reference information;
packet receiving means for receiving the packet with update information selectively added thereto for updating said reference information;
packet decompression means, provided with the packet received by said packet receiving means, for updating said reference information by using said update information, and decompressing the header of the packet by referring to said reference information;
packet transmission means for transmitting an ACK packet indicating that said reference information has been correctly updated or a NACK packet for requesting transmission of said update information when a header decompression error occurs in said packet decompression means;
mode determination means for switching the operation mode of the transmitting side to a reliable mode where, after updating the reference information of the transmitting side, the transmitting side continuously adds said update information until receiving the ACK packet, and to an optimistic mode where the transmitting side adds said update information when the reference information of the transmitting side is updated and whenever receiving the NACK packet; and
mode notification means for notifying the transmitting side of said operation mode selected by said mode determination means, wherein
said mode determination means counts the number of header decompression errors that occurred by a unit time X in said packet decompression means, and, when said operation mode is the optimistic mode and said number is larger than a predetermined value Y, said mode determination means switches said operation mode to the reliable mode, and when said operation mode is the reliable mode and said number is smaller than a predetermined value Z, said mode determination means switches said operation mode to the optimistic mode.

### Claim 4 (depends on 3)

The header decompression apparatus according to claim 3, wherein
said mode determination means calculates a rate of change in said number by the unit time X, and increases the unit time X when said rate of change is smaller than a predetermined value A, and decreases the unit time X when said rate of change is larger than a predetermined value B.

### Claim 5

A header compression apparatus for compressing a header of a packet to be transmitted by referring to reference information that is also included in a receiving side, said apparatus comprising:
reference information management means for storing and managing said reference information;
packet compression means for compressing the header of the packet in a specified operation mode by referring to said reference information, and selectively adding, to the compressed packet, update information for updating the reference information at the receiving side;
packet transmission means for transmitting the packet compressed by said packet compression means;
packet receiving means for receiving an ACK packet indicating that the reference information at the receiving side has been correctly updated or a NACK packet for requesting transmission of said update information due to a header decompression error that occurred at the receiving side;
delay time measuring means for measuring a roundtrip delay time with respect to the receiving side by transmitting and receiving a packet to and from the receiving side; and
mode determination means for switching the operation mode of said packet compression means to a reliable mode where, after the reference information of the header compression apparatus is updated, said packet compression means continuously adds said update information until the ACK packet is received, and an optimistic mode where said packet compression means adds said update information when the reference information of the transmitting side is updated and whenever receiving the NACK packet, wherein
said mode determination means receives, by a unit time X, said roundtrip delay time from said delay time measuring means, and switches said operation mode to the reliable mode when said operation mode is the optimistic mode and said roundtrip delay time is smaller than a predetermined value Y, and to the optimistic mode when said operation mode is the reliable mode and said roundtrip delay time is larger than a predetermined value Z.

### Claim 6 (depends on 5)

The header compression apparatus according to claim 5, wherein
said mode determination means calculates a rate of change in said roundtrip delay time, and increases the unit time X when said rate of change is smaller than a predetermined value A, and decreases the unit time X when said rate of change is larger than a predetermined value B.

### Claim 7

A header decompression apparatus for decompressing a header of a received packet by referring to reference information that is also included in a transmitting side, said apparatus comprising:
reference information management means for storing and managing said reference information;
packet receiving means for receiving the packet with update information selectively added thereto for updating said reference information;
packet decompression means, provided with the packet received by said packet receiving means, for updating said reference information by using said update information, and decompressing the header of the packet by referring to said reference information;
packet transmission means for transmitting an ACK packet indicating that said reference information has been correctly updated or a NACK packet for requesting transmission of said update information when a header decompression error occurs in said packet decompression means;
delay time measuring means for measuring a roundtrip delay time with respect to the transmitting side by transmitting and receiving a packet to and from the transmitting side;
mode determination means for switching the operation mode of the transmitting side to a reliable mode where, after updating the reference information of the transmitting side, the transmitting side continuously adds said update information until receiving the ACK packet, and to an optimistic mode where the transmitting side adds said update information when the reference information of the transmitting side is updated and whenever receiving the NACK packet; and
mode notification means for notifying the transmitting side of said operation mode selected by said mode determination means, wherein
said mode determination means receives, by a unit time X, said roundtrip delay time from said delay time measuring means, and switches said operation mode to the reliable mode when said operation mode is the optimistic mode and said roundtrip delay time is smaller than a predetermined value Y, and to the optimistic mode when said operation mode is the reliable mode and said roundtrip delay time is larger than a predetermined value Z.

### Claim 8 (depends on 7)

The header decompression apparatus according to claim 7, wherein
said mode determination means calculates a rate of change in said roundtrip delay time measured by the unit time X, and increases the unit time X when said rate of change is smaller than a predetermined value A, and decreases the unit time X when said rate of change is larger than a predetermined value B.

### Claim 9

A header compression method of compressing a header of a packet to be transmitted by referring to reference information that is also included in a receiving side, said method comprising:
a packet compression step of compressing the header of the packet in a specified operation mode by referring to said reference information stored, and selectively adding, to the compressed packet, update information for updating the reference information at the receiving side;
a packet transmission step of transmitting the packet compressed in said packet compression step;
a packet receiving step of receiving an ACK packet indicating that the reference information at the receiving side has been correctly updated or a NACK packet for requesting transmission of said update information due to a header decompression error that occurred at the receiving side; and
a mode determination step of switching the operation mode of said packet compression step to a reliable mode where, after said reference information is updated, said update information is continuously added until the ACK packet is received, and to an optimistic mode where said update information is added when said reference information is updated and whenever the NACK packet is received, wherein
in said mode determination step, when said operation mode is the optimistic mode and the number of NACK packets received by a unit time X is larger than a predetermined value Y, said operation mode is switched to the reliable mode, and when said operation mode is the reliable mode and the number of ACK packets received by the unit time X is larger than a predetermined value Z, said operation mode is switched to the optimistic mode.

### Claim 10 (depends on 9)

The header compression method according to claim 9, wherein
in said mode determination step, a rate of change in the number of NACK packets or ACK packets received by the unit time X is calculated, and the unit time X is increased when said rate of change is smaller than a predetermined value A, and decreased when said rate of change is larger than a predetermined value B.

### Claim 11

A header decompression method of decompressing a header of a received packet by referring to reference information that is also included in a transmitting side, said method comprising:
a packet receiving step of receiving the packet with update information selectively added thereto for updating said reference information stored;
a packet decompression step, provided with the packet received in said packet receiving step, for updating said reference information by using said update information, and decompressing the header of the packet by referring to said reference information;
a packet transmission step of transmitting an ACK packet indicating that said reference information has been correctly updated or a NACK packet for requesting transmission of said update information when a header decompression error occurs in said packet decompression step;
a mode determination step of switching the operation mode of the transmitting side to a reliable mode where, after updating the reference information of the transmitting side, the transmitting side continuously adds said update information until receiving the ACK packet, and to an optimistic mode where the transmitting side adds said update information when the reference information of the transmitting side is updated and whenever receiving the NACK packet; and
a mode notification step of notifying the transmitting side of said operation mode selected in said mode determination step, wherein
in said mode determination step, the number of header decompression errors that occurred by a unit time X in said packet decompression step is counted and, when said operation mode is the optimistic mode and said number is larger than a predetermined value Y, said operation mode is switched to the reliable mode, and when said operation mode is the reliable mode and said number is smaller than a predetermined value Z, said operation mode is switched to the optimistic mode.

### Claim 12 (depends on 11)

The header decompression method according to claim 11, wherein
in said mode determination step, a rate of change in said number by the unit time X is calculated, and the unit time X is increased when said rate of change is smaller than a predetermined value A, and decreased when said rate of change is larger than a predetermined value B.

### Claim 13

A header compression method of compressing a header of a packet to be transmitted by referring to reference information that is also included in a receiving side, said method comprising:
a packet compression step of compressing the header of the packet in a specified operation mode by referring to said reference information stored, and selectively adding, to the compressed packet, update information for updating the reference information at the receiving side;
a packet transmission step of transmitting the packet compressed in said packet compression step;
a packet receiving step of receiving an ACK packet indicating that the reference information at the receiving side has been correctly updated or a NACK packet for requesting transmission of said update information due to a header decompression error that occurred at the receiving side;
a delay time measuring step of measuring a roundtrip delay time with respect to the receiving side by transmitting and receiving a packet to and from the receiving side; and
a mode determination step of switching the operation mode of said packet compression step to a reliable mode where, after the reference information to be referred to is updated, said update information is continuously added until the ACK packet is received, and to an optimistic mode where said update information is added when the reference information is updated and whenever the NACK packet is received, wherein
in said mode determination step, said roundtrip delay time measured by a unit time X in said delay time measuring step is provided and, when said operation mode is the optimistic mode and said roundtrip delay time is smaller than a predetermined value Y, said operation mode is switched to the reliable mode, and when said operation mode is the reliable mode and said roundtrip delay time is larger than a predetermined value Z, said operation mode is switched to the optimistic mode.

### Claim 14 (depends on 13)

The header compression method according to claim 13, wherein
in said mode determination step, a rate of change in said roundtrip delay time measured by the unit time X is calculated, and the unit time X is increased when said rate of change is smaller than a predetermined value A, and decreased when said rate of change is larger than a predetermined value B.

### Claim 15

A header decompression method of decompressing a header of a received packet by referring to reference information that is also included in a transmitting side, said method comprising:
a packet receiving step of receiving the packet with update information selectively added thereto for updating said reference information stored;
a packet decompression step of, provided with the packet received in said packet receiving step, updating said update information by using said update information, and decompressing the header of the packet by referring to said reference information;
a packet transmission step of transmitting an ACK packet indicating that said reference information has been correctly updated or a NACK packet for requesting transmission of said update information when a header decompression error occurs in said packet decompression step;
a delay time measuring step of measuring a roundtrip delay time with respect to the transmitting side by transmitting and receiving a packet to and from the transmitting side;
a mode determination step of switching the operation mode of the transmitting side to a reliable mode where, after updating the reference information of the transmitting side, the transmitting side continuously adds said update information until receiving the ACK packet, and to an optimistic mode where the transmitting side adds said update information when the reference information of the transmitting side is updated and whenever receiving the NACK packet; and
a mode notification step of notifying the transmitting side of said operation mode selected in said mode determination step, wherein
in said mode determination step, said roundtrip delay time measured by a unit time X in said delay time measuring step is received, and said operation mode is switched to the reliable mode when said operation mode is the optimistic mode and said roundtrip delay time is smaller than a predetermined value Y, and to the optimistic mode when said operation mode is the reliable mode and said roundtrip delay time is larger than a predetermined value Z.

### Claim 16 (depends on 15)

The header decompression method according to claim 15, wherein
in said mode determination step, a rate of change in said roundtrip delay time measured by the unit time X is calculated, and the unit time X is increased when said rate of change is smaller than a predetermined value A, and decreased when said rate of change is larger than a predetermined value B.
