WO2018077195A1 - Method and apparatus for data retransmission, and mac device - Google Patents

Method and apparatus for data retransmission, and mac device Download PDF

Info

Publication number
WO2018077195A1
WO2018077195A1 PCT/CN2017/107678 CN2017107678W WO2018077195A1 WO 2018077195 A1 WO2018077195 A1 WO 2018077195A1 CN 2017107678 W CN2017107678 W CN 2017107678W WO 2018077195 A1 WO2018077195 A1 WO 2018077195A1
Authority
WO
WIPO (PCT)
Prior art keywords
mac sdu
mac
sdu
retransmission
data
Prior art date
Application number
PCT/CN2017/107678
Other languages
French (fr)
Chinese (zh)
Inventor
陈艳丽
黄河
潘凤艳
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018077195A1 publication Critical patent/WO2018077195A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0231Traffic management, e.g. flow control or congestion control based on communication conditions
    • H04W28/0236Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
    • 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
    • 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/1867Arrangements specially adapted for the transmitter end
    • H04L1/188Time-out mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0268Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Definitions

  • the present invention relates to the field of communications, and in particular to a data retransmission method and apparatus, and a MAC device.
  • the mobile communication network is facing an expansive growth of terminal data traffic.
  • the construction of 5G networks needs to achieve ultra-high speed, high throughput, ultra-high reliability, ultra-low latency and other indicators to provide users with the best experience. These requirements make The service capabilities and deployment strategies of mobile networks are facing tremendous pressures and challenges.
  • operators need to enhance existing network deployment and communication technologies.
  • they hope to accelerate the promotion of new technologies and network expansion, so as to rapidly improve the network. The purpose of performance.
  • RLC ARQ Radio Link Control Automatic Repeat request
  • MAC HARQ Media Access Control Hybrid Automatic Repeat request
  • the MAC receiver receives the data and determines the correctness of the data and then performs data feedback HARQ ACK/NACK; the MAC sender completes the retransmission of the MAC data and the transmission of the new data according to the HARQ ACK/NACK; in the RLC ARQ mechanism, The RLC receiver detects the integrity of the received data from the underlying data, and notifies the RLC ARQ ACK/NACK when data loss or data abnormality is detected; the RLC sender completes the retransmission of the RLC data according to the data feedback.
  • RLC ARQ Radio Link Control Automatic Repeat request
  • MAC HARQ Media Access Control Hybrid Automatic Repeat request
  • FIG. 1 is a flowchart of the two-layer retransmission mechanism in the related art.
  • the protocol function hierarchy is clear.
  • the high-level retransmission timing is slightly "slow". Because of the sequential requirements of high-level application data, the two-layer retransmission mechanism may delay the delivery of service data to the application layer in time, affecting the problem of service QoS.
  • the embodiment of the invention provides a data retransmission method and device, and a MAC device, to at least solve the problem that the two-layer retransmission mechanism in the related art may delay the delivery of service data to the application layer in time and affect the service QoS.
  • a data retransmission method including: detecting, when a media access control service data unit MAC SDU retransmission fails, detecting whether a failure waiting time of the MAC SDU is timed out; If the result is no, the related data of the MAC SDU and/or the MAC SDU is retransmitted.
  • a data retransmission apparatus including: a detecting module, configured to detect whether a failure waiting time of the MAC SDU expires when the MAC SDU fails to retransmit; The module is configured to resend the related data of the MAC SDU and/or the MAC SDU if the determination result is no.
  • a MAC device including: a processor, configured to detect, when the MAC SDU retransmission fails, whether a failure waiting time of the MAC SDU is timed out; In the case of no, the MAC SDU and/or the related data of the MAC SDU are retransmitted; the transmission interface is configured to transmit related data of the MAC SDU and/or the MAC SDU.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • the related data using the MAC SDU and/or the MAC SDU is retransmitted again within the waiting time after the retransmission fails. Therefore, it can be solved in related technologies
  • the two-layer retransmission mechanism may delay the delivery of service data to the application layer in time, affecting the problem of service QoS, thereby accelerating the delivery of data to the application layer and improving the effect of service QoS.
  • FIG. 2 is a block diagram showing the hardware structure of a mobile terminal according to a data retransmission method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a data retransmission method according to an embodiment of the present invention.
  • FIG. 4 is a timing diagram of a data retransmission in accordance with the present invention.
  • FIG. 5 is a timing diagram of another data retransmission in accordance with the present invention.
  • FIG. 6 is a structural diagram of a data retransmission apparatus according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of another data retransmission apparatus according to an embodiment of the present invention.
  • FIG. 8 is a structural diagram of a MAC device according to an embodiment of the present invention.
  • FIG. 2 is a hardware structural block diagram of a mobile terminal of a data retransmission method according to an embodiment of the present invention.
  • the mobile terminal 20 may include one or more (only one shown) processor 202 (the processor 202 may include This includes, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, a memory 204 configured to store data, and a transmission device 206 configured as a communication function.
  • a processing device such as a microprocessor MCU or a programmable logic device FPGA
  • memory 204 configured to store data
  • a transmission device 206 configured as a communication function.
  • terminal 20 may also include more or fewer components than those shown in FIG. 2, or have a different configuration than that shown in FIG. 2.
  • the memory 204 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the data retransmission method in the embodiment of the present invention, and the processor 202 executes by executing a software program and a module stored in the memory 204.
  • application software such as program instructions/modules corresponding to the data retransmission method in the embodiment of the present invention
  • the processor 202 executes by executing a software program and a module stored in the memory 204.
  • Various functional applications and data processing, that is, the above methods are implemented.
  • Memory 204 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 204 can further include memory remotely located relative to processor 202, which can be connected to terminal 20 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Transmission device 206 is arranged to receive or transmit data via a network.
  • the above specific network example may include a wireless network provided by a communication provider of the terminal 10.
  • transmission device 206 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet.
  • NIC Network Interface Controller
  • the transmission device 206 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
  • RF Radio Frequency
  • FIG. 3 is a flowchart of a data retransmission method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps. :
  • Step S302 detecting, when the media access control service data unit MAC SDU retransmission fails, detecting whether the failure waiting time of the MAC SDU expires;
  • Step S304 if the determination result is no, retransmit the related data of the MAC SDU and/or the MAC SDU.
  • the related data of the MAC SDU refers to the MAC attributed to the MAC SDU. SDU fragment.
  • the related data of the retransmitted MAC SDU and the MAC SDU is sent with a higher priority than the MAC SDU that has not been sent in the MAC PDU.
  • the retransmission of the related data of the MAC SDU and the MAC SDU may also be sent in one pass with the MAC SDU that has not been sent in the MAC PDU.
  • the complete MAC SDU may be directly retransmitted, and the completed MAC SDU may be split into multiple MAC SDU segments for retransmission.
  • the segment can be directly retransmitted, and the complete MAC SDU corresponding to the MAC SDU segment can also be retransmitted.
  • the MAC SDU and the failure waiting time set for the MAC SDU When the SDU retransmission is successful, the MAC SDU to which the MAC SDU fragment belongs and the failure waiting time of the MAC SDU are deleted; if the MAC SDU fragment fails to be retransmitted and the determination result is yes, the MAC SDU to which the MAC SDU fragment belongs In the case that all SDU segments complete retransmission, the MAC SDU to which the MAC SDU segment belongs and the MAC SDU to which the MAC SDU segment belongs are deleted.
  • the MAC SDU retransmission to which the MAC SDU segment belongs is that all the MAC SDU segments included in the MAC SDU to which the MAC SDU segment belongs are retransmitted, that is, the meaning of the retransmission success is All MAC SDU fragments are retransmitted successfully. If one or more MAC SDUs have retransmission failures, then the retransmission fails.
  • step S201 receiving the MAC SDU sent by each logical channel, and setting the failure waiting time for the MAC SDU; encapsulating the MAC SDU, obtaining a MAC protocol data unit PDU, and sending MAC PDU.
  • a MAC Control element and Padding are also encapsulated in the MAC PDU.
  • FIG. 4 is a timing diagram of data retransmission according to the present invention. As shown in FIG. 4, the following steps in scenario 1 are applied to the above. Timing diagram.
  • S0020 MAC sets DiscardTimer for SDU0 and SDU1 respectively;
  • the S0030 MAC obtains the next MAC TTI (recorded as TTI1) of the UE according to the air interface allocation capability, and allows the data traffic to be sent;
  • TTI1 sends MAC SDU0 to form MAC PDU0; then TTI1 sends;
  • the S0060 MAC obtains the next MAC TTI (recorded as TTI2) of the UE according to the air interface allocation capability, and allows the data traffic to be sent;
  • the S0070 MAC checks that the DiscardTimer of the MAC SDU0 in the MAC PDU0 has not expired, allowing fast HARQ;
  • the S0080 MAC determines that the TTI2 sends the MAC SDU0 and the MAC SDU1 to form the MAC PDU1, and the framing is as shown in FIG. 4, and then the TTI2 sends;
  • the S0100 MAC deletes the MAC SDU0 and the MAC SDU1 and the corresponding DiscardTimer.
  • FIG. 5 is a timing diagram of another data retransmission according to the present invention. As shown in FIG. 5, the following steps are applied in scenario 2c. In the above timing chart.
  • S0010 MAC receives high layer data in sequence: MAC SDU0 and MAC SDU1 from logical channel 5, MAC SDU2 from logical channel 6;
  • the S0020 MAC After receiving the SDUs, the S0020 MAC starts the DiscardTimer respectively.
  • the S0030 MAC obtains, according to the air interface allocation capability, the data traffic of the next MAC TTI (referred to as TTI1) of the UE to allow the logical channel 5 to be sent;
  • the S0040 MAC determines that the TSI1 sends the MAC SDU0 of the logical channel 5 and the segment of the MAC SDU1 to form the MAC PDU0.
  • MAC PDU0 is framed as shown in Figure 6, and then sent by TTI1;
  • the S0060 MAC obtains the data traffic of the logical channel 5 and the logical channel 6 by using the next MAC TTI (referred to as TTI2) of the UE according to the air interface allocation capability;
  • the S0070 MAC checks that the MAC SDU0 DiscardTimer in the MAC PDU0 is invalid, so the MAC SDU0 is deleted; the DiscardTimer of the MAC SDU1 to which the MAC SDU1 Segment belongs is not invalidated, so the MAC SDU1 is not deleted.
  • the S0080 MAC determines that the partial data of the MAC SDU1 of the TTI2 transmission logical channel 5 and the MAC SDU2 of the logical channel 6 are concatenated into one MAC PDU1. And then TT2 sends.
  • the S0100 MAC checks that the MAC SDU1 in the MAC PDU1 still has some data in the HARQ, so the MAC SDU is not deleted; the MAC SDU2 and the corresponding DiscardTimer are deleted.
  • the related data using the MAC SDU and/or the MAC SDU is retransmitted again within the waiting time after the retransmission fails. Therefore, the problem that the two-layer retransmission mechanism in the related technology may delay the delivery of service data to the application layer in time and affect the service QoS may be solved, thereby accelerating the delivery of data to the application layer and improving the effect of service QoS.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform various embodiments of the present invention. The method described.
  • a data retransmission device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 6 is a structural diagram of a data retransmission apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes: a detection module 62 and a retransmission module 64.
  • the detecting module 62 is configured to detect, when the MAC SDU retransmission fails, whether the failure waiting time of the MAC SDU expires;
  • the retransmission module 64 is configured to resend the related data of the MAC SDU and/or the MAC SDU if the determination result is no.
  • the MAC SDU related data is a MAC SDU to which the MAC SDU fragment belongs.
  • the MAC SDU is directly sent or the MAC SDU is split into multiple MAC SDU segments, and then sent; the MAC SDU segment is directly sent or the MAC SDU to which the MAC SDU segment belongs is retransmitted.
  • Deleting the MAC SDU to which the MAC SDU segment belongs and the failure waiting time of the MAC SDU when the MAC SDU retransmission to which the MAC SDU segment belongs is successful; if the MAC SDU fragment fails to be retransmitted and the determination result is yes, If all the SDU segments of the MAC SDU to which the MAC SDU segment belongs are retransmitted, the MAC SDU to which the MAC SDU segment belongs and the MAC SDU to which the MAC SDU segment belongs are deleted.
  • the retransmission module is further configured to delete the MAC SDU and the failure waiting time set for the MAC SDU when the retransmission is successful, or if the retransmission fails and the determination result is yes.
  • FIG. 7 is a structural diagram of another data retransmission apparatus according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes: receiving module 72 and transmitting, in addition to all the modules shown in FIG. The module 74 is sent.
  • the receiving module 72 is configured to receive the MAC SDU sent by each logical channel, and set the failure waiting time for the MAC SDU;
  • the sending module 74 is configured to encapsulate the MAC SDU, obtain a MAC PDU, and send a MAC PDU.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination.
  • the forms are located in different processors.
  • FIG. 8 is a structural diagram of a MAC device according to an embodiment of the present invention. As shown in FIG. 8, the device includes a processor 82 and a retransmission module 84.
  • the processor 82 is configured to detect, when the MAC SDU retransmission fails, whether the failure waiting time of the MAC SDU is timed out; if the determination result is no, resend the MAC SDU and/or the MAC SDU related data;
  • the transmission interface 84 is configured to transmit related data of the MAC SDU and/or the MAC SDU.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a random access memory (RAM, Random).
  • ROM Read-Only Memory
  • RAM random access memory
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the related data using the MAC SDU and/or the MAC SDU is retransmitted again within the waiting time after the retransmission fails. Therefore, the problem that the two-layer retransmission mechanism in the related technology may delay the delivery of service data to the application layer in time and affect the service QoS may be solved, thereby accelerating the delivery of data to the application layer and improving the effect of service QoS.

Landscapes

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

Abstract

Provided in the present invention are a method and apparatus for data retransmission, and a media access control (MAC) device. The data retransmission method comprises: if the retransmission of a media access control service data unit (MAC SDU) fails, detecting whether the failure waiting time of the MAC SDU has timed out; if the judgment result is no, retransmitting the MAC SDU and/or relevant data of the MAC SDU. The present invention solves the problems in the related art that a two-layer retransmission mechanism may delay the timely submission of service data to an application layer, and affect the quality of service (QoS) of the service, thereby achieving the effect of expediting the submission of the data to the application layer and improving the QoS of the service.

Description

数据重传方法及装置、MAC设备Data retransmission method and device, MAC device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种数据重传方法及装置、MAC设备。The present invention relates to the field of communications, and in particular to a data retransmission method and apparatus, and a MAC device.
背景技术Background technique
移动通信网络面临终端数据业务量膨胀式的增长,5G网络的构建需要达到超高速率,大吞吐量,超高可靠性,超低时延等指标,为用户提供最佳的体验,这些需求使得移动网络的服务能力和部署策略都面临着巨大的压力与挑战,运营商一方面需要增强现有的网络部署和通讯技术,另一方面希望加快新技术的推广和网络拓展,从而达到快速提升网络性能的目的。The mobile communication network is facing an expansive growth of terminal data traffic. The construction of 5G networks needs to achieve ultra-high speed, high throughput, ultra-high reliability, ultra-low latency and other indicators to provide users with the best experience. These requirements make The service capabilities and deployment strategies of mobile networks are facing tremendous pressures and challenges. On the one hand, operators need to enhance existing network deployment and communication technologies. On the other hand, they hope to accelerate the promotion of new technologies and network expansion, so as to rapidly improve the network. The purpose of performance.
LTE中,为保证数据的正确接收用户面引入两层重传机制:RLC ARQ(Radio Link Control Automatic Repeat request,无线链路控制自动重发请求)和MAC HARQ(Media Access Control Hybrid Automatic Repeat request,介质访问控制混合自动重发请求)。MAC HARQ机制中,MAC接收方接收数据并判断数据的正确性然后执行数据反馈HARQ ACK/NACK;MAC发送方根据HARQ ACK/NACK完成MAC数据的重发以及新数据的发送;RLC ARQ机制中,RLC接收方检测接收自底层数据的完整性,当检测到数据丢失或者数据异常后通知RLC ARQ ACK/NACK;RLC发送方根据数据反馈完成RLC数据的重发。以eNodeB(Enhanced Node B,增强节点B)中下行数据发送中的两层重传机制过程为例,图1是相关技术中两层重传机制的流程图。如图1所示,虽然两层重传机制大大增加数据传输的可能性,协议功能层次清晰。但是仍然存在每层重传依赖对等协议层的数据监测和反馈,因此高层重传时机稍显“迟钝”。因为高层应用数据的顺序性要求,两层重传机制可能延迟业务数据及时向应用层的递交,影响业务QoS的问题。 In LTE, a two-layer retransmission mechanism is introduced to ensure correct reception of data: RLC ARQ (Radio Link Control Automatic Repeat request) and MAC HARQ (Media Access Control Hybrid Automatic Repeat request) Access control hybrid automatic resend request). In the MAC HARQ mechanism, the MAC receiver receives the data and determines the correctness of the data and then performs data feedback HARQ ACK/NACK; the MAC sender completes the retransmission of the MAC data and the transmission of the new data according to the HARQ ACK/NACK; in the RLC ARQ mechanism, The RLC receiver detects the integrity of the received data from the underlying data, and notifies the RLC ARQ ACK/NACK when data loss or data abnormality is detected; the RLC sender completes the retransmission of the RLC data according to the data feedback. Taking the process of the two-layer retransmission mechanism in the downlink data transmission in the eNodeB (Enhanced Node B) as an example, FIG. 1 is a flowchart of the two-layer retransmission mechanism in the related art. As shown in Figure 1, although the two-layer retransmission mechanism greatly increases the possibility of data transmission, the protocol function hierarchy is clear. However, there is still data monitoring and feedback for each layer of retransmission-dependent peer-to-peer protocol layers, so the high-level retransmission timing is slightly "slow". Because of the sequential requirements of high-level application data, the two-layer retransmission mechanism may delay the delivery of service data to the application layer in time, affecting the problem of service QoS.
发明内容Summary of the invention
本发明实施例提供了一种数据重传方法及装置、MAC设备,以至少解决相关技术中两层重传机制可能延迟业务数据及时向应用层的递交,影响业务QoS的问题。The embodiment of the invention provides a data retransmission method and device, and a MAC device, to at least solve the problem that the two-layer retransmission mechanism in the related art may delay the delivery of service data to the application layer in time and affect the service QoS.
根据本发明的一个实施例,提供了一种数据的重传方法,包括:在媒体接入控制服务数据单元MAC SDU重传失败时,检测所所述MAC SDU的失效等待时间是否超时;在判断结果为否的情况下,重新发送所述MAC SDU和/或所述MAC SDU的相关数据。According to an embodiment of the present invention, a data retransmission method is provided, including: detecting, when a media access control service data unit MAC SDU retransmission fails, detecting whether a failure waiting time of the MAC SDU is timed out; If the result is no, the related data of the MAC SDU and/or the MAC SDU is retransmitted.
根据本发明的一个实施例,提供了一种数据的重传装置,包括:检测模块,设置为在所述MAC SDU重传失败时,检测所所述MAC SDU的失效等待时间是否超时;重发模块,设置为在判断结果为否的情况下,重新发送所述MAC SDU和/或所述MAC SDU的相关数据。According to an embodiment of the present invention, a data retransmission apparatus is provided, including: a detecting module, configured to detect whether a failure waiting time of the MAC SDU expires when the MAC SDU fails to retransmit; The module is configured to resend the related data of the MAC SDU and/or the MAC SDU if the determination result is no.
根据本发明的再一个实施例,提供了一种MAC设备,包括:处理器,设置为在所述MAC SDU重传失败时,检测所所述MAC SDU的失效等待时间是否超时;在判断结果为否的情况下,重新发送所述MAC SDU和/或所述MAC SDU的相关数据;传输接口,设置为传输所述MAC SDU和/或所述MAC SDU的相关数据。According to still another embodiment of the present invention, a MAC device is provided, including: a processor, configured to detect, when the MAC SDU retransmission fails, whether a failure waiting time of the MAC SDU is timed out; In the case of no, the MAC SDU and/or the related data of the MAC SDU are retransmitted; the transmission interface is configured to transmit related data of the MAC SDU and/or the MAC SDU.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is arranged to store program code for performing the following steps:
S1,在媒体接入控制服务数据单元MAC SDU重传失败时,检测所所述MAC SDU的失效等待时间是否超时;S1. When the media access control service data unit MAC SDU fails to retransmit, check whether the failure waiting time of the MAC SDU expires.
S2,在判断结果为否的情况下,重新发送所述MAC SDU和/或所述MAC SDU的相关数据。S2. If the determination result is no, retransmit the related data of the MAC SDU and/or the MAC SDU.
通过本发明实施例,利用MAC SDU和/或所述MAC SDU的相关数据在重传失效后的等待时间内再次进行重传。因此,可以解决相关技术中 两层重传机制可能延迟业务数据及时向应用层的递交,影响业务QoS的问题,从而达到加速数据向应用层的递交,提高业务QoS的效果。With the embodiment of the present invention, the related data using the MAC SDU and/or the MAC SDU is retransmitted again within the waiting time after the retransmission fails. Therefore, it can be solved in related technologies The two-layer retransmission mechanism may delay the delivery of service data to the application layer in time, affecting the problem of service QoS, thereby accelerating the delivery of data to the application layer and improving the effect of service QoS.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是相关技术中两层重传机制的流程图;1 is a flow chart of a two-layer retransmission mechanism in the related art;
图2是本发明实施例的一种数据重传方法的移动终端的硬件结构框图;2 is a block diagram showing the hardware structure of a mobile terminal according to a data retransmission method according to an embodiment of the present invention;
图3是根据本发明实施例的一种数据重传方法的流程图;FIG. 3 is a flowchart of a data retransmission method according to an embodiment of the present invention; FIG.
图4是根据本发明的一种数据重传的时序图;4 is a timing diagram of a data retransmission in accordance with the present invention;
图5是根据本发明的另一种数据重传的时序图;Figure 5 is a timing diagram of another data retransmission in accordance with the present invention;
图6是根据本发明实施例的一种数据重传装置的结构图;FIG. 6 is a structural diagram of a data retransmission apparatus according to an embodiment of the present invention; FIG.
图7是根据本发明实施例的另一种数据重传装置的结构图;FIG. 7 is a structural diagram of another data retransmission apparatus according to an embodiment of the present invention; FIG.
图8是根据本发明实施例的一种MAC设备的结构图。FIG. 8 is a structural diagram of a MAC device according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
实施例1Example 1
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在终端上为例,图2是本发明实施例的一种数据重传方法的移动终端的硬件结构框图。如图2所示,移动终端20可以包括一个或多个(图中仅示出一个)处理器202(处理器202可以包 括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、设置为存储数据的存储器204、以及设置为通信功能的传输装置206。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,终端20还可包括比图2中所示更多或者更少的组件,或者具有与图2所示不同的配置。The method embodiment provided in Embodiment 1 of the present application can be executed in a mobile terminal, a computer terminal or the like. Taking the operation on the terminal as an example, FIG. 2 is a hardware structural block diagram of a mobile terminal of a data retransmission method according to an embodiment of the present invention. As shown in FIG. 2, the mobile terminal 20 may include one or more (only one shown) processor 202 (the processor 202 may include This includes, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, a memory 204 configured to store data, and a transmission device 206 configured as a communication function. It will be understood by those skilled in the art that the structure shown in FIG. 1 is merely illustrative and does not limit the structure of the above electronic device. For example, terminal 20 may also include more or fewer components than those shown in FIG. 2, or have a different configuration than that shown in FIG. 2.
存储器204可设置为存储应用软件的软件程序以及模块,如本发明实施例中的数据重传方法对应的程序指令/模块,处理器202通过运行存储在存储器204内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器204可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器204可进一步包括相对于处理器202远程设置的存储器,这些远程存储器可以通过网络连接至终端20。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 204 can be configured as a software program and a module for storing application software, such as program instructions/modules corresponding to the data retransmission method in the embodiment of the present invention, and the processor 202 executes by executing a software program and a module stored in the memory 204. Various functional applications and data processing, that is, the above methods are implemented. Memory 204 can include high speed random access memory and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 204 can further include memory remotely located relative to processor 202, which can be connected to terminal 20 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置206设置为经由一个网络接收或者发送数据。上述的网络具体实例可包括终端10的通信供应商提供的无线网络。在一个实例中,传输装置206包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置206可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Transmission device 206 is arranged to receive or transmit data via a network. The above specific network example may include a wireless network provided by a communication provider of the terminal 10. In one example, transmission device 206 includes a Network Interface Controller (NIC) that can be connected to other network devices through a base station to communicate with the Internet. In one example, the transmission device 206 can be a Radio Frequency (RF) module for communicating with the Internet wirelessly.
在本实施例中提供了一种运行于上述移动终端的数据重传方法,图3是根据本发明实施例的一种数据重传方法的流程图,如图3所示,该流程包括如下步骤:In this embodiment, a data retransmission method running on the mobile terminal is provided. FIG. 3 is a flowchart of a data retransmission method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps. :
步骤S302,在媒体接入控制服务数据单元MAC SDU重传失败时,检测所所述MAC SDU的失效等待时间是否超时;Step S302, detecting, when the media access control service data unit MAC SDU retransmission fails, detecting whether the failure waiting time of the MAC SDU expires;
步骤S304,在判断结果为否的情况下,重新发送所述MAC SDU和/或所述MAC SDU的相关数据。Step S304, if the determination result is no, retransmit the related data of the MAC SDU and/or the MAC SDU.
可选地,MAC SDU的相关数据是指归属于所述MAC SDU的MAC  SDU片段。Optionally, the related data of the MAC SDU refers to the MAC attributed to the MAC SDU. SDU fragment.
可选地,在重新发送过程中,重新发送的MAC SDU和MAC SDU的相关数据的发送优先级要高于在MAC PDU中还没有发送过的MAC SDU。Optionally, in the resending process, the related data of the retransmitted MAC SDU and the MAC SDU is sent with a higher priority than the MAC SDU that has not been sent in the MAC PDU.
可选地,在重新发送过程中,MAC SDU和MAC SDU的相关数据的重传也可以与在MAC PDU中还没有发送过的MAC SDU一通发送。Optionally, during the retransmission process, the retransmission of the related data of the MAC SDU and the MAC SDU may also be sent in one pass with the MAC SDU that has not been sent in the MAC PDU.
具体地,在重新发送过程中,对于完整的MAC SDU,既可以直接重新发送完整的MAC SDU,同时也可以现将该完成的MAC SDU分割为多个MAC SDU片段重新发送。而对于MAC SDU片段而言,即可以直接重新发送该片段,同时也还可以将该MAC SDU片段对应的完整的MAC SDU进行重新发送。Specifically, in the resending process, for a complete MAC SDU, the complete MAC SDU may be directly retransmitted, and the completed MAC SDU may be split into multiple MAC SDU segments for retransmission. For the MAC SDU segment, the segment can be directly retransmitted, and the complete MAC SDU corresponding to the MAC SDU segment can also be retransmitted.
可选的,在重传成功时,或在重传失败且判断结果为是的情况下,删除所述MAC SDU以及为所述MAC SDU设置的失效等待时间;在所述MAC SDU片段所属的MAC SDU重传成功时,删除所述MAC SDU片段所属的MAC SDU以及该MAC SDU的失效等待时间;在所述MAC SDU片段重传失败且判断结果为是,所述MAC SDU片段所属的MAC SDU的全部SDU片段都完成重传的情况下,删除所述MAC SDU片段所属的MAC SDU以及所述MAC SDU片段所属的MAC SDU的失效等待时间。具体地,所述MAC SDU片段所属的MAC SDU重传是指,该MAC SDU片段所属的MAC SDU中所包括的所有MAC SDU片段均完成了重传,也就是说,重传成功的含义为,所有的MAC SDU片段均重传成功。若其中存在一个或多个MAC SDU存在重传失败,那么则视为重传失败。Optionally, when the retransmission is successful, or when the retransmission fails and the determination result is yes, deleting the MAC SDU and the failure waiting time set for the MAC SDU; the MAC to which the MAC SDU fragment belongs When the SDU retransmission is successful, the MAC SDU to which the MAC SDU fragment belongs and the failure waiting time of the MAC SDU are deleted; if the MAC SDU fragment fails to be retransmitted and the determination result is yes, the MAC SDU to which the MAC SDU fragment belongs In the case that all SDU segments complete retransmission, the MAC SDU to which the MAC SDU segment belongs and the MAC SDU to which the MAC SDU segment belongs are deleted. Specifically, the MAC SDU retransmission to which the MAC SDU segment belongs is that all the MAC SDU segments included in the MAC SDU to which the MAC SDU segment belongs are retransmitted, that is, the meaning of the retransmission success is All MAC SDU fragments are retransmitted successfully. If one or more MAC SDUs have retransmission failures, then the retransmission fails.
可选的,在步骤S201之前,接收各个逻辑信道发送的所述MAC SDU,并为所述MAC SDU设置所述失效等待时间;对所述MAC SDU进行封装,得到MAC协议数据单元PDU,并发送MAC PDU。具体地,该封装过程中,在MAC PDU中还封装有MAC Control element以及Padding。Optionally, before step S201, receiving the MAC SDU sent by each logical channel, and setting the failure waiting time for the MAC SDU; encapsulating the MAC SDU, obtaining a MAC protocol data unit PDU, and sending MAC PDU. Specifically, in the encapsulation process, a MAC Control element and Padding are also encapsulated in the MAC PDU.
具体地,在本实施例中还提供了以下场景,以便于理解本实施例中所记载的技术方案: Specifically, the following scenarios are also provided in this embodiment to facilitate understanding of the technical solutions described in this embodiment:
场景1scene 1
场景1提供了MAC发送方的MAC SDU快速HARQ的场景,包括如下步骤:图4是根据本发明的一种数据重传的时序图,如图4所示,场景1中以下的步骤应用于上述时序图。Scenario 1 provides a scenario of MAC SDU fast HARQ of a MAC sender, including the following steps: FIG. 4 is a timing diagram of data retransmission according to the present invention. As shown in FIG. 4, the following steps in scenario 1 are applied to the above. Timing diagram.
S0010 MAC接收高层数据MAC SDU0和MAC SDU1S0010 MAC receives high-level data MAC SDU0 and MAC SDU1
S0020 MAC为SDU0和SDU1分别设置DiscardTimer;S0020 MAC sets DiscardTimer for SDU0 and SDU1 respectively;
S0030 MAC根据空口分配能力得到该UE下一MAC TTI(记为TTI1)允许发送数据流量;The S0030 MAC obtains the next MAC TTI (recorded as TTI1) of the UE according to the air interface allocation capability, and allows the data traffic to be sent;
S0040 MAC确定TTI1发送MAC SDU0,组成MAC PDU0;然后TTI1发送;S0040 MAC determines that TTI1 sends MAC SDU0 to form MAC PDU0; then TTI1 sends;
S0050 MAC PDU0 HARQ失败;S0050 MAC PDU0 HARQ failed;
S0060 MAC根据空口分配能力得到该UE下一MAC TTI(记为TTI2)允许发送数据流量;The S0060 MAC obtains the next MAC TTI (recorded as TTI2) of the UE according to the air interface allocation capability, and allows the data traffic to be sent;
S0070 MAC检查MAC PDU0中的MAC SDU0的DiscardTimer尚未失效,允许快速HARQ;The S0070 MAC checks that the DiscardTimer of the MAC SDU0 in the MAC PDU0 has not expired, allowing fast HARQ;
S0080 MAC确定TTI2发送MAC SDU0和MAC SDU1,组成MAC PDU1,成帧如图4,然后TTI2发送;The S0080 MAC determines that the TTI2 sends the MAC SDU0 and the MAC SDU1 to form the MAC PDU1, and the framing is as shown in FIG. 4, and then the TTI2 sends;
S0090 MAC PDU1 HARQ成功;S0090 MAC PDU1 HARQ succeeded;
S0100 MAC删除MAC SDU0和MAC SDU1以及对应的DiscardTimer。The S0100 MAC deletes the MAC SDU0 and the MAC SDU1 and the corresponding DiscardTimer.
场景2Scene 2
场景2提供了MAC发送方的MAC SDU Segment快速HARQ的场景,包括如下步骤:图5是根据本发明的另一种数据重传的时序图,如图5所示,场景2c中以下的步骤应用于上述时序图。Scenario 2 provides a scenario of MAC SDU Segment fast HARQ of the MAC sender, including the following steps: FIG. 5 is a timing diagram of another data retransmission according to the present invention. As shown in FIG. 5, the following steps are applied in scenario 2c. In the above timing chart.
S0010 MAC先后接收高层数据:来自逻辑信道5的MAC SDU0和MAC SDU1、来自逻辑信道6的MAC SDU2;S0010 MAC receives high layer data in sequence: MAC SDU0 and MAC SDU1 from logical channel 5, MAC SDU2 from logical channel 6;
S0020 MAC接收各SDU后分别启动DiscardTimer; After receiving the SDUs, the S0020 MAC starts the DiscardTimer respectively.
S0030 MAC根据空口分配能力得到该UE下一MAC TTI(记为TTI1)允许发送逻辑信道5的数据流量;The S0030 MAC obtains, according to the air interface allocation capability, the data traffic of the next MAC TTI (referred to as TTI1) of the UE to allow the logical channel 5 to be sent;
S0040 MAC确定TTI1发送逻辑信道5的MAC SDU0以及MAC SDU1的分段,组成MAC PDU0。MAC PDU0成帧如图6,然后TTI1发送;The S0040 MAC determines that the TSI1 sends the MAC SDU0 of the logical channel 5 and the segment of the MAC SDU1 to form the MAC PDU0. MAC PDU0 is framed as shown in Figure 6, and then sent by TTI1;
S0050 MAC PDU0 HARQ失败;S0050 MAC PDU0 HARQ failed;
S0060 MAC根据空口分配能力得到该UE下一MAC TTI(记为TTI2)允许发送逻辑信道5和逻辑信道6的数据流量;The S0060 MAC obtains the data traffic of the logical channel 5 and the logical channel 6 by using the next MAC TTI (referred to as TTI2) of the UE according to the air interface allocation capability;
S0070 MAC检查MAC PDU0中的MAC SDU0 DiscardTimer失效,因此删除MAC SDU0;检查MAC SDU1 Segment归属的MAC SDU1的DiscardTimer尚未失效,因此不删除MAC SDU1;The S0070 MAC checks that the MAC SDU0 DiscardTimer in the MAC PDU0 is invalid, so the MAC SDU0 is deleted; the DiscardTimer of the MAC SDU1 to which the MAC SDU1 Segment belongs is not invalidated, so the MAC SDU1 is not deleted.
S0080 MAC确定TTI2发送逻辑信道5的MAC SDU1的部分数据以及逻辑信道6的MAC SDU2,串接成一个MAC PDU1。,然后TT2发送。The S0080 MAC determines that the partial data of the MAC SDU1 of the TTI2 transmission logical channel 5 and the MAC SDU2 of the logical channel 6 are concatenated into one MAC PDU1. And then TT2 sends.
S0090 MAC PDU1 HARQ成功;S0090 MAC PDU1 HARQ succeeded;
S0100 MAC检查MAC PDU1中MAC SDU1还有部分数据正在HARQ,因此不删除这个MAC SDU;删除MAC SDU2以及对应DiscardTimer。The S0100 MAC checks that the MAC SDU1 in the MAC PDU1 still has some data in the HARQ, so the MAC SDU is not deleted; the MAC SDU2 and the corresponding DiscardTimer are deleted.
通过上述步骤,利用MAC SDU和/或所述MAC SDU的相关数据在重传失效后的等待时间内再次进行重传。因此,可以解决相关技术中两层重传机制可能延迟业务数据及时向应用层的递交,影响业务QoS的问题,从而达到加速数据向应用层的递交,提高业务QoS的效果。Through the above steps, the related data using the MAC SDU and/or the MAC SDU is retransmitted again within the waiting time after the retransmission fails. Therefore, the problem that the two-layer retransmission mechanism in the related technology may delay the delivery of service data to the application layer in time and affect the service QoS may be solved, thereby accelerating the delivery of data to the application layer and improving the effect of service QoS.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所 述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform various embodiments of the present invention. The method described.
实施例2Example 2
在本实施例中还提供了一种数据重传装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a data retransmission device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图6是根据本发明实施例的一种数据重传装置的结构图,如图6所示,该装置包括:检测模块62以及重传模块64。FIG. 6 is a structural diagram of a data retransmission apparatus according to an embodiment of the present invention. As shown in FIG. 6, the apparatus includes: a detection module 62 and a retransmission module 64.
检测模块62,设置为在所述MAC SDU重传失败时,检测所所述MAC SDU的失效等待时间是否超时;The detecting module 62 is configured to detect, when the MAC SDU retransmission fails, whether the failure waiting time of the MAC SDU expires;
重发模块64,设置为在判断结果为否的情况下,重新发送所述MAC SDU和/或所述MAC SDU的相关数据。The retransmission module 64 is configured to resend the related data of the MAC SDU and/or the MAC SDU if the determination result is no.
可选地,所述MAC SDU相关数据为MAC SDU片段所属的MAC SDU。Optionally, the MAC SDU related data is a MAC SDU to which the MAC SDU fragment belongs.
可选地,重新直接发送所述MAC SDU或将所述MAC SDU分割为多个所述MAC SDU片段后进行发送;重新直接发送所述MAC SDU片段或重新发送所述MAC SDU片段所属的MAC SDU;在所述MAC SDU片段所属的MAC SDU重传成功时,删除所述MAC SDU片段所属的MAC SDU以及该MAC SDU的失效等待时间;在所述MAC SDU片段重传失败且判断结果为是,所述MAC SDU片段所属的MAC SDU的全部SDU片段都完成重传的情况下,删除所述MAC SDU片段所属的MAC SDU以及所述MAC SDU片段所属的MAC SDU的失效等待时间。Optionally, the MAC SDU is directly sent or the MAC SDU is split into multiple MAC SDU segments, and then sent; the MAC SDU segment is directly sent or the MAC SDU to which the MAC SDU segment belongs is retransmitted. Deleting the MAC SDU to which the MAC SDU segment belongs and the failure waiting time of the MAC SDU when the MAC SDU retransmission to which the MAC SDU segment belongs is successful; if the MAC SDU fragment fails to be retransmitted and the determination result is yes, If all the SDU segments of the MAC SDU to which the MAC SDU segment belongs are retransmitted, the MAC SDU to which the MAC SDU segment belongs and the MAC SDU to which the MAC SDU segment belongs are deleted.
所述重发模块还设置为在重传成功时,或在重传失败且判断结果为是的情况下,删除所述MAC SDU以及为所述MAC SDU设置的失效等待时间。The retransmission module is further configured to delete the MAC SDU and the failure waiting time set for the MAC SDU when the retransmission is successful, or if the retransmission fails and the determination result is yes.
图7是根据本发明实施例的另一种数据重传装置的结构图,如图7所示,该装置除包括图6所示的所有模块外,还包括:接收模块72以及发 送模块74。FIG. 7 is a structural diagram of another data retransmission apparatus according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes: receiving module 72 and transmitting, in addition to all the modules shown in FIG. The module 74 is sent.
接收模块72,设置为接收各个逻辑信道发送的所述MAC SDU,并为所述MAC SDU设置所述失效等待时间;The receiving module 72 is configured to receive the MAC SDU sent by each logical channel, and set the failure waiting time for the MAC SDU;
发送模块74,设置为对所述MAC SDU进行封装,得到MAC PDU,并发送MAC PDU。The sending module 74 is configured to encapsulate the MAC SDU, obtain a MAC PDU, and send a MAC PDU.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are in any combination. The forms are located in different processors.
实施例3Example 3
在本实施例中还提供了一种MAC设备,图8是根据本发明实施例的一种MAC设备的结构图,如图8所示,该装置包括:处理器82以及重传模块84。A MAC device is also provided in this embodiment. FIG. 8 is a structural diagram of a MAC device according to an embodiment of the present invention. As shown in FIG. 8, the device includes a processor 82 and a retransmission module 84.
处理器82,设置为在所述MAC SDU重传失败时,检测所所述MAC SDU的失效等待时间是否超时;在判断结果为否的情况下,重新发送所述MAC SDU和/或所述MAC SDU的相关数据;The processor 82 is configured to detect, when the MAC SDU retransmission fails, whether the failure waiting time of the MAC SDU is timed out; if the determination result is no, resend the MAC SDU and/or the MAC SDU related data;
传输接口84,设置为传输所述MAC SDU和/或所述MAC SDU的相关数据。The transmission interface 84 is configured to transmit related data of the MAC SDU and/or the MAC SDU.
实施例4Example 4
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
S1,在媒体接入控制服务数据单元MAC SDU重传失败时,检测所所述MAC SDU的失效等待时间是否超时;S1. When the media access control service data unit MAC SDU fails to retransmit, check whether the failure waiting time of the MAC SDU expires.
S2,在判断结果为否的情况下,重新发送所述MAC SDU和/或所述MAC SDU的相关数据。S2. If the determination result is no, retransmit the related data of the MAC SDU and/or the MAC SDU.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random  Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), and a random access memory (RAM, Random). A variety of media that can store program code, such as Access Memory), removable hard disk, disk, or optical disk.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
通过本发明实施例,利用MAC SDU和/或所述MAC SDU的相关数据在重传失效后的等待时间内再次进行重传。因此,可以解决相关技术中两层重传机制可能延迟业务数据及时向应用层的递交,影响业务QoS的问题,从而达到加速数据向应用层的递交,提高业务QoS的效果。 With the embodiment of the present invention, the related data using the MAC SDU and/or the MAC SDU is retransmitted again within the waiting time after the retransmission fails. Therefore, the problem that the two-layer retransmission mechanism in the related technology may delay the delivery of service data to the application layer in time and affect the service QoS may be solved, thereby accelerating the delivery of data to the application layer and improving the effect of service QoS.

Claims (15)

  1. 一种数据重传方法,包括:A data retransmission method includes:
    在媒体接入控制服务数据单元MAC SDU重传失败时,检测所所述MAC SDU的失效等待时间是否超时;When the media access control service data unit MAC SDU retransmission fails, detecting whether the failure waiting time of the MAC SDU expires;
    在判断结果为否的情况下,重新发送所述MAC SDU和/或所述MAC SDU的相关数据。If the result of the determination is no, the related data of the MAC SDU and/or the MAC SDU is retransmitted.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    接收各个逻辑信道发送的所述MAC SDU,并为所述MAC SDU设置所述失效等待时间;Receiving the MAC SDU sent by each logical channel, and setting the failure waiting time for the MAC SDU;
    对所述MAC SDU进行封装,得到MAC协议数据单元PDU,并发送MAC PDU。Encapsulating the MAC SDU, obtaining a MAC protocol data unit PDU, and transmitting a MAC PDU.
  3. 根据权利要求1所述的方法,其中,对所述MAC SDU进行封装,得到MAC PDU,还包括:The method of claim 1, wherein the MAC SDU is encapsulated to obtain a MAC PDU, further comprising:
    将所述MAC SDU、MAC Control element以及Padding封装到所述MAC PDU中。Encapsulating the MAC SDU, MAC Control element, and Padding into the MAC PDU.
  4. 根据权利要求1所述的方法,其中,所述MAC SDU相关数据为归属于所述MAC SDU的MAC SDU片段。The method of claim 1 wherein the MAC SDU related data is a MAC SDU fragment attributed to the MAC SDU.
  5. 根据权利要求2所述的方法,其中,重新发送的所述MAC SDU和/或所述MAC SDU的相关数据的空口发送优先级大于所述MAC PDU中未进行发送的MAC SDU。The method according to claim 2, wherein the air interface transmission priority of the retransmitted MAC SDU and/or the MAC SDU related data is greater than the MAC SDU in the MAC PDU that is not transmitted.
  6. 根据权利要求2所述的方法,其中,重新发送的所述MAC SDU和/或所述MAC SDU的相关数据与所述各个逻辑信道中缓存的MAC SDU一并进行发送。The method according to claim 2, wherein the retransmitted data of the MAC SDU and/or the MAC SDU is transmitted together with the MAC SDU buffered in the respective logical channels.
  7. 根据权利要求4所述的方法,其中,重新发送所述MAC SDU 和/或所述MAC SDU的相关数据,包括:The method of claim 4 wherein said MAC SDU is retransmitted And/or related data of the MAC SDU, including:
    重新直接发送所述MAC SDU或将所述MAC SDU分割为多个所述MAC SDU片段后进行发送;Transmitting the MAC SDU directly or dividing the MAC SDU into multiple MAC SDU segments and transmitting;
    重新直接发送所述MAC SDU片段或重新发送所述MAC SDU片段所属的MAC SDU。Retransmitting the MAC SDU fragment directly or resending the MAC SDU to which the MAC SDU fragment belongs.
  8. 根据权利要求4所述的方法,其中,包括:The method of claim 4, comprising:
    在重传成功时,或在重传失败且判断结果为是的情况下,删除所述MAC SDU以及为所述MAC SDU设置的失效等待时间;When the retransmission is successful, or when the retransmission fails and the judgment result is yes, deleting the MAC SDU and the failure waiting time set for the MAC SDU;
    在所述MAC SDU片段所属的MAC SDU重传成功时,删除所述MAC SDU片段所属的MAC SDU以及该MAC SDU的失效等待时间;Deleting the MAC SDU to which the MAC SDU fragment belongs and the failure waiting time of the MAC SDU when the MAC SDU retransmission is successful.
    在所述MAC SDU片段重传失败且判断结果为是,所述MAC SDU片段所属的MAC SDU的全部SDU片段都完成重传的情况下,删除所述MAC SDU片段所属的MAC SDU以及所述MAC SDU片段所属的MAC SDU的失效等待时间。If the retransmission of the MAC SDU segment fails and the determination result is yes, and all the SDU segments of the MAC SDU to which the MAC SDU segment belongs are retransmitted, the MAC SDU to which the MAC SDU segment belongs and the MAC address are deleted. The expiration wait time of the MAC SDU to which the SDU fragment belongs.
  9. 一种数据重传装置,包括:A data retransmission device includes:
    检测模块,设置为在所述MAC SDU重传失败时,检测所所述MAC SDU的失效等待时间是否超时;a detecting module, configured to detect, when the MAC SDU retransmission fails, whether a failure waiting time of the MAC SDU is timed out;
    重发模块,设置为在判断结果为否的情况下,重新发送所述MAC SDU和/或所述MAC SDU的相关数据。The retransmission module is configured to resend the related data of the MAC SDU and/or the MAC SDU if the judgment result is no.
  10. 根据权利要求9所述的装置,其中,所述装置还包括:The apparatus of claim 9 wherein said apparatus further comprises:
    接收模块,设置为接收各个逻辑信道发送的所述MAC SDU,并为所述MAC SDU设置所述失效等待时间;a receiving module, configured to receive the MAC SDU sent by each logical channel, and set the failure waiting time for the MAC SDU;
    发送模块,设置为对所述MAC SDU进行封装,得到MAC PDU,并发送MAC PDU。 The sending module is configured to encapsulate the MAC SDU, obtain a MAC PDU, and send a MAC PDU.
  11. 根据权利要求9所述的装置,其中,所述MAC SDU相关数据为归属于所述MAC SDU的MAC SDU片段。The apparatus of claim 9, wherein the MAC SDU related data is a MAC SDU fragment attributed to the MAC SDU.
  12. 根据权利要求11所述的装置,其中,所述重发模块还设置为,The apparatus of claim 11, wherein the retransmission module is further configured to
    重新直接发送所述MAC SDU或将所述MAC SDU分割为多个所述MAC SDU片段后进行发送;Transmitting the MAC SDU directly or dividing the MAC SDU into multiple MAC SDU segments and transmitting;
    重新直接发送所述MAC SDU片段或重新发送所述MAC SDU片段所属的MAC SDU。Retransmitting the MAC SDU fragment directly or resending the MAC SDU to which the MAC SDU fragment belongs.
  13. 根据权利要求11所述的装置,其中,所述重发模块还设置为:The apparatus of claim 11 wherein said retransmission module is further configured to:
    在重传成功时,或在重传失败且判断结果为是的情况下,删除所述MAC SDU以及为所述MAC SDU设置的失效等待时间;When the retransmission is successful, or when the retransmission fails and the judgment result is yes, deleting the MAC SDU and the failure waiting time set for the MAC SDU;
    在所述MAC SDU片段所属的MAC SDU重传成功时,删除所述MAC SDU片段所属的MAC SDU以及该MAC SDU的失效等待时间;Deleting the MAC SDU to which the MAC SDU fragment belongs and the failure waiting time of the MAC SDU when the MAC SDU retransmission is successful.
    在所述MAC SDU片段重传失败且判断结果为是,所述MAC SDU片段所属的MAC SDU的全部SDU片段都完成重传的情况下,删除所述MAC SDU片段所属的MAC SDU以及所述MAC SDU片段所属的MAC SDU的失效等待时间。If the retransmission of the MAC SDU segment fails and the determination result is yes, and all the SDU segments of the MAC SDU to which the MAC SDU segment belongs are retransmitted, the MAC SDU to which the MAC SDU segment belongs and the MAC address are deleted. The expiration wait time of the MAC SDU to which the SDU fragment belongs.
  14. 一种MAC设备,包括:A MAC device, including:
    处理器,设置为在所述MAC SDU重传失败时,检测所所述MAC SDU的失效等待时间是否超时;在判断结果为否的情况下,重新发送所述MAC SDU和/或所述MAC SDU的相关数据;a processor, configured to detect, when the MAC SDU retransmission fails, whether a failure waiting time of the MAC SDU is timed out; if the determination result is no, resending the MAC SDU and/or the MAC SDU Related data;
    传输接口,设置为传输所述MAC SDU和/或所述MAC SDU的相关数据。 And a transmission interface, configured to transmit related data of the MAC SDU and/or the MAC SDU.
  15. 一种存储介质,其特征在于,所述存储介质包括存储的程序,其中,所述程序运行时执行权利要求1至8中任一项所述的方法。 A storage medium, characterized in that the storage medium comprises a stored program, wherein the program is executed to perform the method of any one of claims 1 to 8.
PCT/CN2017/107678 2016-10-26 2017-10-25 Method and apparatus for data retransmission, and mac device WO2018077195A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610956894.0A CN107995654A (en) 2016-10-26 2016-10-26 Data repeating method and device, MAC equipment
CN201610956894.0 2016-10-26

Publications (1)

Publication Number Publication Date
WO2018077195A1 true WO2018077195A1 (en) 2018-05-03

Family

ID=62023125

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/107678 WO2018077195A1 (en) 2016-10-26 2017-10-25 Method and apparatus for data retransmission, and mac device

Country Status (2)

Country Link
CN (1) CN107995654A (en)
WO (1) WO2018077195A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020062126A1 (en) * 2018-09-29 2020-04-02 Oppo广东移动通信有限公司 Method for processing data packet, entity and storage medium
WO2020220348A1 (en) * 2019-04-30 2020-11-05 Nec Corporation Downlink retransmission for multi-trp/panel transmission

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512702A (en) * 1999-04-06 2004-07-14 ����ɭ�绰�ɷ����޹�˾ Grouped missing notice of semi reliable retransfer protocol
US20060156165A1 (en) * 2004-12-02 2006-07-13 Samsung Electronics Co., Ltd. Auto re-transmission request system and method in a wireless communication system
CN101132260A (en) * 2006-08-22 2008-02-27 中兴通讯股份有限公司 Retransmission control method for reinforcing uplink asynchronous mixed automatic retransmission request

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512702A (en) * 1999-04-06 2004-07-14 ����ɭ�绰�ɷ����޹�˾ Grouped missing notice of semi reliable retransfer protocol
US20060156165A1 (en) * 2004-12-02 2006-07-13 Samsung Electronics Co., Ltd. Auto re-transmission request system and method in a wireless communication system
CN101132260A (en) * 2006-08-22 2008-02-27 中兴通讯股份有限公司 Retransmission control method for reinforcing uplink asynchronous mixed automatic retransmission request

Also Published As

Publication number Publication date
CN107995654A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
US11751097B2 (en) Method and apparatus for reestablishing packet data convergence protocol (PDCP) entity in a wireless communication system
CN107852768B (en) Methods, apparatus, and computer readable media for Packet Data Convergence Protocol (PDCP) reordering under enhanced component carriers
US9860915B2 (en) Apparatus and method for moving a receive window in a radio access network
JP6563504B2 (en) Code block cluster level HARQ
US7869396B2 (en) Data transmission method and data re-transmission method
JP4318733B2 (en) Control protocol data unit transmission / reception method including processing time information
KR101387537B1 (en) A method for handling correctly received but header compression failed packets
WO2018130059A1 (en) Data packet transmission method and device
WO2018082582A1 (en) Data transmission method and device, and computer storage medium
WO2014026386A1 (en) Data packet transmission method and device
US20210409161A1 (en) Multiple access point operation of a wireless network
WO2018077195A1 (en) Method and apparatus for data retransmission, and mac device
WO2020010511A1 (en) Data transmission method and base station
CN113711558B (en) Ethernet frame packet header compression processing method and device, user terminal, base station and medium
CN117917883A (en) Method and receiver for managing data traffic in a wireless communication system

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17865894

Country of ref document: EP

Kind code of ref document: A1