CN110602745A - Data packet decompression method and device - Google Patents
Data packet decompression method and device Download PDFInfo
- Publication number
- CN110602745A CN110602745A CN201810603084.6A CN201810603084A CN110602745A CN 110602745 A CN110602745 A CN 110602745A CN 201810603084 A CN201810603084 A CN 201810603084A CN 110602745 A CN110602745 A CN 110602745A
- Authority
- CN
- China
- Prior art keywords
- data packet
- currently received
- received data
- packet
- time
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/04—Protocols for data compression, e.g. ROHC
-
- 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)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application discloses and provides a data packet decompression method and device, which are used for reducing the packet loss and improving the service quality. The data packet decompression method provided by the application comprises the following steps: receiving a compressed data packet sent by a sending end; and when the preset condition is met, restoring the currently received data packet by using the information of the data packet which is successfully decompressed before.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for decompressing a data packet.
Background
In the Robust Header Compression (ROHC) scheme, there are three operating modes, which are called Unidirectional (Unidirectional), Bidirectional optimal (Bidirectional optimization), and Bidirectional reliable (Bidirectional reliable) modes, and the Compression end of each mode has 3 states: initiation and Refresh (IR, Initialization and update), First Order (FO, First Order), Second Order (SO) states. The compression end starts at the lowest compression state (IR) and then gradually transitions to a higher level compression state. The compression side always operates in the highest possible compression state, provided that certain conditions are met, through which the compression side sufficiently believes that the decompression side can obtain enough information to smoothly decompress the compressed packet header.
That is, under the condition of good air interface quality, the compression end of the terminal basically works in the highest compression State (SO). Taking the terminal working in the highest compression State (SO) as an example, the terminal as a compression end can send a data packet with the type of UO-0, and if the terminal is in a silent transition activation or activation transition silent period, a UO-1 or UOR-2 packet needs to be sent, carrying information such as TS.
It can be known from the above protocol that if the base station is in the highest compression State (SO), the empty data loss exceeds 16 packets, or loses the UO-1 or UOR-2 packet carrying TS information, such as silence transition activation or activation transition silence, and decodes according to the Window-length-based minimum bit encoding (Window-based LSB encoding) specified by the protocol, since the decoding is difficult to succeed due to the limitation of the sliding Window length, only the data packet can be discarded finally, and the service communication can be recovered only after feeding back a non-acknowledgement (NACK) data packet to the terminal, returning the state, and re-synchronizing the context.
In summary, in the prior art, when the quality of an air interface is poor, packet loss is high, and the failure rate of header compression and decompression is high; after the header compression and decompression fails, the subsequent received voice packets can only be discarded due to the unsynchronized context.
Disclosure of Invention
The embodiment of the application provides a data packet decompression method and device, which are used for reducing the packet loss and improving the service quality.
The data packet decompression method provided by the embodiment of the application comprises the following steps:
receiving a compressed data packet sent by a sending end;
and when the preset condition is met, restoring the currently received data packet by using the information of the data packet which is successfully decompressed before.
By the method, the compressed data packet sent by the sending end is received, and when the preset condition is met, the currently received data packet is restored by utilizing the information of the data packet which is successfully decompressed before, so that the packet loss condition can be reduced, and the service quality is improved.
Optionally, the preset condition includes at least one of the following conditions:
decompressing the currently received data packet fails;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet is larger than a preset value.
Therefore, when the currently received data packet fails to be decompressed and/or the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet is greater than a preset value (for example, the preset value is the receiving time interval of the continuously received data packets under normal conditions, and the value can be set according to actual needs), the currently received data packet can be restored by using the information of the previously successfully decompressed data packet.
Optionally, the information comprises timestamp TS information.
Optionally, the currently received data packet is further restored by using one or a combination of the following information:
a sampling period of a currently received data packet;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet;
and (4) a preset TS sampling ratio.
Optionally, if the currently received data packet is an activated voice packet, the restoring the currently received data packet specifically includes calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/20*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetintervalThe time interval between the time of reception of the currently received data packet and the time of reception of the last successfully decompressed data packet is 20, which is the value of the sampling period of the active speech packet, TSstrideIs a preset TS sampling ratio.
Optionally, if the currently received data packet is a silent voice packet, the restoring the currently received data packet specifically includes calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/160*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetinterval160 silent speech for the time interval between the time of reception of the currently received data packet and the time of reception of the last successfully decompressed data packetValue of the sampling period of the packet, TSstrideIs a preset TS sampling ratio.
An embodiment of the present application provides a data packet decompression apparatus, including:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing according to the obtained program:
receiving a compressed data packet sent by a sending end;
and when the preset condition is met, restoring the currently received data packet by using the information of the data packet which is successfully decompressed before.
Optionally, the preset condition includes at least one of the following conditions:
decompressing the currently received data packet fails;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet is larger than a preset value.
Optionally, the information comprises timestamp TS information.
Optionally, the currently received data packet is further restored by using one or a combination of the following information:
a sampling period of a currently received data packet;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet;
and (4) a preset TS sampling ratio.
Optionally, if the currently received data packet is an activated voice packet, the restoring the currently received data packet specifically includes calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/20*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetintervalFor the time interval between the reception time of the currently received data packet and the reception time of the last successfully decompressed data packet, 20 is the sampling of the active speech packetValue of the period, TSstrideIs a preset TS sampling ratio.
Optionally, if the currently received data packet is a silent voice packet, the restoring the currently received data packet specifically includes calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/160*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetintervalThe time interval between the time of reception of the currently received data packet and the time of reception of the last successfully decompressed data packet is 160, which is the value of the sampling period of the silent speech packet, TSstrideIs a preset TS sampling ratio.
Another data packet decompression apparatus provided in an embodiment of the present application includes:
a first unit, configured to receive a compressed data packet sent by a sending end;
and the second unit is used for restoring the currently received data packet by using the information of the data packet which is successfully decompressed before when the preset condition is met.
Another embodiment of the present application provides a computing device, which includes a memory and a processor, wherein the memory is used for storing program instructions, and the processor is used for calling the program instructions stored in the memory and executing any one of the above methods according to the obtained program.
Another embodiment of the present application provides a computer storage medium having stored thereon computer-executable instructions for causing a computer to perform any one of the methods described above.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a PDCP header compression/decompression end packet processing process according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for decompressing a data packet according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus for decompressing a data packet according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another apparatus for decompressing a data packet according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a data packet decompression method and device, which are used for reducing the packet loss and improving the service quality.
In the LTE system, in order to save transmission resources of the air interface, especially for voice (voice) service, since the IP header length of the voice data packet is higher than the payload ratio of the entire data packet, it is necessary to support header compression to reduce the air interface load, but due to the characteristics of the voice data service type, the requirement for delay is higher, and the bearer usually adopts an Unacknowledged Mode (UM) mode, therefore, in the case of a poor air interface environment, because there is no retransmission of Radio Link Control (RLC) layer, the packet loss phenomenon is more likely to occur, for a small amount of packet loss and the lost data packet non-state transition packet, due to the inherent robustness of header compression, the base station can recover the subsequently received voice compression packet according to the static and dynamic context information recorded by the current bearer, correctly recover the IP header of the original data packet, but if the packet loss exceeds a certain amount, or key data state conversion packets such as silence conversion activation and activation conversion silence are lost, and for a header compression algorithm, due to the loss of key parameters, the original IP data packet cannot be correctly recovered, so that all subsequent data packets are discarded, and data communication can be correctly recovered only by reverting the current working state and resynchronizing context information by replying opposite-end non-acknowledgement (NACK) information.
The embodiment of the application provides a method for quickly restoring a header compression voice Data Packet after Packet Data Convergence Protocol (PDCP) Packet loss occurs in an efficient PDCP layer, so that Packet loss caused by a header compression algorithm can be reduced as much as possible when the voice Data Packet loss occurs in an air interface, voice communication can be quickly restored, and user perception experience is effectively improved.
Referring to fig. 1, a specific data processing procedure provided in the embodiment of the present application includes, for example:
step 1: and the terminal UE completes random access, supports header compression of a file 1(profile1) type if the current cell is configured with the header compression support, and establishes a special bearer of a service quality type identifier 1(QCI1) if a call is dialed for a voice service.
Step 2: after receiving the data packet, the PDCP decompressing end analyzes the packet length of the data packet; judging whether the data packet type is a silent packet or an activated voice packet according to the packet length; and determining the sampling period of the data packet according to the judged type of the data packet.
For example:
the length of the silent packet is generally 7 bytes, if the packet length of the currently received data packet meets the standard, the data packet is determined to be the silent packet, and the sampling period (which can be equal to the packet sending period) of the data packet is 160 ms; it should be noted that the silence packet also belongs to a voice service packet, except that the silence packet is an active voice packet.
The voice packets are different in the number of compressed packets according to the difference in voice quality, and generally, a data packet with a packet length greater than 7 bytes is a voice packet, and the sampling period of the voice packet is 20 ms.
And step 3:
judging whether the PDCP decompression end fails to decompress or not, or whether the time of the received current data packet (which can be a silence packet or an active voice packet) is separated from the last voice data packet which is correctly decompressedintervalGreater than Twindow。
And 4, step 4: if the PDCP decompression end can correctly decompress the currently received data packet, recording the Time Stamp (TS) information TS of the correctly decompressed packetbaseReceiving the empty time of the current data packet, and submitting the calculated decompressed and restored voice data packet to the core networkThat is, the TS information of the successfully decompressed data packet is sent to the core network;
and 5: if the PDCP decompression end fails to decompress, or the time of the received current data packet (which can be a silence packet or an active voice packet) is separated from the last voice data packet decompressed correctly by the interval TintervalGreater than TwindowThen, the following processing is performed:
step 5.1, the PDCP calculates the TS of the currently received data packet according to the type of the currently received data packet and the time interval between the data packet and the last correctly decompressed data packet:
if the currently received data packet is an activated voice packet, then:
TS=TSbase+Tinterval/20*TSstride;
wherein, TSbaseThe TS for the last correctly decompressed packet is 20, the sample period of the active voice packet.
If the currently received data packet is a silence packet, then:
TS=TSbase+Tinterval/160*TSstride;
wherein, TSbaseThe TS for the last correctly decompressed packet 160 is the sample period of the silence packet.
TS mentioned abovestrideIs a preset TS sampling ratio.
And 5.2, feeding back NACK information to the terminal compression end to ensure that the compression end resynchronizes the context information.
And 5.3, delivering the calculated decompressed and restored voice data packet to the core network, wherein the restored voice data packet refers to a data packet for restoring the IP header, which is obtained by calculating the TS according to the formula.
And 5.4, after the context information is synchronized with the compression end, recovering a normal decompression mechanism of the header compression, namely, according to a protocol of the header compression, the compression end can roll back the header compression state after receiving the NACK message packet and resend the initial IR packet and the IR-DYN packet.
Wherein, TwindowDecompressing the voice data compression packet which can be correctly analyzed currently and the previous voice data compression packet for the PDCPThe maximum time interval for correctly parsing the voice data packet, for example, the maximum time interval T can be set by activating the voice packetwindowIs 320 ms.
Therefore, at the receiving end, referring to fig. 2, a method for decompressing a data packet provided in an embodiment of the present application includes:
s101, receiving a compressed data packet sent by a sending end;
and S102, when the preset condition is met, restoring the currently received data packet by using the information of the data packet which is successfully decompressed before.
The successfully decompressed data packet is a data packet that can be correctly decompressed.
By the method, the compressed data packet sent by the sending end is received, and when the preset condition is met, the currently received data packet is restored by utilizing the information of the data packet which is successfully decompressed before, so that the packet loss condition can be reduced, and the service quality is improved.
Optionally, the preset condition includes at least one of the following conditions:
decompressing the currently received data packet fails;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet is greater than a preset value, for example, the preset value is the receiving time interval of the continuously received data packets under normal conditions, and the value can be set according to actual needs.
Therefore, when the currently received data packet fails to be decompressed and/or the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet is greater than the preset value, the currently received data packet can be restored by using the information of the previously successfully decompressed data packet.
Optionally, the information of the previously decompressed data packet includes Time Stamp (TS) information.
The previously successfully decompressed data packet may be, for example, the last successfully decompressed data packet, or may be any one or more previously successfully decompressed data packets.
Optionally, the currently received data packet is further restored by using one or a combination of the following information:
a sampling period of a currently received data packet;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet;
and (4) a preset TS sampling ratio.
Optionally, if the currently received data packet is an activated voice packet, the restoring the currently received data packet specifically includes calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/20*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetintervalThe time interval between the time of reception of the currently received data packet and the time of reception of the last successfully decompressed data packet is 20, which is the value of the sampling period of the active speech packet, TSstrideIs a preset TS sampling ratio.
Optionally, if the currently received data packet is a silent voice packet, the restoring the currently received data packet specifically includes calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/160*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetintervalThe time interval between the time of reception of the currently received data packet and the time of reception of the last successfully decompressed data packet is 160, which is the value of the sampling period of the silent speech packet, TSstrideIs a preset TS sampling ratio.
Correspondingly to the above method, referring to fig. 3, an embodiment of the present application provides a packet decompression apparatus, including:
a memory 11 for storing program instructions;
a processor 12 for calling the program instructions stored in the memory and executing, according to the obtained program:
receiving a compressed data packet sent by a sending end;
and when the preset condition is met, restoring the currently received data packet by using the information of the data packet which is successfully decompressed before.
The processor 12 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD).
Optionally, the preset condition includes at least one of the following conditions:
decompressing the currently received data packet fails;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet is larger than a preset value.
Optionally, the information comprises timestamp TS information.
Optionally, the currently received data packet is further restored by using one or a combination of the following information:
a sampling period of a currently received data packet;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet;
and (4) a preset TS sampling ratio.
Optionally, if the currently received data packet is an activated voice packet, the restoring the currently received data packet specifically includes calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/20*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetintervalThe time interval between the time of reception of the currently received data packet and the time of reception of the last successfully decompressed data packet is 20, which is the value of the sampling period of the active speech packet, TSstrideIs a preset TS sampling ratio.
Optionally, if the currently received data packet is a silent voice packet, the restoring the currently received data packet specifically includes calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/160*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetintervalThe time interval between the time of reception of the currently received data packet and the time of reception of the last successfully decompressed data packet is 160, which is the value of the sampling period of the silent speech packet, TSstrideIs a preset TS sampling ratio.
Referring to fig. 4, another data packet decompression apparatus provided in the embodiment of the present application includes:
a first unit 21, configured to receive a compressed data packet sent by a sending end;
and a second unit 22, configured to restore the currently received data packet by using information of a previously successfully decompressed data packet when a preset condition is met.
The embodiment of the present application provides a computing device, which may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), and the like. The computing device may include a Central Processing Unit (CPU), memory, input/output devices, etc., the input devices may include a keyboard, mouse, touch screen, etc., and the output devices may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), etc.
The memory may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides the processor with program instructions and data stored in the memory. In the embodiments of the present application, the memory may be used for storing a program of any one of the methods provided by the embodiments of the present application.
The processor is used for executing any one of the methods provided by the embodiment of the application according to the obtained program instructions by calling the program instructions stored in the memory.
Embodiments of the present application provide a computer storage medium for storing computer program instructions for an apparatus provided in the embodiments of the present application, which includes a program for executing any one of the methods provided in the embodiments of the present application.
The computer storage media may be any available media or data storage device that can be accessed by a computer, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
The method provided by the embodiment of the application can be applied to terminal equipment and also can be applied to network equipment.
The Terminal device may also be referred to as a User Equipment (User Equipment, abbreviated as "UE"), a Mobile Station (Mobile Station, abbreviated as "MS"), a Mobile Terminal (Mobile Terminal), or the like, and optionally, the Terminal may have a capability of communicating with one or more core networks through a Radio Access Network (RAN), for example, the Terminal may be a Mobile phone (or referred to as a "cellular" phone), a computer with Mobile property, or the like, and for example, the Terminal may also be a portable, pocket, hand-held, computer-built-in, or vehicle-mounted Mobile device.
A network device may be a base station (e.g., access point) that refers to a device in an access network that communicates over the air-interface, through one or more sectors, with wireless terminals. The base station may be configured to interconvert received air frames and IP packets as a router between the wireless terminal and the rest of the access network, which may include an Internet Protocol (IP) network. The base station may also coordinate management of attributes for the air interface. For example, the base Station may be a Base Transceiver Station (BTS) in GSM or CDMA, a base Station (NodeB) in WCDMA, an evolved Node B (NodeB or eNB or e-NodeB) in LTE, or a gNB in 5G system. The embodiments of the present application are not limited.
The above method process flow may be implemented by a software program, which may be stored in a storage medium, and when the stored software program is called, the above method steps are performed.
In summary, the method provided by the embodiment of the present application can reduce packet loss caused by decompression failure of the header compression algorithm. The method provided by the embodiment of the application can obviously improve the Mean Opinion Score (MOS) value of the voice by reducing the packet loss rate of the voice data.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (10)
1. A method for packet decompression, the method comprising:
receiving a compressed data packet sent by a sending end;
when the preset conditions are met, restoring the currently received data packet by using the information of the data packet which is successfully decompressed before;
wherein the preset condition at least comprises one of the following conditions:
decompressing the currently received data packet fails;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet is greater than a preset value;
the information includes timestamp TS information.
2. The method of claim 1, further comprising recovering the currently received data packet using one or a combination of the following information:
a sampling period of a currently received data packet;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet;
and (4) a preset TS sampling ratio.
3. The method according to claim 2, wherein if the currently received data packet is an active voice packet, the restoring the currently received data packet specifically comprises calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/20*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetintervalThe time interval between the time of reception of the currently received data packet and the time of reception of the last successfully decompressed data packet is 20, which is the value of the sampling period of the active speech packet, TSstrideIs a preset TS sampling ratio.
4. The method according to claim 2, wherein if the currently received data packet is a silent voice packet, the restoring the currently received data packet specifically includes calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/160*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetintervalThe time interval between the time of reception of the currently received data packet and the time of reception of the last successfully decompressed data packet is 160, which is the value of the sampling period of the silent speech packet, TSstrideIs a preset TS sampling ratio.
5. A packet decompression apparatus, comprising:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing according to the obtained program:
receiving a compressed data packet sent by a sending end;
when the preset conditions are met, restoring the currently received data packet by using the information of the data packet which is successfully decompressed before;
wherein the preset condition at least comprises one of the following conditions:
decompressing the currently received data packet fails;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet is greater than a preset value;
the information includes timestamp TS information.
6. The apparatus of claim 5, wherein the currently received data packet is further recovered using one or a combination of the following information:
a sampling period of a currently received data packet;
the time interval between the receiving time of the currently received data packet and the receiving time of the last successfully decompressed data packet;
and (4) a preset TS sampling ratio.
7. The apparatus according to claim 6, wherein if the currently received data packet is an active voice packet, the recovering the currently received data packet specifically comprises calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/20*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetintervalThe time interval between the time of reception of the currently received data packet and the time of reception of the last successfully decompressed data packet is 20, which is the value of the sampling period of the active speech packet, TSstrideIs a preset TS sampling ratio.
8. The apparatus according to claim 6, wherein if the currently received data packet is a silent voice packet, the restoring the currently received data packet specifically includes calculating TS information of the currently received data packet by using the following formula:
TS=TSbase+Tinterval/160*TSstride;
wherein, TSbaseTS, T for the last successfully decompressed packetintervalThe time interval between the time of reception of the currently received data packet and the time of reception of the last successfully decompressed data packet is 160, which is the value of the sampling period of the silent speech packet, TSstrideIs a preset TS sampling ratio.
9. A packet decompression apparatus, comprising:
a first unit, configured to receive a compressed data packet sent by a sending end;
and the second unit is used for restoring the currently received data packet by using the information of the data packet which is successfully decompressed before when the preset condition is met.
10. A computer storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810603084.6A CN110602745A (en) | 2018-06-12 | 2018-06-12 | Data packet decompression method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810603084.6A CN110602745A (en) | 2018-06-12 | 2018-06-12 | Data packet decompression method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110602745A true CN110602745A (en) | 2019-12-20 |
Family
ID=68848931
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810603084.6A Pending CN110602745A (en) | 2018-06-12 | 2018-06-12 | Data packet decompression method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110602745A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118055165A (en) * | 2024-04-16 | 2024-05-17 | 上海移芯通信科技股份有限公司 | Timestamp information processing method, device, computer equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193062A (en) * | 2007-07-25 | 2008-06-04 | 中兴通讯股份有限公司 | A TS value recovery method for ROHC compression |
EP1941699A2 (en) * | 2005-10-27 | 2008-07-09 | Qualcomm Incorporated | System and method for improving rohc efficiency |
CN102571540A (en) * | 2010-12-20 | 2012-07-11 | 华为技术有限公司 | Decompression method and device |
CN106856424A (en) * | 2015-12-09 | 2017-06-16 | 普天信息技术有限公司 | The ROHC message transmitting method for compressing and system in a kind of VOLTE systems |
CN107919996A (en) * | 2016-10-10 | 2018-04-17 | 大唐移动通信设备有限公司 | A kind of data pack transmission method and equipment |
CN108141790A (en) * | 2015-09-24 | 2018-06-08 | 高通股份有限公司 | Timestamp repair mechanism in the case of de-compression failure |
CN108141439A (en) * | 2015-09-23 | 2018-06-08 | 高通股份有限公司 | Call continuity in high uplink channel interference state |
-
2018
- 2018-06-12 CN CN201810603084.6A patent/CN110602745A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1941699A2 (en) * | 2005-10-27 | 2008-07-09 | Qualcomm Incorporated | System and method for improving rohc efficiency |
CN101193062A (en) * | 2007-07-25 | 2008-06-04 | 中兴通讯股份有限公司 | A TS value recovery method for ROHC compression |
CN102571540A (en) * | 2010-12-20 | 2012-07-11 | 华为技术有限公司 | Decompression method and device |
CN108141439A (en) * | 2015-09-23 | 2018-06-08 | 高通股份有限公司 | Call continuity in high uplink channel interference state |
CN108141790A (en) * | 2015-09-24 | 2018-06-08 | 高通股份有限公司 | Timestamp repair mechanism in the case of de-compression failure |
CN106856424A (en) * | 2015-12-09 | 2017-06-16 | 普天信息技术有限公司 | The ROHC message transmitting method for compressing and system in a kind of VOLTE systems |
CN107919996A (en) * | 2016-10-10 | 2018-04-17 | 大唐移动通信设备有限公司 | A kind of data pack transmission method and equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118055165A (en) * | 2024-04-16 | 2024-05-17 | 上海移芯通信科技股份有限公司 | Timestamp information processing method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10554791B2 (en) | Method for processing data packet and apparatus | |
US10194349B2 (en) | Header compression optimization method during and after handovers in cellular communication network | |
JP4324678B2 (en) | Method and apparatus for processing a timer upon re-establishment of a receiver in a wireless communication system | |
US8184637B2 (en) | Method, system and apparatus for dynamic quality of service modification | |
EP4280558A1 (en) | Explicit congestion notification based rate adaptation using binary marking in communication systems | |
US8964560B2 (en) | Apparatus, method, computer program product and system for requesting acknowledgment of transmitted data packets | |
CN111327404B (en) | Service lifetime processing method and device | |
EP1978685A1 (en) | Method and apparatus for dynamic quality of service modification | |
CN108141790A (en) | Timestamp repair mechanism in the case of de-compression failure | |
CN111328104B (en) | Data packet decompression method and device | |
WO2021027853A1 (en) | Communication method and apparatus | |
CN110602745A (en) | Data packet decompression method and device | |
CN110636035B (en) | Communication method, device and readable storage medium | |
EP3148251B1 (en) | Data transmission method and device | |
WO2023005452A1 (en) | Communication method and apparatus, and device | |
WO2021000763A1 (en) | Data transmission method and apparatus | |
WO2022237279A1 (en) | Data transmission method and apparatus | |
EP4271036A1 (en) | Communication method and apparatus | |
CN108076481B (en) | Method for terminal to access cluster group calling later | |
CN112399477B (en) | Communication method and device | |
WO2021097686A1 (en) | Method for transmitting compressed ethernet packet, and apparatus | |
CN109672707B (en) | Data transmission method and device and computer storage medium | |
JP2009135931A (en) | Method and communication apparatus for setting highest received state variable | |
CN110958647A (en) | Data transmission method and device | |
CN109936864A (en) | A kind of method and apparatus across building head compressed context in the switching of station |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191220 |
|
RJ01 | Rejection of invention patent application after publication |