[go: up one dir, main page]

WO2008052483A1 - Data compression method and apparatus, and automatic repeat request feedback system - Google Patents

Data compression method and apparatus, and automatic repeat request feedback system Download PDF

Info

Publication number
WO2008052483A1
WO2008052483A1 PCT/CN2007/070998 CN2007070998W WO2008052483A1 WO 2008052483 A1 WO2008052483 A1 WO 2008052483A1 CN 2007070998 W CN2007070998 W CN 2007070998W WO 2008052483 A1 WO2008052483 A1 WO 2008052483A1
Authority
WO
WIPO (PCT)
Prior art keywords
compressed
packet
data
check result
error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2007/070998
Other languages
French (fr)
Chinese (zh)
Inventor
Yi Bao
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2008052483A1 publication Critical patent/WO2008052483A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • H04L1/1614Details of the supervisory signal using bitmaps

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data compression method, apparatus, and automatic request retransmission feedback system. Background technique
  • ARQ Automatic Repeat Request
  • FIG. 1 is a schematic diagram showing the working principle of the simplified ARQ mechanism in the prior art.
  • the transmitting end 101 sends the numbered data packet to the receiving end 102, and after receiving the data packet, the receiving end feeds back the error check result to the transmitting end.
  • the two check results are described.
  • the error check result ACK fed back by the receiving end indicates that the data packet with sequence number 1 is correct; for the second feedback 104, the feedback of the feedback at the receiving end is correct.
  • the result NAK indicates that the packet with sequence number 2 is in error and the sender 101 should resend.
  • the implementation of the ARQ mechanism mainly involves error detection of the data packet and feedback of the error test result to the transmitting end. If the number of data packets is very large, the error check result will be directly fed back to the sender without any processing, and the system resources will be excessively occupied, and the feedback overhead is too large.
  • the method compresses the error correction result into a response message, and the response message includes at least one error packet sequence number SN. And at least one field L for indicating the number of consecutive erroneous data packets after the erroneous data packet; wherein, the data packet sequence The number of occupied bits is 12, and the number of occupied bits in the field L is 4.
  • the content of the feedback response message obtained by the compression method is as shown in FIG. 2.
  • SN LENGTH indicates the error packet sequence number
  • L LENGTH indicates how many packets are in error after the corresponding sequence number packet
  • LENGTH indicates how many pairs are present.
  • SN LENGTH and L LENGTH for example, if SN corpse 5, L corpse 10 indicates that packet number 5 is in error, and there are 10 packet errors after packet number 5.
  • Bitmap information (Bitmap) compression method This method compresses the error check result into a response message, which contains the bitmap information and the sequence number of the packet corresponding to the first bit of the bitmap information.
  • the response message obtained by the method includes the following parts: LENGTH, wherein LENGTH plus 1 can obtain the number of bytes of the bitmap; FSN represents the packet number corresponding to the first bit of the Bitmap, and FSN plus bit_position can be The other packet sequence numbers are obtained.
  • the bit_position refers to the offset of the first bit from the bit distance in the Bitmap.
  • the bit_position value is a continuous natural number starting from zero.
  • the bitmap corresponds to the bit value of 0 or 1 value, indicating that the bit corresponds to the bit. Packet error (NAK) or correct (ACK).
  • the bit_positon of the first bit in Bitma is 0, indicating that the data packet with the sequence number FSN, for example, the bit number corresponding to the bit with bit_positon 4 is FSN plus 4, and the value of this bit in Bitma is 1, indicating that the data packet is correct.
  • ACK the same as the data packet with the sequence number FSN plus 6 corresponds to a bit value of 0 in the Bitmap, indicating that the data packet is not correctly received, that is, NAK;
  • Rlist compression method The error verification result is compressed into a sequence number FSN containing an error packet, and a response message of the field CW (Code Word); wherein, CW represents the next error packet included in the response message The length of the error packet; this method can be understood as the compression of the bitmap information in the bitmap method.
  • LENGTH represents the number of fields CW, and each CW occupies 4 bits.
  • Table 1 For each CW meaning, see Table 1:
  • CW 2 is 1100
  • CW 3 is 1101
  • the last bit is 0, it means that the first three bits 110 and the first three bits 101 of CW 2 are the same number, and 110 is Low, 101 is high, .
  • ⁇ and cw 2 combined to get the number 101110 the same figure can be obtained from CW to CW 3 is 101110110, 101110110 represents decimal 374, which means that the next error packet is the data packet contained in this response. After the 374th;
  • This method compresses the data by means of field combination, which occupies less system overhead, but the implementation mechanism is complicated and difficult to implement.
  • the third method Rlist is a first method
  • the object of the embodiments of the present invention is to provide a data compression method, a device, and an automatic request retransmission feedback system, which can achieve good data compression and simple implementation.
  • the present invention provides a data compression method for compressing an automatic request retransmission error check result, including:
  • bit number of the data packet identification field having the same error check result where k is any non-zero natural number, and n is an integer multiple of k;
  • the determined value m is represented by the n bits, and the m is the compressed data identifier field value.
  • the present invention provides a data compression apparatus for compressing an automatic request retransmission error check result, the apparatus comprising:
  • a saving unit configured to save an error check result to be compressed
  • a statistical unit configured to sequentially count the number of data packets consecutively having the same error check result in the error check result to be compressed
  • An identifier field obtaining unit configured to obtain a data packet identifier field that identifies consecutive consecutive error check results; when obtaining a data packet number identifier field, according to
  • the number of packets having the same error check result identifies the bit of the field, where the ⁇
  • the value is an integer multiple of k, and k is an arbitrary non-zero natural number; depending on the number of packets
  • m m + J 2* , using the n bits to represent the determined value m, m is the compressed packet number identification field.
  • the present invention also provides an automatic request retransmission feedback system, comprising: a data transmitting end, a data receiving end, a data verifying device, and a data compression device;
  • the data verification device is configured to perform error check on the data packet received by the data receiving end, and send the error check result arranged in the order of the data packet sequence number to the data compression device;
  • the data compression device is configured to count the number of data packets consecutively having the same error check result after the first error data packet in the error check result to be compressed, and obtain an error indication field that identifies an error check result to be compressed and Determining a bit n for identifying a packet number identification field having consecutive identical error check results, and using the n bits to represent the determined value m, the m being a compressed packet number identification field value, The sequence number of the first error packet and the number of compressed packet identification fields are used to feed back to the data sender to determine the packet that needs to be retransmitted.
  • the packet check result having the same error check result is identified by using less than the number of consecutive consecutive error check result packet numbers, so that after compression
  • the result of the ARQ error check occupies less bits, reduces system overhead, and the method and device of the present invention are simple and easy to implement.
  • FIG. 1 is a schematic diagram of a working principle of a simplified ARQ mechanism in the prior art
  • FIG. 2 is a structural diagram of compressed data obtained by using a List compression method in the prior art
  • FIG. 3 is a structural diagram of compressed data obtained by using a Bitmap compression method in the prior art
  • 4 is a structural diagram of compressed data obtained by using the Rlist compression method in the prior art
  • FIG. 5 is a flowchart of a method for compressing an ARQ error check result according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a device composition for compressing an ARQ error check result according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an ARQ feedback system according to an embodiment of the present invention. detailed description
  • An embodiment of the present invention provides a method for compressing an ARQ error check result. As shown in FIG. 5, the method includes:
  • Step 501 sequentially count the number of data packets consecutively having the same error check result in the error check result to be compressed
  • the error check result is arranged in the order of the corresponding data packet sequence number.
  • the error check result in the embodiment is represented by 0 for NAK, and 1 for ACK, which can also be used in other embodiments of the present invention.
  • 0 means NAK
  • 1 means ACK, and does not affect the implementation of the present invention;
  • Step 502 The number of data packets is satisfied: 2 ft ⁇ the number of data packets ⁇ 2 ⁇ 2, and the value of ⁇ is determined;
  • n is an integer multiple of k, and n is a bit for identifying a number of packet identification fields consecutively having the same error check result;
  • the value m, m is the value of the identification number field of the packet obtained after the final encoding, and is a binary number
  • n bits constitute a compressed number of data packet identification field, and the data packet number identification field is used to identify consecutive error check results;
  • the method solves the problem that the number of occupied data bits of the data packet identification method obtained by the prior art data compression method is too large; In order to achieve a better compression effect, the method further comprises:
  • n 2 ⁇ (n) - 1 ⁇ number of packets ⁇ 2 ⁇ (n+1 ) - 2, determining the value of n according to the formula; providing n bits for identifying the number of data packets; wherein, the n The value is an integer multiple of k, and k is an arbitrary non-zero natural number;
  • the number of data packet identification fields obtained according to the above method is: 1010; and the List method first uses 4 bits 1111 to represent 15 data packet numbers, and then The remaining 10 data packets are represented by 4 bits 1010; the number of data packet identification fields obtained by the Rlist method is: 01100011;
  • step 501 Assuming that there are 8 consecutive error packets in step 501, then based on:
  • the step 501 only needs to sequentially count the number of data packets consecutively having the same error check result after the first error data packet in the error check result to be compressed;
  • the error check result to be compressed is 1 1 1 0 1 1 1 1 1 0 0 1 0 1 , where the first error packet sequence number is assumed to be 100, then 4 consecutive packets are correct after the 100th packet. Packet, 2 consecutive erroneous packets, 1 correct packet, 1 erroneous packet, then the statistical result is 4 ( ACK ), 2 ( NAK ), 1 ( ACK ), 1 ( NAK );
  • the above method only solves the problem that the number of data packet identification fields in the List and Rlist methods occupies too many bytes.
  • the Bitma field used in the Bitmap method is used to identify the result and sequence of the packet verification, the number of occupied bits is too large. Compressing the Bitmap field into a packet error indication field containing a result of consecutively having the same error check result, and a packet number identification field;
  • the method for compressing the ARQ error check result further includes: Step 504: Identify the data packet with the same error check result by using less than the number of consecutive consecutive error check result data packets. a result of the verification, wherein the bit sequence constitutes an error indication field of the compressed data;
  • the error indication field obtained according to step 504 can be separately For the following form:
  • code 4 consecutive correct, code is 01, error indication bit is 11; 3 consecutive errors, code is 00, error indication bit is 00; 2 consecutively correct, code is 1 , error indication is 1; 1 error, code is 0, the indication is 0.
  • the error indication field is 110010.
  • the error indication field and the consecutive number of data packet identification fields having the same error check result constitute compressed data
  • an error indication field may be first placed, followed by a number of data packet identification fields having the same error check result, or may be consecutively provided with an error check result.
  • the number of packets identification field may also be transmitted first all error indication fields, and then the number of packets having the same error check result is continuously transmitted, or vice versa, four ways are possible, and the method is used by the technician. System conditions are selected;
  • bit n/k, the bit sequence sequentially forming an error indication field of the compressed data; wherein, n/ The value of k is an integer; n is based on ⁇ ; 2 ⁇ the number of packets ⁇ 2 ⁇ 2' 3 ⁇ 4 , k is an arbitrary non-zero natural number. '° ° '- °
  • the sender must know the serial number of the error packet from the feedback information before retransmitting the data packet.
  • the method steps provided in the above embodiments of the present invention do not involve recording.
  • the step of the packet serial number because:
  • the actual ARQ mechanism does not Only one type of data-specific compression method is used.
  • two or more compression methods coexist.
  • the existing List method and Rlist method are used. Therefore, the compression results sent back to the transmission can be combined in many different combinations.
  • the form, the combination form is as described in the prior art; when the data verification result obtained by the method provided by the embodiment of the present invention is not the first feedback in the entire ARQ, the error is solved by the above method.
  • the result of the verification can be compressed, because the sender can obtain the information about the sequence number of the packet from the error check result obtained by other compression methods; however, if the error verification result obtained by the method provided by the embodiment of the present invention is The first feedback, the method provided by the embodiment of the present invention further includes the following steps: recording the sequence number of the first error data packet in the error check result;
  • the reason for adding this step is: The sender can determine the sequence number of other error packets according to the serial number;
  • the compressed data obtained by the embodiment of the present invention is the first feedback
  • the first error packet sequence number in the error correction result to be compressed is further required.
  • Pre-configure k l, when the packet sequence length is 12 bits, the embodiment of the present invention is used.
  • the provided steps 501 to 504 are available:
  • FIG. 6 is a schematic diagram showing the composition of an apparatus for compressing an ARQ error check result according to an embodiment of the present invention, where the apparatus includes: a storage unit 601, a statistical unit 602, and an identifier field obtaining unit 603;
  • the saving unit is configured to save an error check result to be compressed, where the error check result is arranged in the order of the corresponding data packet sequence number;
  • the statistic unit 602 is configured to sequentially count the number of data packets consecutively having the same error check result in the error check result to be compressed;
  • the error check result to be compressed is 01110010, assuming that the first error packet sequence number is 6, and the statistical result obtained by the statistics unit 602 is: 3 consecutive correct packets after the 4th packet, 2 One consecutive error packet, one correct data packet, one wrong data packet, and the statistical result is ranked in order of 3 (ACK), 2 (NAK), 1 (ACK), 1 (NAK);
  • the identifier field obtaining unit is configured to obtain a data packet number identification field that continuously has the same error check result; when the data packet number identifier field is obtained,
  • the device further includes: an error indication field obtaining unit 604, in order to solve the problem that the Bitmap occupies too many bits in the Bitmap method;
  • the error indication field obtaining unit 604 is configured to obtain an error indication field that identifies a packet verification result that has consecutive identical error check results; the error indication field bit is less than the consecutive data having the same error check result.
  • the number of packets, the bit sequence constitutes a compressed error indication field;
  • the statistical unit 602 mentioned above the statistical result is obtained, and the error indication field obtained by the error indication field obtaining unit includes:
  • the first two bits of the field represent three consecutive correct packet check results; when the ARQ system only uses the device provided by the embodiment of the present invention or the device provided by the embodiment of the present invention, the compression result is ARQ a packet requiring feedback, then the device further comprises: a recording unit 605;
  • the recording unit is configured to record a serial number of the first error packet in the error check result to be compressed
  • the sequence number of the first erroneous data packet, the error indication field, and the packet number identification field consecutively having the same error check result constitute a compressed data packet.
  • the device further includes: a coefficient saving unit 606, configured to save a pre-configured inequality
  • the inequality is derived as inequality 2 ⁇ ( n ) - 1 ⁇ number of packets ⁇ 2 ⁇ ( n+1 ) -2 , and the value of n is determined according to the formula; n bits are provided for Identifying the number of data packets consecutively having the same error check result;
  • FIG. 7 is a schematic diagram of a composition of an ARQ feedback system according to an embodiment of the present invention.
  • the system uses the data compression apparatus provided by the embodiment of the present invention, where the system includes: a data sending apparatus 701, a data receiving apparatus 702, and a data verifying apparatus. 703, data compression device 704;
  • the data sending device is configured to send a data packet to the data receiving device through the forward data channel;
  • the data receiving device is configured to receive a data packet sent by the data sending device, and the data verifying device is configured to perform error checking on the data packet received by the data receiving device, and according to the data packet serial number The sequentially arranged error check results are sent to the data compression device;
  • the data compression device is configured to count the number of data packets consecutively having the same error check result after the first error data packet in the error check result to be compressed, and obtain an error indication field that identifies an error check result to be compressed. And a packet number identification field for marking a consecutive identical error check result; wherein, the error indication field bit is less than the number of consecutive consecutive error check result packets, and the bit sequence constitutes a compressed Error nlk
  • Indicating field when obtaining the number of packets identification field, determining the value of n according to 2' 3 ⁇ 4 ⁇ number of packets ⁇ 2 ⁇ ⁇ 2; providing n bits for identifying the data having consecutive identical error check results
  • the data compression device is disposed at the data receiving end, and the compressed data packet number identification field and the serial number of the first error data packet are used for feedback to the data transmitting end, so that The sender determines the packet that needs to be retransmitted.
  • the specific process is as described above, and those of ordinary skill in the art can fully understand that it will not be repeated here.
  • the system further includes a data decompressing device 705:
  • the data decompression device is configured to decompress a data packet sent by the data compression device through the feedback channel, obtain a sequence number of the error data packet, and send the sequence number to the data sending device;

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

A data compression method which includes: determines the value of n according to ≤packet number≤k; provides n bits to identify the number of the packets; wherein the value of said n is integral times of k, and the value of k is any natural number but zero; the packet number=m+, expressing the determined value m as the said n bits forms the compressed packet number identifying field; the method also includes that identifies the said packet verified results which have the same error verified results by the bits which number is less then the number of the packets which continuously have the same error verified results, the said bits orderly form the compressed error indication field. A corresponding data compression apparatus and an automatic repeat request feedback system using this data compression apparatus are further provided. The method of this invention reduces the system spending caused by the feedback in the ARQ system and saves the system resource.

Description

数据压缩方法、 装置及自动请求重发反馈系统 本申请要求于 2006 年 11 月 02 日提交中国专利局、 申请号为 200610138008.X,发明名称为"数据压缩方法、装置及自动请求重发反馈 系统"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Data compression method, device and automatic request retransmission feedback system The present application claims to be submitted to the Chinese Patent Office on November 2, 2006, application number 200610138008.X, and the invention name is "data compression method, device and automatic request retransmission feedback system" The priority of the Chinese Patent Application, the entire contents of which is incorporated herein by reference. Technical field

本发明涉及通信技术领域, 具体涉及数据压缩方法、 装置及自动请 求重发反馈系统。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a data compression method, apparatus, and automatic request retransmission feedback system. Background technique

通信网络节点之间传送数据时, 由于传输信道不可靠, 容易造成数 据包的丟失和出错, 因此, 接收端需要对数据包进行差错校验, 然后向 发送端反馈数据包的差错校验结果, 告诉发送端哪些数据包已被正确接 收, 哪些数据包接收错误。 发送端在收到差错校验结果后, 自动重复发 送出错的数据包至接收端, 直到该数据包被正确接收, 这种技术叫做自 动请求重发 ( ARQ, Automatic Repeat Request )„  When data is transmitted between communication network nodes, because the transmission channel is unreliable, packet loss and error are easily caused. Therefore, the receiving end needs to perform error check on the data packet, and then feeds back the error check result of the data packet to the transmitting end. Tell the sender which packets have been received correctly and which packets have received errors. After receiving the error check result, the sender automatically repeats sending the erroneous data packet to the receiving end until the data packet is correctly received. This technique is called Automatic Repeat Request (ARQ).

图 1所示为现有技术中简化的 ARQ机制工作原理的示意图, 发送 端 101向接收端 102发送被编号的数据包, 接收端收到数据包后, 向发 送端反馈差错校验结果, 图 1中说明了两种校验结果, 对于第一种反馈 103 ,接收端反馈的差错校验结果 ACK, 说明序列号为 1的数据包正确; 对于第二种反馈 104,接收端反馈的校验结果 NAK说明序列号为 2的数 据包出错, 并且发送端 101应当重新发送。  FIG. 1 is a schematic diagram showing the working principle of the simplified ARQ mechanism in the prior art. The transmitting end 101 sends the numbered data packet to the receiving end 102, and after receiving the data packet, the receiving end feeds back the error check result to the transmitting end. In the first description, the two check results are described. For the first feedback 103, the error check result ACK fed back by the receiving end indicates that the data packet with sequence number 1 is correct; for the second feedback 104, the feedback of the feedback at the receiving end is correct. The result NAK indicates that the packet with sequence number 2 is in error and the sender 101 should resend.

以上简要介绍了 ARQ机制的工作原理, 从中可知, ARQ机制的实 现主要在于对数据包进行差错校验后, 将差错检验结果反馈给发送端。 若数据包数量非常庞大时, 将差错检验结果不做任何处理就直接反馈给 发送端, 则会过多占用系统资源, 反馈开销过大。  The above briefly introduces the working principle of the ARQ mechanism. It can be seen that the implementation of the ARQ mechanism mainly involves error detection of the data packet and feedback of the error test result to the transmitting end. If the number of data packets is very large, the error check result will be directly fed back to the sender without any processing, and the system resources will be excessively occupied, and the feedback overhead is too large.

目前, 在 3GPP标准中有以下三种方法对差错校验结果进行压缩: 一、 List压缩方法: 该方法将差错校险结果压缩成一个响应消息, 该响应消息包含至少一个出错数据包序列号 SN, 及至少一个用于表示 在所述出错数据包后连续出错数据包数目的字段 L; 其中, 数据包序列 号占用比特数为 12, 字段 L占用比特数为 4。 Currently, there are three methods in the 3GPP standard to compress the error check result: 1. List compression method: The method compresses the error correction result into a response message, and the response message includes at least one error packet sequence number SN. And at least one field L for indicating the number of consecutive erroneous data packets after the erroneous data packet; wherein, the data packet sequence The number of occupied bits is 12, and the number of occupied bits in the field L is 4.

由该压缩方法得到的反馈响应消息内容如图 2所示, 图中 SNLENGTH 表示出错的数据包序列号, LLENGTH表示对应序列号数据包后面有多少个 数据包出错, LENGTH表示一共有多少对 SNLENGTH和 LLENGTH, 比如, 如果 SN尸 5 , L尸 10则表示 5号数据包出错, 并且在 5号数据包后有 10 个数据包出错。 The content of the feedback response message obtained by the compression method is as shown in FIG. 2. In the figure, SN LENGTH indicates the error packet sequence number, L LENGTH indicates how many packets are in error after the corresponding sequence number packet, and LENGTH indicates how many pairs are present. SN LENGTH and L LENGTH , for example, if SN corpse 5, L corpse 10 indicates that packet number 5 is in error, and there are 10 packet errors after packet number 5.

由于字段 L占用比特数固定为 4,那么 L最多只能表示 15个数据包 出错, 一旦出错数据包数目超过 15 , 则必须再加入一个数据包序列号及 字段 L, 因此, 本压缩方法的缺点在于: 当连续出错数据包数目非常庞 大时, 压缩得到的响应消息占用比特数过多, 将该响应消息应用于 ARQ 反馈系统则会使得反馈时占用系统资源过多, 反馈开销大。  Since the number of occupied bits of the field L is fixed at 4, then L can only indicate 15 packet errors at most. Once the number of error packets exceeds 15, a packet sequence number and field L must be added. Therefore, the disadvantages of the compression method are Therefore, when the number of consecutive error packets is very large, the response message obtained by compression consumes too many bits. Applying the response message to the ARQ feedback system may cause excessive system resources and large feedback overhead.

二、 位图信息 (Bitmap )压缩方法: 该方法将差错校验结果压缩成 一个响应消息, 该响应消息包含位图信息及位图信息的第一个比特所对 应的数据包序列号。  Second, Bitmap information (Bitmap) compression method: This method compresses the error check result into a response message, which contains the bitmap information and the sequence number of the packet corresponding to the first bit of the bitmap information.

参考图 3 ,用该方法得到的响应消息包括以下几个部分: LENGTH, 其中 LENGTH加 1可得到位图的字节数目; FSN表示 Bitmap第一个比 特对应的数据包序号, FSN加 bit_position 即可得到其他数据包序号, bit_position 指的是 Bitmap 中其他 bit 距离第一个比特的偏移量, bit_position取值是从零开始的连续的自然数; Bitmap对应比特的 0值或 1值, 表示该 bit对应的数据包出错(NAK )或正确 ( ACK )。  Referring to FIG. 3, the response message obtained by the method includes the following parts: LENGTH, wherein LENGTH plus 1 can obtain the number of bytes of the bitmap; FSN represents the packet number corresponding to the first bit of the Bitmap, and FSN plus bit_position can be The other packet sequence numbers are obtained. The bit_position refers to the offset of the first bit from the bit distance in the Bitmap. The bit_position value is a continuous natural number starting from zero. The bitmap corresponds to the bit value of 0 or 1 value, indicating that the bit corresponds to the bit. Packet error (NAK) or correct (ACK).

Bitma 中第一个 bit的 bit_positon是 0 , 表示序号为 FSN的数据包 如, bit_positon为 4的比特所对应的数据包序号为 FSN加 4, 该比特在 Bitma 中的值为 1 , 说明数据包正确, 即 ACK, 同理可得序号为 FSN 加 6的数据包对应 Bitmap中比特值为 0 ,表示该数据包没有被正确接收, 即 NAK;  The bit_positon of the first bit in Bitma is 0, indicating that the data packet with the sequence number FSN, for example, the bit number corresponding to the bit with bit_positon 4 is FSN plus 4, and the value of this bit in Bitma is 1, indicating that the data packet is correct. , that is, ACK, the same as the data packet with the sequence number FSN plus 6 corresponds to a bit value of 0 in the Bitmap, indicating that the data packet is not correctly received, that is, NAK;

釆用位图法只发送一个数据包序列号, 但是, 由于对位图信息没有 作任何处理, 因此, 当数据包数量庞大时, 釆用该方法系统开销依旧很 大。 三、 Rlist压缩方法: 将差错校验结果压缩成包含一个出错数据包的 序号 FSN, 以及字段 CW ( Code Word )的响应消息; 其中, CW表示下 一个出错的数据包距离响应消息中所包含的出错数据包的长度; 该方法 可以理解为对位图法中的位图信息进行了压缩。 位 Use the bitmap method to send only one packet sequence number. However, since there is no processing on the bitmap information, when the number of packets is large, the system overhead is still very large. Third, Rlist compression method: The error verification result is compressed into a sequence number FSN containing an error packet, and a response message of the field CW (Code Word); wherein, CW represents the next error packet included in the response message The length of the error packet; this method can be understood as the compression of the bitmap information in the bitmap method.

用该方法得到的响应消息如图 4所示, 图中 LENGTH表示字段 CW 的数目, 每个 CW占有 4个比特, 每个 CW含义参见表 1 :  The response message obtained by this method is shown in Fig. 4. In the figure, LENGTH represents the number of fields CW, and each CW occupies 4 bits. For each CW meaning, see Table 1:

表 1  Table 1

Figure imgf000005_0001
举例说明, 假如, d为 1010, CW2为 1100, CW3为 1101 ; 其中, 因为 最后一位为 0, 则说明 CW2的前三位 110和 前三位 101 是同一个数字, 且 110是低位, 101是高位, 。\^与 cw2组合起来得数 字 101110 , 同理可得 CW 至 CW3组合起来的数字就是 101110110 , 101110110代表十进制的 374,这说明下一个出错的数据包是在本响应中 所包含的数据包后第 374个;
Figure imgf000005_0001
For example, if d is 1010, CW 2 is 1100, and CW 3 is 1101; wherein, since the last bit is 0, it means that the first three bits 110 and the first three bits 101 of CW 2 are the same number, and 110 is Low, 101 is high, . \^ and cw 2 combined to get the number 101110, the same figure can be obtained from CW to CW 3 is 101110110, 101110110 represents decimal 374, which means that the next error packet is the data packet contained in this response. After the 374th;

该方法对于釆用字段组合的方式对数据进行压缩, 占用系统开销不 大, 但是实现机制复杂, 难于实现。  This method compresses the data by means of field combination, which occupies less system overhead, but the implementation mechanism is complicated and difficult to implement.

为了更直观的体现釆用以上三种方法对差错校验结果进行压缩后, 所得到的响应消息所占用 bit数, 现假定需要反馈的差错校验结果是: In order to more intuitively reflect the number of bits occupied by the response message obtained by compressing the error check result by the above three methods, it is assumed that the error check result requiring feedback is:

110101...1(30个) 0......0(40个) 11010....0(24个) 110110 110101...1(30) 0...0(40) 11010....0(24) 110110

当数据包序列号长度为 12比特时,以上三种方法的反馈响应消息所 占比特数如下:  When the serial number of the data packet is 12 bits, the number of bits occupied by the feedback response messages of the above three methods is as follows:

第一种方法 List: 4*8+12*8=128bit , 其中, 假定每个用于表示在所 述出错数据包后连续出错数据包数目的字段 L 占 4bit;  The first method List: 4*8+12*8=128bit, wherein it is assumed that each field L for indicating the number of consecutive error packets after the erroneous data packet occupies 4 bits;

第二种方法 Bitmap : 109+12=121bit;  The second method Bitmap : 109+12=121bit;

第三种方法 Rlist:  The third method Rlist:

组合得到的 CW字段为 0001 0101 0011 0011 0001 0110 1101 1010 0001 0001 0101 0011 0110 0001 0001 0101 0001 0101 , 共用 12+4*18=84bit, 其中, 12表示反馈消息中所包含数据包序列号长度; 所述待压缩差错校验结果本身只占用了 109个比特, 以上结果可以 看出三种方法只有 Rlist方法实现的了对数据的压缩, 但由于 Rlist方法 实现机制复杂, 因此, 在 ARQ机制中需要一种压缩效果好, 易于实现 的数据压缩方法。 The combined CW field is 0001 0101 0011 0011 0001 0110 1101 1010 0001 0001 0101 0011 0110 0001 0001 0101 0001 0101 , sharing 12+4*18=84bit, where 12 represents the length of the sequence number of the data packet included in the feedback message; the result of the error check to be compressed itself occupies only 109 bits The above results show that the three methods only compress the data by the Rlist method. However, due to the complex implementation mechanism of the Rlist method, a data compression method with good compression effect and easy implementation is needed in the ARQ mechanism.

发明内容 Summary of the invention

本发明实施例的目的在于提供一种数据压缩方法、 装置以及自动请 求重发反馈系统, 可以实现数据压缩效果好, 实现简单。  The object of the embodiments of the present invention is to provide a data compression method, a device, and an automatic request retransmission feedback system, which can achieve good data compression and simple implementation.

本发明提供的一种数据压缩方法, 用于对自动请求重发差错校验结 果进行压缩, 包括:  The present invention provides a data compression method for compressing an automatic request retransmission error check result, including:

顺序统计待压缩差错校验结果中连续具有相同差错校验结果的数据 包数目;  Sequentially counting the number of data packets consecutively having the same error check result in the error check result to be compressed;

nlk nlk  Nlk nlk

根据 ∑ 数据包数目≤2A∑2ft确定 n, 所述 n是用于标识连 =0 Determine n according to ∑ number of packets 2A ∑ 2 ft , the n is used to identify even = 0

续具有相同差错校验结果的数据包数目标识字段的比特位, 其中 k是任 意的非零自然数, 所述 n是 k的整数倍; The bit number of the data packet identification field having the same error check result, where k is any non-zero natural number, and n is an integer multiple of k;

根据数据包数目 =m+∑2¾ , 用所述 n个比特位表示所确定的值 m , 所述 m为压缩后的数据 ^¾目标识字段值。 According to the number of packets = m + ∑ 2 3⁄4 , the determined value m is represented by the n bits, and the m is the compressed data identifier field value.

本发明提供的一种数据压缩装置, 用于对自动请求重发差错校验结 果进行压缩, 该装置包括:  The present invention provides a data compression apparatus for compressing an automatic request retransmission error check result, the apparatus comprising:

保存单元, 用于保存待压缩的差错校验结果;  a saving unit, configured to save an error check result to be compressed;

统计单元, 用于顺序统计待压缩差错校验结果中连续具有相同差错 校验结果的数据包数目;  a statistical unit, configured to sequentially count the number of data packets consecutively having the same error check result in the error check result to be compressed;

标识字段获取单元, 用于获取标识连续具有相同差错校验结果的数 据包数目标识字段; 获取数据包数目标识字段时, 根据  An identifier field obtaining unit, configured to obtain a data packet identifier field that identifies consecutive consecutive error check results; when obtaining a data packet number identifier field, according to

nlk nlk Nlk nlk

Υ 2 ≤数据包数目 ≤2kY 2ik,确定 n的取值, 所述 n是用于标识连续具 =0 Υ 2 ≤ the number of packets ≤ 2kY 2 ik , the value of n is determined, and the n is used to identify the continuous =0

有相同差错校验结果的数据包数目标识字段的比特位, 其中, 所述 η的 取值是 k 的整数倍, k 取值是任意的非零自然数; 依据数据包数目The number of packets having the same error check result identifies the bit of the field, where the η The value is an integer multiple of k, and k is an arbitrary non-zero natural number; depending on the number of packets

=m+ J 2* ,用所述 n个比特位表示所确定的值 m, m为压缩后的数据包 数目标识字段。 = m + J 2* , using the n bits to represent the determined value m, m is the compressed packet number identification field.

本发明还提供一种自动请求重发反馈系统, 包括: 数据发送端、 数 据接收端、 数据校验装置以及数据压缩装置;  The present invention also provides an automatic request retransmission feedback system, comprising: a data transmitting end, a data receiving end, a data verifying device, and a data compression device;

所述数据校验装置, 用于将数据接收端所接收到的数据包进行差错 校验, 并将按照数据包序列号顺序排列的差错校验结果发送给数据压缩 装置;  The data verification device is configured to perform error check on the data packet received by the data receiving end, and send the error check result arranged in the order of the data packet sequence number to the data compression device;

所述数据压缩装置, 用于统计所述待压缩差错校验结果中第一个出 错数据包后连续具有相同差错校验结果的数据包数目, 获取标识待压缩 差错校验结果的错误指示字段及确定用于标识具有连续相同差错校验结 果的数据包数目标识字段的比特位 n, 并用所述 n个比特位表示所确定 的值 m, 所述 m为压缩后的数据包数目标识字段值, 其中第一个出错数 据包的序列号、 压缩后的数据包数目标识字段用于反馈给数据发送端, 以确定需要重发的数据包。  The data compression device is configured to count the number of data packets consecutively having the same error check result after the first error data packet in the error check result to be compressed, and obtain an error indication field that identifies an error check result to be compressed and Determining a bit n for identifying a packet number identification field having consecutive identical error check results, and using the n bits to represent the determined value m, the m being a compressed packet number identification field value, The sequence number of the first error packet and the number of compressed packet identification fields are used to feed back to the data sender to determine the packet that needs to be retransmitted.

本发明实施例提供的技术方案中,  In the technical solution provided by the embodiment of the present invention,

依据 2lk <数据包数目≤ 2¾ 2 和数据包数目 =m+ 2lk , 确定数据 包数目标识字段; 釆用该方法突破了现有技术中相应比^所能标识的数 据包数目范围, 当出现数据包数目变化很大时, 得到的数据包数目标识 字段占用字节数不会很大; According to 2 lk <number of data packets ≤ 2 3⁄4 2 and number of data packets = m + 2 lk , the number of data packet identification fields is determined; 该 this method breaks through the range of data packets that can be identified by the corresponding ratio in the prior art, When the number of data packets varies greatly, the number of bytes of the obtained packet identification field does not occupy a large number of bytes;

在对差错校验结果进行压缩的过程中, 用少于所述连续具有相同差 错校验结果数据包数目的比特位, 标识所述具有相同差错校验结果的数 据包校验结果, 使得压缩后的 ARQ 差错校验结果占用比特数少, 减少 了系统开销, 且本发明提供方法及装置原理简单易于实现。  In the process of compressing the error check result, the packet check result having the same error check result is identified by using less than the number of consecutive consecutive error check result packet numbers, so that after compression The result of the ARQ error check occupies less bits, reduces system overhead, and the method and device of the present invention are simple and easy to implement.

附图说明 DRAWINGS

图 1为现有技术中简化的 ARQ机制工作原理的示意图;  1 is a schematic diagram of a working principle of a simplified ARQ mechanism in the prior art;

图 2为现有技术中釆用 List压缩方法所得压缩数据的结构图; 图 3为现有技术中釆用 Bitmap压缩方法所得压缩数据的结构图; 图 4为现有技术中釆用 Rlist压缩方法所得压缩数据的结构图; 图 5为本发明实施例中对 ARQ差错校验结果进行压缩的方法流程 图; 2 is a structural diagram of compressed data obtained by using a List compression method in the prior art; FIG. 3 is a structural diagram of compressed data obtained by using a Bitmap compression method in the prior art; 4 is a structural diagram of compressed data obtained by using the Rlist compression method in the prior art; FIG. 5 is a flowchart of a method for compressing an ARQ error check result according to an embodiment of the present invention;

图 6为本发明实施例中对 ARQ差错校验结果进行压缩的装置组成 示意图;  6 is a schematic diagram of a device composition for compressing an ARQ error check result according to an embodiment of the present invention;

图 7 为本发明实施例中 ARQ反馈系统的组成示意图。 具体实施方式  FIG. 7 is a schematic structural diagram of an ARQ feedback system according to an embodiment of the present invention. detailed description

为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对 本发明作进一步地详细描述。  In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings.

本发明实施例提供了一种 ARQ差错校验结果压缩方法, 如图 5所 示, 所述方法包括:  An embodiment of the present invention provides a method for compressing an ARQ error check result. As shown in FIG. 5, the method includes:

步骤 501 : 顺序统计待压缩差错校验结果中连续具有相同差错校验 结果的数据包数目;  Step 501: sequentially count the number of data packets consecutively having the same error check result in the error check result to be compressed;

其中, 所述差错校验结果按照其对应的数据包序列号顺序排列; 其中, 本实施例中差错校验结果釆用 0表示 NAK, 1表示 ACK, 在 本发明其他实施例中亦可釆用 0表示 NAK, 1表示 ACK, 并不影响本 发明实现;  The error check result is arranged in the order of the corresponding data packet sequence number. The error check result in the embodiment is represented by 0 for NAK, and 1 for ACK, which can also be used in other embodiments of the present invention. 0 means NAK, 1 means ACK, and does not affect the implementation of the present invention;

步骤 502: 数据包数目满足: 2ft≤数据包数目 ≤2Α∑2 , 确定 η 的取值; Step 502: The number of data packets is satisfied: 2 ft ≤ the number of data packets ≤ 2 Α∑ 2, and the value of η is determined;

其中, k是任意的非零自然数, 所述 n是 k的整数倍, n是用于标识 连续具有相同差错校验结果的数据包数目标识字段的比特位;  Where k is an arbitrary non-zero natural number, the n is an integer multiple of k, and n is a bit for identifying a number of packet identification fields consecutively having the same error check result;

步骤 503: 依据关系: 数据包数目 =m+ ¾2 , 用所述 n个比特位表 Step 503: According to the relationship: the number of packets = m + 3⁄4 2 , using the n bits table

i=0  i=0

示所确定的值 m, m是最终编码后得到的数据包数目标识字段值, 是二 进制数; The value m, m is the value of the identification number field of the packet obtained after the final encoding, and is a binary number;

其中, 所述 n个比特位构成了压缩后的数据包数目标识字段, 该数 据包数目标识字段用于标识连续具有相同差错校验结果;  The n bits constitute a compressed number of data packet identification field, and the data packet number identification field is used to identify consecutive error check results;

至此, 该方法解决了现有技术数据压缩方法所得到的数据包数目标 识字段占用比特数过多的问题; 为了达到更好的压缩效果, 所述方法进一步包括: So far, the method solves the problem that the number of occupied data bits of the data packet identification method obtained by the prior art data compression method is too large; In order to achieve a better compression effect, the method further comprises:

预先配置所述∑2' ^数据包数目≤^∑2'¾ 中 k的取值; 当 k取值为 1时, 所述不等式衍生为不等式: The preconfigured Σ 2 '^ number of packets ≤ ^ Σ 2' ¾ of the value of k; k when the value is 1, the inequality is derived from the inequality:

2Λ (n) - 1≤数据包数目≤2Λ (n+1 ) - 2, 依据该式确定 n的取值; 提 供 n个比特位用于标识所述数据包数目; 其中, 所述 n的取值是 k的整 数倍, k取值是任意的非零自然数; 2 Λ (n) - 1 ≤ number of packets ≤ 2 Λ (n+1 ) - 2, determining the value of n according to the formula; providing n bits for identifying the number of data packets; wherein, the n The value is an integer multiple of k, and k is an arbitrary non-zero natural number;

其中, 依据 2Λ (n) - 1≤数据包数目≤2Λ (n+1 ) -2得到比特位与连 续具有相同差错校验结果的数据包数目对应值, 归纳于表 2: Wherein, according to 2 Λ (n) - 1 ≤ number of packets ≤ 2 Λ (n+1 ) - 2, the corresponding value of the number of packets with consecutive error check results is obtained, which is summarized in Table 2:

表 2

Figure imgf000009_0001
所述数据包数目 =m+ 衍生为: 数据包数目 =m+2A (n) - 1, 用 所述 n个比特位表示所确 £°的值 m, 构成压缩后的数据包数目标识字段 值; Table 2
Figure imgf000009_0001
The number of packets = m + is derived as: number of packets = m + 2 A (n) - 1, the value of m is represented by the n bits, and the number of packets of the compressed packet is identified. ;

当 k等于 1时, 假设现在有 4个比特位用于标识数据包数目, 那么 用该方法得到的数据包数目范围为 [15, 30], 而现有技术中 4个比特位 最大只能标识 15个数据包;  When k is equal to 1, it is assumed that there are now 4 bits for identifying the number of data packets, then the number of data packets obtained by this method ranges from [15, 30], and in the prior art, the maximum of 4 bits can only be identified. 15 data packets;

当数据包数目为 25时, m=10, 即二进制的 1010, 根据上述方法得 到的数据包数目标识字段为: 1010; 而 List方法中得先用 4个比特 1111 表示 15个数据包数目, 再用 4个比特 1010表示其余 10个数据包数目; Rlist方法得到的数据包数目标识字段为: 01100011;  When the number of data packets is 25, m=10, that is, the binary 1010, the number of data packet identification fields obtained according to the above method is: 1010; and the List method first uses 4 bits 1111 to represent 15 data packet numbers, and then The remaining 10 data packets are represented by 4 bits 1010; the number of data packet identification fields obtained by the Rlist method is: 01100011;

假设步骤 501中统计出有 8个连续错误的数据包, 那么依据: Assuming that there are 8 consecutive error packets in step 501, then based on:

2Λ (n) - 1≤数据包数目≤2Λ (n+1 ) -2得到 n等于 3, 说明需要三个 比特位用于描述所述数据包数目, 再根据数据包数目 =m+2A (n) - 1, 可得 m等于 1, 用所述 n = 3个比特位表示所示确定的值 m= 1, 得到数 据包数目标识字段为 001; 2 Λ (n) - 1 ≤ number of packets ≤ 2 Λ (n+1 ) - 2 gives n equal to 3, indicating that three bits are needed to describe the number of packets, and then according to the number of packets = m + 2 A (n) - 1, can obtain m equal to 1, using the n = 3 bits to represent the determined value m = 1, the number of packets is identified as 001;

在实际应用中, 当待压缩差错校验结果中, 起始比特位及其后比特 位校验结果均为正确时: 所述步骤 501只需顺序统计待压缩差错校验结果中第一个出错数据 包后连续具有相同差错校验结果的数据包数目; In practical applications, when the error check result to be compressed, the start bit and the subsequent bit check result are correct: The step 501 only needs to sequentially count the number of data packets consecutively having the same error check result after the first error data packet in the error check result to be compressed;

举例说明根据本步骤所得到的统计结果:  Give an example of the statistical results obtained according to this step:

比如, 待压缩差错校验结果为 1 1 1 0 1 1 1 1 0 0 1 0 1 , 其中, 第一 个出错的数据包序列号假设为 100, 则在 100号数据包后面有 4个连续 正确的数据包, 2个连续错误的数据包, 1个正确的数据包, 1个错误的 数据包, 那么统计结果就是 4 ( ACK ), 2 ( NAK ), 1 ( ACK ), 1 ( NAK ); 以上方法仅解决了 List及 Rlist方法中数据包数目标识字段占用字节 过多的问题,为了解决 Bitmap方法中用于标识数据包校验结果及顺序的 Bitma 字段占用比特数过多的问题, 釆用将所述 Bitmap字段压缩成包 含标识连续具有相同差错校验结果的数据包错误指示字段, 及数据包数 目标识字段;  For example, the error check result to be compressed is 1 1 1 0 1 1 1 1 0 0 1 0 1 , where the first error packet sequence number is assumed to be 100, then 4 consecutive packets are correct after the 100th packet. Packet, 2 consecutive erroneous packets, 1 correct packet, 1 erroneous packet, then the statistical result is 4 ( ACK ), 2 ( NAK ), 1 ( ACK ), 1 ( NAK ); The above method only solves the problem that the number of data packet identification fields in the List and Rlist methods occupies too many bytes. In order to solve the problem that the Bitma field used in the Bitmap method is used to identify the result and sequence of the packet verification, the number of occupied bits is too large. Compressing the Bitmap field into a packet error indication field containing a result of consecutively having the same error check result, and a packet number identification field;

因此, 所述 ARQ差错校验结果压缩方法中, 进一步包括: 步骤 504: 用少于所述连续具有相同差错校验结果数据包数目的比 特位, 标识所述具有相同差错校验结果的数据包校验结果, 所述比特位 顺序构成压缩后数据的错误指示字段;  Therefore, the method for compressing the ARQ error check result further includes: Step 504: Identify the data packet with the same error check result by using less than the number of consecutive consecutive error check result data packets. a result of the verification, wherein the bit sequence constitutes an error indication field of the compressed data;

假设步骤 501 中统计得到有 4个连续正确的数据包, 3个连续错误 的数据包, 2 个连续正确的数据包, 1 个错误的数据包, 那么根据步骤 504所得到的错误指示字段可以分别为以下形式:  Assuming that there are 4 consecutive correct data packets, 3 consecutive error data packets, 2 consecutive correct data packets, and 1 error data packet in step 501, the error indication field obtained according to step 504 can be separately For the following form:

4个连续正确, 编码为 01 , 错误指示位为 11 ; 3个连续错误, 编码 为 00, 错误指示位为 00; 2个连续正确, 编码为 1 , 错误指示为 1 ; 1 个错误, 编码为 0, 指示为 0。 错误指示字段为 110010。  4 consecutive correct, code is 01, error indication bit is 11; 3 consecutive errors, code is 00, error indication bit is 00; 2 consecutively correct, code is 1 , error indication is 1; 1 error, code is 0, the indication is 0. The error indication field is 110010.

假设最终发送的数据以编码和指示交替排列, 指示在前, 编码在后, 编码后结果为: 101100001100。  It is assumed that the data finally transmitted is alternately arranged with codes and indications, indicating that the code is after, and the result of the encoding is: 101100001100.

以上结果是 K=l的时候, 即一个指示位对应一个数目标识字段。 如果 Κ=2, —个指示位可以对应 2个数目标识字段, 那么错误指示字段 最终为: 1010。  The above result is when K=l, that is, one indicator bit corresponds to one number identification field. If Κ=2, the one indicator bit can correspond to 2 number identification fields, then the error indication field is finally: 1010.

1010, 用一个比特位代表连续具有相同差错校验结果数据包的差错 校验结果, 其中, 第一个比特的 1表示了原差错校验结果中 4个连续正 确数据包的校验结果, 同理可得其他; 1010, using one bit to represent an error check result of consecutive data packets having the same error check result, wherein 1 of the first bit represents 4 consecutive positives in the original error check result If the verification result of the data packet is correct, the other is the same;

11010, 用两个比特位 11表示 4个连续正确数据包的校验结果, 其 他校验结果仍釆用 1个比特位; 这种情况是在数目标识 1-3时, 都釆用 一个比特做错误指示。  11010, using two bits 11 to represent the check result of four consecutive correct data packets, and other check results still use one bit; in this case, when the number identifies 1-3, both use one bit to do Error indication.

这样, 当 k=2时, 数目标识对应真正的连续错误对应关系为: Thus, when k=2, the number identifier corresponds to the true continuous error correspondence:

00-1,01-2,10-3,0000-4。 00-1, 01-2, 10-3,0000-4.

110010, 用两个比特位 11和 00分别表示 4个连续正确数据包的校 验结果和 3个连续错误数据包的校验结果;  110010, using two bits 11 and 00 to respectively represent the verification result of four consecutive correct data packets and the verification result of three consecutive error data packets;

由于组合方式众多, 在此无法穷举, 只要满足错误指示字段比特位 不超过所述连续具有相同差错校验结果的数据包数目的任意组合, 均符 合本发明实施方式;  Since the combination mode is numerous, it cannot be exhaustive here, as long as the error indication field bit does not exceed any combination of the number of consecutive packets having the same error check result, which conforms to the embodiment of the present invention;

所述错误指示字段及所述连续具有相同差错校验结果的数据包数目 标识字段构成压缩后的数据;  The error indication field and the consecutive number of data packet identification fields having the same error check result constitute compressed data;

其中, 差错校验结果压缩得到的数据包中, 可以按照先放一个错误 指示字段, 后面接着放连续具有相同差错校验结果的数据包数目标识字 段, 也可以先放连续具有差错校验结果的数据包数目标识字段, 还可以 先传所有错误指示字段, 然后传连续具有相同差错校验结果的数据包数 目标识字段, 或者相反, 四种方式皆有可能, 釆用何种方式由技术人员 按照系统情况进行选择;  Wherein, in the data packet obtained by compressing the error check result, an error indication field may be first placed, followed by a number of data packet identification fields having the same error check result, or may be consecutively provided with an error check result. The number of packets identification field may also be transmitted first all error indication fields, and then the number of packets having the same error check result is continuously transmitted, or vice versa, four ways are possible, and the method is used by the technician. System conditions are selected;

进一步为了达到更好的压缩效果以及便于技术人员更容易获得错误 指示字段:  Further, in order to achieve better compression and to make it easier for technicians to obtain error indication fields:

可以依据等式: 比特位 = n/k, 确定标识所述具有相同差错校验结果 的数据包校验结果的比特位, 所述比特位顺序构成压缩后数据的错误指 示字段; 其中, n/k的值是一个整数; n依据 ^;2 ≤数据包数目≤2 ∑2'¾ , k为任意的非零自然数。 '― ° '― ° 在 ARQ 实现时, 发送端必须得从反馈信息中获知出错数据包的序 列号, 才能够重新发送数据包, 但是以上本发明实施例所提供的方法步 骤中并没有涉及记录数据包序列号的步骤, 原因在于: The bit identifying the packet check result having the same error check result may be determined according to an equation: bit = n/k, the bit sequence sequentially forming an error indication field of the compressed data; wherein, n/ The value of k is an integer; n is based on ^; 2 ≤ the number of packets ≤ 2 ∑ 2' 3⁄4 , k is an arbitrary non-zero natural number. '° ° '- ° When the ARQ is implemented, the sender must know the serial number of the error packet from the feedback information before retransmitting the data packet. However, the method steps provided in the above embodiments of the present invention do not involve recording. The step of the packet serial number, because:

为了对差错校验结果实现最大程度的压缩, 实际 ARQ机制中并不 只釆用某一种数据特定压缩方法,通常情况都是两种以上压缩方法并存, 比如釆用现有的 List方法, Rlist方法等方法, 因此, 反馈给发送的压缩 结果会多种不同的组合形式, 所述组合形式见前已述及的现有技术; 当釆用本发明实施例所提供方法压缩得到的数据校验结果, 不是整 个 ARQ中第一个反馈时, 釆用上述方法对差错校验结果进行压缩即可, 因为发送端可以从其他压缩方法得到差错校验结果中, 获得有关数据包 序列号的信息; 但是如果本发明实施例所提供的方法压缩得到的差错校 验结果是第一个反馈,则本发明实施例所提供方法进一步包括以下步骤: 记录差错校验结果中第一个出错数据包的序列号; In order to achieve maximum compression of the error check results, the actual ARQ mechanism does not Only one type of data-specific compression method is used. Usually, two or more compression methods coexist. For example, the existing List method and Rlist method are used. Therefore, the compression results sent back to the transmission can be combined in many different combinations. The form, the combination form is as described in the prior art; when the data verification result obtained by the method provided by the embodiment of the present invention is not the first feedback in the entire ARQ, the error is solved by the above method. The result of the verification can be compressed, because the sender can obtain the information about the sequence number of the packet from the error check result obtained by other compression methods; however, if the error verification result obtained by the method provided by the embodiment of the present invention is The first feedback, the method provided by the embodiment of the present invention further includes the following steps: recording the sequence number of the first error data packet in the error check result;

所述第一个出错数据包的序列号, 所述错误指示字段及所述连续具 有相同差错校验结果的数据包数目标识字段构成压缩后的数据包;  a sequence number of the first erroneous data packet, the error indication field, and the continuation packet number identification field having the same error check result constituting the compressed data packet;

加入该步骤的原因在于: 发送端可以根据该序列号确定其他出错数 据包的序列号;  The reason for adding this step is: The sender can determine the sequence number of other error packets according to the serial number;

至此, 实现了两种反馈情况下, 对差错校验结果进行压缩的方法。 在实际 ARQ机制中, 将所述差错校验结果进行压缩后, 需要将其 反馈给数据发送装置, 但本发明实施例所提供方法涉及的主要是数据压 缩过程, 以下简要描述发送过程:  So far, a method of compressing the error check result in the case of two kinds of feedback is realized. In the actual ARQ mechanism, after the error check result is compressed, it needs to be fed back to the data sending device. However, the method provided by the embodiment of the present invention mainly involves a data compression process. The following describes the sending process briefly:

如果数据压缩过程仅釆用步骤 501至步骤 503所述提供方法, 在反 馈时只需将釆用该方法得到的数据包数目标识字段按照 List或 Rlist格式 反馈回去即可, 所述 List及 Rlist反馈格式在背景技术中已由描述, 不再 赘述。  If the data compression process only uses the providing method described in steps 501 to 503, it is only necessary to feedback back the data packet identification field obtained by the method in the List or Rlist format, the List and Rlist feedback. The format has been described in the background art and will not be described again.

如果数据压缩过程釆用步骤 501至步骤 504所述方法, 在反馈时需 要将数据包数目标识字段及错误指示字段均反馈给数据接收装置。  If the data compression process uses the method described in steps 501 to 504, it is necessary to feed back the data packet identification field and the error indication field to the data receiving device during the feedback.

本发明实施例所得到的压缩数据是第一个反馈时, 还需要在进一步 反馈待压缩差错校验结果中第一个出错的数据包序列号。  When the compressed data obtained by the embodiment of the present invention is the first feedback, the first error packet sequence number in the error correction result to be compressed is further required.

背景技术中给出了现有技术对一段待压缩数据进行压缩后, 得到的 数据包占用比特数, 现仍以该段压缩数据为例说明釆用本发明实施例所 提供方法得到的效果;  In the prior art, the number of occupied bits of a data packet obtained by compressing a piece of data to be compressed is obtained in the prior art, and the effect obtained by using the method provided by the embodiment of the present invention is still illustrated by taking the compressed data of the segment as an example;

预先配置 k = l , 当数据包序号长度为 12bit时, 釆用本发明实施例 所提供的步骤 501至 504方法可得: Pre-configure k = l, when the packet sequence length is 12 bits, the embodiment of the present invention is used. The provided steps 501 to 504 are available:

错误指示字段: 101011110000010100001010 数目标识字段: 100011110100110010011010 上述两个字段加数据包序列号长度一共占用 24*2+12=60bit,如果不 反馈数据包序列号则只需要 48个比特,占用字节数均少于釆用现有技术 所得到的压缩结果。  Error indication field: 101011110000010100001010 Number identification field: 100011110100110010011010 The above two fields plus the serial number of the data packet occupy a total of 24*2+12=60bit. If the serial number of the data packet is not fed back, only 48 bits are needed, and the number of occupied bytes is small. The compression results obtained by using the prior art.

图 6所示为本发明实施例中对 ARQ差错校验结果进行压缩的装置 组成示意图, 所述装置包括: 保存单元 601, 统计单元 602, 标识字段获 取单元 603;  FIG. 6 is a schematic diagram showing the composition of an apparatus for compressing an ARQ error check result according to an embodiment of the present invention, where the apparatus includes: a storage unit 601, a statistical unit 602, and an identifier field obtaining unit 603;

其中, 所述保存单元, 用于保存待压缩的差错校验结果; 其中, 所 述差错校验结果按照其对应的数据包序列号顺序排列;  The saving unit is configured to save an error check result to be compressed, where the error check result is arranged in the order of the corresponding data packet sequence number;

所述统计单元 602, 用于顺序统计待压缩差错校验结果中连续具有 相同差错校验结果的数据包数目;  The statistic unit 602 is configured to sequentially count the number of data packets consecutively having the same error check result in the error check result to be compressed;

当待压缩差错校验结果中, 起始比特位及其后比特位校验结果均为 正确时: 只顺序统计待压缩差错校验结果中第一个出错数据包后连续具 有相同差错校验结果的数据包数目;  In the error check result to be compressed, when the start bit and the subsequent bit check result are correct: only the first error packet in the error check result to be compressed is sequentially counted, and the same error check result is continuously obtained. Number of packets;

比如, 待压缩差错校验结果是 01110010, 假设第一个出错的数据包 序列号为 6, 所述统计单元 602得到的统计结果为: 4号数据包后有 3 个连续正确的数据包, 2个连续错误的数据包, 1个正确的数据包, 1个 错误的数据包,所述统计结果排列顺序为 3( ACK), 2(NAK), 1( ACK), 1 (NAK);  For example, the error check result to be compressed is 01110010, assuming that the first error packet sequence number is 6, and the statistical result obtained by the statistics unit 602 is: 3 consecutive correct packets after the 4th packet, 2 One consecutive error packet, one correct data packet, one wrong data packet, and the statistical result is ranked in order of 3 (ACK), 2 (NAK), 1 (ACK), 1 (NAK);

所述标识字段获取单元, 用于获取标识连续具有相同差错校验结果 的数据包数目标识字段; 获取数据包数目标识字段时, 依据  The identifier field obtaining unit is configured to obtain a data packet number identification field that continuously has the same error check result; when the data packet number identifier field is obtained,

nlk nlk  Nlk nlk

2 ≤数据包数目 ≤2A∑2ft, 确定 n的取值; 提供 n个比特位用于标 识所述连续具有相同差错校验结果的数据包数目; 其中, 所述 n的取值 是 k的整数倍, k取值是任意的非零自然数; 依据数据包数目 =m+∑ 2*, 用所述 n个比特位表示所确定的值 m, 构成压缩后的用于标识连续具有 相同差错校验结果的数据包数目标识字段; 为了解决 Bitmap方法中 Bitmap占用比特数过多问题, 所述装置进 一步包括: 错误指示字段获取单元 604; 2 ≤ number of packets 2A ∑ 2 ft , determining the value of n; providing n bits for identifying the number of consecutive packets having the same error check result; wherein, the value of n is k Integer multiple, k is an arbitrary non-zero natural number; according to the number of packets = m + ∑ 2 *, the determined value m is represented by the n bits, and the compressed value is used to identify consecutive consecutive errors. The number of packets of the test result identifies the field; The device further includes: an error indication field obtaining unit 604, in order to solve the problem that the Bitmap occupies too many bits in the Bitmap method;

所述错误指示字段获取单元 604 , 用于获取标识具有连续相同差错 校验结果的数据包校验结果的错误指示字段; 所述错误指示字段比特位 少于所述连续具有相同差错校验结果数据包数目, 所述比特位顺序构成 压缩后的错误指示字段;  The error indication field obtaining unit 604 is configured to obtain an error indication field that identifies a packet verification result that has consecutive identical error check results; the error indication field bit is less than the consecutive data having the same error check result. The number of packets, the bit sequence constitutes a compressed error indication field;

根据前已述及的统计单元 602得到统计结果, 错误指示字段获取单 元得到的错误指示字段包括:  According to the statistical unit 602 mentioned above, the statistical result is obtained, and the error indication field obtained by the error indication field obtaining unit includes:

1010 , 用一个比特位代表连续具有相同差错校验结果的数据包校验 结果;  1010, using one bit to represent a packet verification result with consecutive identical error check results;

11011 , 字段前两个比特代表了 3个连续正确的数据包校验结果; 当 ARQ 系统中仅釆用本发明实施例所提供装置或本发明实施例所 提供装置得到的压缩结果为 ARQ 中第一个需要反馈的数据包, 那么所 述装置进一步包括: 记录单元 605;  11011, the first two bits of the field represent three consecutive correct packet check results; when the ARQ system only uses the device provided by the embodiment of the present invention or the device provided by the embodiment of the present invention, the compression result is ARQ a packet requiring feedback, then the device further comprises: a recording unit 605;

所述记录单元, 用于记录待压缩差错校验结果中第一个出错的数据 包序列号;  The recording unit is configured to record a serial number of the first error packet in the error check result to be compressed;

其中, 所述第一个出错数据包的序列号, 所述错误指示字段及所述 连续具有相同差错校验结果的数据包数目标识字段构成压缩后的数据 包。  The sequence number of the first erroneous data packet, the error indication field, and the packet number identification field consecutively having the same error check result constitute a compressed data packet.

为了使得本发明实施例所提供装置可以实现最优的压缩效果, 所述 装置进一步包括: 系数保存单元 606 , 用于保存预先配置的不等式  In order to enable the device provided by the embodiment of the present invention to achieve an optimal compression effect, the device further includes: a coefficient saving unit 606, configured to save a pre-configured inequality

nlk nlk  Nlk nlk

∑2*≤数据包数 ϋ ≤2A∑2 k的取值; ∑ 2 * ≤ number of packets ϋ ≤ 2A ∑ 2 k ;

i=0 i = 0 i=0 i = 0

当 k = l 时, 所述不等式衍生为不等式 2Λ ( n ) - 1≤数据包数目≤2Λ ( n+1 ) -2 , 依据该式确定 n的取值; 提供 n个比特位用于标识所述连 续具有相同差错校验结果的数据包数目; When k = l, the inequality is derived as inequality 2 Λ ( n ) - 1 ≤ number of packets ≤ 2 Λ ( n+1 ) -2 , and the value of n is determined according to the formula; n bits are provided for Identifying the number of data packets consecutively having the same error check result;

所述等式数据包数目 =m+∑ 2衍生为:  The number of equations = m + ∑ 2 is derived from:

数据包数目 = m+2A ( η ) -ί , 用所述 n个比特位表示所确定的值 m, 构成压缩后数据的连续具有相同差错校验结果的数据包数目标识字段。 图 7为本发明实施例中 ARQ反馈系统的组成示意图, 该系统釆用 了本发明实施例所提供的数据压缩装置, 所述系统包括: 数据发送装置 701 , 数据接收装置 702 , 数据校验装置 703 , 数据压缩装置 704; The number of packets = m + 2 A ( η ) - ί , the determined value m is represented by the n bits, and constitutes a packet number identification field of consecutively having the same error check result of the compressed data. FIG. 7 is a schematic diagram of a composition of an ARQ feedback system according to an embodiment of the present invention. The system uses the data compression apparatus provided by the embodiment of the present invention, where the system includes: a data sending apparatus 701, a data receiving apparatus 702, and a data verifying apparatus. 703, data compression device 704;

其中, 所述数据发送装置, 用于通过前向数据通道发送数据包至数 据接收装置;  The data sending device is configured to send a data packet to the data receiving device through the forward data channel;

所述数据接收装置, 用于接收数据发送装置所发送来的数据包; 所述数据校验装置, 用于对数据接收装置所收到的数据包进行差错 校验, 并将按照数据包序列号顺序排列的差错校验结果发送给数据压缩 装置;  The data receiving device is configured to receive a data packet sent by the data sending device, and the data verifying device is configured to perform error checking on the data packet received by the data receiving device, and according to the data packet serial number The sequentially arranged error check results are sent to the data compression device;

所述数据压缩装置, 用于统计所述待压缩差错校验结果中第一个出 错数据包后连续具有相同差错校验结果的数据包数目, 并获取标识待压 缩差错校验结果的错误指示字段及用于标志具有连续相同差错校验结果 的数据包数目标识字段; 其中, 所述错误指示字段比特位少于所述连续 具有相同差错校验结果数据包数目, 所述比特位顺序构成压缩后的错误 nlk  The data compression device is configured to count the number of data packets consecutively having the same error check result after the first error data packet in the error check result to be compressed, and obtain an error indication field that identifies an error check result to be compressed. And a packet number identification field for marking a consecutive identical error check result; wherein, the error indication field bit is less than the number of consecutive consecutive error check result packets, and the bit sequence constitutes a compressed Error nlk

指示字段; 获取数据包数目标识字段时, 依据 2'¾≤数据包数 目≤2^∑2 , 确定 n的取值; 提供 n个比特位用于标识所述连续具有相 同差错校验结果的数据包数目; 其中, 所述 n的取值是 k的整数倍, k 取值是任意的非零自然数; 依据数据包数目 =m+ ^k , 用所述 η个比 特位表示所确定的值 m, 构成压缩后的用于标识连续具有相同差错校验 结果的数据包数目标识字段; Indicating field; when obtaining the number of packets identification field, determining the value of n according to 2' 3⁄4 ≤ number of packets ≤ 2^ 2; providing n bits for identifying the data having consecutive identical error check results The number of packets; wherein, the value of n is an integer multiple of k, and the value of k is an arbitrary non-zero natural number; according to the number of packets = m + ^ k , the determined value m is represented by the n bits, Forming a compressed number of data packet identification fields for consecutively having the same error check result;

在具体实施的自动请求重发 ARQ反馈系统中, 数据压缩装置设置 在数据接收端, 压缩后的数据包数目标识字段及第一个出错数据包的序 列号用于反馈给数据发送端, 以使发送端确定需要重发的数据包。 具体 过程如前所述, 本领域普通技术人员完全可以理解, 在此不再赘述。  In the specific implementation of the automatic request retransmission ARQ feedback system, the data compression device is disposed at the data receiving end, and the compressed data packet number identification field and the serial number of the first error data packet are used for feedback to the data transmitting end, so that The sender determines the packet that needs to be retransmitted. The specific process is as described above, and those of ordinary skill in the art can fully understand that it will not be repeated here.

在实际 ARQ反馈机制中, 接收端在收到压缩后的差错校验结果后 需重新发送出错的数据包, 因此, 所述系统进一步包括数据解压装置 705: 所述数据解压装置, 用于对数据压缩装置通过反馈通道发送来的数 据包进行解压, 获取差错数据包的序列号, 将所述序列号发送给数据发 送装置; In the actual ARQ feedback mechanism, the receiving end needs to resend the erroneous data packet after receiving the compressed error check result. Therefore, the system further includes a data decompressing device 705: The data decompression device is configured to decompress a data packet sent by the data compression device through the feedback channel, obtain a sequence number of the error data packet, and send the sequence number to the data sending device;

以上对本发明所提供的一种 ARQ 差错校验结果压缩方法、 装置及 ARQ反馈系统进行了详细介绍,本文中应用了具体个例对本发明的原理 及实施方式进行了阐述, 以上实施例的说明只是用于帮助理解本发明的 方法及其核心思想; 同时, 对于本领域的一般技术人员, 依据本发明的 思想, 在具体实施方式及应用范围上均会有改变之处, 综上所述, 本说 明书内容不应理解为对本发明的限制。  The ARQ error check result compression method, device and ARQ feedback system provided by the present invention are described in detail above. The principle and implementation manner of the present invention are described in the following. The description of the above embodiment is only The method for understanding the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The description should not be construed as limiting the invention.

Claims

权 利 要 求 Rights request 1、一种数据压缩方法,用于对自动请求重发差错校验结果进行压缩 , 其特征在于, 包括: A data compression method for compressing an automatic request retransmission error check result, which is characterized by comprising: 顺序统计待压缩差错校验结果中连续具有相同差错校验结果的数据 包数目;  Sequentially counting the number of data packets consecutively having the same error check result in the error check result to be compressed; nl k nlk  Nl k nlk 根据 数据包数目≤2^∑2ft确定 n, 所述 n是用于标识连 =0 i = Determine n according to ≤ the number of packets ≤ 2^ ∑ 2 ft , the n is used to identify even = 0 i = 续具有相同差错校验结果的数据包数目标识字段的比特位, 其中 k是任 意的非零自然数, 所述 n是 k的整数倍; The bit number of the data packet identification field having the same error check result, where k is any non-zero natural number, and n is an integer multiple of k; 根据数据包数目 =m+∑2¾ , 用所述 n个比特位表示所确定的值 m , 所述 m为压缩后的数据^数目标识字段值。 According to the number of packets = m + ∑ 2 3⁄4 , the determined value m is represented by the n bits, and the m is the compressed data number identification field value. 2、 根据权利要求 1所述的方法, 其特征在于, 还包括:  2. The method according to claim 1, further comprising: nlk nlk Nlk nlk 预先配置所述∑2ft≤数据包数目 ≤^∑2中 k的取值。 The value of k in the number of packets ≤ 2 ft ≤ number of packets ≤ ^ ∑ 2 is pre-configured. 3、 根据权利要求 1或 2所述的方法, 其特征在于, 进一步包括: 用少于所述连续具有相同差错校验结果数据包数目的比特位标识所 述具有相同差错校验结果的数据包, 所述少于所述连续具有相同差错校 验结果数据包数目的比特位顺序构成压缩的错误指示字段; 3. The method according to claim 1 or 2, further comprising: identifying the data packet having the same error check result with less than the number of bits consecutively having the same error check result packet number The sequence of bits less than the number of consecutive consecutive error check result packets constitutes a compressed error indication field; 所述错误指示字段及所述压缩后的数据包数目标识字段构成压缩后 的数据包。  The error indication field and the compressed number of packet identification fields constitute a compressed data packet. 4、 根据权利要求 1或 2所述的方法, 其特征在于, 进一步包括: 记录差错校验结果中第一个出错数据包的序列号;  The method according to claim 1 or 2, further comprising: recording a sequence number of the first error data packet in the error check result; 釆用所述第一个出错数据包的序列号及所述压缩后的数据包数目标 识字段构成压缩后的数据包; 或者,  And using the sequence number of the first error packet and the compressed packet number target field to form a compressed data packet; or 釆用所述第一个出错数据包的序列号、 所述压缩后的数据包数目标 识字段及错误指示字段构成压缩后的数据包。  The compressed data packet is formed by using the sequence number of the first error packet, the compressed packet number identification field, and the error indication field. 5、根据权利要求 1或 2所述的方法, 其特征在于, 当待压缩差错校 验结果中, 起始比特位及后续比特位校验结果均为正确时: 顺序统计待压缩差错校验结果中第一个出错数据包后连续具有相同 差错校验结果的数据包数目。 The method according to claim 1 or 2, wherein, in the error check result to be compressed, when the start bit and the subsequent bit check result are correct: The number of packets consecutively having the same error check result after the first error packet in the error check result to be compressed is sequentially counted. 6、 根据权利要求 3所述的方法, 其特征在于, 进一步包括: 确定标 识所述具有相同差错校验结果的数据包校验结果的比特位 n/k, 所述比 特位顺序构成压缩后数据的错误指示字段。  6. The method according to claim 3, further comprising: determining a bit n/k identifying the packet check result having the same error check result, the bit sequence constituting the compressed data The error indication field. 7、一种数据压缩装置,用于对自动请求重发差错校验结果进行压缩, 其特征在于, 该装置包括: 保存单元, 统计单元, 标识字段获取单元; 保存单元, 用于保存待压缩的差错校验结果;  A data compression apparatus for compressing an automatic request retransmission error check result, wherein the apparatus comprises: a storage unit, a statistical unit, an identification field acquisition unit, and a storage unit, configured to save the to-be-compressed Error check result; 统计单元, 用于顺序统计待压缩差错校验结果中连续具有相同差错 校验结果的数据包数目;  a statistical unit, configured to sequentially count the number of data packets consecutively having the same error check result in the error check result to be compressed; 标识字段获取单元, 用于获取标识连续具有相同差错校验结果的数 据包数目标识字段; 获取数据包数目标识字段时, 依据  An identifier field obtaining unit, configured to obtain a data packet identifier field that identifies consecutive consecutive error check results; when obtaining a data packet number identifier field, ^2 ≤数据包数目 ≤lk ,确定 n的取值, 所述 n是用于标识连续具 有相同差错校验结果的数据包数目标识字段的比特位, 其中, 所述 n的 取值是 k 的整数倍, k 取值是任意的非零自然数; 依据数据包数目 =m+∑2* ,用所述 n个比特位表示所确定的值 m, m为压缩后的数据包 i= ^2 ≤ the number of packets ≤ lk, determining the value of n, the n is a bit for identifying a packet number identification field consecutively having the same error check result, wherein the value of n is k Integer multiple, k is an arbitrary non-zero natural number; according to the number of packets = m + ∑ 2 *, the determined value m is represented by the n bits, m is the compressed data packet i = 数目标识字段。 Number identification field. 8、 根据权利要求 7所述的装置, 其特征在于,  8. Apparatus according to claim 7 wherein: 当待压缩差错校验结果中, 起始比特位及后续比特位校验结果均为 正确时, 所述统计单元顺序统计待压缩差错校验结果中第一个出错数据 包后连续具有相同差错校验结果的数据包数目。  When the start bit and the subsequent bit check result are correct in the error check result to be compressed, the statistical unit sequentially counts the first error packet in the error check result to be compressed and has the same error correction continuously. The number of packets for the test result. 9、 根据权利要求 7所述的装置, 其特征在于, 还包括:  9. The device according to claim 7, further comprising: 错误指示字段获取单元, 用于根据所述统计单元得到的统计结果获 取错误指示字段, 所述错误指示字段指示具有连续相同差错校验结果的 数据包;  An error indication field obtaining unit, configured to obtain an error indication field according to a statistical result obtained by the statistical unit, where the error indication field indicates a data packet having consecutive identical error check results; 所述错误指示字段比特位少于所述连续具有相同差错校验结果数据 包数目, 所述比特位顺序构成压缩后数据包的错误指示字段;  The error indication field bit is less than the consecutive number of data packets having the same error check result, and the bit sequence constitutes an error indication field of the compressed data packet; 所述错误指示字段及所述压缩后的数据包数目标识字段构成压缩后 的数据。 The error indication field and the compressed number of packet identification fields constitute a compressed The data. 10、 根据权利要求 7或 9所述的装置, 其特征在于, 还包括: 记录单元, 用于记录待压缩差错校验结果中第一个出错的数据包序 列号, 并提供给所述统计单元;  The device according to claim 7 or 9, further comprising: a recording unit, configured to record a first error packet sequence number in the error check result to be compressed, and provide the statistical unit to the statistical unit ; 所述统计单元根据所述记录单元提供的所述第一个出错的数据包序 列号, 顺序统计第一个出错数据包后连续具有相同差错校验结果的数据 包数目;  The statistic unit sequentially counts the number of data packets consecutively having the same error check result after the first erroneous data packet according to the first erroneous data packet sequence number provided by the recording unit; 所述第一个出错数据包的序列号与所述压缩后的数据包数目标识字 段构成压缩后的数据包; 或者, 第一个出错数据包的序列号、 所述压缩 后的数据包数目标识字段及错误指示字段构成压缩后的数据包。  The sequence number of the first erroneous data packet and the compressed data packet number identification field constitute a compressed data packet; or, the sequence number of the first erroneous data packet, and the number of the compressed data packet identifier The field and error indication fields form a compressed packet. 11、 根据权利要求 7或 9所述的装置, 其特征在于, 还包括: 系数保存单元, 用于保存预先配置的 k的取值。  The device according to claim 7 or 9, further comprising: a coefficient saving unit, configured to save the value of the pre-configured k. 12、 一种自动请求重发反馈系统, 其特征在于, 包括: 数据发送端、 数据接收端、 数据校验装置以及数据压缩装置;  12. An automatic request retransmission feedback system, comprising: a data transmitting end, a data receiving end, a data verifying device, and a data compression device; 所述数据校验装置, 用于将数据接收端所接收到的数据包进行差错 校验, 并将按照数据包序列号顺序排列的差错校验结果发送给数据压缩 装置;  The data verification device is configured to perform error check on the data packet received by the data receiving end, and send the error check result arranged in the order of the data packet sequence number to the data compression device; 所述数据压缩装置, 用于统计所述待压缩差错校验结果中第一个出 错数据包后连续具有相同差错校验结果的数据包数目, 获取标识待压缩 差错校验结果的错误指示字段及确定用于标识具有连续相同差错校验结 果的数据包数目标识字段的比特位 n, 并用所述 n个比特位表示所确定 的值 m, 所述 m为压缩后的数据包数目标识字段值, 其中第一个出错数 据包的序列号、 压缩后的数据包数目标识字段用于反馈给数据发送端, 以确定需要重发的数据包。  The data compression device is configured to count the number of data packets consecutively having the same error check result after the first error data packet in the error check result to be compressed, and obtain an error indication field that identifies an error check result to be compressed and Determining a bit n for identifying a packet number identification field having consecutive identical error check results, and using the n bits to represent the determined value m, the m being a compressed packet number identification field value, The sequence number of the first error packet and the number of compressed packet identification fields are used to feed back to the data sender to determine the packet that needs to be retransmitted. 13、 根据权利要求 12所述的系统,,,其特征在于,  13. The system of claim 12, wherein: nlk nik  Nlk nik n是根据∑ ≤ 数据包数目≤2kT 确定的; m为根据数据包数目 =m+∑2 , 用所述 n个比特位表示所确定的 值。 n is determined according to ∑ ≤ number of packets ≤ 2k T ; m is determined according to the number of packets = m + ∑ 2 , represented by the n bits Value. 14、根据权利要求 12所述的系统, 其特征在于, 所述数据压缩装置 包括:  The system of claim 12, wherein the data compression device comprises: 待压缩差错校验结果保存单元, 用于保存待压缩的差错校验结果; 数据包数目统计单元, 用于顺序统计待压缩差错校验结果中连续具 有相同差错校验结果的数据包数目;  The error checking result storage unit to be compressed is used to save the error check result to be compressed; the data packet number statistics unit is configured to sequentially count the number of data packets consecutively having the same error check result in the error check result to be compressed; 标识字段获取单元, 用于获取标识连续具有相同差错校验结果的数 据包数目标识字段; 获取数据包数目标识字段时, 根据  An identifier field obtaining unit, configured to obtain a data packet identifier field that identifies consecutive consecutive error check results; when obtaining a data packet number identifier field, according to Υ 2 ≤数据包数目 ≤2Α>" 2¾确定 n的取值, 所述 n是用于标识连续具 =0 The number of packets Υ 2 ≤ ≤2Α>"2 ¾ determining the value of n, and n is a tool for identifying successive = 0 有相同差错校验结果的数据包数目标识字段的比特位, 其中, 所述 η的 取值是 k的整数倍, k取值是任意的非零自然数; 根据数据包数目 =m+∑2 , 用所述 n个比特位表示所确定的值 m, m为压缩后的数据包数目标识字段值 m。 The number of packets having the same error check result identifies the bit of the field, wherein the value of η is an integer multiple of k, and the value of k is an arbitrary non-zero natural number; according to the number of packets = m + ∑ 2 , The n bits represent the determined value m, m is the compressed number of packets identification field value m. 15、 根据权利要求 12、 13或 14所述的系统, 其特征在于, 还包括: 数据解压装置, 设置在数据发送端, 用于对数据接收端反馈的经所 述数据压缩装置压缩的数据包进行解压, 获取需要重发的数据包的序列 号;  The system according to claim 12, 13 or 14, further comprising: a data decompressing device, configured at the data transmitting end, for compressing the data packet compressed by the data compression device fed back to the data receiving end Decompress and obtain the serial number of the packet that needs to be retransmitted; 所述压缩后的数据包包括第一个出错数据包的序列号与所述压缩后 的数据包数目标识字段构成压缩后的数据包; 或者, 第一个出错数据包 的序列号、 所述压缩后的数据包数目标识字段及错误指示字段。  The compressed data packet includes a sequence number of the first erroneous data packet and the compressed data packet number identification field to form a compressed data packet; or, a sequence number of the first erroneous data packet, the compression The number of packets after the identification field and the error indication field.
PCT/CN2007/070998 2006-11-02 2007-10-31 Data compression method and apparatus, and automatic repeat request feedback system Ceased WO2008052483A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA200610138008XA CN101174929A (en) 2006-11-02 2006-11-02 Data compression method, device and automatic retransmission request feedback system
CN200610138008.X 2006-11-02

Publications (1)

Publication Number Publication Date
WO2008052483A1 true WO2008052483A1 (en) 2008-05-08

Family

ID=39343838

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070998 Ceased WO2008052483A1 (en) 2006-11-02 2007-10-31 Data compression method and apparatus, and automatic repeat request feedback system

Country Status (2)

Country Link
CN (1) CN101174929A (en)
WO (1) WO2008052483A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113812959A (en) * 2021-07-26 2021-12-21 北京海思敏医疗技术有限公司 Electrocardio data processing method for small data processing equipment, electronic equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579573B (en) * 2015-01-19 2017-12-26 北京华力创通科技股份有限公司 Coding, coding/decoding method and the transmitting terminal and receiving terminal of the feedback information of data transfer
CN110602069B (en) * 2019-08-29 2022-02-22 深圳市元征科技股份有限公司 Network protocol compression method, network protocol using method and related products

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002039651A1 (en) * 2000-11-13 2002-05-16 Telefonaktiebolaget L M Ericsson (Publ) Data compression of request sequences in arq protocols
CN1354931A (en) * 1999-04-09 2002-06-19 艾利森电话股份有限公司 Method for minimizing feedback responses in ARQ protocols
US6658619B1 (en) * 2000-10-06 2003-12-02 Ericsson Inc. Systems and methods for implementing hierarchical acknowledgement bitmaps in an ARQ protocol
WO2005064839A1 (en) * 2003-12-29 2005-07-14 Electronics And Telecommunications Research Institute Method for creating feedback message for arq in mobile communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1354931A (en) * 1999-04-09 2002-06-19 艾利森电话股份有限公司 Method for minimizing feedback responses in ARQ protocols
US6658619B1 (en) * 2000-10-06 2003-12-02 Ericsson Inc. Systems and methods for implementing hierarchical acknowledgement bitmaps in an ARQ protocol
WO2002039651A1 (en) * 2000-11-13 2002-05-16 Telefonaktiebolaget L M Ericsson (Publ) Data compression of request sequences in arq protocols
WO2005064839A1 (en) * 2003-12-29 2005-07-14 Electronics And Telecommunications Research Institute Method for creating feedback message for arq in mobile communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113812959A (en) * 2021-07-26 2021-12-21 北京海思敏医疗技术有限公司 Electrocardio data processing method for small data processing equipment, electronic equipment and storage medium
CN113812959B (en) * 2021-07-26 2023-10-13 北京海思敏医疗技术有限公司 Electrocardiogram data processing method for small-sized data processing device, electronic device, and storage medium

Also Published As

Publication number Publication date
CN101174929A (en) 2008-05-07

Similar Documents

Publication Publication Date Title
TW453066B (en) Method and apparatus for reliable and efficient data communications
JP4198910B2 (en) Method for transmitting and receiving subpackets in a parallel channel encoder packet transmission system
US6658619B1 (en) Systems and methods for implementing hierarchical acknowledgement bitmaps in an ARQ protocol
CN100359839C (en) Ways to minimize feedback responses in an auto-repeat request protocol
US6301249B1 (en) Efficient error control for wireless packet transmissions
EP2151943B1 (en) HARQ signal transmission method and apparatus for user equipment in mobile communication system
CN104518853B (en) Method, receiving terminal and the system that a kind of data retransmit
CN102577212B (en) Device and method for generating automatic repeat request feedback message in wireless communication system
US20050053093A1 (en) Data transmission method and data transmission apparatus
EP1187386A1 (en) Method for asynchronous incremental redundancy reception in a communication system
DK2410690T3 (en) Method and transmission device for reducing the risk of transmission blocking
EP2026523A1 (en) Method and device for piggybacked status PDU with flexible lenght RLC PDU
CN101855856B (en) Status reporting method in wireless communication system
CN103338090B (en) Service data transmission method, equipment and system
US20050041663A1 (en) Method to avoid potential deadlocks in a SDU discard function
JP4703310B2 (en) Communication method and communication system
RU2456751C2 (en) Method of repeated data transfer and wireless communication device
EP2195978B1 (en) Status report triggering in wireless communication system
CN109861797B (en) Data transmission method and system
US7359924B2 (en) Methods, devices, and computer program products for generating a compressed status report that is updated to indicate later received data
CN1738231A (en) Method for transmitting information between transmitting device and receiving device and related communication system
WO2008052483A1 (en) Data compression method and apparatus, and automatic repeat request feedback system
CN102013948B (en) Indication method and user equipment
CN107548104A (en) Data transmission method, access point and website
WO2015077960A1 (en) Transmission method and device for data packet

Legal Events

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

Ref document number: 07817189

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: 07817189

Country of ref document: EP

Kind code of ref document: A1