CN104320810B - A kind of head compression method, device and decompression method, device - Google Patents

A kind of head compression method, device and decompression method, device Download PDF

Info

Publication number
CN104320810B
CN104320810B CN201410642459.1A CN201410642459A CN104320810B CN 104320810 B CN104320810 B CN 104320810B CN 201410642459 A CN201410642459 A CN 201410642459A CN 104320810 B CN104320810 B CN 104320810B
Authority
CN
China
Prior art keywords
data packet
time
frame number
system frame
head
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.)
Active
Application number
CN201410642459.1A
Other languages
Chinese (zh)
Other versions
CN104320810A (en
Inventor
魏亚锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201410642459.1A priority Critical patent/CN104320810B/en
Publication of CN104320810A publication Critical patent/CN104320810A/en
Application granted granted Critical
Publication of CN104320810B publication Critical patent/CN104320810B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing 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 kind of head compression method, device and decompression method, device, this method includes:It receives the first data packet of current pending head compression and determines current the first system frame number, the head of first data packet includes stabs at the first time, come the variation of the second system frame number of system at that time when judging the first system frame number with receiving the second data packet, whether the variation of the second timestamp with being included in the head of first time stamp and second data packet is linear relationship, if so, being stabbed to first data packet into not including the first time in the compressed head of wardrobe.The present invention can further improve compression ratio, and then can improve the data transmission efficiency of system compared with prior art when being compressed into wardrobe.

Description

A kind of head compression method, device and decompression method, device
Technical field
The present invention relates to fields of communication technology, are specifically related to a kind of head compression method, device and decompression method, dress It puts.
Background technology
In current VoLTE (Voice over LTE, LTE Radio Transmission Technology) business head compression scheme, use It is the compression scheme under ROHC (Robust Header Compression) header-compressed frame.Under this compression frame, institute Have using RTP (Real-time Transport Protocol, real-time transport protocol)/UDP (User Datagram Protocol, User Datagram Protocol)/IP frameworks transmission business RTP, UDP and IP can be compressed, in reality Compressed field is only transmitted in transmission, not transmitting redundancy field.The transfer resource of bottom can be saved by doing so.In RTP/ There are three the critical fielies that compression transmission is finally needed in header compression algorithm under UDP/IP frames, is respectively:In Real-time Transport Protocol head SN (sequence number, sequence number) field, the IP-ID fields of udp protocol (IP identifier), RTP TS (Time Stamp, timestamp) field.
In current agreement, for TS fields take be scale compression algorithm, this algorithm can be 32bit's TS field compressions are transmitted for the information of the even less bit of 5bit.But in order to improve the efficiency of data transmission, it is badly in need of a kind of More preferably compression method carries out header-compressed.
Invention content
The embodiment of the present invention provides a kind of head compression method, device and decompression method, device, to solve the prior art In head compression method compression efficiency it is low, and then problems such as cause data transmission efficiency low.
The embodiment of the present invention provides a kind of head compression method, and this method includes:
It receives the first data packet of current pending head compression and determines current the first system frame number, first data The head of packet includes stabs at the first time;
Change when judging the first system frame number and receiving the second data packet between the second system frame number of system at that time Change, whether the variation between the second timestamp for including in the head of first time stamp and second data packet is line Sexual intercourse;Wherein, second data packet is the previous data packet of first data packet;
If so, being stabbed to first data packet into not including the first time in the compressed head of wardrobe.
Preferably, when judging the first system frame number with receiving the second data packet according to the following formula system at that time the Variation between two system frame number, with the second timestamp included in the head of first time stamp and second data packet Between variation whether be linear relationship:
Wherein, for the TS2 to stab at the first time, the TS1 is the second timestamp, and the SFN_T2 is the first system frame Number, the SFN_T1 is second system frame number, and the A is the interval time of fixed received data packet twice.
Preferably, it further includes:
If change during the second data packet of the first system frame number and reception between the second system frame number of system at that time Change, the variation between the second timestamp for including in the head of first time stamp and second data packet is not linear Relationship is then stabbing first data packet into the compressed head of wardrobe comprising compressed first time.
Preferably, the timestamp is the timestamp in real-time transport protocol.
The embodiment of the present invention also provides a kind of decompression method, and this method includes:
It receives the first data packet of current pending head decompression and determines current the first system frame number;
Judge in the head of first data packet whether to be stabbed containing compressed first time, if it is not, then using the One System Frame Number contains in the head of system second system frame number at that time and second data packet when receiving the second data packet Compressed second timestamp carry out the recovery stabbed to the first time, second data packet is first data packet Previous data packet;Wherein, when second system frame of the first system frame number with system during the second data packet of reception at that time Change between variation between number, with the second timestamp for including in the head of first time stamp and second data packet When change is linear relationship, compressed first time stamp is not contained in the head of first data packet.
Preferably, the recovery for according to the following formula stab the first time:
Wherein, for the TS4 to stab at the first time, the TS3 is the second timestamp, and the SFN_T4 is the first system frame Number, the SFN_T3 is second system frame number, and the A is the fixed interval time for receiving header-compressed packet twice.
Preferably, the timestamp is the timestamp in real-time transport protocol.
The embodiment of the present invention also provides a kind of compression set, which includes:
Acquiring unit, for receiving the first data packet of current pending head compression and determining current the first system frame Number, the head of first data packet includes stabs at the first time;
Compression unit, for judging the second system of the first system frame number with system during the second data packet of reception at that time Between variation between frame number, with the second timestamp for including in the head of first time stamp and second data packet Whether variation is linear relationship;Wherein, second data packet is the previous data packet of first data packet;If so, First data packet is being stabbed into not including the first time in the compressed head of wardrobe.
Preferably, the compression unit is specifically used for:
The second system of system at that time when judging the first system frame number with receiving the second data packet according to the following formula Between variation between frame number, with the second timestamp for including in the head of first time stamp and second data packet Whether variation is linear relationship:
Wherein, for the TS2 to stab at the first time, the TS1 is the second timestamp, and the SFN_T2 is the first system frame Number, the SFN_T1 is second system frame number, and the A is the interval time of fixed received data packet twice.
Preferably, the compression unit is additionally operable to:
If change during the second data packet of the first system frame number and reception between the second system frame number of system at that time Change, the variation between the second timestamp for including in the head of first time stamp and second data packet is not linear Relationship is then stabbing first data packet into the compressed head of wardrobe comprising compressed first time.
Preferably, the timestamp is the timestamp in real-time transport protocol.
The embodiment of the present invention additionally provides a kind of decompressing device, which includes:
Acquiring unit, for receiving the first data packet of current pending head decompression and determining current the first system frame Number;
Decompression unit, for judging whether stabbed in the head of first data packet containing compressed first time, If it is not, then it is counted using the second system frame number and described second of system when the first system frame number, the second data packet of reception at that time The recovery stabbed to the first time is carried out according to compressed second timestamp contained in the head of packet;Wherein, described second Data packet is the previous data packet of first data packet;Wherein, when the first system frame number is with receiving the second data packet When system second system frame number at that time between variation, with first time stamp and the head Zhong Bao of second data packet When variation between the second timestamp contained is linear relationship, compressed first is not contained in the head of first data packet Timestamp.
Preferably, the decompression unit is specifically used for:
The recovery for according to the following formula stab the first time:
Wherein, for the TS4 to stab at the first time, the TS3 is the second timestamp, and the SFN_T4 is the first system frame Number, the SFN_T3 is second system frame number, and the A is the fixed interval time for receiving header-compressed packet twice.
Preferably, the timestamp is the timestamp in real-time transport protocol.
The embodiment of the present invention by by the timestamp included in the head of the first data packet compressed of current pending head with And the timestamp that is included in current System Frame Number, with the head of previous data packet and when receiving the previous data packet System Frame Number is compared, to judge whether the variation of the variation of System Frame Number and timestamp is linear relationship, if so, right The data packet of current pending head compression is not into including timestamp in the compressed head of wardrobe.Due to System Frame Number variation with Whether the variation of timestamp is linear relationship, therefore the time in receiving terminal can recover data packet by System Frame Number Stamp.As can be seen that meet the feelings of linear relationship for the variation of System Frame Number and the variation of timestamp using the embodiment of the present invention Condition when being compressed into wardrobe, can further improve compression ratio compared with prior art, and then the data that can improve system pass Defeated efficiency.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of head compression method flow diagram in the embodiment of the present invention;
Fig. 2 is a kind of decompression method flow diagram in the embodiment of the present invention;
Fig. 3 is a kind of transmission process schematic diagram in the embodiment of the present invention;
Fig. 4 is a kind of compression set structure diagram in the embodiment of the present invention;
Fig. 5 is a kind of decompressing device structure diagram in the embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is made below in conjunction with attached drawing into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention rather than whole implementation Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work All other embodiment, shall fall within the protection scope of the present invention.
A kind of head compression method flow diagram as shown in Figure 1, the flow can be performed by transceiver or transmitter, the receipts Hair machine includes receiver and transmitter, and the transmitter may include compressor reducer, and the compressor reducer is used to carry out the head pressure of data packet Contracting is handled.The transceiver or transmitter can also be in terminals in base station.As shown in the figure, the process step includes:
Step S101 receives the first data packet of current pending head compression and determines current the first system frame number, institute The head for stating the first data packet includes stamp at the first time.
Specifically, the first system frame number refers to the local system frame number when receiving the first data packet, local system Frame number is every to be incremented by regular intervals.
Step S102, the second system frame number of system at that time when judging the first system frame number with receiving the second data packet Between variation, with the variation between the second timestamp for including in the head of first time stamp and second data packet Whether it is linear relationship;Wherein, second data packet is the previous data packet of first data packet;If so, it is transferred to Otherwise step S103 is transferred to step S104.
In step s 102, when the first system frame number can be judged according to the following formula (1) with receiving the second data packet Variation between the second system frame number of system at that time, with being included in the head of first time stamp and second data packet The second timestamp between variation whether be linear relationship:
Wherein, TS2 is stabs at the first time, and TS1 is the second timestamp, and SFN_T2 is the first system frame number, SFN_T1 the Two system frame number, A are the interval time of fixed received data packet twice.
When above-mentioned formula (1) is set up, represent that the variation between variation and the System Frame Number between timestamp is linear change 's.In formula (1)Represent downward rounding, such asA in formula (1) refers to the time of continuous two data packets Interval, that is, the increment between the timestamp of the two data packets, are a fixed values, for example, in the non-silence phase, every 20ms carrys out a voice packet (carrying out a voice packet every 160ms in quiet period), in this way, increase by 160 every 20ms, i.e. A= 160。
Step S103 compresses the first data packet into wardrobe, to first data packet into the compressed head of wardrobe In do not include the first time stab.
In step S103, during being compressed to the first data packet into wardrobe, to other heads other than timestamp The compression of portion's information can be carried out according to current agreement, such as according to W-LSB (Window-based Least Significant Bitsl, the least significant bit coding based on window) algorithm compresses other header informations other than timestamp.
Step S104 in a conventional manner compresses the first data packet into wardrobe, and the first data packet is being compressed into wardrobe It is stabbed in head afterwards comprising compressed first time.Such as all information on head are all compressed according to W-LSB algorithms.
By above description as can be seen that the embodiment of the present invention passes through the first data packet for compressing current pending head The timestamp and current System Frame Number included in head, with the timestamp included in the head of previous data packet and connecing System Frame Number when receiving the previous data packet is compared, come judge the variation of the variation of System Frame Number and timestamp whether be Linear relationship, if so, to the data packet of current pending head compression into not including timestamp in the compressed head of wardrobe. It, can be extensive by System Frame Number in receiving terminal since whether the variation of System Frame Number and the variation of timestamp are linear relationship Timestamp in data packet of appearing again.As can be seen that using the embodiment of the present invention for the variation of System Frame Number and the change of timestamp Change the situation for meeting linear relationship, when being compressed into wardrobe, compression ratio, Jin Erke can be further improved compared with prior art To improve the data transmission efficiency of system.
The embodiment of the present invention additionally provides a kind of decompression method.The flow can be performed by transceiver or receiver, institute It states transceiver and includes receiver and transmitter, the receiver may include decompression machine, and the decompression machine is used to carry out data packet Head decompression.The transceiver or receiver can also be in terminals in base station.As shown in the figure, the process step Including:
Step S201 receives the first data packet of current pending head decompression and determines current the first system frame number.
Step S202 judges whether stabbed in the head of first data packet containing compressed first time, if not, Step S203 is transferred to, is otherwise transferred to step S204.
Flow according to figure 1, if not containing compressed first time stamp in the head of first data packet, Then the first system frame number and variation when receiving the second data packet between system second system frame number at that time, with described the When variation between the second timestamp included in the head of one timestamp and second data packet is linear relationship, wherein, Second data packet is the previous data packet of first data packet.
Step S203 during being decompressed to the first data packet into wardrobe, using the first system frame number, receives second Compressed second time contained in the head of system second system frame number at that time and second data packet during data packet Stamp carries out the recovery stabbed to the first time.
In step S203, first time stamp can be restored according to the following formula (2):
Wherein, TS4 is stabs at the first time, and TS3 is the second timestamp, and SFN_T4 is the first system frame number, SFN_T3 the Two system frame number.In formula (2)Represent downward rounding, such asA in formula (2) is as defined above described, than 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, in this way, every 20ms increases by 160, i.e. A=160.
Step S204 in a conventional manner decompresses the first data packet into wardrobe, such as using algorithm pair opposite W-LSB Timestamp field in head unzips it.
By foregoing description as can be seen that the embodiment of the present invention shows not press in the head of the first data packet of reception During first time stamp after contracting, can use first data packet System Frame Number at that time, previous data packet head in contain Some timestamps and System Frame Number when receiving the previous data packet carry out the recovery to first time stamp, with the prior art Compared to the time that can further improve decompression, and then improve the message transmission rate of system.
In order to preferably explain the present invention, with RTP (Real-time Transport in the following embodiments of the present invention Protocol, real-time transport protocol) it illustrates for real time voice traffic in business, and bottom transmission technology can be with LTE Illustrate for (Long Term Evolution, long term evolution) Radio Transmission Technology.The embodiment of the present invention is not limited to real-time language Sound business and bottom LTE Radio Transmission Technologys.
Underneath with a specific example, the present invention will be described, it is to be understood that the description below is merely for showing Example purpose, it is without being limited thereto according to an embodiment of the invention.
In current VoLTE (Voice over LTE, LTE Radio Transmission Technology) business head compression scheme, use It is compression scheme under ROHC (Robust Header Compression) head compression frame, for RTP/UDP (User Datagram Protocol, User Datagram Protocol)/IP pack arrangements VoP for, in RTP, UDP, IP Static part is stored in the PDCP peer layers of UE and eNB, and the dynamic part information in head is carried out compression processing.It is adopted during compression By the use of method be using previous packet in correct compression/de-compression value as reference value, the value the header field currently wrapped is opposite It is compressed in the variation of reference value with W-LSB compression algorithms, then in air interface transmission, opposite end uses phase after LSBbit is received Anti- algorithm decompresses out the initial value in connections.
Dynamic part field in RTP/UDP/IP most importantly three fields:SN fields in Real-time Transport Protocol head IP-ID fields (IP identifier) (16bit), the RTP TS fields of (sequence number) (16bit), udp protocol (Time Stamp)(32bit).The variation of RTP SN fields is cumulative by the method sequence for often carrying out a RTP packets increase by one. IP-ID fields are to carry out IP packet every time and increase by one method to add up.RTP TS fields are then the time sent out according to RTP packets Point assignment, if the increase of RTP packets regularity, RTP TS fields are exactly to be tired out with fixed step size for previous packet Add.If RTP packets are come with long period and short period alternation method, RTP TS fields will make according to current compression method With more bit numbers.Such as:When voice packet enters quiet period, every 160ms can come one packet (during the non-silence phase every 20ms carrys out a packet).
A kind of transmission process schematic diagram as shown in Figure 3, in figure 3, base station eNB receives one at the T1 moment in compressor reducer A data packet, System Frame Number at that time corresponding at this time are SFN_T1, and the timestamp in RTP heads in the data packet is TS1.It should Data packet after the transmission eated dishes without rice or wine, is received by the header-compressed processing of the compressor reducer of eNB at the T3 moment by the decompression machine of terminal UE side To the header-compressed packet and start to process, the System Frame Number at that time of UE sides is SFN_T3 at this time.
After T1 moment 20ms, the compressor reducer of T2 moment eNB has received a data packet again, it is corresponding at this time at that time System Frame Number is SFN_T2, and the timestamp in RTP heads in the data packet is TS2.The data packet passes through the report of the compressor reducer of eNB After the transmission eated dishes without rice or wine, the header-compressed packet and start to process are received in T4 moment decompression machines head compression processing, and UE sides are worked as at this time When System Frame Number be SFN_T3.
Since the processing sequential inside eNB sides and UE sides is aligned with 0.5ms/slot, from eNB receive data packet to The time that UE receives header-compressed packet is relatively-stationary.Therefore the equation below (3) of eNB sides 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 are interval 20ms increases by 2.
Similarly also meet the formula (4) of UE sides:
(TS2-TS1)/160=(SFN_T4-SFN_T3)/2 ... ... ... ... formula (4)
It can be obtained by the above:The variation and the variation of eNB sides and the local system frame number of UE sides of TS values be Full linear changes, and meets above formula.
The above process based on the embodiment of the present invention, whenWhen, Illustrate this system frame number SFN _ T2 at that time when receiving data packet of eNB with it is preceding it is primary receive data packet when System Frame Number at that time The variation of SFN_T1 and this receive time stamp T S2 in data packet and the preceding change for once receiving the time stamp T S1 in data packet Change is fairly linear variation.Therefore, time stamp T S2 is not compressed when carrying out header-compressed, data upon compression In do not include time stamp T S2.
WhenWhen, illustrate between data source to eNB Propagation delay time is changed, and cannot meet the formula.It is compressed at this time using original TS scale compression algorithms, It carries out not containing time stamp T S2 in the compressed package after header-compressed.
At this point, UE sides decompression machine receive eNB sides transmission header-compressed packet after, judge be in the header-compressed packet It is no comprising time stamp T S2, if not comprising time stamp T S2, use the TS1, previous in the preceding header-compressed packet once received Secondary system frame number SFN _ T3 at that time when receiving header-compressed packet, this System Frame Number at that time when receiving header-compressed packet SFN_T4 restores time stamp T S2 with following formula (5).
Wherein downward rounding can eliminate the delay variation in 20ms.
If comprising time stamp T S2 in the header-compressed packet that the decompression machine of UE sides receives, also according to original TS ratios Example compression algorithm unzips it.
Based on identical technical concept, Fig. 4 shows a kind of compression set, which can be transceiver or transmission Compressor reducer in machine or transceiver or transmitter, the device can be applied to flow shown in FIG. 1.The device includes:
Acquiring unit 401, for receiving the first data packet of current pending head compression and determining current the first system Frame number, the head of first data packet includes stabs at the first time;
Compression unit 402, for judge the first system frame number with receive the second data packet when system at that time second Variation between System Frame Number, with the second timestamp for including in the head of first time stamp and second data packet it Between variation whether be linear relationship;Wherein, second data packet is the previous data packet of first data packet;If It is that then first data packet is being stabbed into not including the first time in the compressed head of wardrobe.
Preferably, the compression unit 402 is specifically used for:
The second system of system at that time when judging the first system frame number with receiving the second data packet according to the following formula (6) The variation united between frame number, between the second timestamp for including in the head of first time stamp and second data packet Variation whether be linear relationship:
Wherein, for the TS2 to stab at the first time, the TS1 is the second timestamp, and the SFN_T2 is the first system frame Number, the SFN_T1 is second system frame number, and the A is the interval time of fixed received data packet twice.
Preferably, the compression unit 402 is additionally operable to:
If change during the second data packet of the first system frame number and reception between the second system frame number of system at that time Change, the variation between the second timestamp for including in the head of first time stamp and second data packet is not linear Relationship is then stabbing first data packet into the compressed head of wardrobe comprising compressed first time.
Preferably, the timestamp is the timestamp in real-time transport protocol.
Correspondingly, based on identical technical concept, Fig. 5 shows a kind of decompressing device, which can be transmitting-receiving Decompression machine in machine or receiver or transceiver or receiver, the device can be applied to flow shown in Fig. 2.The device Including:
Acquiring unit 501, for receiving the first data packet of current pending head decompression and determining the first current system System frame number;
Decompression unit 502, for judging whether contain compressed first time in the head of first data packet Stamp, if it is not, then the second system frame number and described second using system when the first system frame number, the second data packet of reception at that time Compressed second timestamp contained in the head of data packet carries out the recovery stabbed to the first time;Wherein, described Two data packets are the previous data packet of first data packet;Wherein, when the first system frame number is with receiving the second data Variation during packet between the second system frame number of system at that time, with the first time stamp and second data packet head in Comprising the second timestamp between variation be linear relationship when, do not contain compressed in the head of first data packet One timestamp.
Preferably, the decompression unit 502 is specifically used for:
The recovery for according to the following formula (7) stab the first time:
Wherein, the TS4 at the first time stab, TS3 be the second timestamp, SFN_T4 be the first system frame number, SFN_T3 For second system frame number, the A is the fixed interval time for receiving header-compressed packet twice.
Preferably, the timestamp is the timestamp in real-time transport protocol.
In conclusion the embodiment of the present invention is by receiving the first data packet of current pending head compression and determining currently The first system frame number, the head of first data packet includes stabs at the first time, to judge the first system frame number with receiving The variation of the second system frame number of system at that time during the second data packet, with first time stamp and the head of second data packet Whether the variation of the second timestamp included in portion is linear relationship, if so, being compressed to first data packet into wardrobe First time stamp is not included in head afterwards.Method provided in an embodiment of the present invention can improve the data transmission effect of system Rate.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then additional changes and modifications may be made to these embodiments.So appended claims be intended to be construed to include it is excellent It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (14)

1. a kind of head compression method, which is characterized in that this method includes:
It receives the first data packet of current pending head compression and determines current the first system frame number, first data packet Head includes stabs at the first time;
Variation when judging the first system frame number and receiving the second data packet between the second system frame number of system at that time, with Whether the variation between the second timestamp included in the head of the first time stamp and second data packet is linearly to close System;Wherein, second data packet is the previous data packet of first data packet;
If so, being stabbed to first data packet into not including the first time in the compressed head of wardrobe.
2. the method as described in claim 1, which is characterized in that judge the first system frame number with receiving according to the following formula Variation during the second data packet between the second system frame number of system at that time, with first time stamp and second data packet Head in variation between the second timestamp for including whether be linear relationship:
Wherein, the TS2 at the first time stab, the TS1 be the second timestamp, the SFN_T2 be the first system frame number, institute SFN_T1 is stated as second system frame number, the A is the interval time of fixed received data packet twice.
3. the method as described in claim 1, which is characterized in that further include:
If variation during the second data packet of the first system frame number and reception between the second system frame number of system at that time, with Variation between the second timestamp included in the head of the first time stamp and second data packet is not linear relationship, Then first data packet is being stabbed into the compressed head of wardrobe comprising compressed first time.
4. method as described in any one of claims 1-3, which is characterized in that the timestamp is the time in real-time transport protocol Stamp.
5. a kind of decompression method, which is characterized in that this method includes:
It receives the first data packet of current pending head decompression and determines current the first system frame number;
Judge whether stabbed in the head of first data packet containing compressed first time, if it is not, then using the first system System frame number, the pressure contained in the head of system second system frame number at that time and second data packet when receiving the second data packet The second timestamp after contracting carries out the recovery stabbed to the first time, and second data packet is before first data packet One data packet;Wherein, when the first system frame number is with receiving the second data packet system second system frame number at that time it Between variation, the variation between the second timestamp for including in the head of first time stamp and second data packet is During linear relationship, compressed first time stamp is not contained in the head of first data packet.
6. method as claimed in claim 5, which is characterized in that according to the following formula stab the first time extensive It is multiple:
Wherein, the TS4 is stabs at the first time, and TS3 is the second timestamp, and SFN_T4 is the first system frame number, SFN_T3 the Two system frame number, the A are the fixed interval time for receiving header-compressed packet twice.
7. such as method described in claim 5 or 6, which is characterized in that the timestamp is the timestamp in real-time transport protocol.
8. a kind of compression set, which is characterized in that the device includes:
Acquiring unit, for receiving the first data packet of current pending head compression and determining current the first system frame number, institute The head for stating the first data packet includes stamp at the first time;
Compression unit, for judging the second system frame number of the first system frame number with system during the second data packet of reception at that time Between variation, with the variation between the second timestamp for including in the head of first time stamp and second data packet Whether it is linear relationship;Wherein, second data packet is the previous data packet of first data packet;If so, right First data packet is stabbed into not including the first time in the compressed head of wardrobe.
9. device as claimed in claim 8, which is characterized in that the compression unit is specifically used for:
The second system frame number of system at that time when judging the first system frame number with receiving the second data packet according to the following formula Between variation, with the variation between the second timestamp for including in the head of first time stamp and second data packet Whether it is linear relationship:
Wherein, the TS2 at the first time stab, the TS1 be the second timestamp, the SFN_T2 be the first system frame number, institute SFN_T1 is stated as second system frame number, the A is the interval time of fixed received data packet twice.
10. device as claimed in claim 8, which is characterized in that the compression unit is additionally operable to:
If variation during the second data packet of the first system frame number and reception between the second system frame number of system at that time, with Variation between the second timestamp included in the head of the first time stamp and second data packet is not linear relationship, Then first data packet is being stabbed into the compressed head of wardrobe comprising compressed first time.
11. the device as described in claim 8-10 is any, which is characterized in that the timestamp be real-time transport protocol in when Between stab.
12. a kind of decompressing device, which is characterized in that the device includes:
Acquiring unit, for receiving the first data packet of current pending head decompression and determining current the first system frame number;
Decompression unit, for judging whether stabbed in the head of first data packet containing compressed first time, if It is no, then using the first system frame number, receive the second data packet when system second system frame number at that time and second data packet Head in compressed second timestamp that contains carry out the recovery stabbed to the first time;Wherein, second data Wrap the previous data packet for first data packet;Wherein, it is when the first system frame number is with receiving the second data packet Variation between system second system frame number at that time, with including in the head of first time stamp and second data packet When variation between second timestamp is linear relationship, compressed first time is not contained in the head of first data packet Stamp.
13. device as claimed in claim 12, which is characterized in that the decompression unit is specifically used for:
The recovery for according to the following formula stab the first time:
Wherein, the TS4 is stabs at the first time, and TS3 is the second timestamp, and SFN_T4 is the first system frame number, SFN_T3 the Two system frame number, the A are the fixed interval time for receiving header-compressed packet twice.
14. device as described in claim 12 or 13, which is characterized in that the timestamp is the time in real-time transport protocol Stamp.
CN201410642459.1A 2014-11-07 2014-11-07 A kind of head compression method, device and decompression method, device Active CN104320810B (en)

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 CN104320810A (en) 2015-01-28
CN104320810B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107800653B (en) * 2016-09-06 2021-09-03 中兴通讯股份有限公司 Message compression method and device
CN108574684B (en) * 2017-03-14 2020-08-28 大唐移动通信设备有限公司 Decompression method and device
CN108737349B (en) * 2017-04-24 2020-08-28 大唐移动通信设备有限公司 Voice data packet processing method and device
CN112769743B (en) * 2019-11-06 2022-05-24 大唐移动通信设备有限公司 Header compression method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN104320810A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN105592549B (en) Handle the device and method of network-side configuration
EP2587860B1 (en) Feedback method and device for header compression feedback information
EP2854359B1 (en) Compression and decompression methods of ethernet header and corresponding devices
KR101236033B1 (en) Communication system for removing transmission overhead
CN104320810B (en) A kind of head compression method, device and decompression method, device
CN108934034A (en) A kind of method sending and receiving data packet, equipment and system
CN108141790A (en) Timestamp repair mechanism in the case of de-compression failure
CN104270594B (en) The method and apparatus that data packet sends and receives
CN107172662A (en) A kind of communication means and device
CN105791228B (en) A kind of method and apparatus of compression time stamp
US20180146077A1 (en) Method and apparatus for determining processing mode for data packet
JP4856251B2 (en) Header suppression in wireless communication networks
CN105532059B (en) Configuration indicating method and communication equipment
CN104394117A (en) RTP packet transmission method and device
CN102318282A (en) Method and apparatus for compressed data packet transmission
US20080137574A1 (en) Method and apparatus for handling data delivery in a wireless communications system
CN104410894B (en) A kind of method and apparatus of wireless environment document-video in-pace
CN103248604B (en) Strengthen method, terminal and the base station of the up covering of VoIP data
US10225310B2 (en) Transmission processing methods and apparatuses of data packet
CN106941697A (en) A kind of method and apparatus for sending, receiving timestamp information
WO2020130421A3 (en) Method and apparatus for performing dual header compression schemes in wireless communication system
CN108200605B (en) Data transmission method and device for base station
CN108737349B (en) Voice data packet processing method and device
CN108574684A (en) A kind of method and apparatus of decompression
CN104394119A (en) RTP packet sending method and device as well as responding 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