WO2010121467A1 - 一种包头压缩通信方法和装置 - Google Patents

一种包头压缩通信方法和装置 Download PDF

Info

Publication number
WO2010121467A1
WO2010121467A1 PCT/CN2009/074637 CN2009074637W WO2010121467A1 WO 2010121467 A1 WO2010121467 A1 WO 2010121467A1 CN 2009074637 W CN2009074637 W CN 2009074637W WO 2010121467 A1 WO2010121467 A1 WO 2010121467A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
layer
header compression
data unit
data packet
Prior art date
Application number
PCT/CN2009/074637
Other languages
English (en)
French (fr)
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 EP09843571.2A priority Critical patent/EP2424144B1/en
Publication of WO2010121467A1 publication Critical patent/WO2010121467A1/zh
Priority to US13/277,606 priority patent/US8848583B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/14Two-way operation using the same type of signal, i.e. duplex
    • H04L5/1438Negotiation of transmission parameters prior to communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0079Formats for control data
    • 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
    • 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/1671Details of the supervisory signal the supervisory signal being transmitted together with control information
    • 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
    • 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
    • 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/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1812Hybrid protocols; Hybrid automatic repeat request [HARQ]

Definitions

  • the present invention relates to the field of wireless communications, and in particular, to a packet header compression communication method and apparatus.
  • HARQ is a request retransmission technology that introduces Forward Error Correction (FEC) in automatic retransmission request (ARQ: Auto-Repeat reQuest).
  • FEC Forward Error Correction
  • ARQ Auto-Repeat reQuest
  • the basic processing principle is: If the transmission error is in the error correction range of FEC Then, forward error correction is performed; if the error correction range is exceeded, the receiver requests retransmission.
  • ROHC is a stream-based header compression (HC: Header Compression) scheme that compresses overhead headers (Headers) in some packets (for example, IPv6 packets) to reduce data throughput and improve bandwidth utilization. .
  • a unidirectional ROHC channel (which is a logical channel) and a ROHC feedback channel (FCH: Feedback CHannel) can be established through the ROHC mechanism.
  • the one-way ROHC channel entry is a compressor, and the exit is a decompressor;
  • the ROHC feedback channel FCH is a logical channel carrying feedback information, the entrance is a decompressor, the exit is a compressor, and the two channels of the compressor and the decompressor are paired appear.
  • the compressor After compressing the header of the original data, the compressor sends it to the decompressor through the ROHC channel.
  • the decompressor of the ROHC feedback channel FCH feeds back the feedback information to the compressor of the ROHC feedback channel FCH through the ROHC feedback channel FCH.
  • ROHC compression state machine contains three states: IR: Initial and Refresh, first order (FO: First Order) and second order (SO: Second Order) compression state;
  • ROHC decompression state machine contains three kinds Status: No context (NC: No Context) decompression state, static context (SC: Static Context) decompression state, and full context (FC: Full Context) decompression state.
  • the decompressor For the compressed state machine, the decompressor has almost no static context and dynamic context information required for decompression while in the IR compressed state.
  • the ROHC compressor sends IR or IR-DYM packets.
  • the IR packet can contain both static context SC information and dynamic context (DC: Dynamic Context) information, while IR-DYM packets can only contain dynamic context information.
  • DC Dynamic Context
  • IR-DYM packets can only contain dynamic context information.
  • the NC decompression state is the initial state of the decompressor, indicating that the decompressor does not receive the data packet, and does not have any information needed for decompression; the SC decompression state indicates that the decompressor obtains all static decompression information and partial dynamic decompression. Information; FC decompression status indicates that the decompressor has obtained all the decompression information.
  • the context information of ROHC is divided into two different types: static context (SC: Static Context) information and dynamic context (DC: Dynamic Context) information.
  • SC Static Context
  • DC Dynamic Context
  • the dynamic context information in the existing IP packet header is mainly the sequence number, time stamp and IP identifier.
  • the changes of these three parameters have certain rules.
  • the specific compression method of these three parameters is defined in detail in the existing RFC 3095.
  • the most important compression method is the least significant bit (LSB: Least Significant Bits) encoding and the window-based least significant bit (W-LSB). : Window-based Least Significant Bits) encoding.
  • the W-LSB algorithm is an improvement of the LSB algorithm. It is a sliding window based LSB encoding algorithm. In the encoding process, a set of reference base values is included in the range of the sliding window. The decompressor can decompress the encoded value correctly as long as it receives any of the base values in the sliding window. After using W-LSB encoding, unless slip All the base values in the moving window are lost, otherwise the compressor will not lose synchronization with the decompressor.
  • the SWD sliding Window Width
  • LSBs The number of bits encoded by Least Significant Bits is increased, which reduces the efficiency of header compression.
  • the inventor found that: if a packet containing static context information update is wrong or lost, all subsequent data packets cannot obtain static context information, so that a large number of subsequent Decompression fails; if the number of consecutively lost packets is greater than the W-LSB sliding window width SWW, it will also cause subsequent packets to be parsed out of dynamic context information, so that decompression fails. Since the existing ROHC mechanism handles the error packet header directly for discarding without any further processing, when the above situation occurs, the state is rolled back and updated only when the error packet rate reaches a certain level. Context information, resynchronize the decompression state. Especially when the wireless link is in a bad situation, it will cause frequent state rollback, which greatly reduces the compression efficiency.
  • the ARQ retransmission mechanism causes the packets to be out of order. Since ARQ uses the retransmission mechanism to improve the quality of data transmission, the data packet with the block sequence number (BSN: Block Sequence Number) is retransmitted and the packet behind the BSN arrives, and the robust header is obtained. Compression (ROHC) has only a certain ability to resist disorder. Once the out-of-orderness of the data packet exceeds the capacity of the ROHC sliding window, even if the data packet can be received correctly, the ROHC layer cannot be properly decompressed, resulting in wasted system resources;
  • BSN Block Sequence Number
  • the ARQ retransmission mechanism will cause the ROHC receiver to fail to send feedback information to the ROHC in time.
  • Each sub-packet sent by HARQ contains more service data units.
  • the compressed ROHC data packet has a long delay; the automatic retransmission request uses a sliding window mechanism, and the sliding window has more SDU data packets cached, and only when the SDU data packet is correctly received, The SDU data packet is transmitted to the ROHC layer decompressor, resulting in an increase in ROHC packet feedback delay;
  • An embodiment of the present invention provides a packet header compression communication method and apparatus, which are used to solve the problem that the packet header compression mechanism cannot be combined with the automatic retransmission request technology and the packet header compression mechanism and the automatic retransmission request technology are combined in the prior art. Out of order and context information out of sync issues.
  • a packet header compression communication method using an automatic retransmission request mechanism comprising: a sending end and a receiving end negotiating a parameter required for performing a header compression and an automatic retransmission request; and a lower layer protocol data unit constructing entity constructing at the transmitting end includes a header compression information
  • the lower layer protocol data unit is sent to the receiving end; interacts with the receiving end to perform packet header compression processing.
  • a packet header compression communication method using an automatic retransmission request mechanism comprising: negotiating with a transmitting end to determine parameters required for performing header compression and automatic retransmission request; receiving a lower layer protocol data unit including packet header compression information; and interacting with the transmitting end, Perform unpacking header compression.
  • a protocol data processing unit construction method comprising: a protocol data unit construction entity encapsulating a service data unit into a protocol data unit; adding an extension subheader in the protocol data unit, the extension subheader including header compression information.
  • a packet header compression communication error processing method using an automatic retransmission request mechanism comprising: performing cyclic redundancy check on a received protocol data unit data packet; and decomposing a protocol data unit data packet that has not passed verification into service data After the unit data packet is transmitted to the packet header compression layer and notified to the packet header compression layer
  • the service data unit data packet is an erroneous data packet; if the packet header compression layer decompresses the service data unit data packet decomposed from the lower layer protocol data unit data packet and passes the cyclic redundancy check of the packet header compression layer,
  • the corresponding context information is updated according to the correct header information obtained by the unpacking header compression.
  • a method combining a header compression feedback and an automatic retransmission request feedback comprising: when a packet header compression layer decompressor at a receiving end receives a packet header compressed service data unit data packet transmitted from a receiving end automatic retransmission request layer and solves When the header compression is still unable to pass the cyclic redundancy verification, the packet header compression layer decompressor notifies the receiving end to automatically retransmit the data decompression error of the request layer, and uses the feedback mechanism of the automatic retransmission request to notify the transmitting end to perform retransmission.
  • a sub-packet encapsulation method for mixing an automatic retransmission request in combination with a packet header compression mechanism comprising: after receiving a service data unit sent by a packet header compression layer, the medium access control layer encapsulates the packet into a protocol data unit and sends the message to the hybrid automatic retransmission a request layer; the hybrid automatic repeat request layer encapsulates the protocol data unit into a sub-package; and the first service data unit in the first protocol data unit of each context identifier in the encapsulated sub-packet is an initialization and a status Information update package.
  • a packet header compression apparatus using an automatic repeat request mechanism includes: a sending module and a receiving module; the sending module is configured to negotiate with the receiving module to determine parameters required for performing a header compression and an automatic retransmission request; Compressing the lower layer protocol data unit of the information and sending it to the receiving module; interacting with the receiving module to perform a packet header compression process; and the receiving module is configured to negotiate with the sending module to determine parameters required for performing a packet header compression and an automatic retransmission request; Receiving a lower layer protocol data unit that includes the packet header compression information sent by the sending module; and interacting with the sending module to perform packet header compression communication.
  • a protocol data unit construction apparatus includes: a packet header compression information acquisition module and a packet header compression information addition module; the packet header compression information acquisition module is configured to obtain packet header compression information from a packet header compressed service data unit data packet and send the packet header compression information to the packet header And compressing the information adding module; the header compression information adding module is configured to add an extended subheader in the protocol data unit, and add the header compression information in the extended subheader.
  • a packet header error processing apparatus using an automatic retransmission mechanism includes: a first check unit, a decomposition unit, a second check unit, and an update unit; and the first check unit is configured to receive protocol data
  • the unit data packet performs cyclic redundancy check;
  • the decomposition unit is used to count the number of protocols that have not passed the check Decomposing the unit data packet into a service data unit data packet, transmitting the service data unit data packet to the packet header compression layer and notifying the packet header compression layer that the service data unit data packet may be erroneous;
  • the second verification unit is configured to determine Whether the service data unit data packet can be depacketized and compressed by a cyclic redundancy check of the packet header layer;
  • the update unit is configured to confirm, at the second check unit, that the service data unit data packet can be unpacked and compressed In the case of the cyclic redundancy check of the packet header compression layer, the corresponding context information is updated according to the correct header information obtained by the de-packet header compression
  • a sub-package encapsulating device for mixing an automatic retransmission request when combined with a packet header compression mechanism includes: a negotiating unit, a counting unit, and a encapsulating unit; the negotiating unit is configured to negotiate and determine each hybrid auto before the packet compression layer starts to compress Retransmitting the number N of protocol data units encapsulated in the requested sub-packet, and the N determined by the negotiation is the number supported by the hybrid automatic repeat request layer, the medium access control layer, and the packet header compression layer; And recording the number of protocol data unit data packets sent by the medium access control layer to the hybrid automatic repeat request layer, when the number reaches the number N, the counting unit is cleared, and the mixing is notified.
  • the header compression layer compressor state corresponding to each context identifier on the connection corresponding to the automatic retransmission request channel is backed off; the encapsulating unit is configured to receive the initialization and status sent by the packet header compression layer at the medium access control layer.
  • the hybrid automatic repeat request sub-package is started to be encapsulated at the hybrid automatic repeat request layer, each of which Each first protocol data unit identified context packet encapsulation in a first service data unit is initialized and status information update package.
  • a packet compression method based on a hybrid automatic repeat request comprising: a hybrid automatic repeat request layer at a transmitting end receiving a data packet from a packet header compression layer, where the packet header compression layer data packet includes at least a packet header compression layer packet context information; Encapsulating the packet header compression layer data packet to form an automatic retransmission request layer data packet; and identifying the hybrid automatic retransmission request layer data packet to instruct the receiving end to save the packet header compression layer data packet context information.
  • a data packet decompression method based on a multi-process hybrid automatic repeat request comprising: receiving, by a packet header, a compression layer of a packet from a local hybrid automatic repeat request layer and a packet number thereof, and recording the received hybrid automatic weight
  • the packet number of the request layer data packet is Pn; querying the list maintained by the local end, obtaining the context information of the packet header compression layer packet corresponding to the packet number in the list that is smaller than and closest to the Pn;
  • the header compression layer packet context information corresponding to the packet number that is smaller than and closest to the Pn decompresses the received hybrid automatic repeat request layer data packet.
  • a packet compression apparatus based on a multi-process hybrid automatic repeat request comprising: a receiving unit, configured to receive a data packet from a packet header compression layer, where the packet header compression layer data packet includes at least a packet header compression layer data packet context information; a unit, configured to encapsulate the packet header compression layer data packet to form a hybrid automatic repeat request layer data packet, and an identifier unit, configured to identify the hybrid automatic repeat request layer data packet to instruct the receiving end to save the packet header Compress layer packet context information.
  • a packet decompression apparatus based on a hybrid automatic repeat request comprising: a receiving unit, configured to receive a data packet and a packet number of a hybrid automatic repeat request layer from a receiving end, and record the received automatic retransmission request layer The packet number of the data packet is Pn; the obtaining unit is configured to query the list maintained by the local end, and obtain the context information of the packet header compression layer packet corresponding to the packet number in the list that is smaller than and closest to the Pn; And the method for decompressing the received hybrid automatic repeat request layer data packet by using the header compression layer packet context information corresponding to the packet number that is smaller than and closest to the Pn.
  • a computer program product comprising computer program code for causing the computer to perform the steps of one or all of the foregoing methods when the computer program code is executed by a computer.
  • a computer readable storage medium storing computer program code, when the computer program code is executed by a computer, the computer program code can cause the computer to perform one or all of the foregoing methods A step of.
  • the method and the device in the embodiment of the present invention combine the automatic retransmission request (including the hybrid automatic repeat request) mechanism and the packet header compression technology, and improve the efficiency and correctness of the header compression by processing the technical problems caused thereby. Rate, saving air resources.
  • FIG. 2 is a schematic diagram of a basic format of a media access control layer protocol data unit in the prior art
  • FIG. 3 is a schematic diagram of a structure of a media access control layer protocol data unit according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of another manner of constructing a media access control layer protocol data unit according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a processing method when an error packet or packet loss occurs during data transmission according to an embodiment of the present invention
  • FIG. 6 is a flowchart of a method for determining whether to retransmit a service data unit according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a service that fails to be correctly decompressed before being decompressed by using a retransmitted service data unit according to an embodiment of the present invention
  • Method flow diagram for data unit data packets
  • FIG. 8 is a schematic diagram of a linked list of a service data unit that cannot be decompressed based on a context identifier and a sequence number of a first data block according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of a linked list of a service data unit and a first data block sequence number that cannot be decompressed based on a context identifier according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a processing method for combining robust header compression feedback and automatic retransmission request feedback according to an embodiment of the present invention
  • FIG. 11 is a schematic diagram of a bitmap of a retransmission feedback form according to an embodiment of the present invention.
  • FIG. 12 is a flowchart of a sub-packet encapsulation method for hybrid automatic repeat request in combination with robust header compression according to an embodiment of the present invention
  • FIG. 13 is a schematic structural diagram of a packet header compression communication apparatus using an automatic retransmission mechanism according to an embodiment of the present invention
  • FIG. 14 is a schematic structural diagram of a protocol data unit construction apparatus according to an embodiment of the present invention.
  • FIG. 15 is a schematic structural diagram of a compression error processing apparatus using an automatic retransmission mechanism according to an embodiment of the present invention.
  • 16 is a schematic structural diagram of a sub-package encapsulating apparatus for mixing an automatic retransmission request when combined with a packet header compression mechanism according to an embodiment of the present invention
  • FIG. 17 is a schematic diagram of a basic flow of a data packet compression method based on a multi-process hybrid automatic repeat request according to an embodiment of the present invention
  • FIG. 18 is a schematic diagram of a basic flow of a data packet decompression method based on a multi-process automatic retransmission request according to an embodiment of the present invention
  • FIG. 19 is a schematic diagram of a basic logical structure of a data packet compression apparatus based on a multi-process automatic retransmission request according to an embodiment of the present invention.
  • FIG. 20 is a schematic diagram of a basic logical structure of a data packet decompression apparatus based on a multi-process automatic retransmission request according to an embodiment of the present invention.
  • the embodiment of the present invention is described by taking the packet header compression mechanism as the robust header compression as an example.
  • the implementation manner in the method or apparatus according to the embodiment of the present invention may not be limited to the robust header compression mechanism.
  • it may also be a real-time transport protocol packet header compression system or an extended real-time transport protocol packet header compression mechanism;
  • MAC Media Access Control
  • PDU protocol layer protocol data unit
  • the method or the implementation in the device may not be limited to the MAC layer PDU, and may be a PDU of another lower layer protocol, for example, may be a Radio Link Control (LTEC) layer in a Long Term Evolution (LTE) system. PDU, etc.
  • LTEC Radio Link Control
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 1 it is a flowchart of a method according to an embodiment of the present invention.
  • S101 The sending end negotiates with the receiving end to determine parameters required for performing header compression and automatic retransmission request ARQ.
  • the ROHC layer and the ARQ layer of the two ends need to negotiate to confirm related information.
  • the network needs to perform some necessary parameter negotiation between the ARQ layer and the ROHC layer according to the current actual situation, such as the support capabilities of the ROHC layer and the ARQ layer.
  • the main contents of the negotiation are: Whether the connection uses the ARQ mechanism and the ROHC mechanism. If the connection uses the ARQ mechanism and the ROHC mechanism, it is necessary to notify the ROHC layer whether the ARQ uses the caching mechanism and the size of the buffer window.
  • the ROHC layer determines the corresponding working mode and compression algorithm according to the above parameters and the service type of the connection, and sends the compression algorithm and its parameters to the ARQ layer.
  • ARQ also uses a working mechanism combined with ROHC.
  • the sender and the receiver After the sender and the receiver negotiate to confirm the connection using the ARQ mechanism and the ROHC mechanism, the sender and the receiver also need to negotiate whether the relevant parameters of the two ends match. If they match, the transmission method combining the ARQ mechanism and the ROHC mechanism is used. If there is no match, the combination of the ARQ mechanism and the ROHC mechanism cannot be used.
  • the sender constructs a lower layer protocol data unit PDU including packet header compression information and sends the packet to the receiving end.
  • the SDU data packet is obtained according to the actual situation of the network. Packets are sliced and assembled into MAC layer PDUs suitable for network transmission.
  • the MAC layer PDU including the ROHC compression information is constructed by the transmitting end and sent to the receiving end, which can save the data volume transmitted by the network, and can help the unpacking header compression of the receiving end.
  • the ROHC compression information may include a context identifier (Context ID) in the SDU packet header and whether the error packet has a context update information or the like.
  • S103 The sending end interacts with the receiving end to perform a packet header compression process.
  • a robust header compression (ROHC) communication method using an ARQ mechanism may be included in the actual implementation process, including a processing mechanism for erroneous data packets or packet loss during transmission, and ROHC feedback combined with ARQ feedback.
  • the specific implementation method because the foregoing MAC layer PDU data packet and the SDU data packet contained therein contain the compressed information of the robust header compression, can implement the robust header compression more correctly and efficiently.
  • Embodiment 2 can implement the combination of the ROHC and the ARQ mechanism, improve the efficiency and correct rate of the header compression, and save valuable air interface resources.
  • Embodiment 2 will be described in more detail below with reference to the accompanying drawings:
  • the transmitting end and the receiving end negotiate the parameters required to perform the header compression and the automatic retransmission request ARQ.
  • the specific negotiation method is as follows: S 1. The receiving end and the sending Determine the new connection that needs to be established;
  • the method of transmitting ROHC and ARQ is not used, and if it is supported, the relevant parameters of the ARQ are notified to the ROHC layer;
  • the S4.ROHC layer adjusts some parameters of the ARQ according to the parameters of the ARQ, such as the compression algorithm and the size of the compressed window.
  • the content of the negotiation includes parameters required for performing header compression and automatic retransmission request ARQ;
  • the method of the second embodiment of the present invention can implement effective negotiation of parameters between the ROHC layer and the ARQ layer and effective negotiation of parameters between the transmitting end and the receiving end.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the third embodiment of the present invention details the method for the transmitting end to construct the MAC layer PDU data packet containing the ROHC compressed information and send it to the receiving end.
  • the service data unit SDU data packet is packaged and assembled according to the actual situation of the network.
  • the MAC layer PDU does not parse the robust header compression (ROHC) related information in the SDU data packet header, and the embodiment of the present invention adds an extended subheader in the MAC layer PDU data packet, and in the extended subheader Robust header compression related compression information is included.
  • ROHC robust header compression
  • the MAC layer PDU constructing entity packs and fragments the SDU data packets belonging to the same context identifier (Context ID), that is, encapsulates the SDU data packet having the same context identifier (Context ID) into a MAC layer PDU data packet.
  • Context ID context identifier
  • a context identifier (Context ID) is added to the extended subheader of the MAC layer PDU packet containing the service data unit SDU packet header and the context identifier (Context ID) in the SDU packet header is removed.
  • the extension subheader needs to be added to indicate a context identifier (Context ID), for example, if an SDU data packet is divided into With two MAC layer PDU packets, the context identifier (Context ID) in the latter MAC layer PDU packet is also not needed.
  • Context ID context identifier
  • a connection may have multiple context identifiers (Context IDs) as different robust header compressions ( The context identifier ( Context ID ) of ROHC ).
  • the context identifier ( Context ID ) is included in the header of each ROHC packet.
  • the MAC layer PDU constructing entity may separately separate the SDU data packets belonging to different context identifiers (Context IDs) according to the context identifier (Context ID) in the received SDU data packet header, and perform packet fragmentation separately.
  • the SDU packets contained in a MAC layer PDU packet have the same context identifier (Context ID).
  • the context identifier (Context ID) in each SDU packet header of the MAC layer PDU packet may be omitted, and an extension subheader is added in the MAC layer PDU packet, and the MAC is included in the subheader.
  • Context idl SDU1 and SDU3 having the same context identifier 1 (Context idl) are encapsulated into PDU1 at the time of encapsulation, context idl is identified in the extension header of PDU1, and ROHC data is included in each SDU header.
  • the context idl is omitted from the packet header; the different context identifier (Context ID), that is, the SDU2 with the context identifier 2 (the context id2) is encapsulated into the PDU2, and the context id2 is identified in the extension header of the PDU2, and likewise, in the ROHC packet header
  • Context ID the SDU2 with the context identifier 2
  • the context id2 is identified in the extension header of the PDU2 and likewise, in the ROHC packet header
  • the context id2 is omitted.
  • the MAC layer PDU constructing entity determines, according to the packet header format of the SDU data packet, whether the SDU data packet is an SDU data packet updated with context information, and identifies whether the SDU data packet is in the added extended subheader.
  • An SDU packet that is updated with a context (Context).
  • packets after robust header compression can be divided into packets with context information updates and packets with no context information updates. If the data packet updated without the context information is lost, it will not affect the subsequent packet unpacking header compression; however, if the packet with the context information update is lost, the subsequent packet unpacking header compression may be caused. failure.
  • the decompressor can derive from the BSN in the MAC layer PDU packet whether the erroneous packet has a context update.
  • the MAC layer PDU data packet may include multiple SDU data packets updated with context information. Then, the MAC layer PDU constructing entity adds a corresponding number of extended subheaders according to the number of SDU data packets updated with the context information. Each extension subheader contains a message with context (Context) The first BSN of the new SDU packet.
  • the MAC layer PDU construction entity only has the first data block of the SDU data packet with the context information updated ( The MAC layer PDU packet where the Block is located is added to the corresponding extended subheader, which contains the corresponding BSN.
  • the above two types carry the robust header compression through the MAC layer PDU packet extension subheader.
  • ROHC The way to compress information can be used at the same time or separately.
  • the MAC layer PDU packet extension subheader to carry ROHC related compression information
  • the compressed information other than the information is not described herein again in the embodiment of the present invention.
  • the BSN mentioned in the text may also be another sequence number (SN: Sequence Number).
  • SN Sequence Number
  • the robust header compression of the ARQ mechanism can be saved. The amount of data transmitted in the communication method can be helpful for de-packet header compression at the receiving end.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • Embodiment 4 of the present invention will describe in detail the processing mechanism when the robust packet header compression communication method using the ARQ mechanism occurs in the event of an erroneous data packet or packet loss during data transmission;
  • the existing mechanism is to discard the packet directly, and then feed back the non-acknowledgment information to the ARQ layer of the transmitting end (NACK: NotACKnowledge ) Waiting for a retransmission.
  • CRC Cyclic Redundancy Check
  • the MAC layer PDU packet is in the ARQ. Layers are discarded and not uploaded to the ROHC layer. Once the number of SDU packets included in the MAC layer PDU packet exceeds the sliding window width (SWW) in the W-LSB algorithm, subsequent packets will not be properly decompressed at the ROHC layer, or the MAC layer PDU packet It contains a packet for updating the context information. If the MAC layer PDU packet is directly discarded, it will also be due to the decompression state machine. The method normally updates the context information and cannot properly decompress subsequent packets.
  • SWW sliding window width
  • the receiving end ARQ layer cannot correctly decompress the received MAC layer PDU data packet, so that the SDU data packet cannot be parsed from the MAC layer PDU data packet, it is impossible to restore the context identifier (Context ID) of the SDU data packet header. Since the context identifier (Context ID) of the erroneous packet cannot be obtained, the information about the erroneous packet cannot be saved. The context information is updated when a subsequent data packet containing the context information update is correctly received.
  • the MAC layer sends the correctly parsed SDU data packet to the ROHC layer, since the context (Context) information of the ROHC layer decompression state machine has been updated, Header compression cannot be unpacked correctly. Therefore, in this error situation, even if there is an ARQ mechanism, the ROHC layer cannot be properly unpacked.
  • the data packet that the ARQ layer cannot correctly parse at the receiving end is exactly an IR data packet, it may cause the subsequent data packet to be decompressed without correct static context (SC) information.
  • SC static context
  • the ROHC layer in the prior art cannot know that the data packet is a retransmitted data packet, and the ROHC decompressor updates the existing context with the context information in the IR data packet. (Context) information, which again causes subsequent packets to not be properly decompressed.
  • the embodiment of the present invention proposes that the ARQ layer uses the following processing mechanism when receiving an erroneous data packet:
  • FIG. 5 it is a flowchart of a processing mechanism when an error packet or packet loss occurs during data transmission according to an embodiment of the present invention:
  • the receiving end performs a CRC check on the received MAC layer PDU data packet.
  • S502 Decompose the MAC layer PDU data packet that has not passed the CRC check into an SDU data packet, and send the SDU data packet to the ROHC layer, and notify the ROHC layer that the SDU data packet is an error data packet.
  • the MAC layer PDU data packet that does not pass the CRC check is a correct MAC layer PDU data packet, and the MAC layer PDU data packet is still decapsulated into an SDU data packet according to the prior art, and the SDU data packet is transmitted.
  • the ROHC layer is given and the ROHC layer is notified that the SDU packet is an erroneous data packet. S503.
  • the ROHC layer determines whether the SDU data packet is de-packet-capable and passes the CRC check of the ROHC layer.
  • S504 If the SDU data packet can be unpacked and compressed by the CRC, the corresponding context information is updated according to the correct header information obtained by the unpacking header compression, and the corresponding SDU data packet is discarded, and the process ends.
  • the SDU data packet is discarded.
  • the ROHC layer may wait for the SDU with the same context identifier (Context ID) and the next ARQ layer can correctly receive the SDU data packet. data pack.
  • Context ID The next SDU packet received by the ARQ layer with the same context identifier (Context ID) is divided into the following two cases:
  • Case 1 The SDU packet can be compressed by the correct unpacking header at the ROHC layer.
  • the embodiment of the present invention can determine whether the ROHC decompressor can correctly unpack the header and compress the next one with the same context.
  • SDU packet of Context ID In the N packets after receiving the erroneous packet, if the ARQ layer verification is not correct and the ROHC layer cannot be decompressed correctly, the next one is considered to have the same context.
  • the SDU packet of the Context ID can be compressed by the correct unpacking header in the ROHC layer decompressor; if the ARQ layer is valid in the N packets after receiving the erroneous packet and the ROHC layer cannot be decompressed correctly In the case, it is considered that the next SDU packet with the same context ID (Context ID) cannot be properly decompressed in the ROHC layer decompressor.
  • the value of N is related to the specific situation of the system, and may be negotiated and determined when the connection is established, or may be manually set.
  • the ROHC layer decompressor determines whether the received SDU data packet is a retransmitted SDU data packet; when determining that the SDU data packet is a retransmitted SDU data packet, decompressing the previous cache by using the retransmitted SDU data packet SDU packets that are not properly decompressed.
  • the embodiment of the present invention provides a method for determining whether a received SDU data packet is a retransmitted SDU.
  • One method is that the ARDU layer can notify the ROHC layer that the SDU data packet is a retransmitted SDU data packet, and another method, as shown in FIG. 6, includes the following steps:
  • the receiving end ARQ layer uploads each SDU data packet in the received MAC layer PDU data packet to the ROHC layer decompressor, and notifies the ROHC layer decompressor of the first BSN in the SDU data packet;
  • the ROHC layer decompressor establishes and maintains a list corresponding to the Context information and the BSN according to the first BSN of each SDU data packet.
  • the ROHC layer decompressor determines whether it is a retransmitted SDU data packet according to whether the first BSN of the SDU data packet is greater than a maximum BSN in the list.
  • the ROHC layer decompressor determines that the first BSN of the SDU data packet is greater than the largest BSN maintained in the list, it is confirmed that it is not a retransmitted SDU data packet.
  • the ROHC layer decompressor determines that the first BSN of the SDU packet is not greater than the largest BSN maintained in the list, it is confirmed that it is a retransmitted SDU packet.
  • the method for determining whether the SDU data packet is a retransmitted SDU data packet may be that the first BSN of the SDU data packet is compared with the first BSN of the last received SDU data packet, and if it is smaller than the first BSN of the previous SDU data packet, Then it can be judged as a retransmitted SDU data packet.
  • a person skilled in the art may understand that there may be other methods for determining whether to retransmit an SDU data packet or a combination of the foregoing methods, and the embodiment of the present invention is not limited herein.
  • the embodiment of the present invention may utilize the weight The SDU data packet that is buffered before being decompressed and subsequently cached is not correctly decompressed. Referring to FIG. 7, the specific method is as follows:
  • the linked list form can be as shown in FIG. 8:
  • the current context is cached each time a fatal error occurs ( The Context information corresponds to the undecompressable packet caused by the fatal error packet, and the linked list form can be as shown in FIG.
  • the BSN of the first block in the retransmitted SDU data packet is greater than all BSNs in the storage linked list, it indicates that this is not an SDU data packet that was previously causing a fatal error, if it is smaller than all BSNs in the storage linked list or smaller than the storage linked list. Part of the BSN, which indicates that this is the SDU packet that caused the fatal error.
  • the retransmission data packet can be identified at the receiving end, and the SDU data packet that has not been correctly decompressed can be decompressed to improve the accuracy of the data transmission.
  • the ARQ layer can process the subsequent data packet in the following two types. the way:
  • Method 1 The subsequent packets are still uploaded. If the MAC layer PDU packet in the foregoing Embodiment 3 of the present invention is not encapsulated, that is, in the MAC layer PDU packet extension subheader, it is identified whether the SDU packet is updated with context information. In the encapsulation form of the SDU data packet, the ARQ layer cannot determine whether the subsequent data packet has a Context information update packet. Therefore, in this embodiment, the data packet that cannot be correctly decompressed is still uploaded to the ROHC layer decompressor, and the ROHC layer decompressor continues to try to decompress.
  • Decompressing that is, attempting to decompress the SDU packet after the arrival of the SDU packet that can be correctly received by the next ARQ layer that cannot have the same context identifier (Context ID) in the SDU packet that is correctly decompressed at the ROHC layer .
  • the ARQ layer When the above error packet cannot be correctly retransmitted within the maximum number of retransmissions or the maximum lifetime (Lifetime), the ARQ layer will notify the ROHC layer decompressor that the error packet cannot be correctly retransmitted, and the other buffer will be cached in the ROHC layer. Packets that are incorrectly packetized and cannot be decompressed are discarded, and the corresponding contents in the list maintained by the ROHC layer are deleted.
  • the ROHC layer cannot properly decompress subsequent packets. If the subsequent packets are still uploaded to the ROHC layer, it will cause a huge waste of system resources. Therefore, when the MAC layer PDU constructing entity uses the foregoing embodiment 3 to identify in the MAC layer PDU packet extension subheader whether the SDU data packet is an encapsulated form of an SDU data packet updated with context information,
  • the receiving end ARQ layer can determine whether the context information (Context) in the context identifier (Context ID) can be updated in the subsequently received SDU data packet, so the second method does not upload the subsequent data packet, but directly caches the subsequent data packet. At the ARQ layer, until the next packet with the context information update is correctly received or the retransmitted packet is received correctly.
  • the ARQ layer deletes its cached data packet that cannot be correctly decompressed due to the packet error, and notifies the ROHC layer to delete. The corresponding content in the list maintained by the ROHC layer.
  • the receiving end ARQ layer determines that the erroneous data packet does not have a fatal error, and therefore does not cause error diffusion, since there is no subsequent data packet error, the context identifier (Context ID) of the SDU data packet in the erroneous data packet cannot be determined. The result is that the context (Context) information needed to decompress the packet cannot be cached.
  • the ARQ layer at the receiving end should immediately notify the transmitting end that the ARQ layer does not retransmit the data packet, so as to avoid wasting air interface resources.
  • the error diffusion phenomenon is avoided as much as possible, and the compression efficiency and the correct rate are improved.
  • Embodiment 5 is a diagrammatic representation of Embodiment 5:
  • This embodiment details the processing mechanism of combining ROHC feedback and ARQ feedback when using the robust header compression communication method of the ARQ mechanism.
  • the processing mechanism combined with ROHC feedback and ARQ feedback uses ARQ feedback instead of ROHC feedback to save system resources.
  • an embodiment of the present invention includes the steps of:
  • the ROHC layer decompressor at the receiving end receives the SDU data packet transmitted by the ARQ layer at the receiving end, performs depacket header compression, and performs CRC check.
  • the SDU packet decompression error described in the ARQ layer Using the feedback mechanism of the ARQ, the ARQ layer at the receiving end notifies the transmitting end to perform retransmission;
  • the ROHC layer decompressor no longer feeds back to the ROHC layer compressor through the original ROHC feedback mechanism, but notifies the ARQ layer of the data decompression error at the receiving end, and uses the feedback mechanism of the ARQ to perform retransmission.
  • the feedback due to ROHC is divided into dynamic context DC feedback and static context SC feedback.
  • the ARQ layer of the receiving end verifies that the correct data packet is sent to the ROHC layer, but the packet header compression is not correctly performed. Therefore, when a packet is faulty, the ARQ feedback replaces the ROHC feedback by up to 3 bits of information, the first bit indicates whether the block is correctly received, and the second bit indicates the block (Block) although at the ARQ layer. Receive error, but whether the ROHC layer can be properly unpacked header compression, the third bit indicates whether the SDU data packet header of the data block (Block) is a static context error or a dynamic context error.
  • FIG. 11 is a schematic diagram of a bitmap in a feedback form according to an embodiment of the present invention.
  • the receiving end ARQ layer feeds back the error information for each erroneous SDU data packet by using a 3-bit bitmap for the BSN of the first data block (Block) of the erroneous SDU data packet.
  • Feedback specific error form that is, use one of the bits to indicate whether the static context information is wrong or the dynamic context information is incorrect (for example, “ ⁇ indicates static context information error, "0" indicates dynamic context information error), and then use The other bit indicates whether the ROHC de-packet header compression is correct (for example, “ ⁇ indicates that the ROHC de-packet header compression is correct, "0” indicates ROHC de-packet header compression error), and finally uses the remaining one bit to indicate whether the SDU packet is correctly received. (For example, "1" for correct reception and "0" for incorrect reception).
  • the other data block (Block) has the same feedback mode as the ARQ feedback method in the prior art, and the first data block (Block) of the correctly transmitted SDU data packet uses one bit to indicate that it is correctly received. Since the ARQ layer at the transmitting end divides the SDU data packet into different data blocks (Blocks), the ARQ layer at the transmitting end can know which data block (Block) is the first BSN of the SDU.
  • the number of bits required for retransmission of feedback information may be less than 3 bits.
  • the second bit identification data block (Block) can be correctly decompressed at the ROHC layer, then The third bit is needed.
  • the first bit identifies that the block is correctly received, then the next two bits are not required to identify the type of error.
  • the transmitting end After receiving the feedback from the receiving end, the transmitting end negotiates with the ROHC layer according to the feedback information and the relevant SDU data packet information saved by the transmitting end to determine whether to retransmit the original data packet.
  • the ARQ layer at the transmitting end interacts with the ROHC layer compressor to determine an erroneous SDU packet and Whether it contains context information. Specifically, it can include the following situations:
  • the data packet is an important IR data packet containing static context information. If the packet transmission fails, the decompression of the subsequent large number of packets fails, and the ROHC layer compressor retransmits the IR packet. If the maximum number of retransmissions or the maximum retransmission life cycle (Lifetime) has been exceeded, the ROHC layer compressor needs to transfer the compression state machine to the IR state and resend the IR packets.
  • the data packet contains dynamic context information, but due to the limitation of the sliding window width in the W-LSB algorithm, the data packet is no longer in the W-LSB sliding window, that is, the data packet is lost, and the subsequent data packet is
  • the context information of the data packet is not updated and cannot be correctly decompressed, and the ARQ layer of the transmitting end needs to retransmit the data packet. If the maximum number of retransmissions or the maximum retransmission life cycle (Lifetime) has been exceeded, the ROHC layer compressor needs to transfer the compression state machine to the FO state and re-update the dynamic context information.
  • the ARQ feedback is used instead of the ROHC feedback in the combination of the ROHC mechanism and the ARQ mechanism to save system resources.
  • the embodiment of the present invention also provides a HARQ layer sub-packet encapsulation method when combined with ROHC.
  • the HARQ mechanism is different from the traditional ARQ mechanism.
  • HARQ is generally used for retransmission of the physical layer. It is not only retransmission, but also includes forward error correction FEC, that is, it has certain error correction function; ARQ is used for MAC. Layer retransmission, no error correction.
  • a sub-packet is a data unit of a physical layer. The data unit is not involved in the ARQ mechanism. A sub-packet is generally only applicable to the HARQ mechanism.
  • HARQ allocates several HARQ channels (Channels) for each HARQ-enabled connection, and encapsulates the PDUs from the HARQ connections into HARQ sub-packets.
  • Channels HARQ channels
  • HARQ After generating a sub-packet, HARQ sends it to the ARQ layer of the H receiver through different HARQ channels (Channel).
  • each HARQ channel (Channel) is transmitted and the data packet on the HARQ channel (Channel) will stop transmitting subsequent sub-packets until it is successfully received.
  • the acknowledgment (ACK: ACKnowledge) feedback of the receiving end at the same time, the HARQ sub-packet will continue to be encapsulated and transmitted on other HARQ channels corresponding to the HARQ connection (Connection), thereby causing the out-of-order of the receiving end. .
  • each of the HARQ sub-packets contains more SDU data packets, and once the HARQ sub-packet retransmission occurs, The SDU packets received by the ROHC layer will be greatly out of order.
  • the embodiment of the present invention proposes a sub-packet encapsulation method when HARQ is combined with ROHC, and the method includes the following steps:
  • the MAC layer After receiving the SDU data packet sent by the ROHC layer, the MAC layer encapsulates the SDU data packet into a PDU and sends it to the PDU.
  • the HARQ layer encapsulates the PDU into a sub-packet;
  • the first SDU in the first PDU of each context identifier (Context ID) in the encapsulated sub-packet is an IR packet.
  • FIG. 12 may be implemented as follows:
  • the HARQ layer before the ROHC layer starts to compress, the HARQ layer, the MAC layer, and the ROHC layer first negotiate the number of PDUs encapsulated in each HARQ packet;
  • the N value is a number that can be supported by the HARQ layer, the MAC layer, and the ROHC layer, specifically, the size of the N value and the MAC layer PDU packet, and the modulation coding mode used by the HARQ (MCS: Modulated Coding Scheme) )related.
  • MCS Modulated Coding Scheme
  • the ROHC layer starts to compress, and sends an SDU data packet to the MAC layer.
  • the MAC layer After receiving the SDU data packet, the MAC layer encapsulates the SDU data packet into a PDU data packet and sends it to the HARQ layer, and records the PDU data sent to the HARQ layer at the MAC layer. The number of packages.
  • the MAC layer clears its counter, and notifies each context identifier on the HARQ connection (Connection) corresponding to the HARQ channel (Channel).
  • the compression state of the ROHC compressor corresponding to the Context ID is rolled back, and then starts waiting for IR packets from the ROHC layer.
  • the HARQ layer After receiving the notification of the MAC layer, the HARQ layer receives the first PDU data packet, and encapsulates the new sub-packet from the PDU data packet.
  • the first SDU data packet in the first PDU data packet of each context identifier ( Context ID ) in the encapsulated sub-packet may be an IR packet, thereby Ensure that subsequent packets can be properly decompressed, so that even if sub-packets are out of order, they will not affect decompression.
  • the IR data packet may also be other initialization and status information update packages, which are not limited in this embodiment of the present invention.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (RAM: Read-Only Memory), or a random access memory (RAM: Random Access Memory).
  • an embodiment of the present invention further provides a packet header compression communication apparatus using an automatic retransmission mechanism, and the apparatus includes a transmission module 1301 and a receiving module 1302.
  • the sending module 1301 is configured to negotiate with the receiving module 1302 to determine parameters required for performing header compression and ARQ; construct a lower layer protocol data unit PDU including packet header compression information and send the signal to the receiving module 1302; and interact with the receiving module 1302 to perform header compression. Communication.
  • the receiving module 1302 is configured to negotiate with the sending module 1301 to determine parameters for performing header compression and ARQ; and receive a lower layer protocol data unit PDU that includes the packet header compression information sent by the sending module 1301; and interact with the sending module 1301 to perform packet header compression communication.
  • the sending module 1301 further includes a header compression unit 13011 and an automatic repeat request sending unit 13012;
  • the header compression unit 13011 is configured to perform data compression processing on the header
  • the automatic repeat request sending unit 13012 is configured to add an extended subheader in the lower layer protocol data unit PDU, include header compression information in the extended subheader, and send the lower layer protocol data unit PDU to the receiving module 1302.
  • the receiving module 1302 further includes a decompression unit 13021 and an automatic retransmission request receiving unit 13022;
  • the automatic repeat request receiving unit 13022 is configured to receive the lower layer protocol data unit PDU that is sent by the automatic repeat request sending unit 13012, and process the lower layer protocol PDU into an SDU and send it to the decompressing unit 13021.
  • the decompression unit 13021 performs a decompression process on the received SDU.
  • the header compression may be robust header compression, and the lower protocol data unit PDU may be a MAC layer PDU.
  • an embodiment of the present invention further provides a protocol data unit PDU construction apparatus.
  • the device includes a packet header compression information obtaining module 1401 and a packet header compression information adding module 1402.
  • the packet header compression information acquiring module 1401 is configured to obtain packet header compression information from the packet header compressed SDU data packet and send the packet header compression information adding module 1402. ;
  • the header compression information adding module is configured to add an extended subheader in the protocol data unit PDU, and add the header compression information in the extended subheader;
  • the header compression information may include a context identifier of the service data unit SDU or whether the service data unit SDU data packet is identification information of a service data unit SDU data packet with context information update.
  • the header compression may be robust header compression, and the lower protocol data unit PDU may be a MAC layer PDU.
  • the embodiment of the present invention further provides a packet header error processing apparatus that uses an automatic retransmission mechanism, where the apparatus includes a first check unit 1501, a split unit 1502, and a second check unit 1503. , updating unit 1504;
  • the first check unit 1501 performs a cyclic redundancy check (CRC check) on the received protocol data unit PDU data packet; the data unit PDU data packet, and transmits the service data unit SDU data packet to the packet header compression layer. And notifying the packet header compression layer that the service data unit SDU data packet may be incorrect;
  • CRC check cyclic redundancy check
  • the second checking unit 1503 determines whether the service data unit SDU data packet is depackable header compressed and passes the cyclic redundancy check of the packet header compression layer;
  • the updating unit 1504 when the second check unit 1503 confirms that the service data unit SDU data packet can be depacketized and compressed by the cyclic redundancy check of the packet header compression layer, is correctly obtained according to the unpacking header compression.
  • the header information updates the corresponding context information.
  • the header compression may be a robust header compression ROHC, and the lower protocol data unit PDU may be a MAC layer PDU.
  • an embodiment of the present invention further provides a sub-packet encapsulating apparatus for mixing an automatic retransmission request when combined with a packet header compression mechanism, where the encapsulating apparatus includes a negotiating unit 1601 and a counting unit. 1602 and encapsulating unit 1603, the negotiating unit 1601 is configured to negotiate to determine the number N of protocol data units encapsulated in each hybrid automatic repeat request sub-packet before the robust header compression ROHC layer starts compression, where N is The number of hybrid automatic repeat request requests supported by the HARQ layer, the medium access control MAC layer, and the packet header compression layer.
  • the counting unit 1602 is configured to record the number of protocol data unit PDU data packets sent by the medium access control MAC layer to the hybrid automatic repeat request HARQ layer, and when the number reaches the set number N, count The unit is cleared, and the packet header compression layer compressor state backoff corresponding to each context identifier (Context ID) on the connection corresponding to the hybrid automatic repeat request HARQ layer channel is notified.
  • Context ID context identifier
  • the encapsulating unit 1603 is configured to: after the media access control MAC layer receives the service data unit SDU data packet that belongs to the initialization and status information update packet sent by the packet header compression layer, start to encapsulate the hybrid automatic weight in the hybrid automatic retransmission request HARQ layer.
  • a HARQ layer sub-packet is requested, and the first service data unit SDU in the first protocol data unit PDU of each context identifier encapsulated by each sub-packet is an initialization and status information update packet.
  • the header compression may be robust header compression, and the lower protocol data unit PDU may be a MAC layer PDU.
  • FIG. 17 a basic flow chart of a data packet compression method based on a multi-process hybrid automatic repeat request is provided in an embodiment of the present invention.
  • HARQ hybrid automatic repeat request
  • ARQ automatic repeat request
  • the ARQ layer data packet number is used as a basis for judging the data packet order, and the receiving end is instructed to receive the indication of the header compression layer data packet context information in the packet header compression layer data packet.
  • the information is encapsulated in the radio link control layer (for the IEEE 802.16 system at the MAC layer) packets are extended to the receiving end.
  • the basic flow diagram of a packet compression method based on multi-process hybrid automatic repeat request provided by the embodiment shown in FIG. 17 includes the following steps:
  • the sender automatic retransmission request layer receives the data packet from the packet header compression layer, where the packet header compression layer data packet includes at least context information.
  • the packet header compression layer may be a robust header compression layer (ROHC layer).
  • the ARQ layer or HARQ layer under the ROHC layer has its own packet sequence number.
  • the packet sequence number can provide the sequence information of the data packet for the ROHC layer. For example, for the ARQ layer data packet, the decompressor can obtain the packet sequence number SN of the RLC layer; for the HARQ layer data packet, the decompressor can also obtain the equivalent.
  • the packet header compression layer data packet for example, the ROHC layer data packet
  • the hybrid automatic retransmission request layer data packet is identified to indicate that the receiving end saves the packet, so as to maintain the synchronization of the context information between the compressor and the decompressor to ensure that the ROHC data packet arrives or receives sequentially, and the ROHC layer compressor at the transmitting end It is necessary to inform the receiving end, after which packets are successfully decompressed by the ROHC layer decompressor, the receiving end needs to save the context information contained in the ROHC layer data packet.
  • the above object can be achieved in the following manner.
  • an extended subheader is added in the automatic retransmission request layer data packet, where the extended subheader includes the indication receiving end
  • an extended subheader is added to the automatic retransmission request layer data packet.
  • the indication information is equivalent to the extended sub-header included in the MAC layer data packet, and the foregoing indication information is equivalent to the HARQ mechanism.
  • PHY layer physical layer
  • LTE Long Term Evolution
  • Subheader for the use of HARQ mechanism, The above indication information is equivalent to an extension subheader included in the MAC layer packet.
  • the packet number of the automatic retransmission request layer data packet is increased by one, and the incremented packet number indicates that the receiving end saves the packet header compression layer data packet.
  • the header header compresses the layer packet context information.
  • the predetermined number may be set by the transmitting end.
  • the size of the sliding window of the transmitting end that is, the sliding window width (SWW).
  • the packet header compression layer packet context information that needs to be saved at the receiving end is the header of the packet header compression layer packet obtained after the last packet is decompressed from the automatic retransmission request layer (or the hybrid automatic repeat request layer) packet. Compress layer packet context information.
  • the HARQ layer (or ARQ layer) data packet identifier encapsulated by the packet header compression layer (eg, ROHC layer) data packet is used to instruct the receiving end to save the packet header compression layer data packet in the packet header compression layer data packet.
  • the indication information of the context information can synchronize the context information between the compressor and the decompressor, so that when the retransmission of the data packet occurs, the data packet can still be decompressed correctly according to the relevant packet number order.
  • FIG. 18 a basic flow chart of a data packet decompression method based on a multi-process hybrid automatic repeat request is provided in an embodiment of the present invention.
  • HARQ hybrid automatic repeat request
  • ARQ automatic repeat request
  • the present embodiment is described by taking a hybrid automatic repeat request (HARQ) as an example, those skilled in the art can understand that the technical solution of the present invention can be applied to an automatic repeat request (ARQ), and the difference is Only in the automatic repeat request (ARQ) mechanism, the ARQ layer data packet number is used as a basis for judging the data packet sequence, and the receiving end is configured to save the header compression layer data packet context information in the packet header compression layer data packet.
  • the indication information is an extended sub-hair that is encapsulated in a radio link control layer (RLC layer) packet to the receiving end.
  • RLC layer radio link control layer
  • the basic flow diagram of a packet decompression method based on multi-process hybrid automatic repeat request provided by the embodiment shown in FIG. 18 includes the following steps:
  • the receiving end packet compression layer receives the data packet from the local hybrid automatic repeat request layer, and records that the received hybrid automatic repeat request layer data packet has a packet number Pn.
  • the data is The packet is sent to the packet header compression layer (for example, the ROHC layer), and the packet number of the HARQ layer (or ARQ layer) packet encapsulating the data packet is also uploaded to the packet header compression layer (for example, the ROHC layer).
  • the packet header compression layer for example, the ROHC layer
  • the packet number of the HARQ layer (or ARQ layer) packet encapsulating the data packet is also uploaded to the packet header compression layer (for example, the ROHC layer).
  • the receiving end saves the header compression layer packet context information in the packet header compression layer data packet, for example, an indication included in an extended subheader of the HARQ layer data packet (or ARQ layer data packet)
  • the receiving end saves the indication information of the packet header compression layer packet context information in the packet header compression layer data packet, and also needs to notify the ROHC layer decompressor of the identifier. After receiving the identifier, the decompressor only needs to save the last one.
  • the header compression layer packet context information of the header compression layer data packet (for example, the ROHC layer data packet) obtained after the HARQ layer data packet (or the ARQ layer data packet) is decompressed.
  • S1802 Query the list maintained by the local end, and obtain the header compression layer packet context information corresponding to the packet number in the list that is smaller than and closest to the Pn.
  • the method for generating the list is as follows:
  • the header compression layer packet context information is established.
  • the decompressor at the decompressor end, whenever a packet header compression layer (eg, ROHC layer) packet of the transmitting end is uploaded from the HARQ layer (or ARQ layer), the decompressor also receives the HARQ layer (or ARQ layer). The information of the packet number of the HARQ layer (or ARQ layer) to which these packets belong.
  • a packet header compression layer eg, ROHC layer
  • the data packets further include an identifier that needs to save context information
  • the header compression layer eg, ROHC layer
  • Preserving the context information of the last header compression layer packet that is correctly decompressed thereby saving and maintaining a HARQ layer (or ARQ layer) packet number and saved header compression layer data on the decompressor side.
  • the receiving end may also be the HARQ layer in the list (or
  • the ARQ layer allocates the packet number in the order in which it arrives at the receiving end, that is, whenever a HARQ layer (or ARQ layer) packet arrives, its sequence number is immediately followed by the non-retransmitted HARQ that arrived before.
  • the header compression layer is established in the packet header compression layer.
  • the ROHC layer when performing decompression, query the HARQ layer (or ARQ layer) data packet number in the above list according to the HARQ layer (or ARQ layer) data packet number corresponding to the to-be-decompressed data packet.
  • the context information corresponding to the HARQ layer (or ARQ layer) packet number of the HARQ layer (or ARQ layer) packet number is closest to the Context information once the context information is queried.
  • This context information decompresses the packet header compression layer (eg, ROHC layer) data packet. For a packet that does not receive the HARQ layer (or ARQ layer) notification save context information, even if it is properly decompressed, it is not necessary to update and save the context information according to the original mechanism.
  • the packet header compression layer for example, the ROHC layer
  • the packet is closest to the currently received HARQ layer (or ARQ layer) packet number and is smaller than the HARQ.
  • the context (Context) information corresponding to the HARQ layer (or ARQ layer) packet number of the layer (or ARQ layer) packet number.
  • the packet header compression layer decompressor can correctly decompress the packet header compression layer data packet, thereby ensuring the ARQ (or HARQ) mechanism and the header compression (for example, , ROHC)
  • the combination of mechanisms not only improves data transmission efficiency, but also reduces system resource waste.
  • FIG. 19 a basic logical structure diagram of a packet compression apparatus based on a multi-process hybrid automatic repeat request is provided in an embodiment of the present invention.
  • ARQ automatic repeat request
  • ARQ layer data packet number is used as a basis for judging the data packet sequence
  • the receiving end is configured to save the header compression layer in the packet header compression layer data packet.
  • the indication information of the packet context information is an extended sub-mail sent to the receiving end of the data packet encapsulated at the radio link control layer (at the MAC layer for the IEEE 802.16 system).
  • a packet compression apparatus based on a multi-process hybrid automatic repeat request provided by the embodiment shown in FIG. 19 includes:
  • the receiving unit 1901 is configured to receive a data packet from a packet header compression layer, where the packet header compression layer data packet includes at least context information.
  • Encapsulating unit 1902 configured to encapsulate a packet header compression layer data packet received by the receiving unit 1901 to form a hybrid automatic repeat request layer data packet;
  • the identifying unit 1903 is configured to identify the hybrid automatic repeat request layer data packet encapsulated by the encapsulating unit 1902, to indicate that the receiving end saves the header compression layer data packet context information in the packet header compression layer data packet.
  • FIG. 20 a basic logical structure diagram of a packet decompression apparatus based on a multi-process hybrid automatic repeat request is provided in an embodiment of the present invention.
  • ARQ automatic repeat request
  • ARQ automatic repeat request
  • the ARQ layer data packet number is used as a basis for judging the data packet sequence, and the receiving end is instructed to receive the indication information of the header compression layer data packet context information in the packet header compression layer data packet.
  • the extension is sent to the receiving end of the packet encapsulated in the radio link control layer (at the MAC layer for the IEEE 802.16 system).
  • a packet decompression apparatus based on a multi-process hybrid automatic repeat request provided by the embodiment shown in FIG. 20 includes:
  • the receiving unit 2001 is configured to receive a data packet and a packet number of the hybrid automatic repeat request layer from the receiving end, and record that the received hybrid automatic repeat request layer data packet has a packet number Pn;
  • the obtaining unit 2002 is configured to: after the receiving unit 2001 receives the data packet from the receiving end automatic retransmission request layer and the packet number thereof, query the list maintained by the local end, and obtain the smaller and closest to the list.
  • the decompressing unit 2003 is configured to decompress the received hybrid automatic repeat request layer data by using the header compression layer packet context information corresponding to the packet number that is obtained by the obtaining unit 2002 and is closest to the Pn. package.
  • the device further includes:
  • a saving unit configured to save a packet header compression layer packet context information of the packet header compression layer data packet obtained after decompressing the hybrid automatic repeat request layer packet;
  • a list generating unit configured to establish the header compression layer according to the header compression layer packet context information Mc of the last header compression layer data packet obtained by decompressing the hybrid automatic repeat request layer data packet saved by the saving unit a packet context information Mc corresponding to a list of packet numbers of the hybrid automatic repeat request layer packets encapsulating the header compression layer packet context information Mc;
  • the packet number allocating unit is configured to allocate a packet number in the order in which the hybrid automatic repeat request layer data packets in the list generated by the list generating unit arrive at the receiving end.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read only memory (ROM: Read Only Memory), random access memory (RAM: Random Access Memory), disk or optical disk.
  • ROM Read Only Memory
  • RAM Random Access Memory
  • the road execution node and the mobile communication system are described in detail, and the principles and implementation manners of the present invention are described in the following. The description of the above embodiments is only used to help understand the method and core idea of the present invention; For those skilled in the art, the present invention is not limited by the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

一种采用自动重传机制的头压缩通信方法和相应装置,与接收端协商确定进行包头压缩和自动重传请求所需参数并构造包含包头压缩信息的下层协议数据单元并发送给接收端; 通过本发明实施例中的方法, 可以实现包头压缩和自动重传请求机制的结合,提高包头压缩的效率和正确率,节省空口资源。

Description

一种包头压缩通信方法和装置
本申请要求于 2009 年 04 月 20 日提交中国专利局、 申请号为 PCT/CN2009/071368, 发明名称为 "一种釆用 ARQ机制的头压缩通信方法和 装置" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及无线通信领域, 具体涉及一种包头压缩通信方法和装置。
背景技术
与有线链路相比, 无线链路传输环境恶劣, 传输环境不稳定, 这些因素导 致无线链路传输速率较低、 误码率偏高。 因此, 现代无线通信业界都在努力寻 求一种传输速率高、误码率低的方案来对抗无线链路的这种固有特性, 减小无 线链路对通信的不利影响。 混合自动重传请求 ( HARQ: Hybrid Auto-Repeat reQuest )技术和鲁棒性包头压缩 (ROHC, Robust Header Compression )技术 相结合就是其中一种解决方案。
HARQ是在自动重传请求(ARQ: Auto-Repeat reQuest ) 中引入前向纠错 ( FEC: Forward Error Correction )的请求重发技术, 其基本的处理原则是: 如 果传输差错在 FEC的纠错范围之内, 那么进行前向纠错; 如果超出了其纠错 范围, 那么接收方请求重传。 ROHC 是一种基于流的包头压缩 (HC: Header Compression )方案, 可以对某些数据包(例如, IPv6分组 ) 中开销过大的包 头(Header )进行压缩以减少数据传输量, 提高带宽利用率。 在无线通信系统 中, 可以通过 ROHC机制建立一个单向的 ROHC信道(是一个逻辑信道 )外 加一个 ROHC反馈信道( FCH: Feedback CHannel )。 单向 ROHC信道入口是 压缩器, 出口是解压缩器; ROHC反馈信道 FCH为承载反馈信息的逻辑信道, 其入口是解压缩器, 出口是压缩器, 两种信道的压缩器和解压缩器成对出现。 压缩器将原始数据的包头压缩之后,通过 ROHC信道发送给解压缩器, ROHC 反馈信道 FCH的解压缩器将反馈信息通过 ROHC反馈信道 FCH反馈至 ROHC 反馈信道 FCH的压缩器。
简言之, ROHC机制的包头压缩可以被描述为两个状态机 (一个压缩状态 机和一个解压状态机)之间的互作用。 两个状态机各自都有三种不同的状态, 两个状态机都是由最低的压缩状态开始逐步转变到更高的状态。 其中, ROHC 压缩状态机包含三种状态: 初始 /更新 (IR: Initial and Refresh )、 一阶(FO: First Order )和次阶(SO: Second Order )压缩状态; ROHC解压缩状态机包 含三种状态: 无上下文(NC: No Context )解压缩状态、 静态上下文( SC: Static Context )解压缩状态和全上下文(FC: Full Context )解压缩状态。 对于 压缩状态机, 在处于 IR压缩状态下, 解压缩器几乎没有解压缩所需的静态上 下文和动态上下文信息。 ROHC压缩器发送 IR或是 IR-DYM数据包, IR包 可以既包含静态上下文 SC信息又包含动态上下文(DC: Dynamic Context ) 信息, 而 IR-DYM 包只可以包含动态上下文信息。 当解压缩器收到静态上下 文信息和部分动态上下文信息时, 压缩状态机处于 FO压缩状态。 当解压缩器 收到所有的静态上下文信息和上下文信息, 压缩状态机进入 SO压缩状态, 原 始数据的包头被压缩到最小。 NC解压缩状态是解压缩器的初始状态, 表示解 压缩器没有收到数据包, 没有解压缩需要的任何信息; SC解压缩状态表示解 压缩器获得全部静态解压缩的信息以及部分动态解压缩信息; FC解压缩状态 表示解压缩器已经获得了全部的解压缩信息。
ROHC 的上下文(Context )信息分成两种不同类型: 静态上下文( SC: Static Context )信息和动态上下文(DC: Dynamic Context )信息。 其中, 静 态上下文信息是很少变化的, 因此, 一般只要接收端正确接收到, 压缩器就可 以不需要再传输; 而动态上下文信息是变化的。 现有的 IP数据包头中的动态 上下文信息主要为序列号、 时间戳和 IP标识, 这三个参数的变化有一定的规 律。 现有的 RFC 3095中详细的定义了这三个参数的具体压缩方法, 其中最主 要的压缩方法为最不重要比特( LSB: Least Significant Bits )编码和基于窗口 的最不重要比特( W-LSB: Window-based Least Significant Bits )编码。 W-LSB 算法是对 LSB算法的改进, 是一种基于滑动窗口的 LSB编码算法, 其编码过 程中,在滑动窗口的范围内包含一组参考基值。解压缩器只要收到滑动窗口中 的任意一个基值就可以正确解压缩编码后的值。 使用 W-LSB编码后, 除非滑 动窗口中所有的基值全部丟失, 否则压缩器不会和解压缩器失去同步。
对于 W-LSB编码方案, 滑动窗口宽度( SWW: Sliding Window Width)是 评价 W-LSB编码健壮性和压缩率的重要参数。 若滑动窗口过小, 则无线信道 上丟失少量分组就会导致后续传递到解压缩器的数据包不能被成功解压;如果 滑动窗口过大, 对每一个压缩域中的最不重要比特(LSBs: Least Significant Bits )进行编码的比特位数就会增大, 降低了包头压缩的效率。
根据上面对现有技术的研究,发明人发现: 如果包含了静态上下文信息更 新的数据包发生了错误或是丟失,会导致之后所有的数据包都无法获取静态上 下文信息, 以至于后续大量的解压缩失败; 如果连续丟失的数据包的数量大于 W-LSB滑动窗口宽度 SWW,也会导致后续数据包不能被解析出动态上下文信 息, 以至于解压缩失败。 由于现有 ROHC机制对于错误包头的处理为直接丟 弃而不作任何的进一步处理, 所以当上述情况发生时, 只在错误数据包率达到 一定程度的情况下, 才会导致状态回退, 并更新上下文信息, 重新同步解压缩 状态。 特别是在无线链路情况较差时, 会导致频繁的状态回退, 极大地降低了 压缩效率。
发明人在对现有技术进行进一步研究后发现,将 ROHC机制和 ARQ机制 (包括 HARQ机制 )相结合会出现以下问题:
1、 ARQ的重传机制导致数据包乱序。 由于 ARQ均釆用重传机制提高数 据传输的质量, 导致数据块序列号(BSN: Block Sequence Number )靠前的数 据包因重传而比 BSN靠后的数据包后到, 而鲁棒性包头压缩 (ROHC )仅有 一定的抗乱序能力。 一旦数据包的乱序程度超过了 ROHC滑动窗口的容量大 小, 即使该数据包能够正确接收, ROHC层也无法正确解压, 导致系统资源的 浪费;
2、 ARQ的重传机制均会导致 ROHC接收端无法及时向 ROHC发送端反 馈信息。 HARQ每次发送的子包(sub-packet ) 中包含有较多的服务数据单元
( SDU: Service Data Unit ), 而接收端要将整个子包( sub-packet )接收完全并 进行解压缩后, 才能向发送端进行反馈, 从而导致子包(sub-packet ) 中较早 被压缩的 ROHC数据包反馈时延较长; 自动重传请求使用的是滑动窗口机制, 滑动窗口中緩存有较多的 SDU数据包,只有在 SDU数据包被正确接收的情况 下, 才会将 SDU数据包传送给 ROHC层解压缩器,从而导致 ROHC数据包反 馈时延增加;
3、 若 HARQ机制是多进程的, 并且具有相同上下文标识( Context ID ) 的 ROHC数据包被封装到不同的 HARQ进程上。一旦 ROHC层压缩器和解压 缩器的上下文(Context )信息失去同步, ROHC 层解压缩器当前接收的上下 文(Context )信息与当前接收的数据包并不相应, 若 ROHC层解压缩器仍然 釆用当前接收的上下文(Context )信息对当前接收的数据包进行解压缩, 显 然会导致解压缩失败。
发明内容
本发明实施例提供一种报包头压缩通信方法和装置,用以解决现有技术中 无法将包头压缩机制与自动重传请求技术结合以及将包头压缩机制与自动重 传请求技术结合产生的数据包乱序和上下文信息失同步问题。
一种釆用自动重传请求机制的包头压缩通信方法, 包括: 发送端与接收端 协商确定进行包头压缩和自动重传请求所需参数;发送端的下层协议数据单元 构造实体构造包含包头压缩信息的下层协议数据单元并发送给接收端;与接收 端交互, 进行包头压缩处理。
一种釆用自动重传请求机制的包头压缩通信方法, 包括: 与发送端协商确 定进行包头压缩和自动重传请求所需参数;接收包含包头压缩信息的下层协议 数据单元; 与发送端交互, 进行解包头压缩。
一种协议数据处理单元构造方法, 包括: 协议数据单元构造实体将服务数 据单元封装成协议数据单元; 在所述协议数据单元中增加扩展子头, 所述扩展 子头包含包头压缩信息。
一种釆用自动重传请求机制的包头压缩通信错误处理方法, 包括: 对收到 的协议数据单元数据包进行循环冗余校验;将未通过校验的协议数据单元数据 包分解为服务数据单元数据包后传送至包头压缩层并通知所述包头压缩层所 述服务数据单元数据包为错误数据包;若包头压缩层对所述从下层协议数据单 元数据包分解出的服务数据单元数据包可解包头压缩并通过包头压缩层的循 环冗余校验, 则根据解包头压缩得出的正确头信息更新相应的上下文信息。
一种包头压缩反馈与自动重传请求反馈结合的方法, 包括: 当接收端的包 头压缩层解压缩器收到来自接收端自动重传请求层传送的经包头压缩后的服 务数据单元数据包且解包头压缩后仍不能通过循环冗余验证时,所述包头压缩 层解压缩器通知接收端自动重传请求层所述数据解压错误,利用自动重传请求 的反馈机制, 通知发送端进行重传。
一种与包头压缩机制结合时混合自动重传请求的子包封装方法, 包括: 媒 体接入控制层接收包头压缩层发送的服务数据单元后 ,将其封装成协议数据单 元发送给混合自动重传请求层;所述混合自动重传请求层将所述协议数据单元 封装成子包;所述封装的子包中的每个上下文标识的首个协议数据单元中的首 个服务数据单元为初始化和状态信息更新包。
一种釆用自动重传请求机制的包头压缩装置,包括:发送模块和接收模块; 所述发送模块用于与所述接收模块协商确定进行包头压缩和自动重传请求所 需参数; 构造包含包头压缩信息的下层协议数据单元并发送给所述接收模块; 与所述接收模块交互, 进行包头压缩处理; 所述接收模块用于与发送模块协商 确定进行包头压缩和自动重传请求所需参数;接收发送模块发送的包含包头压 缩信息的下层协议数据单元; 并与发送模块交互, 进行包头压缩通信。
一种协议数据单元构造装置, 包括: 包头压缩信息获取模块和包头压缩信 息添加模块;所述包头压缩信息获取模块用于从包头压缩后的服务数据单元数 据包中获取包头压缩信息并发送给包头压缩信息添加模块;所述包头压缩信息 添加模块用于在协议数据单元中增加扩展子头,在所述扩展子头中添加所述包 头压缩信息。
一种釆用自动重传机制的包头压缩错误处理装置, 包括: 第一校验单元, 分解单元, 第二校验单元, 更新单元; 所述第一校验单元用于对接收到的协议 数据单元数据包进行循环冗余校验;所述分解单元用于将未通过校验的协议数 据单元数据包分解为服务数据单元数据包 ,将所述服务数据单元数据包传送给 包头压缩层并通知包头压缩层所述服务数据单元数据包可能错误;所述第二检 验单元用于确定所述服务数据单元数据包是否可解包头压缩并通过包头压缩 层的循环冗余校验;所述更新单元用于在所述第二校验单元确认所述服务数据 单元数据包可解包头压缩并通过包头压缩层的循环冗余校验的情况下,根据解 包头压缩得出的正确头信息更新相应的上下文信息。
一种与包头压缩机制结合时混合自动重传请求的子包封装装置, 包括: 协 商单元、 计数单元和封装单元; 所述协商单元用于在包头压缩层开始压缩前, 协商确定每个混合自动重传请求的子包内封装的协议数据单元个数 N,所述协 商确定的 N为混合自动重传请求层、 媒体接入控制层和包头压缩层都支持的 个数;所述计数单元用于记录在所述媒体接入控制层发送给所述混合自动重传 请求层的协议数据单元数据包个数, 当所述个数达到所述个数 N时, 计数单 元清零,并通知混合自动重传请求信道所对应的连接上的每个上下文标识所对 应的包头压缩层压缩器状态回退;所述封装单元用于在媒体接入控制层收到包 头压缩层发送的属于初始化和状态信息更新包的服务数据单元数据包后,在混 合自动重传请求层开始封装混合自动重传请求子包,所述每个子包封装的每个 上下文标识的第一个协议数据单元中的第一个服务数据单元都是初始化和状 态信息更新包。
一种基于混合自动重传请求的数据包压缩方法, 包括: 发送端混合自动重 传请求层接收来自包头压缩层的数据包,所述包头压缩层数据包至少包含包头 压缩层数据包上下文信息;封装所述包头压缩层数据包使之构成自动重传请求 层数据包;对所述混合自动重传请求层数据包进行标识以指示接收端保存所述 包头压缩层数据包上下文信息。
一种基于多进程混合自动重传请求的数据包解压缩方法, 包括: 接收端包 头压缩层接收来自本端混合自动重传请求层的数据包及其包号,记所述接收的 混合自动重传请求层数据包的包号为 Pn; 查询本端维护的列表, 获取所述列表 中小于且最接近于所述 Pn的包号所对应的包头压缩层数据包上下文信息;釆用 所述小于且最接近于所述 Pn的包号所对应的包头压缩层数据包上下文信息解 压缩所述接收的混合自动重传请求层数据包。
一种基于多进程混合自动重传请求的数据包压缩装置, 包括: 接收单元, 用于接收来自包头压缩层的数据包,所述包头压缩层数据包至少包含包头压缩 层数据包上下文信息; 封装单元, 用于封装所述包头压缩层数据包使之构成混 合自动重传请求层数据包; 标识单元, 用于对所述混合自动重传请求层数据包 进行标识以指示接收端保存所述包头压缩层数据包上下文信息。
一种基于混合自动重传请求的数据包解压缩装置, 包括: 接收单元, 用于 接收来自接收端混合自动重传请求层的数据包及其包号,记所述接收的自动重 传请求层数据包的包号为 Pn; 获取单元, 用于查询本端维护的列表, 获取所述 列表中小于且最接近于所述 Pn的包号所对应的包头压缩层数据包上下文信息; 解压缩单元,用于釆用所述小于且最接近于所述 Pn的包号所对应的包头压缩层 数据包上下文信息解压缩所述接收的混合自动重传请求层数据包。
以及, 一种计算机程序产品, 该计算机程序产品包括计算机程序代码, 当 该计算机程序代码被一个计算机执行的时候,该计算机程序代码可以使得该计 算机执行前述之一或全部上述方法中的步骤。
以及, 一种计算机可读存储介质, 该计算机可读存储介质存储计算机程序 代码, 当该计算机程序代码被一个计算机执行的时候, 该计算机程序代码可以 使得该计算机执行前述之一或全部上述方法中的步骤。
本发明实施例方法、 装置通过将自动重传请求(包括混合自动重传请求) 机制和包头压缩技术结合, 并通过对由此带来的一些技术问题的处理,提高了 包头压缩的效率和正确率, 节省了空口资源。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲, 在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 图 1为本发明实施例一的方法流程图;
图 2为现有技术中媒体接入控制层协议数据单元的基本格式示意图; 图 3 为本发明实施例一种媒体接入控制层协议数据单元的构造方式示意 图;
图 4 为本发明实施例的另一种媒体接入控制层协议数据单元的构造方式 示意图;
图 5 为本发明实施例在数据传送过程中出现错误数据包或丟包时候的处 理方法流程图;
图 6为本发明实施例中一种判断是否为重传服务数据单元的方法流程图; 图 7 为本发明实施例一种利用重传的服务数据单元解压之前緩存的后续 未能正确解压的服务数据单元数据包的方法流程图;
图 8 为本发明实施例一种基于上下文标识的存储不能解压的服务数据单 元以及首数据块序列号的链表示意图;
图 9 为本发明实施例另一种基于上下文标识的存储不能解压的服务数据 单元以及首数据块序列号的链表示意图;
图 10为本发明实施例一种将鲁棒性包头压缩反馈与自动重传请求反馈结 合的处理方法流程图;
图 11为本发明实施例一种重传反馈形式的位图示意图;
图 12为本发明实施例一种与鲁棒性包头压缩结合时混合自动重传请求的 子包封装方法流程图;
图 13为本发明实施例一种釆用自动重传机制的包头压缩通信装置结构示 意图;
图 14为本发明实施例一种协议数据单元构造装置结构示意图;
图 15为本发明实施例一种釆用自动重传机制的压缩错误处理装置结构示 意图;
图 16为本发明实施例一种与包头压缩机制结合时混合自动重传请求的子 包封装装置结构示意图;
图 17为本发明实施例提供的一种基于多进程混合自动重传请求的数据包 压缩方法基本流程示意图; 图 18为本发明实施例提供的一种基于多进程自动重传请求的数据包解压 缩方法基本流程示意图;
图 19为本发明实施例提供的一种基于多进程自动重传请求的数据包压缩 装置基本逻辑结构示意图;
图 20为本发明实施例提供的一种基于多进程自动重传请求的数据包解压 缩装置基本逻辑结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
本发明实施例以包头压缩机制为鲁棒性包头压缩为例进行说明,本领域技 术人员可以理解,本发明实施例所述方法或者装置中的实施方式可以不限制于 鲁棒性包头压缩机制, 例如,还可以是实时传输协议包头压缩制或扩展实时传 输协议包头压缩机制等;
另夕卜, 本发明实施例以媒体接入控制 (MAC: Media Access Control )协 议层协议数据单元(PDU: Protocol Data Unit ) 为例进行说明, 本领域技术人 员可以理解, 本发明实施例所述方法或者装置中的实施方式可以不限制于 MAC层 PDU,可以是其他下层协议的 PDU,例如,可以是长期演进系统( LTE: Long Term Evolution )中无线链路控制( RLC: Radio Link Control )层 PDU等。
实施例一:
如附图 1所示, 为本发明实施例的方法流程图。
S101 : 发送端与接收端协商确定进行包头压缩和自动重传请求 ARQ所需 参数。
在两端进行参数协商之前,两端本身的 ROHC层和 ARQ层需要先协商确 认相关信息。 具体的, 网络需要根据当前的实际情况, 如 ROHC层和 ARQ层 的支持能力,在连接建立时要求 ARQ层与 ROHC层进行一些必要的参数协商。 协商的主要内容有: 该连接是否釆用 ARQ机制和 ROHC机制。 如果该连接釆 用 ARQ机制和 ROHC机制, 则需要将 ARQ是否釆用緩存机制, 以及緩存窗 口大小等信息通知 ROHC层。 ROHC层再根据上述参数, 以及该连接的业务 类型决定相应的工作模式以及压缩算法,并将其釆用的压缩算法及其参数发送 给 ARQ层。 ARQ也会釆用与 ROHC相结合的工作机制。
发送端和接收端协商确认连接釆用 ARQ机制和 ROHC机制后,发送端和 接收端也需要协商两端相关参数是否匹配, 如果匹配, 则釆用 ARQ 机制和 ROHC机制相结合的传输方法,如果不匹配,则仍不能釆用 ARQ机制和 ROHC 机制相结合的方法。
S102: 发送端构造包含包头压缩信息的下层协议数据单元 PDU并发送给 接收端。
当 MAC层 PDU构造实体接收到来自上层(即 ROHC层)经过鲁棒性包 头压缩 (ROHC)后的服务数据单元(SDU: Service Data Unit )数据包后, 根据 网络的实际情况,对 SDU数据包进行打包分片,组装成适合网络传输的 MAC 层 PDU。本发明实施例通过发送端构造包含 ROHC压缩信息的 MAC层 PDU 并发送给接收端, 可以节约网络传输的数据量, 同时可以对接收端的解包头压 缩有帮助。 这里的 ROHC压缩信息, 可以包括 SDU数据包包头中的上下文标 识(Context ID )和错误数据包是否具有上下文(Context ) 更新的信息等等。
S103: 发送端与接收端交互, 进行包头压缩处理;
本发明实施例釆用 ARQ机制的鲁棒性包头压缩 (ROHC )通信方法, 在 实际实现过程中,可以包括对传送过程中出现错误数据包或者丟包的处理机制 以及 ROHC反馈与 ARQ反馈结合的具体实现方法, 由于前述 MAC层 PDU 数据包以及其中所包含的 SDU数据包中包含有鲁棒性包头压缩的压缩信息, 候, 可以更加正确, 高效的实现鲁棒性包头压缩。
通过本发明实施例, 可以实现 ROHC和 ARQ机制的结合, 提高包头压缩 的效率和正确率, 节省宝贵的空口资源。 以下结合附图, 对本发明实施的具体方法进行更加详细的说明: 实施例二:
对于前述实施例一中的步骤 S101发送端与接收端协商确定进行包头压缩 和自动重传请求 ARQ所需参数,本发明实施例二给出一种具体协商方法如下: S 1.接收端和发送端确定需要建立的新的连接;
52.根据当前网络的实际情况和自身的能力, 判定该连接是否支持 ROHC 和 ARQ;
53.如果不支持, 则不使用 ROHC与 ARQ结合的方法传输数据, 如果支 持, 则将 ARQ的相关参数通知 ROHC层;
S4.ROHC层根据 ARQ的参数调整自身的一些参数,如压缩算法和压缩窗 口的大小等;
55. ROHC层调整好自身参数后, 将参数通知给 ARQ层;
56.发送端与接收端进行连接建立的协商, 协商的内容包含了进行包头压 缩和自动重传请求 ARQ所需参数;
S7.如果两端协商的进行包头压缩和自动重传请求 ARQ 所需参数不能匹 配。 若是有一端可以修改参数, 以达到参数匹配, 则通知修改参数; 若是两端 的参数不能修改, 则不使用 ROHC与 ARQ结合的方法。 如果两端的参数可以 匹配, 则使用 ROHC与 ARQ结合的方法传输数据。
通过本发明实施例二的方法,可以实现 ROHC层和 ARQ层之间参数的有 效协商以及发送端和接收端参数的有效协商。
实施例三:
在发送端和接收端协商确定好 ROHC层和 ARQ层的相关参数后,本发明 实施例三详细说明发送端构造包含 ROHC压缩信息的 MAC层 PDU数据包并 发送给接收端的方法;
当 MAC层 PDU构造实体接收到来自上层(即 ROHC层)经过鲁棒性包 头压缩 (ROHC)后的 SDU数据包后, 根据网络的实际情况, 对服务数据单元 SDU数据包进行打包分片, 组装成适合网络传输的 MAC层 PDU数据包。 MAC层 PDU数据包的基本格式如图 2所示。
现有技术中 MAC层 PDU不会解析 SDU数据包头中的鲁棒性包头压缩 ( ROHC )相关信息,本发明实施例通过在 MAC层 PDU数据包中增加扩展子 头, 并在所述扩展子头中包含鲁棒性包头压缩相关压缩信息。 通过在 MAC层 PDU数据包中包含一些鲁棒性包头压缩的压缩信息, 可以节约传输的数据量 或是可以对接收端解包头压缩有帮助。
具体的, 可以包括如下两种具体实现方式:
1、 MAC层 PDU构造实体将属于相同上下文标识(Context ID ) 的 SDU 数据包进行打包分片, 即, 将具有相同上下文标识(Context ID )的 SDU数据 包封装成 MAC层 PDU数据包, 在在包含服务数据单元 SDU数据包包头的 MAC层 PDU数据包的扩展子头中添加上下文标识( Context ID )并剔除 SDU 数据包包头中的上下文标识( Context ID )。
本领域技术人员可以理解,一般来说, 当组成 MAC层 PDU的 SDU数据 包中包含包头时, 才需要添加上述扩展子头来指示上下文标识 (Context ID ), 例如,如果一个 SDU数据包被分成了两个 MAC层 PDU数据包, 那么后一个 MAC层 PDU数据包中的上下文标识 (Context ID )也是不需要的。
参考附图 3 , 为本发明实施例 MAC 层 PDU 的构造方式示意图, 根据 ROHC的基本标准文档 RFC 3095的定义, 一个连接中可以有多个上下文标识 ( Context ID )作为不同鲁棒性包头压缩( ROHC )的上下文标识( Context ID )。 而每个经 ROHC后的数据包的包头上都会包含有上下文标识( Context ID )。 MAC 层 PDU构造实体可以根据收到的 SDU数据包包头中的上下文标识 ( Context ID ) , 将属于不同上下文标识( Context ID )的 SDU数据包分开, 分 别进行打包分片。这样, 一个 MAC层 PDU数据包中包含的 SDU数据包都具 有相同的上下文标识(Context ID )。 这种情况下, 可以将 MAC层 PDU数据 包中每个 SDU数据包包头中的上下文标识( Context ID )省略, 并在 MAC层 PDU数据包中加入一个扩展子头, 子头中包含了该 MAC层 PDU数据包中所 包含的 SDU数据包所属的上下文标识 ( Context ID )。 当 MAC层 PDU数据包 被发送到接收端, 接收端可以根据 MAC层 PDU数据包中扩展子头包含的上 下文标识 ( Context ID )将 SDU数据包包头中的上下文标识( Context ID )信 息恢复。 如附图 3所示, 在封装时将具有相同上下文标识 1 ( context idl ) 的 SDU1和 SDU3封装成 PDU1 , 在 PDU1的扩展头中标识了 context idl , 并且, 在各个 SDU头中, 即 ROHC数据包包头中省略 context idl ; 将不同上下文标 识(Context ID ), 即具有上下文标识 2 ( context id2 ) 的 SDU2封装成 PDU2, 并在 PDU2的扩展头中标识 context id2 , 同样地,在 ROHC数据包包头中省略 context id2。
2、 MAC层 PDU构造实体根据 SDU数据包的包头格式, 判断该 SDU数 据包是否为具有上下文(Context )信息更新的 SDU数据包, 并在增加的扩展 子头中标识出所述 SDU数据包是否为具有上下文(Context ) 更新的 SDU数 据包。
根据 RFC 3095定义, 经过鲁棒性包头压缩 (ROHC )之后的数据包可以 分为有上下文(Context )信息更新的数据包和没有上下文(Context )信息更 新的数据包。 没有上下文(Context )信息更新的数据包若是丟失, 不会对后 面的数据包解包头压缩造成影响; 但若是具有上下文(Context )信息更新的 数据包丟失, 则可能会造成后续数据包解包头压缩失败。
在发送端,由于 MAC层 PDU构造实体根据收到的 SDU数据包的包头格 式可以得出哪个数据包具有上下文(Context )信息更新的, 可以在 MAC 层 PDU数据包中利用扩展子头指示出其首个块序列号 (BSN: Block Sequence
Number )。 这样, 解压缩器可以根据 MAC层 PDU数据包中的 BSN得出错误 数据包是否具有上下文(Context )信息更新。
参考附图 4, 示意了 MAC层 PDU数据包的具体封装方式。 若是将不同 的 SDU数据包打包成一个 MAC层 PDU数据包, 可能该 MAC层 PDU数据 包中包含多个上下文(Context )信息更新的 SDU数据包。 则 MAC层 PDU 构造实体根据具有上下文(Context )信息更新的 SDU数据包的数目, 加入相 应个数的扩展子头。 每个扩展子头都包含一个具有上下文(Context )信息更 新的 SDU数据包的首 BSN。 若是将一个 SDU数据包分片成多个, 打包至不 同的 MAC层 PDU数据包中传输,则 MAC层 PDU构造实体只将具有上下文 ( Context )信息更新的 SDU数据包的第一个数据块(Block )所在的 MAC层 PDU数据包加入相应的扩展子头, 其中包含了相应的 BSN。
上述两种通过 MAC 层 PDU 数据包扩展子头来携带鲁棒性包头压缩
( ROHC )相关压缩信息的方式可以同时使用, 也可以分别使用。
本领域技术人员可以理解, 除了上述两种利用 MAC层 PDU数据包扩展 子头来携带 ROHC相关压缩信息的方法以外, 还可以有其他的实现方式, 携 带除上述两种方法中提到的相关压缩信息以外的压缩信息,在此本发明实施例 不再赘述。另外,文中提到的 BSN也可以是其他序列号( SN: Sequence Number ) 本发明实施例三通过在 MAC层 PDU数据包中包含 ROHC相关压缩信 息, 可以节约釆用 ARQ机制的鲁棒性包头压缩通信方法中传输的数据量并且 可以对接收端解包头压缩有帮助。
实施例四:
本发明实施例四将详细说明釆用 ARQ机制的鲁棒性包头压缩通信方法在 数据传送过程中出现错误数据包或丟包时候的处理机制;
当接收端 ARQ层在做循环冗余校验( CRC: Cyclic Redundancy Check ) 发现数据包出错时, 现有机制的做法是直接丟弃该包, 然后向发送端的 ARQ 层反馈非确认信息 (NACK: NotACKnowledge )等待重传。
当 ARQ和 ROHC结合的情况下可能会造成以下问题:由于 MAC层 PDU 中的 CRC是针对整个 MAC层 PDU的,如果错误发生在 SDU的载荷( payload ) 区, 则该 MAC层 PDU数据包在 ARQ层就会被丟弃, 而不会上传给 ROHC 层。 一旦该 MAC层 PDU数据包中所包含的 SDU数据包数目超过 W-LSB算 法中的滑动窗口宽度(SWW ), 后续数据包将无法在 ROHC层被正确解压缩, 或者, 该 MAC层 PDU数据包中包含有用于上下文(Context )信息更新的数 据包, 如果直接将该 MAC层 PDU数据包丟弃, 同样会因为解压缩状态机无 法正常更新上下文(Context )信息而无法正确解压缩后续数据包。 由于接收端 ARQ层无法正确解压缩收到的 MAC层 PDU数据包, 以至 于不能从 MAC层 PDU数据包解析出 SDU数据包, 因此也不可能恢复 SDU 数据包包头的上下文标识(Context ID )。 由于无法得到错误数据包的上下文标 识 (Context ID ), 则无法保存错误数据包的相关信息。 当后续包含上下文 ( Context )信息更新的数据包被正确接收后, 上下文(Context )信息被更新。 这时即使经过 ARQ的重传数据包在 MAC层被正确接收, MAC层将正确解析 出的 SDU数据包发送到 ROHC 层, 由于 ROHC 层解压缩状态机的上下文 ( Context )信息已经被更新, 仍然不能正确地解包头压缩。 因此, 在这种错 误情况下, 即使有 ARQ机制, 仍然不能令 ROHC层正确解包头压缩。
若是接收端 ARQ层不能正确解析的数据包恰好为 IR数据包, 则可能会 导致后续数据包没有得到正确的静态上下文(SC )信息而错误解压。 而当该 IR数据包包重传到达时, 现有技术中 ROHC层无法获知该数据包为重传数据 包, 则 ROHC解压缩器会用该 IR数据包中上下文(Context )信息更新现有上 下文(Context )信息, 从而再次导致后续数据包无法被正确解压缩。
为了避免上述情况的发生, 本发明实施例提出 ARQ层在接收到错误数据 包的情况下, 釆用以下处理机制:
参考附图 5, 为本发明实施例在数据传送过程中出现错误数据包或丟包时 候的处理机制流程图:
S501、 接收端对接收到的 MAC层 PDU数据包进行 CRC校验;
S502、 将未通过 CRC校验的 MAC层 PDU数据包分解为 SDU数据包, 将所述 SDU数据包传送给 ROHC层并通知 ROHC层所述 SDU数据包为错误 数据包;
具体地, 艮设未通过 CRC校验的 MAC层 PDU数据包是正确的 MAC层 PDU数据包, 仍然按照现有技术将 MAC层 PDU数据包解封装为 SDU数据 包, 将所述 SDU数据包传送给 ROHC层并通知 ROHC层所述 SDU数据包为 错误数据包。 5503、 所述 ROHC 层判断所述 SDU数据包是否可解包头压缩并通过 ROHC层的 CRC校验;
5504、若所述 SDU数据包可解包头压缩并通过 CRC校验,则根据解包头 压缩得出的正确头信息更新相应的上下文(Context )信息,并丟弃相应的 SDU 数据包, 流程结束。
5505、 若所述 SDU数据包在 ROHC层仍然无法被正确解包头压缩, 则丟 弃该 SDU数据包。
在 S505中, 所述 SDU数据包在 ROHC层仍然无法被正确解包头压缩的 情况下, ROHC层可以等待与该 SDU数据包具有相同上下文标识( Context ID ) 且下一个 ARQ层能正确接收的 SDU数据包。 ARQ层接收到的下一个具有相 同上下文标识(Context ID ) 的 SDU数据包分为以下两种情况:
情况一: 该 SDU数据包能够在 ROHC层被正确解包头压缩。
这表明上一个错误或丟失的 MAC层 PDU数据包并未造成致命错误, 后 续 SDU数据包可以被正确解包头压缩。
情况二: 该 SDU数据包无法在 ROHC层被正确解包头压缩。
这表明上一个错误或丟失的 MAC层 PDU数据包已造成致命错误, 后续 SDU数据包无法被正确解包头压缩。
由于所述 SDU数据包无法被正确解包头压缩, 导致无法恢复其上下文标 识( Context ID ), 本发明实施例可以釆用以下方式来判断 ROHC解压缩器是 否能正确解包头压缩下一个具有相同上下文标识( Context ID )的 SDU数据包: 在收到错误数据包之后的 N个数据包中,如果没有发生 ARQ层校验正确 而 ROHC 层却无法正确解压缩的情况, 则认为下一个具有相同上下文标识 ( Context ID ) 的 SDU数据包能够在 ROHC层解压缩器被正确解包头压缩; 如果在收到错误数据包之后的 N个数据包中发生 ARQ层效验正确而 ROHC 层却无法正确解压缩的情况, 则认为下一个具有相同上下文标识(Context ID ) 的 SDU数据包不能够在 ROHC层解压缩器被正确解压缩。所述 N值和系统具 体状况相关, 可以在连接建立的时候进行协商确定, 也可以人为设定。 当接收端 ARQ层通过上述信息判断出接收端 ROHC层已发生致命错误, 为了避免重传数据包到达后所造成的问题, 本发明实施例釆用如下处理方式:
ROHC层解压缩器判断其收到的 SDU数据包是否为重传的 SDU数据包; 在判断所述 SDU数据包为重传 SDU数据包时候, 利用所述重传的 SDU 数据包解压缩之前緩存的未被正确解压缩的 SDU数据包。
本发明实施例提供了判断收到的 SDU数据包是否为重传的 SDU的数据包 方法:
一种方法是可以由 ARQ层通知 ROHC层该 SDU数据包为重传的 SDU数 据包, 另一种方法如附图 6所示, 包括以下步骤:
S601、接收端 ARQ层将其接收到的 MAC层 PDU数据包中的每一个 SDU 数据包上传给 ROHC层解压缩器时,通知 ROHC层解压缩器该 SDU数据包中 首 BSN;
S602、 ROHC层解压缩器根据所述每个 SDU数据包的首 BSN, 建立和维 护上下文(Context )信息与 BSN对应的列表;
S603、 每当有 SDU数据包到达 ROHC层解压缩器时, ROHC层解压缩器 根据该 SDU数据包的首 BSN是否大于所述列表中最大的 BSN来判断其是否 是重传的 SDU数据包;
具体地, 当 ROHC层解压缩器判断该 SDU数据包的首 BSN大于所述列 表中维护的最大的 BSN时, 则确认其不是重传的 SDU数据包。
当 ROHC层解压缩器判断该 SDU数据包的首 BSN不大于所述列表中维 护的最大的 BSN时, 则确认是重传的 SDU数据包。
判断 SDU数据包是否为重传的 SDU数据包的方法还可以是将该 SDU数 据包的首 BSN与上一个收到的 SDU数据包的首 BSN比较, 如果小于上一个 SDU数据包的首 BSN, 则可以判断其为重传的 SDU数据包。 本领域技术人员 可以理解还可以有其他判断是否为重传 SDU数据包的方法或者是上述方法的 结合, 本发明实施例在此不做限制。
在判断 SDU数据包为重传 SDU数据包后,本发明实施例可以利用所述重 传的 SDU数据包解压缩之前緩存的后续未能被正确解压缩的 SDU数据包,参 考附图 7, 具体方法如下:
5701、 建立基于上下文标识(Context ID ) 的链表存储相应的不能解压的 SDU以及首 BSN;
在只出现一个致命错误的情况下,所述的链表形式可以如图 8所示:另夕卜, 在考虑如果存在多个致命错误的情况下,每次发生致命错误时都緩存当时的上 下文(Context )信息并与该致命错误数据包导致的无法解压缩的数据包相对 应, 则链表形式可以如图 9所示。
5702、根据重传 SDU数据包的上下文标识(Context ID )查询相应的存储 链表;
5703、 根据重传 SDU数据包的 BSN号查询到链表中存储的在所述 BSN 号之后的未解压缩的 SDU数据包;
具体地,如果该重传 SDU数据包中的首个块的 BSN大于存储链表中的所 有 BSN, 则表明这不是以前造成致命错误的 SDU数据包, 如果小于存储链表 中的所有 BSN或者小于存储链表中的部分 BSN, 就表明这就是以前造成致命 错误的 SDU数据包。
5704、根据所述重传 SDU数据包, 更新根据重传 SDU数据包的上下文标 识(Context ID ) 查询到相应的存储链表中緩存的上下文(Context )信息, 并 釆用上下文(Context )信息解压缩存储在链表中的未被正确解压缩的 SDU数 据包。
这样, 通过本发明实施例的方式, 可以在接收端识别出重传数据包, 并利 用其对之前未能正确解压缩的 SDU数据包进行解压缩, 提高数据传输的正确 率。
另外, 在前述情况二中 SDU数据包无法在 ROHC层被正确解压缩的情形 下, 由于 ROHC层解压缩器已无法对后续数据包正确解压缩, 所以 ARQ层处 理后续数据包可以有以下两种方式:
方式一: 仍然上传后续数据包。 如果没有釆用前述本发明实施例三中的 MAC层 PDU数据包的封装形式, 即, 在 MAC层 PDU数据包扩展子头中标识出所述 SDU数据包是否为有上下 文(Context )信息更新的 SDU数据包的封装形式, 则在 ARQ层无法判断后 续数据包中是否具有上下文(Context )信息更新的数据包。 因此, 在本实施 例中, 先将后续无法被正确解压缩的数据包仍然上传给 ROHC层解压缩器, ROHC层解压缩器继续尝试解压缩。如无法正确解压缩,则将其緩存至 ROHC 层, 直到能正确解压缩所述后续数据包或重传的数据包且上下文(Context ) 信息已经更新的数据包到达后对该 SDU数据包尝试进行解压缩, 即, 直到与 无法在 ROHC层被正确解压缩的 SDU数据包具有相同上下文标识(Context ID )的下一个 ARQ层能正确接收的 SDU数据包到达后对该 SDU数据包尝试 进行解压缩。
当上述错误数据包在最大重传次数或最大生命周期 (Lifetime ) 内无法正 确重传, ARQ层将通知 ROHC层解压缩器该错误数据包无法正确重传, 将緩 存在 ROHC层的其它由于该数据包错误而无法正确解压缩的数据包丟弃, 并 删除 ROHC层维护的列表中的相应内容。
方式二: 将后续数据包緩存在 ARQ层
由于发生致命错误, ROHC层已无法正确解压缩后续数据包,如果仍然将 后续数据包上传给 ROHC层, 将造成极大的系统资源浪费。 所以当 MAC层 PDU构造实体釆用前述实施例三中在 MAC 层 PDU数据包扩展子头中标识出 所述 SDU数据包是否为有上下文( Context )信息更新的 SDU数据包的封装 形式时,在接收端 ARQ层,可以判断后续接收的 SDU数据包中是否能够更新 该上下文标识( Context ID ) 中的上下文( Context )信息, 所以方式二不将后 续数据包上传, 而是直接将后续数据包緩存在 ARQ层, 直到下一个具有上下 文(Context )信息更新的数据包被正确接收或是重传的数据包被正确接收。
同样, 当上述错误数据包在最大重传次数或生命周期 (Lifetime ) 内无法 正确重传, ARQ层将删除其緩存的由于该数据包错误而无法正确解压缩的数 据包, 并通知 ROHC层删除 ROHC层维护的列表中的相应内容。 另外, 当接收端 ARQ层判断错误数据包没有发生致命错误, 所以并未造 成错误扩散时,由于没有后续数据包出错,所以无法判断出错数据包中的 SDU 数据包的上下文标识(Context ID ), 导致无法緩存解压该数据包所需的上下文 ( Context )信息。那么, 当重传数据包到达时,如果该上下文标识(Context ID ) 对应的上下文(Context )信息已经发生更新, 则即使重传数据包能够正确接 收, ROHC层解压缩器也无法正确进行解压缩。 所以, 一旦出现上述情况, 则 接收端 ARQ层应立即通知发送端 ARQ层不再重传该数据包, 以免浪费空口 资源。
通过本发明实施例, 可以实现在 ROHC与 ARQ结合的传输机制中, 在发 生错误数据包或者丟包的情况下,尽可能的避免发生错误扩散现象,提高压缩 效率和正确率。
实施例五:
本实施例详细说明釆用 ARQ机制的鲁棒性包头压缩通信方法时, ROHC 反馈与 ARQ反馈结合的处理机制。
由于现有技术中 ROHC和 ARQ都有一套独立的反馈机制,在进行反馈时, 既要为 ARQ反馈分配资源又要为 ROHC分配资源。本发明实施例提出一种将
ROHC反馈与 ARQ反馈结合的处理机制, 使用 ARQ反馈代替 ROHC反馈, 达到节约系统资源的目的。
参考附图 10, 本发明实施例包括步骤:
S1001 :接收端的 ROHC层解压缩器接收接收端 ARQ层传送来的 SDU数 据包, 进行解包头压缩并进行 CRC校验;
S1002: 若所述 CRC验证不能通过, 则 ROHC层解压缩器通知接收端的
ARQ层所述 SDU数据包解压缩错误。利用 ARQ的反馈机制,接收端 ARQ层 通知发送端进行重传;
即,此时 ROHC层解压缩器不再通过原有的 ROHC反馈机制反馈给 ROHC 层压缩器, 而是通知接收端 ARQ层该数据解压错误, 利用 ARQ的反馈机制 进行重传。 具体地, 由于 ROHC的反馈分为动态上下文 DC反馈和静态上下文 SC反 馈。而实施例四中存在的接收端 ARQ层校验正确的数据包发送到 ROHC层却 没有正确解包头压缩的情况。 所以当一个数据包出错, ARQ反馈取代 ROHC 反馈最多需要 3个比特的信息, 第一个比特表示该数据块(Block )是否正确 接收, 第二个比特表示该数据块(Block ) 虽然在 ARQ层接收错误, 但是在 ROHC层是否可以被正确解包头压缩, 第三个比特表示该数据块(Block )所 在的 SDU数据包包头是静态上下文错误, 还是动态上下文错误。
参考附图 11 , 为本发明实施例反馈形式的位图示意图。 在本发明实施例 中,接收端 ARQ层对于每个出错的 SDU数据包,反馈出错时信息的方法是对 于该出错 SDU数据包的首数据块(Block ) 的 BSN需要使用 3比特的位图进 行反馈具体的错误形式, 即, 釆用其中一比特表示是静态上下文信息出错还是 动态上下文信息出错(例如, 用 "Γ 表示静态上下文信息出错, 用 "0" 表 示动态上下文信息出错), 再釆用其中另一比特表示 ROHC解包头压缩是否正 确(例如, 用 "Γ表示 ROHC解包头压缩正确, 用 "0" 表示 ROHC解包头 压缩错误 ), 最后釆用剩余一比特表示 SDU数据包是否被正确接收 (例如, 用 "1" 表示正确接收, 用 "0" 表示错误接收)。 其他数据块(Block )的反馈方 式与现有技术中的 ARQ反馈方式相同,对于正确传输的 SDU数据包的首个数 据块(Block )还是使用一个比特表示其被正确接收。 由于发送端 ARQ层将 SDU数据包分为不同的数据块(Block ), 所以发送端 ARQ层可以知道哪个数 据块( Block )是 SDU的首 BSN。
另夕卜, 本领域技术人员可以理解, 所述重传反馈信息需要的比特数目可以 少于 3比特, 例如, 如果第 2比特标识数据块(Block )在 ROHC层可以正确 解包头压缩, 则不需要第 3比特。 同样, 如果第 1比特标识该数据块( Block ) 正确接收, 则不需要后面 2个比特标识错误类型。
S1003 : 发送端收到来自接收端的反馈后, 根据反馈的信息以及发送端保 存的相关 SDU数据包信息与 ROHC层协商决定是否要将原数据包重传。
发送端 ARQ层与 ROHC层压缩器进行交互, 确定出错的 SDU数据包及 其是否包含上下文(Context )信息。 则具体可以包含以下几种情况:
1、 该数据包为重要的 IR数据包, 其中包含了静态上下文信息。 这种数据 包传输失败会导致后继大量数据包的解压缩失败, 则 ROHC层压缩器重传该 IR数据包。 若是已经超过了最大重传次数或是最大重传生命周期(Lifetime ), 则 ROHC层压缩器需要将压缩状态机转移到 IR状态, 重新发送 IR数据包。
2、该数据包中包含了动态的上下文信息,但是由于 W-LSB算法中滑动窗 口宽度的限制, 该数据包已经不在 W-LSB滑动窗口中, 也就是说该数据包丟 失, 后续数据包由于该数据包的上下文(Context )信息没有更新而不能正确 解包头压缩, 发送端 ARQ层需要重传该数据包。 若是已经超过了最大重传次 数或是最大重传生命周期 (Lifetime ), 则 ROHC层压缩器需要将压缩状态机 转移到 FO状态, 重新进行动态上下文(Context )信息的更新。
3、若是该数据包中没有上下文( Context )更新的信息或是上下文( Context ) 更新信息在 W-LSB算法中滑动窗口的范围内, 则不会影响后续数据包的解压 缩。 若是后续数据包中有上下文(Context ) 更新的信息, ROHC 层解压缩器 已经按照最新的上下文(Context )信息进行了解压缩状态的上下文(Context ) 更新, 这种情况下即使重传该数据包, 接收端正确接收后, ROHC层解压缩器 也不可能釆用现在的上下文(Context )信息对该数据包正确进行解包头压缩。 这时, 如果 ROHC 支持可以将该数据包头恢复, 重新根据最新的上下文 ( Context )信息进行包头压缩后, 再重新分配 BSN 并发送该数据包。 如果 ROHC不支持, 则直接将该数据包丟弃。
4、 与第 3点相似, 但是后续数据包中没有上下文(Context ) 更新信息, 则直接重传该数据包即可。
通过本发明实施例, 可以实现在 ROHC机制和 ARQ机制结合的方案中, 使用 ARQ反馈代替 ROHC反馈, 达到节约系统资源的目的。
需要说明的是, 本发明前述所有实施例中的方案, 适用于包括但不限于传 统的三种 ARQ机制 (等停式 ARQ, 回退 n帧 ARQ选择性重传 ARQ )。
另外,在不违反本发明基本原则的前提下, 上述所有实施例的方法都可以 互相结合使用, 所述结合都属于本发明保护的范围。
实施例六:
本发明实施例还给出了一种与 ROHC结合时 HARQ层子包( sub-packet ) 封装方法。
HARQ机制与传统的 ARQ机制存在不同, HARQ—般用于物理层的重传, 其不仅仅是重传, 还包含了前向纠错 FEC, 即, 具有一定的纠错功能; ARQ 用于 MAC层的重传,没有纠错功能。子包( sub-packet )是物理层的数据单元, ARQ机制中不涉及该数据单元,子包( sub-packet )一般仅适用于 HARQ机制。
在现有技术中, 首先 HARQ会为每个支持 HARQ的连接 ( Connection ) 分配数个 HARQ信道( Channel ),并将来自该 HARQ连接的 PDU封装成 HARQ 子包 ( sub-packet )。
HARQ在产生子包( sub-packet )后,将其通过不同的 HARQ信道( Channel ) 发送到 H接收端 ARQ层。
而每个 HARQ信道( Channel )的子包( sub-packet )的传输都釆用停等机 该 HARQ信道(Channel )上的数据包将停止发送后续子包(sub-packet ), 直 到成功收到接收端的确认(ACK: ACKnowledge )反馈,与此同时,在该 HARQ 连接 ( Connection )对应的其它 HARQ信道(Channel )上将继续封装和发送 HARQ子包( sub-packet ), 从而造成接收端的乱序。 由于相对于 SDU数据包, HARQ子包(sub-packet )较大, 每一个 HARQ子包(sub-packet ) 中包含的 SDU数据包较多, 一旦发生 HARQ子包( sub-packet )重传, ROHC层收到的 SDU数据包就会出现极大的乱序。
为了避免上述情况发生, 本发明实施例提出以下 HARQ与 ROHC结合时 的子包(sub-packet )封装方法, 所述方法包括步骤:
MAC层接收 ROHC层发送的 SDU数据包后, 将其封装成 PDU发送给
HARQ层;
所述 HARQ层将所述 PDU封装成子包( sub-packet ); 其中, 所述封装的子包(sub-packet ) 中每个上下文标识(Context ID ) 的 首个 PDU中的首个 SDU为 IR包。
在具体实现中, 可以参考附图 12, 可以有如下的实现方式, 详细说明如 下:
S1201、 ROHC层开始压缩前, HARQ层、 MAC层和 ROHC层首先协商 每个 HARQ 分组内封装的 PDU个数 N;
所述 N值为 HARQ层、 MAC层和 ROHC三层都能支持的个数, 具体地, 所述 N值与 MAC层 PDU数据包的大小, HARQ釆用的调制编码模式(MCS: Modulated Coding Scheme )有关。
S1202、 ROHC层开始压缩, 并向 MAC层发送 SDU数据包, MAC层收 到 SDU数据包后, 将其封装成 PDU数据包并发送给 HARQ层, 并在 MAC 层记录发送给 HARQ层的 PDU数据包的数目。
S 1203、 当 MAC层记录的发送给 HARQ层的 PDU数据包的数目达到 N 时, MAC层清零其计数器, 并通知该 HARQ信道(Channel )对应的 HARQ 连接 ( Connection )上每个上下文标识 ( Context ID )所对应的 ROHC压缩器 的压缩状态回退, 然后开始等待来自 ROHC层的 IR数据包。
S1204、 收到 ROHC层发送的 IR数据包后, 通知 HARQ层, 开始封装新 的子包。
S 1205、 HARQ层收到 MAC层的通知后, 收到第一个 PDU数据包, 从该 PDU数据包开始封装新的子包。
通过本发明实施例的方法, 可以实现封装的子包(sub-packet ) 中的每个 上下文标识( Context ID ) 的第一个 PDU数据包中的第一个 SDU数据包都是 IR 包, 从而保证后续数据包能被正确解压缩, 从而实现即使出现子包 ( sub-packet ) 的乱序, 也不会影响到解压缩。
所述 IR数据包也可以是其他初始化和状态信息更新包, 本发明实施例对 此不作限制。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程 , 是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算 机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(ROM : Read-Only Memory )或随机存储记忆体 ( RAM : Random Access Memory )等。
如附图 13所示, 本发明实施例还提供了一种釆用自动重传机制的包头压 缩通信装置, 所述装置包括发送模块 1301 , 接收模块 1302。
所述发送模块 1301用于与接收模块 1302协商确定进行包头压缩和 ARQ 所需的参数; 构造包含包头压缩信息的下层协议数据单元 PDU并发送给接收 模块 1302; 与接收模块 1302交互, 进行包头压缩通信。
所述接收模块 1302用于与发送模块 1301协商确定进行包头压缩和 ARQ 的参数; 接收发送模块 1301 发送的包含包头压缩信息的下层协议数据单元 PDU; 并与发送模块 1301交互, 进行包头压缩通信。
所述发送模块 1301还进一步包括包头压缩单元 13011和自动重传请求发 送单元 13012;
所述包头压缩单元 13011用于将数据进行包头压缩处理;
所述自动重传请求发送单元 13012用于在下层协议数据单元 PDU中增加 扩展子头, 在所述扩展子头中包含包头压缩信息, 并将所述下层协议数据单元 PDU发送给接收模块 1302。
所述接收模块 1302还进一步包括解压缩单元 13021和自动重传请求接收 单元 13022;
所述自动重传请求接收单元 13022用于接收自动重传请求发送单元 13012 发送的包含包头压缩信息的下层协议数据单元 PDU, 并将所述下层协议 PDU 处理成 SDU发送给解压缩单元 13021 ;
所述解压缩单元 13021对收到的 SDU进行解压缩处理。
所述包头压缩可以为鲁棒性包头压缩, 所述下层协议数据单元 PDU可以 为 MAC层 PDU。
参考附图 14, 本发明实施例还提供了一种协议数据单元 PDU构造装置, 所述装置包括包头压缩信息获取模块 1401和包头压缩信息添加模块 1402; 所述包头压缩信息获取模块 1401用于从包头压缩后的 SDU数据包中获取 包头压缩信息并发送给包头压缩信息添加模块 1402;
所述包头压缩信息添加模块用于在协议数据单元 PDU中增加扩展子头, 在所述扩展子头中添加所述包头压缩信息;
所述包头压缩信息可以包括服务数据单元 SDU的上下文标识或者服务数 据单元 SDU数据包是否为具有上下文信息更新的服务数据单元 SDU数据包的 标识信息。
所述包头压缩可以为鲁棒性包头压缩, 所述下层协议数据单元 PDU可以 为 MAC层 PDU。
如附图 15所示, 本发明实施例还提供了一种釆用自动重传机制的包头压 缩错误处理装置, 所述装置包括第一校验单元 1501 , 分解单元 1502, 第二校 验单元 1503 , 更新单元 1504;
所述第一校验单元 1501对接收到的协议数据单元 PDU数据包进行循环冗 余校验(CRC校验); 数据单元 PDU数据包,将所述服务数据单元 SDU数据包传送给包头压缩层并 通知包头压缩层所述服务数据单元 SDU数据包可能错误;
所述第二检验单元 1503确定所述服务数据单元 SDU数据包是否可解包头 压缩并通过包头压缩层的循环冗余校验;
所述更新单元 1504 在所述第二校验单元 1503 确认所述服务数据单元 SDU数据包可解包头压缩并通过包头压缩层的循环冗余校验的情况下, 根据 解包头压缩得出的正确头信息更新相应的上下文信息。
所述包头压缩可以为鲁棒性包头压缩 ROHC,所述下层协议数据单元 PDU 可以为 MAC层 PDU。
如附图 16所示, 本发明实施例还提供了一种与包头压缩机制结合时混合 自动重传请求的子包封装装置, 所述封装装置包括协商单元 1601、 计数单元 1602和封装单元 1603 , 所述协商单元 1601 用于在鲁棒性包头压缩 ROHC层 开始压缩前,协商确定每个混合自动重传请求子包内封装的协议数据单元个数 N,所述 N为混合自动重传请求 HARQ层、媒体接入控制 MAC层和包头压缩 层都支持的个数。
所述计数单元 1602 用于记录在媒体接入控制 MAC层发送给混合自动重 传请求 HARQ层的协议数据单元 PDU数据包个数, 当所述个数达到所述设定 个数 N时, 计数单元清零, 并通知混合自动重传请求 HARQ层信道所对应的 连接上的每个上下文标识(Context ID )所对应的包头压缩层压缩器状态回退。
所述封装单元 1603用于在媒体接入控制 MAC层收到包头压缩层发送的 属于初始化和状态信息更新包的服务数据单元 SDU数据包后, 在混合自动重 传请求 HARQ层开始封装混合自动重传请求 HARQ层子包( sub-packet ) , 所 述每个子包封装的每个上下文标识的第一个协议数据单元 PDU中的第一个服 务数据单元 SDU都是初始化和状态信息更新包。
所述包头压缩可以为鲁棒性包头压缩, 所述下层协议数据单元 PDU可以 为 MAC层 PDU。
请参阅图 17,本发明实施例提供的一种基于多进程混合自动重传请求的数 据包压缩方法基本流程示意图。 需要说明的是, 虽然本实施例是以混合自动重 传请求(HARQ )为例来说明, 但本领域技术人员能够理解, 本发明的技术方 案可以应用于自动重传请求(ARQ ), 其区别点在于: 在自动重传请求(ARQ ) 机制中,是以 ARQ层数据包包号作为判断数据包顺序的依据,指示接收端保存 包头压缩层数据包中的包头压缩层数据包上下文信息的指示信息是封装在无 线链路控制层(对于 IEEE 802.16系统是在 MAC层)数据包的扩展子头发送给 接收端。
图 17所示实施例提供的一种基于多进程混合自动重传请求的数据包压缩 方法基本流程示意图包括步骤:
S1701、 发送端自动重传请求层接收来自包头压缩层的数据包, 所述包头 压缩层数据包至少包含上下文信息。 需要说明的是, 在本实施例中, 包头压缩层可以是鲁棒性包头压缩层 ( ROHC层)。
51702、 封装所述包头压缩层数据包使之构成自动重传请求层数据包。 当鲁棒性包头压缩(ROHC )和自动重传请求(ARQ )或混合自动重传请 求(HARQ )相结合的时候, ROHC层下的 ARQ层或是 HARQ层都有各自的包 序列号,这些包序列号都能为 ROHC层提供数据包的顺序信息,例如,对于 ARQ 层数据包, 解压缩器可以获取 RLC层的包序列号 SN; 对于 HARQ层数据包, 解 压缩器也可以获取相当于 HARQ层数据包包号的信息, 自动重传请求层(或混 合自动重传请求层)将包头压缩层数据包(例如, ROHC层数据包)封装成自 动重传请求层数据包后发送至接收端。
51703、 对所述混合自动重传请求层数据包进行标识以指示接收端保存包 为了保持压缩器和解压缩器之间上下文信息的同步从而保证 ROHC数据 包顺序到达或接收, 发送端的 ROHC层压缩器需要知会接收端, 哪些数据包 被 ROHC层解压器成功解压缩之后, 接收端需要保存 ROHC层数据包包含的 上下文信息。 在本实施例中, 可以通过以下方式达到上述目的。
方式一:
当所述封装的包头压缩层(例如, ROHC层)数据包达到预定数量时, 在 所述自动重传请求层数据包中添加扩展子头,所述扩展子头包含指示接收端保 以当所述封装的包头压缩层(例如, ROHC层)数据包达到预定数量时, 在所 述自动重传请求层数据包中添加扩展子头。
需要说明的是, 方式一中, 在 IEEE 802.16系统中, 对于釆用 ARQ机制的, 上述指示信息相当于包含在 MAC层数据包的扩展子头, 对于釆用 HARQ机制 的, 上述指示信息相当于包含在物理层 (PHY层)数据包的扩展子头; 或者, 在长期演进系统( LTE: Long Term Evolution ) 中, 对于釆用 ARQ机制的, 上 述指示信息相当于包含在 RLC层数据包的扩展子头, 对于釆用 HARQ机制的, 上述指示信息相当于包含在 MAC层数据包的扩展子头。
方式二:
当所述封装的包头压缩层数据包达到预定数量时,将所述自动重传请求层 数据包的包号大小增一,所述增一后的包号指示接收端保存包头压缩层数据包 中的包头压缩层数据包上下文信息。
方式一和方式二中,预定数量可以由发送端设定,例如,可以是釆用 W-LSB 编码方案时, 发送端的滑动窗口的容量大小, 即, 滑动窗口宽度(SWW )。 在 本实施例中,接收端需要保存的包头压缩层数据包上下文信息是最后一个从自 动重传请求层 (或混合自动重传请求层 )数据包解压缩后获取的包头压缩层数 据包的包头压缩层数据包上下文信息。
在上述实施例中, 通过对封装有包头压缩层(例如, ROHC层)数据包的 HARQ层 (或 ARQ层 )数据包标识用于指示接收端保存包头压缩层数据包中的 包头压缩层数据包上下文信息的指示信息,可以使压缩器和解压缩器之间的上 下文信息同步,从而在发生数据包的重传时,仍然可以按照相关包号顺序正确 解压缩数据包。
请参阅图 18,本发明实施例提供的一种基于多进程混合自动重传请求的数 据包解压缩方法基本流程示意图。 需要说明的是, 虽然本实施例是以混合自动 重传请求(HARQ )为例来说明但本领域技术人员能够理解, 本发明的技术方 案可以应用于自动重传请求( ARQ ) ,其区别点仅在于:在自动重传请求( ARQ ) 机制中, 是以 ARQ层数据包包号作为判断数据包顺序的依据,, 指示接收端保 存包头压缩层数据包中的包头压缩层数据包上下文信息的指示信息是封装在 无线链路控制层 (RLC层)数据包的扩展子头发送给接收端。
图 18所示实施例提供的一种基于多进程混合自动重传请求的数据包解压 缩方法基本流程示意图包括步骤:
S1801、 接收端包头压缩层接收来自本端混合自动重传请求层的数据包, 记所述接收的混合自动重传请求层数据包的包号为 Pn。
在本实施例中,接收端 HARQ层或 ARQ层正确接收并解包后, 将这些数据 包发送给包头压缩层(例如, ROHC层)的同时,还将封装这些数据包的 HARQ 层 (或 ARQ层)数据包的包号上传给包头压缩层 (例如, ROHC层)。 如果发 现该数据包具有用于指示接收端保存包头压缩层数据包中的包头压缩层数据 包上下文信息的标识, 例如, HARQ层数据包(或 ARQ层数据包)的扩展子头 中包含的指示接收端保存包头压缩层数据包中的包头压缩层数据包上下文信 息的指示信息, 还需要将该标识也通知 ROHC层解压缩器, 解压缩器在接收到 该标识后, 只需要保存最后一个从 HARQ层数据包(或 ARQ层数据包)解压缩 后获取的包头压缩层数据包(例如, ROHC层数据包)的包头压缩层数据包上 下文信息。
S1802、 查询本端维护的列表, 获取所述列表中小于且最接近于所述 Pn的 包号所对应的包头压缩层数据包上下文信息。
在本实施例中, 列表的生成方法如下:
保存最后一个从 HARQ层 (或 ARQ层)数据包解压缩后获取的包头压缩层 数据包的包头压缩层数据包上下文信息 Mc;
建立所述包头压缩层数据包上下文信息 Mc与封装有所述包头压缩层数据 包上下文信息 Mc的 HARQ层(或 ARQ层)数据包的包号相对应的列表。
具体地, 在解压缩器一端, 每当有发送端的包头压缩层(例如, ROHC层) 数据包从 HARQ层(或 ARQ层 )上传时,解压缩器也接收来自 HARQ层(或 ARQ 层)有关这些数据包所属 HARQ层(或 ARQ层)数据包包号的信息。 若这些数 据包还包含需要保存上下文(Context )信息的标识时, 则在正确解压缩完该 HARQ层(或 ARQ层)数据包中封装的所有包头压缩层(例如, ROHC层)数 据包后, 保存最后一个从中正确解压缩出的包头压缩层数据包的上下文 ( Context )信息, 由此在解压缩器端保存并维护一个 HARQ层(或 ARQ层 )数 据包包号与保存的包头压缩层数据包的上下文信息相对应的一个列表。
需要说明的是, 在本实施例中, 接收端还可以为所述列表中 HARQ层(或
ARQ层)数据包按其到达接收端的先后顺序分配包号, 即, 每当有一个 HARQ 层(或 ARQ层)数据包到达, 其序列号就在紧接着之前到达的非重传的 HARQ 层(或 ARQ层)数据包包号加一。 由于可以在接收端为 HARQ层(或 ARQ层) 数据包分配包号, 因此, 发送端在发送这些数据包时, 不需要为其添加包号。 若所述 HARQ层(或 ARQ层)数据包被重传,则保持首次接收所述 HARQ层(或 ARQ层)数据包时为其分配的包号不变。
S1803、 釆用所述小于且最接近于所述 Pn的包号所对应的包头压缩层数据 包上下文信息解压缩所述接收的 HARQ层(或 ARQ层)数据包。
若按照步骤 S1082建立了包头压缩层数据包上下文信息 Mc与封装有所述 包头压缩层数据包上下文信息 Mc的 HARQ层 (或 ARQ层)数据包的包号相对 应的列表, 则在包头压缩层(例如, ROHC层)执行解压缩时, 根据该待解压 数据包所对应的 HARQ层 (或 ARQ层)数据包包号, 在上述列表中查询与该 HARQ层(或 ARQ层 )数据包包号最接近并且小于该 HARQ层(或 ARQ层 )数 据包包号的 HARQ层(或 ARQ层)数据包包号所对应的上下文( Context )信息, 一旦查询到此上下文(Context )信息后, 则使用此上下文(Context )信息解 压缩该包头压缩层(例如, ROHC层)数据包。 而对于没有收到 HARQ层 (或 ARQ层)通知保存上下文(Context )信息的数据包, 即使正确解压, 也不需 要按原有机制更新并保存上下文(Context )信息。
从本实施例可以获知, 由于在包头压缩层(例如, ROHC层)执行解压缩 时, 使用的是列表中与当前接收到的 HARQ层(或 ARQ层)数据包包号最接近 并且小于该 HARQ层(或 ARQ层 )数据包包号的 HARQ层(或 ARQ层 )数据包 包号所对应的上下文(Context )信息。 因此, 即使发生由于上下文信息失步 导致包头压缩层数据包乱序到达,包头压缩层解压缩器依然能够正确解压缩该 包头压缩层数据包,从而保证 ARQ(或 HARQ )机制和包头压缩(例如, ROHC ) 机制相结合时既提高数据传输效率, 又减少系统资源的浪费。
请参阅图 19,本发明实施例提供的一种基于多进程混合自动重传请求的数 据包压缩装置基本逻辑结构示意图。
需要说明的是, 虽然本实施例是以混合自动重传请求(HARQ )为例来说 明但本领域技术人员能够理解, 本发明的技术方案可以应用于自动重传请求 ( ARQ ), 其区别点在于: 在自动重传请求(ARQ )机制中, 是以 ARQ层数据 包包号作为判断数据包顺序的依据,指示接收端保存包头压缩层数据包中的包 头压缩层数据包上下文信息的指示信息是封装在无线链路控制层 (对于 IEEE 802.16系统是在 MAC层)数据包的扩展子头发送给接收端。
为了便于说明,仅示出了与本发明实施例相关的部分。 图 19所示实施例提 供的一种基于多进程混合自动重传请求的数据包压缩装置包括:
接收单元 1901 , 用于接收来自包头压缩层的数据包, 所述包头压缩层数据 包至少包含上下文信息;
封装单元 1902,用于封装所述接收单元 1901接收的包头压缩层数据包使之 构成混合自动重传请求层数据包;
标识单元 1903 ,用于对所述封装单元 1902封装的混合自动重传请求层数据 包进行标识以指示接收端保存包头压缩层数据包中的包头压缩层数据包上下 文信息。
请参阅图 20,本发明实施例提供的一种基于多进程混合自动重传请求的数 据包解压缩装置基本逻辑结构示意图。
需要说明的是, 虽然本实施例是以混合自动重传请求(HARQ )为例来说 明但本领域技术人员能够理解, 本发明的技术方案可以应用于自动重传请求 ( ARQ ), 其区别点在于: 在自动重传请求(ARQ )机制中, 是以 ARQ层数据 包包号作为判断数据包顺序的依据,指示接收端保存包头压缩层数据包中的包 头压缩层数据包上下文信息的指示信息是封装在无线链路控制层 (对于 IEEE 802.16系统是在 MAC层)数据包的扩展子头发送给接收端。
为了便于说明,仅示出了与本发明实施例相关的部分。 图 20所示实施例提 供的一种基于多进程混合自动重传请求的数据包解压缩装置包括:
接收单元 2001 ,用于接收来自接收端混合自动重传请求层的数据包及其包 号, 记所述接收的混合自动重传请求层数据包的包号为 Pn;
获取单元 2002,用于在所述接收单元 2001接收来自接收端自动重传请求层 的数据包及其包号后, 查询本端维护的列表, 获取所述列表中小于且最接近于 所述 Pn的包号所对应的包头压缩层数据包上下文信息;
解压缩单元 2003 ,用于釆用所述获取单元 2002获取的小于且最接近于所述 Pn的包号所对应的包头压缩层数据包上下文信息解压缩所述接收的混合自动 重传请求层数据包。
所述装置进一步包括:
保存单元,用于保存最后一个从混合自动重传请求层数据包解压缩后获取 的包头压缩层数据包的包头压缩层数据包上下文信息 Mc;
列表生成单元,用于根据所述保存单元保存的最后一个从混合自动重传请 求层数据包解压缩后获取的包头压缩层数据包的包头压缩层数据包上下文信 息 Mc, 建立所述包头压缩层数据包上下文信息 Mc与封装有所述包头压缩层数 据包上下文信息 Mc的混合自动重传请求层数据包的包号相对应的列表;
包号分配单元,用于为所述列表生成单元生成的列表中混合自动重传请求 层数据包按其到达接收端的先后顺序分配包号。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: 只读存储器(ROM: Read Only Memory ), 随机存取存储器 (RAM: Random Access Memory ), 磁盘或光盘等。 路执行节点和移动通信系统进行了详细介绍,本文中应用了具体个例对本发明 的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的 方法及其核心思想; 同时, 对于本领域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用范围上均会有改变之处, 综上所述, 本说明书内容不应 理解为对本发明的限制。
+

Claims

权 利 要 求
1、 一种釆用自动重传请求机制的包头压缩通信方法, 其特征在于, 所述 方法包括:
发送端与接收端协商确定进行包头压缩和自动重传请求所需参数; 数据单元并发送给接收端;
与接收端交互, 进行包头压缩处理。
2、 如权利要求 1中所述的方法, 其特征在于, 所述发送端与接收端协商 确定进行包头压缩和自动重传请求所需参数之前或者同时, 还包括:
包头压缩层和自动重传请求层协商确定相关参数。
3、 如权利要求 1中所述的方法, 其特征在于, 所述发送端的下层协议数 据单元构造实体构造包含包头压缩信息的下层协议数据单元包括:
在所述下层协议数据单元中增加扩展子头,所述扩展子头中包含包头压缩 信息。
4、 如权利要求 3中所述的方法, 其特征在于, 所述发送端的下层协议数 据单元构造实体构造包含包头压缩信息的下层协议数据单元包括:
接收来自包头压缩层的服务数据单元数据包;
所述下层协议数据单元构造实体将具有相同上下文标识的服务数据单元 数据包封装成下层协议数据单元数据包;
在所述协议数据单元数据包的扩展子头中添加所述上下文标识并剔除所 述服务数据单元包头中的上下文标识。
5、 如权利要求 3中所述的方法, 其特征在于, 所述发送端的下层协议数 据单元构造实体构造包含包头压缩信息的下层协议数据单元具体为:
接收来自包头压缩层的服务数据单元数据包;
所述下层协议数据单元构造实体根据服务数据单元的包头格式判断所述 服务数据单元是否为具有上下文更新的服务数据单元; 的服务数据单元数据包。
6、 如权利要求 1中所述的方法, 其特征在于, 所述与接收端交互具体包 括:
自动重传请求层发送端收到来自接收端的反馈后,根据反馈的信息以及发 送端保存的相关服务数据单元信息,与包头压缩层协商确定是否要将原数据包 重传。
7、 如权利要求 1至 6任意一项所述的方法, 其特征在于, 所述包头压缩 为鲁棒性包头压缩, 所述下层协议数据单元为媒体接入控制层协议数据单元。
8、 一种釆用自动重传请求机制的包头压缩通信方法, 其特征在于, 所述 方法包括:
与发送端协商确定进行包头压缩和自动重传请求所需参数;
接收包含包头压缩信息的下层协议数据单元;
与发送端交互, 进行解包头压缩。
9、 如权利要求 8中所述的方法, 其特征在于, 所述与发送端协商确定进 行包头压缩和自动重传请求所需参数之前或者同时还包括:
包头压缩层和自动重传请求层协商确定相关参数。
10、 如权利要求 8中所述的方法, 其特征在于, 所述与发送端交互, 进行 包头压缩具体包括:
对接收到的下层协议数据单元数据包进行循环冗余校验;
将未通过校验的下层协议数据单元数据包分解为服务数据单元数据包 ,将 所述服务数据单元数据包传送给包头压缩层并通知包头压缩层,所述服务数据 单元数据包为错误数据包;
若包头压缩层对所述从下层协议数据单元数据包分解出的服务数据单元 数据包可解包头压缩并通过包头压缩层的循环冗余校验,则根据解包头压缩得 出的正确头信息更新相应的上下文信息, 并将所述 Λ良务数据单元数据包丟弃。
11、 如权利要求 10中所述的方法, 其特征在于, 若所述包头压缩层不能 对所述从下层协议数据单元数据包分解出的服务数据单元数据包不能解包头 压缩并通过包头压缩层的循环冗余校验, 则所述方法还包括:
等待与所述无法在包头压缩层被正确解压缩的服务数据单元数据包具有 相同上下文标识且能被自动重传请求层正确接收的服务数据单元数据包并尝 试对其进行解压。
12、 如权利要求 8中所述的方法, 其特征在于, 所述与发送端交互进行包 头压缩包括:
当接收端的包头压缩层解压缩器收到来自自动重传请求层的服务数据单 元数据包, 且经过解包头压缩后不能通过循环冗余校验时, 所述包头压缩层解 压缩器通知接收端自动重传请求层所述服务数据单元数据包解压缩错误,所述 接收端自动重传请求层通知发送端进行重传。
13、 如权利要求 8至 12中所述的方法, 其特征在于, 所述包头压缩为鲁 棒性包头压缩, 所述下层协议数据单元为媒体接入控制层协议数据单元。
14、 一种协议数据处理单元构造方法, 其特征在于, 所述方法包括: 协议数据单元构造实体将服务数据单元封装成协议数据单元;
在所述协议数据单元中增加扩展子头, 所述扩展子头包含包头压缩信息。
15、 如权利要求 14中所述的方法, 其特征在于, 所述将服务数据单元封 装成协议数据单元为:
将具有相同上下文标识的服务数据单元进行打包或者分片;
所述在所述协议数据单元中增加扩展子头,所述扩展子头包含包头压缩信 息为:
在所述协议数据单元的扩展子头中添加所述上下文标识并剔除所述服务 数据单元包头中的上下文标识。
16、 如权利要求 14中所述的方法, 其特征在于, 所述方法还包括: 所述协议数据单元构造实体根据服务数据单元数据包的包头格式,判断所 在所述扩展子头中标识所述具有上下文更新的服务数据单元数据包。
17、 如权利要求 16中所述的方法, 其特征在于, 所述在所述扩展子头中 协议数据单元构造实体根据具有上下文信息更新的服务数据单元数据包 的数目,加入相应个数的扩展子头, 所述每个扩展子头都包含一个具有上下文 信息更新的服务数据单元数据包的首数据块序列号;
或者
若将一个服务数据单元分片成多个, 打包至不同的协议数据单元中传输, 则在具有上下文信息更新的服务数据单元数据包的第一个数据块所在的协议 数据处理单元中加入相应的扩展子头。
18、 如权利要求 14至 17中所述的方法, 其特征在于, 所述包头压缩为鲁 棒性包头压缩, 所述协议数据单元为媒体接入控制层协议数据单元。
19、 一种釆用自动重传请求机制的包头压缩通信错误处理方法, 其特征在 于, 所述方法包括:
对收到的协议数据单元数据包进行循环冗余校验;
将未通过校验的协议数据单元数据包分解为服务数据单元数据包后传送 至包头压缩层并通知所述包头压缩层所述服务数据单元数据包为错误数据包; 若包头压缩层对所述从下层协议数据单元数据包分解出的服务数据单元 数据包可解包头压缩并通过包头压缩层的循环冗余校验,则根据解包头压缩得 出的正确头信息更新相应的上下文信息。
20、 如权利要求 19中所述的方法, 其特征在于, 所述包头压缩为鲁棒性 包头压缩, 所述协议数据单元为媒体接入控制层协议数据单元。
21、 如权利要求 20中所述的方法, 其特征在于, 若包头压缩层对所述从 下层协议数据单元数据包分解出的服务数据单元数据包不能解包头压缩并通 过包头压缩层的循环冗余校验时, 则所述方法还包括:
等待与所述无法在包头压缩层正确解压缩的服务数据单元数据包具有相 同上下文标识且能被自动重传请求层正确接收的服务数据单元数据包并尝试 对其进行解压。
22、 如权利要求 21 中所述的方法, 其特征在于, 所述方法进一步包括: 所述包头压缩层判断是否能够对所述具有相同上下文标识的下一个自动重传 请求层能正确接收的服务数据单元数据包正确解压的方法具体为:
在收到所述无法解压的服务数据单元数据包之后的 N个数据包中如果没 有发生自动重传请求层校验正确, 而包头压缩层却无法正确解压的情况, 则认 为下一个具有相同上下文标识的服务数据单元数据包能够在包头压缩层解压 缩器被正确解压;
如果在之后的 N个数据包中出现自动重传请求层效验正确, 而包头压缩 层却无法正确解压的情况,则认为下一个具有相同上下文标识的服务数据单元 数据包不能够在包头压缩层解压缩器被正确解压;
所述 N为在连接建立的时候进行协商确定或者人为设定的整数值。
23、如权利要求 21或者 22中所述的方法,其特征在于, 包括方法还包括: 包头压缩层解压缩器判断其收到的服务数据单元数据包是否为重传的服 务数据单元数据包;
在判断所述服务数据单元数据包为重传服务数据单元数据包时,利用所述 重传的服务数据单元数据包解压之前緩存的未正确解压的服务数据单元数据 包。
24、 如权利要求 23中所述的方法, 其特征在于, 所述包头压缩层解压缩 器判断其收到的服务数据单元数据包是否为重传的服务数据单元数据包的方 法具体包括:
自动重传请求层通知包头压缩层所述接收到的服务数据单元数据包是否 为重传的服务数据单元数据包;
或者
接收端自动重传请求层将其接收到的协议数据单元中的每一个服务数据 单元数据包上传给包头压缩层解压缩器时,通知包头压缩层解压缩器所述服务 数据单元中首数据块序列号;
包头压缩层解压缩器根据所述每个服务数据单元的首数据块序列号,建立 和维护上下文信息与数据块序列号对应的链表; 当服务数据单元到达包头压缩层解压缩器时,包头压缩层解压缩器判断所 述服务数据单元的首序列号若不大于所述链表中最大的序列号时,则确定其为 重传的服务数据单元。
25、 如权利要求 23中所述的方法, 其特征在于, 所述判断所述服务数据 单元为重传服务数据单元数据包时,利用其解压之前緩存的未正确解压的服务 数据单元数据包具体为:
建立基于上下文标识的链表存储相应的不能解压的服务数据单元以及首 数据块序列号;
根据重传服务数据单元数据包的上下文标识找到相应的存储链表; 根据重传服务数据单元数据包的数据块序列号找到链表中存储的在所述 数据块序列号之后的未解压的服务数据单元数据包;
根据所述重传服务数据单元数据包,更新根据重传服务数据单元数据包的 上下文标识找到相应的存储链表中緩存的上下文信息,并用上下文信息解压存 储在链表中的未正确解压的服务数据单元。
26、 如权利要求 21至 25任意一项所述的方法, 其特征在于, 若所述包头 压缩层解压缩器无法对所述具有相同上下文标识的下一个自动重传请求层能 正确接收的服务数据单元正确解压,则将后续无法正确解压的数据包上传给包 头压缩层解压缩器, 继续尝试解压;
若无法正确解压, 则将其緩存在包头压缩层, 直到能正确解压缩所述后续 数据包或重传的数据包且上下文信息已经更新的数据包到达后继续对所述服 务数据单元数据包尝试进行解压缩。
27、 如权利要求 21至 25任意一项所述的方法, 其特征在于, 若所述包头 压缩层解压缩器无法对所述具有相同上下文标识的下一个自动重传请求层能 正确接收的服务数据单元正确解压,则当协议数据单元中包含的包头压缩信息 中包含其封装的服务数据单元数据包是否为具有上下文信息更新的服务数据 单元数据包这一信息时,接收端自动重传请求层根据所述信息判断后续接收的 服务数据单元是否能够更新该上下文标识中的上下文信息,将后续数据包緩存 在自动重传请求层,直到能正确解压缩所述后续数据包或重传的数据包且上下 文信息已经更新的数据包被接收。
28、 一种包头压缩反馈与自动重传请求反馈结合的方法, 其特征在于, 所 述方法包括:
当接收端的包头压缩层解压缩器收到来自接收端自动重传请求层传送的 经包头压缩后的服务数据单元数据包且解包头压缩后仍不能通过循环冗余验 证时, 所述包头压缩层解压缩器通知接收端自动重传请求层所述数据解压错 误, 利用自动重传请求的反馈机制, 所述接收端自动重传请求层通知发送端进 行重传。
29、 如权利要求 28中所述的方法, 其特征在于, 所述利用自动重传请求 的反馈机制, 所述接收端自动重传请求层通知发送端进行重传包括:
接收端自动重传请求层对于每个出错的服务数据单元的首数据块序列号 使用至少一比特的位图反馈具体的错误形式, 所述错误形式包括是否正确接 收、是否解包头压缩正确或是静态上下文信息出错还是动态上下文信息出错三 种中的至少一种。
30、 一种与包头压缩机制结合时混合自动重传请求的子包封装方法, 所述 方法包括:
媒体接入控制层接收包头压缩层发送的服务数据单元后,将其封装成协议 数据单元发送给混合自动重传请求层;
所述混合自动重传请求层将所述协议数据单元封装成子包;
其特征在于,所述封装的子包中的每个上下文标识的首个协议数据单元中 的首个服务数据单元为初始化和状态信息更新包。
31、 如权利要求 30中所述的封装方法, 其特征在于, 每个子包的封装过 程包括如下步骤:
媒体接入控制层收到包头压缩层发送的属于初始化和状态信息更新包的 服务数据单元数据包后,通知混合自动重传请求层开始封装新的混合自动重传 请求层子包; 混合自动重传请求层收到媒体接入控制层的通知后,接收所述以初始化和 状态信息更新包为首个服务数据单元数据包的协议数据单元数据包,从该协议 数据单元数据包开始封装混合自动重传请求层子包。
32、 一种釆用自动重传请求机制的包头压缩装置, 其特征在于, 所述装置 包括发送模块和接收模块;
所述发送模块用于与所述接收模块协商确定进行包头压缩和自动重传请 求所需参数,构造包含包头压缩信息的下层协议数据单元并发送给所述接收模 块, 与所述接收模块交互, 进行包头压缩处理;
所述接收模块用于与发送模块协商确定进行包头压缩和自动重传请求所 需参数,接收发送模块发送的包含包头压缩信息的下层协议数据单元, 并与发 送模块交互, 进行包头压缩通信。
33、 如权利要求 32中所述的装置, 其特征在于,
所述发送模块还进一步包括包头压缩单元和自动重传请求发送单元; 所述包头压缩单元用于将数据进行包头压缩处理;
所述自动重传请求发送单元用于在下层协议数据单元中增加扩展子头,在 所述扩展子头中包含包头压缩信息,并将所述下层协议数据单元发送给接收模 块;
所述接收模块还进一步包括解压缩单元和自动重传请求接收单元; 所述自动重传请求接收单元用于接收自动重传请求发送单元发送的包含 包头压缩信息的下层协议数据单元,并将所述下层协议数据单元处理成服务数 据单元发送给包头压缩解压缩单元;
所述解压缩单元用于对收到的服务数据单元进行解压缩处理。
34、 一种协议数据单元构造装置, 其特征在于, 所述装置包括: 包头压缩 信息获取模块和包头压缩信息添加模块;
所述包头压缩信息获取模块用于从包头压缩后的服务数据单元数据包中 获取包头压缩信息并发送给包头压缩信息添加模块;
所述包头压缩信息添加模块用于在协议数据单元中增加扩展子头,在所述 扩展子头中添加所述包头压缩信息。
35、 如权利要求 34中所述的装置, 其特征在于, 所述包头压缩信息包括 服务数据单元的上下文标识或者所述服务数据单元数据包是否为具有上下文 信息更新的服务数据单元数据包的标识信息。
36、 一种釆用自动重传机制的包头压缩错误处理装置, 其特征在于, 所述 装置包括: 第一校验单元, 分解单元, 第二校验单元, 更新单元;
所述第一校验单元用于对接收到的协议数据单元数据包进行循环冗余校 验;
所述分解单元用于将未通过校验的协议数据单元数据包分解为服务数据 单元数据包,将所述服务数据单元数据包传送给包头压缩层并通知包头压缩层 所述服务数据单元数据包可能错误;
所述第二检验单元用于确定所述服务数据单元数据包是否可解包头压缩 并通过包头压缩层的循环冗余校验;
所述更新单元用于在所述第二校验单元确认所述服务数据单元数据包可 解包头压缩并通过包头压缩层的循环冗余校验的情况下,根据解包头压缩得出 的正确头信息更新相应的上下文信息。
37、 一种与包头压缩机制结合时混合自动重传请求的子包封装装置, 其特 征在于, 所述装置包括协商单元、 计数单元和封装单元;
所述协商单元用于在包头压缩层开始压缩前,协商确定每个混合自动重传 请求的子包内封装的协议数据单元个数 N, 所述协商确定的 N为混合自动重 传请求层、 媒体接入控制层和包头压缩层都支持的个数;
所述计数单元用于记录在所述媒体接入控制层发送给所述混合自动重传 请求层的协议数据单元数据包个数, 当所述个数达到所述个数 N时, 计数单 元清零,并通知混合自动重传请求信道所对应的连接上的每个上下文标识所对 应的包头压缩层压缩器状态回退;
所述封装单元用于在媒体接入控制层收到包头压缩层发送的属于初始化 和状态信息更新包的服务数据单元数据包后,在混合自动重传请求层开始封装 混合自动重传请求子包,所述每个子包封装的每个上下文标识的第一个协议数 据单元中的第一个服务数据单元都是初始化和状态信息更新包。
38、 一种基于混合自动重传请求的数据包压缩方法, 其特征在于, 所述方 法包括:
发送端混合自动重传请求层接收来自包头压缩层的数据包,所述包头压缩 封装所述包头压缩层数据包使之构成混合自动重传请求层数据包; 对所述混合自动重传请求层数据包进行标识以指示接收端保存所述包头 压缩层数据包上下文信息。
39、 如权利要求 38所述的方法, 其特征在于, 所述对所述混合自动重传请 求层数据包进行标识以指示接收端保存包头压缩层数据包中的包头压缩层数 据包上下文信息包括:
在所述混合自动重传请求层数据包中添加扩展子头,所述扩展子头包含指 示接收端保存包头压缩层数据包中的包头压缩层数据包上下文信息的指示信 息; 或者
当所述封装的包头压缩层数据包达到预定数量时,将所述混合自动重传请 求层数据包的包号大小增一,所述增一后的包号指示接收端保存包头压缩层数 据包中的包头压缩层数据包上下文信息。
40、 如权利要求 39所述的方法, 其特征在于, 所述预定数量为发送端的滑 动窗口的容量大小, 所述包头压缩层为鲁棒性包头压缩层。
41、 一种基于混合自动重传请求的数据包解压缩方法, 其特征在于, 所述 方法包括:
接收端包头压缩层接收来自本端混合自动重传请求层数据包及其包号,记 所述接收的自动重传请求层数据包的包号为 Pn;
查询本端维护的列表,获取所述列表中小于且最接近于所述 Pn的包号所对 应的包头压缩层数据包上下文信息;
釆用所述小于且最接近于所述 Pn的包号所对应的包头压缩层数据包上下 文信息解压缩所述接收的混合自动重传请求层数据包。
42、 如权利要求 41所述的方法, 其特征在于, 所述接收端包头压缩层接收 来自本端混合自动重传请求层的数据包之前还包括:
保存最后一个从混合自动重传请求层数据包解压缩后获取的包头压缩层 数据包的包头压缩层数据包上下文信息 Mc;
建立所述包头压缩层数据包上下文信息 Mc与封装有所述包头压缩层数据 包上下文信息 Mc的混合自动重传请求层数据包的包号相对应的列表。
43、 如权利要求 42所述的方法, 其特征在于, 为所述列表中混合自动重传 请求层数据包按其到达接收端的先后顺序分配包号。
44、 如权利要求 43所述的方法, 其特征在于, 若所述混合自动重传请求层 数据包被重传,则保持首次接收所述自动重传请求层数据包时为其分配的包号 不变。
45、 如权利要求 41所述的方法, 其特征在于, 所述包头压缩层为鲁棒性包 头压缩层。
46、 一种基于混合自动重传请求的数据包压缩装置, 其特征在于, 所述装 置包括:
接收单元, 用于接收来自包头压缩层的数据包, 所述包头压缩层数据包至 少包含包头压缩层数据包上下文信息;
封装单元,用于封装所述包头压缩层数据包使之构成混合自动重传请求层 数据包;
标识单元,用于对所述混合自动重传请求层数据包进行标识以指示接收端 保存所述包头压缩层数据包上下文信息。
47、 一种基于自动重传请求的数据包解压缩装置, 其特征在于, 所述装置 包括:
接收单元, 用于接收来自接收端混合自动重传请求层数据包及其包号, 记 所述接收的自动重传请求层数据包的包号为 Pn;
获取单元, 用于查询本端维护的列表, 获取所述列表中小于且最接近于所 述 P n的包号所对应的包头压缩层数据包上下文信息;
解压缩单元,用于釆用所述小于且最接近于所述 Pn的包号所对应的包头压 缩层数据包上下文信息解压缩所述接收的混合自动重传请求层数据包。
48、 如权利要求 47所述的装置, 其特征在于, 所述装置还包括: 保存单元,用于保存最后一个从混合自动重传请求层数据包解压缩后获取 的包头压缩层数据包的包头压缩层数据包上下文信息 Mc;
列表生成单元, 用于建立所述包头压缩层数据包上下文信息 Mc与封装有 所述包头压缩层数据包上下文信息 Mc的混合自动重传请求层数据包的包号相 对应的列表。
49、 如权利要求 48所述的装置, 其特征在于, 所述装置还包括: 包号分配单元,用于为所述列表中混合自动重传请求层数据包按其到达接 收端的先后顺序分配包号。
+
PCT/CN2009/074637 2009-04-20 2009-10-27 一种包头压缩通信方法和装置 WO2010121467A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP09843571.2A EP2424144B1 (en) 2009-04-20 2009-10-27 Communication method and equipment of the header compression
US13/277,606 US8848583B2 (en) 2009-04-20 2011-10-20 Communication method and apparatus for header compression

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
PCT/CN2009/071368 WO2010121410A1 (zh) 2009-04-20 2009-04-20 一种采用arq机制的头压缩通信方法和装置
CNPCT/CN2009/071368 2009-04-20

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/277,606 Continuation US8848583B2 (en) 2009-04-20 2011-10-20 Communication method and apparatus for header compression

Publications (1)

Publication Number Publication Date
WO2010121467A1 true WO2010121467A1 (zh) 2010-10-28

Family

ID=43010657

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2009/071368 WO2010121410A1 (zh) 2009-04-20 2009-04-20 一种采用arq机制的头压缩通信方法和装置
PCT/CN2009/074637 WO2010121467A1 (zh) 2009-04-20 2009-10-27 一种包头压缩通信方法和装置

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071368 WO2010121410A1 (zh) 2009-04-20 2009-04-20 一种采用arq机制的头压缩通信方法和装置

Country Status (4)

Country Link
US (1) US8848583B2 (zh)
EP (1) EP2424144B1 (zh)
CN (1) CN102292940B (zh)
WO (2) WO2010121410A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI717944B (zh) * 2017-12-21 2021-02-01 聯發科技股份有限公司 處理壓縮錯誤的方法和裝置

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IN2011KN03766A (zh) 2009-03-17 2015-07-10 Huawei Tech Co Ltd
CN103597872B (zh) * 2011-06-10 2018-01-16 三星电子株式会社 在无线通信环境中用于发送和接收可分割数据单元的方法和系统
US9130748B2 (en) * 2012-02-25 2015-09-08 Telefonaktiebolaget L M Ericsson (Publ) Hybrid automatic repeat request with feedback dependent BIT selection
WO2013164378A1 (en) 2012-05-04 2013-11-07 Altobridge Limited Optimizing mobile network bandwidth
US9400797B2 (en) * 2013-09-17 2016-07-26 Avago Technologies General Ip (Singapore) Pte. Ltd. Systems and methods for recovered data stitching
IN2014CH00621A (zh) * 2014-02-07 2015-08-14 Samsung R & D Inst India Bangalore Private Ltd
CN105532059B (zh) * 2014-03-21 2019-06-18 华为技术有限公司 配置指示方法和通信设备
CN106063280A (zh) 2014-04-30 2016-10-26 Lg电子株式会社 发送广播信号的装置、接收广播信号的装置、发送广播信号的方法以及接收广播信号的方法
WO2016024148A1 (en) * 2014-08-15 2016-02-18 Telefonaktiebolaget L M Ericsson (Publ) Rohc optimizations for burst losses
US10341466B2 (en) * 2014-11-14 2019-07-02 Qualcomm Incorporated Evolved data compression scheme signaling
CN105764092A (zh) * 2014-12-17 2016-07-13 中兴通讯股份有限公司 初始状态报文发送控制方法、压缩端、解压端设备及系统
KR102300300B1 (ko) * 2015-07-03 2021-09-09 삼성전자주식회사 헤더 압축을 이용한 패킷 통신 방법 및 장치
US9979557B2 (en) * 2015-08-10 2018-05-22 Hughes Network Systems, Llc Carrier grade Ethernet layer 2 over layer 3 satellite backbones (L2oL3SB)
US10887430B2 (en) * 2015-10-21 2021-01-05 Dragonwave-X, Llc Compression in communications
US10334477B2 (en) * 2016-05-03 2019-06-25 Lg Electronics Inc. Method and device for transmitting data unit
CN114363420B (zh) * 2018-09-28 2024-02-09 Oppo广东移动通信有限公司 通信方法、终端设备和网络设备
US20200213423A1 (en) * 2019-01-02 2020-07-02 Qualcomm Incorporated Systems, methods, and computing platforms for context identifier allocation for data packet header compression
CN209381833U (zh) * 2019-01-16 2019-09-13 四川蔚宇电气有限责任公司 一种用pcb板连接各功能模块的充电桩控制器及其充电桩

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913534A (zh) * 2006-08-17 2007-02-14 华为技术有限公司 一种数据处理方法及通信设备
CN1996941A (zh) * 2006-06-30 2007-07-11 华为技术有限公司 一种鲁棒性头部压缩u模式出错时的处理方法
CN101179564A (zh) * 2007-08-10 2008-05-14 华中科技大学 基于链路层自动请求重传的tcp分组头部压缩方法及其系统
CN101204068A (zh) * 2005-06-21 2008-06-18 艾利森电话股份有限公司 动态鲁棒首部压缩

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4520032B2 (ja) * 2000-08-17 2010-08-04 パナソニック株式会社 ヘッダ圧縮装置およびヘッダ圧縮方法
KR100595583B1 (ko) * 2001-07-09 2006-07-03 엘지전자 주식회사 이동통신시스템에서 핸드오버에 따른 패킷 데이터 전송 방법
US7106733B2 (en) * 2002-03-20 2006-09-12 Intel Corporation Method and apparatus for network header compression
WO2007031090A1 (en) * 2005-09-15 2007-03-22 Aalborg Universitet A method of compressing the header of a data packet
KR101216751B1 (ko) * 2006-02-07 2012-12-28 엘지전자 주식회사 이동 통신 시스템에서 식별자를 이용한 충돌 회피 방법
US7848287B2 (en) * 2006-05-16 2010-12-07 Telefonaktiebolaget Lm Ericsson Bi-directional RLC non-persistent mode for low delay services
US8750334B2 (en) 2006-10-02 2014-06-10 Motorola Mobility Llc Link layer assisted robust header compression context update management
WO2008051126A1 (en) * 2006-10-27 2008-05-02 Telefonaktiebolaget Lm Ericsson (Publ) Method and arrangement for efficiently utilizing radio resources in a communication network
WO2009057941A2 (en) * 2007-10-29 2009-05-07 Lg Electronics Inc. A method for repairing an error depending on a radion bearer type

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101204068A (zh) * 2005-06-21 2008-06-18 艾利森电话股份有限公司 动态鲁棒首部压缩
CN1996941A (zh) * 2006-06-30 2007-07-11 华为技术有限公司 一种鲁棒性头部压缩u模式出错时的处理方法
CN1913534A (zh) * 2006-08-17 2007-02-14 华为技术有限公司 一种数据处理方法及通信设备
CN101179564A (zh) * 2007-08-10 2008-05-14 华中科技大学 基于链路层自动请求重传的tcp分组头部压缩方法及其系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI717944B (zh) * 2017-12-21 2021-02-01 聯發科技股份有限公司 處理壓縮錯誤的方法和裝置

Also Published As

Publication number Publication date
CN102292940A (zh) 2011-12-21
CN102292940B (zh) 2014-04-02
EP2424144A1 (en) 2012-02-29
WO2010121410A1 (zh) 2010-10-28
EP2424144A4 (en) 2012-08-08
EP2424144B1 (en) 2019-02-27
US20120106413A1 (en) 2012-05-03
US8848583B2 (en) 2014-09-30

Similar Documents

Publication Publication Date Title
WO2010121467A1 (zh) 一种包头压缩通信方法和装置
US9736723B2 (en) Link layer assisted robust header compression context update management
US8392616B2 (en) Method and apparatus for transmitting header-compressed packet based on retransmission mechanism
US9929847B2 (en) Shortened block acknowledgement with fragmentation acknowledgement signaling
US11177908B2 (en) Communication method and communication apparatus for block acknowledgment transmission
RU2461147C2 (ru) Способ обработки радиопротокола в системе подвижной связи и передатчик подвижной связи
US11122152B2 (en) Data processing method and apparatus to reduce an overhead in a layer two protocol
EP2811681B1 (en) Method for moving a receive window in a radio access network
KR101387537B1 (ko) 성공적으로 수신했으나 헤더 압축 복원에 실패한 패킷의 처리 방법
EP2168270B1 (en) A method for handling correctly received but header compression failed packets
KR101216100B1 (ko) 단편화 패킹 확장헤더를 수반하는 mac pdu를 전송하는 방법 및 장치
US20090319850A1 (en) Local drop control for a transmit buffer in a repeat transmission protocol device
JP2007515113A (ja) 複数の局が共有媒体を介して通信するネットワークにおける動作方法
WO2017049647A1 (zh) 一种数据发送方法、数据接收方法和相关设备
TWI401985B (zh) 多重輸入輸出建立及傳送封包的方法
WO2011079777A1 (zh) 数据传输的方法和网络侧设备
WO2010121409A1 (zh) 一种压缩数据包的传输方法及装置
TWI416898B (zh) 用於資料傳送的系統以及方法
CN115022922A (zh) 用于lte系统中的呼叫处理方法和装置
CN107548104B (zh) 数据传输方法、接入点及站点
US20220158771A1 (en) Method of enabling harq, network entity and computer program
KR101526972B1 (ko) 무선 접속 시스템에서 난수선형부호화를 이용한 통신방법
WO2023221832A2 (zh) 一种通信方法及装置

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2009843571

Country of ref document: EP