CN104320810A - Header compression method and device and decompression method and device - Google Patents
Header compression method and device and decompression method and device Download PDFInfo
- Publication number
- CN104320810A CN104320810A CN201410642459.1A CN201410642459A CN104320810A CN 104320810 A CN104320810 A CN 104320810A CN 201410642459 A CN201410642459 A CN 201410642459A CN 104320810 A CN104320810 A CN 104320810A
- Authority
- CN
- China
- Prior art keywords
- packet
- head
- frame number
- time
- system frame
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a header compression method and device and a decompression method and device. The header compression method comprises the steps that a first data packet to be subjected to header compression currently is received, and a current first system frame number is determined, wherein the header of the first data packet contains a first timestamp; it is judged whether the change of the first system frame number and the change of a second system frame number at the time of a system when a second data packet is received are in linear relation with the change of the first timestamp and the change of a second timestamp contained in the header of the second data packet or not; if yes, the header does not contain the first timestamp after header compression is performed on the first data packet. When header compression is performed, the compression ratio can be further increased compared with the prior art, and then the data transmission efficiency of the system can be improved.
Description
Technical field
The present invention relates to communication technical field, be specifically related to a kind of head compression method, device and decompression method, device.
Background technology
In current VoLTE (Voice over LTE, LTE Radio Transmission Technology) business head compression scheme, employing be compression scheme under ROHC (Robust Header Compression) header-compressed framework.Under this compression frame, all employing RTP (Real-time Transport Protocol, RTP)/UDP (User Datagram Protocol, User Datagram Protoco (UDP))/IP framework transmission business all can compress RTP, UDP and IP head, the field after compression is only transmitted, not transmitting redundancy field in actual transmissions.Do the transfer resource can saving bottom like this.In header compression algorithm under RTP/UDP/IP framework, the final critical field of compression transmission that needs has three, respectively: SN (the sequence number in Real-time Transport Protocol head, sequence number) field, the IP-ID field (IP identifier) of udp protocol, RTP TS (Time Stamp, timestamp) field.
In current agreement, what take for TS field is the algorithm of scale compression, and the information that this algorithm can be the even less bit of 5bit the TS field compression of 32bit is transmitted.But in order to improve the efficiency of transfer of data, being badly in need of a kind of more excellent compression method and carrying out header-compressed.
Summary of the invention
The embodiment of the present invention provides a kind of head compression method, device and decompression method, device, low in order to solve head compression method compression efficiency of the prior art, and then causes the problems such as data transmission efficiency is low.
The embodiment of the present invention provides a kind of head compression method, and the method comprises:
Receive the first packet of current pending head compression and determine current the first system frame number, the head of described first packet comprises very first time stamp;
Change when judging described the first system frame number and receive the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship; Wherein, described second packet is the previous packet of described first packet;
If so, stamp of the described very first time is not comprised in the head then after head compression is carried out to described first packet.
Preferably, change when judging described the first system frame number according to following formula and receive the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship:
Wherein, described TS2 is very first time stamp, and described TS1 is the second timestamp, and described SFN_T2 is the first system frame number, and described SFN_T1 is second system frame number, and described A is the fixing interval time receiving packet for twice.
Preferably, also comprise:
If described the first system frame number and change when receiving the second packet between system second system frame number at that time, and the change between the second timestamp that the described very first time stabs and comprise in the head of described second packet is not linear relationship, then the very first time stamp after comprising compression in the head after head compression is carried out to described first packet.
Preferably, described timestamp is the timestamp in RTP.
The embodiment of the present invention also provides a kind of head decompression method, and the method comprises:
Receive the first packet of current pending head decompression and determine current the first system frame number;
Whether judge in the head of described first packet containing the very first time stamp after compression, if not, then use the first system frame number, when receiving the second packet system second system frame number at that time and described second packet head in the second timestamp after the compression that contains carry out recovery that the described very first time is stabbed, described second packet is the previous packet of described first packet; Wherein, change when described the first system frame number and when receiving the second packet between system second system frame number at that time, and when the change between the second timestamp that the described very first time stabs and comprise in the head of described second packet is not linear relationship, not containing the very first time stamp after compression in the head of described first packet.
Preferably, the recovery that the described very first time is stabbed is carried out according to following formula:
Wherein, described TS4 is very first time stamp, and described TS3 is the second timestamp, and described SFN_T4 is the first system frame number, and described SFN_T3 is second system frame number, and described A is the fixing interval time receiving header-compressed bag for twice.
Preferably, described timestamp is the timestamp in RTP.
The embodiment of the present invention also provides a kind of head compression set, and this device comprises:
Acquiring unit, for receiving the first packet of current pending head compression and determining current the first system frame number, the head of described first packet comprises very first time stamp;
Compression unit, change during for judging described the first system frame number and receiving the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship; Wherein, described second packet is the previous packet of described first packet; If so, stamp of the described very first time is not comprised in the head then after head compression is carried out to described first packet.
Preferably, described compression unit specifically for:
Change when judging described the first system frame number according to following formula and receive the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship:
Wherein, described TS2 is very first time stamp, and described TS1 is the second timestamp, and described SFN_T2 is the first system frame number, and described SFN_T1 is second system frame number, and described A is the fixing interval time receiving packet for twice.
Preferably, described compression unit also for:
If described the first system frame number and change when receiving the second packet between system second system frame number at that time, and the change between the second timestamp that the described very first time stabs and comprise in the head of described second packet is not linear relationship, then the very first time stamp after comprising compression in the head after head compression is carried out to described first packet.
Preferably, described timestamp is the timestamp in RTP.
The embodiment of the present invention additionally provides a kind of head decompressing device, and this device comprises:
Acquiring unit, for receiving the first packet of current pending head decompression and determining current the first system frame number;
Decompression unit, for judge described first packet head in whether containing the very first time stamp after compression, if not, then use the first system frame number, when receiving the second packet system second system frame number at that time and described second packet head in the second timestamp after the compression that contains carry out recovery that the described very first time is stabbed; Wherein, described second packet is the previous packet of described first packet; Wherein, change when described the first system frame number and when receiving the second packet between system second system frame number at that time, and when the change between the second timestamp that the described very first time stabs and comprise in the head of described second packet is not linear relationship, not containing the very first time stamp after compression in the head of described first packet.
Preferably, described decompression unit specifically for:
The recovery that the described very first time is stabbed is carried out according to following formula:
Wherein, described TS4 is very first time stamp, and described TS3 is the second timestamp, and described SFN_T4 is the first system frame number, and described SFN_T3 is second system frame number, and described A is the fixing interval time receiving header-compressed bag for twice.
Preferably, described timestamp is the timestamp in RTP.
The timestamp comprised in the head of the embodiment of the present invention by the first packet by current pending head compression and current System Frame Number, compare with the timestamp comprised in the head of previous packet and System Frame Number when receiving this previous packet, judge whether the change of System Frame Number and the change of timestamp are linear relationship, if so, timestamp is not comprised in the head then after head compression is carried out to the packet of current pending head compression.Because whether the change of System Frame Number and the change of timestamp are linear relationship, the timestamp in packet therefore can be recovered by System Frame Number at receiving terminal.Can find out, adopt the embodiment of the present invention to meet the situation of linear relationship for the change of System Frame Number and the change of timestamp, when carrying out head compression, compared with prior art can improve compression ratio further, and then the data transmission efficiency of system can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of head compression method schematic flow sheet in the embodiment of the present invention;
Fig. 2 is a kind of head decompression method schematic flow sheet in the embodiment of the present invention;
Fig. 3 is a kind of head transmitting procedure schematic diagram in the embodiment of the present invention;
Fig. 4 is a kind of head compression set structural representation in the embodiment of the present invention;
Fig. 5 is a kind of head decompressing device structural representation in the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
A head compression method schematic flow sheet as shown in Figure 1, this flow process can be performed by transceiver or transmitter, and described transceiver comprises receiver and transmitter, and described transmitter can comprise compressor reducer, and described compressor reducer is for carrying out the head compression process of packet.Described transceiver or transmitter can also can in terminals in base station.As shown in the figure, this process step comprises:
Step S101, receive the first packet of current pending head compression and determine current the first system frame number, the head of described first packet comprises very first time stamp.
Concrete, described the first system frame number refers to the local system frame number when reception the first packet, and local system frame number often can increase progressively at regular intervals.
Step S102, change when judging described the first system frame number and receive the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship; Wherein, described second packet is the previous packet of described first packet; If so, then proceed to step S103, otherwise proceed to step S104.
In step s 102, change when can judge described the first system frame number according to following formula (1) and receive the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship:
Wherein, TS2 is very first time stamp, and TS1 is the second timestamp, and SFN_T2 is the first system frame number, and SFN_T1 is second system frame number, and A is the fixing interval time receiving packet for twice.
When above-mentioned formula (1) is set up, the change between expression timestamp and the change between System Frame Number are linear change.In formula (1)
represent and round downwards, as
.A in formula (1) refers to the time interval of continuous two packets, increment between the timestamp of namely these two packets, it is a fixed value, such as, in the non-silence phase, carry out a voice packet (carrying out a voice packet every 160ms during in quiet period) every 20ms, like this, 160, i.e. A=160 are increased every 20ms.
Step S103, carries out head compression to the first packet, does not comprise stamp of the described very first time in the head after carrying out head compression to described first packet.
In step S103, first packet is being carried out in the process of head compression, to the compression of other header informations except timestamp, can carry out according to current agreement, as compressed other header informations except timestamp according to W-LSB (Window-based Least Significant Bitsl, the least significant bit based on window is encoded) algorithm.
Step S104, carries out head compression to the first packet in a conventional manner, the very first time stamp after comprising compression in the head after carrying out head compression to the first packet.As all compressed according to all information of W-LSB algorithm to head.
By describing above and can finding out, the timestamp comprised in the head of the embodiment of the present invention by the first packet by current pending head compression and current System Frame Number, compare with the timestamp comprised in the head of previous packet and System Frame Number when receiving this previous packet, judge whether the change of System Frame Number and the change of timestamp are linear relationship, if so, timestamp is not comprised in the head then after head compression is carried out to the packet of current pending head compression.Because whether the change of System Frame Number and the change of timestamp are linear relationship, the timestamp in packet therefore can be recovered by System Frame Number at receiving terminal.Can find out, adopt the embodiment of the present invention to meet the situation of linear relationship for the change of System Frame Number and the change of timestamp, when carrying out head compression, compared with prior art can improve compression ratio further, and then the data transmission efficiency of system can be improved.
The embodiment of the present invention additionally provides a kind of head decompression method.This flow process can be performed by transceiver or receiver, and described transceiver comprises receiver and transmitter, and described receiver can comprise decompression machine, and described decompression machine is for carrying out the head decompression of packet.Described transceiver or receiver can also can in terminals in base station.As shown in the figure, this process step comprises:
Step S201, receives the first packet of current pending head decompression and determines current the first system frame number.
Step S202, judges whether stab containing the very first time after compression in the head of described first packet, if not, proceed to step S203, otherwise proceed to step S204.
Flow process according to Fig. 1, if not containing the very first time stamp after compression in the head of described first packet, then described the first system frame number and change when receiving the second packet between system second system frame number at that time, and when the change between the second timestamp that the described very first time stabs and comprise in the head of described second packet is not linear relationship, wherein, described second packet is the previous packet of described first packet.
Step S203, first packet is being carried out in the process of head decompression, is using the first system frame number, when receiving the second packet system second system frame number at that time and described second packet head in the second timestamp after the compression that contains carry out recovery that the described very first time is stabbed.
In step S203, can recover very first time stamp according to following formula (2):
Wherein, TS4 is very first time stamp, and TS3 is the second timestamp, and SFN_T4 is the first system frame number, and SFN_T3 is second system frame number.In formula (2)
represent and round downwards, as
.Described in the definition ditto of the A in formula (2), such as, in the non-silence phase, carry out a voice packet (carrying out a voice packet every 160ms during in quiet period) every 20ms, like this, increase by 160, i.e. A=160 every 20ms.
Step S204, carries out head decompression to the first packet in a conventional manner, decompresses to the timestamp field in head as used the contrary algorithm of W-LSB.
Can be found out by foregoing description, when the embodiment of the present invention shows do not have the very first time stamp after compressing in the head of the first packet received, System Frame Number when can use the timestamp that contains in the head of this first packet System Frame Number at that time, previous packet and receive this previous packet carries out the recovery to very first time stamp, compared with prior art can improve the time of decompression further, and then improve the message transmission rate of system.
In order to can better the present invention be explained, with RTP (Real-time Transport Protocol in the following embodiment of the present invention, RTP) real time voice traffic in business is that example is described, and bottom transmission technology can be example explanation with LTE (Long Term Evolution, Long Term Evolution) Radio Transmission Technology.The embodiment of the present invention is not limited to real time voice traffic and bottom LTE Radio Transmission Technology.
The present invention will be described for the example that use one is concrete below, and be understandable that, following explanation only for illustrative purposes, is not limited thereto according to embodiments of the invention.
At current VoLTE (Voice over LTE, LTE Radio Transmission Technology) in business head compression scheme, what adopt is compression scheme under ROHC (Robust Header Compression) head compression frame, for RTP/UDP (User Datagram Protocol, User Datagram Protoco (UDP)) VoP of/IP pack arrangement, static part in RTP, UDP, IP head is stored in the PDCP peer layer of UE and eNB, and the dynamic part information in labour contractor carries out compression process.The method adopted during compression is as reference value using the value of compression/de-compression correct in it previous bag, the change of the value of the header field of current bag relative to reference value is compressed with W-LSB compression algorithm, then in air interface transmission, the initial value that opposite end adopts contrary algorithm to decompress out in connections after receiving LSBbit.
Dynamic part field in RTP/UDP/IP head the most important thing is three fields: the SN field (sequence number) (16bit) in Real-time Transport Protocol head, the IP-ID field (IP identifier) (16bit) of udp protocol, RTP TS field (Time Stamp) (32bit).The change of RTP SN field is cumulative by the method order often carrying out RTP bag increase by.IP-ID field is that the method at every turn carrying out IP bag increase by adds up.RTP TS field is then wrap according to RTP the time point assignment sent, if the increase that RTP bag is regular, then RTP TS field adds up with fixed step size relative to previous bag.If RTP bag comes with long period and short period over-over mode, then RTP TS field will use more bit number according to current compression method.As: when voice packet enters quiet period, a bag (carrying out a bag every 20ms during the non-silence phase) can be carried out every 160ms.
A kind of head transmitting procedure schematic diagram as shown in Figure 3, in figure 3, base station eNB is engraved in compressor reducer and receives a packet when T1, and now corresponding System Frame Number is at that time SFN_T1, and the timestamp in the RTP head in this packet is TS1.This packet is through the header-compressed process of the compressor reducer of eNB, and after the transmission of eating dishes without rice or wine, received this header-compressed bag in the T3 moment by the decompression machine of terminal UE side and start process, now the System Frame Number at that time of UE side is SFN_T3.
After T1 moment 20ms, the compressor reducer of T2 moment eNB have received again a packet, and now corresponding System Frame Number is at that time SFN_T2, and the timestamp in the RTP head in this packet is TS2.This packet is through the header-compressed process of the compressor reducer of eNB, and after the transmission of eating dishes without rice or wine, receive this header-compressed bag at T4 moment decompression machine and start process, now the System Frame Number at that time of UE side is SFN_T3.
Because the process sequential of eNB side and inside, UE side is with 0.5ms/slot alignment, it is relatively-stationary for receiving from eNB the time that packet receives header-compressed bag to UE.Therefore the following formula (3) of eNB side can be obtained:
(TS2-TS1)/160=(SFN_T2-SFN_T1)/2 ... formula (3)
Wherein, TS1 and TS2 is that interval 20ms increases by 160, and SFN_T1 and SFN_T2 is interval 20ms increase by 2.
In like manner also meet the formula (4) of UE side:
(TS2-TS1)/160=(SFN_T4-SFN_T3)/2 ... formula (4)
Can to be obtained by the above: the change of the change of TS value and the local system frame number of eNB side and UE side is complete linear change, and to meet above formula.
Based on the said process of the embodiment of the present invention, when
time, illustrate that the change of this system frame number SFN _ T2 at that time when receiving packet of eNB and front system frame number SFN _ T1 at that time when once receiving packet and this change receiving time stamp T S2 in packet and the front time stamp T S1 once received in packet are complete linear change.Therefore, time stamp T S2 not being compressed when carrying out header-compressed, in data upon compression, not comprising time stamp T S2.
When
time, illustrate that the propagation delay time between data source to eNB there occurs change, can not meet this formula.Now adopt original TS scale compression algorithm to compress, namely carry out in the compressed package after header-compressed not containing time stamp T S2.
Now, receive the header-compressed bag of eNB side transmission at the decompression machine of UE side after, judge whether comprise time stamp T S2 in described header-compressed bag, if do not comprise time stamp T S2, TS1 before then using in the header-compressed bag that once receives, front system frame number SFN _ T3 at that time when once receiving header-compressed bag, this system frame number SFN _ T4 at that time when receiving header-compressed bag, recover with following formula (5) time stamp T S2.
Wherein rounding downwards can the delay variation in 20ms to eliminating.
If comprise time stamp T S2 in the header-compressed bag of the decompression machine reception of UE side, then still decompress according to original TS scale compression algorithm.
Based on identical technical conceive, Fig. 4 shows a kind of head compression set, and this device can be transceiver or transmitter, or the compressor reducer in transceiver or transmitter, and this device can be applicable to the flow process shown in Fig. 1.This device comprises:
Acquiring unit 401, for receiving the first packet of current pending head compression and determining current the first system frame number, the head of described first packet comprises very first time stamp;
Compression unit 402, change during for judging described the first system frame number and receiving the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship; Wherein, described second packet is the previous packet of described first packet; If so, stamp of the described very first time is not comprised in the head then after head compression is carried out to described first packet.
Preferably, described compression unit 402 specifically for:
Change when judging described the first system frame number according to following formula (6) and receive the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship:
Wherein, described TS2 is very first time stamp, and described TS1 is the second timestamp, and described SFN_T2 is the first system frame number, and described SFN_T1 is second system frame number, and described A is the fixing interval time receiving packet for twice.
Preferably, described compression unit 402 also for:
If described the first system frame number and change when receiving the second packet between system second system frame number at that time, and the change between the second timestamp that the described very first time stabs and comprise in the head of described second packet is not linear relationship, then the very first time stamp after comprising compression in the head after head compression is carried out to described first packet.
Preferably, described timestamp is the timestamp in RTP.
Correspondingly, based on identical technical conceive, Fig. 5 shows a kind of head decompressing device, and this device can be transceiver or receiver, or the decompression machine in transceiver or receiver, and this device can be applicable to the flow process shown in Fig. 2.This device comprises:
Acquiring unit 501, for receiving the first packet of current pending head decompression and determining current the first system frame number;
Decompression unit 502, for judge described first packet head in whether containing the very first time stamp after compression, if not, then use the first system frame number, when receiving the second packet system second system frame number at that time and described second packet head in the second timestamp after the compression that contains carry out recovery that the described very first time is stabbed; Wherein, described second packet is the previous packet of described first packet; Wherein, change when described the first system frame number and when receiving the second packet between system second system frame number at that time, and when the change between the second timestamp that the described very first time stabs and comprise in the head of described second packet is not linear relationship, not containing the very first time stamp after compression in the head of described first packet.
Preferably, described decompression unit 502 specifically for:
The recovery that the described very first time is stabbed is carried out according to following formula (7):
Wherein, described TS4 is very first time stamp, and TS3 is the second timestamp, and SFN_T4 is the first system frame number, and SFN_T3 is second system frame number, and described A is the fixing interval time receiving header-compressed bag for twice.
Preferably, described timestamp is the timestamp in RTP.
In sum, the embodiment of the present invention is by receiving the first packet of current pending head compression and determining current the first system frame number, the head of described first packet comprises very first time stamp, the change of system second system frame number at that time when judging described the first system frame number and receive the second packet, stab with the described very first time and described second packet head in the change of the second timestamp that comprises whether be linear relationship, if so, stamp of the described very first time is not comprised in the head then after head compression is carried out to described first packet.The method that the embodiment of the present invention provides can improve the data transmission efficiency of system.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (14)
1. a head compression method, is characterized in that, the method comprises:
Receive the first packet of current pending head compression and determine current the first system frame number, the head of described first packet comprises very first time stamp;
Change when judging described the first system frame number and receive the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship; Wherein, described second packet is the previous packet of described first packet;
If so, stamp of the described very first time is not comprised in the head then after head compression is carried out to described first packet.
2. the method for claim 1, it is characterized in that, change when judging described the first system frame number according to following formula and receive the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship:
Wherein, described TS2 is very first time stamp, and described TS1 is the second timestamp, and described SFN_T2 is the first system frame number, and described SFN_T1 is second system frame number, and described A is the fixing interval time receiving packet for twice.
3. the method for claim 1, is characterized in that, also comprises:
If described the first system frame number and change when receiving the second packet between system second system frame number at that time, and the change between the second timestamp that the described very first time stabs and comprise in the head of described second packet is not linear relationship, then the very first time stamp after comprising compression in the head after head compression is carried out to described first packet.
4. the method as described in as arbitrary in claim 1-3, it is characterized in that, described timestamp is the timestamp in RTP.
5. a head decompression method, is characterized in that, the method comprises:
Receive the first packet of current pending head decompression and determine current the first system frame number;
Whether judge in the head of described first packet containing the very first time stamp after compression, if not, then use the first system frame number, when receiving the second packet system second system frame number at that time and described second packet head in the second timestamp after the compression that contains carry out recovery that the described very first time is stabbed, described second packet is the previous packet of described first packet; Wherein, change when described the first system frame number and when receiving the second packet between system second system frame number at that time, and when the change between the second timestamp that the described very first time stabs and comprise in the head of described second packet is not linear relationship, not containing the very first time stamp after compression in the head of described first packet.
6. method as claimed in claim 5, is characterized in that, carries out the recovery of stabbing the described very first time according to following formula:
Wherein, described TS4 is very first time stamp, and TS3 is the second timestamp, and SFN_T4 is the first system frame number, and SFN_T3 is second system frame number, and described A is the fixing interval time receiving header-compressed bag for twice.
7. the method as described in claim 5 or 6, is characterized in that, described timestamp is the timestamp in RTP.
8. a head compression set, is characterized in that, this device comprises:
Acquiring unit, for receiving the first packet of current pending head compression and determining current the first system frame number, the head of described first packet comprises very first time stamp;
Compression unit, change during for judging described the first system frame number and receiving the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship; Wherein, described second packet is the previous packet of described first packet; If so, stamp of the described very first time is not comprised in the head then after head compression is carried out to described first packet.
9. device as claimed in claim 8, is characterized in that, described compression unit specifically for:
Change when judging described the first system frame number according to following formula and receive the second packet between system second system frame number at that time, and the described very first time stabs and whether change between the second timestamp comprised in the head of described second packet is linear relationship:
Wherein, described TS2 is very first time stamp, and described TS1 is the second timestamp, and described SFN_T2 is the first system frame number, and described SFN_T1 is second system frame number, and described A is the fixing interval time receiving packet for twice.
10. device as claimed in claim 8, is characterized in that, described compression unit also for:
If described the first system frame number and change when receiving the second packet between system second system frame number at that time, and the change between the second timestamp that the described very first time stabs and comprise in the head of described second packet is not linear relationship, then the very first time stamp after comprising compression in the head after head compression is carried out to described first packet.
11. as arbitrary in claim 8-10 as described in device, it is characterized in that, described timestamp is the timestamp in RTP.
12. 1 kinds of head decompressing devices, is characterized in that, this device comprises:
Acquiring unit, for receiving the first packet of current pending head decompression and determining current the first system frame number;
Decompression unit, for judge described first packet head in whether containing the very first time stamp after compression, if not, then use the first system frame number, when receiving the second packet system second system frame number at that time and described second packet head in the second timestamp after the compression that contains carry out recovery that the described very first time is stabbed; Wherein, described second packet is the previous packet of described first packet; Wherein, change when described the first system frame number and when receiving the second packet between system second system frame number at that time, and when the change between the second timestamp that the described very first time stabs and comprise in the head of described second packet is not linear relationship, not containing the very first time stamp after compression in the head of described first packet.
13. devices as claimed in claim 12, is characterized in that, described decompression unit specifically for:
The recovery that the described very first time is stabbed is carried out according to following formula:
Wherein, described TS4 is very first time stamp, and TS3 is the second timestamp, and SFN_T4 is the first system frame number, and SFN_T3 is second system frame number, and described A is the fixing interval time receiving header-compressed bag for twice.
14. devices as described in claim 12 or 13, it is characterized in that, described timestamp is the timestamp in RTP.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410642459.1A CN104320810B (en) | 2014-11-07 | 2014-11-07 | A kind of head compression method, device and decompression method, device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410642459.1A CN104320810B (en) | 2014-11-07 | 2014-11-07 | A kind of head compression method, device and decompression method, device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104320810A true CN104320810A (en) | 2015-01-28 |
CN104320810B CN104320810B (en) | 2018-07-06 |
Family
ID=52375962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410642459.1A Active CN104320810B (en) | 2014-11-07 | 2014-11-07 | A kind of head compression method, device and decompression method, device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104320810B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107800653A (en) * | 2016-09-06 | 2018-03-13 | 中兴通讯股份有限公司 | Message compression method and device |
CN108574684A (en) * | 2017-03-14 | 2018-09-25 | 大唐移动通信设备有限公司 | A kind of method and apparatus of decompression |
CN108737349A (en) * | 2017-04-24 | 2018-11-02 | 大唐移动通信设备有限公司 | A kind of processing method and processing device of VoP |
CN112769743A (en) * | 2019-11-06 | 2021-05-07 | 大唐移动通信设备有限公司 | Header compression method, device and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101146025A (en) * | 2006-09-13 | 2008-03-19 | 华为技术有限公司 | Packet transmission method, system and compression unit for compression real time transmission protocol |
CN101366261A (en) * | 2006-01-06 | 2009-02-11 | 高通股份有限公司 | Method and apparatus for enhancing rohc performance when encountering silence suppression |
KR20110040514A (en) * | 2009-10-14 | 2011-04-20 | 엘지에릭슨 주식회사 | Method for improving header compression effeciency and packet transmitting apparatus for the same |
CN102143527A (en) * | 2010-02-03 | 2011-08-03 | 华为技术有限公司 | Compression method and device for nested protocol packet header |
CN103857052A (en) * | 2012-11-28 | 2014-06-11 | 华为技术有限公司 | Wireless scheduling method, device and base station guaranteeing time delay service quality |
-
2014
- 2014-11-07 CN CN201410642459.1A patent/CN104320810B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101366261A (en) * | 2006-01-06 | 2009-02-11 | 高通股份有限公司 | Method and apparatus for enhancing rohc performance when encountering silence suppression |
CN101146025A (en) * | 2006-09-13 | 2008-03-19 | 华为技术有限公司 | Packet transmission method, system and compression unit for compression real time transmission protocol |
KR20110040514A (en) * | 2009-10-14 | 2011-04-20 | 엘지에릭슨 주식회사 | Method for improving header compression effeciency and packet transmitting apparatus for the same |
CN102143527A (en) * | 2010-02-03 | 2011-08-03 | 华为技术有限公司 | Compression method and device for nested protocol packet header |
CN103857052A (en) * | 2012-11-28 | 2014-06-11 | 华为技术有限公司 | Wireless scheduling method, device and base station guaranteeing time delay service quality |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107800653A (en) * | 2016-09-06 | 2018-03-13 | 中兴通讯股份有限公司 | Message compression method and device |
CN107800653B (en) * | 2016-09-06 | 2021-09-03 | 中兴通讯股份有限公司 | Message compression method and device |
CN108574684A (en) * | 2017-03-14 | 2018-09-25 | 大唐移动通信设备有限公司 | A kind of method and apparatus of decompression |
CN108574684B (en) * | 2017-03-14 | 2020-08-28 | 大唐移动通信设备有限公司 | Decompression method and device |
CN108737349A (en) * | 2017-04-24 | 2018-11-02 | 大唐移动通信设备有限公司 | A kind of processing method and processing device of VoP |
CN108737349B (en) * | 2017-04-24 | 2020-08-28 | 大唐移动通信设备有限公司 | Voice data packet processing method and device |
CN112769743A (en) * | 2019-11-06 | 2021-05-07 | 大唐移动通信设备有限公司 | Header compression method, device and equipment |
CN112769743B (en) * | 2019-11-06 | 2022-05-24 | 大唐移动通信设备有限公司 | Header compression method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104320810B (en) | 2018-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10863578B2 (en) | Data transmission method, device and system | |
TW201713153A (en) | Device and method of handling network configurations | |
CN108141790A (en) | Timestamp repair mechanism in the case of de-compression failure | |
US20090245225A1 (en) | Method and Apparatus of Transmission Time Interval Bundling Management | |
CN101427211A (en) | Be used for traditional wireless topology based on wired agreement | |
CN109673021B (en) | Service delay determining method | |
KR101991347B1 (en) | Device-to-device communication method and apparatus | |
CN108934034A (en) | A kind of method sending and receiving data packet, equipment and system | |
CN104320810A (en) | Header compression method and device and decompression method and device | |
WO2017198183A1 (en) | Uplink data transmission method and system, user equipment, base station and storage medium | |
CN105532059B (en) | Configuration indicating method and communication equipment | |
WO2018014323A3 (en) | Information transceiving method, apparatus and system | |
CN105791154A (en) | Data transmission method and device based on UDP (User Datagram Protocol) | |
US10171544B2 (en) | Radio base station | |
CN108923995B (en) | Method and device for determining transmission delay | |
CN104410894B (en) | A kind of method and apparatus of wireless environment document-video in-pace | |
CN101883329B (en) | Method and device for supporting MBMS (Multimedia Broadcast Multicast Service) business content synchronization based on integrated EPS (Evolved Packet System) | |
US20180323899A1 (en) | Http adaptive streaming server, method, and client terminal based on network environment monitoring | |
CN106688222A (en) | Call processing method and apparatus for use in LTE system | |
WO2017118273A1 (en) | Method and device for transmitting and receiving timestamp information | |
CN108076481B (en) | Method for terminal to access cluster group calling later | |
WO2016154831A1 (en) | Method and device for realizing transmission control protocol (tcp) transmission | |
KR20170043634A (en) | Data packet transmission processing method and device | |
EP3860209B1 (en) | Data transmission method and device | |
CN112399477B (en) | Communication method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |