WO2010118579A1 - Method and apparatus for improving header compression performance - Google Patents

Method and apparatus for improving header compression performance Download PDF

Info

Publication number
WO2010118579A1
WO2010118579A1 PCT/CN2009/071313 CN2009071313W WO2010118579A1 WO 2010118579 A1 WO2010118579 A1 WO 2010118579A1 CN 2009071313 W CN2009071313 W CN 2009071313W WO 2010118579 A1 WO2010118579 A1 WO 2010118579A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
sliding window
value
window width
width
Prior art date
Application number
PCT/CN2009/071313
Other languages
French (fr)
Chinese (zh)
Inventor
沈海华
梁文亮
卢磊
黄罡
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN200980115080.2A priority Critical patent/CN102282809B/en
Priority to PCT/CN2009/071313 priority patent/WO2010118579A1/en
Publication of WO2010118579A1 publication Critical patent/WO2010118579A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • 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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for improving head compression performance. Background technique
  • Head compression technology is very important for the role of communication technology, and can effectively reduce the valuable bandwidth resources occupied by data transmission.
  • the header compression technology mainly includes IP header compression (IPHC, IP Header Compression) and RTP header compression (CRTP, Compression of RTP), Robust Header Compression (ROHC), where ROHC technology is a new type of header compression mechanism. Compared with previous mechanisms, ROHC technology is very robust and more robust. High compression efficiency.
  • the ROHC technology uses a window-based Least Significant Bits Encoding (W-LSB) algorithm for the regular dynamic header domain in the header of the packet.
  • the algorithm is the least significant bit compression (LBS). , Least Significant Bits) Improvements to the algorithm.
  • LBS least significant bit compression
  • W-LSB algorithm coding is to encode the header fields with smaller change values in those consecutive packets. After encoding, the lowest k-bit value of the field value is transmitted, that is, the header field with smaller change value is transmitted.
  • the specific execution method of the compression end coded by the W-LSB algorithm includes:
  • Step A1 The compression end sends a value V to the decompression end for the first time, and the compression end adds the value V to the sliding window.
  • the sliding window is empty;
  • A2: The compression end acquires k for each subsequent compression value V, and the compression end obtains k according to k max(g(v ⁇ min, v) , g(v_max, v); wherein, v_max and v min are N in the sliding window
  • the maximum and minimum values of the reference value, the function g ( v ) is the number of bits of the transmission value to be transmitted compared to a certain reference value.
  • Step A3 compress the value V according to the obtained k, and transmit the compressed value V;
  • Step A4 The compression end determines one of the sliding windows according to the feedback of the decompression end (or according to the configuration of the compression end itself)
  • the specific value V and all values older than V are not used as a reference by the decompression end, and if the value V and the old value of the ratio V are both removed from the sliding window, the width of the sliding window becomes correspondingly smaller.
  • the sliding window width is an important parameter for evaluating the robustness and compression efficiency of the W-LSB algorithm.
  • Step A5 If the compression end is based on the feedback of the decompression end, the feedback is usually that the error rate of the decompression end decompression is high, and the compression end increases the sliding window width.
  • the value of the last successful decompression is used as a reference for decompression.
  • the inventors of the present invention have found that the prior art technique of performing header compression using the W-LBS algorithm changes the sliding window width when used in a variable wireless channel environment. Inflexible, the bandwidth resource is wasted when the quality of the wireless channel is good. In the case of poor quality of the wireless channel, the correct rate of decompression at the decompression end cannot be guaranteed.
  • the embodiment of the invention provides a method and a device for improving the compression performance of a header, which effectively solves the problem that the width of the sliding window is inflexible in the prior art, which results in wasted bandwidth resources in the case of good wireless channel quality, and the quality of the wireless channel. In the worst case, the problem of the correct rate of decompression at the decompression end cannot be guaranteed.
  • An embodiment of the present invention provides a method for improving header compression performance, including:
  • the embodiment of the invention further provides a compression device, comprising: an acquisition unit, an adjustment unit, a compression unit and a transmission unit,
  • the acquiring unit is configured to acquire wireless channel quality information
  • the adjusting unit is configured to adjust a sliding window width according to the acquired wireless channel quality information and preset information
  • the compression unit is configured to compress a header of the data packet according to the adjusted sliding window width;
  • the sending unit is configured to send the compressed data packet to the decompressing end.
  • the embodiment of the invention adjusts the sliding window width according to the obtained wireless channel quality information, compresses the header of the data packet according to the adjusted sliding window width, and sends the compressed data packet to the decompressing end, so that the compression end can be
  • the sliding window width is adjusted, the compression is performed, the transmission efficiency is improved, the bandwidth of the wireless channel is saved, and the correct decompression capability of the compression end is improved.
  • FIG. 1 is a schematic flow chart of a method for improving head compression performance according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic flow chart of a method for improving head compression performance according to Embodiment 2 of the present invention
  • a corresponding figure of wireless channel quality and sliding window width as exemplified in Example 3;
  • FIG. 4 is a logic diagram of a compression device according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic flow chart of a method for improving head compression performance according to Embodiment 4 of the present invention
  • FIG. 6 is a logic diagram of a compression device according to Embodiment 5 of the present invention.
  • Embodiment 1 provides a method for improving the compression performance of the head, and the embodiment of the invention further provides a corresponding device. The details are described below separately. Embodiment 1
  • An embodiment of the present invention provides a method for improving header compression performance.
  • the method includes: Step 1: Obtain wireless channel quality information.
  • the representation of the radio channel quality information may be various.
  • the carrier-to-interference-and-noise ratio (CINR), signal-to-noise ratio (SNR, Signal) may be used.
  • To Noise Ratio RSI, Received Signal Indicator
  • ARQ Automatic Repeat Request
  • HARQ hybrid automatic repeat request
  • wireless channel quality information can also be represented by the correct rate of transmitted data. It is also to be understood that the representation of the wireless channel quality information can be varied, and the description herein should not be construed as limiting the embodiments of the invention.
  • Step 2 Adjust the width of the sliding window of the compression end according to the obtained wireless channel quality information and preset information
  • the width of the sliding window is relatively wide compared with the case where the quality of the wireless channel is good, and the sliding window width of the compressed end needs to be increased to n, and the corresponding number of transmitted bits Increase, correspondingly, the probability that the reference value used by the decompressing end increases in the window, so that the compressed packet of the subsequent transmission can be correctly decompressed when the packet loss rate or the number of the wrong packet is large, and the correct decompression capability is provided.
  • the width of the sliding window is reduced to the width m, and the number of bits transmitted after compression is small, which not only improves the transmission efficiency, but also saves the bandwidth of the wireless channel.
  • widths m and n are variable, and the specific values are determined according to actual conditions.
  • the adjustment of the sliding window width by the compression end may also be based on the quantitative division of the quality of the wireless channel, and the sliding window width is divided into a plurality of different widths. For specific description, refer to the embodiments described later.
  • Step 3 According to the adjusted sliding window width, the header of the data packet is compressed, and the compressed data packet is sent to the decompressing end.
  • step 3 can refer to the prior art.
  • the above method can be considered to be performed by the user equipment (such as a terminal).
  • the client equipment and the network side usually the network side base station
  • parameters related to compression such as parameters: threshold value of poor channel quality X, gate with good channel quality The limit value Y, and/or the channel quality check period ⁇ , etc.
  • This negotiation process can It is completed by user basic capability negotiation (SBC), dynamic service addition/change (DSA/DSC), registration (REG, registration) and the like.
  • SBC user basic capability negotiation
  • DSA/DSC dynamic service addition/change
  • REG registration
  • the sliding window width is adjusted according to the obtained wireless channel quality information, and the header of the data packet is compressed according to the adjusted sliding window width, and the compression is performed.
  • the compression end can adjust the sliding window width according to the quality of the wireless channel, compress, improve the transmission efficiency, save the bandwidth of the wireless channel, and improve the correct decompression capability of the compression end.
  • Embodiments of the present invention provide a method for improving head compression performance, which is a more detailed implementation process based on the method provided in Embodiment 1.
  • the method is implemented by the user equipment, and the user equipment includes a compression end. As shown in FIG. 2, the method includes:
  • Step HI Obtain any one of the parameter values of the uplink CINR, SNR, or RSSI.
  • the user equipment may be estimated according to uplink scheduling information sent by the network side or according to any one of downlink CINR, SNR, or RSSI. Any one of uplink CINR, SNR, or RSSI is obtained; or any one of uplink CINR, SNR, or RSSI is directly received from the network side.
  • the user equipment periodically reports any one of the downlink CINR, SNR, or RSSI data to the network side.
  • the CINR is used as an example for all the following texts.
  • the quality of the radio channel is represented by SNR or RSSI, and the CINR is replaced by SNR or RSSI.
  • Step H2 Adjusting the width of the sliding window of the compression end according to any one of the obtained uplink CINR, SNR, or RSSI and the preset information;
  • the preset information in step H2 generally includes: a threshold value X of a poor channel quality, a threshold value Y of a good channel quality, and a channel quality detection period ⁇ ; the preset information may further include: The specific value of the sliding window width. Other parameters may be included in the preset information, and should not be construed as limiting the embodiments of the present invention.
  • the step ⁇ 2 may specifically include: Step hi: when the acquired CINR value is less than the preset value X, according to the preset information, the compression end sliding window width is increased to n;
  • n can be specified in the preset information.
  • the window width is increased to n, and the specific value of n is determined according to factors such as actual conditions and designer requirements.
  • the CINR value is less than X, it indicates that the quality of the wireless channel is poor at this time, and the width of the sliding window needs to be increased to ensure the correct rate of decompression at the decompression end.
  • Step h2 When the obtained CINR value is greater than or equal to X and less than or equal to Y, the sliding window width is kept unchanged;
  • the CINR value is between X and Y, it indicates that the current sliding window width is appropriate, that is, the decompression correctness rate can be guaranteed, and no bandwidth resource is wasted, and no adjustment is needed.
  • Step h3 When the acquired CINR value is greater than Y, the compression window sliding window width is reduced to m according to the preset information.
  • the m is similar to the n in the step hi.
  • the CINR value is greater than Y, the wireless channel quality is better, the window width can be reduced, the number of bits is reduced, and bandwidth resources are saved.
  • step h3 are described in the case where there is no feedback or less feedback on the decompression end, and the user equipment adjusts the sliding window width in the compression end according to the quality of the wireless channel.
  • the feedback information of the decompressing end such as: the correct rate of decompression, or the error rate of decompression.
  • step H2 the method must include before step H2:
  • Step H4 Receive the feedback information sent by the decompressing end, where the feedback information includes a NACK or ACK feedback that the decompressing end decompresses the data packet;
  • Step H5 According to the feedback information, obtain the correct rate of decompression.
  • the step H2 may further include: adjusting the sliding width of the compressed end according to any one of the acquired uplink CINR, SNR, or RSSI, preset information, and decompression feedback information.
  • Step h, l when the obtained CINR value is less than X, and the decompression correct rate is low (same reason, the error rate is high), according to the preset information, the compression end sliding window width is increased to n;
  • the judgment of the correctness rate of the decompression may be that the correct rate is higher than Z, and the value is lower than Z, and the value of Z is determined according to the actual situation.
  • Y, m, n - like, is preset in the compression end.
  • Step h, 2 When the obtained CINR value is less than X, and the correct rate of decompression is high, the sliding window width is kept unchanged;
  • the steps h and 2 indicate that, in the case that the decompression end decompression has a high correct rate, the radio channel quality is poor, and the window width is not required to be increased, thereby saving bandwidth resources.
  • Step h'3 the same as step h2;
  • Step h, 4 When the obtained CINR value is greater than Y, and the correct rate of decompression is low, the sliding window width is kept unchanged;
  • Step h, 5 When the obtained CINR value is greater than Y, and the correct rate of decompression is high, according to the preset information, the sliding window width of the compression end is reduced to m.
  • the step HI specifically includes: obtaining any one of uplink CINR, SNR, or RSSI, and obtaining feedback information of the decompressing end.
  • Step H3 compress the packet header according to the adjusted window width, and send the compressed packet to the decompressing end;
  • the LSB compression algorithm compresses and encodes the continuous median value of the continuous packet, and the compression method only transmits the domain value k. Instead of transmitting the original domain value, the least significant bits (LSBs, Least Significant Bits).
  • the LSBs are the least significant bits of the binary coded difference to be compressed and the binary code that has been decompressed correctly by the decompressed end as the reference value v-ref, and k is the number of bits of the LSBs.
  • Decompression termination After receiving the LSBs, it replaces the k least significant bits of the v-ref that were previously correctly received as the decompression reference value, and restores the compressed value.
  • the ROHC medium packet format uses the type mechanism, that is, the format of the data packet is restricted in the ROHC. After selecting a certain type, the number of bits of the information transmitted is fixed, and therefore, the calculation is obtained. k must be less than the number of bits k1 transmitted in the packet format of the selected type.
  • step H3 the following describes the step H3:
  • Step tl When the width of the sliding window of the compression end is increased to n, according to the width of the window, the minimum effective number of bits k is obtained;
  • Step t2 determining, according to the current packet format type, that the bit data k1 of the current packet format type transmission is greater than or equal to k', then transmitting data by using the current packet format type;
  • Step t3 determining, according to the current packet format type, that the bit data k1 of the current packet format type transmission is less than k', selecting the packet format type transmission data whose number of transmitted bits is greater than k';
  • step t3 when there are multiple selectable types in step t3, the packet format type with the least number of transmission bits and greater than k' is selected for transmission.
  • steps tl to t3 are for the subsequent processing of the compression end under the condition that the sliding window width is increased; the following steps t4 to t6 are for the subsequent processing of the compression end under the condition that the sliding window width is reduced.
  • Step t 4 Similar to step tl, when the compression end sliding window width is reduced to m, according to the window width, the least significant digit k" is obtained;
  • Step t5 Transfer data according to the original packet format type.
  • the k" obtained in the step t4 is obviously smaller than the number of bits k1 transmitted by the original packet format type, so the operation of step t5 can be performed without changing the packet format type.
  • the transmission can also be performed according to the new packet format type, that is, The packet format type in which the number of transmitted bits is greater than or equal to k" and smaller than the number of bits k1 transmitted by the original packet format type is selected.
  • the sliding window width is adjusted according to the obtained wireless channel quality information, and the packet header is compressed according to the adjusted sliding window width, and the compressed packet header is compressed.
  • the data packet is sent to the decompression end, so that the compression end can adjust the sliding window width according to the quality of the wireless channel, and then perform compression, thereby improving transmission efficiency and saving.
  • Wireless channel bandwidth resources at the same time, improve the understanding of the correct decompression capability of the compression side.
  • An embodiment of the present invention provides a method for improving head compression performance, which is similar to the method provided in Embodiment 2, except that the adjustment of the sliding window width in Embodiment 2 is a simple and rough process; The adjustment of the sliding window width in the method provided by this embodiment is relatively fine.
  • the radio channel quality is quantitatively divided into three parts, that is, the quality of the radio channel is good, general, Bad.
  • the CINR is greater than Y
  • the quality of the wireless channel is good
  • the CINR is less than or equal to ⁇ and greater than or equal to X
  • the width of the sliding window is divided into three types, including: maintaining the current sliding window width, width m, and width n.
  • the radio channel quality is quantitatively divided into more than three parts, and when the wireless channel quality is represented by such parameters as CINR, SNR, RSSI, etc., the number axis can be divided according to the value of each parameter on the numerical axis. For more than three intervals, the infinite channel quality represented by the values in different intervals corresponds to the compression side sliding window broadband. Of course, the principle is that the better the channel quality, the narrower the sliding window width. As shown in Figure 3, taking CINR as an example, the CINR value is divided into 7 segments.
  • CINR parameter value VA corresponding to sliding window width N1; A ⁇ VB, sliding window width N2; B ⁇ VC, sliding window width N3; C ⁇ V ⁇ D, sliding window width N4; D ⁇ VE, sliding window width N5; ⁇ VF, sliding window width N6; V>F, sliding window width N7, the above CINR division and the corresponding sliding window width are taken as the information preset in the compression end.
  • the compression end of the client device adjusts the width of the sliding window of the compression end according to the specific parameter value of the obtained CINR and the preset information. It should be noted that, similar to the description of step H2 in the second embodiment, the feedback information of the decompression end can also be considered for the adjustment of the sliding window width. For details, refer to the description in the second embodiment.
  • the compression end acquires radio channel quality information, specifically, obtains any one of CINR, SNR, or RSSI, and the specific parameter values acquired at different times are different, and therefore, the time T can be obtained.
  • the internal wireless channel quality serves as the basis for adjusting the window width. Therefore, obtaining the wireless channel quality information in this embodiment specifically includes: Step yl: obtaining CINR parameter values more than once within a prescribed time T;
  • Step y2 Statistics the number of CINR values falling within the preset intervals in time T;
  • the sliding window width corresponding to the interval is selected. If there is more than one interval with the most parameter values, the interval with the worst channel quality is selected as the basis for adjusting the width of the sliding window.
  • the above description is based on CINR, and has the same operation method for SNR and RSSI.
  • the user equipment in T has an estimated CINR value of 10 times, wherein the CINR value falls into the range of 4 to 8 dB 8 times.
  • the compression end of the user equipment uses the interval of 4 to 8 dB as the basis for adjusting the width of the sliding window.
  • Another example includes: If the CINR parameter value falls into the range of 4 to 8 dB 5 times,
  • the compression end of the user equipment is used as the basis for adjusting the width of the sliding window with a range of -4 to OdB.
  • the compression end specifically adjusts the sliding window width as follows:
  • the window width is adjusted to a sliding window width corresponding to the interval in which the number of the parameter values that fall into the frame is the largest;
  • the compressed end is included in the user equipment.
  • the compressed end may also be located on the network side, and the compressed end is located on the network side device such as a gateway (Gateway). ).
  • the network side obtains the information of the downlink radio channel quality, and the information is usually sent by the user equipment, and the network side obtains the downlink CINR, SNR, or After the RSSI, it is determined whether the compression side sliding window width needs to be adjusted. If necessary, the network side sends any one of CINR, SNR or RSSI to the compression side of the network side.
  • the subsequent operation steps are the same as the compression end on the user side, and the descriptions in Embodiments 1, 2, and 3 can be referred to.
  • the radio channel quality is represented by any one of CINR, SNR, or RSSI
  • the above-mentioned first, second, and third embodiments are specifically similar in the following:
  • the layer module obtains any one of CINR, SNR, or RSSI, and then sends any of the obtained CINR, SNR, or RSSI to the compressor through a special signal (such as a service primitive), and obtains the data in the compressor according to the acquisition.
  • the information, and the preset information adjust the width of the sliding window; compress the packet header according to the adjusted sliding window width, and transmit the compressed data packet to the device through the physical layer module.
  • the embodiment of the present invention provides a method for improving header compression performance. This embodiment is similar to the foregoing embodiment, except that the parameter that characterizes the quality of the radio channel in this embodiment is not CINR or the like.
  • the negotiation can be completed through signaling such as SBC, DSA/DSC, and REG.
  • the parameters negotiated usually include: threshold value of error rate (or correct rate) when channel quality is good XI, threshold value Yl of error rate (or correct rate) when channel quality is poor, channel quality detection period ⁇ .
  • the specific values of parameters XI, ⁇ 1, and ⁇ can also be considered as presets in the user equipment.
  • the method includes:
  • Step K1 receiving any one of a NACK or an ACK signal sent by the receiving end, where the receiving end includes a decompressing end;
  • the receiving end will check the data packet, and if the verification succeeds, the ACK signal is fed back, and if the verification fails, the NACK signal is fed back to the transmitting end;
  • the receiving end decodes the data packet, and the decoding succeeds in feeding back the ACK, and the decoding failure feeds back the NACK signal to the transmitting end.
  • Step K2 Acquire any one of the correct rate or the error rate of the transmitted data according to any one of the received NACK or ACK signals;
  • step K2 the error rate is first described as an example.
  • the method for obtaining the error rate may be:
  • the transmitting end When the ARQ technology is used, the transmitting end counts the NACK signal within a predetermined time T, and calculates the number of transmitted block sequence numbers (BSN, Block Sequence Number) that are fed back to the NACK signal, and transmits in the time T.
  • BSN Block Sequence Number
  • the transmitting end When HARQ technology is used, the transmitting end counts the NACK signal within a prescribed time T, and calculates the ratio of the number of transmitted HARQ packets that are fed back to the NACK signal, and the ratio of the number of all HARQ packets transmitted within the time T.
  • the HARQ packet is the smallest particle transmitted in the HARQ technology.
  • the above is a specific operation method for obtaining an error rate, and it is possible to undoubtedly derive an operation method for obtaining a correct rate.
  • Step K3 adjusting the sliding window width according to any one of the correct rate or the error rate of the acquired transmission data, and the preset information;
  • step K3 For the specific description of the step K3, reference may be made to the description of the step H2 in the second embodiment, wherein the correct rate or the error rate in the step K3 is equivalent to the value of the parameter CINR in the second embodiment, and the XI in the preset information.
  • Y1 and T, and the effects of X, Y and T in the second embodiment are the same, and the width of the adjusted window may be ml, nl; for the case of feedback by the decompression end, the determination of the correct rate of decompression The effect can be the same as that of the second embodiment, so that it is obvious that the specific operation process for adjusting the width of the sliding window can be obtained. It will not be repeated here.
  • Step K4 Similar to step H3 in the second embodiment, according to the adjusted window width, the header of the data packet is compressed, and the compressed data packet is sent to the decompressing end.
  • step K4 For a detailed description of step K4, reference may be made to the description in the second embodiment.
  • the physical layer module in this embodiment is only responsible for receiving and generating data, and has no function of judging.
  • the medium access control (MAC) The Media Access Control module executes the above step K2 in the module; the MAC module sends the acquired correct rate or error rate to the compressor, and the compressor executes step K3.
  • the quality of the wireless channel is reflected by any one of the correct rate or the error rate of the transmitted data, and then the sliding window width is adjusted according to the adjusted Sliding the window width, compressing the header of the data packet, and sending the compressed data packet to the decompressing end, so that the compression end can adjust the sliding window width according to the quality of the wireless channel, compress the transmission, improve the transmission efficiency, and save the wireless channel.
  • Bandwidth resources at the same time, improve the ability to understand the correct decompression of the compression side.
  • the embodiment of the present invention provides a compression device.
  • the compression device includes: an acquisition unit 10, an adjustment unit 20, a compression unit 30, and a transmission unit 40.
  • the obtaining unit 10 is configured to acquire wireless channel quality information.
  • the adjusting unit 20 is configured to adjust a sliding window width of the compression end according to the obtained wireless channel quality information and preset information;
  • the compression unit 30 is configured to compress the IP header according to the adjusted sliding window width, and the sending unit 40 is configured to send the compressed IP letter to the decompressing end.
  • the radio channel quality information acquired by the obtaining unit 10 may be CINR, SNR, RSSL or any one of the correct rate (or error rate) of the data transmitted when the ARQ and HARQ technologies are used. Therefore, the obtaining unit 10 may be a value specifically used to acquire CINR, SNR, RSSL or any one of the correct rate (or error rate) of transmitting data by using the ARQ and HARQ technologies.
  • the obtaining unit 10 may further include: a first obtaining unit 101 and a statistic unit 102.
  • the first obtaining unit 101 is configured to acquire more than one CINR in a predetermined time T,
  • the statistic unit 102 is configured to count, in the time T, the value of any one of the CINR, the SNR, and the RSSI falling within the preset intervals;
  • the adjusting unit 20 is specifically configured to adjust the sliding window width of the compression end according to the statistical result and the preset information.
  • the compression device may further include: a first receiving unit 50, configured to receive any one of a NACK or an ACK signal sent by the decompressing end.
  • the obtaining unit 10 is specifically configured to obtain any one of a correct rate or an error rate of the transmission data according to any one of the received NACK or ACK signals; wherein, the accuracy or error rate of the foregoing transmission data is a radio channel quality. information.
  • the adjusting unit 20 is specifically configured to: when the acquired CINR value is less than X, according to preset information, increase the compression end sliding window width to n; When the acquired CINR value is greater than or equal to X and less than or equal to Y, the sliding window width is kept unchanged; when the acquired CINR value is greater than Y, the compression end sliding window width is reduced to m according to preset information.
  • the adjusting unit 20 does not consider the feedback of the decompressing end when performing the adjustment, and if the compressing apparatus further includes: a second receiving unit 60, configured to receive feedback information of the decompressing end;
  • the adjusting unit 20 may further include: when the acquired CINR value is less than X, and the correct rate of decompression is less than or equal to Z, according to preset information, increasing the sliding window width of the compressed end to n; when acquiring the CINR When the value is less than X, and the correct rate of decompression is greater than Z, the sliding window width is kept unchanged; when the acquired CINR value is greater than or equal to X, and less than or equal to Y, the sliding window width is kept unchanged; when the acquired CINR value is greater than When Y, and the correct rate of decompression is less than or equal to Z, the sliding window width is kept unchanged; when the acquired CINR value is greater than Y, and the decompression correct rate is greater than Z, the compression end sliding window is based on the preset information. The width is reduced to m.
  • the CINR value may be replaced by any one of an SNR value, an RSSI value, or a correct rate value of the data transmitted by the ARQ or HARQ technology.
  • the compression unit 30 may further include: obtaining a least significant digit unit 301 and a first compression unit 302.
  • the obtaining the least significant digit unit 301 is configured to obtain the least significant digit k′ according to the adjustment result of the sliding window width;
  • a first compression unit 302 configured to obtain the least significant number of bits k, and the current packet format type The transmitted bit data kl compresses the data.
  • first compression unit 302 may specifically include:
  • the data is transmitted according to the original packet format type.
  • the transmission may also be performed according to the new packet format type, that is, the number of bits selected for transmission is greater than A packet format type equal to k" and smaller than the number of bits k1 transmitted by the original packet format type.
  • the sliding window width is adjusted according to the acquired wireless channel quality information, and the header of the data packet is compressed according to the adjusted sliding window width, and the compressed data packet is compressed. It is sent to the decompression end, so that the compression end can adjust the sliding window width according to the quality of the wireless channel, compress, improve the transmission efficiency, save the bandwidth of the wireless channel, and improve the correct decompression capability of the compression end.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD, etc.

Abstract

A method for improving header compression performance, which includes: obtaining a wireless channel quality information (1); adjusting the width of the sliding windows according to the obtained wireless channel quality information and a preset information (2); compressing the header of the data packet according to the adjusted width of the sliding windows, and transmitting the compressed data packet to the decompression end (3). Application of the technical solutions can realize the purposes that the wireless channel bandwidth resource is saved and the correct decompressing ability of the decompression end is improved.

Description

一种提高头压缩性能的方法和装置  Method and device for improving head compression performance
技术领域 Technical field
本发明涉及通信技术领域, 具体涉及一种提高头压缩性能的方法和装置。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for improving head compression performance. Background technique
头压缩技术对于通信技术领域的作用是非常重要的,可以有效地减少数据 传输占用的宝贵的带宽资源, 目前头压缩技术主要有 IP报头压缩 (IPHC, IP Header Compression )、 RTP头压缩 (CRTP, Compression of RTP ), 鲁棒的头 压缩(ROHC, Robust Header Compression )„ 其中, ROHC技术是一种新型的 报头压缩机制, 与以往的各种机制相比较, ROHC技术具有很好的健壮性和更 高的压缩效率。  Head compression technology is very important for the role of communication technology, and can effectively reduce the valuable bandwidth resources occupied by data transmission. Currently, the header compression technology mainly includes IP header compression (IPHC, IP Header Compression) and RTP header compression (CRTP, Compression of RTP), Robust Header Compression (ROHC), where ROHC technology is a new type of header compression mechanism. Compared with previous mechanisms, ROHC technology is very robust and more robust. High compression efficiency.
ROHC技术对数据包的报头中变化有规律的动态信头域釆用基于窗口的 最低有效位压缩编码 ( W-LSB , Windows-based Least Significant Bits Encoding ) 算法, 该算法是最低有效位压缩 (LBS , Least Significant Bits )算法的改进。 釆用 W-LSB算法在压缩端进行编码时, 是根据滑动窗口中包含的一组参考基 值, 进行编码的; 解压缩端接收到滑动窗口的任意一个基值就可以正确解压缩 编码后的值。 釆用 W-LSB算法编码是编码那些连续包中变化值较小的报头字 段, 编码后传输的是字段值的最低 k位, 即传输的是变化值较小的报头字段。  The ROHC technology uses a window-based Least Significant Bits Encoding (W-LSB) algorithm for the regular dynamic header domain in the header of the packet. The algorithm is the least significant bit compression (LBS). , Least Significant Bits) Improvements to the algorithm. WWhen the W-LSB algorithm is used for encoding on the compression side, it is encoded according to a set of reference base values contained in the sliding window; the decompressing end can correctly decompress the encoded after receiving any base value of the sliding window. value. W W-LSB algorithm coding is to encode the header fields with smaller change values in those consecutive packets. After encoding, the lowest k-bit value of the field value is transmitted, that is, the header field with smaller change value is transmitted.
釆用 W-LSB算法编码的压缩端的具体执行方法包括:  The specific execution method of the compression end coded by the W-LSB algorithm includes:
步骤 A1 : 压缩端第一次发送一个值 V给解压缩端, 压缩端将值 V加到滑 动窗口中, 其中, 压缩端第一次发送值 V给解压缩端时, 滑动窗口为空; 步骤 A2: 压缩端对后续每个压缩值 V, 压缩端根据 k=max(g(v— min, v) , g(v_max, v), 获取 k; 其中, v_max和 v min是滑动窗口中 N个参考值的最 大值和最小值, 函数 g ( v )是传输值与某一参考值相比要传输的比特数。  Step A1: The compression end sends a value V to the decompression end for the first time, and the compression end adds the value V to the sliding window. When the compression end sends the value V to the decompression end for the first time, the sliding window is empty; A2: The compression end acquires k for each subsequent compression value V, and the compression end obtains k according to k=max(g(v−min, v) , g(v_max, v); wherein, v_max and v min are N in the sliding window The maximum and minimum values of the reference value, the function g ( v ) is the number of bits of the transmission value to be transmitted compared to a certain reference value.
步骤 A3: 根据获取的 k, 对值 V进行压缩, 并且传输压缩后的值 V; 步骤 A4: 压缩端根据解压缩端的反馈, (或者根据压缩端自身的配置 ), 判断出滑动窗口中的一个特定的值 V和所有比 V旧的值不会被解压缩端用作参 考, 则将值 V和比值 V旧的值都移除滑动窗口, 则滑动窗口的宽度相应的就变 小了。 其中, 滑动窗口宽度是评价釆用 W-LSB算法编码的健壮性和压缩效率的 重要参数。 当滑动窗口很小时, 无线信道上丟失少量的分组, 就会导致后续传 输到解压缩端的分组不能成功的被解压缩; 如果滑动窗口很大,每一个压缩域 的 LSB编码位数 k就会增大, 降低了头压缩的效率。 因此, 上述方法还包括: 步骤 A5: 如果压缩端根据解压缩端的反馈, 该反馈通常是解压缩端解压 缩的出错率很高, 则压缩端就增大滑动窗口宽度。 Step A3: compress the value V according to the obtained k, and transmit the compressed value V; Step A4: The compression end determines one of the sliding windows according to the feedback of the decompression end (or according to the configuration of the compression end itself) The specific value V and all values older than V are not used as a reference by the decompression end, and if the value V and the old value of the ratio V are both removed from the sliding window, the width of the sliding window becomes correspondingly smaller. Among them, the sliding window width is an important parameter for evaluating the robustness and compression efficiency of the W-LSB algorithm. When the sliding window is small, a small number of packets are lost on the wireless channel, which will result in the subsequent transmission of the packet to the decompressing end cannot be successfully decompressed; if the sliding window is large, the LSB coded bit number k of each compressed domain will increase. Large, reducing the efficiency of head compression. Therefore, the foregoing method further includes: Step A5: If the compression end is based on the feedback of the decompression end, the feedback is usually that the error rate of the decompression end decompression is high, and the compression end increases the sliding window width.
在解压缩端则使用最后一次解压缩成功的值作为参考, 进行解压缩。  On the decompression side, the value of the last successful decompression is used as a reference for decompression.
在对现有技术的研究和实践过程中, 本发明的发明人发现, 现有釆用 W-LBS 算法进行头压缩的技术, 在被使用到多变的无线信道环境中时, 滑动窗口宽度 变化不灵活, 导致在无线信道质量较好的情况下浪费了带宽资源,在无线信道 质量较差的情况下, 不能保证解压缩端解压缩的正确率。 In the research and practice of the prior art, the inventors of the present invention have found that the prior art technique of performing header compression using the W-LBS algorithm changes the sliding window width when used in a variable wireless channel environment. Inflexible, the bandwidth resource is wasted when the quality of the wireless channel is good. In the case of poor quality of the wireless channel, the correct rate of decompression at the decompression end cannot be guaranteed.
发明内容 Summary of the invention
本发明实施例提供一种提高头压缩性能的方法和装置,有效的解决了现有 技术中滑动窗口宽度变化不灵活,导致在无线信道质量较好的情况下浪费了带 宽资源,在无线信道质量较差的情况下, 不能保证解压缩端解压缩的正确率的 问题。  The embodiment of the invention provides a method and a device for improving the compression performance of a header, which effectively solves the problem that the width of the sliding window is inflexible in the prior art, which results in wasted bandwidth resources in the case of good wireless channel quality, and the quality of the wireless channel. In the worst case, the problem of the correct rate of decompression at the decompression end cannot be guaranteed.
本发明实施例提供了一种提高头压缩性能的方法, 包括:  An embodiment of the present invention provides a method for improving header compression performance, including:
获取无线信道质量信息;  Obtaining wireless channel quality information;
根据所述获取的无线信道质量信息和预置的信息, 调整滑动窗口宽度; 根据调整后的滑动窗口宽度,对数据包的报头进行压缩, 将压缩后的数据 包发送给解压缩端。  And adjusting the sliding window width according to the obtained wireless channel quality information and preset information; compressing the header of the data packet according to the adjusted sliding window width, and transmitting the compressed data packet to the decompressing end.
本发明实施例还提供了一种压缩装置, 包括: 获取单元、 调整单元、 压缩 单元和发送单元,  The embodiment of the invention further provides a compression device, comprising: an acquisition unit, an adjustment unit, a compression unit and a transmission unit,
所述获取单元, 用于获取无线信道质量信息;  The acquiring unit is configured to acquire wireless channel quality information;
所述调整单元, 用于根据所述获取的无线信道质量信息和预置的信息, 调 整滑动窗口宽度;  The adjusting unit is configured to adjust a sliding window width according to the acquired wireless channel quality information and preset information;
所述压缩单元, 用于根据调整后的滑动窗口宽度,对数据包的报头进行压 缩; 所述发送单元, 用于将压缩后的数据包发送给解压缩端。 The compression unit is configured to compress a header of the data packet according to the adjusted sliding window width; The sending unit is configured to send the compressed data packet to the decompressing end.
本发明实施例根据获取的无线信道质量信息,调整滑动窗口宽度,根据调 整后的滑动窗口宽度,对数据包的报头进行压缩, 将压缩后的数据包发送给解 压缩端,使得压缩端可以根据无线信道质量,调整滑动窗口宽度后,进行压缩, 提高传输效率, 节约了无线信道带宽资源, 同时, 提高了解压缩端的正确解压 能力。  The embodiment of the invention adjusts the sliding window width according to the obtained wireless channel quality information, compresses the header of the data packet according to the adjusted sliding window width, and sends the compressed data packet to the decompressing end, so that the compression end can be After the quality of the wireless channel is adjusted, the sliding window width is adjusted, the compression is performed, the transmission efficiency is improved, the bandwidth of the wireless channel is saved, and the correct decompression capability of the compression end is improved.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描 述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲, 在不 付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description For some embodiments of the present invention, other drawings may be obtained from those skilled in the art without departing from the drawings.
图 1是本发明实施例一提供的一种提高头压缩性能的方法流程简图; 图 2是本发明实施例二提供的一种提高头压缩性能的方法流程简图; 图 3是本发明实施例三中所举例的一种无线信道质量与滑动窗口宽度对应 图;  1 is a schematic flow chart of a method for improving head compression performance according to Embodiment 1 of the present invention; FIG. 2 is a schematic flow chart of a method for improving head compression performance according to Embodiment 2 of the present invention; a corresponding figure of wireless channel quality and sliding window width as exemplified in Example 3;
图 4是本发明实施例三中说明的一种压缩装置逻辑简图;  4 is a logic diagram of a compression device according to Embodiment 3 of the present invention;
图 5是本发明实施例四提供的一种提高头压缩性能的方法流程简图; 图 6是本发明实施例五提供的一种压缩装置逻辑简图。  5 is a schematic flow chart of a method for improving head compression performance according to Embodiment 4 of the present invention; and FIG. 6 is a logic diagram of a compression device according to Embodiment 5 of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图 ,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work are within the scope of the present invention.
本发明实施例提供一种提高头压缩性能的方法,本发明实施例还提供相应 的装置。 以下分别进行详细说明。 实施例一、  The embodiment of the invention provides a method for improving the compression performance of the head, and the embodiment of the invention further provides a corresponding device. The details are described below separately. Embodiment 1
本发明实施例提供了一种提高头压缩性能的方法, 参见图 1所示, 该方法 包括: 步骤 1 : 获取无线信道质量信息; An embodiment of the present invention provides a method for improving header compression performance. Referring to FIG. 1, the method includes: Step 1: Obtain wireless channel quality information.
其中, 需要理解的是, 无线信道质量信息的表示形式可以有多种, 通常可 以用载波与干扰噪声之比(CINR, Carrier-to-Interference-and-Noise Ratio ), 信 噪比( SNR, Signal to Noise Ratio )、接收信号强度指示( RSSI, Received Signal Indicator )其中任意一种表示,对于釆用自动重传请求( ARQ , Automatic Repeat Request )或者混合自动重传请求 ( HARQ, Hybrid Automatic Repeat Request ) 技术的, 无线信道质量信息也可以用传输数据的正确率来表示。还需要理解的 是, 无线信道质量信息的表示形式可以有多种, 此处的说明不应该理解为对本 发明实施例的限制。  It should be understood that the representation of the radio channel quality information may be various. Generally, the carrier-to-interference-and-noise ratio (CINR), signal-to-noise ratio (SNR, Signal) may be used. To Noise Ratio (RSI, Received Signal Indicator), any of which indicates that an automatic repeat request (ARQ, Automatic Repeat Request) or a hybrid automatic repeat request (HARQ) is used. Technically, wireless channel quality information can also be represented by the correct rate of transmitted data. It is also to be understood that the representation of the wireless channel quality information can be varied, and the description herein should not be construed as limiting the embodiments of the invention.
步骤 2: 才艮据获取的无线信道质量信息和预置的信息, 调整压缩端滑动窗 口宽度;  Step 2: Adjust the width of the sliding window of the compression end according to the obtained wireless channel quality information and preset information;
便于理解的说明, 通常无线信道质量较差的情况下, 滑动窗口的宽度相对 与无线信道质量较好的情况下的较宽, 需要增大压缩端的滑动窗口宽度到 n, 相应的传输的比特数增加,相应的,解压缩端使用的参考值在窗口内的机率增 大,从而在丟包率或者错包较多时能正确的解压后续传输的压缩包,提供正确 解压能力。  For ease of understanding, usually, when the quality of the wireless channel is poor, the width of the sliding window is relatively wide compared with the case where the quality of the wireless channel is good, and the sliding window width of the compressed end needs to be increased to n, and the corresponding number of transmitted bits Increase, correspondingly, the probability that the reference value used by the decompressing end increases in the window, so that the compressed packet of the subsequent transmission can be correctly decompressed when the packet loss rate or the number of the wrong packet is large, and the correct decompression capability is provided.
在无线信道质量较好的情况下, 将滑动窗口的宽度减小至宽度 m, 压缩后 传输的比特数少, 不仅可以提高传输效率, 还可以节约无线信道带宽资源。  When the quality of the wireless channel is good, the width of the sliding window is reduced to the width m, and the number of bits transmitted after compression is small, which not only improves the transmission efficiency, but also saves the bandwidth of the wireless channel.
还需要说明的是, 宽度 m和 n是可变的, 具体取值根据实际情况而决定。 压缩端对滑动窗口宽度的调整也可以具体根据对无线信道质量定量的划分,而 将滑动窗口宽度分为多个不同的宽度。 具体说明参见后续说明的的实施例。  It should also be noted that the widths m and n are variable, and the specific values are determined according to actual conditions. The adjustment of the sliding window width by the compression end may also be based on the quantitative division of the quality of the wireless channel, and the sliding window width is divided into a plurality of different widths. For specific description, refer to the embodiments described later.
步骤 3: 根据调整后的滑动窗口宽度, 对数据包的报头进行压缩,将压缩后 的数据包发送至解压缩端。  Step 3: According to the adjusted sliding window width, the header of the data packet is compressed, and the compressed data packet is sent to the decompressing end.
其中, 步骤 3中的具体说明可以参考现有技术。  The specific description in step 3 can refer to the prior art.
如果上述压缩端位于用户设备中, 则可以认为上述方法是由用户设备(如 终端)执行的。当压缩端位于用户设备中时,有时需要用户端设备与网络侧(通 常是网络侧基站)之间协商一下有关压缩的参数, 如参数: 信道质量差的门限 值 X、 信道质量好的门限值 Y、 和 /或信道质量检查周期 Τ等。 此协商过程可以 通过 用户基本能力协商 (SBC)、 动态服务附加 /更改(DSA/DSC, Dynamic service addition/change)^ 注册 ( REG, registration)等信令完成。 If the above compressed end is located in the user equipment, the above method can be considered to be performed by the user equipment (such as a terminal). When the compression end is located in the user equipment, it is sometimes required that the client equipment and the network side (usually the network side base station) negotiate parameters related to compression, such as parameters: threshold value of poor channel quality X, gate with good channel quality The limit value Y, and/or the channel quality check period Τ, etc. This negotiation process can It is completed by user basic capability negotiation (SBC), dynamic service addition/change (DSA/DSC), registration (REG, registration) and the like.
通过以上对本发明实施例提供的一种提高头压缩性能的方法的说明,根据 获取的无线信道质量信息, 调整滑动窗口宽度, 根据调整后的滑动窗口宽度, 对数据包的报头进行压缩,将压缩后的数据包发送给解压缩端,使得压缩端可 以根据无线信道质量, 调整滑动窗口宽度后, 进行压缩, 提高传输效率, 节约 了无线信道带宽资源, 同时, 提高了解压缩端的正确解压能力。 实施例二、  By the above description of the method for improving the header compression performance provided by the embodiment of the present invention, the sliding window width is adjusted according to the obtained wireless channel quality information, and the header of the data packet is compressed according to the adjusted sliding window width, and the compression is performed. After the data packet is sent to the decompression end, the compression end can adjust the sliding window width according to the quality of the wireless channel, compress, improve the transmission efficiency, save the bandwidth of the wireless channel, and improve the correct decompression capability of the compression end. Embodiment 2
本发明实施例提供了一种提高头压缩性能的方法,该方法是以实施例一提 供的方法为基础的一个更详细的实施过程。 在对本实施例提供的方法做说明 前, 需要说明的是, 该方法的执行主体是用户端设备, 在该用户端设备中包括 有压缩端, 参见图 2所示, 该方法包括:  Embodiments of the present invention provide a method for improving head compression performance, which is a more detailed implementation process based on the method provided in Embodiment 1. Before the method provided in this embodiment is described, it is to be noted that the method is implemented by the user equipment, and the user equipment includes a compression end. As shown in FIG. 2, the method includes:
步骤 HI : 获取上行 CINR、 SNR或者 RSSI等其中任意一项参数值; 其中, 用户端设备可以是根据网络侧发送的上行调度信息、或者根据下行 CINR、 SNR或者 RSSI等其中任意一项数据, 估计出上行 CINR、 SNR或者 RSSI 等其中任意一项数据; 或者从网络侧直接接收上行 CINR、 SNR或者 RSSI等其 中任意一项数据。  Step HI: Obtain any one of the parameter values of the uplink CINR, SNR, or RSSI. The user equipment may be estimated according to uplink scheduling information sent by the network side or according to any one of downlink CINR, SNR, or RSSI. Any one of uplink CINR, SNR, or RSSI is obtained; or any one of uplink CINR, SNR, or RSSI is directly received from the network side.
还需要理解的是, 现有的通信机制中, 用户端设备会定期的上报下行的 CINR、 SNR或者 RSSI等其中任意一项数据给网络侧。  It is also to be understood that, in the existing communication mechanism, the user equipment periodically reports any one of the downlink CINR, SNR, or RSSI data to the network side.
为了便于对描述, 下面所有的文字中以 CINR为例做说明, 无线信道质量 以 SNR或者 RSSI等表示的情况, 以 SNR或者 RSSI替换 CINR即可。  For convenience of description, the CINR is used as an example for all the following texts. The quality of the radio channel is represented by SNR or RSSI, and the CINR is replaced by SNR or RSSI.
步骤 H2: 根据获取的上行 CINR、 SNR或者 RSSI等其中任意一项数据和预 置的信息, 调整压缩端滑动窗口宽度;  Step H2: Adjusting the width of the sliding window of the compression end according to any one of the obtained uplink CINR, SNR, or RSSI and the preset information;
其中, 步骤 H2中所说的预置的信息, 通常包括: 信道质量差的门限值 X、 信道质量好的门限值 Y、 信道质量检测周期 Τ; 预置的信息中还可以包括: 调 整滑动窗口宽度的具体值。预置的信息中还可以包括其他参数, 此处不应该理 解为对本发明实施例的限制。  The preset information in step H2 generally includes: a threshold value X of a poor channel quality, a threshold value Y of a good channel quality, and a channel quality detection period Τ; the preset information may further include: The specific value of the sliding window width. Other parameters may be included in the preset information, and should not be construed as limiting the embodiments of the present invention.
还需要说明的是, 步骤 Η2可以具体包括: 步骤 hi : 获取的 CINR值小于预置的值 X时,根据预置的信息, 将压缩端滑 动窗口宽度增大至 n; It should also be noted that the step Η2 may specifically include: Step hi: when the acquired CINR value is less than the preset value X, according to the preset information, the compression end sliding window width is increased to n;
其中, n可以是在预置的信息中已经规定的, 当 CINR值小于 X时, 窗口宽 度增大至 n, n的具体取值根据实际情况和设计者要求等因素而决定。 CINR值 小于 X时, 说明此时无线信道质量较差, 需要将滑动窗口的宽度增大, 保证解 压缩端解压的正确率。  Where n can be specified in the preset information. When the CINR value is less than X, the window width is increased to n, and the specific value of n is determined according to factors such as actual conditions and designer requirements. When the CINR value is less than X, it indicates that the quality of the wireless channel is poor at this time, and the width of the sliding window needs to be increased to ensure the correct rate of decompression at the decompression end.
步骤 h2: 获取的 CINR值大于等于 X、 且小于等于 Y时, 保持滑动窗口宽度 不变;  Step h2: When the obtained CINR value is greater than or equal to X and less than or equal to Y, the sliding window width is kept unchanged;
其中, 当 CINR值在 X和 Y之间的大小时, 说明当前的滑动窗口宽度是合适 的, 即可以保证解压缩端的解压正确率, 由没有浪费带宽资源, 不需要进行调 整。  When the CINR value is between X and Y, it indicates that the current sliding window width is appropriate, that is, the decompression correctness rate can be guaranteed, and no bandwidth resource is wasted, and no adjustment is needed.
步骤 h3: 获取的 CINR值大于 Y时,根据预置的信息, 将压缩端滑动窗口宽 度减小至 m。  Step h3: When the acquired CINR value is greater than Y, the compression window sliding window width is reduced to m according to the preset information.
其中, m与步骤 hi中的 n有相似的说明, 当 CINR值大于 Y时, 说明此时无 线信道质量较好, 可以缩小窗口宽度, 传输较少的比特数, 节约带宽资源。  The m is similar to the n in the step hi. When the CINR value is greater than Y, the wireless channel quality is better, the window width can be reduced, the number of bits is reduced, and bandwidth resources are saved.
以上步骤 hi至步骤 h3的说明是针对解压缩端无反馈或者反馈较少的情况 下,用户设备根据无线信道质量的好坏,调整压缩端中滑动窗口宽度。事实上, 更合理的调整压缩端中滑动窗口宽度的方法中,还可以考虑解压缩端的反馈信 息, 如: 解压缩的正确率、 或者解压缩的出错率其中任一项。  The above steps hi to step h3 are described in the case where there is no feedback or less feedback on the decompression end, and the user equipment adjusts the sliding window width in the compression end according to the quality of the wireless channel. In fact, in a more reasonable method of adjusting the width of the sliding window in the compression end, it is also possible to consider the feedback information of the decompressing end, such as: the correct rate of decompression, or the error rate of decompression.
对于有反馈的情况, 该方法在步骤 H2之前, 还要包括:  For the case of feedback, the method must include before step H2:
步骤 H4: 接收解压缩端发送的所述反馈信息, 所述反馈信息包括所述解 压缩端对数据包解压的 NACK或者 ACK反馈;  Step H4: Receive the feedback information sent by the decompressing end, where the feedback information includes a NACK or ACK feedback that the decompressing end decompresses the data packet;
步骤 H5: 根据反馈信息, 获取解压缩的正确率。  Step H5: According to the feedback information, obtain the correct rate of decompression.
具体获取正确率的方法是先有技术, 不详述。 对于后续实施例三、 四中有 反馈的情况下, 都有相似的说明, 可以参考此处说明。  The specific method for obtaining the correct rate is prior art and is not detailed. For the feedback in the third and fourth embodiments, there are similar explanations, which can be referred to here.
因此, 步骤 H2还可以具体包括: 根据获取的上行 CINR、 SNR或者 RSSI等 其中任意一项数据、预置的信息和解压缩反馈信息,调整压缩端滑动窗口宽度。  Therefore, the step H2 may further include: adjusting the sliding width of the compressed end according to any one of the acquired uplink CINR, SNR, or RSSI, preset information, and decompression feedback information.
结合上述步骤 hi至步骤 h3对有解压缩反馈信息的情况下,调整滑动窗口宽 度的具体方法做说明, 包括: Adjusting the sliding window width in the case where there is decompressed feedback information in combination with the above steps hi to step h3 The specific method of degree is explained, including:
步骤 h,l : 获取的 CINR值小于 X时, 且解压缩的正确率低(同理, 出错率 高), 根据预置的信息, 将压缩端滑动窗口宽度增大至 n;  Step h, l : when the obtained CINR value is less than X, and the decompression correct rate is low (same reason, the error rate is high), according to the preset information, the compression end sliding window width is increased to n;
其中, 解压缩的正确率的高低(或者, 出错率的高低)的判断, 具体可以 是正确率大于 Z则认为高, 小于等于 Z则认为低, Z的取值根据实际情况而定, 同 X、 Y、 m、 n—样, 是预置在压缩端中的。  The judgment of the correctness rate of the decompression (or the level of the error rate) may be that the correct rate is higher than Z, and the value is lower than Z, and the value of Z is determined according to the actual situation. , Y, m, n - like, is preset in the compression end.
由步骤 h,l可知, 无线信道质量较差, 且解压缩端解压的正确率较低, 则 压缩端判断出需要增大窗口宽度来保证解压缩端解压缩的正确率。  It can be seen from the steps h, l that the quality of the wireless channel is poor, and the correct rate of the decompression end decompression is low, and the compression end determines that the window width needs to be increased to ensure the correct rate of decompression at the decompression end.
步骤 h,2: 获取的 CINR值小于 X时, 且解压缩的正确率高, 则保持滑动窗 口宽度不变;  Step h, 2: When the obtained CINR value is less than X, and the correct rate of decompression is high, the sliding window width is kept unchanged;
其中, 步骤 h,2说明, 在解压缩端解压缩正确率较高的情况下, 虽然无线 信道质量较差, 也不需要增加窗口宽度, 节约了带宽资源。  The steps h and 2 indicate that, in the case that the decompression end decompression has a high correct rate, the radio channel quality is poor, and the window width is not required to be increased, thereby saving bandwidth resources.
步骤 h'3: 与步骤 h2相同;  Step h'3: the same as step h2;
步骤 h,4: 获取的 CINR值大于 Y时, 且解压缩的正确率低, 则保持滑动窗 口宽度不变;  Step h, 4: When the obtained CINR value is greater than Y, and the correct rate of decompression is low, the sliding window width is kept unchanged;
步骤 h,5: 获取的 CINR值大于 Y时, 且解压缩的正确率高, 则根据预置的 信息, 压缩端滑动窗口宽度减小至 m。  Step h, 5: When the obtained CINR value is greater than Y, and the correct rate of decompression is high, according to the preset information, the sliding window width of the compression end is reduced to m.
通过以上步骤 h,l至步骤 h,5的说明 (未在图 2中显示), 使得对滑动窗口宽 度的调整更加合理。 还需要理解的时, 对于这种调整方法, 则步骤 HI具体包 括: 获取上行 CINR、 SNR或者 RSSI等其中任意一项数据, 和获取解压缩端的 反馈信息。  Through the above steps h, l to the description of steps h, 5 (not shown in Figure 2), the adjustment of the sliding window width is made more reasonable. If it is to be understood, the step HI specifically includes: obtaining any one of uplink CINR, SNR, or RSSI, and obtaining feedback information of the decompressing end.
步骤 H3: 根据调整后的换的窗口宽度, 对数据包报头进行压缩将压缩后 的数据包发送给解压缩端;  Step H3: compress the packet header according to the adjusted window width, and send the compressed packet to the decompressing end;
其中, 对步骤 H3做具体说明之前, 需要理解的是: 对于 ROHC协议规定的 头压缩技术中, LSB压缩算法是对连续分组中值变化不断的域进行压缩编码, 压缩法只是传输域值的 k个最低有效位比特(LSBs, Least Significant Bits ), 而 不是传输原始域值。 LSBs是要压缩的值 V与已经被解压缩端正确解压而作为参 考值 v-ref的二进制编码差异的最低有效位, k是 LSBs的比特位数。 解压缩端接 收到 LSBs后, 用其取代先前正确接收而作为解压参考值的 v-ref的 k个最低有效 位, 还原被压缩的值。 Before the specific description of step H3, it should be understood that: For the header compression technology specified by the ROHC protocol, the LSB compression algorithm compresses and encodes the continuous median value of the continuous packet, and the compression method only transmits the domain value k. Instead of transmitting the original domain value, the least significant bits (LSBs, Least Significant Bits). The LSBs are the least significant bits of the binary coded difference to be compressed and the binary code that has been decompressed correctly by the decompressed end as the reference value v-ref, and k is the number of bits of the LSBs. Decompression termination After receiving the LSBs, it replaces the k least significant bits of the v-ref that were previously correctly received as the decompression reference value, and restores the compressed value.
目前 ROHC中包格式釆用类型 (type )机制, 即在 ROHC中对数据包的格 式作了相应的限制, 选择一定的类型后, 其传输的信息的比特数目是固定的, 因此, 计算获取的 k必须小于选定的类型的包格式中传输的比特数目 kl。  At present, the ROHC medium packet format uses the type mechanism, that is, the format of the data packet is restricted in the ROHC. After selecting a certain type, the number of bits of the information transmitted is fixed, and therefore, the calculation is obtained. k must be less than the number of bits k1 transmitted in the packet format of the selected type.
基于上述概念性的说明, 下面对步骤 H3做具体说明:  Based on the above conceptual description, the following describes the step H3:
步骤 tl : 当压缩端滑动窗口宽度增大至 n时, 根据窗口宽度, 获取最低有 效位数 k,;  Step tl: When the width of the sliding window of the compression end is increased to n, according to the width of the window, the minimum effective number of bits k is obtained;
步骤 t2: 根据当前的包格式类型, 判断出当前的包格式类型传输的比特数 据 kl大于等于 k', 则釆用当前的包格式类型传输数据;  Step t2: determining, according to the current packet format type, that the bit data k1 of the current packet format type transmission is greater than or equal to k', then transmitting data by using the current packet format type;
步骤 t3: 根据当前的包格式类型, 判断出当前的包格式类型传输的比特数 据 kl小于 k', 则选择传输的比特数目大于 k'的包格式类型传输数据;  Step t3: determining, according to the current packet format type, that the bit data k1 of the current packet format type transmission is less than k', selecting the packet format type transmission data whose number of transmitted bits is greater than k';
其中, 当步骤 t3中有多个可选择的类型时, 选择传输比特数目最少的, 且 大于 k'的包格式类型进行传输。  Wherein, when there are multiple selectable types in step t3, the packet format type with the least number of transmission bits and greater than k' is selected for transmission.
上述步骤 tl至步骤 t3是针对将滑动窗口宽度增大的条件下, 压缩端的后续 处理; 下面步骤 t4至步骤 t6是针对将滑动窗口宽度减少的条件下, 压缩端的后 续处理。  The above steps tl to t3 are for the subsequent processing of the compression end under the condition that the sliding window width is increased; the following steps t4 to t6 are for the subsequent processing of the compression end under the condition that the sliding window width is reduced.
步骤 t4: 与步骤 tl相似, 当压缩端滑动窗口宽度减小至 m, 根据窗口宽度, 获取最低有效位数 k"; Step t 4: Similar to step tl, when the compression end sliding window width is reduced to m, according to the window width, the least significant digit k" is obtained;
步骤 t5: 根据原包格式类型传输数据。  Step t5: Transfer data according to the original packet format type.
其中, 步骤 t4中获取的 k"显然是小于原包格式类型传输的比特数目 kl , 所 以可以执行步骤 t5的操作, 不改变包格式类型。 当然, 也可以根据新的包格式 类型进行传输, 即选择传输的比特数目大于等于 k" ,且比原包格式类型传输的 比特数目 kl小的包格式类型。  The k" obtained in the step t4 is obviously smaller than the number of bits k1 transmitted by the original packet format type, so the operation of step t5 can be performed without changing the packet format type. Of course, the transmission can also be performed according to the new packet format type, that is, The packet format type in which the number of transmitted bits is greater than or equal to k" and smaller than the number of bits k1 transmitted by the original packet format type is selected.
通过以上对本发明实施例提供的一种提高头压缩性能的方法的说明,根据 获取的无线信道质量信息, 调整滑动窗口宽度, 根据调整后的滑动窗口宽度, 对数据包报头进行压缩, 将压缩后的数据包发送给解压缩端,使得压缩端可以 根据无线信道质量, 调整滑动窗口宽度后, 进行压缩, 提高传输效率, 节约了 无线信道带宽资源, 同时, 提高了解压缩端的正确解压能力。 According to the foregoing description of the method for improving the header compression performance provided by the embodiment of the present invention, the sliding window width is adjusted according to the obtained wireless channel quality information, and the packet header is compressed according to the adjusted sliding window width, and the compressed packet header is compressed. The data packet is sent to the decompression end, so that the compression end can adjust the sliding window width according to the quality of the wireless channel, and then perform compression, thereby improving transmission efficiency and saving. Wireless channel bandwidth resources, at the same time, improve the understanding of the correct decompression capability of the compression side.
实施例三、  Embodiment 3
本发明实施例提供了一种提高头压缩性能的方法,该方法与实施二中提供 的方法相似, 不同之处在于, 实施例二中对滑动窗口宽度的调整是一种简单粗 略的过程; 而本实施例提供的方法中对滑动窗口宽度的调整是比较精细的。  An embodiment of the present invention provides a method for improving head compression performance, which is similar to the method provided in Embodiment 2, except that the adjustment of the sliding window width in Embodiment 2 is a simple and rough process; The adjustment of the sliding window width in the method provided by this embodiment is relatively fine.
在对本实施例提供的方法做说明时, 与实施例相同之处就不做详细说明, 主要对与实施例二中有区别之处做具体说明。本实施例提供的方法与实施例二 中的区别在步骤 H2的具体操作步骤, 在实施例二中的步骤 H2中, 将无线信道 质量定量的划分为三部分, 即无线信道质量好、 一般、 坏。 当 CINR大于 Y时, 无线信道质量好; 当 CINR小于等于丫、 且大于等于 X时, 无线信道质量一般; 当 CINR小于 X时,无线信道质量差。相应的,滑动窗口的宽度分为三种, 包括: 保持当前的滑动窗口宽度、 宽度为 m和宽度为 n。  When the method provided in this embodiment is described, the same points as those in the embodiment will not be described in detail, and the differences from the second embodiment will be specifically described. The method provided in this embodiment differs from the second embodiment in the specific operation step of step H2. In step H2 in the second embodiment, the radio channel quality is quantitatively divided into three parts, that is, the quality of the radio channel is good, general, Bad. When the CINR is greater than Y, the quality of the wireless channel is good; when the CINR is less than or equal to 丫 and greater than or equal to X, the quality of the wireless channel is generally; when the CINR is less than X, the quality of the wireless channel is poor. Correspondingly, the width of the sliding window is divided into three types, including: maintaining the current sliding window width, width m, and width n.
而本实施例中, 将无线信道质量定量的划分为多于三个部分, 用 CINR、 SNR、RSSI等这类参数表示无线信道质量时,可以根据各参数在数轴上的取值, 将数轴分为多于三个的区间,不同区间中的取值所代表的无限信道质量对应压 缩端滑动窗口宽带是不同的。当然原则都是信道质量越好,滑动窗口宽度越窄。 如图 3所示, 以 CINR为例, 将 CINR值划分为 7段。 CINR参数值 V A,对应滑动 窗口宽度 Nl ; A<V B,滑动窗口宽度 N2; B<V C,滑动窗口宽度 N3; C<V < D,滑动窗口宽度 N4; D<V E,滑动窗口宽度 N5; E<V F,滑动窗口宽度 N6; V>F,滑动窗口宽度 N7 , 以上对 CINR划分和对应的滑动窗口宽度取值为压缩端 中预置的信息。 用户端设备中压缩端根据获取的 CINR具体的参数值, 和上述 预置的信息, 用户端设备将压缩端滑动窗口的宽度作对应的调整。还需要说明 的是, 与实施例二中关于步骤 H2的说明相似, 对滑动窗口宽度的调整也可以 考虑解压缩端的反馈信息, 具体说明可以参考实施例二中的说明。  In this embodiment, the radio channel quality is quantitatively divided into more than three parts, and when the wireless channel quality is represented by such parameters as CINR, SNR, RSSI, etc., the number axis can be divided according to the value of each parameter on the numerical axis. For more than three intervals, the infinite channel quality represented by the values in different intervals corresponds to the compression side sliding window broadband. Of course, the principle is that the better the channel quality, the narrower the sliding window width. As shown in Figure 3, taking CINR as an example, the CINR value is divided into 7 segments. CINR parameter value VA, corresponding to sliding window width N1; A<VB, sliding window width N2; B<VC, sliding window width N3; C<V < D, sliding window width N4; D<VE, sliding window width N5; <VF, sliding window width N6; V>F, sliding window width N7, the above CINR division and the corresponding sliding window width are taken as the information preset in the compression end. The compression end of the client device adjusts the width of the sliding window of the compression end according to the specific parameter value of the obtained CINR and the preset information. It should be noted that, similar to the description of step H2 in the second embodiment, the feedback information of the decompression end can also be considered for the adjustment of the sliding window width. For details, refer to the description in the second embodiment.
还需要说明的是, 实际应用中, 压缩端获取无线信道质量信息, 具体指 获取 CINR、 SNR、 或者 RSSI等任一项, 在不同时间获取的具体参数值是不同 的, 因此, 可以以时间 T内无线信道质量作为调整窗口宽度的依据。 因此, 在 本实施例中获取无线信道质量信息具体包括: 步骤 yl : 在规定的时间 T内多于一次的获取 CINR参数值; It should be noted that, in an actual application, the compression end acquires radio channel quality information, specifically, obtains any one of CINR, SNR, or RSSI, and the specific parameter values acquired at different times are different, and therefore, the time T can be obtained. The internal wireless channel quality serves as the basis for adjusting the window width. Therefore, obtaining the wireless channel quality information in this embodiment specifically includes: Step yl: obtaining CINR parameter values more than once within a prescribed time T;
步骤 y2: 统计在时间 T内 CINR值落入预置的各区间的个数;  Step y2: Statistics the number of CINR values falling within the preset intervals in time T;
则根据落入的参数值数目最多的区间, 和预置的信息, 选择与该区间对应 的滑动窗口宽度。如果落入的参数值最多的区间多于一个, 则选择信道质量最 差的区间, 作为调整滑动窗口宽度的依据。  Then, according to the interval in which the number of parameter values falling in is the largest, and the preset information, the sliding window width corresponding to the interval is selected. If there is more than one interval with the most parameter values, the interval with the worst channel quality is selected as the basis for adjusting the width of the sliding window.
上述说明是以 CINR为例, 对于 SNR、 RSSI有相同的操作方法。  The above description is based on CINR, and has the same operation method for SNR and RSSI.
为了便于理解上述对步骤 yl和步骤 y2的说明, 具体举例包括: 假设在时间 In order to facilitate the understanding of the above description of the steps yl and y2, specific examples include:
T内用户设备有 10次 CINR值的估计, 其中, CINR值有 8次落入 4至 8dB的区间,The user equipment in T has an estimated CINR value of 10 times, wherein the CINR value falls into the range of 4 to 8 dB 8 times.
2次落入 -4至 OdB的区间, 则用户设备中压缩端以 4至 8dB的区间作为调整滑动 窗口宽度的依据。 另一个举例包括: 如 CINR参数值有 5次落入 4至 8dB的区间,In the interval of -4 to OdB 2 times, the compression end of the user equipment uses the interval of 4 to 8 dB as the basis for adjusting the width of the sliding window. Another example includes: If the CINR parameter value falls into the range of 4 to 8 dB 5 times,
5次落入 -4至 OdB , 则用户设备中压缩端以 -4至 OdB的区间作为调整滑动窗口宽 度的依据。 5 times falling into -4 to OdB, the compression end of the user equipment is used as the basis for adjusting the width of the sliding window with a range of -4 to OdB.
上述说明是对于没有解压缩端反馈信息的情况下的调整, 当解压缩端由反 馈时, 压缩端具体的调整滑动窗口宽度的方法如下:  The above description is for the adjustment without the decompression end feedback information. When the decompression end is feedback, the compression end specifically adjusts the sliding window width as follows:
当解压缩的正确率大于预置的值 Z, 且当前获取的落入参数值个数最多的 区间中的数值大于上一次获取的落入参数值个数最多的区间中的数值,则将滑 动窗口宽度调整到与所述落入的所述参数值个数最多的区间所对应的滑动窗 口宽度;  When the correct rate of decompression is greater than the preset value Z, and the value of the currently acquired interval that has the largest number of parameter values is greater than the value of the last time the number of parameters that fall into the parameter value is the most, the sliding will be performed. The window width is adjusted to a sliding window width corresponding to the interval in which the number of the parameter values that fall into the frame is the largest;
当解压缩的正确率小于等于预置的值 Z, 且当前获取的落入参数值个数最 多的区间中的数值小于上一次获取的落入参数值个数最多的区间中的数值,则 将滑动窗口宽度调整到与所述落入的所述参数值个数最多的区间所对应的滑 动窗口宽度;  When the correct rate of decompression is less than or equal to the preset value Z, and the value of the currently acquired interval that has the largest number of parameter values is smaller than the value of the last time the number of parameters that fall into the parameter value is the most, Adjusting a width of the sliding window to a sliding window width corresponding to the interval in which the number of the parameter values falling into the frame is the largest;
当解压缩的正确率大于预置的值 Z, 且当前获取的落入参数值个数最多的 区间中的数值小于上一次获取的落入参数值个数最多的区间中的数值,则保持 当前的滑动窗口宽度;  When the correct rate of decompression is greater than the preset value Z, and the value of the currently acquired interval that falls within the maximum number of parameter values is smaller than the value of the interval in which the number of the last acquired parameter values is the largest, the current value is maintained. Sliding window width;
当解压缩的正确率小于等于预置的值 Z , 且当前获取的落入参数值个数最 多的区间中的数值大于上一次获取的落入参数值个数最多的区间中的数值,则 保持当前的滑动窗口宽度。 以上所有本发明实施例一、二、 三的说明都是针对压缩端包括在用户端设 备中情况做说明的, 实际上, 压缩端也可以位于网络侧, 压缩端位于网络侧设 备如网关 (Gateway ) 中。 与实施例一、 二、 三提供的方法类似, 不同之处在 于, 网络侧获取的是下行无线信道质量的信息, 这些信息通常是由用户设备发 送来的, 网络侧获取到下行 CINR、 SNR或者 RSSI后, 判断是否需要调整压缩 端滑动窗口宽度, 如果需要, 则网络侧将 CINR、 SNR或者 RSSI等其中任一项 发送给网络侧的压缩端。后续的操作步骤与压缩端处于用户端相同, 可以参考 实施例一、 二、 三中的说明。 When the correct rate of decompression is less than or equal to the preset value Z, and the value of the currently acquired interval that has the largest number of parameter values is greater than the value of the interval in which the number of the last acquired parameter values is the largest, then the value is maintained. The current sliding window width. All of the above descriptions of the first, second, and third embodiments of the present invention are described in the case where the compressed end is included in the user equipment. In fact, the compressed end may also be located on the network side, and the compressed end is located on the network side device such as a gateway (Gateway). ). Similar to the methods provided in Embodiments 1, 2, and 3, the difference is that the network side obtains the information of the downlink radio channel quality, and the information is usually sent by the user equipment, and the network side obtains the downlink CINR, SNR, or After the RSSI, it is determined whether the compression side sliding window width needs to be adjusted. If necessary, the network side sends any one of CINR, SNR or RSSI to the compression side of the network side. The subsequent operation steps are the same as the compression end on the user side, and the descriptions in Embodiments 1, 2, and 3 can be referred to.
还需要说明的是, 如图 4所示, 当无线信道质量以 CINR、 SNR或者 RSSI 等其中任一项表示时, 上述实施例一、 二、 三中都具体相似的特点: 在其设备 的物理层模块中获取 CINR、 SNR或者 RSSI等其中任一项,然后将获取的 CINR、 SNR或者 RSSI等其中任一项, 通过特殊信号(如服务原语)发送给压缩器, 在 压缩器中根据获取的信息, 和预置的信息调整滑动窗口宽度; 根据调整后的滑 动窗口宽度对数据包报头进行压缩,将压缩后的数据包通过物理层模块传输出 设备。  It should be noted that, as shown in FIG. 4, when the radio channel quality is represented by any one of CINR, SNR, or RSSI, the above-mentioned first, second, and third embodiments are specifically similar in the following: The layer module obtains any one of CINR, SNR, or RSSI, and then sends any of the obtained CINR, SNR, or RSSI to the compressor through a special signal (such as a service primitive), and obtains the data in the compressor according to the acquisition. The information, and the preset information adjust the width of the sliding window; compress the packet header according to the adjusted sliding window width, and transmit the compressed data packet to the device through the physical layer module.
实施例四、  Embodiment 4
本发明实施例提供一种提高头压缩性能的方法,本实施例与上述实施例相 似, 不同之处在于, 本实施例中表征无线信道质量的参数不是 CINR之类, 而 的质量。  The embodiment of the present invention provides a method for improving header compression performance. This embodiment is similar to the foregoing embodiment, except that the parameter that characterizes the quality of the radio channel in this embodiment is not CINR or the like.
通常, 当用户端设备入网时, 与网络侧协商一些参数, 该协商可以通过 SBC、 DSA/DSC、 REG等信令完成。 协商的参数通常包括: 信道质量好时出错 率 (或者正确率) 的门限值 XI , 信道质量差时出错率 (或者正确率) 的门限 值 Yl、 信道质量检测周期 Τ。 参数 XI、 Υ1、 Τ的具体取值也可以认为是用户端 设备中预先设置。  Generally, when the user equipment enters the network, some parameters are negotiated with the network side, and the negotiation can be completed through signaling such as SBC, DSA/DSC, and REG. The parameters negotiated usually include: threshold value of error rate (or correct rate) when channel quality is good XI, threshold value Yl of error rate (or correct rate) when channel quality is poor, channel quality detection period Τ. The specific values of parameters XI, Υ1, and Τ can also be considered as presets in the user equipment.
下面对本实施例提供的方法说明, 如图 5所示, 该方法包括:  The following provides a description of the method provided in this embodiment. As shown in FIG. 5, the method includes:
步骤 K1 : 接收接收端发送的 NACK或者 ACK信号其中任一项, 其中, 该 接收端中包括有解压缩端; 其中, 对于釆用 ARQ技术传输的技术方案,接收端在接受到数据后,会对 数据包进行校验,根据校验成功则反馈 ACK信号, 校验失败则反馈 NACK信号 给发送端; 对于釆用 HARQ技术的技术方案,接收端收到数据后,对数据包进行 解码,解码成功反馈 ACK,解码失败反馈 NACK信号至发送端。 Step K1: receiving any one of a NACK or an ACK signal sent by the receiving end, where the receiving end includes a decompressing end; For the technical solution of transmitting by ARQ technology, after receiving the data, the receiving end will check the data packet, and if the verification succeeds, the ACK signal is fed back, and if the verification fails, the NACK signal is fed back to the transmitting end; With the technical solution of the HARQ technology, after receiving the data, the receiving end decodes the data packet, and the decoding succeeds in feeding back the ACK, and the decoding failure feeds back the NACK signal to the transmitting end.
步骤 K2: 根据接收到的 NACK或者 ACK信号其中任一项, 获取传输数据 的正确率或者出错率其中任一项;  Step K2: Acquire any one of the correct rate or the error rate of the transmitted data according to any one of the received NACK or ACK signals;
其中, 对于步骤 K2的具体说明先以出错率为例做说明, 获取出错率的方 法可以是:  For the specific description of step K2, the error rate is first described as an example. The method for obtaining the error rate may be:
当釆用 ARQ技术时, 发送端在规定的时间 T内对 NACK信号进行计数, 并 计算反馈为 NACK信号的、 已发送的块序列号( BSN, Block Sequence Number ) 数目, 占在时间 T内发送的所有 BSN数目的比率。 其中, 块(Block ) 为 ARQ 技术中传输的最小颗粒。  When the ARQ technology is used, the transmitting end counts the NACK signal within a predetermined time T, and calculates the number of transmitted block sequence numbers (BSN, Block Sequence Number) that are fed back to the NACK signal, and transmits in the time T. The ratio of the number of all BSNs. Among them, Block is the smallest particle transmitted in ARQ technology.
当釆用 HARQ技术时, 发送端在规定的时间 T内对 NACK信号进行计数, 并计算反馈为 NACK信号的、 已发送的 HARQ包数目, 占在时间 T内发送的所 有 HARQ包数目的比率。 其中, HARQ包为 HARQ技术中传输的最小颗粒。  When HARQ technology is used, the transmitting end counts the NACK signal within a prescribed time T, and calculates the ratio of the number of transmitted HARQ packets that are fed back to the NACK signal, and the ratio of the number of all HARQ packets transmitted within the time T. Among them, the HARQ packet is the smallest particle transmitted in the HARQ technology.
上述是获取出错率的具体操作方法,可以毫无疑问的推导出获取正确率的 操作方法。  The above is a specific operation method for obtaining an error rate, and it is possible to undoubtedly derive an operation method for obtaining a correct rate.
步骤 K3: 根据获取的传输数据的正确率或者出错率其中任一项, 和预置 的信息, 调整滑动窗口宽度;  Step K3: adjusting the sliding window width according to any one of the correct rate or the error rate of the acquired transmission data, and the preset information;
其中, 对于步骤 K3的具体说明可以参考实施例二中关于步骤 H2的说明, 其中, 步骤 K3中的正确率或者出错率相当于实施例二中参数 CINR的取值, 预 置的信息中的 XI、 Y1和 T, 与实施例二中的 X、 Y和 T的作用对于相同, 且调整 的窗口的宽带可以是 ml、 nl ; 对于有解压缩端反馈的情况, 则解压缩的正确 率的判断依据可以是 Z1 , 具体作用于实施例二中的作用相同, 因此, 可以显而 易见的可以得出对调整滑动窗口宽度的具体操作过程。 此处不再重述。  For the specific description of the step K3, reference may be made to the description of the step H2 in the second embodiment, wherein the correct rate or the error rate in the step K3 is equivalent to the value of the parameter CINR in the second embodiment, and the XI in the preset information. , Y1 and T, and the effects of X, Y and T in the second embodiment are the same, and the width of the adjusted window may be ml, nl; for the case of feedback by the decompression end, the determination of the correct rate of decompression The effect can be the same as that of the second embodiment, so that it is obvious that the specific operation process for adjusting the width of the sliding window can be obtained. It will not be repeated here.
步骤 K4: 与实施例二中步骤 H3相似, 根据调整后的换的窗口宽度, 对数 据包的报头进行压缩将压缩后的数据包发送给解压缩端。  Step K4: Similar to step H3 in the second embodiment, according to the adjusted window width, the header of the data packet is compressed, and the compressed data packet is sent to the decompressing end.
其中, 步骤 K4的详细说明可以参考实施例二中的说明。 还需要说明的是, 不同于上述实施例一、 二、 三, 本实施例中物理层模块 只是负责接收和发生数据, 不具有判断的功能,在本实施例中包括媒体接入控 制 (MAC, Media Access Control )模块, 在该模块中执行上述步骤 K2; MAC 模块将获取的正确率或者出错率发送给压缩器, 由压缩器中执行步骤 K3。 For a detailed description of step K4, reference may be made to the description in the second embodiment. It should be noted that, unlike the foregoing Embodiments 1, 2, and 3, the physical layer module in this embodiment is only responsible for receiving and generating data, and has no function of judging. In this embodiment, the medium access control (MAC, The Media Access Control module executes the above step K2 in the module; the MAC module sends the acquired correct rate or error rate to the compressor, and the compressor executes step K3.
通过以上对本发明实施例提供的一种提高头压缩性能的方法的说明,用传 输数据的正确率或者出错率其中任一项, 来反映无线信道质量状况, 进而调整 滑动窗口宽度, 根据调整后的滑动窗口宽度, 对数据包的报头进行压缩, 将压 缩后的数据包发送给解压缩端,使得压缩端可以根据无线信道质量,调整滑动 窗口宽度后, 进行压缩, 提高传输效率, 节约了无线信道带宽资源, 同时, 提 高了解压缩端的正确解压能力。 实施例五、  Through the description of the method for improving the head compression performance provided by the embodiment of the present invention, the quality of the wireless channel is reflected by any one of the correct rate or the error rate of the transmitted data, and then the sliding window width is adjusted according to the adjusted Sliding the window width, compressing the header of the data packet, and sending the compressed data packet to the decompressing end, so that the compression end can adjust the sliding window width according to the quality of the wireless channel, compress the transmission, improve the transmission efficiency, and save the wireless channel. Bandwidth resources, at the same time, improve the ability to understand the correct decompression of the compression side. Embodiment 5
本发明实施例提供一种压缩装置, 参见图 6所示, 该压缩装置包括: 获取 单元 10、 调整单元 20、 压缩单元 30和发送单元 40。  The embodiment of the present invention provides a compression device. As shown in FIG. 6, the compression device includes: an acquisition unit 10, an adjustment unit 20, a compression unit 30, and a transmission unit 40.
其中, 获取单元 10, 用于获取无线信道质量信息;  The obtaining unit 10 is configured to acquire wireless channel quality information.
调整单元 20, 用于根据获取的无线信道质量信息和预置的信息, 调整压缩 端滑动窗口宽度;  The adjusting unit 20 is configured to adjust a sliding window width of the compression end according to the obtained wireless channel quality information and preset information;
压缩单元 30, 用于根据调整后的滑动窗口宽度, 对 IP信头进行压缩; 发送单元 40, 用于将压缩后的 IP信头发送给解压缩端。  The compression unit 30 is configured to compress the IP header according to the adjusted sliding window width, and the sending unit 40 is configured to send the compressed IP letter to the decompressing end.
其中, 获取单元 10中获取的无线信道质量信息可以是 CINR、 SNR、 RSSL 或者是釆用 ARQ、 HARQ技术时传输数据的正确率(或者错误率)其中任一项 来表示。 因此, 获取单元 10可以是具体用来获取 CINR、 SNR、 RSSL 或者是 釆用 ARQ、 HARQ技术传输数据的正确率(或者错误率)其中任一项的值。  The radio channel quality information acquired by the obtaining unit 10 may be CINR, SNR, RSSL or any one of the correct rate (or error rate) of the data transmitted when the ARQ and HARQ technologies are used. Therefore, the obtaining unit 10 may be a value specifically used to acquire CINR, SNR, RSSL or any one of the correct rate (or error rate) of transmitting data by using the ARQ and HARQ technologies.
可选的, 对于如实施例三中所说明的方法, 相应的, 获取单元 10还可以包 括: 第一获取单元 101和统计单元 102。  Optionally, for the method as described in the third embodiment, the obtaining unit 10 may further include: a first obtaining unit 101 and a statistic unit 102.
其中, 第一获取单元 101 , 用于在规定的时间 T内获取多于一次的 CINR 、 The first obtaining unit 101 is configured to acquire more than one CINR in a predetermined time T,
SNR、 RSSI其中任一项的值; The value of any of SNR, RSSI;
统计单元 102, 用于统计在时间 T内 CINR 、 SNR、 RSSI其中任一项的值落 入预置的各区间的个数; 则所述调整单元 20, 具体用于根据统计结果和预置的信息,调整压缩端滑 动窗口宽度。 The statistic unit 102 is configured to count, in the time T, the value of any one of the CINR, the SNR, and the RSSI falling within the preset intervals; The adjusting unit 20 is specifically configured to adjust the sliding window width of the compression end according to the statistical result and the preset information.
可选的, 对于如实施例四中所说明的方法, 相应的, 该压缩装置还可以包 括: 第一接收单元 50, 用于接收解压缩端发送的 NACK或者 ACK信号其中任一 项  Optionally, for the method as described in Embodiment 4, the compression device may further include: a first receiving unit 50, configured to receive any one of a NACK or an ACK signal sent by the decompressing end.
则获取单元 10, 具体用于根据接收到的 NACK或者 ACK信号其中任一项, 获取传输数据的正确率或者出错率其中任一项; 其中, 上述传输数据的正确率 或者出错率为无线信道质量信息。  The obtaining unit 10 is specifically configured to obtain any one of a correct rate or an error rate of the transmission data according to any one of the received NACK or ACK signals; wherein, the accuracy or error rate of the foregoing transmission data is a radio channel quality. information.
可选的, 对于如实施例二中所说明的方法, 相应的, 调整单元 20具体用于 当获取的 CINR值小于 X时,根据预置的信息,将压缩端滑动窗口宽度增大至 n; 当获取的 CINR值大于等于 X、 且小于等于 Y时, 保持滑动窗口宽度不变; 当获 取的 CINR值大于 Y时, 根据预置的信息, 将压缩端滑动窗口宽度减小至 m。  Optionally, for the method as described in the second embodiment, correspondingly, the adjusting unit 20 is specifically configured to: when the acquired CINR value is less than X, according to preset information, increase the compression end sliding window width to n; When the acquired CINR value is greater than or equal to X and less than or equal to Y, the sliding window width is kept unchanged; when the acquired CINR value is greater than Y, the compression end sliding window width is reduced to m according to preset information.
上述调整单元 20在执行调整时没有考虑解压缩端的反馈,如果该压缩装置 还包括: 第二接收单元 60, 用于接收解压缩端的反馈信息;  The adjusting unit 20 does not consider the feedback of the decompressing end when performing the adjustment, and if the compressing apparatus further includes: a second receiving unit 60, configured to receive feedback information of the decompressing end;
则上述调整单元 20还可以具体包括: 当获取的 CINR值小于 X时,且解压缩 的正确率小于等于 Z,根据预置的信息, 将压缩端滑动窗口宽度增大至 n; 当获 取的 CINR值小于 X时, 且解压缩的正确率大于 Z, 则保持滑动窗口宽度不变; 当获取的 CINR值大于等于 X、 且小于等于 Y时, 保持滑动窗口宽度不变; 当获 取的 CINR值大于 Y时, 且解压缩的正确率小于等于 Z, 则保持滑动窗口宽度不 变; 当获取的 CINR值大于 Y时,且解压缩的正确率大于 Z, 则根据预置的信息, 压缩端滑动窗口宽度减小至 m。  The adjusting unit 20 may further include: when the acquired CINR value is less than X, and the correct rate of decompression is less than or equal to Z, according to preset information, increasing the sliding window width of the compressed end to n; when acquiring the CINR When the value is less than X, and the correct rate of decompression is greater than Z, the sliding window width is kept unchanged; when the acquired CINR value is greater than or equal to X, and less than or equal to Y, the sliding window width is kept unchanged; when the acquired CINR value is greater than When Y, and the correct rate of decompression is less than or equal to Z, the sliding window width is kept unchanged; when the acquired CINR value is greater than Y, and the decompression correct rate is greater than Z, the compression end sliding window is based on the preset information. The width is reduced to m.
其中, 上述 CINR值可以有 SNR值、 RSSI值、 或者釆用 ARQ、 HARQ技术 时传输数据的正确率值其中任意一项替换。  The CINR value may be replaced by any one of an SNR value, an RSSI value, or a correct rate value of the data transmitted by the ARQ or HARQ technology.
可选的, 对于如实施例二中所说明的方法, 相应的, 压缩单元 30还可以包 括: 获取最低有效位数单元 301和第一压缩单元 302。  Optionally, for the method as described in Embodiment 2, correspondingly, the compression unit 30 may further include: obtaining a least significant digit unit 301 and a first compression unit 302.
其中, 获取最低有效位数单元 301 , 用于根据对滑动窗口宽度的调整结果, 获取最低有效位数 k';  The obtaining the least significant digit unit 301 is configured to obtain the least significant digit k′ according to the adjustment result of the sliding window width;
第一压缩单元 302, 用于根据获取的最低有效位数 k,和当前的包格式类型 传输的比特数据 kl , 对数据进行压缩。 a first compression unit 302, configured to obtain the least significant number of bits k, and the current packet format type The transmitted bit data kl compresses the data.
需要说明的是, 第一压缩单元 302中具体可以包括:  It should be noted that the first compression unit 302 may specifically include:
如果压缩端滑动窗口宽度增大至 n, 获取的最低有效位数为 k,时, 且判断 出当前的包格式类型传输的比特数据 kl大于 k',则釆用当前的包格式类型传输 数据;  If the width of the sliding window of the compressed end is increased to n, and the least significant digit obtained is k, and it is determined that the bit data k1 transmitted by the current packet format type is greater than k', the data is transmitted by using the current packet format type;
如果压缩端滑动窗口宽度增大至 n, 获取的最低有效位数为 k,时, 且判断 出当前的包格式类型传输的比特数据 kl小于 k', 则选择传输的比特数目大于 k' 的包格式类型传输数据;  If the width of the sliding window of the compression end is increased to n, and the least significant digit obtained is k, and it is judged that the bit data k1 of the current packet format type transmission is smaller than k', then the packet whose number of transmitted bits is greater than k' is selected. Format type transfer data;
如果压缩端滑动窗口宽度减小至 m, 获取最低有效位数为 k"时, 则根据原 包格式类型传输数据。 当然, 也可以根据新的包格式类型进行传输, 即选择传 输的比特数目大于等于 k",且比原包格式类型传输的比特数目 kl小的包格式类 型。  If the sliding width of the compressed end window is reduced to m, and the least significant digit is obtained as k", the data is transmitted according to the original packet format type. Of course, the transmission may also be performed according to the new packet format type, that is, the number of bits selected for transmission is greater than A packet format type equal to k" and smaller than the number of bits k1 transmitted by the original packet format type.
通过以上对本发明实施例提供的一种压缩装置的说明,根据获取的无线信 道质量信息, 调整滑动窗口宽度, 根据调整后的滑动窗口宽度, 对数据包的报 头进行压缩,将压缩后的数据包发送给解压缩端,使得压缩端可以根据无线信 道质量, 调整滑动窗口宽度后, 进行压缩, 提高传输效率, 节约了无线信道带 宽资源, 同时, 提高了解压缩端的正确解压能力。 本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: ROM、 RAM, 磁盘或光盘等。  Through the above description of a compression apparatus provided by an embodiment of the present invention, the sliding window width is adjusted according to the acquired wireless channel quality information, and the header of the data packet is compressed according to the adjusted sliding window width, and the compressed data packet is compressed. It is sent to the decompression end, so that the compression end can adjust the sliding window width according to the quality of the wireless channel, compress, improve the transmission efficiency, save the bandwidth of the wireless channel, and improve the correct decompression capability of the compression end. A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD, etc.
以上对本发明实施例所提供的提高头压缩性能的方法以及压缩装置进行 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于 本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均 会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。  The above description of the method for improving head compression performance and the compression device provided by the embodiment of the present invention is only for helping to understand the method of the present invention and its core idea; meanwhile, for those skilled in the art, according to the present invention The scope of the present invention is not limited by the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种提高头压缩性能的方法, 其特征在于, 包括:  A method for improving head compression performance, comprising:
获取无线信道质量信息;  Obtaining wireless channel quality information;
根据所述获取的无线信道质量信息和预置的信息, 调整滑动窗口宽度; 根据调整后的滑动窗口宽度,对数据包的报头进行压缩, 将压缩后的数据 包发送给解压缩端。  And adjusting the sliding window width according to the obtained wireless channel quality information and preset information; compressing the header of the data packet according to the adjusted sliding window width, and transmitting the compressed data packet to the decompressing end.
2、 根据权利要求 1所述的方法, 其特征在于, 所述获取无线信道质量信息 具体包括:  2. The method according to claim 1, wherein the acquiring the wireless channel quality information specifically includes:
获取载波与干扰噪声之比 CINR、 信噪比 SNR、 接收信号强度指示 RSSI其 中任意一项的参数值;  Obtaining carrier-to-interference noise ratio CINR, signal-to-noise ratio SNR, and received signal strength indicating parameter values of any one of RSSI;
所述根据所述获取的无线信道质量信息和预置的信息,调整滑动窗口宽度 具体包括: 根据获取的 CINR、 SNR或者 RSSI其中任意一项的参数值和预置的 信息, 调整所述滑动窗口宽度。  The adjusting the sliding window width according to the obtained wireless channel quality information and the preset information specifically includes: adjusting the sliding window according to the parameter value of any one of the acquired CINR, SNR, or RSSI and preset information. width.
3、根据权利要求 2所述的方法, 其特征在于, 所述根据获取的 CINR、 SNR 或者 RSSI其中任意一项的参数值和预置的信息,调整压缩端滑动窗口宽度具体 包括:  The method according to claim 2, wherein the adjusting the sliding width of the compressed end according to the parameter value of any one of the acquired CINR, SNR or RSSI and the preset information comprises:
当所述获取的 CINR、 SNR或者 RSSI其中任意一项的参数值小于预置的值 X时, 将滑动窗口宽度增大到预置的宽度 n;  When the parameter value of any one of the acquired CINR, SNR or RSSI is less than the preset value X, the sliding window width is increased to a preset width n;
当所述获取的 CINR、 SNR或者 RSSI其中任意一项的参数值大于等于所述 预置的值 X、 且小于等于所述预置的值 Y时, 保持滑动窗口宽度不变;  When the parameter value of any one of the acquired CINR, SNR or RSSI is greater than or equal to the preset value X and less than or equal to the preset value Y, the sliding window width is kept unchanged;
当所述获取的 CINR、 SNR或者 RSSI其中任意一项的参数值大于所述 Y, 将滑动窗口宽度减小至预置的宽度 m。  When the parameter value of any one of the acquired CINR, SNR or RSSI is greater than the Y, the sliding window width is reduced to a preset width m.
4、 根据权利要求 2所述的方法, 其特征在于, 所述根据获取的无线信道质 量信息和预置的信息, 调整滑动窗口宽度之前, 所述方法还包括:  The method according to claim 2, wherein the method further comprises: before adjusting the sliding window width according to the acquired wireless channel quality information and the preset information, the method further includes:
接收解压缩端发送的所述反馈信息,所述反馈信息包括所述解压缩端对数 据包解压的 NACK或者 ACK反馈;  And receiving the feedback information sent by the decompressing end, where the feedback information includes a NACK or ACK feedback that is decompressed by the decompressing end to the data packet;
根据所述反馈信息, 获取解压缩的正确率;  Obtaining a correct rate of decompression according to the feedback information;
则所述根据获取的 CINR、 SNR或者 RSSI其中任意一项的参数值和预置的 信息, 调整压缩端滑动窗口宽度具体包括: Then, according to the parameter value and preset of any one of the acquired CINR, SNR or RSSI Information, adjust the width of the sliding window of the compression end specifically includes:
当所述获取的 CINR、 SNR或者 RSSI其中任意一项的参数值小于预置的值 X时, 且解压缩的正确率小于等于预置的值 Z, 将滑动窗口宽度增大到预置的 宽度 n;  When the parameter value of any one of the acquired CINR, SNR or RSSI is less than the preset value X, and the correct rate of decompression is less than or equal to the preset value Z, the sliding window width is increased to a preset width. n;
当所述获取的 CINR、 SNR或者 RSSI其中任意一项的参数值小于预置的值 When the parameter value of any one of the acquired CINR, SNR or RSSI is less than a preset value
X时, 且解压缩的正确率大于预置的值 Z, 保持当前的滑动窗口宽度; X, and the correct rate of decompression is greater than the preset value Z, maintaining the current sliding window width;
当所述获取的 CINR、 SNR或者 RSSI其中任意一项的参数值大于等于所述 预置的值 X、 且小于等于所述预置的值 Y时, 保持当前的滑动窗口宽度;  And maintaining a current sliding window width when a parameter value of any one of the acquired CINR, SNR, or RSSI is greater than or equal to the preset value X and less than or equal to the preset value Y;
当所述获取的 CINR、 SNR或者 RSSI其中任意一项的参数值大于所述 Y, 且解压缩的正确率大于预置的值 Z, 将滑动窗口宽度减小至预置的宽度 m; 当所述获取的 CINR、 SNR或者 RSSI其中任意一项的参数值大于所述 Y, 且解压缩的正确率小于等于预置的值 Z, 保持当前的滑动窗口宽度。  When the parameter value of any one of the acquired CINR, SNR or RSSI is greater than the Y, and the correct rate of decompression is greater than the preset value Z, the sliding window width is reduced to a preset width m; The parameter value of any one of the obtained CINR, SNR or RSSI is greater than the Y, and the correct rate of decompression is less than or equal to the preset value Z, and the current sliding window width is maintained.
5、 根据权利要求 1所述的方法, 其特征在于, 所述获取无线信道质量信息 具体包括:  The method according to claim 1, wherein the acquiring the wireless channel quality information specifically includes:
在预置的时间 T内多于一次的获取 CINR、 SNR或者 RSSI其中任意一项的参 数值;  Acquiring the parameter value of any one of CINR, SNR or RSSI more than once in the preset time T;
统计在所述预置的时间 T内 CINR、 SNR或者 RSSI其中任意一项的参数值, 落入预置的各区间的个数, 所述预置的各区间表示无线信道质量信息;  Counting, in the preset time T, a parameter value of any one of CINR, SNR or RSSI, which falls within a preset number of intervals, and the preset intervals represent wireless channel quality information;
则所述根据所述获取的无线信道质量信息和预置的信息,调整滑动窗口宽 度具体包括:根据落入的所述参数值个数最多的区间和预置的与所述落入的参 数值个数最多的区间所对应的滑动窗口宽度的信息, 调整滑动窗口宽度。  And the adjusting the sliding window width according to the obtained wireless channel quality information and the preset information, specifically, including: a section that has the largest number of the parameter values that falls in and a preset parameter value that falls within the preset Adjust the width of the sliding window by adjusting the width of the sliding window corresponding to the interval with the largest number.
6、 根据权利要求 5所述的方法, 其特征在于, 所述根据获取的无线信道质 量信息和预置的信息, 调整滑动窗口宽度之前, 所述方法还包括:  The method according to claim 5, wherein the method further comprises: before adjusting the sliding window width according to the acquired wireless channel quality information and the preset information, the method further includes:
接收解压缩端发送的所述反馈信息,所述反馈信息包括所述解压缩端对数 据包解压的 NACK或者 ACK反馈;  And receiving the feedback information sent by the decompressing end, where the feedback information includes a NACK or ACK feedback that is decompressed by the decompressing end to the data packet;
根据所述反馈信息, 获取解压缩的正确率;  Obtaining a correct rate of decompression according to the feedback information;
则所述根据落入的所述参数值个数最多的区间和预置的与所述落入的参 数值个数最多的区间所对应的滑动窗口宽度的信息,调整滑动窗口宽度, 具体 包括: And adjusting the sliding window width according to the information of the sliding window width corresponding to the interval in which the parameter value is the largest and the preset interval corresponding to the parameter value that falls in the maximum number of parameters. Includes:
当解压缩的正确率大于预置的值 Z, 且当前获取的落入参数值个数最多的 区间中的数值大于上一次获取的落入参数值个数最多的区间中的数值,则将滑 动窗口宽度调整到与所述落入的所述参数值个数最多的区间所对应的滑动窗 口宽度;  When the correct rate of decompression is greater than the preset value Z, and the value of the currently acquired interval that has the largest number of parameter values is greater than the value of the last time the number of parameters that fall into the parameter value is the most, the sliding will be performed. The window width is adjusted to a sliding window width corresponding to the interval in which the number of the parameter values that fall into the frame is the largest;
当解压缩的正确率小于等于预置的值 Z, 且当前获取的落入参数值个数最 多的区间中的数值小于上一次获取的落入参数值个数最多的区间中的数值,则 将滑动窗口宽度调整到与所述落入的所述参数值个数最多的区间所对应的滑 动窗口宽度;  When the correct rate of decompression is less than or equal to the preset value Z, and the value of the currently acquired interval that has the largest number of parameter values is smaller than the value of the last time the number of parameters that fall into the parameter value is the most, Adjusting a width of the sliding window to a sliding window width corresponding to the interval in which the number of the parameter values falling into the frame is the largest;
当解压缩的正确率大于预置的值 Z, 且当前获取的落入参数值个数最多的 区间中的数值小于上一次获取的落入参数值个数最多的区间中的数值,则保持 当前的滑动窗口宽度;  When the correct rate of decompression is greater than the preset value Z, and the value of the currently acquired interval that falls within the maximum number of parameter values is smaller than the value of the interval in which the number of the last acquired parameter values is the largest, the current value is maintained. Sliding window width;
当解压缩的正确率小于等于预置的值 Z, 且当前获取的落入参数值个数最 多的区间中的数值大于上一次获取的落入参数值个数最多的区间中的数值,则 保持当前的滑动窗口宽度。  When the correct rate of decompression is less than or equal to the preset value Z, and the value of the currently acquired interval that has the largest number of parameter values is greater than the value of the interval in which the number of the last acquired parameter values is the largest, then the value is maintained. The current sliding window width.
7、 根据权利要求 1所述的方法, 其特征在于, 当釆用自动重传请求 (ARQ) 或者混合自动重传请求 (HARQ)技术进行通信时, 所述获取无线信道质量信息 具体包括:  The method according to claim 1, wherein when the communication is performed by using an automatic repeat request (ARQ) or a hybrid automatic repeat request (HARQ), the obtaining the wireless channel quality information specifically includes:
接收接收端发送的 NACK或者 ACK信号其中任一项,所述接收端包括解压 缩端;  Receiving any one of a NACK or an ACK signal sent by the receiving end, where the receiving end includes a decompression end;
根据接收到的所述 NACK或者 ACK信号其中任一项,获取传输数据的正确 率或者出错率其中任一项,所述正确率或者出错率其中任一项表示无线信道质 量;  Obtaining any one of a correct rate or an error rate of the transmission data according to any one of the received NACK or ACK signals, wherein any one of the correct rate or the error rate indicates a quality of the wireless channel;
则所述根据所述获取的无线信道质量信息和预置的信息,调整滑动窗口宽 度具体包括:根据所述获取的传输数据的正确率或者出错率其中任一项和预置 的信息, 调整滑动窗口宽度。  The adjusting the sliding window width according to the obtained wireless channel quality information and the preset information specifically includes: adjusting the sliding according to any one of the correct rate or the error rate of the acquired transmission data and the preset information. Window width.
8、 根据权利要求 7所述的方法, 其特征在于, 所述根据获取的传输数据的 正确率或者出错率其中任一项和预置的信息, 调整滑动窗口宽度, 具体包括: 当所述传输数据的正确率小于预置的值 XI时, 将滑动窗口宽度增大到预 置的宽度 nl ; The method according to claim 7, wherein the adjusting the sliding window width according to any one of the correct rate or the error rate of the acquired transmission data and the preset information comprises: When the correct rate of the transmitted data is less than the preset value XI, the sliding window width is increased to a preset width nl;
当所述传输数据的正确率大于等于所述预置的值 XI、 且小于等于所述预 置的值 Y1时, 保持滑动窗口宽度不变;  When the correct rate of the transmission data is greater than or equal to the preset value XI and less than or equal to the preset value Y1, the sliding window width is kept unchanged;
当所述传输数据的正确率大于所述 Y1 , 将滑动窗口宽度减小至预置的宽 度 ml。  When the correct rate of the transmitted data is greater than the Y1, the sliding window width is reduced to a preset width ml.
9、 根据权利要求 7或者 8任一项所述的方法, 其特征在于, 所述根据获取 的无线信道质量信息和预置的信息,调整滑动窗口宽度之前,所述方法还包括: 接收解压缩端发送的所述反馈信息,所述反馈信息包括所述解压缩端对数 据包解压的 NACK或者 ACK反馈;  The method according to any one of claims 7 or 8, wherein the method further comprises: receiving decompression before adjusting the sliding window width according to the acquired wireless channel quality information and preset information. The feedback information sent by the terminal, where the feedback information includes NACK or ACK feedback that the decompression end decompresses the data packet;
根据所述反馈信息, 获取解压缩的正确率;  Obtaining a correct rate of decompression according to the feedback information;
则所述根据获取的正确率或者出错率其中任一项和预置的信息 ,调整滑动 窗口宽度, 具体包括:  Then, according to any one of the obtained correct rate or the error rate and the preset information, adjusting the width of the sliding window includes:
当所述传输数据的正确率小于预置的值 XI时, 且解压缩的正确率小于等 于预置的值 Z1 , 将滑动窗口宽度增大到预置的宽度 nl ;  When the correct rate of the transmitted data is less than the preset value XI, and the correct rate of decompression is less than the preset value Z1, the sliding window width is increased to a preset width nl;
当所述传输数据的正确率小于预置的值 XI时, 且解压缩的正确率大于预 置的值 Z1 , 保持当前的滑动窗口宽度;  When the correct rate of the transmitted data is less than the preset value XI, and the correct rate of decompression is greater than the preset value Z1, the current sliding window width is maintained;
当所述传输数据的正确率大于等于所述预置的值 XI、 且小于等于所述预 置的值 Y1时, 保持当前的滑动窗口宽度;  When the correct rate of the transmission data is greater than or equal to the preset value XI and less than or equal to the preset value Y1, the current sliding window width is maintained;
当所述传输数据的正确率大于所述 Y1 , 且解压缩的正确率大于预置的值 When the correct rate of the transmitted data is greater than the Y1, and the correct rate of decompression is greater than a preset value
Z1 , 将滑动窗口宽度减小至预置的宽度 ml ; Z1, reduce the sliding window width to the preset width ml;
当所述传输数据的正确率大于所述 Y1 , 且解压缩的正确率小于等于预置 的值 Z1 , 保持当前的滑动窗口宽度。  When the correct rate of the transmitted data is greater than the Y1, and the correct rate of decompression is less than or equal to the preset value Z1, the current sliding window width is maintained.
10、 一种压缩装置, 其特征在于, 包括: 获取单元、 调整单元、 压缩单元 和发送单元,  A compression device, comprising: an acquisition unit, an adjustment unit, a compression unit, and a transmission unit,
所述获取单元, 用于获取无线信道质量信息;  The acquiring unit is configured to acquire wireless channel quality information;
所述调整单元, 用于根据所述获取的无线信道质量信息和预置的信息, 调 整滑动窗口宽度; 所述压缩单元, 用于根据调整后的滑动窗口宽度,对数据包的报头进行压 缩; The adjusting unit is configured to adjust a sliding window width according to the acquired wireless channel quality information and preset information; The compression unit is configured to compress a header of the data packet according to the adjusted sliding window width;
所述发送单元, 用于将压缩后的数据包发送给解压缩端。  The sending unit is configured to send the compressed data packet to the decompressing end.
11、 根据权利要求 10所述的压缩装置, 其特征在于, 所述装置还包括: 第 二接收单元, 用于接收解压缩端发送的所述反馈信息;  The compression device according to claim 10, wherein the device further comprises: a second receiving unit, configured to receive the feedback information sent by the decompressing end;
则所述调整单元具体用于根据所述获取的无线信道质量信息、预置的信息 和所述接收到的解压缩端的反馈信息, 调整滑动窗口宽度。  The adjusting unit is specifically configured to adjust the sliding window width according to the acquired wireless channel quality information, preset information, and feedback information of the received decompressing end.
12、 根据权利要求 10所述的压缩装置, 其特征在于, 所述获取单元, 具体 用于获取载波与干扰噪声之比 CINR、 信噪比 SNR、 接收信号强度指示 RSSI其 中任意一项的参数值;  The compression device according to claim 10, wherein the acquiring unit is specifically configured to acquire a parameter value of a carrier-to-interference noise ratio CINR, a signal-to-noise ratio SNR, and a received signal strength indicator RSSI. ;
则所述调整单元, 具体用于根据获取的 CINR、 SNR或者 RSSI其中任意一 项的参数值和预置的信息, 调整压缩端滑动窗口宽度。  The adjusting unit is specifically configured to adjust the sliding width of the compressed end according to the parameter value of any one of the acquired CINR, SNR, or RSSI and the preset information.
13、 根据权利要求 12所述的压缩装置, 其特征在于, 所述调整单元, 具体 用于当所述获取的 CINR、 SNR或者 RSSI其中任意一项的参数值小于预置的值 X时, 根据预置的信息, 将滑动窗口宽度增大到预置的宽度 n; 当所述获取的 CINR、 SNR或者 RSSI其中任意一项的参数值大于等于所述预置的值 X、 且小 于等于所述预置的值 Y时, 保持滑动窗口宽度不变; 当所述获取的 CINR、 SNR 或者 RSSI其中任意一项的参数值大于所述 Y,将滑动窗口宽度减小至预置的宽 度 m。  The compression device according to claim 12, wherein the adjusting unit is specifically configured to: when a parameter value of any one of the acquired CINR, SNR, or RSSI is less than a preset value X, according to Pre-set information, increasing the width of the sliding window to a preset width n; when the parameter value of any one of the acquired CINR, SNR or RSSI is greater than or equal to the preset value X, and less than or equal to the When the preset value Y is set, the sliding window width is kept unchanged; when the parameter value of any one of the acquired CINR, SNR or RSSI is greater than the Y, the sliding window width is reduced to the preset width m.
14、 根据权利要求 10所述的压缩装置, 其特征在于, 当釆用自动重传请求 14. The compression device according to claim 10, wherein when an automatic retransmission request is used
(ARQ)或者混合自动重传请求 (HARQ)技术进行通信时, 所述装置还包括: 第一接收单元, 用于接收接收端发送的 NACK或者 ACK信号其中任一项, 所述接收端包括解压缩端; When the (ARQ) or hybrid automatic repeat request (HARQ) technology is used for communication, the apparatus further includes: a first receiving unit, configured to receive any one of a NACK or an ACK signal sent by the receiving end, where the receiving end includes a solution Compressed end
则所述获取单元,具体用于根据接收到所述 NACK或者 ACK信号其中任一 项, 获取传输数据的正确率或者出错率其中任一项, 所述正确率或者出错率其 中任一项表示无线信道质量信;;  And the acquiring unit is configured to obtain any one of a correct rate or an error rate of the transmission data according to any one of the received NACK or ACK signals, where any one of the correct rate or the error rate indicates wireless Channel quality signal;
则所述调整单元, 具体用于根据所述获取的正确率或者出错率其中任一 项、 和预置的信息, 调整滑动窗口宽度。 The adjusting unit is specifically configured to adjust the sliding window width according to any one of the acquired correct rate or the error rate and the preset information.
15、 根据权利要求 10所述的压缩装置, 其特征在于, 所述获取单元包括: 第一获取单元和统计单元; The compression device according to claim 10, wherein the acquisition unit comprises: a first acquisition unit and a statistics unit;
所述第一获取单元, 用于在预置的时间 T内多于一次的获取 CINR、 SNR或 者 RSSI其中任意一项的参数值;  The first acquiring unit is configured to acquire a parameter value of any one of CINR, SNR or RSSI more than one time in a preset time T;
所述统计单元,用于统计在所述预置的时间 T内 CINR、 SNR或者 RSSI其中 任意一项的参数值, 落入预置的各区间的个数, 所述预置的各区间表示无线信 道质量信息;  The statistic unit is configured to collect a parameter value of any one of CINR, SNR, or RSSI in the preset time T, and the number of each preset interval falls, and the preset intervals represent wireless Channel quality information;
则所述调整单元, 具体用于根据落入的所述参数值个数最多的区间、和预 置的信息, 调整滑动窗口宽度。  The adjusting unit is specifically configured to adjust the sliding window width according to the interval in which the parameter value is the largest and the preset information.
16、 根据权利要求 10所述的压缩装置, 其特征在于, 所述压缩单元包括: 获取最低有效位数单元和第一压缩单元,  The compression device according to claim 10, wherein the compression unit comprises: acquiring a least significant digit unit and a first compression unit,
所述获取最低有效位数单元, 用于根据所述调整后的滑动窗口宽度, 获取 最低有效位数;  Obtaining a least significant digit unit for obtaining a least significant digit according to the adjusted sliding window width;
所述第一压缩单元, 用于根据获取的有效位数和当前的包格式类型,对数 据进行压缩。  The first compression unit is configured to compress data according to the obtained effective number of bits and the current packet format type.
PCT/CN2009/071313 2009-04-16 2009-04-16 Method and apparatus for improving header compression performance WO2010118579A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200980115080.2A CN102282809B (en) 2009-04-16 2009-04-16 Method and apparatus for improving header compression performance
PCT/CN2009/071313 WO2010118579A1 (en) 2009-04-16 2009-04-16 Method and apparatus for improving header compression performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2009/071313 WO2010118579A1 (en) 2009-04-16 2009-04-16 Method and apparatus for improving header compression performance

Publications (1)

Publication Number Publication Date
WO2010118579A1 true WO2010118579A1 (en) 2010-10-21

Family

ID=42982124

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071313 WO2010118579A1 (en) 2009-04-16 2009-04-16 Method and apparatus for improving header compression performance

Country Status (2)

Country Link
CN (1) CN102282809B (en)
WO (1) WO2010118579A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112671693B (en) * 2019-10-16 2022-06-14 ***通信集团山东有限公司 Video data compression method, device, storage medium and base station

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992671A (en) * 2005-12-28 2007-07-04 上海原动力通信科技有限公司 Method for transmitting IP header compression data packet in the third-generation evolution system
CN101283620A (en) * 2005-10-10 2008-10-08 日本电气株式会社 Header compression optimization method during and after handovers in cellular communication network
CN101364937A (en) * 2007-08-10 2009-02-11 华为技术有限公司 Method and system for keeping robust header compression mechanism communication
US20090080422A1 (en) * 2007-09-21 2009-03-26 Posdata Co., Ltd. Header-compression packet processing method, mobile station, base station, and control station in wireless communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101283620A (en) * 2005-10-10 2008-10-08 日本电气株式会社 Header compression optimization method during and after handovers in cellular communication network
CN1992671A (en) * 2005-12-28 2007-07-04 上海原动力通信科技有限公司 Method for transmitting IP header compression data packet in the third-generation evolution system
CN101364937A (en) * 2007-08-10 2009-02-11 华为技术有限公司 Method and system for keeping robust header compression mechanism communication
US20090080422A1 (en) * 2007-09-21 2009-03-26 Posdata Co., Ltd. Header-compression packet processing method, mobile station, base station, and control station in wireless communication system

Also Published As

Publication number Publication date
CN102282809B (en) 2014-06-11
CN102282809A (en) 2011-12-14

Similar Documents

Publication Publication Date Title
US11082956B2 (en) Scheduling systems and methods for wireless networks
US9544404B2 (en) RoHC optimizations for burst losses
JP5021681B2 (en) Uplink channel performance optimization in wireless communication networks
JP4913150B2 (en) Method and apparatus for supporting voice over IP service over a cellular wireless communication network
JP4755173B2 (en) Method and apparatus for generating a compressed status report updated to indicate data to be received later
KR101114737B1 (en) Method for reporting packet received result in a mobile communication system
JP4829235B2 (en) System and method for increasing the range or bandwidth of a wireless digital communication network
WO2008118051A1 (en) Method for controlling output power in a radio communications network
JP2005006320A (en) Radio communication network, radio communication station, and method of sending data packet
US20180316460A1 (en) Quality of service driven receiver selective hybrid automatic repeat request for point-to-multipoint communication
WO2014205814A1 (en) Data transmission method, apparatus, base station and user equipment
WO2018236647A1 (en) Large media access control service data unit (msdu) delivery
WO2010015546A1 (en) Method and devices for bit rate allocation for point-to-multipoint multimedia communications
CN115051775B (en) Efficient automatic retransmission method in broadband ad hoc network
WO2010118579A1 (en) Method and apparatus for improving header compression performance
JP6807956B2 (en) Methods and equipment for scheduling voice services within a packet domain
WO2021164405A1 (en) Data encoding and decoding methods, and related device and system
JP4847543B2 (en) Method and apparatus for improving media transmission quality using a robust representation of media frames
Feres et al. A Markovian ROHC control mechanism based on transport block link model in LTE networks
KR100480279B1 (en) Apparatus for managing buffer in rlc layer and method therof
GB2461517A (en) Method of managing a transmission mode of a wireless device
TWI577198B (en) Communication systems and methods for controlling communication therein

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980115080.2

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09843213

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09843213

Country of ref document: EP

Kind code of ref document: A1