-
2011-07-12
11/764,794
2007-06-18
US 7,978,699 B1
2011-07-12
-
-
Dang T Ton | Pamit Kaur
2028-11-29
Smart Summary: A system is designed to send data packets more efficiently by using two different communication protocols. One protocol creates a header with specific fields, while the other protocol has its own header with different fields. To save space, the system can remove some fields from the first header if their values can be predicted from the second header. A special template helps in compressing this information and allows for easy recovery during decompression. This method aims to reduce unnecessary data in network communications, especially in situations where bandwidth is limited. 🚀 TL;DR
A system for transmitting data packets includes a sending node. The sending node includes means for forming the data packets using two or more communications protocols. A first protocol includes means to associate with a data load a first header having one or more fields. A second protocol includes means to associate with the data load a second header having one or more fields. The sending node includes compression means for removing one or more fields of the first header. A value of a removed field is predictable by reference to values of one or more fields of the second protocol. A predefined template is used to remove the one or more fields of the first header for compression and to replace the removed field for decompression. The predefined template is identified by a template number included in an added header.
Get notified when new applications in this technology area are published.
H04L12/56 IPC
Data switching networks; Store-and-forward switching systems Packet switching systems
The present application claims benefit of Provisional Application No. 60/860,625 filed Nov. 21, 2006, the contents of which are incorporated herein by reference.
The present invention relates to data compression and decompression where two or more protocol layers are required for transmission of packets between communication nodes in a computer network.
Computer networks support data communications using layered protocols. The commonly used TCP/IP protocols typically have layers of protocols for link, network, transport and application protocol. Efficiency of network communications is of particular concern for wireless or other limited bandwidth networks. Data units used by each of the many layers of protocols in a data communication system are required to carry a protocol header comprised of information used for the data communication system. In the prior art, protocol headers in one layer have contained redundant information as compared with protocol headers in another layer. Due to current protocol specifications for protocol headers among the protocol layers, protocol header information has become to be major percentage of the data communication traffic. The actual data carried in the protocol and data units of a communication layer can often be small in comparison with information contained in the protocol header. While reducing the information contained in the protocol header is a conceptually simple solution to this transmission inefficiency, specifications of each protocol provide for a fixed amount of information in the protocol header and cannot be changed without substantial time and cooperation of the standards authorities. The substantial effect of protocol header traffic is particularly apparent for Internet Protocol-based telephony. Voice communications on IP networks are typically carried out under an RTP protocol. A standards organization for the 3GPP protocol has authoritatively defined data packet structure for data transmission of voice traffic (IP Multimedia Subsystems—IMS) so that the voice data can occupy just 12 bytes of a 112 byte IP packet payload. The following is an example of a protocol header for the IPsec protocol packets, identifying other well known packet fields for this packet:
| Header | Size | |
| Codec Payload | 12 | |
| AMR Payload TOC | 2 | |
| RTP | 12 | |
| Inner UDP | 8 | |
| IP Inner | 20 | |
| Total IPsec Payload | 54 | |
| Ipsec ESP Fields | 30 | |
| Outer UDP (RFC 3948) | 8 | |
| IP Outer | 20 | |
| Total IP Packet Size (B) | 112 | |
An obvious inefficiency of transmitting a payload that is small compared to the total IP packet size has led to the development of only a few protocol compression solutions.
A header compression method has been established under IETF standards RFC 1108 or RFC 2508, but these are not suitable for networks that carry voice communications. Another such standard, RFC 1108 is directed to the complexities of TCP traffic and does not provide support for low latency communications. The techniques described in yet another standard, RFC 2508, provide for compression by calculating differences between successive packets. If a packet is lost, the compression algorithms must retransmit and reset the state of the compression. This causes unacceptable latencies and data voice corruption. The Robust Header Compression (ROHC—RFC 3095) specification (described in U.S. Pat. No. 6,608,841) also use a header difference mechanism. Yet another standard, RFC 3095, provides improvements in environments with packet loss, but still uses a difference based dynamic compression.
Existing header compression solutions do not support encryption. Encryption of communications with a protocol like the IETF defined Encapsulating Security Protocol (RFC 2406) encrypts all of the contained headers making them uncompressible, and thereby unavailable for use until decrypted. Compression applied to the protocols within the ESP packet would result in a minor benefit to packet size but would still result in protocol and data unit redundancy among the layers' protocol headers and the potential for compression in the ESP protocol.
Some prior art protocol compression techniques require that only the information that is different on each packet is identified. These differences can vary from packet to packet and require the use of difference fields that are type/length/value delimited. These differences are often predictable and this predictability is not considered in the existing designs making them considerably more complex than is necessary. Specifically, a preferred traffic method for voice communications has a simple profile. Complex techniques for more stateful protocols that support retransmission are not required and more simple template based mechanism can be used. More efficient implementations are possible when the protocols used for carrying data can be constrained to profiles that do not support retransmission or fragmentation. In this case, and sequences numbers carried in the protocol layers will always be synchronized. As a lower layer protocols sequence number increases, the higher level protocols sequence number will be incremented identically. In this manner, given an appropriate template for the header compression that describes which fields need to be left out, the sequence numbers can be directly reconstructed.
These templates can be even more efficient if they use knowledge from lower uncompressed layers (like ESP). The ESP protocol provides sequence numbers, data confidentiality (encryption) and data integrity (cryptographic checksum). The ESP sequence number can be used to directly determine the sequence number of a upper layer protocol that is uniquely bound to the ESP protocols security association. The services provided by ESP data integrity can be used to completely replace any checksum carried internal to the ESP packet. Specifically UDP checksums are not required. There is no need to carry this field.
Current specifications for 3GPP and IETF are easily obtained.
3GPP Specifications may be obtained at http://www.3gpp.org/specs/numbering.htm. The following are a selection of those specifications:
IETF Specifications are also well known in the art. The following a current list thereof:
There is a need for a system of communication via packet networks where protocol processing, compression and encryption is made more efficient by adaptation of coordination of sequence numbers between layer protocols and the integration of encryption protocol processing into the compression and decompression process.
The present invention is a method and system for a more efficient transmission of data packets over a packet network operating under multiple protocol layers, where two or more adjacent protocol layers require that each protocol and data unit comprise a protocol header containing information usable by the protocol. Protocol layers are defined as being above another protocol layer if the higher protocol layer requires fewer steps to reach or identical with an application layer. The system of the present invention provides for compression and decompression of data packet protocols in order to reduce the total IP packet size. This sizes reduction can be accomplished by the removal of certain protocol fields and their replacement with invention means without loss of the functions intended for performance of the protocol for the changed packet.
In a preferred embodiment, a compression/decompression template is created for certain fields in protocol headers of two or more protocol layers based upon a relating sequence numbers of at least one higher level protocol field to a sequence number of a lower level protocol field, where the higher level protocol field is nested in a lower level protocol for an efficient transmission between the sending and receiving nodes. The predictable relationship of a sequence number of one protocol layer to a sequence number of another protocol layer handling the same data load is referred to herein as synchronization. Predictability means causing sequence numbers of such data-load related process data units and to be identical or to be related to each other by a predetermined algorithm whereby, at any time, a sequence number of a protocol data unit of one layer can be used to exactly determine a sequence number of a protocol data unit of another layer. Sequence numbers in the available protocols are predictable, providing a basis for synchronization algorithms for relating sequence numbers from protocol data units of different communication system layers.
In one embodiment, the invention method and system acts to remove one or more protocol fields from protocol headers formed by operation of a layer's protocol. The device performing the protocol field removal is a sending node or device (such as a cellular, VoIP or similarly equipped telephone or from a device where an IP network forms a link in a data communications path from a sending node to a receiving node).
Removal of a protocol field which would have resided in a nested protocol header reduces the total IP packet size for transmission by a sending node. With reference to the above example of a voice data packet, it will be appreciated that removing one or more nested sequence number fields from the packet will significantly reduce the total IP packet size.
At a receiving node or unit, a microprocessor with a control program acts to receive the invention data packet having one or more nested protocol fields removed for transmission. The receiving node or unit, having stored information and functions in the microprocessor for acting upon the invention data packet, uses a predefined template and predefined expansion functions so that the protocol fields removed by the sending node's microprocessor and control program are replaced at the receiving node for full utilization of the functions of each layer of protocols for receipt of the invention packets. The receiving node comprises means for, from comparison of a received invention packet to a field replacement template, predicting and replacing removed, synchronized sequence numbers.
By imposing synchronization of sequence number fields that remain the same or predictably change to be synchronized in different protocol layers, the process of protocol processing and compression can be greatly simplified, thereby enhancing transmission speed and reducing bandwidth use. This synchronization is viable for layered protocols that support comparable retransmission mechanisms and comparable fragmentation mechanisms.
The various protocol header fields of data communications protocols are well known. Sequence number fields in the header fields and methods for providing an initiating sequence number are also well known. Sequence numbers in a sequence number field are generally increased by a single unit for each successive protocol data unit. In many protocols, sequence numbers are chosen at random to minimize the risk of system mis-use or hacking. In the invention system, a reference sequence number can be chosen at random, or by a predetermined mechanism, whereafter sequence numbers for header fields of other protocols are predictably related or synchronized to the reference sequence number.
The following is a specific example of synchronization for a protocol stack for Internet Protocol Multimedia Subsystem. The Internet Protocol Multimedia Subsystem (IMS) is described above. Network and transport layer protocols, respectively, Internet protocol (IP) and real-time transport protocol (RTP), use sequence numbers independently generated by their respective protocols. Both IP and RTP use sequence numbers that track lost data by identifying sequence numbers of protocol data units (PDU's) that have not been received at a receiver's node. The sequence numbers of PDU's identified as lost or not received under IP and TCP of a receiver's node do not directly cause a sender's node to re-transmit lost or missing PDU's.
An exemplary protocol stack is as follows for this example: IP, UDP, ESP, IDP, UDP and RTP. The protocols themselves are modified to provide for synchronization of sequence numbers which occur in some PDU's of the communication protocols. Processing at the sender's node of these modified network and transport layer protocols results in a sequence number of a lowest layer protocol from which the sequence number of any higher layer can be predicted and/or calculated.
In a particularly and surprisingly beneficial application of synchronization of sequence numbers of these protocols, sequence number and Security Parameters Index (SPI, as a session identifier) fields of an Encapsulating Security Payload (ESP of the IP Security suite of network protocols) are used to effectively predict or establish by calculation sequence numbers of the encrypted IP, UDP, and RTP PDU's within the ESP PDU. It will be apparent from this disclosure that lower layer ESP session identifiers and sequence numbers can be modified so that sequence numbers of higher layer protocols other than those shown in the specific example above may be encapsulated, compressed or encrypted in the payload are predicted or calculable from information in the ESP session identifiers and sequence numbers. In short, IPsec-UDP-RTP protocols can be compressed (and whose sequence numbers are thereby made unavailable without decompression—re-compression steps) without loss of access to those inner sequence numbers by using knowledge that a particular IPsec Security Association directly implies a UDP format and specific RTP header within the payload. The sequence number in the RTP header encapsulated thereby can be predicted and/or calculated after compression by using a known starting sequence number of the RTP sequence numbers and incrementing the recreated counter by the same amount as the necessarily increased IPsec sequence number.
Another surprising benefit of the synchronization and linkage of security processing to the upper layer protocol processing is the ability to completely remove changing but redundant fields. As a specific example using the previous example of IMS protocols stacks, the inner UDP checksum does not need to be transmitted and can be removed even though it is different for every packet. The services provided by the synchronized protocol layers can be treated as a whole. In the IMS protocol stack, the ESP protocol provides a integrity check. The integrity of the UDP packet is not required since the ESP integrity check fully covers the inner protocols.
One object of the invention is to provide for synchronization, duplication, relation and/or algorithm-based prediction among sequence numbers generated for PDU's of two or more communications protocols, thereby enabling compression of higher layer PDU's and implicit determination of higher layer protocol sequence numbers.
Another object of the invention is to provide adapted field generation of ESP headers to contain sufficient information from which option fields of compressed or encrypted payload PDU's can be determined.
Yet another object of the invention is to provide an ESP sequence number to map (by prediction or calculation) to an RTP sequence number compressed or encrypted in the payload, whereby RTP frame formats are determined solely by reference to the ESP sequence number.
Further objects of the invention are as follows:
FIG. 1 is a block diagram of a transmitting voice data source, a receiving voice data recipient, and a packet network to facilitate voice data communication between the source and recipient.
FIG. 2 is a flow diagram showing preparation of voice data in the data source device and processing of that voice data by the data recipient device.
FIGS. 3 and 3A show exemplary protocol headers for the invention system.
FIG. 1 shows the invention communication data path 100 comprising a sending node or sender 101 in data communications with receiving node or recipient 102 via a packet network 110, where sender 101 and recipient 102 each comprise a microprocessor and a control program for accomplishing the objects of the invention, including communication link means for establishing data communication sessions with packet network 110. Network 110 is preferably an IP network operating under multiple, adjacent layers of communications protocols as currently used for data packet communications. In one embodiment of the invention, sender 101 comprises means for input of voice of a user of sender 101, whereupon voice data packets are formed by operation of the control program of sender 101 and are transmitted to recipient 102 via network 110. Two communications protocols operate on data to be transmitted from sender 101 to recipient 102. A first protocol is one which is higher or precedes a second protocol which is lower or succeeds the first protocol in acting upon data to be transmitted to the recipient 102. Both the first and second protocols require that a protocol header formed with one or more protocol fields comprise part of a their process data unit (such as a packet), which process data units are formed by action of the protocols.
The identification of first and second communications protocols do not limit the total number of successively processing communications protocols which may act upon readying a data load for transmission at the sending node. Neither do the first and second communications protocols be immediately successive in such processing, such that the first communications protocol may be, for example, a first, second or third communications protocol acting on said data load and the second communications protocol may be the second or higher communications protocol acting upon said data load.
FIG. 2 shows a specific example of successive processing by communications protocols of a specific data load. A top and next lower level of processing for the transmit (source) node shows that IP, UDP and/or RTP processing has occurred for a specific data load, each associating its appropriate protocol header to the data load, whereafter ESP acts to encapsulate the output of that processing. Just prior to said encapsulation, the control program of the transmit (source) node acts to remove one or more protocol header fields of the IP, UDP and/or RTP protocol headers. At a final processing just prior to transmission by a data packet network, ESP operates to provide yet another protocol header and associates a PCP timestamp with it. This finally processed packet is transmitted via a data packet network to the receive (recipient) node where a substantially similar process performed at the transmit (source) node, except in reverse.
At a first, lowest layer processing, the ESP packet is received an then further processed to provide an ESP SPI, from which the control program of the receive (recipient) node acts to detect that nested protocol fields have been removed, act upon values in the ESP SPI for comparison values or algorithms in an SPI based look up table which are further acted upon to determine values of the removed nested protocol fields, and thereafter process said received packet to restore to the nested removed protocol fields their original values prior to decoding for playout of the received packet.
FIG. 3 shows protocol headers for the IP, UDP and RTP processing step at the top level of FIG. 2 for the transmit (source) node. A top table of FIG. 3A shows an exemplary ESP protocol header after the second, next lowest processing of FIG. 2 for the transmit (source) node. A second from the top table of FIG. 3A shows an exemplary PCP protocol header after the third and last processing of FIG. 2 for the transmit (source) node. It will be appreciated that the sequence number of the PCP header is alone sufficient to predict the identical sequence numbers of the other protocol headers. It will be instantly appreciated that other protocol fields, such as checksum, may be removed at an earlier processing step at the sending node and which may be quickly replaced thereat by operation of a template or replacement function of the receiving node.
The above design options will sometimes present the skilled designer with considerable and wide ranges from which to choose appropriate apparatus and method modifications for the above examples. However, the objects of the present invention will still be obtained by that skilled designer applying such design options in an appropriate manner.
1. A system for transmission of data packets from a sending node to a receiving node via a data packet network, the sending node comprising:
means for forming the data packets using two or more communications protocols, wherein:
a first communications protocol comprises means to associate with a data load a first protocol header having one or more protocol fields, and
a second communications protocol comprises means to associate with the data load a second protocol header having one or more protocol fields;
compression means for removing one or more of the protocol fields of the first protocol header, wherein a value of a removed protocol field is predictable by reference to values of one or more protocol fields of the second communications protocol; and
transmission means for transmitting the data load to the data packet network after operation of the first and second communications protocols and the compression means,
wherein the receiving node comprises:
template means for recognizing the protocol fields in the second protocol header; and
field prediction means for operating upon values of the one or more of the protocol fields of the second protocol header to determine the value of the removed protocol field.
2. The system of claim 1, wherein the sending node transmits the data load via the data packet network to the receiving node and one or more recipient nodes comprising decompression means.
3. The system of claim 1, wherein transmissions from the sending node are via broadcast packets.
4. The system of claim 1, wherein the second communications protocol includes an encapsulation security protocol (ESP), and wherein the second protocol header comprises a protocol identification identifying to the receiving node that a received packet is compressed by the sending node.
5. The system of claim 1, wherein the second communications protocol includes a user datagram protocol (UDP), and wherein the second protocol header comprises a protocol identification identifying to the receiving node that a received packet is compressed by the sending node.
6. The system of claim 1, wherein the removed protocol field includes at least one of a sequence number, a checksum, and a protocol field from a nested protocol header.
7. The system of claim 1, wherein the first communications protocol includes a user datagram protocol (UDP) and means for encapsulating UDP fields output by an encapsulating security protocol (ESP).
8. The system of claim 1, wherein the first and second communications protocols include protocols from a group consisting of an encapsulation security protocol (ESP), a user datagram protocol (UDP), an Internet protocol (IP), and a real time protocol (RTP) defined by Internet Engineering Task Force (IETF).
9. The system of claim 1, wherein the first and second communications protocols operate under standards developed for Internet protocol (IP) multimedia subsystems (IMS) by 3rd Generation Partnership Project (3GPP).
10. The system of claim 1, wherein the compression means further comprise means to select the one or more of the protocol fields of the first protocol header for removal based upon negotiation via an Internet Key Exchange (IKE) protocol.
11. A system for transmission of data packets from a sending node to a receiving node via a data packet network, the sending node comprising:
means for forming the data packets using two or more communications protocols, wherein:
a first communications protocol comprises means to associate with a data load a first protocol header having one or more protocol fields, and
a second communications protocol comprises means to associate with the data load a second protocol header having one or more protocol fields;
compression means for removing one or more of the protocol fields of the first protocol header, wherein a value of a removed protocol field is predictable by reference to values of one or more protocol fields of the second communications protocol; and
transmission means for transmitting the data load to the data packet network after operation of the first and second communications protocols and the compression means,
wherein a predefined template is used to remove the one or more of the protocol fields of the first protocol header for compression and to replace the removed protocol field for decompression, and wherein the predefined template is identified by a template number included in an added protocol header.
12. The system of claim 11, wherein the sending node further comprises a microprocessor and a control program for operating the first and second communications protocols and the compression means.
13. The system of claim 11, wherein after transmission of the data load to the data packet network, the data load is transmitted to the receiving node.
14. The system of claim 11, wherein the receiving node comprises a microprocessor and a control program for operating decompression means for receiving the data packets from the sending node.
15. The system of claim 11, wherein the removed protocol field includes a sequence number.
16. The system of claim 11, wherein the removed protocol field includes a checksum.
17. The system of claim 11, wherein the first communications protocol includes a user datagram protocol (UDP) and means for encapsulating UDP fields output by an encapsulating security protocol (ESP).
18. The system of claim 11, wherein the first and second communications protocols include protocols from a group consisting of an encapsulation security protocol (ESP), a user datagram protocol (UDP), an Internet protocol (IP), and a real time protocol (RTP) defined by Internet Engineering Task Force (IETF).
19. The system of claim 11, wherein the first and second communications protocols operate under standards developed for Internet protocol (IP) multimedia subsystems (IMS) by 3rd Generation Partnership Project (3 GPP).
20. The system of claim 11, wherein the compression means further comprise means to select the one or more of the protocol fields of the first protocol header for removal based upon negotiation via an Internet Key Exchange (IKE) protocol.
21. The system of claim 11, wherein the receiving node comprises:
template means for recognizing the protocol fields in the second protocol header; and
field prediction means for operating upon values of the one or more of the protocol fields of the second protocol header to determine the value of the removed protocol field.
22. The system of claim 21, wherein the sending node transmits the data load via the data packet network to the receiving node and one or more recipient nodes comprising decompression means.
23. The system of claim 21, wherein transmissions from the sending node are via broadcast packets.
24. The system of claim 21, wherein the second communications protocol includes an encapsulation security protocol (ESP), and wherein the second protocol header comprises a protocol identification identifying to the receiving node that a received packet is compressed by the sending node.
25. The system of claim 21, wherein the second communications protocol includes a user datagram protocol (UDP), and wherein the second protocol header comprises a protocol identification identifying to the receiving node that a received packet is compressed by the sending node.
26. The system of claim 11, wherein the predefined template is based upon relating a sequence number of a higher-level protocol field to a sequence number of a lower-level protocol field, wherein the higher-level protocol field is nested in the lower-level protocol field.
27. The system of claim 11, wherein the removed protocol field includes a protocol field from a nested protocol header, and wherein the nested protocol header is a protocol header in which a higher-level protocol field is nested in a lower-level protocol field.