WO2019241931A1 - 一种数据包重传方法及装置 - Google Patents

一种数据包重传方法及装置 Download PDF

Info

Publication number
WO2019241931A1
WO2019241931A1 PCT/CN2018/092009 CN2018092009W WO2019241931A1 WO 2019241931 A1 WO2019241931 A1 WO 2019241931A1 CN 2018092009 W CN2018092009 W CN 2018092009W WO 2019241931 A1 WO2019241931 A1 WO 2019241931A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
sending end
entity
mac entity
sequence number
Prior art date
Application number
PCT/CN2018/092009
Other languages
English (en)
French (fr)
Inventor
孔祥振
秦超
刘志勇
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2018/092009 priority Critical patent/WO2019241931A1/zh
Priority to EP18923551.8A priority patent/EP3796581A4/en
Priority to CN201880094476.2A priority patent/CN112272928B/zh
Publication of WO2019241931A1 publication Critical patent/WO2019241931A1/zh
Priority to US17/127,536 priority patent/US11424864B2/en

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/08Arrangements for detecting or preventing errors in the information received by repeating transmission, e.g. Verdan system
    • 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
    • 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/1874Buffer management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • H04L5/0055Physical resource allocation for ACK/NACK
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/324Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the data link layer [OSI layer 2], e.g. HDLC
    • 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/1864ARQ related signaling
    • 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/1896ARQ related signaling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and more specifically, to a method and an apparatus for retransmitting a data packet.
  • VOIP voice over Internet Protocol
  • Radio Link Layer Control Protocol RLC
  • UM Unacknowledged Mode
  • the MAC layer will start hybrid automatic retransmission (HARQ).
  • HARQ hybrid automatic retransmission
  • the MAC layer discards the voice data packet.
  • the transmission of voice data packets is completely dependent on the transmission reliability of the MAC layer, if the transmission of the MAC layer fails, the MAC layer will discard the voice data packets, causing the user to make noise or indistinct speech when using VOIP for voice calls , Which reduces the call quality of VOIP.
  • the embodiments of the present application provide a method and a device for retransmitting a data packet, so as to improve transmission reliability of a voice data packet.
  • an embodiment of the present application provides a data packet retransmission method, and the method includes:
  • the radio link layer control protocol RLC entity of the sending end sends the target sequence number and the first data packet to the media access control MAC entity of the sending end, the RLC entity of the sending end is in a non-response mode, and the target sequence number is the sequence number of the first data packet;
  • the RLC entity at the sending end records the number of RLC layer transmissions where the target sequence number is sent to the MAC entity at the sending end;
  • the RLC entity of the sending end When the RLC entity of the sending end receives the target sequence number and the negative response sent by the MAC entity of the sending end, the RLC entity of the sending side obtains the number of RLC layer transmissions corresponding to the target sequence number;
  • the RLC entity of the sending end determines that the number of RLC layer transmissions is less than the RLC layer transmission threshold, the RLC entity of the sending end sends a retransmission instruction based on the first data packet to the MAC entity of the sending end.
  • the sending MAC entity when the number of times that the sending MAC entity receives a negative response based on the second data packet is greater than the MAC layer transmission threshold, it means that the transmission of the second data packet at the MAC layer has failed.
  • the first data packet is generated, so the MAC entity at the sending end sends the target sequence number and negative response of the first data packet to the RLC entity at the sending end, so that the RLC entity at the sending end can determine whether to enable retransmission at the RLC layer.
  • the embodiment of the present application can enable retransmission of the RLC layer when the retransmission conditions of the RLC layer are met, thereby increasing the number of data packet transmissions and further increasing the possibility of successful data packet transmission. Therefore, the embodiment of the present application It can improve the transmission reliability of voice data packets, thereby ensuring better call quality.
  • the method before the RLC entity of the sending end sends the first data packet and the target sequence number to the MAC entity of the sending end, the method further includes:
  • the RLC entity on the sending end stores the mapping relationship between the target sequence number and the first data packet into the buffer area.
  • the purpose of storing the mapping between the target sequence number and the first data packet in the buffer area is that if the first data packet meets the retransmission conditions of the RLC layer, the RLC entity at the sending end can correspond to the target sequence number in the buffer area.
  • the first data packet is sent to the MAC entity on the sending end, so that the MAC entity on the sending end can generate a second data packet again based on the first data packet, and then send the second data packet to the MAC entity on the receiving end.
  • the method before the sending-end RLC entity sends the first data packet-based retransmission instruction to the sending-end MAC entity, the method further includes:
  • the RLC entity at the transmitting end obtains the first data packet corresponding to the target sequence number in the buffer area, and the RLC entity at the transmitting end generates a retransmission instruction based on the first data packet according to the first data packet and the target sequence number;
  • the RLC entity at the transmitting end obtains the first data packet corresponding to the target sequence number in the buffer area, and the RLC entity at the transmitting end generates a retransmission instruction based on the first data packet according to the first data packet in the buffer area.
  • the retransmission instruction based on the first data packet may include the first data packet and the target sequence number, so that the MAC entity at the sending end can obtain the first data in the retransmission instruction after receiving the retransmission instruction.
  • the packet and the destination sequence number so that when the MAC layer transmission fails, the destination sequence number and a negative response can be sent to the RLC entity at the sending end together.
  • the first data packet-based retransmission instruction may include a first data packet, so that the MAC entity at the sending end may obtain the first data packet in the retransmission instruction after receiving the retransmission instruction, and The target sequence number is extracted in the first data packet, so that when the MAC layer transmission fails, the target sequence number and a negative response can be sent to the RLC entity of the sending end together.
  • the method further includes:
  • the RLC entity of the sending end When the RLC entity of the sending end receives the target sequence number and the acknowledgement response sent by the MAC entity of the sending end, the RLC entity of the sending end deletes the mapping relationship between the target sequence number in the buffer area and the first data packet.
  • the RLC entity of the sending end receives the destination sequence number and the acknowledgement sent by the sending MAC entity, it means that the first data packet corresponding to the destination sequence number has been successfully transmitted, and the mapping relationship between the destination sequence number and the first data packet in the buffer area can be deleted. To save storage space.
  • the method further includes:
  • the RLC entity at the transmitting end determines that the number of RLC layer transmissions is greater than the RLC layer transmission threshold, the RLC entity at the transmitting end deletes the mapping relationship between the target sequence number in the buffer area and the first data packet.
  • the RLC entity on the transmitting side judges that the number of RLC layer transmissions is greater than the RLC layer transmission threshold, it indicates that the first data packet corresponding to the target sequence number does not meet the retransmission conditions of the RLC layer, so the RLC entity on the transmitting side deletes the target sequence number and Mapping relationship of a packet to save storage space.
  • the method before the sending-end RLC entity sends the first data packet-based retransmission instruction to the sending-end MAC entity, the method further includes:
  • the RLC entity of the transmitting end generates a retransmission instruction based on the first data packet according to the target sequence number and the retransmission identifier, and the retransmission identifier is used to instruct the MAC entity of the transmitting end to retransmit the first data packet corresponding to the target sequence number.
  • the MAC entity of the sending end sets the buffer area.
  • the RLC entity of the transmitting end When the RLC entity of the transmitting end generates a retransmission instruction based on the first data packet, the first data packet will not be placed in the retransmission instruction, and only the target sequence number and retransmission identifier will be placed in the retransmission instruction, so as to facilitate the MAC of the transmitting end.
  • the entity obtains the first data packet corresponding to the target sequence number in the buffer area.
  • the method further includes:
  • the RLC entity at the sending end When the RLC entity at the sending end receives the target sequence number and the acknowledgement sent by the MAC entity at the sending end, the RLC entity at the sending end sends a first packet-based abandonment instruction to the MAC entity at the sending end.
  • the abandonment instruction includes the target sequence number and the abandonment identifier. It is used to instruct the sending MAC entity to delete the mapping relationship between the target sequence number and the first data packet.
  • the MAC entity of the sending end sets the buffer area.
  • the RLC entity at the sending end receives the target sequence number and the acknowledgement sent by the MAC entity at the sending end, it indicates that the first data packet corresponding to the target sequence number has been successfully transmitted, so the RLC entity at the sending end sends the first data packet based on the first data packet to the MAC entity at the sending end. Abandon the instruction, so that the MAC entity at the sending end deletes the mapping relationship between the target sequence number and the first data packet based on the abandonment instruction, thereby saving storage space.
  • the method further includes:
  • the RLC entity at the sending end determines that the number of RLC layer transmissions is greater than the RLC layer transmission threshold, the RLC entity at the sending end sends a first packet-based abandonment instruction to the MAC entity at the sender.
  • the abandonment instruction includes the target sequence number and the abandonment identifier.
  • the abandonment identifier is used to indicate The sending MAC entity deletes the mapping relationship between the target sequence number and the first data packet.
  • the MAC entity of the sending end sets the buffer area.
  • the RLC entity at the sending end judges that the number of RLC layer transmissions is greater than the RLC layer transmission threshold, it indicates that the first data packet corresponding to the target sequence number does not meet the retransmission conditions of the RLC layer, so the RLC entity at the sending end sends the first data based on the first entity to the sending MAC entity.
  • the packet abandonment instruction so that the sending MAC entity deletes the mapping relationship between the target sequence number and the first data packet based on the abandonment instruction, thereby saving storage space.
  • an embodiment of the present application provides a data packet retransmission method, which includes:
  • the MAC entity at the sending end receives the target sequence number and the first data packet sent by the RLC entity at the sending end, and the RLC entity at the sending end is in a non-response mode, and the target sequence number is the sequence number of the first data packet;
  • the MAC entity at the sending end generates a second data packet according to the first data packet
  • the MAC entity at the sending end sends the second data packet to the MAC entity at the receiving end;
  • the MAC entity of the sending end When the number of times that the MAC entity of the sending end receives the negative response based on the second data packet sent by the MAC entity of the receiving end is greater than the MAC layer transmission threshold, the MAC entity of the sending end sends the target sequence number and the negative response to the RLC entity of the sending end;
  • the MAC entity of the sending end When the MAC entity of the sending end receives the retransmission instruction based on the first data packet sent by the RLC entity of the sending end, the MAC entity of the sending end starts a transmission process based on the second data packet.
  • the sending MAC entity when the number of times that the sending MAC entity receives a negative response based on the second data packet is greater than the MAC layer transmission threshold, it means that the transmission of the second data packet at the MAC layer has failed.
  • the first data packet is generated, so the MAC entity at the sending end sends the target sequence number and negative response of the first data packet to the RLC entity at the sending end, so that the RLC entity at the sending end can determine whether to enable retransmission at the RLC layer.
  • the embodiment of the present application can enable retransmission of the RLC layer when the retransmission conditions of the RLC layer are met, thereby increasing the number of data packet transmissions and further increasing the possibility of successful data packet transmission. Therefore, the embodiment of the present application It can improve the transmission reliability of voice data packets, thereby ensuring better call quality.
  • the method further includes:
  • the MAC entity on the sending end stores the mapping relationship between the target sequence number and the first data packet into the buffer area.
  • the RLC entity on the sending end does not set a buffer area, and the MAC entity on the sending end sets a buffer area.
  • the MAC entity of the sending end stores the mapping relationship between the target sequence number and the first data packet into the buffer area.
  • the start of the transmission process based on the second data packet by the MAC entity of the sending end includes:
  • the MAC entity at the transmitting end obtains the target sequence number and retransmission identifier in the retransmission instruction, and the retransmission identifier is used to instruct the MAC entity at the transmitting end to retransmit the first data packet corresponding to the target sequence number;
  • the MAC entity at the transmitting end obtains the first data packet corresponding to the target sequence number in the buffer area
  • the MAC entity at the sending end generates a second data packet according to the first data packet
  • the MAC entity at the sending end sends a second data packet to the MAC entity at the receiving end.
  • the RLC entity on the sending end does not set a buffer area, and the MAC entity on the sending end sets a buffer area.
  • the MAC entity at the transmitting end receives the first data packet-based retransmission instruction sent by the RLC entity at the transmitting end, the MAC entity at the transmitting end obtains the target sequence number and retransmission identifier in the retransmission instruction, and obtains the corresponding target sequence number in the buffer area.
  • the first data packet is generated according to the first data packet, and finally the second data packet is sent to the MAC entity at the receiving end, so as to implement the transmission process based on the second data packet.
  • the method further includes:
  • the MAC entity of the sending end When the MAC entity of the sending end receives the first data packet abandonment instruction sent by the RLC entity of the sending end, the MAC entity of the sending end deletes the mapping relationship between the target sequence number in the buffer area and the first data packet;
  • the abandonment instruction includes a target sequence number and abandonment identifier, and the abandonment identifier is used to instruct the MAC entity on the sending end to delete the mapping relationship between the target sequence number in the buffer area and the first data packet.
  • the MAC entity at the sending end when the MAC entity at the sending end receives the abandonment instruction based on the first data packet sent by the RLC entity at the sending end, it indicates that the RLC entity at the sending end determines that the number of RLC layer transmissions is not less than the RLC layer transmission threshold, that is, the first data packet does not meet the RLC layer
  • the retransmission condition of the sender so the RLC entity on the sending end sends a discard instruction based on the first data packet to the MAC entity on the sending end, so that the MAC entity on the sending end deletes the mapping relationship between the target sequence number in the buffer area and the first data packet, thereby saving storage.
  • the method further includes:
  • the MAC entity at the sending end When the MAC entity at the sending end receives the second packet-based acknowledgement response sent by the MAC entity at the receiving end, the MAC entity at the sending end sends the target sequence number and the acknowledgement to the RLC entity at the sending end, and deletes the target sequence number and the first The mapping relationship of a data packet.
  • the RLC entity on the sending end does not set a buffer area, and the MAC entity on the sending end sets a buffer area.
  • the sending MAC entity receives the second packet-based acknowledgement sent by the receiving MAC entity, it indicates that the first data packet corresponding to the target sequence number has been successfully transmitted, so the sending MAC entity sends the target sequence number and the acknowledgement response to the sending
  • the RLC entity at the end notifies the RLC entity at the sending end that the first data packet has been successfully transmitted, and deletes the mapping relationship between the target sequence number in the buffer area and the first data packet, thereby saving storage space.
  • the start of the transmission process based on the second data packet by the MAC entity of the sending end includes:
  • the MAC entity at the sending end obtains the first data packet in the retransmission instruction
  • the MAC entity at the sending end generates a second data packet according to the first data packet
  • the MAC entity at the sending end sends a second data packet to the MAC entity at the receiving end.
  • the sending MAC entity does not set a buffer area
  • the sending RLC entity sets a buffer area.
  • the MAC entity at the transmitting end receives the retransmission instruction based on the first data packet sent by the RLC entity at the transmitting end
  • the MAC entity at the transmitting end obtains the first data packet in the retransmission instruction and generates a second data packet according to the first data packet, Sending a second data packet to the MAC entity at the receiving end to implement the transmission process based on the second data packet.
  • the method further includes:
  • the MAC entity of the sending end When the MAC entity of the sending end receives the acknowledgement response based on the second data packet sent by the MAC entity of the receiving end, the MAC entity of the sending end sends the target sequence number and the confirmation response to the RLC entity of the sending end.
  • the sending MAC entity does not set a buffer area, and the sending RLC entity sets a buffer area.
  • the sending MAC entity receives the second packet-based acknowledgement sent by the receiving MAC entity, it indicates that the first data packet corresponding to the target sequence number has been successfully transmitted, so the sending MAC entity sends the target sequence number and the acknowledgement response to the sending
  • the RLC entity at the transmitting end notifies the RLC entity at the transmitting end that the first data packet has been successfully transmitted, so that the RLC entity at the transmitting end deletes the mapping relationship between the target sequence number in the buffer area and the first data packet, thereby saving storage space.
  • an embodiment of the present application provides a data packet retransmission device, where the device includes:
  • a first sending module configured to cause an RLC entity at the sending end to send a target sequence number and a first data packet to a MAC entity at the sending end, the RLC entity at the sending end is in a non-response mode, and the target sequence number is the sequence number of the first data packet;
  • a recording module configured to cause the RLC entity at the sending end to record the number of RLC layer transmissions of the target sequence number sent to the MAC entity at the sending end;
  • An obtaining module configured to enable the RLC entity of the sending end to obtain the number of RLC layer transmissions corresponding to the target serial number when the RLC entity of the sending end receives the target serial number and the negative response sent by the MAC entity of the sending end;
  • the second sending module is configured to enable the RLC entity at the sending end to send a retransmission instruction based on the first data packet to the MAC entity at the sending end when the RLC entity at the sending end determines that the number of RLC layer transmissions is less than the RLC layer transmission threshold.
  • the apparatus further includes:
  • the storage module is configured to cause the RLC entity at the transmitting end to store the mapping relationship between the target sequence number and the first data packet in the buffer area.
  • the apparatus further includes:
  • a first generating module configured to enable an RLC entity at the transmitting end to obtain a first data packet corresponding to a target sequence number in a buffer area, and the RLC entity at the transmitting end generates a retransmission instruction based on the first data packet according to the first data packet and the target sequence number;
  • the second generating module is configured to enable the RLC entity of the transmitting end to obtain the first data packet corresponding to the target sequence number in the buffer area, and the RLC entity of the transmitting end generates a retransmission instruction based on the first data packet according to the first data packet in the buffer area.
  • the apparatus further includes:
  • the first deleting module is configured to enable the RLC entity of the sending end to delete the mapping relationship between the target sequence number in the buffer area and the first data packet when the RLC entity of the sending end receives the target sequence number and the acknowledgement response sent by the MAC entity of the sending end.
  • the apparatus further includes:
  • the second deleting module is configured to enable the RLC entity at the transmitting end to delete the mapping relationship between the target sequence number in the buffer area and the first data packet when the RLC entity at the transmitting end determines that the number of RLC layer transmissions is greater than the RLC layer transmission threshold.
  • the apparatus further includes:
  • the third generating module is configured to cause the RLC entity of the transmitting end to generate a retransmission instruction based on the first data packet according to the target sequence number and the retransmission identifier, and the retransmission identifier is used to instruct the MAC entity of the transmitting end to retransmit the first data packet corresponding to the target sequence number .
  • the apparatus further includes:
  • the third sending module is configured to enable the RLC entity of the sending end to send the abandonment instruction based on the first data packet to the MAC entity of the sending end when the RLC entity of the sending end receives the target sequence number and the acknowledgement response sent by the MAC entity of the sending end.
  • the abandonment instruction includes The target sequence number and the discard identifier, which is used to instruct the MAC entity at the sending end to delete the mapping relationship between the target sequence number and the first data packet.
  • the apparatus further includes:
  • the fourth sending module is configured to enable the RLC entity at the sending end to send a discard instruction based on the first data packet to the MAC entity at the sending end when the RLC entity determines that the number of RLC layer transmissions is greater than the RLC layer transmission threshold.
  • the abandonment instruction includes the target sequence number and The abandonment identifier is used to instruct the sending MAC entity to delete the mapping relationship between the target sequence number and the first data packet.
  • an embodiment of the present application provides a data packet retransmission device, where the device includes:
  • a receiving module configured to enable a MAC entity at the sending end to receive a target sequence number and a first data packet sent by an RLC entity at the sending end; the RLC entity at the sending end is in a non-response mode, and the target sequence number is a sequence number of the first data packet;
  • a generating module configured to cause a MAC entity at the transmitting end to generate a second data packet according to the first data packet
  • a first sending module configured to cause a MAC entity on the sending end to send a second data packet to a MAC entity on the receiving end;
  • the second sending module is configured to enable the sending MAC entity to send the target sequence number and the negative response to the number of times the negative response based on the second data packet sent by the receiving MAC entity is greater than the MAC layer transmission threshold.
  • the starting module is configured to enable the sending MAC entity to start the transmission process based on the second data packet when the sending MAC entity receives the retransmission command based on the first data packet sent by the sending RLC entity.
  • the apparatus further includes:
  • the storage module is configured to cause the MAC entity at the transmitting end to store the mapping relationship between the target sequence number and the first data packet in the buffer area.
  • the starting module is specifically configured to enable the sending MAC entity to obtain the target sequence number and the retransmission identifier in the retransmission instruction, and the retransmission identifier is used to instruct the sending MAC entity to retransmit the first serial number corresponding to the target sequence number.
  • the apparatus further includes:
  • a first deleting module configured to enable the sending MAC entity to delete the mapping relationship between the target sequence number in the buffer area and the first data packet when the sending MAC entity receives the first data packet abandonment instruction sent by the sending RLC entity;
  • the abandonment instruction includes a target sequence number and abandonment identifier, and the abandonment identifier is used to instruct the MAC entity on the sending end to delete the mapping relationship between the target sequence number in the buffer area and the first data packet.
  • the apparatus further includes:
  • the second deletion module is configured to enable the sending MAC entity to send the target sequence number and the confirmation response to the sending RLC entity when the sending MAC entity receives the second packet-based confirmation response sent by the receiving MAC entity, and delete The mapping relationship between the target sequence number in the buffer area and the first data packet.
  • the starting module is specifically configured to enable a MAC entity on the sending end to obtain the first data packet in the retransmission instruction; the MAC entity on the sending end generates a second data packet according to the first data packet; the MAC entity on the sending end Send a second data packet to the MAC entity at the receiving end.
  • the apparatus further includes:
  • the third sending module is configured to enable the MAC entity of the sending end to send the target sequence number and the confirmation response to the RLC entity of the sending end when the MAC entity of the sending end receives the confirmation response based on the second data packet sent by the MAC entity of the receiving end.
  • an embodiment of the present application provides a base station.
  • the base station includes a processor, a memory, and a transceiver.
  • the processor, the memory, and the transceiver communicate with each other through an internal connection path.
  • the memory is used to store instructions.
  • the processor executes instructions stored in the memory to control the transceiver to receive signals and send signals, and when the processor executes the instructions stored in the memory, the processor executes the foregoing first aspect, any possible implementation manner of the first aspect, The method in the second aspect or any one of the possible implementation manners of the second aspect.
  • an embodiment of the present application provides a terminal.
  • the terminal includes a processor, a memory, and a transceiver.
  • the processor, the memory, and the transceiver communicate with each other through an internal connection path.
  • the memory is used to store instructions.
  • the processor executes instructions stored in the memory to control the transceiver to receive signals and send signals, and when the processor executes the instructions stored in the memory, the processor executes the foregoing first aspect, any possible implementation manner of the first aspect, The method in the second aspect or any one of the possible implementation manners of the second aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores instructions, and when the computer-readable storage medium runs on the computer, causes the computer to execute the foregoing first aspect or any of the first aspect.
  • the computer-readable storage medium stores instructions, and when the computer-readable storage medium runs on the computer, causes the computer to execute the foregoing first aspect or any of the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores instructions, and when the computer-readable storage medium is run on a computer, causes the computer to execute any of the second aspect or the second aspect.
  • an embodiment of the present application provides a computer program product containing instructions.
  • the computer program product When the computer program product is run on a computer, the computer executes the foregoing first aspect or a method in any possible implementation manner of the first aspect.
  • an embodiment of the present application provides a computer program product containing instructions, which when executed on a computer, causes the computer to execute the method in the second aspect or any one of the possible implementation manners of the second aspect.
  • FIG. 1 is a schematic diagram of a scenario of a base station and a terminal provided by an embodiment of the present application
  • FIG. 2 is a signaling interaction diagram of a data packet retransmission method according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a data packet retransmission device according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a data packet retransmission device according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a base station according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a terminal according to an embodiment of the present application.
  • FIG. 1 is a schematic diagram of a scenario of a base station and a terminal provided by an embodiment of the present application.
  • a terminal 1 and a base station 2 are included.
  • terminal 1 sends data to base station 2
  • terminal 1 is the transmitting end
  • base station 2 is the receiving end
  • base station 2 sends data to terminal 1
  • base station 2 is the transmitting end
  • terminal 1 is the receiving end.
  • FIG. 2 is a signaling interaction diagram of a data packet retransmission method according to an embodiment of the present application.
  • the method shown in Figure 2 can improve the transmission reliability of voice data packets.
  • the method includes the following steps.
  • Step S11 The RLC entity of the sending end sends the target sequence number and the first data packet to the MAC entity of the sending end.
  • the transmitting end is a base station
  • the receiving end is a terminal
  • the transmitting end is a terminal
  • the receiving end is a base station
  • the RLC entity on the transmitting end is in a non-response mode.
  • the target serial number is the serial number of the first data packet, and the target serial number is stored in the first data packet.
  • Step S12 The RLC entity of the sending end records the number of RLC layer transmissions of the target sequence number sent to the MAC entity of the sending end.
  • the number of transmissions at the RLC layer is the number of times the RLC entity at the sending end sends the target sequence number to the MAC entity at the sending end.
  • Step S13 The MAC entity of the transmitting end generates a second data packet according to the first data packet.
  • the first data packet is both a protocol data unit (PDU) at the RLC layer, and the first data packet is also a service data unit (SDU) at the MAC layer.
  • the second data packet is a PDU at the MAC layer.
  • the MAC entity at the sending end generates a PDU at the MAC layer based on the SDU at the MAC layer based on the protocol.
  • Step S14 The MAC entity on the sending end sends a second data packet to the MAC entity on the receiving end.
  • the MAC entity on the receiving end After step S14, the MAC entity on the receiving end returns a feedback response based on the second data packet to the MAC entity on the sending end. If the MAC entity at the receiving end receives the second data packet sent by the MAC entity at the sending end, the MAC entity at the receiving end sends an acknowledgement (ACK) to the MAC entity at the sending end; if the MAC entity at the receiving end does not receive the MAC at the sending end The second data packet sent by the entity, then the receiving MAC entity sends a negative acknowledgement (NACK) to the sending MAC entity.
  • ACK acknowledgement
  • NACK negative acknowledgement
  • Step S15 The MAC entity on the sending end determines whether the number of times of receiving a negative response based on the second data packet sent by the MAC entity on the receiving end is greater than the MAC layer transmission threshold. If yes, go to step S16; otherwise, go to step S17.
  • the MAC layer transmission threshold is a preset value. For example, assuming that the MAC layer transmission threshold is set to 10 in advance, the sending MAC entity will determine whether the number of times of receiving a negative response based on the second data packet sent by the receiving MAC entity is greater than 10 times.
  • the sending MAC entity sends the target sequence number and the negative response to The RLC entity of the sending end enables the RLC entity of the sending end to determine whether it is necessary to enable retransmission of the RLC layer of the sending end.
  • the MAC entity at the sending end sends the MAC entity at the receiving end The second packet. Because the MAC layer has a HARQ mechanism, as long as the number of times that the MAC entity at the sending end receives NACKs is less than the MAC layer transmission threshold, the MAC entity at the sending end will send a second data packet to the MAC entity at the receiving end.
  • Step S16 The MAC entity of the sending end sends the target sequence number and a negative response to the RLC entity of the sending end.
  • Step S17 The MAC entity on the sending end sends a second data packet to the MAC entity on the receiving end.
  • Step S18 When the RLC entity of the sending end receives the target sequence number and the negative response sent by the MAC entity of the sending end, the RLC entity of the sending side obtains the number of RLC layer transmissions corresponding to the target sequence number.
  • the RLC entity on the transmitting end needs to determine whether to enable retransmission of the RLC layer on the transmitting end based on the number of RLC layer transmissions corresponding to the target sequence number.
  • Step S19 The RLC entity at the sending end determines whether the number of RLC layer transmissions is less than the RLC layer transmission threshold. If yes, go to step S20.
  • the RLC layer transmission threshold is a preset value. For example, assuming that the RLC layer transmission threshold is set to 3 in advance, the RLC entity at the sending end will determine whether the number of RLC layer transmissions is less than 3 times.
  • Step S20 The RLC entity of the transmitting end sends a retransmission instruction based on the first data packet to the MAC entity of the transmitting end.
  • the RLC entity at the sending end judges that the number of RLC layer transmissions is less than the RLC layer transmission threshold, it means that the retransmission of the RLC layer at the sending end can be enabled, then the RLC entity at the sending end will send a retransmission instruction based on the first data packet to the MAC entity at the sending end
  • the retransmission instruction is used to instruct the MAC entity on the sending end to re-enable the HARQ mechanism based on the second data packet.
  • Step S21 When the MAC entity of the sending end receives the retransmission instruction based on the first data packet sent by the RLC entity of the sending end, the MAC entity of the sending end starts a transmission process based on the second data packet.
  • the MAC entity at the sending end can re-enable the HARQ mechanism based on the second data packet.
  • the MAC entity of the transmitting end when the number of times that the MAC entity at the transmitting end receives a negative response based on the second data packet is greater than the MAC layer transmission threshold, it indicates that the transmission of the second data packet at the MAC layer has failed.
  • the data packet is generated by the first data packet, so the MAC entity of the sending end sends the target sequence number and negative response of the first data packet to the RLC entity of the sending end, so that the RLC entity of the sending end determines whether to enable retransmission of the RLC layer.
  • the embodiment of the present application can enable retransmission of the RLC layer when the retransmission conditions of the RLC layer are met, thereby increasing the number of data packet transmissions and further increasing the possibility of successful data packet transmission. Therefore, the embodiment of the present application It can improve the transmission reliability of voice data packets, thereby ensuring better call quality.
  • the data packet retransmission method may further include the following steps:
  • the RLC entity of the sending end stores the mapping relationship between the target sequence number and the first data packet into the buffer area.
  • the purpose of storing the mapping between the target sequence number and the first data packet in the buffer area is that if the first data packet meets the retransmission conditions of the RLC layer, the RLC entity at the sending end can correspond to the target sequence number in the buffer area.
  • the first data packet is sent to the MAC entity on the sending end, so that the MAC entity on the sending end can generate a second data packet again based on the first data packet, and then send the second data packet to the MAC entity on the receiving end.
  • the data packet retransmission method may further include the following steps: the RLC entity of the sending end obtains the first data packet corresponding to the target sequence number in the buffer area, and the RLC entity of the sending end according to The first data packet and the target sequence number generate a retransmission instruction based on the first data packet.
  • the retransmission instruction based on the first data packet may include the first data packet and the target sequence number, so that the MAC entity at the sending end can obtain the first data packet and the target sequence number in the retransmission instruction after receiving the retransmission instruction.
  • the target sequence number and a negative response can be sent to the RLC entity of the sending end together.
  • the data packet retransmission method may further include the following steps: the RLC entity of the sending end obtains the first data packet corresponding to the target sequence number in the buffer area, and the RLC entity of the sending end according to The first data packet in the buffer area generates a retransmission instruction based on the first data packet.
  • the retransmission instruction based on the first data packet may include the first data packet, so that after receiving the retransmission instruction, the MAC entity at the transmitting end may obtain the first data packet in the retransmission instruction and place the first data packet in the first data packet.
  • the target sequence number is extracted internally, so that when the MAC layer transmission fails, the target sequence number and a negative response can be sent to the RLC entity at the sending end together.
  • the data packet retransmission method may further include the following steps: When the RLC entity at the transmitting end receives the target sequence number and the acknowledgement response sent by the MAC entity at the transmitting end, the RLC at the transmitting end The entity deletes the mapping relationship between the target sequence number in the buffer area and the first data packet.
  • the RLC entity of the sending end receives the destination sequence number and the acknowledgement sent by the sending MAC entity, it means that the first data packet corresponding to the destination sequence number has been successfully transmitted, and the mapping relationship between the destination sequence number and the first data packet in the buffer area can be deleted. To save storage space.
  • the data packet retransmission method may further include the following steps: When the RLC entity at the transmitting end determines that the number of RLC layer transmissions is greater than the RLC layer transmission threshold, the RLC entity at the transmitting end deletes the cache The mapping relationship between the target sequence number in the area and the first data packet.
  • the RLC entity on the transmitting side judges that the number of RLC layer transmissions is greater than the RLC layer transmission threshold, it indicates that the first data packet corresponding to the target sequence number does not meet the retransmission conditions of the RLC layer, so the RLC entity on the transmitting side deletes the target sequence number and Mapping relationship of a packet to save storage space.
  • the data packet retransmission method may further include the following steps:
  • the RLC entity at the transmitting end generates a retransmission instruction based on the first data packet according to the target sequence number and the retransmission identifier, and retransmits the packet.
  • the transmission identifier is used to instruct the MAC entity on the transmitting end to retransmit the first data packet corresponding to the target sequence number.
  • the MAC entity of the sending end sets the buffer area.
  • the RLC entity of the transmitting end When the RLC entity of the transmitting end generates a retransmission instruction based on the first data packet, the first data packet will not be placed in the retransmission instruction, and only the target sequence number and retransmission identifier will be placed in the retransmission instruction, so as to facilitate the MAC of the transmitting end.
  • the entity obtains the first data packet corresponding to the target sequence number in the buffer area.
  • the data packet retransmission method may further include the following steps: When the RLC entity at the sending end receives the target sequence number and the acknowledgement response sent by the MAC entity at the sending end, the RLC at the sending end The entity sends an abandonment instruction based on the first data packet to the MAC entity at the sending end.
  • the abandonment instruction includes a target sequence number and an abandonment identifier, and the abandonment identifier is used to instruct the MAC entity at the sending end to delete the mapping relationship between the target sequence number and the first data packet.
  • the MAC entity of the sending end sets the buffer area.
  • the RLC entity at the sending end receives the target sequence number and the acknowledgement sent by the MAC entity at the sending end, it indicates that the first data packet corresponding to the target sequence number has been successfully transmitted, so the RLC entity at the sending end sends the first data packet based on the first data packet to the MAC entity at the sending end. Abandon the instruction, so that the MAC entity at the sending end deletes the mapping relationship between the target sequence number and the first data packet based on the abandonment instruction, thereby saving storage space.
  • the data packet retransmission method may further include the following steps: When the RLC entity at the transmitting end determines that the number of RLC layer transmissions is greater than the RLC layer transmission threshold, the RLC entity at the transmitting end sends a The MAC entity at the end sends an abandonment instruction based on the first data packet.
  • the abandonment instruction includes a target sequence number and an abandonment identifier. The abandonment identifier is used to instruct the sending MAC entity to delete the mapping relationship between the target sequence number and the first data packet.
  • the MAC entity of the sending end sets the buffer area.
  • the RLC entity at the sending end judges that the number of RLC layer transmissions is greater than the RLC layer transmission threshold, it indicates that the first data packet corresponding to the target sequence number does not meet the retransmission conditions of the RLC layer, so the RLC entity at the sending end sends the first data based on the first entity to the sending MAC entity.
  • the packet abandonment instruction so that the sending MAC entity deletes the mapping relationship between the target sequence number and the first data packet based on the abandonment instruction, thereby saving storage space.
  • the data packet retransmission method may further include the following steps:
  • the MAC entity of the sending end stores the mapping relationship between the target sequence number and the first data packet into the buffer area.
  • the RLC entity on the sending end does not set a buffer area, and the MAC entity on the sending end sets a buffer area.
  • the MAC entity of the sending end stores the mapping relationship between the target sequence number and the first data packet into the buffer area.
  • step S21 "the MAC entity of the sending end starts the transmission process based on the second data packet” may include the following steps: the MAC entity of the sending end obtains the target sequence number and the retransmission in the retransmission instruction Identification, retransmission identification is used to instruct the MAC entity of the transmitting end to retransmit the first data packet corresponding to the target sequence number; the MAC entity of the transmitting end obtains the first data packet corresponding to the target sequence number in the buffer area; the MAC entity of the transmitting end according to the first data packet Generate a second data packet; the MAC entity on the sending end sends the second data packet to the MAC entity on the receiving end.
  • the RLC entity on the sending end does not set a buffer area, and the MAC entity on the sending end sets a buffer area.
  • the MAC entity at the transmitting end receives the first data packet-based retransmission instruction sent by the RLC entity at the transmitting end, the MAC entity at the transmitting end obtains the target sequence number and retransmission identifier in the retransmission instruction, and obtains the corresponding target sequence number in the buffer area.
  • the first data packet is generated according to the first data packet, and finally the second data packet is sent to the MAC entity at the receiving end, so as to implement the transmission process based on the second data packet.
  • the method for retransmitting a data packet may further include the following steps: when the MAC entity at the transmitting end receives the first data packet-based abandonment instruction sent by the RLC entity at the transmitting end, sending The MAC entity at the end deletes the mapping between the target sequence number in the buffer area and the first data packet; the abandonment instruction includes the target sequence number and the abandonment identifier, which is used to instruct the sending MAC entity to delete the target sequence number and the first data packet in the buffer area. Mapping relations.
  • the MAC entity at the sending end when the MAC entity at the sending end receives the abandonment instruction based on the first data packet sent by the RLC entity at the sending end, it indicates that the RLC entity at the sending end determines that the number of RLC layer transmissions is not less than the RLC layer transmission threshold, that is, the first data packet does not meet the RLC layer.
  • the retransmission condition of the sender so the RLC entity on the sending end sends a discard instruction based on the first data packet to the MAC entity on the sending end, so that the MAC entity on the sending end deletes the mapping relationship between the target sequence number in the buffer area and the first data packet, thereby saving storage.
  • the data packet retransmission method may further include the following steps: When the MAC entity at the sending end receives the acknowledgement response based on the second data packet sent by the MAC entity at the receiving end, The MAC entity at the sending end sends the target sequence number and the acknowledgement to the RLC entity at the sending end, and deletes the mapping relationship between the target sequence number in the buffer area and the first data packet.
  • the RLC entity on the sending end does not set a buffer area, and the MAC entity on the sending end sets a buffer area.
  • the sending MAC entity receives the second packet-based acknowledgement sent by the receiving MAC entity, it indicates that the first data packet corresponding to the target sequence number has been successfully transmitted, so the sending MAC entity sends the target sequence number and the acknowledgement response to the sending
  • the RLC entity at the end notifies the RLC entity at the sending end that the first data packet has been successfully transmitted, and deletes the mapping relationship between the target sequence number in the buffer area and the first data packet, thereby saving storage space.
  • step S21 "the MAC entity of the sending end starts the transmission process based on the second data packet” may include the following steps: the MAC entity of the sending end obtains the first data packet in the retransmission instruction; The MAC entity of the sending end generates a second data packet according to the first data packet; the MAC entity of the sending end sends a second data packet to the MAC entity of the receiving end.
  • the sending MAC entity does not set a buffer area
  • the sending RLC entity sets a buffer area.
  • the MAC entity at the transmitting end receives the retransmission instruction based on the first data packet sent by the RLC entity at the transmitting end
  • the MAC entity at the transmitting end obtains the first data packet in the retransmission instruction and generates a second data packet according to the first data packet, Sending a second data packet to the MAC entity at the receiving end to implement the transmission process based on the second data packet.
  • the data packet retransmission method may further include the following steps: When the MAC entity at the sending end receives the acknowledgement response based on the second data packet sent by the MAC entity at the receiving end, The sending MAC entity sends the target sequence number and the acknowledgement to the sending RLC entity.
  • the sending MAC entity does not set a buffer area, and the sending RLC entity sets a buffer area.
  • the sending MAC entity receives the second packet-based acknowledgement sent by the receiving MAC entity, it indicates that the first data packet corresponding to the target sequence number has been successfully transmitted, so the sending MAC entity sends the target sequence number and the acknowledgement response to the sending
  • the RLC entity at the transmitting end notifies the RLC entity at the transmitting end that the first data packet has been successfully transmitted, so that the RLC entity at the transmitting end deletes the mapping relationship between the target sequence number in the buffer area and the first data packet, thereby saving storage space.
  • FIG. 3 is a schematic diagram of a data packet retransmission device provided by an embodiment of the present application.
  • the data packet retransmission device includes the following modules:
  • the first sending module 11 is configured to cause the RLC entity at the sending end to send the target sequence number and the first data packet to the MAC entity at the sending end.
  • the RLC entity at the sending end is in a non-response mode, and the target sequence number is the sequence number of the first packet;
  • the target sequence number is the sequence number of the first packet;
  • the recording module 12 is configured to cause the RLC entity of the sending end to record the number of RLC layer transmissions of the target sequence number sent to the MAC entity of the sending end; for a specific detailed implementation, please refer to the detailed description of step S12 in the method embodiment shown in FIG. 2 above. .
  • the obtaining module 13 is configured to enable the RLC entity of the sending end to obtain the number of RLC layer transmissions corresponding to the target serial number when the RLC entity of the sending end receives the target serial number and the negative response sent by the MAC entity of the sending end; for specific detailed implementation, please refer to the above Detailed description of step S18 in the method embodiment shown in FIG. 2.
  • the second sending module 14 is configured to enable the RLC entity of the sending end to send a retransmission instruction based on the first data packet to the MAC entity of the sending end when the RLC entity of the sending end determines that the number of RLC layer transmissions is less than the RLC layer transmission threshold; the specific detailed implementation For details, please refer to the detailed description of step S20 in the method embodiment shown in FIG. 2 above.
  • the data packet retransmission apparatus further includes:
  • the storage module is configured to cause the RLC entity at the transmitting end to store the mapping relationship between the target sequence number and the first data packet in the buffer area.
  • the data packet retransmission apparatus further includes:
  • the first generating module is configured to enable the RLC entity of the transmitting end to obtain the first data packet corresponding to the target sequence number in the buffer area, and the RLC entity of the transmitting end generates a retransmission instruction based on the first data packet according to the first data packet and the target sequence number.
  • the second generating module is configured to enable the RLC entity of the transmitting end to obtain the first data packet corresponding to the target sequence number in the buffer area, and the RLC entity of the transmitting end generates a retransmission instruction based on the first data packet according to the first data packet in the buffer area.
  • the data packet retransmission apparatus further includes:
  • the first deleting module is configured to enable the RLC entity of the sending end to delete the mapping relationship between the target sequence number in the buffer area and the first data packet when the RLC entity of the sending end receives the target sequence number and the acknowledgement response sent by the MAC entity of the sending end.
  • the data packet retransmission apparatus further includes:
  • the second deleting module is configured to enable the RLC entity at the transmitting end to delete the mapping relationship between the target sequence number in the buffer area and the first data packet when the RLC entity at the transmitting end determines that the number of RLC layer transmissions is greater than the RLC layer transmission threshold.
  • the data packet retransmission apparatus further includes:
  • the third generating module is configured to cause the RLC entity of the transmitting end to generate a retransmission instruction based on the first data packet according to the target sequence number and the retransmission identifier, and the retransmission identifier is used to instruct the MAC entity of the transmitting end to retransmit the first data packet corresponding to the target sequence number .
  • the data packet retransmission apparatus further includes:
  • the third sending module is configured to enable the RLC entity of the sending end to send the abandonment instruction based on the first data packet to the MAC entity of the sending end when the RLC entity of the sending end receives the target sequence number and the acknowledgement response sent by the MAC entity of the sending end.
  • the target sequence number and the discard identifier which is used to instruct the MAC entity at the sending end to delete the mapping relationship between the target sequence number and the first data packet.
  • the data packet retransmission apparatus further includes:
  • the fourth sending module is configured to enable the RLC entity at the sending end to send a discard instruction based on the first data packet to the MAC entity at the sending end when the RLC entity determines that the number of RLC layer transmissions is greater than the RLC layer transmission threshold.
  • the abandonment instruction includes the target sequence number and The abandonment identifier is used to instruct the sending MAC entity to delete the mapping relationship between the target sequence number and the first data packet.
  • FIG. 4 is a schematic diagram of a data packet retransmission device according to an embodiment of the present application.
  • the data packet retransmission device includes the following modules:
  • the receiving module 21 is configured to enable a MAC entity at the sending end to receive a target sequence number and a first data packet sent by a RLC entity at the sending end, and the RLC entity at the sending end is in a non-response mode, and the target sequence number is a sequence number of the first data packet; a specific and detailed implementation manner Please refer to the detailed description of step S11 in the method embodiment shown in FIG. 2 above.
  • the generating module 22 is configured to cause the MAC entity at the transmitting end to generate a second data packet according to the first data packet.
  • the first sending module 23 is configured to cause the MAC entity at the sending end to send a second data packet to the MAC entity at the receiving end; for a specific detailed implementation manner, please refer to the detailed description of step S14 in the method embodiment shown in FIG. 2 above.
  • the second sending module 24 is configured to enable the sending MAC entity to send the target sequence number and the negative response when the number of times of the negative response based on the second data packet sent by the receiving MAC entity is greater than the MAC layer transmission threshold.
  • the starting module 25 is configured to enable the MAC entity of the sending end to start the transmission process based on the second data packet when the MAC entity of the sending end receives the retransmission instruction based on the first data packet sent by the RLC entity of the sending end.
  • the data packet retransmission apparatus further includes:
  • the storage module is configured to cause the MAC entity at the transmitting end to store the mapping relationship between the target sequence number and the first data packet in the buffer area.
  • the starting module 25 is specifically configured to enable the sending MAC entity to obtain the target sequence number and the retransmission identifier in the retransmission instruction, and the retransmission identifier is used to indicate that the sending MAC entity corresponds to the retransmission target sequence number.
  • the first MAC packet of the sending end obtains the first data packet corresponding to the target sequence number in the buffer; the MAC entity of the sending end generates a second data packet based on the first data packet; the MAC entity of the sending end sends the first data packet to the receiving MAC entity. Two packets.
  • the data packet retransmission apparatus further includes:
  • a first deleting module configured to enable the sending MAC entity to delete the mapping relationship between the target sequence number in the buffer area and the first data packet when the sending MAC entity receives the first data packet abandonment instruction sent by the sending RLC entity;
  • the abandonment instruction includes a target sequence number and abandonment identifier, and the abandonment identifier is used to instruct the MAC entity on the sending end to delete the mapping relationship between the target sequence number in the buffer area and the first data packet.
  • the data packet retransmission apparatus further includes:
  • the second deletion module is configured to enable the sending MAC entity to send the target sequence number and the confirmation response to the sending RLC entity when the sending MAC entity receives the second packet-based confirmation response sent by the receiving MAC entity, and delete The mapping relationship between the target sequence number in the buffer area and the first data packet.
  • the starting module 25 is specifically configured to enable the MAC entity of the sending end to obtain the first data packet in the retransmission instruction; the MAC entity of the sending end generates a second data packet according to the first data packet; The MAC entity sends a second data packet to the MAC entity at the receiving end.
  • the data packet retransmission apparatus further includes:
  • the third sending module is configured to enable the MAC entity of the sending end to send the target sequence number and the confirmation response to the RLC entity of the sending end when the MAC entity of the sending end receives the confirmation response based on the second data packet sent by the MAC entity of the receiving end.
  • FIG. 5 is a schematic diagram of a base station according to an embodiment of the present application.
  • the base station includes a processor 31, a memory 32, and a transceiver 33.
  • the processor 31, the memory 32, and the transceiver 33 communicate with each other through an internal connection path.
  • the memory 32 is used to store instructions
  • the processor 31 is used to execute
  • the instructions stored in the memory 32 are used to control the transceiver 33 to receive signals and send signals, and when the processor 31 executes the instructions stored in the memory 32, the processor 31 executes the steps of the transmitting end in the method shown in FIG. 2 described above.
  • FIG. 6 is a schematic diagram of a terminal according to an embodiment of the present application.
  • the terminal includes a processor 41, a memory 42, and a transceiver 43.
  • the processor 41, the memory 42, and the transceiver 43 communicate with each other through an internal connection path.
  • the memory 42 is used to store instructions
  • the processor 41 is used to execute The instructions stored in the memory 42 are used to control the transceiver 43 to receive signals and send signals.
  • the processor 41 executes the instructions stored in the memory 42, the processor 41 executes the steps of the transmitting end in the method shown in FIG. 2.

Abstract

本申请实施例公开了一种数据包重传方法及装置,该方法包括:发送端的无线链路层控制协议RLC实体将目标序号和第一数据包发送至发送端的媒体接入控制MAC实体;发送端的RLC实体记录目标序号被发送至发送端的MAC实体的RLC层传输次数;在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和否定应答时,发送端的RLC实体获取目标序号对应的RLC层传输次数;在发送端的RLC实体判断RLC层传输次数小于RLC层传输阈值时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的重传指令。本申请实施例在符合RLC层的重传条件时,开启RLC层的重传,从而增加了数据包的传输次数,进而加大了数据包传输成功的可能性,可以提高语音数据包的传输可靠性,进而保证较好的通话质量。

Description

一种数据包重传方法及装置 技术领域
本申请实施例涉及通信技术领域,更具体的说,涉及数据包重传方法及装置。
背景技术
随着长期演进(long term evolution,LTE)网络的大规模商用,基于互联网协议的语音传输(voice over internet protocol,VOIP)的语音质量也越来越受到用户的关注,提高语音传输的通话质量具有重要意义。
目前,在无线链路层控制协议(Radio Link Control,RLC)层传输语音数据包一般使用无应答模式(Unacknowledged Mode,UM)。在RLC层使用无应答模式传输语音数据包的过程中,如果媒体接入控制(medium access control,MAC)层出现丢包,那么MAC层会启动混合自动重传(hybrid automatic repeat request,HARQ)。在重传次数达到混合自动重传的最大次数时,MAC层便会丢弃该语音数据包。
由于语音数据包的传输完全依赖于MAC层的传输可靠性,如果MAC层传输失败,那么MAC层便会丢弃语音数据包,从而引起用户在使用VOIP进行语音通话时出现杂音或语音不清晰的问题,降低了VOIP的通话质量。
因此,在使用VOIP进行语音通话的过程中,如何提高语音数据包的传输可靠性,进而保证较好的通话质量,成为目前亟须解决的技术问题。
发明内容
本申请实施例提供一种数据包重传方法及装置,以提高语音数据包的传输可靠性。
本申请实施例是这样实现的:
第一方面,本申请实施例提供了一种数据包重传方法,该方法包括:
发送端的无线链路层控制协议RLC实体将目标序号和第一数据包发送至发送端的媒体接入控制MAC实体,发送端的RLC实体为无应答模式,目标序号为第一数据包的序号;
发送端的RLC实体记录目标序号被发送至发送端的MAC实体的RLC层传输次数;
在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和否定应答时,发送端的RLC实体获取目标序号对应的RLC层传输次数;
在发送端的RLC实体判断RLC层传输次数小于RLC层传输阈值时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的重传指令。
在第一方面中,在发送端的MAC实体接收到基于第二数据包的否定应答的次数大于MAC层传输阈值时,说明第二数据包在MAC层的传输失败了,由于第二数据包是由第一数据包生成的,所以发送端的MAC实体会将第一数据包的目标序号和否定应答发送至发送端的RLC实体,以使发送端的RLC实体判断是否开启RLC层的重传。在发送端的RLC实体判断该目标序号对应的第一数据包符合重传条件时,发送端的RLC实体会向发送端的MAC实体发送基于第一数据包的重传指令,以使发送端的MAC实体启动 基于第二数据包的传输过程。因此,本申请实施例可以在符合RLC层的重传条件时,开启RLC层的重传,从而增加了数据包的传输次数,进而加大了数据包传输成功的可能性,所以本申请实施例可以提高语音数据包的传输可靠性,进而保证较好的通话质量。
在一种可能的实现方式中,发送端的RLC实体将第一数据包和目标序号发送至发送端的MAC实体以前,方法还包括:
发送端的RLC实体将目标序号和第一数据包的映射关系存储至缓存区。
其中,将目标序号和第一数据包的映射关系存储至缓存区的目的在于,如果第一数据包符合RLC层的重传条件,那么发送端的RLC实体便可以将缓存区内的目标序号对应的第一数据包发送给发送端的MAC实体,以便于发送端的MAC实体可以重新根据第一数据包生成第二数据包,再将第二数据包发送给接收端的MAC实体。
在一种可能的实现方式中,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的重传指令之前,方法还包括:
发送端的RLC实体获取缓存区中的目标序号对应的第一数据包,发送端的RLC实体根据第一数据包和目标序号生成基于第一数据包的重传指令;
或者,
发送端的RLC实体获取缓存区中的目标序号对应的第一数据包,发送端的RLC实体根据缓存区中第一数据包生成基于第一数据包的重传指令。
在第一种方式中,基于第一数据包的重传指令内可以包括第一数据包和目标序号,以便于发送端的MAC实体接收到重传指令以后,可以获取重传指令内的第一数据包和目标序号,以便于MAC层传输失败时,可以将目标序号和否定应答一起发送给发送端的RLC实体。
在第二种方式中,基于第一数据包的重传指令内可以包括第一数据包,以便于发送端的MAC实体接收到重传指令以后,可以获取重传指令内的第一数据包,并在第一数据包内提取目标序号,以便于MAC层传输失败时,可以将目标序号和否定应答一起发送给发送端的RLC实体。
在一种可能的实现方式中,发送端的RLC实体记录目标序号被发送至发送端的MAC实体的RLC层传输次数以后,方法还包括:
在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和确认应答时,发送端的RLC实体删除缓存区中的目标序号和第一数据包的映射关系。
其中,如果发送端的RLC实体接收到发送端的MAC实体发送的目标序号和确认应答,说明目标序号对应的第一数据包已经传输成功,可以删除缓存区中的目标序号和第一数据包的映射关系,以节省存储空间。
在一种可能的实现方式中,发送端的RLC实体获取目标序号对应的RLC层传输次数以后,方法还包括:
在发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值时,发送端的RLC实体删除缓存区中的目标序号和第一数据包的映射关系。
其中,如果发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值,说明目标序号对应的第一数据包不符合RLC层的重传条件,所以发送端的RLC实体删除缓存 区中的目标序号和第一数据包的映射关系,以节省存储空间。
在一种可能的实现方式中,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的重传指令之前,方法还包括:
发送端的RLC实体根据目标序号和重传标识生成基于第一数据包的重传指令,重传标识用于指示发送端的MAC实体重传目标序号对应的第一数据包。
其中,如果发送端的RLC实体不设置缓存区,那么就由发送端的MAC实体设置缓存区。在发送端的RLC实体生成基于第一数据包的重传指令时,便不会将第一数据包放入重传指令,仅将目标序号和重传标识放入重传指令,以便于发送端的MAC实体在缓存区中获取目标序号对应的第一数据包。
在一种可能的实现方式中,发送端的RLC实体记录目标序号被发送至发送端的MAC实体的RLC层传输次数以后,方法还包括:
在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和确认应答时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除目标序号和第一数据包的映射关系。
其中,如果发送端的RLC实体不设置缓存区,那么就由发送端的MAC实体设置缓存区。在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和确认应答时,说明目标序号对应的第一数据包已经传输成功,所以发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,以使发送端的MAC实体基于放弃指令删除目标序号和第一数据包的映射关系,从而节省存储空间。
在一种可能的实现方式中,发送端的RLC实体获取目标序号对应的RLC层传输次数以后,方法还包括:
在发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除目标序号和第一数据包的映射关系。
其中,如果发送端的RLC实体不设置缓存区,那么就由发送端的MAC实体设置缓存区。在发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值时,说明目标序号对应的第一数据包不符合RLC层的重传条件,所以发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,以使发送端的MAC实体基于放弃指令删除目标序号和第一数据包的映射关系,从而节省存储空间。
第二方面,本申请实施例提供了一种数据包重传方法,该方法包括:
发送端的MAC实体接收发送端的RLC实体发送的目标序号和第一数据包,发送端的RLC实体为无应答模式,目标序号为第一数据包的序号;
发送端的MAC实体根据第一数据包生成第二数据包;
发送端的MAC实体向接收端的MAC实体发送第二数据包;
在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的否定应答的次数大于MAC层传输阈值时,发送端的MAC实体将目标序号和否定应答发送至发送端的RLC实体;
在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的重传指令时,发送端的MAC实体启动基于第二数据包的传输过程。
在第一方面中,在发送端的MAC实体接收到基于第二数据包的否定应答的次数大于MAC层传输阈值时,说明第二数据包在MAC层的传输失败了,由于第二数据包是由第一数据包生成的,所以发送端的MAC实体会将第一数据包的目标序号和否定应答发送至发送端的RLC实体,以使发送端的RLC实体判断是否开启RLC层的重传。在发送端的RLC实体判断该目标序号对应的第一数据包符合重传条件时,发送端的RLC实体会向发送端的MAC实体发送基于第一数据包的重传指令,以使发送端的MAC实体启动基于第二数据包的传输过程。因此,本申请实施例可以在符合RLC层的重传条件时,开启RLC层的重传,从而增加了数据包的传输次数,进而加大了数据包传输成功的可能性,所以本申请实施例可以提高语音数据包的传输可靠性,进而保证较好的通话质量。
在一种可能的实现方式中,发送端的MAC实体接收发送端的RLC实体发送的目标序号和第一数据包以后,方法还包括:
发送端的MAC实体将目标序号和第一数据包的映射关系存储至缓存区。
其中,发送端的RLC实体不设置缓存区,由发送端的MAC实体设置缓存区。在发送端的RLC实体将目标序号和第一数据包发送至发送端的MAC实体以后,发送端的MAC实体将目标序号和第一数据包的映射关系存储至缓存区中。
在一种可能的实现方式中,发送端的MAC实体启动基于第二数据包的传输过程包括:
发送端的MAC实体获取重传指令中的目标序号和重传标识,重传标识用于指示发送端的MAC实体重传目标序号对应的第一数据包;
发送端的MAC实体获取缓存区中的目标序号对应的第一数据包;
发送端的MAC实体根据第一数据包生成第二数据包;
发送端的MAC实体向接收端的MAC实体发送第二数据包。
其中,发送端的RLC实体不设置缓存区,由发送端的MAC实体设置缓存区。在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的重传指令时,发送端的MAC实体获取重传指令中的目标序号和重传标识,并获取缓存区中的目标序号对应的第一数据包,再根据第一数据包生成第二数据包,最后向接收端的MAC实体发送第二数据包,以实现基于第二数据包的传输过程。
在一种可能的实现方式中,发送端的MAC实体将目标序号和否定应答发送至发送端的RLC实体以后,方法还包括:
在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的放弃指令时,发送端的MAC实体删除缓存区中的目标序号和第一数据包的映射关系;
放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除缓存区中的目标序号和第一数据包的映射关系。
其中,在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的放弃指令时,说明发送端的RLC实体判断RLC层传输次数未小于RLC层传输阈值,即第一数据包不符合RLC层的重传条件,所以发送端的RLC实体会向发送端的MAC实体发送 基于第一数据包的放弃指令,以使发送端的MAC实体删除缓存区中的目标序号和第一数据包的映射关系,从而节省存储空间。
在一种可能的实现方式中,发送端的MAC实体向接收端的MAC实体发送第二数据包以后,方法还包括:
在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体,并删除缓存区中的目标序号和第一数据包的映射关系。
其中,发送端的RLC实体不设置缓存区,由发送端的MAC实体设置缓存区。在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,说明目标序号对应的第一数据包已经传输成功,所以发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体,以通知发送端的RLC实体第一数据包已经传输成功,并删除缓存区中的目标序号和第一数据包的映射关系,从而节省存储空间。
在一种可能的实现方式中,发送端的MAC实体启动基于第二数据包的传输过程包括:
发送端的MAC实体获取重传指令中的第一数据包;
发送端的MAC实体根据第一数据包生成第二数据包;
发送端的MAC实体向接收端的MAC实体发送第二数据包。
其中,发送端的MAC实体不设置缓存区,由发送端的RLC实体设置缓存区。在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的重传指令时,发送端的MAC实体获取重传指令中的第一数据包,并根据第一数据包生成第二数据包,再向接收端的MAC实体发送第二数据包,以实现基于第二数据包的传输过程。
在一种可能的实现方式中,发送端的MAC实体向接收端的MAC实体发送第二数据包以后,方法还包括:
在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体。
其中,发送端的MAC实体不设置缓存区,由发送端的RLC实体设置缓存区。在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,说明目标序号对应的第一数据包已经传输成功,所以发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体,以通知发送端的RLC实体第一数据包已经传输成功,以使发送端的RLC实体删除缓存区中的目标序号和第一数据包的映射关系,从而节省存储空间。
第三方面,本申请实施例提供了一种数据包重传装置,该装置包括:
第一发送模块,用于使发送端的RLC实体将目标序号和第一数据包发送至发送端的MAC实体,发送端的RLC实体为无应答模式,目标序号为第一数据包的序号;
记录模块,用于使发送端的RLC实体记录目标序号被发送至发送端的MAC实体的RLC层传输次数;
获取模块,用于使在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和否定应答时,发送端的RLC实体获取目标序号对应的RLC层传输次数;
第二发送模块,用于使在发送端的RLC实体判断RLC层传输次数小于RLC层传输 阈值时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的重传指令。
在一种可能的实现方式中,装置还包括:
存储模块,用于使发送端的RLC实体将目标序号和第一数据包的映射关系存储至缓存区。
在一种可能的实现方式中,装置还包括:
第一生成模块,用于使发送端的RLC实体获取缓存区中的目标序号对应的第一数据包,发送端的RLC实体根据第一数据包和目标序号生成基于第一数据包的重传指令;
第二生成模块,用于使发送端的RLC实体获取缓存区中的目标序号对应的第一数据包,发送端的RLC实体根据缓存区中第一数据包生成基于第一数据包的重传指令。
在一种可能的实现方式中,装置还包括:
第一删除模块,用于使在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和确认应答时,发送端的RLC实体删除缓存区中的目标序号和第一数据包的映射关系。
在一种可能的实现方式中,装置还包括:
第二删除模块,用于使在发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值时,发送端的RLC实体删除缓存区中的目标序号和第一数据包的映射关系。
在一种可能的实现方式中,装置还包括:
第三生成模块,用于使发送端的RLC实体根据目标序号和重传标识生成基于第一数据包的重传指令,重传标识用于指示发送端的MAC实体重传目标序号对应的第一数据包。
在一种可能的实现方式中,装置还包括:
第三发送模块,用于使在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和确认应答时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除目标序号和第一数据包的映射关系。
在一种可能的实现方式中,装置还包括:
第四发送模块,用于使在发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除目标序号和第一数据包的映射关系。
第四方面,本申请实施例提供了一种数据包重传装置,该装置包括:
接收模块,用于使发送端的MAC实体接收发送端的RLC实体发送的目标序号和第一数据包,发送端的RLC实体为无应答模式,目标序号为第一数据包的序号;
生成模块,用于使发送端的MAC实体根据第一数据包生成第二数据包;
第一发送模块,用于使发送端的MAC实体向接收端的MAC实体发送第二数据包;
第二发送模块,用于使在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的否定应答的次数大于MAC层传输阈值时,发送端的MAC实体将目标序号和否定应答发送至发送端的RLC实体;
启动模块,用于使在发送端的MAC实体接收发送端的RLC实体发送的基于第一数 据包的重传指令时,发送端的MAC实体启动基于第二数据包的传输过程。
在一种可能的实现方式中,装置还包括:
存储模块,用于使发送端的MAC实体将目标序号和第一数据包的映射关系存储至缓存区。
在一种可能的实现方式中,启动模块,具体用于使发送端的MAC实体获取重传指令中的目标序号和重传标识,重传标识用于指示发送端的MAC实体重传目标序号对应的第一数据包;发送端的MAC实体获取缓存区中的目标序号对应的第一数据包;发送端的MAC实体根据第一数据包生成第二数据包;发送端的MAC实体向接收端的MAC实体发送第二数据包。
在一种可能的实现方式中,装置还包括:
第一删除模块,用于使在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的放弃指令时,发送端的MAC实体删除缓存区中的目标序号和第一数据包的映射关系;放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除缓存区中的目标序号和第一数据包的映射关系。
在一种可能的实现方式中,装置还包括:
第二删除模块,用于使在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体,并删除缓存区中的目标序号和第一数据包的映射关系。
在一种可能的实现方式中,启动模块,具体用于使发送端的MAC实体获取重传指令中的第一数据包;发送端的MAC实体根据第一数据包生成第二数据包;发送端的MAC实体向接收端的MAC实体发送第二数据包。
在一种可能的实现方式中,装置还包括:
第三发送模块,用于使在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体。
第五方面,本申请实施例提供了一种基站,该基站包括:处理器、存储器和收发器,其中,处理器、存储器和收发器通过内部连接通路互相通信,存储器用于存储指令,处理器用于执行存储器存储的指令,以控制收发器接收信号和发送信号,并且当处理器执行该存储器存储的指令时,该处理器执行上述第一方面、第一方面的任一种可能实现方式、第二方面或第二方面的任一种可能实现方式中的方法。
第六方面,本申请实施例提供了一种终端,该终端包括:处理器、存储器和收发器,其中,处理器、存储器和收发器通过内部连接通路互相通信,存储器用于存储指令,处理器用于执行存储器存储的指令,以控制收发器接收信号和发送信号,并且当处理器执行该存储器存储的指令时,该处理器执行上述第一方面、第一方面的任一种可能实现方式、第二方面或第二方面的任一种可能实现方式中的方法。
第七方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面的任一种可能实现方式中的方法。
第八方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介 质中存储有指令,当其在计算机上运行时,使得计算机执行上述第二方面或第二方面的任一种可能实现方式中的方法。
第九方面,本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面的任一种可能实现方式中的方法。
第十方面,本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面或第二方面的任一种可能实现方式中的方法。
附图说明
图1所示的为本申请实施例提供的基站和终端的场景示意图;
图2所示的为本申请实施例提供的一种数据包重传方法的信令交互图;
图3所示的为本申请实施例提供的一种数据包重传装置的示意图;
图4所示的为本申请实施例提供的一种数据包重传装置的示意图;
图5所示的为本申请实施例提供的一种基站的示意图;
图6所示的为本申请实施例提供的一种终端的示意图。
具体实施方式
请参见图1所示,图1所示的为本申请实施例提供的基站和终端的场景示意图。在图1所示的场景中,包括终端1和基站2。在终端1向基站2发送数据时,终端1为发送端,基站2为接收端;在基站2向终端1发送数据时基站2为发送端,终端1为接收端。
请参见图2所示,图2所示的为本申请实施例提供的一种数据包重传方法的信令交互图。图2所示的方法可以提高语音数据包的传输可靠性。该方法包括以下步骤。
步骤S11、发送端的RLC实体将目标序号和第一数据包发送至发送端的MAC实体。
其中,如果发送端为基站,那么接收端即为终端;如果发送端为终端,那么接收端即为基站。
其中,发送端的RLC实体为无应答模式。目标序号为第一数据包的序号,第一数据包内存储有目标序号。
步骤S12、发送端的RLC实体记录目标序号被发送至发送端的MAC实体的RLC层传输次数。
其中,RLC层传输次数为发送端的RLC实体向发送端的MAC实体发送目标序号的次数。
步骤S13、发送端的MAC实体根据第一数据包生成第二数据包。
其中,第一数据包既是RLC层的协议数据单元(protocol data unit,PDU),第一数据包也是MAC层的服务数据单元(service data unit,SDU)。第二数据包为MAC层的PDU。
其中,发送端的MAC实体基于协议根据MAC层的SDU生成MAC层的PDU。
步骤S14、发送端的MAC实体向接收端的MAC实体发送第二数据包。
在步骤S14以后,接收端的MAC实体会向发送端的MAC实体返回基于第二数据包的反馈应答。如果接收端的MAC实体接收到发送端的MAC实体发送的第二数据包,那么接收端的MAC实体会向发送端的MAC实体发送的确认应答(acknowledgement,ACK); 如果接收端的MAC实体未接收到发送端的MAC实体发送的第二数据包,那么接收端的MAC实体会向发送端的MAC实体发送的否定应答(negative acknowledgement,NACK)。
步骤S15、发送端的MAC实体判断接收到接收端的MAC实体发送的基于第二数据包的否定应答的次数是否大于MAC层传输阈值。如果是,执行步骤S16;否则,执行步骤S17。
其中,MAC层传输阈值为预先设定好的值。例如,假设预先设定MAC层传输阈值为10,那么发送端的MAC实体会判断接收到接收端的MAC实体发送的基于第二数据包的否定应答的次数是否大于10次。
如果发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的否定应答的次数大于MAC层传输阈值,说明达到了HARQ的最大次数,那么发送端的MAC实体将目标序号和否定应答发送至发送端的RLC实体,使发送端的RLC实体来判断是否需要开启发送端的RLC层的重传。
如果发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的否定应答的次数未大于MAC层传输阈值,说明还未达到HARQ的最大次数,那么发送端的MAC实体向接收端的MAC实体发送第二数据包。由于MAC层具有HARQ机制,只要发送端的MAC实体接收到NACK的次数小于MAC层传输阈值,那么发送端的MAC实体便会向接收端的MAC实体第二数据包。
步骤S16、发送端的MAC实体将目标序号和否定应答发送至发送端的RLC实体。
步骤S17、发送端的MAC实体向接收端的MAC实体发送第二数据包。
步骤S18、在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和否定应答时,发送端的RLC实体获取目标序号对应的RLC层传输次数。
其中,发送端的RLC实体需要基于目标序号对应的RLC层传输次数来判断是否开启发送端的RLC层的重传。
步骤S19、发送端的RLC实体判断RLC层传输次数是否小于RLC层传输阈值。如果是,执行步骤S20。
其中,RLC层传输阈值为预先设定好的值。例如,假设预先设定RLC层传输阈值为3,那么发送端的RLC实体会判断RLC层传输次数是否小于3次。
步骤S20、发送端的RLC实体向发送端的MAC实体发送基于第一数据包的重传指令。
其中,如果发送端的RLC实体判断RLC层传输次数小于RLC层传输阈值,说明可以开启发送端的RLC层的重传,那么发送端的RLC实体会向发送端的MAC实体发送基于第一数据包的重传指令,该重传指令用于指示发送端的MAC实体重新开启基于第二数据包的HARQ机制。
步骤S21、在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的重传指令时,发送端的MAC实体启动基于第二数据包的传输过程。
其中,如果发送端的MAC实体接收到重传指令,那么发送端的MAC实体便可以重新开启基于第二数据包的HARQ机制。
在图2所示的实施例中,在发送端的MAC实体接收到基于第二数据包的否定应答的次数大于MAC层传输阈值时,说明第二数据包在MAC层的传输失败了,由于第二数 据包是由第一数据包生成的,所以发送端的MAC实体会将第一数据包的目标序号和否定应答发送至发送端的RLC实体,以使发送端的RLC实体判断是否开启RLC层的重传。在发送端的RLC实体判断该目标序号对应的第一数据包符合重传条件时,发送端的RLC实体会向发送端的MAC实体发送基于第一数据包的重传指令,以使发送端的MAC实体启动基于第二数据包的传输过程。因此,本申请实施例可以在符合RLC层的重传条件时,开启RLC层的重传,从而增加了数据包的传输次数,进而加大了数据包传输成功的可能性,所以本申请实施例可以提高语音数据包的传输可靠性,进而保证较好的通话质量。
在一种可实现的实施例中,在步骤S11以前,该数据包重传方法还可以包括以下步骤:发送端的RLC实体将目标序号和第一数据包的映射关系存储至缓存区。
其中,将目标序号和第一数据包的映射关系存储至缓存区的目的在于,如果第一数据包符合RLC层的重传条件,那么发送端的RLC实体便可以将缓存区内的目标序号对应的第一数据包发送给发送端的MAC实体,以便于发送端的MAC实体可以重新根据第一数据包生成第二数据包,再将第二数据包发送给接收端的MAC实体。
在一种可实现的实施例中,在步骤S20以前,该数据包重传方法还可以包括以下步骤:发送端的RLC实体获取缓存区中的目标序号对应的第一数据包,发送端的RLC实体根据第一数据包和目标序号生成基于第一数据包的重传指令。
其中,基于第一数据包的重传指令内可以包括第一数据包和目标序号,以便于发送端的MAC实体接收到重传指令以后,可以获取重传指令内的第一数据包和目标序号,以便于MAC层传输失败时,可以将目标序号和否定应答一起发送给发送端的RLC实体。
在一种可实现的实施例中,在步骤S20以前,该数据包重传方法还可以包括以下步骤:发送端的RLC实体获取缓存区中的目标序号对应的第一数据包,发送端的RLC实体根据缓存区中第一数据包生成基于第一数据包的重传指令。
其中,基于第一数据包的重传指令内可以包括第一数据包,以便于发送端的MAC实体接收到重传指令以后,可以获取重传指令内的第一数据包,并在第一数据包内提取目标序号,以便于MAC层传输失败时,可以将目标序号和否定应答一起发送给发送端的RLC实体。
在一种可实现的实施例中,在步骤S12以后,该数据包重传方法还可以包括以下步骤:在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和确认应答时,发送端的RLC实体删除缓存区中的目标序号和第一数据包的映射关系。
其中,如果发送端的RLC实体接收到发送端的MAC实体发送的目标序号和确认应答,说明目标序号对应的第一数据包已经传输成功,可以删除缓存区中的目标序号和第一数据包的映射关系,以节省存储空间。
在一种可实现的实施例中,在步骤S18以后,该数据包重传方法还可以包括以下步骤:在发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值时,发送端的RLC实体删除缓存区中的目标序号和第一数据包的映射关系。
其中,如果发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值,说明目标序号对应的第一数据包不符合RLC层的重传条件,所以发送端的RLC实体删除缓存区中的目标序号和第一数据包的映射关系,以节省存储空间。
在一种可实现的实施例中,在步骤S20以前,该数据包重传方法还可以包括以下步骤:发送端的RLC实体根据目标序号和重传标识生成基于第一数据包的重传指令,重传标识用于指示发送端的MAC实体重传目标序号对应的第一数据包。
其中,如果发送端的RLC实体不设置缓存区,那么就由发送端的MAC实体设置缓存区。在发送端的RLC实体生成基于第一数据包的重传指令时,便不会将第一数据包放入重传指令,仅将目标序号和重传标识放入重传指令,以便于发送端的MAC实体在缓存区中获取目标序号对应的第一数据包。
在一种可实现的实施例中,在步骤S14以后,该数据包重传方法还可以包括以下步骤:在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和确认应答时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除目标序号和第一数据包的映射关系。
其中,如果发送端的RLC实体不设置缓存区,那么就由发送端的MAC实体设置缓存区。在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和确认应答时,说明目标序号对应的第一数据包已经传输成功,所以发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,以使发送端的MAC实体基于放弃指令删除目标序号和第一数据包的映射关系,从而节省存储空间。
在一种可实现的实施例中,在步骤S18以后,该数据包重传方法还可以包括以下步骤:在发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除目标序号和第一数据包的映射关系。
其中,如果发送端的RLC实体不设置缓存区,那么就由发送端的MAC实体设置缓存区。在发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值时,说明目标序号对应的第一数据包不符合RLC层的重传条件,所以发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,以使发送端的MAC实体基于放弃指令删除目标序号和第一数据包的映射关系,从而节省存储空间。
在一种可实现的实施例中,在步骤S11以后,该数据包重传方法还可以包括以下步骤:发送端的MAC实体将目标序号和第一数据包的映射关系存储至缓存区。
其中,发送端的RLC实体不设置缓存区,由发送端的MAC实体设置缓存区。在发送端的RLC实体将目标序号和第一数据包发送至发送端的MAC实体以后,发送端的MAC实体将目标序号和第一数据包的映射关系存储至缓存区中。
在一种可实现的实施例中,在步骤S21中,“发送端的MAC实体启动基于第二数据包的传输过程”可以包括以下步骤:发送端的MAC实体获取重传指令中的目标序号和重传标识,重传标识用于指示发送端的MAC实体重传目标序号对应的第一数据包;发送端的MAC实体获取缓存区中的目标序号对应的第一数据包;发送端的MAC实体根据第一数据包生成第二数据包;发送端的MAC实体向接收端的MAC实体发送第二数据包。
其中,发送端的RLC实体不设置缓存区,由发送端的MAC实体设置缓存区。在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的重传指令时,发送端 的MAC实体获取重传指令中的目标序号和重传标识,并获取缓存区中的目标序号对应的第一数据包,再根据第一数据包生成第二数据包,最后向接收端的MAC实体发送第二数据包,以实现基于第二数据包的传输过程。
在一种可实现的实施例中,在步骤S18以后,该数据包重传方法还可以包括以下步骤:在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的放弃指令时,发送端的MAC实体删除缓存区中的目标序号和第一数据包的映射关系;放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除缓存区中的目标序号和第一数据包的映射关系。
其中,在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的放弃指令时,说明发送端的RLC实体判断RLC层传输次数未小于RLC层传输阈值,即第一数据包不符合RLC层的重传条件,所以发送端的RLC实体会向发送端的MAC实体发送基于第一数据包的放弃指令,以使发送端的MAC实体删除缓存区中的目标序号和第一数据包的映射关系,从而节省存储空间。
在一种可实现的实施例中,在步骤S14以后,该数据包重传方法还可以包括以下步骤:在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体,并删除缓存区中的目标序号和第一数据包的映射关系。
其中,发送端的RLC实体不设置缓存区,由发送端的MAC实体设置缓存区。在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,说明目标序号对应的第一数据包已经传输成功,所以发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体,以通知发送端的RLC实体第一数据包已经传输成功,并删除缓存区中的目标序号和第一数据包的映射关系,从而节省存储空间。
在一种可实现的实施例中,在步骤S21中,“发送端的MAC实体启动基于第二数据包的传输过程”可以包括以下步骤:发送端的MAC实体获取重传指令中的第一数据包;发送端的MAC实体根据第一数据包生成第二数据包;发送端的MAC实体向接收端的MAC实体发送第二数据包。
其中,发送端的MAC实体不设置缓存区,由发送端的RLC实体设置缓存区。在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的重传指令时,发送端的MAC实体获取重传指令中的第一数据包,并根据第一数据包生成第二数据包,再向接收端的MAC实体发送第二数据包,以实现基于第二数据包的传输过程。
在一种可实现的实施例中,在步骤S14以后,该数据包重传方法还可以包括以下步骤:在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体。
其中,发送端的MAC实体不设置缓存区,由发送端的RLC实体设置缓存区。在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,说明目标序号对应的第一数据包已经传输成功,所以发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体,以通知发送端的RLC实体第一数据包已经传输成功,以使发送端的RLC实体删除缓存区中的目标序号和第一数据包的映射关系,从而节省存储空间。
请参见图3所示,图3所示的为本申请实施例提供的一种数据包重传装置的示意图。该数据包重传装置包括以下模块:
第一发送模块11,用于使发送端的RLC实体将目标序号和第一数据包发送至发送端的MAC实体,发送端的RLC实体为无应答模式,目标序号为第一数据包的序号;具体详细的实现方式,请参考上述图2所示的方法实施例中步骤S11的详细描述。
记录模块12,用于使发送端的RLC实体记录目标序号被发送至发送端的MAC实体的RLC层传输次数;具体详细的实现方式,请参考上述图2所示的方法实施例中步骤S12的详细描述。
获取模块13,用于使在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和否定应答时,发送端的RLC实体获取目标序号对应的RLC层传输次数;具体详细的实现方式,请参考上述图2所示的方法实施例中步骤S18的详细描述。
第二发送模块14,用于使在发送端的RLC实体判断RLC层传输次数小于RLC层传输阈值时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的重传指令;具体详细的实现方式,请参考上述图2所示的方法实施例中步骤S20的详细描述。
在一种可实现的实施例中,数据包重传装置还包括:
存储模块,用于使发送端的RLC实体将目标序号和第一数据包的映射关系存储至缓存区。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
在一种可实现的实施例中,数据包重传装置还包括:
第一生成模块,用于使发送端的RLC实体获取缓存区中的目标序号对应的第一数据包,发送端的RLC实体根据第一数据包和目标序号生成基于第一数据包的重传指令。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
第二生成模块,用于使发送端的RLC实体获取缓存区中的目标序号对应的第一数据包,发送端的RLC实体根据缓存区中第一数据包生成基于第一数据包的重传指令。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
在一种可实现的实施例中,数据包重传装置还包括:
第一删除模块,用于使在发送端的RLC实体接收到发送端的MAC实体发送的目标序号和确认应答时,发送端的RLC实体删除缓存区中的目标序号和第一数据包的映射关系。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
在一种可实现的实施例中,数据包重传装置还包括:
第二删除模块,用于使在发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值时,发送端的RLC实体删除缓存区中的目标序号和第一数据包的映射关系。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
在一种可实现的实施例中,数据包重传装置还包括:
第三生成模块,用于使发送端的RLC实体根据目标序号和重传标识生成基于第一数据包的重传指令,重传标识用于指示发送端的MAC实体重传目标序号对应的第一数据包。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
在一种可实现的实施例中,数据包重传装置还包括:
第三发送模块,用于使在发送端的RLC实体接收到发送端的MAC实体发送的目标 序号和确认应答时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除目标序号和第一数据包的映射关系。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
在一种可实现的实施例中,数据包重传装置还包括:
第四发送模块,用于使在发送端的RLC实体判断RLC层传输次数大于RLC层传输阈值时,发送端的RLC实体向发送端的MAC实体发送基于第一数据包的放弃指令,放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除目标序号和第一数据包的映射关系。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
请参见图4所示,图4所示的为本申请实施例提供的一种数据包重传装置的示意图。该数据包重传装置包括以下模块:
接收模块21,用于使发送端的MAC实体接收发送端的RLC实体发送的目标序号和第一数据包,发送端的RLC实体为无应答模式,目标序号为第一数据包的序号;具体详细的实现方式,请参考上述图2所示的方法实施例中步骤S11的详细描述。
生成模块22,用于使发送端的MAC实体根据第一数据包生成第二数据包;具体详细的实现方式,请参考上述图2所示的方法实施例中步骤S13的详细描述。
第一发送模块23,用于使发送端的MAC实体向接收端的MAC实体发送第二数据包;具体详细的实现方式,请参考上述图2所示的方法实施例中步骤S14的详细描述。
第二发送模块24,用于使在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的否定应答的次数大于MAC层传输阈值时,发送端的MAC实体将目标序号和否定应答发送至发送端的RLC实体;具体详细的实现方式,请参考上述图2所示的方法实施例中步骤S16的详细描述。
启动模块25,用于使在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的重传指令时,发送端的MAC实体启动基于第二数据包的传输过程。具体详细的实现方式,请参考上述图2所示的方法实施例中步骤S21的详细描述。
在一种可实现的实施例中,数据包重传装置还包括:
存储模块,用于使发送端的MAC实体将目标序号和第一数据包的映射关系存储至缓存区。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
在一种可实现的实施例中,启动模块25,具体用于使发送端的MAC实体获取重传指令中的目标序号和重传标识,重传标识用于指示发送端的MAC实体重传目标序号对应的第一数据包;发送端的MAC实体获取缓存区中的目标序号对应的第一数据包;发送端的MAC实体根据第一数据包生成第二数据包;发送端的MAC实体向接收端的MAC实体发送第二数据包。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
在一种可实现的实施例中,数据包重传装置还包括:
第一删除模块,用于使在发送端的MAC实体接收发送端的RLC实体发送的基于第一数据包的放弃指令时,发送端的MAC实体删除缓存区中的目标序号和第一数据包的 映射关系;放弃指令包括目标序号和放弃标识,放弃标识用于指示发送端的MAC实体删除缓存区中的目标序号和第一数据包的映射关系。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
在一种可实现的实施例中,数据包重传装置还包括:
第二删除模块,用于使在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体,并删除缓存区中的目标序号和第一数据包的映射关系。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
在一种可实现的实施例中,启动模块25,具体用于使发送端的MAC实体获取重传指令中的第一数据包;发送端的MAC实体根据第一数据包生成第二数据包;发送端的MAC实体向接收端的MAC实体发送第二数据包。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
在一种可实现的实施例中,数据包重传装置还包括:
第三发送模块,用于使在发送端的MAC实体接收到接收端的MAC实体发送的基于第二数据包的确认应答时,发送端的MAC实体将目标序号和确认应答发送至发送端的RLC实体。具体详细的实现方式,请参考上述图2所示的方法实施例中对应的详细描述。
图5所示的为本申请实施例提供的一种基站的示意图。参照图5,该基站包括处理器31、存储器32和收发器33,其中,处理器31、存储器32和收发器33通过内部连接通路互相通信,存储器32用于存储指令,处理器31用于执行存储器32存储的指令,以控制收发器33接收信号和发送信号,并且当处理器31执行该存储器32存储的指令时,该处理器31执行上述图2所示的方法中发送端的步骤。
图6所示的为本申请实施例提供的一种终端的示意图。参照图6,该终端包括处理器41、存储器42和收发器43,其中,处理器41、存储器42和收发器43通过内部连接通路互相通信,存储器42用于存储指令,处理器41用于执行存储器42存储的指令,以控制收发器43接收信号和发送信号,并且当处理器41执行该存储器42存储的指令时,该处理器41执行上述图2所示的方法中发送端的步骤。

Claims (30)

  1. 一种数据包重传方法,其特征在于,所述方法包括:
    发送端的无线链路层控制协议RLC实体将目标序号和第一数据包发送至所述发送端的媒体接入控制MAC实体,所述发送端的RLC实体为无应答模式,所述目标序号为所述第一数据包的序号;
    所述发送端的RLC实体记录所述目标序号被发送至所述发送端的MAC实体的RLC层传输次数;
    在所述发送端的RLC实体接收到所述发送端的MAC实体发送的所述目标序号和否定应答时,所述发送端的RLC实体获取所述目标序号对应的RLC层传输次数;
    在所述发送端的RLC实体判断所述RLC层传输次数小于RLC层传输阈值时,所述发送端的RLC实体向所述发送端的MAC实体发送基于所述第一数据包的重传指令。
  2. 根据权利要求1所述的数据包重传方法,其特征在于,发送端的RLC实体将第一数据包和所述目标序号发送至所述发送端的MAC实体以前,所述方法还包括:
    所述发送端的RLC实体将所述目标序号和所述第一数据包的映射关系存储至缓存区。
  3. 根据权利要求2所述的数据包重传方法,其特征在于,所述发送端的RLC实体向所述发送端的MAC实体发送基于所述第一数据包的重传指令之前,所述方法还包括:
    所述发送端的RLC实体获取所述缓存区中的所述目标序号对应的所述第一数据包,发送端的RLC实体根据所述第一数据包和所述目标序号生成基于所述第一数据包的重传指令;
    或者,
    所述发送端的RLC实体获取所述缓存区中的所述目标序号对应的所述第一数据包,所述发送端的RLC实体根据所述缓存区中所述第一数据包生成基于所述第一数据包的重传指令。
  4. 根据权利要求2所述的数据包重传方法,其特征在于,所述发送端的RLC实体记录所述目标序号被发送至所述发送端的MAC实体的RLC层传输次数以后,所述方法还包括:
    在所述发送端的RLC实体接收到所述发送端的MAC实体发送的所述目标序号和确认应答时,所述发送端的RLC实体删除所述缓存区中的所述目标序号和所述第一数据包的映射关系。
  5. 根据权利要求2所述的数据包重传方法,其特征在于,所述发送端的RLC实体获取所述目标序号对应的RLC层传输次数以后,所述方法还包括:
    在所述发送端的RLC实体判断所述RLC层传输次数大于所述RLC层传输阈值时,所述发送端的RLC实体删除所述缓存区中的所述目标序号和所述第一数据包的映射关系。
  6. 根据权利要求1所述的数据包重传方法,其特征在于,所述发送端的RLC实体向所述发送端的MAC实体发送基于所述第一数据包的重传指令之前,所述方法还包括:
    所述发送端的RLC实体根据所述目标序号和重传标识生成基于所述第一数据包的重传指令,所述重传标识用于指示所述发送端的MAC实体重传所述目标序号对应的所 述第一数据包。
  7. 根据权利要求6所述的数据包重传方法,其特征在于,所述发送端的RLC实体记录所述目标序号被发送至所述发送端的MAC实体的RLC层传输次数以后,所述方法还包括:
    在所述发送端的RLC实体接收到所述发送端的MAC实体发送的所述目标序号和确认应答时,所述发送端的RLC实体向所述发送端的MAC实体发送基于所述第一数据包的放弃指令,所述放弃指令包括所述目标序号和放弃标识,所述放弃标识用于指示所述发送端的MAC实体删除所述目标序号和所述第一数据包的映射关系。
  8. 根据权利要求6所述的数据包重传方法,其特征在于,所述发送端的RLC实体获取所述目标序号对应的RLC层传输次数以后,所述方法还包括:
    在所述发送端的RLC实体判断所述RLC层传输次数大于所述RLC层传输阈值时,所述发送端的RLC实体向所述发送端的MAC实体发送基于所述第一数据包的放弃指令,所述放弃指令包括所述目标序号和放弃标识,所述放弃标识用于指示所述发送端的MAC实体删除所述目标序号和所述第一数据包的映射关系。
  9. 一种数据包重传方法,其特征在于,所述方法包括:
    发送端的MAC实体接收所述发送端的RLC实体发送的目标序号和第一数据包,所述发送端的RLC实体为无应答模式,所述目标序号为所述第一数据包的序号;
    所述发送端的MAC实体根据所述第一数据包生成第二数据包;
    所述发送端的MAC实体向所述接收端的MAC实体发送所述第二数据包;
    在所述发送端的MAC实体接收到所述接收端的MAC实体发送的基于所述第二数据包的否定应答的次数大于MAC层传输阈值时,所述发送端的MAC实体将所述目标序号和所述否定应答发送至所述发送端的RLC实体;
    在所述发送端的MAC实体接收所述发送端的RLC实体发送的基于所述第一数据包的重传指令时,所述发送端的MAC实体启动基于所述第二数据包的传输过程。
  10. 根据权利要求9所述的数据包重传方法,其特征在于,发送端的MAC实体接收所述发送端的RLC实体发送的目标序号和第一数据包以后,所述方法还包括:
    所述发送端的MAC实体将所述目标序号和所述第一数据包的映射关系存储至缓存区。
  11. 根据权利要求10所述的数据包重传方法,其特征在于,所述发送端的MAC实体启动基于所述第二数据包的传输过程包括:
    所述发送端的MAC实体获取所述重传指令中的所述目标序号和重传标识,所述重传标识用于指示所述发送端的MAC实体重传所述目标序号对应的所述第一数据包;
    所述发送端的MAC实体获取所述缓存区中的所述目标序号对应的所述第一数据包;
    所述发送端的MAC实体根据所述第一数据包生成所述第二数据包;
    所述发送端的MAC实体向所述接收端的MAC实体发送所述第二数据包。
  12. 根据权利要求10所述的数据包重传方法,其特征在于,所述发送端的MAC实体将所述目标序号和所述否定应答发送至所述发送端的RLC实体以后,所述方法还包括:
    在所述发送端的MAC实体接收所述发送端的RLC实体发送的基于所述第一数据包 的放弃指令时,所述发送端的MAC实体删除所述缓存区中的所述目标序号和所述第一数据包的映射关系;
    所述放弃指令包括所述目标序号和放弃标识,所述放弃标识用于指示所述发送端的MAC实体删除所述缓存区中的所述目标序号和所述第一数据包的映射关系。
  13. 根据权利要求10所述的数据包重传方法,其特征在于,所述发送端的MAC实体向所述接收端的MAC实体发送所述第二数据包以后,所述方法还包括:
    在所述发送端的MAC实体接收到所述接收端的MAC实体发送的基于所述第二数据包的确认应答时,所述发送端的MAC实体将所述目标序号和确认应答发送至所述发送端的RLC实体,并删除所述缓存区中的所述目标序号和所述第一数据包的映射关系。
  14. 根据权利要求9所述的数据包重传方法,其特征在于,所述发送端的MAC实体启动基于所述第二数据包的传输过程包括:
    所述发送端的MAC实体获取所述重传指令中的所述第一数据包;
    所述发送端的MAC实体根据所述第一数据包生成所述第二数据包;
    所述发送端的MAC实体向所述接收端的MAC实体发送所述第二数据包。
  15. 根据权利要求14所述的数据包重传方法,其特征在于,所述发送端的MAC实体向所述接收端的MAC实体发送所述第二数据包以后,所述方法还包括:
    在所述发送端的MAC实体接收到所述接收端的MAC实体发送的基于所述第二数据包的确认应答时,所述发送端的MAC实体将所述目标序号和确认应答发送至所述发送端的RLC实体。
  16. 一种数据包重传装置,其特征在于,所述装置包括:
    第一发送模块,用于使发送端的RLC实体将目标序号和第一数据包发送至所述发送端的MAC实体,所述发送端的RLC实体为无应答模式,所述目标序号为所述第一数据包的序号;
    记录模块,用于使所述发送端的RLC实体记录所述目标序号被发送至所述发送端的MAC实体的RLC层传输次数;
    获取模块,用于使在所述发送端的RLC实体接收到所述发送端的MAC实体发送的所述目标序号和否定应答时,所述发送端的RLC实体获取所述目标序号对应的RLC层传输次数;
    第二发送模块,用于使在所述发送端的RLC实体判断所述RLC层传输次数小于RLC层传输阈值时,所述发送端的RLC实体向所述发送端的MAC实体发送基于所述第一数据包的重传指令。
  17. 根据权利要求16所述的数据包重传装置,其特征在于,所述装置还包括:
    存储模块,用于使所述发送端的RLC实体将所述目标序号和所述第一数据包的映射关系存储至缓存区。
  18. 根据权利要求17所述的数据包重传装置,其特征在于,所述装置还包括:
    第一生成模块,用于使所述发送端的RLC实体获取所述缓存区中的所述目标序号对应的所述第一数据包,发送端的RLC实体根据所述第一数据包和所述目标序号生成基于所述第一数据包的重传指令;
    第二生成模块,用于使所述发送端的RLC实体获取所述缓存区中的所述目标序号 对应的所述第一数据包,所述发送端的RLC实体根据所述缓存区中所述第一数据包生成基于所述第一数据包的重传指令。
  19. 根据权利要求17所述的数据包重传装置,其特征在于,所述装置还包括:
    第一删除模块,用于使在所述发送端的RLC实体接收到所述发送端的MAC实体发送的所述目标序号和确认应答时,所述发送端的RLC实体删除所述缓存区中的所述目标序号和所述第一数据包的映射关系。
  20. 根据权利要求17所述的数据包重传装置,其特征在于,所述装置还包括:
    第二删除模块,用于使在所述发送端的RLC实体判断所述RLC层传输次数大于所述RLC层传输阈值时,所述发送端的RLC实体删除所述缓存区中的所述目标序号和所述第一数据包的映射关系。
  21. 根据权利要求16所述的数据包重传装置,其特征在于,所述装置还包括:
    第三生成模块,用于使所述发送端的RLC实体根据所述目标序号和重传标识生成基于所述第一数据包的重传指令,所述重传标识用于指示所述发送端的MAC实体重传所述目标序号对应的所述第一数据包。
  22. 根据权利要求21所述的数据包重传装置,其特征在于,所述装置还包括:
    第三发送模块,用于使在所述发送端的RLC实体接收到所述发送端的MAC实体发送的所述目标序号和确认应答时,所述发送端的RLC实体向所述发送端的MAC实体发送基于所述第一数据包的放弃指令,所述放弃指令包括所述目标序号和放弃标识,所述放弃标识用于指示所述发送端的MAC实体删除所述目标序号和所述第一数据包的映射关系。
  23. 根据权利要求21所述的数据包重传装置,其特征在于,所述装置还包括:
    第四发送模块,用于使在所述发送端的RLC实体判断所述RLC层传输次数大于所述RLC层传输阈值时,所述发送端的RLC实体向所述发送端的MAC实体发送基于所述第一数据包的放弃指令,所述放弃指令包括所述目标序号和放弃标识,所述放弃标识用于指示所述发送端的MAC实体删除所述目标序号和所述第一数据包的映射关系。
  24. 一种数据包重传装置,其特征在于,所述装置包括:
    接收模块,用于使发送端的MAC实体接收所述发送端的RLC实体发送的目标序号和第一数据包,所述发送端的RLC实体为无应答模式,所述目标序号为所述第一数据包的序号;
    生成模块,用于使所述发送端的MAC实体根据所述第一数据包生成第二数据包;
    第一发送模块,用于使所述发送端的MAC实体向所述接收端的MAC实体发送所述第二数据包;
    第二发送模块,用于使在所述发送端的MAC实体接收到所述接收端的MAC实体发送的基于所述第二数据包的否定应答的次数大于MAC层传输阈值时,所述发送端的MAC实体将所述目标序号和所述否定应答发送至所述发送端的RLC实体;
    启动模块,用于使在所述发送端的MAC实体接收所述发送端的RLC实体发送的基于所述第一数据包的重传指令时,所述发送端的MAC实体启动基于所述第二数据包的传输过程。
  25. 根据权利要求24所述的数据包重传装置,其特征在于,所述装置还包括:
    存储模块,用于使所述发送端的MAC实体将所述目标序号和所述第一数据包的映射关系存储至缓存区。
  26. 根据权利要求25所述的数据包重传装置,其特征在于:
    所述启动模块,具体用于使所述发送端的MAC实体获取所述重传指令中的所述目标序号和重传标识,所述重传标识用于指示所述发送端的MAC实体重传所述目标序号对应的所述第一数据包;所述发送端的MAC实体获取所述缓存区中的所述目标序号对应的所述第一数据包;所述发送端的MAC实体根据所述第一数据包生成所述第二数据包;所述发送端的MAC实体向所述接收端的MAC实体发送所述第二数据包。
  27. 根据权利要求25所述的数据包重传装置,其特征在于,所述装置还包括:
    第一删除模块,用于使在所述发送端的MAC实体接收所述发送端的RLC实体发送的基于所述第一数据包的放弃指令时,所述发送端的MAC实体删除所述缓存区中的所述目标序号和所述第一数据包的映射关系;所述放弃指令包括所述目标序号和放弃标识,所述放弃标识用于指示所述发送端的MAC实体删除所述缓存区中的所述目标序号和所述第一数据包的映射关系。
  28. 根据权利要求25所述的数据包重传装置,其特征在于,所述装置还包括:
    第二删除模块,用于使在所述发送端的MAC实体接收到所述接收端的MAC实体发送的基于所述第二数据包的确认应答时,所述发送端的MAC实体将所述目标序号和确认应答发送至所述发送端的RLC实体,并删除所述缓存区中的所述目标序号和所述第一数据包的映射关系。
  29. 根据权利要求24所述的数据包重传装置,其特征在于:
    所述启动模块,具体用于使所述发送端的MAC实体获取所述重传指令中的所述第一数据包;所述发送端的MAC实体根据所述第一数据包生成所述第二数据包;所述发送端的MAC实体向所述接收端的MAC实体发送所述第二数据包。
  30. 根据权利要求29所述的数据包重传装置,其特征在于,所述装置还包括:
    第三发送模块,用于使在所述发送端的MAC实体接收到所述接收端的MAC实体发送的基于所述第二数据包的确认应答时,所述发送端的MAC实体将所述目标序号和确认应答发送至所述发送端的RLC实体。
PCT/CN2018/092009 2018-06-20 2018-06-20 一种数据包重传方法及装置 WO2019241931A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2018/092009 WO2019241931A1 (zh) 2018-06-20 2018-06-20 一种数据包重传方法及装置
EP18923551.8A EP3796581A4 (en) 2018-06-20 2018-06-20 METHOD AND DEVICE FOR TRANSFERRING DATA PACKAGES
CN201880094476.2A CN112272928B (zh) 2018-06-20 2018-06-20 一种数据包重传方法及装置
US17/127,536 US11424864B2 (en) 2018-06-20 2020-12-18 Data packet retransmission method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/092009 WO2019241931A1 (zh) 2018-06-20 2018-06-20 一种数据包重传方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/127,536 Continuation US11424864B2 (en) 2018-06-20 2020-12-18 Data packet retransmission method and apparatus

Publications (1)

Publication Number Publication Date
WO2019241931A1 true WO2019241931A1 (zh) 2019-12-26

Family

ID=68982588

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/092009 WO2019241931A1 (zh) 2018-06-20 2018-06-20 一种数据包重传方法及装置

Country Status (4)

Country Link
US (1) US11424864B2 (zh)
EP (1) EP3796581A4 (zh)
CN (1) CN112272928B (zh)
WO (1) WO2019241931A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301608A (zh) * 2020-02-24 2021-08-24 大唐移动通信设备有限公司 一种传输集群语音业务的方法及网络侧设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611537A (zh) * 2011-01-25 2012-07-25 华为技术有限公司 一种数据包的重传方法及装置
US20160286402A1 (en) * 2015-03-23 2016-09-29 Realtek Semiconductor Corp. Control circuit of wireless user equipment
CN106549736A (zh) * 2015-09-17 2017-03-29 中国移动通信集团公司 一种跨载波rlc层数据重传方法及装置

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020001296A1 (en) * 2000-04-10 2002-01-03 Yu-Ro Lee Data transmission method for hybrid ARQ type II/III downlink of wide-band radio communication system
US20020021698A1 (en) * 2000-04-10 2002-02-21 Yu-Ro Lee Data transmission method for hybrid ARQ type II/III uplink for a wide-band radio communication system
US7310336B2 (en) * 2001-05-18 2007-12-18 Esa Malkamaki Hybrid automatic repeat request (HARQ) scheme with in-sequence delivery of packets
CN1225875C (zh) * 2001-09-29 2005-11-02 华为技术有限公司 在高速媒体接入控制层实现数据重传的方法
EP1507352B1 (en) * 2003-08-14 2007-01-31 Matsushita Electric Industrial Co., Ltd. Time monitoring of packet retransmissions during soft handover
ATE429744T1 (de) * 2003-12-19 2009-05-15 Panasonic Corp Harq protokoll mit synchronen wiederholungen
CN100353700C (zh) * 2004-07-09 2007-12-05 华为技术有限公司 一种基于高速下行数据包接入技术的数据重传方法
KR100912784B1 (ko) * 2006-01-05 2009-08-18 엘지전자 주식회사 데이터 송신 방법 및 데이터 재전송 방법
US8275565B2 (en) * 2006-06-20 2012-09-25 Ntt Docomo, Inc. Radio communication apparatus and radio communication method used in mobile communication system
US8169905B2 (en) * 2007-04-06 2012-05-01 Ntt Docomo, Inc. Packet communication method and receiving-side apparatus
JP4625044B2 (ja) * 2007-04-06 2011-02-02 株式会社エヌ・ティ・ティ・ドコモ ウィンドウ制御及び再送制御方法、及び、送信側装置
KR101394784B1 (ko) * 2007-10-16 2014-05-15 엘지전자 주식회사 고속데이터 전송을 위한 arq 과정의 수행방법
JP2009164699A (ja) * 2007-12-28 2009-07-23 Fujitsu Ltd 無線通信のデータ再送処理方法およびその方法を用いる無線通信装置
CN101615990A (zh) * 2008-06-24 2009-12-30 华为技术有限公司 一种数据重传的方法、系统和装置
TW201008168A (en) * 2008-08-11 2010-02-16 Interdigital Patent Holdings Method and apparatus for using a relay to provide physical and hybrid automatic repeat request functionalities
WO2010032315A1 (ja) * 2008-09-19 2010-03-25 富士通株式会社 通信装置、通信方法、および通信プログラム
KR101583724B1 (ko) * 2008-11-07 2016-01-08 삼성전자주식회사 통신 시스템 및 그의 패킷 송수신 방법
US8254410B2 (en) * 2009-04-30 2012-08-28 Telefonaktiebolaget L M Ericsson (Publ) Systems and methods for transmitting radio link control (RLC) data blocks
CN101990240B (zh) * 2009-08-03 2013-05-08 中兴通讯股份有限公司 一种无线链路控制层的数据发送方法及数据发送系统
CN102347827A (zh) * 2010-07-28 2012-02-08 中兴通讯股份有限公司 一种实现rlc层重传的方法及系统
CN103095428B (zh) * 2011-11-02 2016-04-20 上海贝尔股份有限公司 一种用于传输rlc pdu的方法和装置
CN102843227B (zh) * 2012-08-17 2015-08-12 大唐移动通信设备有限公司 一种基于媒体访问控制层重传方法和装置
CN104836648B (zh) * 2014-02-12 2018-03-23 普天信息技术研究院有限公司 一种rlc am模式的快速重传和反馈的方法
KR20170020441A (ko) * 2014-06-17 2017-02-22 후아웨이 테크놀러지 컴퍼니 리미티드 무선 자원 스케줄링 방법 및 장치
CN105871519A (zh) * 2015-01-23 2016-08-17 中兴通讯股份有限公司 数据包的重传方法及装置
US10470210B2 (en) * 2015-05-11 2019-11-05 Lg Electronics Inc. Method for performing RLC retransmission based on contention-based PUSCH in a wireless communication system and a device therefor
WO2017117800A1 (zh) * 2016-01-08 2017-07-13 富士通株式会社 数据发送和接收装置、方法以及通信系统
WO2017132925A1 (zh) * 2016-02-04 2017-08-10 华为技术有限公司 物联网的传输优化方法、装置和设备
CN107612664A (zh) * 2017-10-25 2018-01-19 京信通信系统(中国)有限公司 一种无线链路控制层rlc数据重传方法、装置及存储介质

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611537A (zh) * 2011-01-25 2012-07-25 华为技术有限公司 一种数据包的重传方法及装置
US20160286402A1 (en) * 2015-03-23 2016-09-29 Realtek Semiconductor Corp. Control circuit of wireless user equipment
CN106549736A (zh) * 2015-09-17 2017-03-29 中国移动通信集团公司 一种跨载波rlc层数据重传方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3796581A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301608A (zh) * 2020-02-24 2021-08-24 大唐移动通信设备有限公司 一种传输集群语音业务的方法及网络侧设备

Also Published As

Publication number Publication date
EP3796581A4 (en) 2021-06-16
CN112272928B (zh) 2022-08-09
US20210105093A1 (en) 2021-04-08
CN112272928A (zh) 2021-01-26
EP3796581A1 (en) 2021-03-24
US11424864B2 (en) 2022-08-23

Similar Documents

Publication Publication Date Title
JP6189982B2 (ja) 無線リソース制御シグナリングを使用した無線リンク制御のリセット
JP4668207B2 (ja) 移動通信システムにおけるパケット再送方法及びそのプログラムが記録されたコンピュータで読取り可能な記録媒体
JP5361828B2 (ja) 移動通信システムにおけるパケット再送方法及びそのプログラムが記録されたコンピュータで読取り可能な記録媒体
US8175014B2 (en) Method and apparatus for using a relay to provide physical and hybrid automatic repeat request functionalities
US7978678B2 (en) Communicating control information in mobile communication system
US8331290B2 (en) Method and apparatus for delivery notification of non-access stratum retransmission
US8400999B2 (en) Method of handling packet data in a wireless communications system and related apparatus
US20090103445A1 (en) Method and apparatus for enhancing various pdcp and layer 2 operations
EP1838028A2 (en) Method and apparatus for handling retransmissions in a wireless communications system
WO2011047621A1 (zh) 基于重传机制的对头压缩数据包进行传输的方法和装置
WO2008072911A1 (en) Apparatus and method for transmitting/receiving data in a mobile communication system
WO2015066836A1 (zh) 视频业务数据传输方法、数据接收装置和数据发送装置
WO2021000783A1 (zh) 指示数据传输情况的方法和装置
WO2020147453A1 (zh) 数据传输方法及相关装置
WO2011079777A1 (zh) 数据传输的方法和网络侧设备
WO2012083762A1 (zh) 数据传输方法、设备及系统
CN104137507B (zh) 反馈丢包的消息处理方法及装置
WO2008141484A1 (fr) Procédé et système de commande d'un nouveau transfert pour un seul paquet de données ou le dernier paquet de données
WO2019241931A1 (zh) 一种数据包重传方法及装置
JP2007325270A (ja) 無線通信システムのデータ伝送効率を向上させる方法及び装置
WO2020010511A1 (zh) 数据传输方法及基站
WO2016078328A1 (zh) 一种自动重传的方法和装置
KR20100051159A (ko) 통신 시스템 및 그의 패킷 송수신 방법
WO2017117800A1 (zh) 数据发送和接收装置、方法以及通信系统
WO2011144094A2 (zh) 数据重传方法及装置

Legal Events

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

Ref document number: 18923551

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018923551

Country of ref document: EP

Effective date: 20201215