Source: http://www.google.com/patents/US7653079?dq=system+for+measuring+web+traffic&ei=Lg8FT__TIIr-sQKzxaGRCg
Timestamp: 2014-03-16 05:05:30
Document Index: 395754942

Matched Legal Cases: ['art.\n5', 'art 115', 'art 115', 'art 109', 'art 115', 'art 117', 'art 119', 'art 119']

Patent US7653079 - Signal message compression - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inAdvanced Patent SearchPatentsA method for compressing a signalling message in a compressor in a communication system. The compressor comprising a compression memory, wherein the compression memory comprises a first memory in a virtual machine and a second memory external to the virtual machine. The method comprising the steps of:...http://www.google.com/patents/US7653079?utm_source=gb-gplus-sharePatent US7653079 - Signal message compressionAdvanced Patent SearchPublication numberUS7653079 B2Publication typeGrantApplication numberUS 11/249,350Publication dateJan 26, 2010Filing dateOct 14, 2005Priority dateJun 30, 2005Also published asEP1897318A1, US20070002855, WO2007003993A1Publication number11249350, 249350, US 7653079 B2, US 7653079B2, US-B2-7653079, US7653079 B2, US7653079B2InventorsPekka PessiOriginal AssigneeNokia CorporationExport CitationBiBTeX, EndNote, RefManPatent Citations (8), Referenced by (2), Classifications (6), Legal Events (4) External Links: USPTO, USPTO Assignment, EspacenetSignal message compressionUS 7653079 B2Abstract A method for compressing a signalling message in a compressor in a communication system. The compressor comprising a compression memory, wherein the compression memory comprises a first memory in a virtual machine and a second memory external to the virtual machine. The method comprising the steps of: receiving a part of the signalling message; searching the second memory for a copy of the received part of the signalling message; and determining a reference to the received part of the signalling message on the basis of the searching step; outputting the reference as a part of the compressed signalling message representing the received part of the signalling message.
1. A method for compressing a signalling message in a compressor in a communication system, the compressor comprising a compression memory, wherein the compression memory comprises a first memory in a virtual machine and a second memory external to the virtual machine, the method comprising the steps of:
receiving a part of the signalling message, the part comprising an uncompressed part of the signalling message;
loading a dictionary into the second memory external to the virtual machine;
searching the second memory for a copy of the received part of the signalling message;
determining a reference to the received part of the signalling message on the basis of the searching step; and
outputting the reference to the second memory as a part of a compressed signalling message representing the received part of the signalling message.
2. The method as claimed in claim 1, further comprising the searching the first memory for the copy of the received part of the signalling message, wherein the reference is determined on the basis of the searching the second memory and the further searching steps.
3. The method as claimed in claim 1, further comprising the step of, prior to the step of receiving a part of the signalling message, writing data to the second memory.
4. The method as claimed in claim 1, further comprising the step of writing the copy of the received part of the signalling message to the first memory after determining the reference to the received part.
5. The method as claimed in claim 1, wherein the first memory comprises a ring buffer.
6. The method as claimed in claim 1, wherein the second memory includes at least one of:
a dynamic dictionary; and
7. The method as claimed in claim 1, wherein the virtual machine is a universal decompression virtual machine.
8. A method for decompressing a compressed signalling message in a decompressor in a communications system, the decompressor comprising a decompression memory, wherein the decompression memory comprises a first memory in a virtual machine and a second memory external to the virtual machine, the method comprising the steps of:
receiving a part of a compressed message, the part comprising an uncompressed part of the signalling message;
determining whether the part of the compressed message comprises a second memory reference;
selecting a value on the basis of the determining step; and
outputting the value as a part of a decompressed message.
9. The method as claimed in claim 8, further comprising the step of determining whether the received part of the compressed message comprises a first memory reference, wherein the value is selected on the basis of the determining whether the part of the compressed message comprises a second memory reference and the further determining steps.
10. The method as claimed in claim 9, wherein when the determining step determines the first memory reference, the selecting step comprises the step of reading a content of the first memory reference from the first memory, wherein the selected value is the content of the first memory reference.
11. The method as claimed in claim 8, further comprising the step of, prior to the step of receiving the part of the compressed message, writing data to the second memory.
12. The method as claimed in claim 8, comprising the further step of writing a copy of the value to the first memory.
13. The method as claimed in claim 8, wherein when the determining step determines the second memory reference, the selecting step comprises the step of reading a content of the second memory reference from the second memory; wherein the selected value is the content of the second memory reference.
14. The method as claimed in claim 8, wherein when the determining step determines no first memory reference or no second memory reference the selected value is the received part of the compressed message.
15. The method as claimed in claim 8, wherein the virtual machine is a universal decompression virtual machine.
16. A compressor for compressing a signalling message in a communication device operating within a communications system, the compressor comprising:
a first memory in a virtual machine;
a second memory external to the virtual machine, wherein the virtual machine further comprises
a receiver arranged to receive a content of a part of the signalling message, the part comprising an uncompressed part of the signalling message,
a loader loading a known content the second memory external to the virtual machine;
a comparator arranged to compare the received content with at least one portion of a content of the first memory and the known content the second memory,
a reference generator arranged to receive an output from the comparator, and output a reference value to the second memory, wherein the reference value output is arranged to be dependent on the output from the comparator, and
wherein the reference value output from the compressor is part of a compressed signalling message.
17. The compressor as claimed in claim 16, further comprising a memory loader arranged to write the content received from the receiver to the first memory.
18. The compressor as claimed in claim 16, wherein the first memory comprises a ring buffer.
19. The compressor as claimed in claim 16, wherein the second memory includes at least one of:
a static dictionary; and
a dynamic dictionary.
20. The compressor as claimed in claim 16, wherein the virtual machine is a universal compression virtual machine.
21. A decompressor for decompressing a signalling message in a communication system, comprising:
a first memory in a virtual machine,
a receiver arranged to receive a part of the compressed message, the part comprising an uncompressed part of the signalling message,
a loader loading a dictionary into the second memory external to the virtual machine;
a detector arranged to detect whether the received part of the compressed message comprises a reference to the first memory or the second memory and arranged to select an output dependent on the detection,
a value generator arranged to output a value dependent on the output of the detector, wherein the value output is part of a decompressed message.
22. The decompressor as claimed in claim 21, further comprising a memory loader arranged to write a value generated to the first memory.
23. The decompressor as claimed in claim 21, wherein the first memory comprises a ring buffer.
24. The decompressor as claimed in claim 21, wherein the second memory includes at least one of:
25. The decompressor as claimed in claim 21, wherein the virtual machine is a universal compression virtual machine.
26. A computer program product storing a stored computer program, the computer program product being used for implementing a method for compressing a signalling message in a compressor in a communication system, the compressor comprising a compression memory, wherein the compression memory comprises a first memory in a virtual machine and a second memory external to the virtual machine, the method comprising:
a loader a dictionary into the second memory external to the virtual machine;
27. A computer program product storing a stored computer program, the computer program product being used for implementing a method for decompressing a compressed signalling message in a decompressor in a communications system, the decompressor comprising a decompression memory, wherein the decompression memory comprises a first memory in a virtual machine and a second memory external to the virtual machine, the method comprising the steps of:
a loader loading a dictionary into the second memory external to the virtual memory;
selecting a value on the basis of the determining step, and
outputting the value to the second memory as a part of a decompressed message. Description
FIELD OF THE INVENTION The present invention relates to communication systems, and in particular, to signal message compression within communication sessions handling SIP messages.
DESCRIPTION OF THE RELATED ART A communication system can be seen as a facility that enables communication sessions between two or more entities such as user equipment and/or other nodes associated with the communication system. The communication may comprise, for example, communication of voice, data, multimedia and so on. A user equipment may, for example, be provided with a two-way telephone call or multi-way conference call. A user equipment may also be provided with a connection to an application providing entity, for example to an application server (AS), thus enabling use of services provided by the application server.
An example of the services that may be offered for users of a communication system is the so called multimedia service. An example of a communication system enabled to offer multimedia services is the Internet Protocol (IP) Multimedia network. IP Multimedia (IM) functionalities can be provided by means of a IP Multimedia Core Network (CN) subsystem, or briefly IP Multimedia subsystem (IMS). The IMS includes various network entities for the provision of the multimedia services.
With low-rate IP connectivity, transmission delays are significant. Call setup and feature invocation are adversely affected by retransmissions and multiple messaging, as required in some flows. SigComp protocols provide a solution to this problem by offering robust, loss-less compression of application messages. Due to the heavy signaling involved and SIP, being a text based protocol, 3GPP IMS Release 5 standards mandates SigComp (Signaling Compression).
The virtual machine is quite limited in its capabilities. For example the memory usable by the virtual machine is limited to the receive buffer used by the decompressing/compressing endpoint. The total amount of memory allocated for the receive buffer and virtual machine is typically only a few kilobytes. This is because for SIP endpoints the default decompression memory size (dms) is 8 kilobytes, therefore in the virtual machine for compression and decompression both instructions and data must fit within this limited space. The virtual machine program is allowed simple I/O operations: it can input data from the compressed message, it can output decompressed data, and it can create, access and free state items. State items are items stored within the virtual machine memory from previously received messages.
The memory used by a UDVM is typically 4 kilobytes or less. Part of it is consumed by bytecode and its variables. Typically, there is only 3.5 kilobytes or less available for the ring buffer and other data structures storing the received compressed message, the processed decompressed message and any further dictionaries. When compressing longer messages, it is not possible to keep known static (3468 or 4836 bytes depending on algorithm) and dynamic dictionaries as well as complete compressed message completely in the memory.
The UDVM is active only when the protocol message is received. After receiving a SigComp message, the endpoint invokes the UDVM. For example in decompression the UDVM executes the bytecode or instructions to perform the decompression steps until the message has been completely decompressed or an error occurs. The UDVM can save data between UDVM instances in form of the state items. The state items can be used to make the compression more efficient; they can be used to store the compression algorithms or compression context within a compressed session. A SigComp session endpoint is called compartment. The amount of data that a decompressor can store within each compartment is also severely limited, the default value of the state memory size (sms) is 2048 bytes for SIP endpoints, for instance.
Typically the UDVM when initiated loads the ring buffer part of the available memory with data from compartments such as the SIP dictionary, values which represent commonly used terms in decompressed SIP messages. The UDVM then loads the decompressed message into the ring buffer as it is being decompressed. If the decompressed message is particularly large the loading of the decompressed message can effectively overwrite the initially loaded dictionary. This creates the known problem of reducing the probability of detecting a symbol match in the ring buffer. As the efficiency of the compression and decompression is dependent on the dictionary being used, any degradation of the dictionary reduces the efficiency of the compression.
SUMMARY OF THE INVENTION Embodiments of the present invention aim to at least partially address the above problem.
There is provided according to the present invention a method for compressing a signalling message in a compressor in a communication system, the compressor comprising a compression memory, wherein the compression memory comprises a first memory in a virtual machine and a second memory external to the virtual machine; the method comprising the steps of: receiving a part of the signalling message; searching the second memory for a copy of the received part of the signalling message; determining a reference to the received part of the signalling message on the basis of the searching step; and outputting the reference as a part of the compressed signalling message representing the received part of the signalling message.
The method may comprise the further step of further searching the first memory for a copy of the received part of the signalling message; and wherein the reference may be determined on the basis of the searching and the further searching steps.
The method may further comprise the further step of prior to the step of receiving a part of the signalling message writing data to the second memory.
The method may comprising the further step of writing a copy of the received part of the signalling message to the first memory after determining a reference to the received part.
The first memory may comprise a ring buffer.
The second memory may comprise at least one of: a dynamic dictionary; and a static dictionary.
The virtual machine may be a universal decompression virtual machine.
According to a second aspect of the present invention there is provided a method for decompressing a compressed signalling message in a decompressor in a communications system, the decompressor comprising a decompression memory, wherein the decompression memory comprises a first memory in a virtual machine and a second memory external to the virtual machine, the method comprising the steps of: receiving a part of the compressed message; determining whether the part of the compressed message comprises a second memory reference; selecting a value on the basis of the determining step, and outputting the value as a part of a decompressed message.
The method may comprise the further step of further determining whether the received part of the compressed message comprises a first memory reference and wherein the value may be selected on the basis of the determining and the further determining steps.
The method may comprise the further step of prior to the step of receiving a part of the compressed message writing data to the second memory.
The method may comprise the further step of writing a copy of the value to the first memory.
When the determining step determines a first memory reference the selecting step may comprise the step of reading the content of the first memory reference from the first memory; wherein the selected value may be the content of the first memory reference.
When the determining step determines a second memory reference the selecting step may comprise the step of reading the content of the second memory reference from the second memory; wherein the selected value may be the content of the second memory reference.
When the determining step determines no first memory reference or no second memory reference the selected value may be the received part of the compressed message.
According to a third aspect of the present invention there is provided a compressor for compressing a signalling message in a communication device operating within a communications system, the compressor comprising: a first memory in a virtual machine; a second memory external to the virtual machine; the virtual machine further comprising: a receiver arranged to receive the content of a part of the signalling message, a comparator arranged to compare the received content with at least one of a content of the first memory and the second memory, a reference generator arranged to receive an output from the comparator, and output a reference value, wherein the reference value output is arranged to be dependent on the output from the comparator, and wherein the reference value output from the compressor is part of the compressed signalling message.
The compressor may further comprise a memory loader arranged to write the content received from the receiver to the first memory.
The second memory may comprise at least one of: a static dictionary; and a dynamic dictionary.
The virtual machine may be a universal compression virtual machine.
According to a fourth aspect of the present invention there is provided a decompressor for decompressing a signalling message in a communication system, comprising: a first memory in a virtual machine, a second memory external to the virtual machine; the virtual machine further comprising: a receiver arranged to receive a part of the compressed message; a detector arranged to detect whether the received part of the compressed message comprises a reference to the first memory or the second memory and arranged an output dependent on the detection; a value generator arranged to output a value dependent on the output of the detector, wherein the value output is part of a decompressed message.
The decompressor may further comprise a memory loader arranged to write the value generated to the first memory.
According to a fifth aspect of the present invention there is provided a computer program product implementing a method for compressing a signalling message in a compressor in a communication system, the compressor comprising a compression memory, wherein the compression memory comprises a first memory in a virtual machine and a second memory external to the virtual machine; the method comprising the steps of: receiving a part of the signalling message; searching the second memory for a copy of the received part of the signalling message; determining a reference to the received part of the signalling message on the basis of the searching step; and outputting the reference as a part of the compressed signalling message representing the received part of the signalling message.
According to a sixth aspect of the present invention there is provided a computer program product implementing a method for decompressing a compressed signalling message in a decompressor in a communications system, the decompressor comprising a decompression memory, wherein the decompression memory comprises a first memory in a virtual machine and a second memory external to the virtual machine, the method comprising the steps of: receiving a part of the compressed message; determining whether the part of the compressed message comprises a second memory reference; selecting a value on the basis of the determining step, and outputting the value as a part of a decompressed message.
FIG. 2 is a schematic view of a typical UDVM memory system showing the operation of a typical dictionary within the memory block;
FIG. 3 shows a schematic view of UDVM memory system in accordance with an embodiment of the invention;
FIG. 4 shows a flow diagram for the operation of the UDVM during a compression operation in accordance with an embodiment of the present invention; and
FIG. 5 shows a flow diagram for the operation of the UDVM during a decompression operation in accordance with an embodiment of the present invention.
As described above, access to IP Multimedia (IM) services can be provided by means of a mobile communication system. A mobile communication system is typically arranged to serve a plurality of mobile user equipment usually via a wireless interface between the user equipment and at least one radio access node such as a base station 31 of the communication system. The mobile communication system may logically be divided between a radio access network (RAN) and a core network (CN).
A core network (CN) typically includes various switching and other control entities and gateways for enabling the communication via a number of radio access networks and also for interfacing a single communication system with one or more communication system such as with other cellular systems and/or fixed line communication systems. In the 3GPP systems the radio access network is typically connected to an appropriate core network entity or entities such as, but not limited to, a serving general packet radio service support node (SGSN) 33. The radio access network is in communication with the serving GPRS support node via an appropriate interface, for example on an lu interface. The serving GPRS support node, in turn, typically communicates with an appropriate gateway, for example a gateway GPRS support node 34 via the GPRS backbone network 32. This interface is commonly a switched packet data interface.
In a 3GPP network, a packet data session is established to carry traffic flows over the network. Such a packet data session is often referred as a packet data protocol (PDP) context. A PDP context may include a radio bearer provided between the user equipment and the radio network controller, a radio access bearer provided between the user equipment, the radio network controller and the SGSN 33, and switched packet data channels provided between the serving GPRS service node 33 and the gateway GPRS service node 34. Each PDP context usually provides a communication pathway between a particular user equipment and the gateway GPRS support node and, once established, can typically carry multiple flows. Each flow normally represents, for example, a particular service and/or a media component of a particular service. The PDP context therefore often represents a logical communication pathway for one or more flows across the network. To implement the PDP context between user equipment and the serving GPRS support node, at least one radio access bearer (RAB) needs to be established which commonly allows for data transfer for the user equipment. The implementation of these logical and physical channels is known to those skilled in the art and is therefore not discussed further herein.
As has been described earlier it is known to compress these SIP messages using the protocol set known as SigComp. This protocol set is defined in IETF RFC (request for comments) 3320 �Signaling Compression (SigComp)�. Furthermore in order to perform both compression and decompression within a device a UDVM (universal decompression virtual machine) is initiated for each message to be compressed or decompressed.
The UDVM initiated for a compression procedure is also known as a compressor. A UDVM initiated for a decompression procedure is also known as a decompressor. The UDVM on initiation is defined within a memory space specified by the SigComp protocols. The memory space used in a compression procedure is known as the compression memory space, and similarly the memory space used in a decompression procedure is known as a decompression memory space.
The typical compression algorithms used by the UDVM for SigComp protocol messages and data streams are the various known LZ77 compression algorithm variants. The LZ77 compression algorithm works by storing a history window of the most recently read data and comparing the current data being encoded with the data in the history window. The output compressed stream/message contains references to the position in the history window, and the length of the match. If a match cannot be found within the history window the character itself is simply encoded into the stream and flagged as a �literal�. The compressed stream/message therefore comprises two types of symbols, literals and length/position pairs. The most popular variants of the algorithm family are the LZW, LZSS and DEFLATE algorithms. The differences between these lies in the algorithm used to search current data from the history window, the LZSS algorithm uses a simple binary tree search whereas the DEFLATE algorithm uses a hash table search.
The compression space as used in a SigComp procedure comprises a ring buffer which is arranged to store a copy of the previously received symbols of the decompressed message/data stream and which the compression algorithm uses as the history window to search for copies of the currently read symbols. A ring buffer as known in the art is a statically or dynamically allocated block of memory whereby the final memory location is linked to the first memory location in the block. Thus once the end location of the memory block is reached the operation is pointed back to the start location of the memory block to produce a continuous memory block. This process is also known as wrapping round the ring buffer 113.
A simplified example of the DEFLATE compression algorithm using the ring buffer, as defined in RFC 1951, is shown here for reference:
The algorithm shown above searches uncompressed parts of the message against data stored in the history window (ring). The search returns the length and the position of the longest match. If no match is found, length is 1, and the first byte of the search contents is inserted into compressed stream as a literal, else the length and position of the match is inserted into compressed stream. Then the compressed part of the message is appended to the ring buffer.
The LZ77 algorithms in order to improve the efficiency of the compression use previous messages or external dictionaries. As the efficiency of the compression is related to the ability to find prior examples of the input data then the use of previous messages stored in the history windows prevents the inefficiency of the first received symbols from always being inserted as �literals�. In order to use these previous messages (also known as dictionaries), they are inserted into the history window prior to receiving the first part to compress. This process is sometimes known as populating the window history.
The SigComp compressors typically use the first received message as their dynamic dictionary.
However when the compressor is compressing a particularly long message or data stream the appending of the currently read message symbol to the ring buffer causes the read message to reach the end of the ring buffer and to overwrite the dictionary first stored. This degradation of the dictionary can often lead to a lowering of the efficiency of the compression algorithm.
Referring now to FIG. 2 a typical decompression memory block 101 is shown as used by a decompressor in decompressing a message/data stream sent using the SigComp protocols. Although for simplicity the message is received and decompressed by a user terminal, the same process and structures required to carry out the process are employed by other communications devices in order to decompress similar messages.
The decompression memory block 101 used by the decompressor comprises a SigComp portion 103 and a UDVM portion 105. The SigComp portion 103 itself comprises a SigComp header portion 106 for storing any SigComp message header items, a Bytecode portion 107 for storing any received decompression algorithm instructions, and a compressed message portion 109 buffering at least part of the received compressed message or received compressed data stream. In some examples the Bytecode portion is not used as the instruction set used by the UDVM is loaded from a previously stored instruction set.
The UDVM portion 105 comprises a bytecode portion 111 for storing the instructions for carrying out the decompression and a ring buffer 113. The ring buffer 113 is used by the user terminal UDVM as the decompression �history window� storing data which can be referenced by the received compressed message in order to reconstruct the original message.
The received data stream contains references to known locations within the ring buffer or contains the data itself in the form of a �literal�.
FIG. 2 further shows the composition of a ring buffer 113 during three stages of a typical decompression operation.
The first detailed ring buffer memory block 113 a shows the state of the ring buffer 113 just prior to decompressing a first part of the compressed message. The first detailed ring buffer memory block 113 a comprises a dictionary part 115. The decompressor typically loads these dictionary data parts from state items into the ring buffer 113 either implicitly, when data is stored in the same state item as the bytecode or explicitly.
After the dictionary part 115 is stored, the decompressor is able to receive symbols from the compressed message memory part 109. If the received symbol is a literal, the symbol itself is inserted into the ring buffer, and furthermore output as part of the decompressed message. If the received symbol refers to a memory location or locations in the ring buffer (defined by a length/position pair), it is copied from the referenced locations of the ring buffer onto the end of ring buffer, and the copied data is furthermore output as part of the decompressed message.
The second detailed ring buffer memory block 113 b shows a typical ring buffer after a first part of the message has been decompressed. The second detailed ring buffer memory block 113 b comprises a dictionary portion 115 a, which is the same as the dictionary portion loaded into the ring buffer prior to decompression and a decompressed message portion 117 a containing the current decompressed message capable of being searched.
The third detailed ring buffer memory block 113 c shows a typical ring buffer after the ring buffer has wrapped round. This occurs when the size of the dictionary part 115 and the decompressed message are larger than the ring buffer 113. The third detailed ring buffer memory block 113 c comprises a partial dictionary 115 b, a first decompressed message part 117 b and an overwriting decompressed message part 119. The overwriting decompressed message part 119 has overwritten part of the dictionary as loaded. Although this will not produce a decompression error, as the compressor ring buffer at the equivalent stage has similarly overwritten the loaded dictionaries the overwriting of the dictionaries will have lowered the efficiency of the compression as the dictionaries are typically chosen for their greater compression efficiency qualities�containing often used strings of symbols.
With reference to FIG. 3 an improved decompression memory block 251 incorporating an embodiment of the present invention is shown. Where the improved decompression memory block shares features as used by the typical memory block then the same reference numerals have been used.
The improved decompression memory block 251 comprises a SigComp portion 103, a UDVM portion 105, and an external dictionary portion 201. The SigComp portion 103 itself comprises a SigComp header portion 106 for storing any SigComp message header items, a Bytecode portion 107 for storing any received decompression algorithm instructions, and a compressed message portion 109 buffering at least part of the received compressed message or received compressed data stream. In some examples the Bytecode portion is not used as the instruction set used by the UDVM is loaded from a previously stored instruction set.
The UDVM portion 105 comprises a bytecode portion 111 for storing the instructions for carrying out the decompression and a ring buffer 113.
The external dictionary portion 201 is used for the storing of known dictionaries to assist the decompression of the compressed message.
In a first embodiment of the present invention the external dictionary portion is allocated the memory addresses directly after the memory addresses used for the ring buffer 113. Therefore if for example as shown in FIG. 3 the ring buffer was allocated the memory address range from 0000 to 3400, then the external dictionary portion is allocated the memory address range from 3401 to XXXX where XXXX is the final memory address for the external dictionary portion.
In other embodiments of the present invention the external dictionary portion is allocated the memory addresses other than those directly following the ring buffer with the methods applied below, and in particular the searching for a match in the compressor, being modified to take into account the location of the virtual machine memory and the location of the external dictionary portion memory.
In some embodiments of the present invention the external dictionary portion 201 comprises a static dictionary portion 201 a and a dynamic dictionary portion 201 b. In further embodiments of the present invention the external dictionary portion comprises more than one static or dynamic dictionary portion (not shown). In other embodiments of the present invention the external dictionary portion comprises only a static or dynamic portion (not shown).
The improved compression memory similarly comprises a ring buffer and an external dictionary portion.
The use of the external dictionary portion allows the compressor and decompressor to be operated differently from the typical SigComp procedures as described above.
With reference to FIG. 4 a flow diagram of an improved compressor incorporating an embodiment of the present invention is shown.
The first step 301 the message to be compressed is received.
The next step 303 the compressor loads the external dictionary portion with copies of static and/or dynamic dictionaries.
If a match is detected the next step 308 outputs a reference to the ring buffer in terms of a position, length pair as a part of the compressed data message and a copy of the uncompressed part is appended to the ring buffer. The method then returns to step 305 to select the next uncompressed part.
If no match is detected in the ring buffer the next step is 309. Step 309 searches the external dictionary portion for a match with the selected uncompressed part.
If a match is detected in the external dictionary portion the next step, 310, outputs a reference to the external dictionary portion in terms of a position, length pair as a part of the compressed data message and a copy of the uncompressed part is appended to the ring buffer. The method then returns to step 305 to select the next uncompressed part.
If no match is detected in the external dictionary and also therefore in the ring buffer then the next step is 311. In step 311 the selected portion of the uncompressed message is output as a part of the compressed data message as a �literal� value and a copy of the uncompressed part is also appended to the ring buffer. The method then returns to the step 305 to select the next uncompressed part.
A further example of the method of compression is described with reference to the pseudocode below. In this example the ring portion is searched by ring search and external dictionary portion comprises a first dictionary dict1, and a second dictionary dict2 which are searched by dict1.search and dict2.search.
def deflate_extra(compressed_stream, ring, message, dict1, dict2):
if dict1:
d_position, d_length = dict1.search(s)
if d_length > length:
position, length = ring.max_position + d_position, d_length
if dict2:
d_postion, d_length = dict2.search(s)
position, length = (
ring.max_position + dict1.max_position +
d_position, d_length)
In both of these examples the use of an external dictionary portion produces the improvement over the previous compressors whereby the appending of the message part is unable to overwrite the dictionary and therefore the compression efficiency produced by the use of the dictionary is not degraded.
With reference to FIG. 5 a flow diagram of an improved decompressor incorporating an embodiment of the present invention is shown.
The first step 401 the message to be decompressed is received.
The next step 403 the decompressor loads the external dictionary portion with copies of static and/or dynamic dictionaries.
The following step 405 selects the next unread part of the message, If there are no further unread parts then the operation stops.
The following step 407 examines the selected part for a reference to the ring buffer.
If a reference match is detected the next step 408 receives the content of the memory reference from the ring buffer as defined by the memory position, and length. The step further outputs the content as a part of the compressed data message and further appends the content to the ring buffer. The method then returns to step 405 to select the next unread part.
If no ring buffer reference match is detected the next step is 409. Step 409 examines the selected part for a reference to the external dictionary portion.
If an external dictionary portion match is detected the next step, 410, receives the content of the memory reference from the external dictionary portion as defined by the memory position and length. The step further outputs the content as a part of the compressed data message and further appends the content to the ring buffer. The method then returns to step 405 to select the next uncompressed part.
If no external dictionary portion match is detected and also therefore in the ring buffer then the next step is 411. In step 411 the selected portion of the compressed message is output as a part of the decompressed data message as the reading of a �literal� value and furthermore a copy of the �literal� is also appended to the ring buffer. The method then returns to the step 405 to select the next uncompressed part.
Although the above improved compression and decompression methods are described above as having two separate search and two reference examination steps, in some embodiments of the present invention the two steps can be combined as a single extended search or examination. These embodiments are advantageous where the external dictionary portion is assigned memory location addresses adjacent to the ring buffer memory locations.
In some further embodiments of the present invention the reference to the ring buffer and/or the external dictionary portion of the memory further comprises an indicator portion to provide an explicit indication, other than the memory location value, as whether the content was matched in the ring buffer or the external dictionary portion.
Patent CitationsCited PatentFiling datePublication dateApplicantTitleUS20020059462 *Mar 21, 2001May 16, 2002Hans HannuStatic information knowledge used with binary compression methodsUS20020132613Dec 17, 2001Sep 19, 2002Leung Ka CheongMethod and system for providing a context for message compressionUS20030120813Dec 21, 2001Jun 26, 2003Ishita MajumdarApparatus and method for optimizing message sizes of textual protocols used in multimedia communicationsUS20030233478 *Jun 17, 2002Dec 18, 2003Chuah Mooi ChooProtocol message compression in a wireless communications systemUS20060291437 *Jun 24, 2005Dec 28, 2006Naqvi Shamim ASystem and method to provide dynamic call models for users in an IMS networkUS20070002780 *Oct 14, 2005Jan 4, 2007Nokia CorporationSignal message compressionEP1376878A1May 22, 2003Jan 2, 2004Lucent Technologies Inc.Protocol message compression in a wireless communications systemWO2005011175A2Jul 8, 2004Feb 3, 2005Core Mobility IncTokenized compression of session initiation protocol data* Cited by examinerReferenced byCiting PatentFiling datePublication dateApplicantTitleUS8244677 *May 16, 2008Aug 14, 2012Elad BaronFocal point compression method and apparatusUS20080215606 *May 16, 2008Sep 4, 2008Elad BaronFocal point compression method and apparatus* Cited by examinerClassifications U.S. Classification370/412, 370/338, 709/247International ClassificationH04L12/28Cooperative ClassificationH04L69/04European ClassificationH04L29/06C5Legal EventsDateCodeEventDescriptionSep 6, 2013REMIMaintenance fee reminder mailedJan 19, 2011ASAssignmentOwner name: ESOTERIX GENETIC LABORATORIES, LLC, NORTH CAROLINAFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:GENZYME CORPORATION;REEL/FRAME:025656/0581Effective date: 20101130Dec 28, 2010CCCertificate of correctionOct 14, 2005ASAssignmentOwner name: NOKIA CORPORATION, FINLANDFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:PESSI, PEKKA;REEL/FRAME:017094/0780Effective date: 20050927RotateOriginal ImageGoogle Home - Sitemap - USPTO Bulk Downloads - Privacy Policy - Terms of Service - About Google Patents - Send FeedbackData provided by IFI CLAIMS Patent Services©2012 Google