[go: up one dir, main page]

CN102137441B - method, device and system for data transmission - Google Patents

method, device and system for data transmission Download PDF

Info

Publication number
CN102137441B
CN102137441B CN 201010600678 CN201010600678A CN102137441B CN 102137441 B CN102137441 B CN 102137441B CN 201010600678 CN201010600678 CN 201010600678 CN 201010600678 A CN201010600678 A CN 201010600678A CN 102137441 B CN102137441 B CN 102137441B
Authority
CN
China
Prior art keywords
pdu
data
retransmission
identifier
reordering window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 201010600678
Other languages
Chinese (zh)
Other versions
CN102137441A (en
Inventor
杨志胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 201010600678 priority Critical patent/CN102137441B/en
Publication of CN102137441A publication Critical patent/CN102137441A/en
Priority to PCT/CN2011/081890 priority patent/WO2012083762A1/en
Application granted granted Critical
Publication of CN102137441B publication Critical patent/CN102137441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1835Buffer management
    • H04L1/1841Resequencing

Landscapes

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

Abstract

本发明公开了一种数据传输方法、设备和系统。该方法包括:接收协议数据单元PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是否为重传数据。本发明实施例公开的数据传输方法可以解决现有技术中接收方确定接收的PDCP PDU是否包含重传数据的繁琐过程,提高了传输过程的效率。

Figure 201010600678

The invention discloses a data transmission method, device and system. The method includes: receiving a protocol data unit PDU, the first identifier in the header information of the PDU indicates whether the data in the PDU is retransmission data. The data transmission method disclosed in the embodiment of the present invention can solve the cumbersome process of determining whether the received PDCP PDU contains retransmission data in the prior art, and improves the efficiency of the transmission process.

Figure 201010600678

Description

数据传输方法、设备及系统Data transmission method, device and system

技术领域technical field

本发明涉及通信领域,尤其涉及数据传输方法、设备及系统。The present invention relates to the communication field, in particular to a data transmission method, device and system.

背景技术Background technique

LTE(Long Term Evolution,长期演进)属于第三代无线移动通信协议的长期演进版本。LTE的用户协议包括:PDCP(Packet Data ConvergenceProtocol,包分组汇聚协议)、RLC(Radio Link Control,无线链路控制)、MAC(Medium Access Control,媒体接入控制)和PHY(Physical Layer,物理层)。其中,PDCP的主要功能为:IP数据包的头压缩、数据的加解密、定时器丢弃、重建立时重传及重排序处理。LTE (Long Term Evolution, long-term evolution) is a long-term evolution version of the third-generation wireless mobile communication protocol. LTE user protocols include: PDCP (Packet Data Convergence Protocol, packet convergence protocol), RLC (Radio Link Control, radio link control), MAC (Medium Access Control, media access control) and PHY (Physical Layer, physical layer) . Among them, the main functions of PDCP are: header compression of IP data packets, encryption and decryption of data, timer discarding, retransmission and reordering processing upon re-establishment.

接收方根据PDCP PDU关联的SN来确定是否丢弃接收到的数据过程为:如果接收到的PDCP PDU SN小于最后一个提交给上层的PDCP PDU SN,则认为是接收到发送方因为切换重传而重复发送的数据,需要进行丢弃处理;或者如果接收到的PDCP PDU SN和最后一个提交给上层的PDCP PDU SN的差值大于PDCP接收窗口大小的一半,同样也会被判定为接收到发送方因为切换重传而重复发送的数据,并进行丢弃处理。The receiver determines whether to discard the received data according to the SN associated with the PDCP PDU. The process is: if the received PDCP PDU SN is smaller than the last PDCP PDU SN submitted to the upper layer, it is considered that the sender has received a duplicate due to switching and retransmission. The sent data needs to be discarded; or if the difference between the received PDCP PDU SN and the last PDCP PDU SN submitted to the upper layer is greater than half of the PDCP receiving window size, it will also be judged to be received by the sender because of switching The data sent repeatedly by retransmission is discarded.

现有技术,接收方根据接收到的PDCP PDU的SN和接收方上一次向上层提交的PDCP PDU的SN来确定接收的PDCP PDU是否包含重传数据,判断过程繁琐,从而导致数据传输的效率较低。In the prior art, the receiver determines whether the received PDCP PDU contains retransmission data according to the SN of the received PDCP PDU and the SN of the last PDCP PDU submitted by the receiver to the upper layer. The judgment process is cumbersome, resulting in low efficiency of data transmission. Low.

发明内容Contents of the invention

本发明的一方面提供一种数据传输方法,包括:An aspect of the present invention provides a data transmission method, comprising:

接收协议数据单元PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是否为重传数据;Receiving a protocol data unit PDU, the first identifier in the header information of the PDU indicates whether the data in the PDU is retransmission data;

若所述第一标识指示所述PDU中的数据为重传数据,且所述PDU不是重排序窗口外接收的PDU,并已缓存与所述PDU相同的PDU时,丢弃所述PDU;或者,If the first identifier indicates that the data in the PDU is retransmission data, and the PDU is not a PDU received outside the reordering window, and the same PDU as the PDU has been buffered, the PDU is discarded; or,

若所述第一标识指示所述PDU中的数据为重传数据,且所述PDU是重排序窗口外接收的PDU时,丢弃所述PDU;或者,If the first identifier indicates that the data in the PDU is retransmission data, and the PDU is a PDU received outside the reordering window, discarding the PDU; or,

若所述第一标识指示所述PDU中的数据为重传数据,所述PDU不是重排序窗口外接收的PDU,且未缓存与所述PDU相同的PDU时,缓存所述PDU。If the first identifier indicates that the data in the PDU is retransmission data, the PDU is not a PDU received outside the reordering window, and the same PDU as the PDU is not cached, cache the PDU.

本发明的另一方面提供一种数据传输方法,包括:Another aspect of the present invention provides a data transmission method, comprising:

发送协议数据单元PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是否为重传数据,以便PDU接收方在接收到所述PDU后执行如下步骤:Send a protocol data unit PDU, the first identifier in the header information of the PDU indicates whether the data in the PDU is retransmission data, so that the PDU receiver performs the following steps after receiving the PDU:

PDU接收方依据所述第一标识判断所述PDU中的数据是否为重传数据;The PDU receiver judges whether the data in the PDU is retransmission data according to the first identifier;

若所述第一标识指示所述PDU中的数据为重传数据,且所述PDU不是重排序窗口外接收的PDU,并已缓存与所述PDU相同的PDU时,丢弃所述PDU;或者,If the first identifier indicates that the data in the PDU is retransmission data, and the PDU is not a PDU received outside the reordering window, and the same PDU as the PDU has been buffered, the PDU is discarded; or,

若所述第一标识指示所述PDU中的数据为重传数据,且所述PDU是重排序窗口外接收的PDU时,丢弃所述PDU;或者,If the first identifier indicates that the data in the PDU is retransmission data, and the PDU is a PDU received outside the reordering window, discarding the PDU; or,

当所述第一标识指示所述PDU中的数据为重传数据,所述PDU不是重排序窗口外接收的PDU,且未缓存与所述PDU相同的PDU时,缓存所述PDU。When the first identifier indicates that the data in the PDU is retransmission data, the PDU is not a PDU received outside the reordering window, and the same PDU as the PDU is not cached, cache the PDU.

本发明的另一方面提供一种设备,包括:Another aspect of the invention provides an apparatus comprising:

接收单元,用于接收协议数据单元PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是否为重传数据;A receiving unit, configured to receive a protocol data unit PDU, the first identifier in the header information of the PDU indicates whether the data in the PDU is retransmission data;

处理单元,用于当所述第一标识指示所述PDU中的数据为重传数据,所述PDU不是重排序窗口外接收的PDU,且已缓存与其相同的PDU时,丢弃所述PDU;或者,当所述第一标识指示所述PDU中的数据为重传数据,且所述PDU是重排序窗口外接收的PDU时,丢弃所述PDU;或者,用于当所述第一标识指示所述PDU中的数据为重传数据,所述PDU不是重排序窗口外接收的PDU,且未缓存与其相同的PDU时,缓存所述PDU。A processing unit configured to discard the PDU when the first identifier indicates that the data in the PDU is retransmission data, the PDU is not a PDU received outside the reordering window, and the same PDU has been buffered; or , when the first identifier indicates that the data in the PDU is retransmission data, and the PDU is a PDU received outside the reordering window, discarding the PDU; or, when the first identifier indicates that the If the data in the PDU is retransmission data, the PDU is not a PDU received outside the reordering window, and the same PDU is not cached, the PDU is cached.

本发明的另一方面还提供一种系统。Another aspect of the invention also provides a system.

本发明实施例中,数据发送方发送的PDU的头部信息包括第一标识,所述第一标识用于指示所述PDU中的数据是否为重传数据,接收方在接收到数据后,通过标识判断PDU中的数据是重传数据还是初传数据,并对符合条件的具有重传数据的PDU执行丢弃操作,改变了现有技术中丢弃处理的判别方法,简化了判断PDU中的数据是否为重传数据的过程,提高了传输过程的效率。In the embodiment of the present invention, the header information of the PDU sent by the data sender includes a first identifier, and the first identifier is used to indicate whether the data in the PDU is retransmission data. After receiving the data, the receiver passes Identifying and judging whether the data in the PDU is retransmission data or initial transmission data, and discarding the qualified PDUs with retransmission data, which changes the discrimination method of discarding processing in the prior art, and simplifies judging whether the data in the PDU is For the process of retransmitting data, the efficiency of the transmission process is improved.

进一步的,该方法对发送的PDU中数据直接进行标识,而不需依靠数据传输过程中接收的PDCP PDU的SN和PDCP接收方最近一次向上层提交的PDCP PDU的SN,提高了判别结果的可靠性和准确性,避免出现数据接收方和发送方状态变量不一致造成的丢弃正常发送的数据的现象。Further, this method directly identifies the data in the sent PDU, without relying on the SN of the PDCP PDU received during the data transmission process and the SN of the PDCP PDU submitted by the PDCP receiver to the upper layer last time, which improves the reliability of the discrimination result and accuracy, avoiding the phenomenon of discarding normally sent data caused by the inconsistency of the state variables of the data receiver and the sender.

附图说明Description of drawings

图1为本发明的一个实施例提供的PDCP PDU的结构示意图;Fig. 1 is the structural representation of the PDCP PDU that an embodiment of the present invention provides;

图2为本发明的一个实施例提供的数据传输方法的流程图;FIG. 2 is a flowchart of a data transmission method provided by an embodiment of the present invention;

图3为本发明的一个实施例提供的又一数据传输方法的流程图;FIG. 3 is a flowchart of another data transmission method provided by an embodiment of the present invention;

图4为本发明的一个实施例提供的一种设备的结构示意图;Fig. 4 is a schematic structural diagram of a device provided by an embodiment of the present invention;

图5为本发明的一个实施例提供的又一设备的结构示意图;Fig. 5 is a schematic structural diagram of another device provided by an embodiment of the present invention;

图6为本发明提供的系统结构示意图。Fig. 6 is a schematic structural diagram of the system provided by the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明的一个实施例提供一种数据传输方法,其中,发送协议数据单元PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是否为重传数据。An embodiment of the present invention provides a data transmission method, wherein a protocol data unit (PDU) is sent, and a first identifier in the header information of the PDU indicates whether the data in the PDU is retransmission data.

以PDCP PDU为例,PDU的结构如图1所示,PDU的头部信息中的R_TX为标识数据是否为重传数据的重传比特位。例如,当R_TX为1时,表示该PDU中的数据为发送方进行重传的数据,当R_TX为0时,表示该PDU中的数据为初传数据,即不是发送方重传的数据。又如,当R_TX为True时,表示该PDU中的数据为发送方进行重传的数据,当R_TX为False时,表示该PDU中的数据为初传数据。Taking the PDCP PDU as an example, the structure of the PDU is shown in Figure 1. The R_TX in the header information of the PDU is the retransmission bit that identifies whether the data is retransmission data. For example, when R_TX is 1, it means that the data in the PDU is retransmitted by the sender, and when R_TX is 0, it means that the data in the PDU is initial transmission data, that is, it is not data retransmitted by the sender. For another example, when R_TX is True, it means that the data in the PDU is data retransmitted by the sender; when R_TX is False, it means that the data in the PDU is initial transmission data.

本实施例适用于确认模式下的数据传输过程,即采用本实施例提供的方法中,数据发送方在生成PDU的过程中,即可通过设置该第一标识的值来标识该数据是否为重传数据,以便接收方根据第一标识直接判断出接收到的PDU是否包含重传数据,简化了接收方对于重传数据的判别过程,提高了数据传输的效率和可靠性,也节约了空口资源。This embodiment is applicable to the data transmission process in confirmation mode, that is, in the method provided by this embodiment, the data sender can identify whether the data is heavy by setting the value of the first identifier during the process of generating the PDU. Data transmission, so that the receiver can directly determine whether the received PDU contains retransmission data according to the first identifier, which simplifies the receiver's identification process for retransmission data, improves the efficiency and reliability of data transmission, and saves air interface resources .

本实施例也并不限定该结构改进方法只适应于PDCP PDU,同样也可以适用于其他协议数据单元,例如,MAC层的协议数据单元的头部信息包含重传比特位,对MAC PDU中的数据进行标识,简化了对PDU中的数据是否为重传数据的判断过程,提高了传输过程的效率。This embodiment does not limit that the structural improvement method is only applicable to PDCP PDUs, and can also be applied to other protocol data units. For example, the header information of the protocol data units of the MAC layer includes retransmission bits, and the The data is marked, which simplifies the process of judging whether the data in the PDU is retransmitted data, and improves the efficiency of the transmission process.

如图2所示,本发明的另一个实施例提供一种数据传输方法,包括如下步骤。As shown in FIG. 2 , another embodiment of the present invention provides a data transmission method, including the following steps.

步骤S21、接收协议数据单元PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是重传数据。Step S21, receiving a protocol data unit PDU, the first identifier in the header information of the PDU indicates that the data in the PDU is retransmission data.

步骤S22、依据所述第一标识判断所述接收的PDU中的数据是重传数据。Step S22, judging according to the first identifier that the data in the received PDU is retransmission data.

本实施例中,数据接收方通过接收的PDU中的第一标识判断该PDU中的数据是否为重传数据,简化了对于重传数据的判别过程,提高了协议传输的效率和可靠性。In this embodiment, the data receiver judges whether the data in the PDU is retransmitted data through the first identifier in the received PDU, which simplifies the process of judging retransmitted data and improves the efficiency and reliability of protocol transmission.

本实施例还可以包括如下步骤。This embodiment may also include the following steps.

步骤S23、判断所述PDU是否为重排序窗口外的PDU,若是,则执行步骤S25;否则执行步骤S24。Step S23, judging whether the PDU is a PDU outside the reordering window, if yes, execute step S25; otherwise, execute step S24.

例如,判断是否为重排序窗口外的PDU过程为:获取所述PDU的序列号SN与上一次向上层提交的PDU SN的差值,当所述差值大于重排序窗口长度时,所述PDU为重排序窗口外接收的PDU。其中,重排序窗口大小可以根据实际情况设定,例如,将重排序窗口大小设为SN数量的二分之一。假设SN的数量为4096个,则重排序窗口大小为2048。假设SN数量是8192,则重排序窗口大小为4096。For example, the process of judging whether it is a PDU outside the reordering window is: obtaining the difference between the sequence number SN of the PDU and the PDU SN submitted to the upper layer last time. When the difference is greater than the length of the reordering window, the PDU For PDUs received outside the reordering window. Wherein, the size of the reordering window can be set according to actual conditions, for example, the size of the reordering window is set to half of the number of SNs. Assuming that the number of SNs is 4096, the reordering window size is 2048. Assuming that the number of SNs is 8192, the reordering window size is 4096.

当所述PDU中的数据为初传数据时,可以将其进行缓存、排序后直接提交给上层,如所述PDU对应的协议层以上的层应用,此处不再赘述。When the data in the PDU is initial transmission data, it can be cached and sorted and then directly submitted to the upper layer, such as the layer application above the protocol layer corresponding to the PDU, which will not be repeated here.

步骤S24、判断是否缓存有与所述PDU相同的PDU,若是,则执行步骤S25;否则,执行步骤S26。Step S24, judging whether the same PDU as the PDU is cached, if yes, execute step S25; otherwise, execute step S26.

步骤S25、丢弃所述PDU。Step S25, discarding the PDU.

本步骤中,通过丢弃接收到的PDU,可以避免重复处理相同的PDU,有利于提高处理效率和正确率。In this step, by discarding the received PDU, repeated processing of the same PDU can be avoided, which is beneficial to improve processing efficiency and correct rate.

步骤S26、缓存所述PDU。Step S26, buffering the PDU.

本步骤中,通过缓存接收到的PDU,可以避免因误判导致错误的丢弃发送方初传的数据,避免数据的丢失,提高数据的传输质量。In this step, by buffering the received PDU, it is possible to avoid wrongly discarding the data originally transmitted by the sender due to misjudgment, avoid data loss, and improve data transmission quality.

可选的,接收方接收到的PDU中的数据为初传数据时,可以视为接收方已经接收到了全部需要重传的数据。Optionally, when the data in the PDU received by the receiver is initially transmitted data, it may be considered that the receiver has received all the data that needs to be retransmitted.

本实施例还可以包括步骤S27:当接收到全部重传数据的PDU后,将接收的包含有重传数据的PDU按照COUNT值的升序进行排序,然后按序将PDU提交给上层。其中,接收方的计数器COUNT由翻转统计计数HFN和SN构成,每一个PDU中的COUNT与其对应的SN相同。This embodiment may further include step S27: after receiving all PDUs containing retransmitted data, sort the received PDUs containing retransmitted data according to the ascending order of COUNT values, and then submit the PDUs to the upper layer in sequence. Wherein, the counter COUNT of the receiving side is composed of the rollover statistics count HFN and SN, and the COUNT in each PDU is the same as its corresponding SN.

本实施例中,对通过重排序窗口及当前是否缓存由相同的PDU的条件判断具有重传数据的PDU是否需要被丢弃,提高了判断结果的准确性,避免了出现数据接收方和发送方状态变量不一致造成的丢弃正常发送的数据的现象,提高了数据传输过程的可靠性。In this embodiment, whether the PDU with retransmission data needs to be discarded is judged by the reordering window and whether the same PDU is currently buffered, which improves the accuracy of the judgment result and avoids the occurrence of data receiver and sender states The phenomenon of discarding normally sent data caused by variable inconsistency improves the reliability of the data transmission process.

如图3所示,本发明的另一个实施例提供一种数据传输方法,包括如下步骤。As shown in FIG. 3 , another embodiment of the present invention provides a data transmission method, including the following steps.

步骤S31、接收协议数据单元PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据不是重传数据。Step S31 , receiving a protocol data unit PDU, the first identifier in the header information of the PDU indicates that the data in the PDU is not retransmission data.

步骤S32、依据所述第一标识判断所述接收的PDU中的数据不是重传数据。Step S32, judging according to the first identifier that the data in the received PDU is not retransmission data.

步骤S33、判断PDU中的初传数据是否为链路重建后发送的数据,若是,则执行步骤S34,若否,则执行S35。Step S33 , judging whether the initial transmission data in the PDU is the data sent after link reestablishment, if yes, execute step S34 , if not, execute S35 .

步骤S34、判断PDU SN是否比上一次提交给上层的PDU的SN大1,若是,则向上层提交所述接收的PDU;否则,缓存接收的PDU。Step S34, judging whether the PDU SN is 1 greater than the SN of the PDU submitted to the upper layer last time, if so, then submit the received PDU to the upper layer; otherwise, buffer the received PDU.

步骤S35、依据接收的PDU SN更新相关状态变量,并向上层提交所述接收的PDU。Step S35, updating relevant state variables according to the received PDU SN, and submitting the received PDU to the upper layer.

该过程具体可以为:当接收的PDU SN小于下一个期望接收的PDU SN时,将翻转统计计数HFN加1。The process can specifically be: when the received PDU SN is less than the next expected received PDU SN, add 1 to the rollover count HFN.

也就是说,当接收的PDU中的数据不是重传数据时,如果是正常发送并接收的数据,其SN为递增,假设SN的范围为0-4095,发送方会持续并重复发送SN为0-4095的数据,每发送一次0-4095的数据,SN翻转统计计数HFN就会加1,以表示数据传输的次数。假设当前接收的SN为3,那么下一个期望接收的SN应该为4,但是如果当前接收的SN小于下一个应该接收的SN时,例如其接收的SN为2,说明此时接收方接收到了上一次发送过程中的数据,也即上一次的数据传输中发生了数据丢失现象,则接收方的HFN此时与发送方不一致,从而导致PDCP层发送方和接收方的在进行加解密处理时根据HFN和SN计算出的加解密COUNT参数不一致,并导致接收方解密出错误的数据,并继续导致接收方解压缩处理失败。That is to say, when the data in the received PDU is not retransmission data, if it is normally sent and received data, its SN is incremented. Assuming the range of SN is 0-4095, the sender will continue and repeat sending SN to 0 For the data of -4095, every time the data of 0-4095 is sent, the SN rollover statistics count HFN will add 1 to indicate the number of times of data transmission. Suppose the currently received SN is 3, then the next expected received SN should be 4, but if the currently received SN is smaller than the next SN that should be received, for example, the received SN is 2, indicating that the receiver has received the above The data in one transmission process, that is, the data loss phenomenon occurred in the last data transmission, the HFN of the receiver is inconsistent with the sender at this time, which leads to the encryption and decryption of the sender and receiver at the PDCP layer according to The encryption and decryption COUNT parameters calculated by HFN and SN are inconsistent, and cause the receiver to decrypt wrong data, and continue to cause the receiver to fail to decompress.

为了保证后续的数据传输过程中,接收方和发送方的HFN一致,保证数据的正常传输,本实施例提供的方法中,当判断出接收的PDU SN小于下一个期望接收的PDU SN时,为接收方的HFN自动加1,从而有效保证在链路中丢失的PDU数量超过重排序窗口大小时数据发送方和接收方SN翻转计数状态变量HFN的同步,提升了协议层在启用用户面非空加密算法加密及ROHC压缩处理条件下的高速数传处理可靠性和稳定性。In order to ensure that in the subsequent data transmission process, the HFN of the receiver and the sender are consistent and ensure the normal transmission of data, in the method provided by this embodiment, when it is judged that the received PDU SN is less than the next expected received PDU SN, it is The receiver's HFN is automatically incremented by 1, thus effectively ensuring the synchronization of the data sender and the receiver's SN rollover count state variable HFN when the number of lost PDUs in the link exceeds the reordering window size, which improves the protocol layer when the user plane is not empty Reliability and stability of high-speed data transmission processing under encryption algorithm encryption and ROHC compression processing conditions.

如图4所示,本发明的另一个实施例提供一种设备,包括:发送单元41,用于发送PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是否为重传数据。本实施例提供的设备可以用于实现上述实施例提供的方法中发送方或基站执行的步骤,此处不再赘述。本实施例提供的设备可以为基站,或者可以向UE发送数据包的其他设备。As shown in FIG. 4, another embodiment of the present invention provides a device, including: a sending unit 41, configured to send a PDU, and the first identifier in the header information of the PDU indicates whether the data in the PDU is Retransmit data. The device provided in this embodiment can be used to implement the steps performed by the sender or the base station in the methods provided in the foregoing embodiments, and details are not repeated here. The device provided in this embodiment may be a base station, or other devices that can send data packets to the UE.

如图5所示,本发明的另一个实施例提供的一种设备包括:接收单元51,用于接收PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是否为重传数据。As shown in FIG. 5 , a device provided by another embodiment of the present invention includes: a receiving unit 51, configured to receive a PDU, and the first identifier in the header information of the PDU indicates whether the data in the PDU is Retransmit data.

可选的,该设备还包括:处理单元52,用于当所述PDU中的数据为重传数据且所述PDU为重排序窗口内接收的PDU,且已缓存与其相同的PDU,或者当所述PDU中的数据为重传数据且所述PDU为重排序窗口外接收的PDU时,丢弃所述PDU;或者用于当所述PDU为重排序窗口内接收的PDU且未缓存与其相同的PDU时,缓存所述PDU。Optionally, the device further includes: a processing unit 52, configured to: when the data in the PDU is retransmission data and the PDU is a PDU received within the reordering window, and the same PDU has been buffered, or when the When the data in the PDU is retransmission data and the PDU is a PDU received outside the reordering window, the PDU is discarded; or when the PDU is a PDU received in the reordering window and the same PDU is not cached , cache the PDU.

可选的,处理单元52可以包括存储单元53,由存储单元53缓存所述PDU。Optionally, the processing unit 52 may include a storage unit 53, and the storage unit 53 caches the PDU.

例如,该设备中的各个单元的工作过程为:接收单元接收数据发送方发送的PDU,处理单元根据PDU中头部信息中的第一标识判断该PDU中的数据是否为重传数据,当判断出具有重传数据的PDU为重排序窗口内接收的PDU,并且已缓存与其相同的PDU,或者所述具有重传数据的PDU为重排序窗口外接收的PDU时,将接收的PDU丢弃,当判断出具有重传数据的PDU为重排序窗口内接收的PDU且未缓存与其相同的PDU时,缓存所述PDU。For example, the working process of each unit in the device is: the receiving unit receives the PDU sent by the data sender, and the processing unit judges whether the data in the PDU is retransmission data according to the first identifier in the header information of the PDU. If the PDU with retransmission data is a PDU received within the reordering window and the same PDU has been buffered, or the PDU with retransmission data is a PDU received outside the reordering window, the received PDU is discarded. When it is determined that the PDU with retransmission data is a PDU received within the reordering window and the same PDU is not buffered, the PDU is buffered.

本实施例提供的设备可以用于实现上述实施例提供的方法中接收方执行的步骤,此处不再赘述。本实施例提供的设备可以是用户设备UE,例如手机等。The device provided in this embodiment can be used to implement the steps performed by the receiver in the method provided in the foregoing embodiments, and details are not repeated here. The device provided in this embodiment may be user equipment UE, such as a mobile phone.

本发明还提供了一种数据传输系统,其结构如图6所示,包括:数据发送方61和数据接收方62,其中:The present invention also provides a data transmission system, the structure of which is shown in Figure 6, comprising: a data sender 61 and a data receiver 62, wherein:

所述数据发送方61用于,发送协议数据单元PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是否为重传数据;The data sender 61 is used to send a protocol data unit PDU, and the first identifier in the header information of the PDU indicates whether the data in the PDU is retransmission data;

所述数据接收方62用于,接收所述发送方发送的PDU。The data receiver 62 is configured to receive the PDU sent by the sender.

进一步的,所述数据接收方还用于,当所述PDU中的数据为重传数据且所述PDU为重排序窗口内接收的PDU,且已缓存与其相同的PDU,或者当所述PDU中的数据为重传数据且所述PDU为重排序窗口外接收的PDU时,丢弃所述PDU;或者用于当所述PDU为重排序窗口内接收的PDU且未缓存与其相同的PDU时,缓存所述PDU。Further, the data receiver is also used for, when the data in the PDU is retransmission data and the PDU is a PDU received within the reordering window, and the same PDU has been cached, or when the PDU in the PDU When the data is retransmission data and the PDU is a PDU received outside the reordering window, discard the PDU; or when the PDU is a PDU received within the reordering window and the same PDU is not buffered, cache The PDU.

本实施例提供的系统中的数据发送方61和数据接收方62之间的通信过程和其他相同处理可参见上述实施例提供的方法,此处不再赘述。For the communication process between the data sender 61 and the data receiver 62 in the system provided by this embodiment and other similar processes, reference may be made to the method provided by the above embodiment, and details will not be repeated here.

本发明实施例提供的设备和系统,通过PDU的头部信息中的第一标识判断所述PDU中的数据是否为重传数据,简化了对重传数据的判别过程,提高了数据传输的效率和可靠性,也节约了空口资源。并且,通过重排序窗口及当前是否缓存由相同的PDU的条件判断具有重传数据的PDU是否需要被丢弃,提高了判断结果的准确性,避免了出现数据接收方和发送方状态变量不一致造成的丢弃正常发送的数据的现象,提高了数据传输过程的可靠性,提高了设备和系统的工作性能。The device and system provided by the embodiments of the present invention judge whether the data in the PDU is retransmission data through the first identifier in the header information of the PDU, which simplifies the process of judging retransmission data and improves the efficiency of data transmission and reliability, and also save air interface resources. Moreover, judging whether the PDU with retransmitted data needs to be discarded is judged by the reordering window and whether the same PDU is currently cached, which improves the accuracy of the judgment result and avoids the inconsistency of the state variables of the data receiver and the sender. The phenomenon of discarding normally sent data improves the reliability of the data transmission process and improves the working performance of equipment and systems.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的设备而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related information, please refer to the description of the method part.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Professionals can further realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of the two. In order to clearly illustrate the possible For interchangeability, in the above description, the composition and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1.一种数据传输方法,其特征在于,包括:1. A data transmission method, characterized in that, comprising: 接收协议数据单元PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是否为重传数据;Receiving a protocol data unit PDU, the first identifier in the header information of the PDU indicates whether the data in the PDU is retransmission data; 若所述第一标识指示所述PDU中的数据为重传数据,且所述PDU不是重排序窗口外接收的PDU,并已缓存与所述PDU相同的PDU时,丢弃所述PDU;或者,If the first identifier indicates that the data in the PDU is retransmission data, and the PDU is not a PDU received outside the reordering window, and the same PDU as the PDU has been buffered, the PDU is discarded; or, 若所述第一标识指示所述PDU中的数据为重传数据,且所述PDU是重排序窗口外接收的PDU时,丢弃所述PDU;或者,If the first identifier indicates that the data in the PDU is retransmission data, and the PDU is a PDU received outside the reordering window, discarding the PDU; or, 若所述第一标识指示所述PDU中的数据为重传数据,所述PDU不是重排序窗口外接收的PDU,且未缓存与所述PDU相同的PDU时,缓存所述PDU。If the first identifier indicates that the data in the PDU is retransmission data, the PDU is not a PDU received outside the reordering window, and the same PDU as the PDU is not cached, cache the PDU. 2.根据权利要求1所述的方法,其特征在于,还包括:2. The method according to claim 1, further comprising: 获取所述PDU的序列号SN与上一次向上层提交的PDU SN的差值;Obtain the difference between the serial number SN of the PDU and the PDU SN submitted to the upper layer last time; 当所述差值大于重排序窗口长度时,所述PDU为重排序窗口外接收的When the difference is greater than the length of the reordering window, the PDU is received outside the reordering window PDU。PDUs. 3.根据权利要求1所述的方法,其特征在于,还包括:3. The method according to claim 1, further comprising: 所述第一标识指示所述PDU中的数据不是重传数据,且为链路重建后接收的数据时,判断所述PDU的SN是否比上一次提交的PDU的SN大1,如果是,则向上层提交所述PDU,否则,缓存所述PDU。When the first identifier indicates that the data in the PDU is not retransmission data and is data received after link reconstruction, determine whether the SN of the PDU is 1 greater than the SN of the PDU submitted last time, and if so, then Submit the PDU to the upper layer, otherwise, cache the PDU. 4.根据权利要求3所述的方法,其特征在于,所述第一标识指示所述PDU中的数据不是重传数据,为非链路重建后接收的数据,且所述PDU的SN小于下一个期望接收的SN时,将SN的翻转统计计数变量HFN加1,并向上层提交所述PDU。4. The method according to claim 3, wherein the first identifier indicates that the data in the PDU is not retransmitted data, it is data received after non-link reconstruction, and the SN of the PDU is smaller than the following When an SN expects to receive, add 1 to the SN rollover statistics variable HFN, and submit the PDU to the upper layer. 5.一种数据传输方法,其特征在于,包括:5. A data transmission method, characterized in that, comprising: 发送协议数据单元PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是否为重传数据,以便PDU接收方在接收到所述PDU后执行如下步骤:Send a protocol data unit PDU, the first identifier in the header information of the PDU indicates whether the data in the PDU is retransmission data, so that the PDU receiver performs the following steps after receiving the PDU: PDU接收方依据所述第一标识判断所述PDU中的数据是否为重传数据;The PDU receiver judges whether the data in the PDU is retransmission data according to the first identifier; 若所述第一标识指示所述PDU中的数据为重传数据,且所述PDU不是重排序窗口外接收的PDU,并已缓存与所述PDU相同的PDU时,丢弃所述PDU;或者,If the first identifier indicates that the data in the PDU is retransmission data, and the PDU is not a PDU received outside the reordering window, and the same PDU as the PDU has been buffered, the PDU is discarded; or, 若所述第一标识指示所述PDU中的数据为重传数据,且所述PDU是重排序窗口外接收的PDU时,丢弃所述PDU;或者,If the first identifier indicates that the data in the PDU is retransmission data, and the PDU is a PDU received outside the reordering window, discarding the PDU; or, 当所述第一标识指示所述PDU中的数据为重传数据,所述PDU不是重排序窗口外接收的PDU,且未缓存与所述PDU相同的PDU时,缓存所述PDU。When the first identifier indicates that the data in the PDU is retransmission data, the PDU is not a PDU received outside the reordering window, and the same PDU as the PDU is not cached, cache the PDU. 6.根据权利要求5所述的方法,其特征在于,6. The method of claim 5, wherein, 所述PDU包括重传数据,且所述第一标识指示所述PDU中的数据为重传数据;或者,The PDU includes retransmission data, and the first identifier indicates that the data in the PDU is retransmission data; or, 所述PDU包括初传数据,且所述第一标识指示所述PDU中的数据为初传数据。The PDU includes initial transmission data, and the first identifier indicates that the data in the PDU is initial transmission data. 7.根据权利要求5或6所述的方法,其特征在于,7. The method according to claim 5 or 6, characterized in that, 当所述PDU包括重传数据时,所述第一标识为1或True;或者,When the PDU includes retransmission data, the first flag is 1 or True; or, 当所述PDU包括初传数据时,所述第一标识为0或False。When the PDU includes initially transmitted data, the first identifier is 0 or False. 8.根据权利要求7所述的方法,其特征在于,所述PDU为包分组汇聚协议数据单元PDCP PDU。8. The method according to claim 7, wherein the PDU is a Packet Convergence Protocol Data Unit (PDCP PDU). 9.一种设备,其特征在于,包括:9. A device, characterized in that it comprises: 接收单元,用于接收协议数据单元PDU,所述PDU的头部信息中的第一标识指示所述PDU中的数据是否为重传数据A receiving unit, configured to receive a protocol data unit PDU, the first identifier in the header information of the PDU indicates whether the data in the PDU is retransmission data 处理单元,用于当所述第一标识指示所述PDU中的数据为重传数据,所述PDU不是重排序窗口外接收的PDU,且已缓存与其相同的PDU时,丢弃所述PDU;或者,当所述第一标识指示所述PDU中的数据为重传数据,且所述PDU是重排序窗口外接收的PDU时,丢弃所述PDU;或者,用于当所述第一标识指示所述PDU中的数据为重传数据,所述PDU不是重排序窗口外接收的PDU,且未缓存与其相同的PDU时,缓存所述PDU。A processing unit configured to discard the PDU when the first identifier indicates that the data in the PDU is retransmission data, the PDU is not a PDU received outside the reordering window, and the same PDU has been buffered; or , when the first identifier indicates that the data in the PDU is retransmission data, and the PDU is a PDU received outside the reordering window, discarding the PDU; or, when the first identifier indicates that the If the data in the PDU is retransmission data, the PDU is not a PDU received outside the reordering window, and the same PDU is not cached, the PDU is cached.
CN 201010600678 2010-12-22 2010-12-22 method, device and system for data transmission Active CN102137441B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 201010600678 CN102137441B (en) 2010-12-22 2010-12-22 method, device and system for data transmission
PCT/CN2011/081890 WO2012083762A1 (en) 2010-12-22 2011-11-08 Data transmission method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010600678 CN102137441B (en) 2010-12-22 2010-12-22 method, device and system for data transmission

Publications (2)

Publication Number Publication Date
CN102137441A CN102137441A (en) 2011-07-27
CN102137441B true CN102137441B (en) 2013-08-07

Family

ID=44297075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010600678 Active CN102137441B (en) 2010-12-22 2010-12-22 method, device and system for data transmission

Country Status (2)

Country Link
CN (1) CN102137441B (en)
WO (1) WO2012083762A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137441B (en) * 2010-12-22 2013-08-07 华为技术有限公司 method, device and system for data transmission
CN107027136B (en) * 2016-02-01 2020-11-20 中兴通讯股份有限公司 Data processing method and device
CN107404769A (en) * 2016-05-20 2017-11-28 中国移动通信有限公司研究院 A kind of data transmission method and device
CN107332648B (en) * 2017-06-23 2021-01-15 京信通信系统(中国)有限公司 Data retransmission method and device, storage medium and computer equipment thereof
CN109587818B (en) * 2017-09-28 2021-03-23 华为技术有限公司 Information transmission method and device
CN109195183B (en) * 2018-08-30 2022-03-25 京信网络系统股份有限公司 Data processing method, device and base station of PDCP layer
CN109600203B (en) * 2018-11-29 2021-09-14 西安电子科技大学 Method for carrying remapped node packet sequence number in SDAP PDU

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859073A (en) * 2005-08-29 2006-11-08 华为技术有限公司 Dow data repeating method in radio communication system
EP2205037B1 (en) * 2009-01-02 2011-06-29 LG Electronics Inc. Random access scheme for user equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100433917C (en) * 2005-08-29 2008-11-12 华为技术有限公司 Method for smotthly switching of high-speed downlink packet access users between base stations
CN102137441B (en) * 2010-12-22 2013-08-07 华为技术有限公司 method, device and system for data transmission

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859073A (en) * 2005-08-29 2006-11-08 华为技术有限公司 Dow data repeating method in radio communication system
CN100438397C (en) * 2005-08-29 2008-11-26 华为技术有限公司 Dow data repeating method in radio communication system
EP2205037B1 (en) * 2009-01-02 2011-06-29 LG Electronics Inc. Random access scheme for user equipment

Also Published As

Publication number Publication date
CN102137441A (en) 2011-07-27
WO2012083762A1 (en) 2012-06-28

Similar Documents

Publication Publication Date Title
CN102137441B (en) method, device and system for data transmission
CN201444641U (en) Wireless Transmitter/Receiver Unit
US11159981B2 (en) Congestion processing method and apparatus
KR101577451B1 (en) Method of detecting and handling an endless rlc retransmission
CN107005560B (en) A data transmission method, data reception method and related equipment
US8483061B2 (en) Technique for performing layer 2 processing using a distributed memory architecture
US8780938B2 (en) Technique for coordinated RLC and PDCP processing
JP4929349B2 (en) Retransmission request transmission method and receiving side apparatus
KR100954925B1 (en) How to transfer the PDC data unit to the upper level
US8589586B2 (en) Method and apparatus for managing transmission of TCP data segments
CN106357548A (en) Method and system for receiving PDCP (packet data convergence protocol) data packets
CN107005341B (en) Out-of-order delivery of SDUs in a radio device
CN112865934A (en) Data transmission method, device, base station and storage medium
CN104137507B (en) Message processing method and device for feedback packet loss
KR20100059934A (en) Status report triggering in wireless communication system
KR20140094169A (en) Apparatus and method for recovering tcp in an wireless communication system
CN107801211A (en) A kind of non-sequential of message submits method and RLC entities, base station
CN101652950A (en) Retransmission control method and transmission side device
WO2016061987A1 (en) Packet processing method and device
CN106341368A (en) Data processing method and device
CN114499749A (en) Data sending method and related equipment thereof
CN108200605B (en) A data transmission method and device for a base station
CN102325015B (en) Processing method, communication equipment and the communication system of state report
WO2024032742A1 (en) Service processing method and apparatus, device, storage medium, and program product
JP2009044695A (en) Communication control method, transmission device, and computer program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant