WO2019127533A1 - Feedback determination method, sending end, receiving end and system - Google Patents

Feedback determination method, sending end, receiving end and system Download PDF

Info

Publication number
WO2019127533A1
WO2019127533A1 PCT/CN2017/120268 CN2017120268W WO2019127533A1 WO 2019127533 A1 WO2019127533 A1 WO 2019127533A1 CN 2017120268 W CN2017120268 W CN 2017120268W WO 2019127533 A1 WO2019127533 A1 WO 2019127533A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
information
protocol layer
feedback information
feedback
Prior art date
Application number
PCT/CN2017/120268
Other languages
French (fr)
Chinese (zh)
Inventor
尹小俊
吴旭科
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2017/120268 priority Critical patent/WO2019127533A1/en
Priority to CN201780027290.0A priority patent/CN109155697A/en
Publication of WO2019127533A1 publication Critical patent/WO2019127533A1/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/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • H04L1/1664Details of the supervisory signal the supervisory signal being transmitted together with payload signals; piggybacking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1812Hybrid protocols; Hybrid automatic repeat request [HARQ]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method for determining feedback, a transmitting end, a receiving end, and a system.
  • different protocol layers may use different retransmission protocols to ensure reliable transmission of data.
  • the protocol layer includes a Medium Access Control (MAC) layer and a Radio Link Control (RLC) layer, and the MAC layer adopts a Hybrid Automatic Repeat request (Hybrid Automatic Repeat request).
  • MAC Medium Access Control
  • RLC Radio Link Control
  • the HARQ protocol, the RLC layer uses the automatic repeat request (ARQ) protocol as an example.
  • ARQ automatic repeat request
  • the specific processing procedure is as follows: Based on HARQ The protocol sends a MAC data packet to the receiving end, receives feedback information of the MAC data packet from the receiving end, and further performs corresponding processing according to the feedback information of the MAC data packet, for example, when the received feedback information is a negative response (Negative Acknowledgement (NACK), the MAC data packet may be retransmitted; the RLC data packet is sent to the receiving end according to the ARQ protocol, and the feedback information of the RLC data packet from the receiving end is received, and further, according to the feedback information of the RLC data packet. Corresponding processing, for example, when the received feedback information is NACK, the RLC data packet can be retransmitted.
  • NACK Negative Acknowledgement
  • the embodiments of the present invention provide a method for determining feedback, a sending end, a receiving end, and a system, which are used to solve the problem that the feedback information occupies more link resources in the prior art.
  • an embodiment of the present invention provides a method for determining feedback, which is applied to a sending end, where the method includes:
  • an embodiment of the present invention provides a method for determining feedback, which is applied to a receiving end, where the method includes:
  • the sending end determines the second data according to the feedback information.
  • Packet feedback information Packet feedback information.
  • an embodiment of the present invention provides a sending end, including: a processor and a communication interface;
  • the processor is configured to send, according to the retransmission protocol, the first data packet of the first protocol layer to the receiving end by using the communications interface, where the first data packet includes a second data packet of the second protocol layer;
  • the communication interface is further configured to receive feedback information of the first data packet returned by the receiving end, where the feedback information includes an ACK or a NACK;
  • the processor is further configured to determine feedback information of the second data packet according to the feedback information of the first data packet.
  • an embodiment of the present invention provides a receiving end, including: a communications interface and a processor;
  • the communication interface is configured to receive a first data packet of a first protocol layer that is sent by the sending end according to the retransmission protocol, and a second data packet of the second protocol layer that is included in the first data packet;
  • the processor is configured to determine, according to the first data packet, feedback information of the first data packet, where the feedback information includes an ACK or a NACK;
  • the communication interface is further configured to return feedback information of the first data packet to the sending end, so that the sending end determines feedback information of the second data packet according to the feedback information.
  • an embodiment of the present invention provides a communication system, including: a transmitting end and a receiving end;
  • the sending end is configured to send, according to a retransmission protocol, a first data packet of a first protocol layer to the receiving end, where the first data packet includes a second data packet of a second protocol layer;
  • the sending end is further configured to receive feedback information of the first data packet returned by the receiving end, and determine feedback information of the second data packet according to the feedback information of the first data packet;
  • an embodiment of the present invention provides a storage medium on which computer instructions are stored, and when the computer instructions are executed by a processor, the method described in the first aspect is implemented.
  • an embodiment of the present invention provides a storage medium on which computer instructions are stored, and when the computer instructions are executed by a processor, the method described in the second aspect is implemented.
  • the first data packet of the first protocol layer is sent to the receiving end by using the retransmission protocol, where the first data packet includes Receiving, by the second data packet of the second protocol layer, feedback information of the first data packet returned by the receiving end, and determining feedback information of the second data packet according to the feedback information of the first data packet, The determining, according to the feedback information of the first data packet, determining the feedback information of the second data packet included in the first data packet, and avoiding the receiving end to the transmitting end, compared with the feedback information that the receiving end returns the second data packet to the sending end. The return of the link resources when the feedback information of the second data packet is returned, thereby reducing the link resources occupied by the feedback information.
  • FIG. 1A is a structural diagram of a communication system applied to determine a method for feedback according to an embodiment of the present invention
  • FIG. 1B is a schematic diagram of a relationship between a first data packet and a second data packet according to an embodiment of the present disclosure
  • Embodiment 1 is a flowchart of Embodiment 1 of a method for determining feedback according to an embodiment of the present invention
  • FIG. 3 is a flowchart of Embodiment 2 of a method for determining feedback according to an embodiment of the present disclosure
  • FIG. 3B is a schematic diagram of a relationship between a HARQ feedback and a subframe according to an embodiment of the present invention
  • Embodiment 4 is a flowchart of Embodiment 3 of a method for determining feedback according to an embodiment of the present invention
  • FIG. 5 is a flowchart of Embodiment 4 of a method for determining feedback according to an embodiment of the present disclosure
  • FIG. 6 is a flowchart of Embodiment 5 of a method for determining feedback according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of a sending end according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a receiving end according to an embodiment of the present invention.
  • FIG. 1A is a structural diagram of a communication system applied to a method for determining feedback according to an embodiment of the present invention.
  • the communication system includes: a transmitting end 10 and a receiving end 20, and a communication connection between the transmitting end 10 and the receiving end 20, and the first protocol layer can be transmitted between the transmitting end 10 and the receiving end 20 based on a retransmission protocol.
  • the first packet may specifically be any device that sends the first data packet based on the retransmission protocol, and the receiving end 20 may specifically receive the sending end of the first data packet sent by the sending end 10 based on the retransmission protocol. 10 peer device.
  • the first protocol layer is a communication protocol layer between the transmitting end 10 and the receiving end 20, and the communication protocol layer may further include a second protocol layer, where the first data packet may include the second protocol layer.
  • the second data packet may be a MAC layer
  • the second protocol layer may be an RLC layer.
  • the first protocol layer is a MAC layer
  • the second protocol layer is an RLC layer.
  • any data packet that satisfies a protocol layer based on a retransmission protocol is included, and the data packet of the protocol layer includes another
  • the two protocol layers of the packet condition of one protocol layer may respectively correspond to the first protocol layer and the second protocol layer in the present invention.
  • the MAC layer may adopt the HARQ protocol or the ARQ protocol. Of course, other protocols that can be used for data transmission may also be used.
  • the relationship between the first data packet and the second data packet may be, for example, as shown in FIG. 1B.
  • the first data packet 1 may include a complete second data packet 1, a complete second data packet 2, and a partial second data packet 3.
  • the first data packet 2 may include a partial second packet.
  • a partial second packet 3 and a complete second packet 4 may be included in the first packet 3.
  • FIG. 1B is only an example of the relationship between the second data packet and the first data packet.
  • the present invention does not limit the specific format of the first data packet including the second data packet.
  • a first data packet may also be used only. Include a complete second data packet, or the first data packet may include a complete or partial third data packet, and the third data packet includes a complete or partial second data packet.
  • first data packet when a first data packet includes a complete second data packet, the second data packet may be considered to be encapsulated in one of the first data packets.
  • first data packet includes a part of the second data packet, and the second data packet of the part included in the plurality of first data packets forms a complete second data packet, the second data packet may be considered to be split and encapsulated in multiple The first data packet.
  • the data packet of the first protocol layer is referred to as the first data packet
  • the second data packet included in the data packet of the first protocol layer is conveniently described.
  • the data packet of the protocol layer is referred to as the second data packet.
  • the transmitting end 10 and the receiving end 20 may be opposite, and are not fixed.
  • the first device when the first device sends the first data packet to the second device according to the retransmission protocol, the first device is a sending end, and the second device is a receiving end.
  • the second device sends the first data packet to the first device according to a retransmission protocol, the second device is a sending end, and the first device is a receiving end.
  • the first device and the second device may be any device that can transmit the data packet of the first protocol layer based on the retransmission protocol, which is not limited by the disclosure.
  • the first device and the second device may be a drone and a drone controller, respectively, or the first device and the second device may be a first drone and The second drone, or the first device and the second device may be a base station and a terminal, respectively.
  • the retransmission protocol may include a HARQ protocol or an ARQ protocol, etc., which is not limited by the disclosure.
  • FIG. 2 is a flowchart of Embodiment 1 of a method for determining feedback according to an embodiment of the present invention.
  • the method of this embodiment can be performed by the above transmitting end.
  • the method in this embodiment may include:
  • Step 201 The transmitting end sends the first data packet of the first protocol layer to the receiving end according to the retransmission protocol, where the first data packet includes the second data packet of the second protocol layer.
  • the first data packet of the first protocol layer is transmitted between the sending end and the receiving end according to a retransmission protocol.
  • the first protocol layer when the first protocol layer is a MAC layer, the first data packet may be a MAC protocol data unit (PDU), and when the second protocol layer is an RLC layer.
  • the second data packet may specifically be an RLC PDU.
  • the first protocol layer may also be an RLC layer, and the second protocol layer may be a protocol layer above the RLC layer.
  • Step 202 The sending end receives feedback information of the first data packet returned by the receiving end.
  • the feedback information of the first data packet includes an Acknowledgement (ACK) or a NACK.
  • ACK may be used to indicate that the receiving end successfully receives the first data packet
  • NACK may be used to indicate that the receiving end does not successfully receive the first data packet.
  • Step 203 The sending end determines, according to the feedback information of the first data packet, feedback information of the second data packet.
  • the feedback information of the second data packet includes an ACK or a NACK.
  • the second data packet is included in the first data packet, and the feedback information may indicate whether the first data packet is successfully received by the receiving end, and therefore, may be determined according to the feedback information of the first data packet.
  • the feedback information of the second data packet is output.
  • step 203 may be specifically: determining, if the feedback information of the first data packet is an ACK, the second data packet The feedback information is ACK; if the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  • the step 203 may include: if the feedback information of the multiple first data packets is ACK, Determining that the feedback information of the second data packet is an ACK; if the feedback information of any one of the plurality of the first data packets is NACK and the number of retransmissions is greater than or equal to a preset number of times, determining The feedback information of the second data packet is NACK.
  • the first data packet may include a second data packet, for example, a first data packet includes only one complete second data packet.
  • the feature of the first data packet transmission for example, a first data packet is transmitted at most five times, and is flexibly designed. The present invention does not limit this.
  • the first data packet of the first protocol layer is sent to the receiving end by using the retransmission protocol, where the first data packet includes the second data packet of the second protocol layer, and the receiving is received.
  • the feedback information of the first data packet and determining the feedback information of the second data packet according to the feedback information of the first data packet, and determining that the first data is determined according to the feedback information of the first data packet.
  • the feedback information of the second data packet included in the packet is compared with the feedback information of the second data packet returned by the receiving end to the transmitting end, and the link information is avoided when the receiving end returns the feedback information of the second data packet to the transmitting end. Occupied, thereby reducing the link resources occupied by the feedback information.
  • FIG. 3 is a flowchart of Embodiment 2 of a method for determining feedback according to an embodiment of the present invention.
  • the method of this embodiment is based on the method embodiment shown in FIG. 2, and the retransmission protocol is used as an example of the HARQ protocol, and an optional implementation manner is mainly described.
  • the method in this embodiment may include:
  • Step 301 The first protocol layer of the sending end sends the first data packet of the first protocol layer to the receiving end according to the HARQ protocol, where the first data packet includes the second data packet of the second protocol layer.
  • the first protocol layer may be configured to fill the first data packet to a transmission unit of a third protocol layer of the sending end, according to a HARQ protocol, by using the transmission unit
  • the first data packet is sent to the receiving end.
  • the third protocol layer may be a protocol layer under the first protocol layer.
  • the third protocol layer may be a physical layer, where the transmission The unit may be a transport block (TB).
  • the first protocol layer is an RLC layer
  • the third protocol layer may be a MAC layer
  • the transport unit may be a MAC data packet.
  • Step 302 The first protocol layer sends first information to the second protocol layer of the sending end, where the first information includes an identifier of the first data packet and an identifier of the second data packet.
  • the identifier of the second data packet is used to identify the second data packet, and the identifiers of the different second data packets are different.
  • the identifier of the first data packet may be used to identify the first data packet, and different identifiers of different first data packets are different.
  • the first data packet is a MAC data packet, and the identifier of the first data packet may include a transmission scheduling time of the first data packet, where the transmission scheduling time may indicate a time resource for transmitting the first data packet.
  • the time resource may be represented by a subframe, and correspondingly, the identifier of the first data packet may be The system frame number of the radio frame carrying the first data packet and the subframe number of the subframe are represented.
  • the second data packet is an RLC data packet, and the identifier of the second data packet may include a serial number (SN), and the identifier of the second data packet may further include a priority.
  • the second data packet may be segmentally encapsulated in a plurality of first data packets, because different segments of the same second data packet respectively correspond to different first data packets, in order to make the second protocol layer
  • the segmentation identifier of the second data packet may be further included in the first information, where the segment identifier is used to indicate whether the second packet is The last segment of the packet.
  • the first information may also include the segment identifier, where the indication is that the last segment of the second data packet is Or the segment identifier may not be included in the first information.
  • step 302 is only an example after step 301.
  • the second protocol layer may be sent to the second protocol layer. Describe the first information, and does not necessarily need to wait for the first data packet to be sent to the receiving end and then send the first information to the second protocol layer, and the time of sending may affect each other or be independent of each other.
  • Step 303 The first protocol layer acquires feedback information of the first data packet.
  • the first protocol layer may receive feedback information of the first data packet sent by the first protocol layer of the receiving end, or the first protocol layer may receive data from the third protocol layer.
  • the parsing obtains the feedback information of the first data packet.
  • Step 304 The first protocol layer sends second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the Feedback information of the first data packet.
  • the first protocol layer after receiving a feedback information, it may determine which of the first data packets the feedback information is, so that the first protocol layer receives the first data.
  • the identifier of the first data packet may be determined according to the feedback information of the first data packet, and the identifier of the first data packet and the feedback information of the first data packet are sent to The second protocol layer.
  • the system frame number of the radio frame carrying the first data packet and the subframe number of the subframe represent the identifier of the first data packet as an example, and between the feedback information and the subframe
  • the relationship can be as shown in Figure 3B.
  • one block can represent one subframe, and 10 consecutive subframes numbered from 0-9 can form a radio frame.
  • the arrow in the block can indicate an uplink subframe upward, and the arrow downward can indicate a downlink subframe.
  • the receiving end can transmit the first data packet a sent by the transmitting end in the downlink subframe 0 of the first radio frame and the downlink of the first radio frame. Feedback information of each of the first data packets b transmitted in the subframe 1.
  • the receiving end may transmit the first data packet c sent by the transmitting end in the downlink subframe 2 of the first radio frame, and in the downlink subframe 4 of the first radio frame.
  • the receiving end may transmit the first data packet b retransmitted by the transmitting end in the downlink subframe 7 of the first radio frame, and the downlink subframe 8 in the first radio frame.
  • the first protocol layer may send the multiple first data packets to the second layer. Corresponding to the second information.
  • Step 305 The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
  • the first information includes an identifier of the first data packet and an identifier of the second data packet
  • the second information includes an identifier of the first data packet and the identifier
  • the feedback information of the first data packet, the second protocol layer may learn, according to the first information and the second information, feedback information of the first data packet including the second data packet, further The feedback information of the second data packet may be determined according to the feedback information of the first data packet.
  • the second protocol layer determines the feedback information of the second data packet according to the first information and the second information sent by the first protocol layer, and the present invention does not apply to the sending end according to the first
  • the feedback information of the data packet is determined by determining a specific implementation manner of the feedback information of the second data packet. For example, when the feedback information of the second data packet is determined according to the feedback information of the first data packet, the division of the protocol layer may not be performed, or may be performed by other protocol layers.
  • the first information is sent to the second protocol layer of the sending end by using the first protocol layer of the sending end, where the first information includes an identifier of the first data packet and an identifier of the second data packet.
  • Transmitting, by the first protocol layer, the second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the first data The feedback information of the packet, the second protocol layer determines the feedback information of the second data packet according to the first information and the second information, and implements determining, according to the feedback information of the first data packet, the first data packet.
  • the feedback information of the included second data packet is compared with the feedback information of the second data packet returned by the receiving end to the transmitting end, which avoids the occupation of the link resource when the receiving end returns the feedback information of the second data packet to the transmitting end. Therefore, the link resources occupied by the feedback information are reduced, and the throughput is improved.
  • FIG. 4 is a flowchart of Embodiment 3 of a method for determining feedback according to an embodiment of the present invention.
  • the method of this embodiment mainly describes an optional implementation manner of step 304 and step 305 on the basis of the method embodiment shown in FIG. 3A.
  • the method in this embodiment may include:
  • Step 401 The first protocol layer sends second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the Feedback information of the first data packet.
  • Step 4011 If the feedback information of the first data packet is an ACK, send the second information to the second protocol layer.
  • the feedback information of the first data packet included in the second information is an ACK.
  • Step 4012 If the feedback information of the first data packet is a NACK, and the number of retransmissions of the first data packet is greater than or equal to a preset number of times, sending the second information to the second protocol layer.
  • the feedback information of the first data packet included in the second information is a NACK.
  • the second protocol layer is not Send the second message.
  • the retransmission of the first data packet is invisible to the second protocol layer, and the first protocol layer determines the feedback information of the final first data packet on the basis of considering the retransmission of the first data packet. And transmitting the second information to the second protocol layer based on the feedback information of the final first data packet.
  • Step 402 The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
  • step 402 when the second data packet is encapsulated in one of the first data packets, step 402 may specifically include the following steps 4021 and 4022.
  • step 402 When the second data packet is split and encapsulated in the plurality of the first data packets, step 402 may specifically include the following steps 4023 and 4024.
  • Step 4021 If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines the second data according to the first information and the second information.
  • the feedback information of the packet is ACK.
  • the feedback information of the first data packet included in the second information is ACK
  • the feedback information of the final first data packet is an ACK, which may indicate that the receiving end finally successfully receives the first data packet. Since the second data packet is encapsulated in one of the first data packets, it can be determined that the second data packet is also successfully received by the receiving end. Therefore, when the feedback information of the first data packet included in the second data packet is an ACK, the second protocol layer may determine the second data according to the first information and the second information. The feedback information of the packet is ACK.
  • Step 4022 If the feedback information of the first data packet included in the second information is a NACK, the second protocol layer determines the second data according to the first information and the second information.
  • the feedback information of the packet is NACK.
  • the feedback information of the first data packet included in the second information is NACK
  • the feedback information of the final first data packet is NACK, which may indicate that the receiving end finally fails to receive the first data packet.
  • the second protocol layer may determine the second data according to the first information and the second information.
  • the feedback information of the packet is NACK.
  • Step 4023 If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the first The second information determines that the feedback information of the second data packet is an ACK.
  • the second data when the second data packet is split and encapsulated in a plurality of the first data packets, the second data may be considered only when all segments of the second data packet are successfully received by the receiving end. The packet is successfully received by the receiving end. Therefore, when the second data packet is encapsulated in one of the first data packets, the second information corresponding to the first data packet includes the first data packet.
  • the second protocol layer may determine, according to the first information and the second information, that the feedback information of the second data packet is an ACK.
  • Step 4024 If any one of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is a NACK, the second protocol layer is configured according to the first information. And the second information, determining that the feedback information of the second data packet is a NACK.
  • the second protocol layer may determine, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
  • the retransmission of the first data packet is invisible to the second protocol layer
  • the first protocol layer determines the feedback information of the final first data packet on the basis of considering the retransmission of the first data packet, and Transmitting the second information to the second protocol layer based on the feedback information of the final first data packet.
  • the second protocol layer determines the feedback information of the second data packet according to the first information and the second information, and implements And determining, according to the feedback information of the first data packet, feedback information of the second data packet.
  • FIG. 5 is a flowchart of Embodiment 4 of a method for determining feedback according to an embodiment of the present invention.
  • the method of this embodiment mainly describes another optional implementation of step 304 and step 305 on the basis of the method embodiment shown in FIG. 3A.
  • the method in this embodiment may include:
  • Step 501 The first protocol layer sends second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the Feedback information of the first data packet.
  • the following may specifically include the following step 5011.
  • Step 5011 After receiving the feedback information of the first data packet, the first protocol layer carries the identifier of the first data packet and the feedback information of the first data packet in the second information to send to The second protocol layer.
  • the feedback information of the first data packet included in the second information may be ACK or ACK.
  • the retransmission of the first data packet is visible to the second protocol, and after receiving the feedback information of the first data packet, the first protocol layer sends the second information to the second protocol layer, where the second information
  • the information includes feedback information of the first data packet and an identifier of the second data packet.
  • Step 502 The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
  • step 502 when the second data packet is encapsulated in one of the first data packets, step 502 may specifically include the following steps 5021 and 5022.
  • step 502 When the second data packet is split and encapsulated in the plurality of the first data packets, step 502 may specifically include the following steps 5023 and 5024.
  • Step 5021 If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines the second data according to the first information and the second information.
  • the feedback information of the packet is ACK.
  • the feedback information of the first data packet included in the second information is ACK
  • the feedback information of the first data packet is an ACK, which may indicate that the receiving end has successfully received the first data packet. Since the second data packet is encapsulated in one of the first data packets, it can be determined that the second data packet has also been successfully received by the receiving end. Therefore, when the feedback information of the first data packet included in the second information is an ACK, the second protocol layer may determine the second data according to the first information and the second information. The feedback information of the packet is ACK.
  • Step 5022 If the feedback information of the first data packet included in the second information is a NACK, and the number of retransmissions is greater than or equal to a preset number of times, the second protocol layer is configured according to the first information and the Determining the second information, determining that the feedback information of the second data packet is a NACK.
  • the second protocol layer may be based on the first information and the Determining the second information, determining that the feedback information of the second data packet is a NACK.
  • Step 5023 If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the first The second information determines that the feedback information of the second data packet is an ACK.
  • the second data when the second data packet is split and encapsulated in a plurality of the first data packets, the second data may be considered only when all segments of the second data packet are successfully received by the receiving end. The packet is successfully received by the receiving end. Therefore, compared with the step 5021 of the second data packet being encapsulated in one of the first data packets, when the second information corresponding to the plurality of first data packets respectively includes the first data packet
  • the second protocol layer may determine, according to the first information and the second information, that the feedback information of the second data packet is an ACK.
  • Step 5024 If any one of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to a preset number of times, The second protocol layer determines, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
  • any one of the second information corresponding to the plurality of first data packets respectively includes the
  • the second protocol layer may determine feedback of the second data packet according to the first information and the second information.
  • the information is NACK.
  • the second protocol is visible by the retransmission of the first data packet, and after receiving the feedback information of the first data packet, the first protocol layer sends the second information to the second protocol layer, where the second information is included. And including the feedback information of the first data packet and the identifier of the second data packet. Further, the second protocol layer determines the feedback information of the second data packet according to the first information and the second information, and implements the The feedback information of the first data packet is determined, and the feedback information of the second data packet is determined.
  • the method may further include: if it is determined that the feedback information of the second data packet is NACK, then the second data is The package is retransmitted.
  • the second data packet may be retransmitted by the second protocol layer.
  • FIG. 6 is a flowchart of Embodiment 5 of a method for determining feedback according to an embodiment of the present invention.
  • the method of this embodiment can be performed by the above receiving end.
  • the method in this embodiment may include:
  • Step 601 The receiving end receives the first data packet of the first protocol layer sent by the sending end according to the retransmission protocol, where the first data packet includes the second data packet of the second protocol layer.
  • the first data packet of the first protocol layer is transmitted between the receiving end and the transmitting end according to a retransmission protocol.
  • the first protocol layer includes a MAC layer
  • the second protocol layer includes an RLC layer.
  • the first data packet may be a MAC PDU
  • the second data packet may be specifically For the RLC PDU.
  • Step 602 The receiving end returns, according to the first data packet, feedback information of the first data packet to the sending end, where the feedback information includes an ACK or a NACK, so that the sending end determines according to the feedback information. Feedback information of the second data packet.
  • the feedback information ACK of the first data packet may be used to indicate that the receiving end successfully receives the first data packet, and the feedback information NACK of the first data packet may be used to indicate that the receiving end does not successfully receive the The first packet.
  • the sending end may further determine the feedback information of the second data packet according to the feedback information.
  • the first data packet of the first protocol layer sent by the transmitting end based on the retransmission is received by the receiving end, where the first data packet includes the second data packet of the second protocol layer, and the receiving end is configured according to the Returning the feedback information of the first data packet to the sending end, so that the sending end may determine the feedback information of the second data packet according to the feedback information, and the receiving end is sent to the transmitting end Compared with the feedback information of the second data packet, the use of the link resources by the receiving end to return the feedback information of the second data packet to the transmitting end is avoided, thereby reducing the link resources occupied by the feedback information.
  • FIG. 7 is a schematic structural diagram of a transmitting end according to an embodiment of the present invention.
  • the transmitting end 10 provided in this embodiment may include a processor 701 and a communication interface 702.
  • the processor 701 is configured to send, by using the re-transmission protocol, the first data packet of the first protocol layer to the receiving end by using the communication interface 702, where the first data packet includes the second data packet of the second protocol layer;
  • the communication interface 702 is further configured to receive feedback information of the first data packet returned by the receiving end, where the feedback information includes an ACK or a NACK;
  • the processor 701 is further configured to determine, according to the feedback information of the first data packet, feedback information of the second data packet.
  • the processor 701 determines, according to the feedback information of the first data packet, feedback information of the second data packet, specifically including :
  • the feedback information of the first data packet is an ACK, determining that the feedback information of the second data packet is an ACK;
  • the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  • the processor 701 determines feedback information of the second data packet according to the feedback information of the first data packet. Specifically, including:
  • the feedback information of the plurality of the first data packets is ACK, determining that the feedback information of the second data packet is an ACK;
  • the feedback information of the first data packet of the plurality of the first data packets is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  • the processor 701 sends the first data packet of the first protocol layer to the receiving end by using the communication interface 702, where the method includes: the first protocol layer is based on the retransmission protocol, and is configured by using the communication interface 702. Transmitting, by the first protocol layer, the first data packet to the receiving end;
  • the processor 701 is further configured to: send, by the first protocol layer, the first information to the second protocol layer; the first information includes an identifier of the first data packet and an identifier of the second data packet;
  • the second information Transmitting, by the first protocol layer, the second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the first data Packet feedback information;
  • the second protocol layer determines feedback information of the second data packet according to the first information and the second information.
  • the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
  • the feedback information of the first data packet is an ACK, sending the second information to the second protocol layer;
  • the feedback information of the first data packet is a NACK, and the number of retransmissions of the first data packet is greater than or equal to a preset number of times, sending the second information to the second protocol layer.
  • processor 701 is further configured to:
  • the second information is not sent to the second protocol layer.
  • the second protocol layer determines, according to the first information and the second information, the second data packet.
  • Feedback information including:
  • the second protocol layer determines feedback of the second data packet according to the first information and the second information.
  • the information is ACK;
  • the second protocol layer determines feedback of the second data packet according to the first information and the second information.
  • the information is NACK.
  • the sending, by the first protocol layer, the second information to the second protocol layer includes: the first protocol The layer sends the second information corresponding to the plurality of first data packets to the second protocol layer;
  • Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information including:
  • the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
  • the second protocol layer is configured according to the first information The second information determines that the feedback information of the second data packet is a NACK.
  • the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
  • the first protocol layer After receiving the feedback information of the first data packet, the first protocol layer carries the identifier of the first data packet and the feedback information of the first data packet in the second information, and sends the information to the first Two protocol layers.
  • the second protocol layer determines, according to the first information and the second information, the second data packet.
  • Feedback information including:
  • the second protocol layer determines feedback of the second data packet according to the first information and the second information.
  • the information is ACK;
  • the second protocol layer is configured according to the first information and the second Information, determining that the feedback information of the second data packet is a NACK.
  • the first protocol layer when the second data packet is split and encapsulated in the multiple first data packets, the first protocol layer sends the second information to the second protocol layer, including: Transmitting, by the first protocol layer, the second information corresponding to the plurality of first data packets to the second protocol layer;
  • Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information including:
  • the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
  • the second protocol determines, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
  • the first information further includes a segment identifier of the second data packet, where the segment identifier is used to indicate whether it is the last segment of the second data packet.
  • the identifier of the first data packet is represented by a system frame number of a radio frame carrying the first data packet and a subframe number of the subframe.
  • the processor 701 is further configured to: if it is determined that the feedback information of the second data packet is a NACK, retransmit the second data packet.
  • the first protocol layer includes a MAC layer
  • the second protocol layer includes an RLC layer
  • the retransmission protocol includes a HARQ protocol.
  • the transmitting end of the embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2, FIG. 3A, FIG. 4A or FIG. 5A, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of a receiving end according to an embodiment of the present invention.
  • the receiving end 20 provided in this embodiment may include a communication interface 801 and a processor 802.
  • the communication interface 801 is configured to receive a first data packet of a first protocol layer that is sent by the sending end according to the retransmission protocol, and a second data packet of the second protocol layer that is included in the first data packet.
  • the processor 802 is configured to determine, according to the first data packet, feedback information of the first data packet, where the feedback information includes an ACK or a NACK;
  • the communication interface 801 is further configured to return feedback information of the first data packet to the sending end, so that the sending end determines feedback information of the second data packet according to the feedback information.
  • the first protocol layer includes a MAC layer
  • the second protocol layer includes an RLC layer
  • the retransmission protocol includes a HARQ protocol.
  • the transmitting end of the embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 6.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • an embodiment of the present invention further provides a communication system, including: a transmitting end 10 and a receiving end 20;
  • the transmitting end 10 is configured to send, according to the retransmission protocol, the first data packet of the first protocol layer to the receiving end 20, where the first data packet includes the second data packet of the second protocol layer;
  • the receiving end 20 is configured to receive the first data packet sent by the sending end 10, and return, according to the first data packet, feedback information of the first data packet to the sending end 10, where the feedback information includes an ACK or a NACK. ;
  • the sending end 10 is further configured to receive feedback information of the first data packet returned by the receiving end 20, and determine feedback information of the second data packet according to the feedback information of the first data packet.
  • the sending end 10 determines, according to the feedback information of the first data packet, feedback information of the second data packet, specifically including :
  • the feedback information of the first data packet is an ACK, determining that the feedback information of the second data packet is an ACK;
  • the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  • the sending end 10 determines feedback information of the second data packet according to the feedback information of the first data packet. Specifically, including:
  • the feedback information of the plurality of the first data packets is ACK, determining that the feedback information of the second data packet is an ACK;
  • the feedback information of the first data packet of the plurality of the first data packets is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  • the sending end 10 sends, according to the retransmission protocol, the first data packet of the first protocol layer to the receiving end, which specifically includes:
  • the first protocol layer of the sending end 10 sends the first data packet of the first protocol layer to the receiving end according to the retransmission protocol;
  • the sending end 10 is further configured to: send, by the first protocol layer, the first information to the second protocol layer; the first information includes an identifier of the first data packet and an identifier of the second data packet;
  • the sending end 10 determines, according to the feedback information of the first data packet, the feedback information of the second data packet, which specifically includes:
  • the second information Transmitting, by the first protocol layer, the second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the first data Packet feedback information;
  • the second protocol layer determines feedback information of the second data packet according to the first information and the second information.
  • the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
  • the feedback information of the first data packet is an ACK, sending the second information to the second protocol layer;
  • the feedback information of the first data packet is a NACK, and the number of retransmissions of the first data packet is greater than or equal to a preset number of times, sending the second information to the second protocol layer.
  • the sender 10 is further configured to:
  • the second information is not sent to the second protocol layer.
  • the second protocol layer determines, according to the first information and the second information, the second data packet.
  • Feedback information including:
  • the second protocol layer determines feedback of the second data packet according to the first information and the second information.
  • the information is ACK;
  • the second protocol layer determines feedback of the second data packet according to the first information and the second information.
  • the information is NACK.
  • the sending, by the first protocol layer, the second information to the second protocol layer includes: the first protocol The layer sends the second information corresponding to the plurality of first data packets to the second protocol layer;
  • Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information including:
  • the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
  • the second protocol layer is configured according to the first information The second information determines that the feedback information of the second data packet is a NACK.
  • the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
  • the first protocol layer After receiving the feedback information of the first data packet, the first protocol layer carries the identifier of the first data packet and the feedback information of the first data packet in the second information, and sends the information to the first Two protocol layers.
  • the second protocol layer determines, according to the first information and the second information, the second data packet.
  • Feedback information including:
  • the second protocol layer determines feedback of the second data packet according to the first information and the second information.
  • the information is ACK;
  • the second protocol layer is configured according to the first information and the second Information, determining that the feedback information of the second data packet is a NACK.
  • the first protocol layer when the second data packet is split and encapsulated in the multiple first data packets, the first protocol layer sends the second information to the second protocol layer, including: Transmitting, by the first protocol layer, the second information corresponding to the plurality of first data packets to the second protocol layer;
  • Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information including:
  • the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
  • the second protocol determines, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
  • the first information further includes a segment identifier of the second data packet, where the segment identifier is used to indicate whether it is the last segment of the second data packet.
  • the identifier of the first data packet is represented by a system frame number of a radio frame carrying the first data packet and a subframe number of the subframe.
  • the sending end 10 is further configured to: if it is determined that the feedback information of the second data packet is a NACK, retransmit the second data packet.
  • the first protocol layer includes a MAC layer
  • the second protocol layer includes an RLC layer
  • the retransmission protocol includes a HARQ protocol.
  • the transmitting end in the communication system of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2, FIG. 3A, FIG. 4A or FIG. 5A.
  • the receiving end in the communication system of this embodiment may be used for executing.
  • the technical solution of the method embodiment shown in FIG. 6 has similar implementation principles and technical effects, and details are not described herein again.
  • the present invention also provides a storage medium that, when executed by the processor 701 of the transmitting end 10, enables the transmitting end to perform a method of determining feedback, the method comprising:
  • determining, according to the feedback information of the first data packet, the feedback information of the second data packet including:
  • the feedback information of the first data packet is an ACK, determining that the feedback information of the second data packet is an ACK;
  • the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  • determining, according to the feedback information of the first data packet, feedback information of the second data packet include:
  • the feedback information of the plurality of the first data packets is ACK, determining that the feedback information of the second data packet is an ACK;
  • the feedback information of the first data packet of the plurality of the first data packets is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  • the sending according to the retransmission protocol, the first data packet of the first protocol layer to the receiving end, including:
  • the first protocol layer of the sending end sends the first data packet of the first protocol layer to the receiving end according to the retransmission protocol
  • the method further includes: the first protocol layer transmitting first information to the second protocol layer; the first information includes an identifier of the first data packet and an identifier of the second data packet;
  • Determining the feedback information of the second data packet according to the feedback information of the first data packet including:
  • the second information Transmitting, by the first protocol layer, the second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the first data Packet feedback information;
  • the second protocol layer determines feedback information of the second data packet according to the first information and the second information.
  • the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
  • the feedback information of the first data packet is an ACK, sending the second information to the second protocol layer;
  • the feedback information of the first data packet is a NACK, and the number of retransmissions of the first data packet is greater than or equal to a preset number of times, sending the second information to the second protocol layer.
  • the method further includes:
  • the second information is not sent to the second protocol layer.
  • the second protocol layer determines, according to the first information and the second information, the second data packet.
  • Feedback information including:
  • the second protocol layer determines feedback of the second data packet according to the first information and the second information.
  • the information is ACK;
  • the second protocol layer determines feedback of the second data packet according to the first information and the second information.
  • the information is NACK.
  • the sending, by the first protocol layer, the second information to the second protocol layer includes: the first protocol The layer sends the second information corresponding to the plurality of first data packets to the second protocol layer;
  • Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information including:
  • the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
  • the second protocol layer is configured according to the first information The second information determines that the feedback information of the second data packet is a NACK.
  • the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
  • the first protocol layer After receiving the feedback information of the first data packet, the first protocol layer carries the identifier of the first data packet and the feedback information of the first data packet in the second information, and sends the information to the first Two protocol layers.
  • the second protocol layer determines, according to the first information and the second information, the second data packet.
  • Feedback information including:
  • the second protocol layer determines feedback of the second data packet according to the first information and the second information.
  • the information is ACK;
  • the second protocol layer is configured according to the first information and the second Information, determining that the feedback information of the second data packet is a NACK.
  • the first protocol layer when the second data packet is split and encapsulated in the multiple first data packets, the first protocol layer sends the second information to the second protocol layer, including: Transmitting, by the first protocol layer, the second information corresponding to the plurality of first data packets to the second protocol layer;
  • Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information including:
  • the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
  • the second protocol determines, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
  • the first information further includes a segment identifier of the second data packet, where the segment identifier is used to indicate whether it is the last segment of the second data packet.
  • the identifier of the first data packet is represented by a system frame number of a radio frame carrying the first data packet and a subframe number of the subframe.
  • the method further includes: if it is determined that the feedback information of the second data packet is a NACK, retransmitting the second data packet.
  • the first protocol layer includes a MAC layer
  • the second protocol layer includes an RLC layer
  • the retransmission protocol includes a HARQ protocol.
  • the present invention also provides a storage medium that, when executed by the processor 802 of the receiving end 20, enables the receiving end to perform a method of determining feedback, the method comprising:
  • the sending end determines the second data according to the feedback information.
  • Packet feedback information Packet feedback information.
  • the first protocol layer includes a MAC layer
  • the second protocol layer includes an RLC layer
  • the retransmission protocol includes a HARQ protocol.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the above-described method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

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

Abstract

A feedback determination method, a sending end, a receiving end and a system. The method comprises: sending, based on a repeat protocol, a first data packet of a first protocol layer to a receiving end, wherein the first data packet comprises a second data packet of a second protocol layer; receiving feedback information, returned by the receiving end, of the first data packet, wherein the feedback information comprises an ACK or an NACK; and determining, according to the feedback information of the first data packet, feedback information of the second data packet. According to the present invention, link resources occupied by feedback information are reduced.

Description

确定反馈的方法、发送端、接收端及***Method for determining feedback, sender, receiver and system 技术领域Technical field
本发明涉及无线通信技术领域,尤其涉及一种确定反馈的方法、发送端、接收端及***。The present invention relates to the field of wireless communication technologies, and in particular, to a method for determining feedback, a transmitting end, a receiving end, and a system.
背景技术Background technique
在无线通信***中,不同协议层可以采用不同的重传协议来确保数据的可靠性传输。In a wireless communication system, different protocol layers may use different retransmission protocols to ensure reliable transmission of data.
现有技术中,以协议层包括媒体接入控制(Medium Access Control,MAC)层和无线链路控制(Radio Link Control,RLC)层,且MAC层采用混合自动重传请求(Hybrid Automatic Repeat request,HARQ)协议,RLC层采用自动重传请求(Automatic Repeat request,ARQ)协议为例,当发送端的MAC层基于HARQ协议,RLC层基于ARQ协议向接收端传输数据时,具体处理过程如下:基于HARQ协议向接收端发送MAC数据包,接收来自接收端的该MAC数据包的反馈信息,进一步的,根据该MAC数据包的反馈信息来进行相应的处理,例如当收到的反馈信息为否定应答(Negative Acknowledgement,NACK)时,可以重传该MAC数据包;基于ARQ协议向接收端发送RLC数据包,接收来自接收端的该RLC数据包的反馈信息,进一步的,根据该RLC数据包的反馈信息来进行相应的处理,例如当收到的反馈信息为NACK时,可以重传该RLC数据包。In the prior art, the protocol layer includes a Medium Access Control (MAC) layer and a Radio Link Control (RLC) layer, and the MAC layer adopts a Hybrid Automatic Repeat request (Hybrid Automatic Repeat request). The HARQ protocol, the RLC layer uses the automatic repeat request (ARQ) protocol as an example. When the MAC layer of the sender is based on the HARQ protocol, and the RLC layer transmits data to the receiver based on the ARQ protocol, the specific processing procedure is as follows: Based on HARQ The protocol sends a MAC data packet to the receiving end, receives feedback information of the MAC data packet from the receiving end, and further performs corresponding processing according to the feedback information of the MAC data packet, for example, when the received feedback information is a negative response (Negative Acknowledgement (NACK), the MAC data packet may be retransmitted; the RLC data packet is sent to the receiving end according to the ARQ protocol, and the feedback information of the RLC data packet from the receiving end is received, and further, according to the feedback information of the RLC data packet. Corresponding processing, for example, when the received feedback information is NACK, the RLC data packet can be retransmitted.
但是,现有技术中,存在反馈信息占用链路资源较多的问题。However, in the prior art, there is a problem that feedback information occupies more link resources.
发明内容Summary of the invention
本发明实施例提供一种确定反馈的方法、发送端、接收端及***,用于解决现有技术中反馈信息占用链路资源较多的问题。The embodiments of the present invention provide a method for determining feedback, a sending end, a receiving end, and a system, which are used to solve the problem that the feedback information occupies more link resources in the prior art.
第一方面,本发明实施例提供一种确定反馈的方法,应用于发送端,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for determining feedback, which is applied to a sending end, where the method includes:
基于重传协议,将第一协议层的第一数据包发送至接收端,所述第一数 据包中包括第二协议层的第二数据包;Transmitting, by the retransmission protocol, the first data packet of the first protocol layer to the receiving end, where the first data packet includes the second data packet of the second protocol layer;
接收所述接收端返回的所述第一数据包的反馈信息,所述反馈信息包括ACK或NACK;Receiving feedback information of the first data packet returned by the receiving end, where the feedback information includes an ACK or a NACK;
根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息。And determining, according to the feedback information of the first data packet, feedback information of the second data packet.
第二方面,本发明实施例提供一种确定反馈的方法,应用于接收端,所述方法包括:In a second aspect, an embodiment of the present invention provides a method for determining feedback, which is applied to a receiving end, where the method includes:
接收发送端基于重传协议发送的第一协议层的第一数据包,所述第一数据包中包括第二协议层的第二数据包;Receiving, by the sending end, the first data packet of the first protocol layer sent by the retransmission protocol, where the first data packet includes the second data packet of the second protocol layer;
根据所述第一数据包,向所述发送端返回所述第一数据包的反馈信息,所述反馈信息包括ACK或NACK,以使所述发送端根据所述反馈信息确定所述第二数据包的反馈信息。Returning, according to the first data packet, feedback information of the first data packet to the sending end, where the feedback information includes an ACK or a NACK, so that the sending end determines the second data according to the feedback information. Packet feedback information.
第三方面,本发明实施例提供一种发送端,包括:处理器和通信接口;In a third aspect, an embodiment of the present invention provides a sending end, including: a processor and a communication interface;
所述处理器,用于基于重传协议,通过所述通信接口将第一协议层的第一数据包发送至接收端,所述第一数据包中包括第二协议层的第二数据包;The processor is configured to send, according to the retransmission protocol, the first data packet of the first protocol layer to the receiving end by using the communications interface, where the first data packet includes a second data packet of the second protocol layer;
所述通信接口,还用于接收所述接收端返回的所述第一数据包的反馈信息,所述反馈信息包括ACK或NACK;The communication interface is further configured to receive feedback information of the first data packet returned by the receiving end, where the feedback information includes an ACK or a NACK;
所述处理器,还用于根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息。The processor is further configured to determine feedback information of the second data packet according to the feedback information of the first data packet.
第四方面,本发明实施例提供一种接收端,包括:通信接口和处理器;In a fourth aspect, an embodiment of the present invention provides a receiving end, including: a communications interface and a processor;
所述通信接口,用于接收发送端基于重传协议发送的第一协议层的第一数据包,所述第一数据包中包括的第二协议层的第二数据包;The communication interface is configured to receive a first data packet of a first protocol layer that is sent by the sending end according to the retransmission protocol, and a second data packet of the second protocol layer that is included in the first data packet;
所述处理器,用于根据所述第一数据包,确定所述第一数据包的反馈信息,所述反馈信息包括ACK或NACK;The processor is configured to determine, according to the first data packet, feedback information of the first data packet, where the feedback information includes an ACK or a NACK;
所述通信接口,还用于向所述发送端返回所述第一数据包的反馈信息,以使所述发送端根据所述反馈信息确定所述第二数据包的反馈信息。The communication interface is further configured to return feedback information of the first data packet to the sending end, so that the sending end determines feedback information of the second data packet according to the feedback information.
第五方面,本发明实施例提供一种通信***,包括:发送端和接收端;In a fifth aspect, an embodiment of the present invention provides a communication system, including: a transmitting end and a receiving end;
所述发送端,用于基于重传协议,将第一协议层的第一数据包发送至所述接收端,所述第一数据包中包括第二协议层的第二数据包;The sending end is configured to send, according to a retransmission protocol, a first data packet of a first protocol layer to the receiving end, where the first data packet includes a second data packet of a second protocol layer;
所述接收端,接收所述发送端发送的所述第一数据包,并根据所述第一数据包,向所述发送端返回所述第一数据包的反馈信息,所述反馈信息包括 ACK或NACK。Receiving, by the receiving end, the first data packet sent by the sending end, and returning, according to the first data packet, feedback information of the first data packet to the sending end, where the feedback information includes an ACK Or NACK.
所述发送端,还用于接收所述接收端返回的所述第一数据包的反馈信息;根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息;The sending end is further configured to receive feedback information of the first data packet returned by the receiving end, and determine feedback information of the second data packet according to the feedback information of the first data packet;
第六方面,本发明实施例提供一种存储介质,其上存储有计算机指令,所述计算机指令被处理器执行时实现上述第一方面所述的方法。In a sixth aspect, an embodiment of the present invention provides a storage medium on which computer instructions are stored, and when the computer instructions are executed by a processor, the method described in the first aspect is implemented.
第七方面,本发明实施例提供一种存储介质,其上存储有计算机指令,所述计算机指令被处理器执行时实现上述第二方面所述的方法。In a seventh aspect, an embodiment of the present invention provides a storage medium on which computer instructions are stored, and when the computer instructions are executed by a processor, the method described in the second aspect is implemented.
本发明实施例提供的确定反馈的方法、发送端、接收端及***,通过发送端基于重传协议,将第一协议层的第一数据包发送至接收端,所述第一数据包中包括第二协议层的第二数据包,接收所述接收端返回的所述第一数据包的反馈信息,并根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,实现了根据第一数据包的反馈信息确定第一数据包所包括的第二数据包的反馈信息,与接收端向发送端返回第二数据包的反馈信息相比,避免了接收端向发送端返回第二数据包的反馈信息时对链路资源的占用,从而减小了反馈信息所占用的链路资源。The method for determining feedback, the sending end, the receiving end, and the system provided by the embodiment of the present invention, the first data packet of the first protocol layer is sent to the receiving end by using the retransmission protocol, where the first data packet includes Receiving, by the second data packet of the second protocol layer, feedback information of the first data packet returned by the receiving end, and determining feedback information of the second data packet according to the feedback information of the first data packet, The determining, according to the feedback information of the first data packet, determining the feedback information of the second data packet included in the first data packet, and avoiding the receiving end to the transmitting end, compared with the feedback information that the receiving end returns the second data packet to the sending end. The return of the link resources when the feedback information of the second data packet is returned, thereby reducing the link resources occupied by the feedback information.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1A为本发明实施例提供的确定反馈的方法应用的通信***架构图;1A is a structural diagram of a communication system applied to determine a method for feedback according to an embodiment of the present invention;
图1B为本发明实施例提供的第一数据包与第二数据包的关系示意图;FIG. 1B is a schematic diagram of a relationship between a first data packet and a second data packet according to an embodiment of the present disclosure;
图2为本发明实施例提供的确定反馈的方法实施例一的流程图;2 is a flowchart of Embodiment 1 of a method for determining feedback according to an embodiment of the present invention;
图3A为本发明实施例提供的确定反馈的方法实施例二的流程图;FIG. 3 is a flowchart of Embodiment 2 of a method for determining feedback according to an embodiment of the present disclosure;
图3B为本发明实施例提供的HARQ反馈与子帧之间的关系示意图;FIG. 3B is a schematic diagram of a relationship between a HARQ feedback and a subframe according to an embodiment of the present invention;
图4为本发明实施例提供的确定反馈的方法实施例三的流程图;4 is a flowchart of Embodiment 3 of a method for determining feedback according to an embodiment of the present invention;
图5为本发明实施例提供的确定反馈的方法实施例四的流程图;FIG. 5 is a flowchart of Embodiment 4 of a method for determining feedback according to an embodiment of the present disclosure;
图6为本发明实施例提供的确定反馈的方法实施例五的流程图;FIG. 6 is a flowchart of Embodiment 5 of a method for determining feedback according to an embodiment of the present disclosure;
图7为本发明实施例提供的发送端的结构示意图;FIG. 7 is a schematic structural diagram of a sending end according to an embodiment of the present disclosure;
图8为本发明实施例提供的接收端的结构示意图。FIG. 8 is a schematic structural diagram of a receiving end according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例,在不冲突的情况下,本实施例中的技术特征可以任意组合。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a part of the embodiments of the present invention, and not all of the embodiments. In the case of no conflict, the technical features in this embodiment can be arbitrarily combined. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图1A为本发明实施例提供的确定反馈的方法应用的通信***架构图。如图1所示,该通信***包括:发送端10和接收端20,发送端10与接收端20之间通信连接,发送端10与接收端20之间可以基于重传协议传输第一协议层的第一数据包。其中,发送端10具体可以为基于重传协议发送所述第一数据包的任意设备,接收端20具体可以为基于所述重传协议接收发送端10发送的所述第一数据包的发送端10的对端设备。所述第一协议层为发送端10与接收端20之间的通信协议层,所述通信协议层还可以包括第二协议层,所述第一数据包中可以包括所述第二协议层的第二数据包。可选的,所述第一协议层可以为MAC层,所述第二协议层可以为RLC层。需要说明的是,这里所述第一协议层为MAC层,第二协议层为RLC层仅为举例,任何满足基于重传协议传输一个协议层的数据包,该协议层的数据包中包括另一个协议层的数据包条件的两个协议层,均可以分别对应本发明中的第一协议层和第二协议层。需要说明的是,MAC层可以采用HARQ协议,也可以采用ARQ协议,当然,也可以是其他可以用于数据传输的协议。FIG. 1A is a structural diagram of a communication system applied to a method for determining feedback according to an embodiment of the present invention. As shown in FIG. 1, the communication system includes: a transmitting end 10 and a receiving end 20, and a communication connection between the transmitting end 10 and the receiving end 20, and the first protocol layer can be transmitted between the transmitting end 10 and the receiving end 20 based on a retransmission protocol. The first packet. The sending end 10 may specifically be any device that sends the first data packet based on the retransmission protocol, and the receiving end 20 may specifically receive the sending end of the first data packet sent by the sending end 10 based on the retransmission protocol. 10 peer device. The first protocol layer is a communication protocol layer between the transmitting end 10 and the receiving end 20, and the communication protocol layer may further include a second protocol layer, where the first data packet may include the second protocol layer. The second data packet. Optionally, the first protocol layer may be a MAC layer, and the second protocol layer may be an RLC layer. It should be noted that the first protocol layer is a MAC layer, and the second protocol layer is an RLC layer. For example, any data packet that satisfies a protocol layer based on a retransmission protocol is included, and the data packet of the protocol layer includes another The two protocol layers of the packet condition of one protocol layer may respectively correspond to the first protocol layer and the second protocol layer in the present invention. It should be noted that the MAC layer may adopt the HARQ protocol or the ARQ protocol. Of course, other protocols that can be used for data transmission may also be used.
其中,所述第一数据包与所述第二数据包的关系例如可以如图1B所示。如图1B所示,第一数据包1中可以包括完整的第二数据包1,完整的第二数据包2以及部分的第二数据包3,第一数据包2中可以包括部分的第二数据包3,第一数据包3中可以包括部分的第二数据包3和完整的第二数据包4。需要说明的是,图1B仅为第二数据包与第一数据包关系的举例,本发明并不对第一数据包包括第二数据包的具体形式作限制,例如一个第一数据包也可以仅包括一个完整的第二数据包,或者,第一数据包可以包括完整或部分的 第三数据包,第三数据包包括完整或部分的第二数据包。The relationship between the first data packet and the second data packet may be, for example, as shown in FIG. 1B. As shown in FIG. 1B, the first data packet 1 may include a complete second data packet 1, a complete second data packet 2, and a partial second data packet 3. The first data packet 2 may include a partial second packet. In packet 3, a partial second packet 3 and a complete second packet 4 may be included in the first packet 3. It should be noted that FIG. 1B is only an example of the relationship between the second data packet and the first data packet. The present invention does not limit the specific format of the first data packet including the second data packet. For example, a first data packet may also be used only. Include a complete second data packet, or the first data packet may include a complete or partial third data packet, and the third data packet includes a complete or partial second data packet.
需要说明的是,当一个第一数据包包括完整的第二数据包时,可以认为第二数据包被封装在一个所述第一数据包中。当一个第一数据包包括部分的第二数据包,多个第一数据包包括的部分的第二数据包组成完整的第二数据包时,可以认为第二数据包被拆分封装在多个所述第一数据包。It should be noted that when a first data packet includes a complete second data packet, the second data packet may be considered to be encapsulated in one of the first data packets. When a first data packet includes a part of the second data packet, and the second data packet of the part included in the plurality of first data packets forms a complete second data packet, the second data packet may be considered to be split and encapsulated in multiple The first data packet.
需要说明的是,本发明实施例中,为方便描述所述第一协议层的数据包,称为所述第一数据包,为方便描述所述第一协议层的数据包中包括的第二协议层的数据包,称为所述第二数据包。It should be noted that, in the embodiment of the present invention, the data packet of the first protocol layer is referred to as the first data packet, and the second data packet included in the data packet of the first protocol layer is conveniently described. The data packet of the protocol layer is referred to as the second data packet.
需要说明的是,发送端10与接收端20可以是相对的,而并不是固定不变的。具体的,当第一设备基于重传协议向第二设备发送所述第一数据包时,则所述第一设备为发送端,所述第二设备为接收端。当所述第二设备基于重传协议向所述第一设备发送所述第一数据包时,则所述第二设备为发送端,所述第一设备为接收端。第一设备和第二设备具体可以为能够基于重传协议传输第一协议层的数据包的任意设备,本发明对此并不作限定。可选的,所述第一设备和所述第二设备分别可以为无人机和无人机控制器,或者,所述第一设备和所述第二设备分别可以为第一无人机和第二无人机,或者,所述第一设备和所述第二设备分别可以为基站和终端,等等。It should be noted that the transmitting end 10 and the receiving end 20 may be opposite, and are not fixed. Specifically, when the first device sends the first data packet to the second device according to the retransmission protocol, the first device is a sending end, and the second device is a receiving end. When the second device sends the first data packet to the first device according to a retransmission protocol, the second device is a sending end, and the first device is a receiving end. The first device and the second device may be any device that can transmit the data packet of the first protocol layer based on the retransmission protocol, which is not limited by the disclosure. Optionally, the first device and the second device may be a drone and a drone controller, respectively, or the first device and the second device may be a first drone and The second drone, or the first device and the second device may be a base station and a terminal, respectively.
可选的,所述重传协议可以包括HARQ协议或ARQ协议等,本发明对此并不作限定。Optionally, the retransmission protocol may include a HARQ protocol or an ARQ protocol, etc., which is not limited by the disclosure.
图2为本发明实施例提供的确定反馈的方法实施例一的流程图。本实施例的方法可以由上述发送端执行。如图2所示,本实施例的方法可以包括:FIG. 2 is a flowchart of Embodiment 1 of a method for determining feedback according to an embodiment of the present invention. The method of this embodiment can be performed by the above transmitting end. As shown in FIG. 2, the method in this embodiment may include:
步骤201、发送端基于重传协议,将第一协议层的第一数据包发送至接收端,所述第一数据包中包括第二协议层的第二数据包。Step 201: The transmitting end sends the first data packet of the first protocol layer to the receiving end according to the retransmission protocol, where the first data packet includes the second data packet of the second protocol layer.
本步骤中,所述发送端与所述接收端之间基于重传协议传输第一协议层的第一数据包。在一个实施例中,当所述第一协议层为MAC层时,所述第一数据包具体可以为MAC协议数据单元(Protocol Data Unit,PDU),当所述第二协议层为RLC层时,所述第二数据包具体可以为RLC PDU。在另一些实施例中,所述第一协议层也可以为RLC层,所述第二协议层可以为RLC层之上的协议层。In this step, the first data packet of the first protocol layer is transmitted between the sending end and the receiving end according to a retransmission protocol. In an embodiment, when the first protocol layer is a MAC layer, the first data packet may be a MAC protocol data unit (PDU), and when the second protocol layer is an RLC layer. The second data packet may specifically be an RLC PDU. In other embodiments, the first protocol layer may also be an RLC layer, and the second protocol layer may be a protocol layer above the RLC layer.
步骤202、所述发送端接收所述接收端返回的所述第一数据包的反馈信 息。Step 202: The sending end receives feedback information of the first data packet returned by the receiving end.
本步骤中,所述第一数据包的反馈信息包括肯定应答(Acknowledgement,ACK)或者NACK。其中,所述ACK可以用于表示接收端成功接收所述第一数据包,所述NACK可以用于表示接收端未成功接收所述第一数据包。In this step, the feedback information of the first data packet includes an Acknowledgement (ACK) or a NACK. The ACK may be used to indicate that the receiving end successfully receives the first data packet, and the NACK may be used to indicate that the receiving end does not successfully receive the first data packet.
步骤203、所述发送端根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息。Step 203: The sending end determines, according to the feedback information of the first data packet, feedback information of the second data packet.
本步骤中,所述第二数据包的反馈信息包括ACK或NACK。由于所述第二数据包包括在所述第一数据包中,且所述反馈信息可以表示接收端是否成功接收所述第一数据包,因此,根据所述第一数据包的反馈信息可以确定出所述第二数据包的反馈信息。In this step, the feedback information of the second data packet includes an ACK or a NACK. The second data packet is included in the first data packet, and the feedback information may indicate whether the first data packet is successfully received by the receiving end, and therefore, may be determined according to the feedback information of the first data packet. The feedback information of the second data packet is output.
可选的,当所述第二数据包被封装在一个所述第一数据包时,步骤203具体可以为:若所述第一数据包的反馈信息为ACK,则确定所述第二数据包的反馈信息为ACK;若所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。Optionally, when the second data packet is encapsulated in one of the first data packets, step 203 may be specifically: determining, if the feedback information of the first data packet is an ACK, the second data packet The feedback information is ACK; if the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
可选的,当所述第二数据包被拆分封装在多个所述第一数据包时,步骤203具体可以包括:若所述多个所述第一数据包的反馈信息都为ACK,则确定所述第二数据包的反馈信息为ACK;若所述多个所述第一数据包中任意一个第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。Optionally, when the second data packet is split and encapsulated in the multiple first data packets, the step 203 may include: if the feedback information of the multiple first data packets is ACK, Determining that the feedback information of the second data packet is an ACK; if the feedback information of any one of the plurality of the first data packets is NACK and the number of retransmissions is greater than or equal to a preset number of times, determining The feedback information of the second data packet is NACK.
需要说明的是,上述步骤203的具体实现方式仅为举例,在具体实现时可以根据第一数据包包括第二数据包的特点,例如一个第一数据包仅包括一个完整的第二数据包,以及第一数据包传输的特点,例如一个第一数据包最多传输5次,进行灵活设计,本发明对此并不作限定。It should be noted that the specific implementation of the foregoing step 203 is only an example. In a specific implementation, the first data packet may include a second data packet, for example, a first data packet includes only one complete second data packet. And the feature of the first data packet transmission, for example, a first data packet is transmitted at most five times, and is flexibly designed. The present invention does not limit this.
本实施例中,通过发送端基于重传协议,将第一协议层的第一数据包发送至接收端,所述第一数据包中包括第二协议层的第二数据包,接收所述接收端返回的所述第一数据包的反馈信息,并根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,实现了根据第一数据包的反馈信息确定第一数据包所包括的第二数据包的反馈信息,与接收端向发送端返回第二数据包的反馈信息相比,避免了接收端向发送端返回第二数据包的反馈信息时对链路资源的占用,从而减小了反馈信息所占用的链路资源。In this embodiment, the first data packet of the first protocol layer is sent to the receiving end by using the retransmission protocol, where the first data packet includes the second data packet of the second protocol layer, and the receiving is received. Returning the feedback information of the first data packet, and determining the feedback information of the second data packet according to the feedback information of the first data packet, and determining that the first data is determined according to the feedback information of the first data packet The feedback information of the second data packet included in the packet is compared with the feedback information of the second data packet returned by the receiving end to the transmitting end, and the link information is avoided when the receiving end returns the feedback information of the second data packet to the transmitting end. Occupied, thereby reducing the link resources occupied by the feedback information.
图3A为本发明实施例提供的确定反馈的方法实施例二的流程图。本实施例的方法在图2所示方法实施例的基础上,以重传协议为HARQ协议为例,主要描述了一种可选的实现方式。如图3A所示,本实施例的方法可以包括:FIG. 3 is a flowchart of Embodiment 2 of a method for determining feedback according to an embodiment of the present invention. The method of this embodiment is based on the method embodiment shown in FIG. 2, and the retransmission protocol is used as an example of the HARQ protocol, and an optional implementation manner is mainly described. As shown in FIG. 3A, the method in this embodiment may include:
步骤301、发送端的第一协议层基于HARQ协议,将所述第一协议层的第一数据包发送至接收端,所述第一数据包中包括第二协议层的第二数据包。Step 301: The first protocol layer of the sending end sends the first data packet of the first protocol layer to the receiving end according to the HARQ protocol, where the first data packet includes the second data packet of the second protocol layer.
本步骤中,在某些实施例中,可以所述第一协议层基于HARQ协议,将所述第一数据包填充至所述发送端的第三协议层的传输单元,通过所述传输单元将所述第一数据包发送至接收端。其中,所述第三协议层可以为所述第一协议层之下的协议层,例如,当所述第一协议层为MAC层时,所述第三协议层可以为物理层,所述传输单元可以为传输块(Transport Block,TB),当所述第一协议层为RLC层时,所述第三协议层可以为MAC层,所述传输单元可以MAC数据包。In this step, in some embodiments, the first protocol layer may be configured to fill the first data packet to a transmission unit of a third protocol layer of the sending end, according to a HARQ protocol, by using the transmission unit The first data packet is sent to the receiving end. The third protocol layer may be a protocol layer under the first protocol layer. For example, when the first protocol layer is a MAC layer, the third protocol layer may be a physical layer, where the transmission The unit may be a transport block (TB). When the first protocol layer is an RLC layer, the third protocol layer may be a MAC layer, and the transport unit may be a MAC data packet.
步骤302、所述第一协议层向所述发送端的所述第二协议层发送第一信息;所述第一信息包括所述第一数据包的标识以及所述第二数据包的标识。Step 302: The first protocol layer sends first information to the second protocol layer of the sending end, where the first information includes an identifier of the first data packet and an identifier of the second data packet.
本步骤中,所述第二数据包的标识用于标识所述第二数据包,不同的第二数据包各自的标识不同。所述第一数据包的标识可以用于标识所述第一数据包,不同的第一数据包各自的标识不同。以所述第一数据包为MAC数据包,所述第一数据包的标识可以包括所述第一数据包的传输调度时间,所述传输调度时间可以表示传输所述第一数据包的时间资源,当通信***为长期演进(Long Term Evolution,LTE)***或新空口(New Radio,NR)***时,所述时间资源可以通过子帧来表示,相应的,所述第一数据包的标识可以基于承载所述第一数据包的无线帧的***帧号以及子帧的子帧号表示。以所述第二数据包为RLC数据包为例,所述第二数据包的标识可以包括序列号(Serial Number,SN),所述第二数据包的标识还可以包括优先级(priority)。In this step, the identifier of the second data packet is used to identify the second data packet, and the identifiers of the different second data packets are different. The identifier of the first data packet may be used to identify the first data packet, and different identifiers of different first data packets are different. The first data packet is a MAC data packet, and the identifier of the first data packet may include a transmission scheduling time of the first data packet, where the transmission scheduling time may indicate a time resource for transmitting the first data packet. When the communication system is a Long Term Evolution (LTE) system or a New Radio (NR) system, the time resource may be represented by a subframe, and correspondingly, the identifier of the first data packet may be The system frame number of the radio frame carrying the first data packet and the subframe number of the subframe are represented. For example, the second data packet is an RLC data packet, and the identifier of the second data packet may include a serial number (SN), and the identifier of the second data packet may further include a priority.
如图1B所示,第二数据包可以被分段封装在多个第一数据包中,由于同一第二数据包的不同分段分别对应了不同的第一数据包,为了使得第二协议层能够获知第二数据包在第一数据包的分段情况,所述第一信息中还可以包括所述第二数据包的分段标识,所述分段标识用于指示是否为所述第二数据包最后一个分段。可选的,当所述第二数据包未被分段时,所述第一信息中也可以包括所述分段标识,用于指示所述为所述第二数据包的最后一个分段, 或者所述第一信息中也可以不包括所述分段标识。As shown in FIG. 1B, the second data packet may be segmentally encapsulated in a plurality of first data packets, because different segments of the same second data packet respectively correspond to different first data packets, in order to make the second protocol layer The segmentation identifier of the second data packet may be further included in the first information, where the segment identifier is used to indicate whether the second packet is The last segment of the packet. Optionally, when the second data packet is not segmented, the first information may also include the segment identifier, where the indication is that the last segment of the second data packet is Or the segment identifier may not be included in the first information.
需要说明的是,本实施例中,步骤302在步骤301之后仅为举例,在具体实现时,第一协议层确定出所述第一数据包的标识之后,即可向第二协议层发送所述第一信息,而并不一定需要等将第一数据包发送至接收端之后再向在第二协议层发送所述第一信息,其发送的时间既可以相互影响也可以相互独立It should be noted that, in this embodiment, step 302 is only an example after step 301. In a specific implementation, after the first protocol layer determines the identifier of the first data packet, the second protocol layer may be sent to the second protocol layer. Describe the first information, and does not necessarily need to wait for the first data packet to be sent to the receiving end and then send the first information to the second protocol layer, and the time of sending may affect each other or be independent of each other.
步骤303、所述第一协议层获取所述第一数据包的反馈信息。Step 303: The first protocol layer acquires feedback information of the first data packet.
本步骤中,具体可以为所述第一协议层接收所述接收端的第一协议层发送的所述第一数据包的反馈信息,或者所述第一协议层从来自上述第三协议层的数据中解析获取所述第一数据包的反馈信息。In this step, the first protocol layer may receive feedback information of the first data packet sent by the first protocol layer of the receiving end, or the first protocol layer may receive data from the third protocol layer. The parsing obtains the feedback information of the first data packet.
步骤304、所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,所述第二信息包括:所述第一数据包的标识以及所述第一数据包的反馈信息。Step 304: The first protocol layer sends second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the Feedback information of the first data packet.
本步骤中,对于第一协议层来说,当其接收到一个反馈信息后,可以确定该反馈信息是对哪一个第一数据包的反馈,因此,第一协议层接收到所述第一数据包的反馈信息后,可以根据所述第一数据包的反馈信息,确定所述第一数据包的标识,并将所述第一数据包的标识以及所述第一数据包的反馈信息发送给第二协议层。以第一协议层为MAC层,基于承载所述第一数据包的无线帧的***帧号以及子帧的子帧号表示所述第一数据包的标识为例,反馈信息与子帧之间的关系可以如图3B所示。其中,一个方块可以代表一个子帧,编号从0-9连续的10个子帧可以组成一个无线帧。方块中的箭头向上可以表示上行子帧,箭头向下可以表示下行子帧。可以看出,第一个无线帧的上行子帧3中,接收端可以传输发送端在第一个无线帧的下行子帧0中发送的第一数据包a以及在第一个无线帧的下行子帧1中发送的第一数据包b各自的反馈信息。第一个无线帧的上行子帧9中,接收端可以传输发送端在第一个无线帧的下行子帧2中发送的第一数据包c、在第一个无线帧的下行子帧4中发送的第一数据包d、在第一个无线帧的下行子帧5中发送的第一数据包e以及在第一个无线帧的下行子帧6中重传的第一数据包a各自的反馈信息。第二个无线帧的上行子帧3中,接收端可以传输发送端在第一个无线帧的下行子帧7中重传的第一数据包b、在第一个无线帧的下行子帧8中发 送的第一数据包f、在第二个无线帧的下行子帧0中发送的第一数据包g以及在第二个无线帧的上行子帧1中发送的第一数据包h各自的反馈信息。In this step, for the first protocol layer, after receiving a feedback information, it may determine which of the first data packets the feedback information is, so that the first protocol layer receives the first data. After the feedback information of the packet, the identifier of the first data packet may be determined according to the feedback information of the first data packet, and the identifier of the first data packet and the feedback information of the first data packet are sent to The second protocol layer. Taking the first protocol layer as the MAC layer, the system frame number of the radio frame carrying the first data packet and the subframe number of the subframe represent the identifier of the first data packet as an example, and between the feedback information and the subframe The relationship can be as shown in Figure 3B. Wherein, one block can represent one subframe, and 10 consecutive subframes numbered from 0-9 can form a radio frame. The arrow in the block can indicate an uplink subframe upward, and the arrow downward can indicate a downlink subframe. It can be seen that in the uplink subframe 3 of the first radio frame, the receiving end can transmit the first data packet a sent by the transmitting end in the downlink subframe 0 of the first radio frame and the downlink of the first radio frame. Feedback information of each of the first data packets b transmitted in the subframe 1. In the uplink subframe 9 of the first radio frame, the receiving end may transmit the first data packet c sent by the transmitting end in the downlink subframe 2 of the first radio frame, and in the downlink subframe 4 of the first radio frame. The first data packet d transmitted, the first data packet e transmitted in the downlink subframe 5 of the first radio frame, and the first data packet a retransmitted in the downlink subframe 6 of the first radio frame Feedback. In the uplink subframe 3 of the second radio frame, the receiving end may transmit the first data packet b retransmitted by the transmitting end in the downlink subframe 7 of the first radio frame, and the downlink subframe 8 in the first radio frame. The first data packet f transmitted in the first data packet g transmitted in the downlink subframe 0 of the second radio frame and the first data packet h transmitted in the uplink subframe 1 of the second radio frame Feedback.
需要说明的是,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层可以向所述第二层发送与所述多个第一数据包分别对应的所述第二信息。It should be noted that, when the second data packet is split and encapsulated in multiple first data packets, the first protocol layer may send the multiple first data packets to the second layer. Corresponding to the second information.
步骤305、所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息。Step 305: The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
本步骤中,由于所述第一信息中包括了所述第一数据包的标识以及所述第二数据包的标识,所述第二信息中包括了所述第一数据包的标识以及所述第一数据包的反馈信息,因此,所述第二协议层可以根据所述第一信息和所述第二信息,获知包括所述第二数据包的所述第一数据包的反馈信息,进一步的,可以根据所述第一数据包的反馈信息确定出所述第二数据包的反馈信息。In this step, the first information includes an identifier of the first data packet and an identifier of the second data packet, where the second information includes an identifier of the first data packet and the identifier The feedback information of the first data packet, the second protocol layer may learn, according to the first information and the second information, feedback information of the first data packet including the second data packet, further The feedback information of the second data packet may be determined according to the feedback information of the first data packet.
需要说明的是,本实施例中以第二协议层根据第一协议层发送的第一信息和第二信息确定第二数据包的反馈信息为例,本发明并不对发送端根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息的具体实现方式作限定。例如,在根据第一数据包的反馈信息确定第二数据包的反馈信息时,也可以不作协议层的划分,或者,也可以由其他协议层完成。It should be noted that, in this embodiment, the second protocol layer determines the feedback information of the second data packet according to the first information and the second information sent by the first protocol layer, and the present invention does not apply to the sending end according to the first The feedback information of the data packet is determined by determining a specific implementation manner of the feedback information of the second data packet. For example, when the feedback information of the second data packet is determined according to the feedback information of the first data packet, the division of the protocol layer may not be performed, or may be performed by other protocol layers.
本实施例中,通过发送端的第一协议层向所述发送端的第二协议层发送第一信息,所述第一信息包括所述第一数据包的标识以及所述第二数据包的标识,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,所述第二信息包括:所述第一数据包的标识以及所述第一数据包的反馈信息,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,实现了根据第一数据包的反馈信息确定第一数据包所包括的第二数据包的反馈信息,与接收端向发送端返回第二数据包的反馈信息相比,避免了接收端向发送端返回第二数据包的反馈信息时对链路资源的占用,从而减小了反馈信息所占用的链路资源,提高了吞吐量。In this embodiment, the first information is sent to the second protocol layer of the sending end by using the first protocol layer of the sending end, where the first information includes an identifier of the first data packet and an identifier of the second data packet. Transmitting, by the first protocol layer, the second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the first data The feedback information of the packet, the second protocol layer determines the feedback information of the second data packet according to the first information and the second information, and implements determining, according to the feedback information of the first data packet, the first data packet. The feedback information of the included second data packet is compared with the feedback information of the second data packet returned by the receiving end to the transmitting end, which avoids the occupation of the link resource when the receiving end returns the feedback information of the second data packet to the transmitting end. Therefore, the link resources occupied by the feedback information are reduced, and the throughput is improved.
图4为本发明实施例提供的确定反馈的方法实施例三的流程图。本实施例的方法在图3A所示方法实施例的基础上,主要描述了步骤304和步骤305一种可选的实现方式。如图4所示,本实施例的方法可以包括:FIG. 4 is a flowchart of Embodiment 3 of a method for determining feedback according to an embodiment of the present invention. The method of this embodiment mainly describes an optional implementation manner of step 304 and step 305 on the basis of the method embodiment shown in FIG. 3A. As shown in FIG. 4, the method in this embodiment may include:
步骤401、所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,所述第二信息包括:所述第一数据包的标识以及所述第一数据包的反馈信息。Step 401: The first protocol layer sends second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the Feedback information of the first data packet.
本步骤中,具体可以包括如下步骤4011-4012。In this step, specifically, the following steps 4011-4012 may be included.
步骤4011、若所述第一数据包的反馈信息为ACK,则向所述第二协议层发送第二信息。这里,所述第二信息中包括的所述第一数据包的反馈信息为ACK。Step 4011: If the feedback information of the first data packet is an ACK, send the second information to the second protocol layer. Here, the feedback information of the first data packet included in the second information is an ACK.
步骤4012、若所述第一数据包的反馈信息为NACK,且所述第一数据包的重传次数大于或等于预设次数,则向所述第二协议层发送第二信息。这里,所述第二信息中包括的所述第一数据包的反馈信息为NACK。Step 4012: If the feedback information of the first data packet is a NACK, and the number of retransmissions of the first data packet is greater than or equal to a preset number of times, sending the second information to the second protocol layer. Here, the feedback information of the first data packet included in the second information is a NACK.
通过步骤4011和步骤4012可以看出,若所述第一数据包的反馈信息为NACK,但所述第一数据包的重传次数小于所述预设次数,则不向所述第二协议层发送第二信息。It can be seen that, by using the step 4011 and the step 4012, if the feedback information of the first data packet is a NACK, but the number of retransmissions of the first data packet is less than the preset number of times, the second protocol layer is not Send the second message.
可以看出,本步骤中,第一数据包的重传对第二协议层不可见,第一协议层在考虑第一数据包的重传的基础上,确定最终的第一数据包的反馈信息,并基于最终的第一数据包的反馈信息向第二协议层发送第二信息。It can be seen that, in this step, the retransmission of the first data packet is invisible to the second protocol layer, and the first protocol layer determines the feedback information of the final first data packet on the basis of considering the retransmission of the first data packet. And transmitting the second information to the second protocol layer based on the feedback information of the final first data packet.
步骤402、所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息。Step 402: The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
本步骤中,当所述第二数据包被封装在一个所述第一数据包时,步骤402具体可以包括如下步骤4021和步骤4022。当所述第二数据包被拆分封装在多个所述第一数据包时,步骤402具体可以包括如下步骤4023和步骤4024。In this step, when the second data packet is encapsulated in one of the first data packets, step 402 may specifically include the following steps 4021 and 4022. When the second data packet is split and encapsulated in the plurality of the first data packets, step 402 may specifically include the following steps 4023 and 4024.
步骤4021、若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK。Step 4021: If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines the second data according to the first information and the second information. The feedback information of the packet is ACK.
这里,当第二信息中包括的所述第一数据包的反馈信息为ACK时,可以说明最终的第一数据包的反馈信息为ACK,可以表示接收端最终成功接收所述第一数据包。由于所述第二数据包被封装在一个所述第一数据包中,从而可以确定所述第二数据包也被接收端成功接收。因此,当所述第二数据包中包括的所述第一数据包的反馈信息为ACK时,所述第二协议层可以根据所述第一信息和所述第二信息确定所述第二数据包的反馈信息为ACK。Here, when the feedback information of the first data packet included in the second information is ACK, it may be stated that the feedback information of the final first data packet is an ACK, which may indicate that the receiving end finally successfully receives the first data packet. Since the second data packet is encapsulated in one of the first data packets, it can be determined that the second data packet is also successfully received by the receiving end. Therefore, when the feedback information of the first data packet included in the second data packet is an ACK, the second protocol layer may determine the second data according to the first information and the second information. The feedback information of the packet is ACK.
步骤4022、若所述第二信息中包括的所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。Step 4022: If the feedback information of the first data packet included in the second information is a NACK, the second protocol layer determines the second data according to the first information and the second information. The feedback information of the packet is NACK.
这里,当第二信息中包括的所述第一数据包的反馈信息为NACK时,可以说明最终的第一数据包的反馈信息为NACK,可以表示接收端最终未成功接收所述第一数据包。由于所述第二数据包被封装在一个所述第一数据包中,从而可以确定所述第二数据包也未被接收端成功接收。因此,当所述第二信息中包括的所述第一数据包的反馈信息为NACK时,所述第二协议层可以根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。Here, when the feedback information of the first data packet included in the second information is NACK, it may be stated that the feedback information of the final first data packet is NACK, which may indicate that the receiving end finally fails to receive the first data packet. . Since the second data packet is encapsulated in one of the first data packets, it can be determined that the second data packet is also not successfully received by the receiving end. Therefore, when the feedback information of the first data packet included in the second information is a NACK, the second protocol layer may determine the second data according to the first information and the second information. The feedback information of the packet is NACK.
步骤4023、若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK。Step 4023: If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the first The second information determines that the feedback information of the second data packet is an ACK.
这里,当所述第二数据包被拆分封装在多个所述第一数据包时,只有当所述第二数据包的所有分段均被接收端成功接收才可以认为所述第二数据包被接收端成功接收。因此,与所述第二数据包被封装在一个所述第一数据包中的步骤4021相比,当所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK时,所述第二协议层可以根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK。Here, when the second data packet is split and encapsulated in a plurality of the first data packets, the second data may be considered only when all segments of the second data packet are successfully received by the receiving end. The packet is successfully received by the receiving end. Therefore, when the second data packet is encapsulated in one of the first data packets, the second information corresponding to the first data packet includes the first data packet. When the feedback information is ACK, the second protocol layer may determine, according to the first information and the second information, that the feedback information of the second data packet is an ACK.
步骤4024、若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。Step 4024: If any one of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is a NACK, the second protocol layer is configured according to the first information. And the second information, determining that the feedback information of the second data packet is a NACK.
这里,当所述第二数据包被拆分封装在多个所述第一数据包时,若所述第二数据包的任意一个分段未被接收端成功接收,则可以认为所述第二数据包未被接收端成功接收。因此,与所述第二数据包被封装在一个所述第一数据包中的步骤4022相比,当所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK时,所述第二协议层可以根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。Here, when the second data packet is split and encapsulated in a plurality of the first data packets, if any one of the second data packets is not successfully received by the receiving end, the second The packet was not successfully received by the receiving end. Therefore, compared with step 4022, in which the second data packet is encapsulated in one of the first data packets, any one of the second information corresponding to the plurality of first data packets respectively includes the When the feedback information of the first data packet is a NACK, the second protocol layer may determine, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
本实施例中,通过第一数据包的重传对第二协议层不可见,第一协议层在考虑第一数据包的重传的基础上,确定最终的第一数据包的反馈信息,并 基于最终的第一数据包的反馈信息向第二协议层发送第二信息,进一步的,第二协议层根据第一信息和所述第二信息确定所述第二数据包的反馈信息,实现了根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息。In this embodiment, the retransmission of the first data packet is invisible to the second protocol layer, and the first protocol layer determines the feedback information of the final first data packet on the basis of considering the retransmission of the first data packet, and Transmitting the second information to the second protocol layer based on the feedback information of the final first data packet. Further, the second protocol layer determines the feedback information of the second data packet according to the first information and the second information, and implements And determining, according to the feedback information of the first data packet, feedback information of the second data packet.
图5为本发明实施例提供的确定反馈的方法实施例四的流程图。本实施例的方法在图3A所示方法实施例的基础上,主要描述了步骤304和步骤305另一种可选的实现方式。如图5所示,本实施例的方法可以包括:FIG. 5 is a flowchart of Embodiment 4 of a method for determining feedback according to an embodiment of the present invention. The method of this embodiment mainly describes another optional implementation of step 304 and step 305 on the basis of the method embodiment shown in FIG. 3A. As shown in FIG. 5, the method in this embodiment may include:
步骤501、所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,所述第二信息包括:所述第一数据包的标识以及所述第一数据包的反馈信息。Step 501: The first protocol layer sends second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the Feedback information of the first data packet.
本步骤中,具体可以包括如下步骤5011。In this step, the following may specifically include the following step 5011.
步骤5011、所述第一协议层在接收到所述第一数据包的反馈信息后,将所述第一数据包的标识以及所述第一数据包的反馈信息携带在第二信息中发送至所述第二协议层。这里,所述第二信息中包括的所述第一数据包的反馈信息可以为ACK或者ACK。Step 5011: After receiving the feedback information of the first data packet, the first protocol layer carries the identifier of the first data packet and the feedback information of the first data packet in the second information to send to The second protocol layer. Here, the feedback information of the first data packet included in the second information may be ACK or ACK.
可以看出,本步骤中,第一数据包的重传对第二协议可见,第一协议层在接收到第一数据包的反馈信息后,向第二协议层发送第二信息,该第二信息中包括该第一数据包的反馈信息以及该第二数据包的标识。It can be seen that, in this step, the retransmission of the first data packet is visible to the second protocol, and after receiving the feedback information of the first data packet, the first protocol layer sends the second information to the second protocol layer, where the second information The information includes feedback information of the first data packet and an identifier of the second data packet.
步骤502、所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息。Step 502: The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
本步骤中,当所述第二数据包被封装在一个所述第一数据包时,步骤502具体可以包括如下步骤5021和步骤5022。当所述第二数据包被拆分封装在多个所述第一数据包时,步骤502具体可以包括如下步骤5023和步骤5024。In this step, when the second data packet is encapsulated in one of the first data packets, step 502 may specifically include the following steps 5021 and 5022. When the second data packet is split and encapsulated in the plurality of the first data packets, step 502 may specifically include the following steps 5023 and 5024.
步骤5021、若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK。Step 5021: If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines the second data according to the first information and the second information. The feedback information of the packet is ACK.
这里,当第二信息中包括的所述第一数据包的反馈信息为ACK时,可以说明第一数据包的反馈信息为ACK,可以表示接收端已成功接收所述第一数据包。由于所述第二数据包被封装在一个所述第一数据包中,从而可以确定所述第二数据包也已被接收端成功接收。因此,当所述第二信息中包括的所述第一数据包的反馈信息为ACK时,所述第二协议层可以根据所述第一信息 和所述第二信息,确定所述第二数据包的反馈信息为ACK。Here, when the feedback information of the first data packet included in the second information is ACK, it may be stated that the feedback information of the first data packet is an ACK, which may indicate that the receiving end has successfully received the first data packet. Since the second data packet is encapsulated in one of the first data packets, it can be determined that the second data packet has also been successfully received by the receiving end. Therefore, when the feedback information of the first data packet included in the second information is an ACK, the second protocol layer may determine the second data according to the first information and the second information. The feedback information of the packet is ACK.
步骤5022、若所述第二信息中包括的所述第一数据包的反馈信息为NACK,且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。Step 5022: If the feedback information of the first data packet included in the second information is a NACK, and the number of retransmissions is greater than or equal to a preset number of times, the second protocol layer is configured according to the first information and the Determining the second information, determining that the feedback information of the second data packet is a NACK.
这里,当第二信息中包括的所述第一数据包的反馈信息为NACK,且重传次数大于或等于预设次数时,可以表示接收端最终未成功接收所述第一数据包。由于所述第二数据包被封装在一个所述第一数据包中,从而可以确定所述第二数据包也未被接收端成功接收。因此,当所述第二信息中包括的所述第一数据包的反馈信息为NACK,且重传次数大于或等于预设次数时,所述第二协议层可以根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。Here, when the feedback information of the first data packet included in the second information is NACK, and the number of retransmissions is greater than or equal to the preset number of times, it may indicate that the receiving end finally fails to receive the first data packet. Since the second data packet is encapsulated in one of the first data packets, it can be determined that the second data packet is also not successfully received by the receiving end. Therefore, when the feedback information of the first data packet included in the second information is a NACK, and the number of retransmissions is greater than or equal to a preset number of times, the second protocol layer may be based on the first information and the Determining the second information, determining that the feedback information of the second data packet is a NACK.
步骤5023、若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK。Step 5023: If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the first The second information determines that the feedback information of the second data packet is an ACK.
这里,当所述第二数据包被拆分封装在多个所述第一数据包时,只有当所述第二数据包的所有分段均被接收端成功接收才可以认为所述第二数据包被接收端成功接收。因此,与所述第二数据包被封装在一个所述第一数据包中的步骤5021相比,当所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK时,所述第二协议层可以根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK。Here, when the second data packet is split and encapsulated in a plurality of the first data packets, the second data may be considered only when all segments of the second data packet are successfully received by the receiving end. The packet is successfully received by the receiving end. Therefore, compared with the step 5021 of the second data packet being encapsulated in one of the first data packets, when the second information corresponding to the plurality of first data packets respectively includes the first data packet When the feedback information is ACK, the second protocol layer may determine, according to the first information and the second information, that the feedback information of the second data packet is an ACK.
步骤5024、若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。Step 5024: If any one of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to a preset number of times, The second protocol layer determines, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
这里,当所述第二数据包被拆分封装在多个所述第一数据包时,若所述第二数据包的任意一个分段未被接收端成功接收,则可以认为所述第二数据包未被接收端成功接收。因此,与所述第二数据包被封装在一个所述第一数据包中的步骤5022相比,当所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数时,所述第二协议层可以根据所述第一信息和所述第二信息,确 定所述第二数据包的反馈信息为NACK。Here, when the second data packet is split and encapsulated in a plurality of the first data packets, if any one of the second data packets is not successfully received by the receiving end, the second The packet was not successfully received by the receiving end. Therefore, compared with step 5022, in which the second data packet is encapsulated in one of the first data packets, any one of the second information corresponding to the plurality of first data packets respectively includes the When the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, the second protocol layer may determine feedback of the second data packet according to the first information and the second information. The information is NACK.
本实施例中,通过第一数据包的重传对第二协议可见,第一协议层在接收到第一数据包的反馈信息后,向第二协议层发送第二信息,该第二信息中包括该第一数据包的反馈信息以及该第二数据包的标识,进一步的,第二协议层根据第一信息和所述第二信息确定所述第二数据包的反馈信息,实现了根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息。In this embodiment, the second protocol is visible by the retransmission of the first data packet, and after receiving the feedback information of the first data packet, the first protocol layer sends the second information to the second protocol layer, where the second information is included. And including the feedback information of the first data packet and the identifier of the second data packet. Further, the second protocol layer determines the feedback information of the second data packet according to the first information and the second information, and implements the The feedback information of the first data packet is determined, and the feedback information of the second data packet is determined.
可选的,在上述实施例的基础上,为了提高第二数据包的接收成功率,还可以包括如下步骤:若确定所述第二数据包的反馈信息为NACK,则对所述第二数据包进行重传。可选的,可以由所述第二协议层对所述第二数据包进行重传。Optionally, on the basis of the foregoing embodiment, in order to improve the success rate of receiving the second data packet, the method may further include: if it is determined that the feedback information of the second data packet is NACK, then the second data is The package is retransmitted. Optionally, the second data packet may be retransmitted by the second protocol layer.
图6为本发明实施例提供的确定反馈的方法实施例五的流程图。本实施例的方法可以由上述接收端执行。如图6所示,本实施例的方法可以包括:FIG. 6 is a flowchart of Embodiment 5 of a method for determining feedback according to an embodiment of the present invention. The method of this embodiment can be performed by the above receiving end. As shown in FIG. 6, the method in this embodiment may include:
步骤601、接收端接收发送端基于重传协议发送的第一协议层的第一数据包,所述第一数据包中包括第二协议层的第二数据包。Step 601: The receiving end receives the first data packet of the first protocol layer sent by the sending end according to the retransmission protocol, where the first data packet includes the second data packet of the second protocol layer.
本步骤中,所述接收端与所述发送端之间基于重传协议传输第一协议层的第一数据包。可选的,所述第一协议层包括MAC层,所述第二协议层包括RLC层。在一个实施例中,当所述第一协议层为MAC层时,所述第一数据包具体可以为MAC PDU,当所述第二协议层为RLC层时,所述第二数据包具体可以为RLC PDU。In this step, the first data packet of the first protocol layer is transmitted between the receiving end and the transmitting end according to a retransmission protocol. Optionally, the first protocol layer includes a MAC layer, and the second protocol layer includes an RLC layer. In an embodiment, when the first protocol layer is a MAC layer, the first data packet may be a MAC PDU, and when the second protocol layer is an RLC layer, the second data packet may be specifically For the RLC PDU.
步骤602、所述接收端根据所述第一数据包,向所述发送端返回所述第一数据包的反馈信息,反馈信息包括ACK或者NACK,以使所述发送端根据所述反馈信息确定所述第二数据包的反馈信息。Step 602: The receiving end returns, according to the first data packet, feedback information of the first data packet to the sending end, where the feedback information includes an ACK or a NACK, so that the sending end determines according to the feedback information. Feedback information of the second data packet.
本步骤中,所述第一数据包的反馈信息ACK可以用于表示接收端成功接收所述第一数据包,所述第一数据包的反馈信息NACK可以用于表示接收端未成功接收所述第一数据包。所述接收端将所述第一数据包的反馈信息发送至所述发送端之后,进一步的,所述发送端可以根据所述反馈信息确定所述第二数据包的反馈信息。In this step, the feedback information ACK of the first data packet may be used to indicate that the receiving end successfully receives the first data packet, and the feedback information NACK of the first data packet may be used to indicate that the receiving end does not successfully receive the The first packet. After the receiving end sends the feedback information of the first data packet to the sending end, the sending end may further determine the feedback information of the second data packet according to the feedback information.
本实施例中,通过接收端接收发送端基于重传发送的第一协议层的第一数据包,所述第一数据包中包括第二协议层的第二数据包,所述接收端根据所述第一数据包,向所述发送端返回所述第一数据包的反馈信息,使得所述 发送端可以根据所述反馈信息确定所述第二数据包的反馈信息,与接收端向发送端返回第二数据包的反馈信息相比,避免了接收端向发送端返回第二数据包的反馈信息时对链路资源的占用,从而减小了反馈信息所占用的链路资源。In this embodiment, the first data packet of the first protocol layer sent by the transmitting end based on the retransmission is received by the receiving end, where the first data packet includes the second data packet of the second protocol layer, and the receiving end is configured according to the Returning the feedback information of the first data packet to the sending end, so that the sending end may determine the feedback information of the second data packet according to the feedback information, and the receiving end is sent to the transmitting end Compared with the feedback information of the second data packet, the use of the link resources by the receiving end to return the feedback information of the second data packet to the transmitting end is avoided, thereby reducing the link resources occupied by the feedback information.
图7为本发明实施例提供的发送端的结构示意图。如图7所示,本实施例提供的发送端10可以包括处理器701和通信接口702。FIG. 7 is a schematic structural diagram of a transmitting end according to an embodiment of the present invention. As shown in FIG. 7, the transmitting end 10 provided in this embodiment may include a processor 701 and a communication interface 702.
其中,处理器701,用于基于重传协议,通过通信接口702将第一协议层的第一数据包发送至接收端,所述第一数据包中包括第二协议层的第二数据包;The processor 701 is configured to send, by using the re-transmission protocol, the first data packet of the first protocol layer to the receiving end by using the communication interface 702, where the first data packet includes the second data packet of the second protocol layer;
通信接口702,还用于接收所述接收端返回的所述第一数据包的反馈信息,所述反馈信息包括ACK或NACK;The communication interface 702 is further configured to receive feedback information of the first data packet returned by the receiving end, where the feedback information includes an ACK or a NACK;
处理器701,还用于根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息。The processor 701 is further configured to determine, according to the feedback information of the first data packet, feedback information of the second data packet.
可选的,当所述第二数据包被封装在一个所述第一数据包时,处理器701根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:Optionally, when the second data packet is encapsulated in one of the first data packets, the processor 701 determines, according to the feedback information of the first data packet, feedback information of the second data packet, specifically including :
若所述第一数据包的反馈信息为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet is an ACK, determining that the feedback information of the second data packet is an ACK;
若所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
可选的,当所述第二数据包被拆分封装在多个所述第一数据包时,处理器701根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:Optionally, when the second data packet is split and encapsulated in multiple first data packets, the processor 701 determines feedback information of the second data packet according to the feedback information of the first data packet. Specifically, including:
若所述多个所述第一数据包的反馈信息都为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the plurality of the first data packets is ACK, determining that the feedback information of the second data packet is an ACK;
若所述多个所述第一数据包中任意一个第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet of the plurality of the first data packets is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
可选的,处理器701,基于重传协议,通过通信接口702将第一协议层的第一数据包发送至接收端,具体包括:第一协议层基于重传协议,通过通 信接口702将所述第一协议层的第一数据包发送至接收端;Optionally, the processor 701, according to the retransmission protocol, sends the first data packet of the first protocol layer to the receiving end by using the communication interface 702, where the method includes: the first protocol layer is based on the retransmission protocol, and is configured by using the communication interface 702. Transmitting, by the first protocol layer, the first data packet to the receiving end;
处理器701,还用于所述第一协议层向所述第二协议层发送第一信息;所述第一信息包括所述第一数据包的标识以及所述第二数据包的标识;The processor 701 is further configured to: send, by the first protocol layer, the first information to the second protocol layer; the first information includes an identifier of the first data packet and an identifier of the second data packet;
处理器701根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:The determining, by the processor 701, the feedback information of the second data packet according to the feedback information of the first data packet, specifically:
所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,所述第二信息包括:所述第一数据包的标识以及所述第一数据包的反馈信息;Transmitting, by the first protocol layer, the second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the first data Packet feedback information;
所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息。The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
可选的,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:Optionally, the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
若所述第一数据包的反馈信息为ACK,则向所述第二协议层发送第二信息;And if the feedback information of the first data packet is an ACK, sending the second information to the second protocol layer;
若所述第一数据包的反馈信息为NACK,且所述第一数据包的重传次数大于或等于预设次数,则向所述第二协议层发送第二信息。And if the feedback information of the first data packet is a NACK, and the number of retransmissions of the first data packet is greater than or equal to a preset number of times, sending the second information to the second protocol layer.
可选的,处理器701,还用于:Optionally, the processor 701 is further configured to:
若所述第一数据包的反馈信息为NACK,但所述第一数据包的重传次数小于所述预设次数,则不向所述第二协议层发送第二信息。If the feedback information of the first data packet is a NACK, but the number of retransmissions of the first data packet is less than the preset number of times, the second information is not sent to the second protocol layer.
可选的,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Optionally, when the second data packet is encapsulated in one of the first data packets, the second protocol layer determines, according to the first information and the second information, the second data packet. Feedback information, including:
若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
若所述第二信息中包括的所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is NACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is NACK.
可选的,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送第二信息包括:所述第一协议层向所述第 二协议层发送与所述多个第一数据包分别对应的所述第二信息;Optionally, when the second data packet is split and encapsulated in the multiple first data packets, the sending, by the first protocol layer, the second information to the second protocol layer includes: the first protocol The layer sends the second information corresponding to the plurality of first data packets to the second protocol layer;
所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is a NACK, the second protocol layer is configured according to the first information The second information determines that the feedback information of the second data packet is a NACK.
可选的,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:Optionally, the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
所述第一协议层在接收到所述第一数据包的反馈信息后,将所述第一数据包的标识以及所述第一数据包的反馈信息携带在第二信息中发送至所述第二协议层。After receiving the feedback information of the first data packet, the first protocol layer carries the identifier of the first data packet and the feedback information of the first data packet in the second information, and sends the information to the first Two protocol layers.
可选的,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Optionally, when the second data packet is encapsulated in one of the first data packets, the second protocol layer determines, according to the first information and the second information, the second data packet. Feedback information, including:
若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
若所述第二信息中包括的所述第一数据包的反馈信息为NACK,且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is a NACK, and the number of retransmissions is greater than or equal to a preset number of times, the second protocol layer is configured according to the first information and the second Information, determining that the feedback information of the second data packet is a NACK.
可选的,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送所述第二信息,包括:所述第一协议层向所述第二协议层发送与所述多个第一数据包分别对应的所述第二信息;Optionally, when the second data packet is split and encapsulated in the multiple first data packets, the first protocol layer sends the second information to the second protocol layer, including: Transmitting, by the first protocol layer, the second information corresponding to the plurality of first data packets to the second protocol layer;
所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确 定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to a preset number of times, the second protocol The layer determines, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
可选的,所述第一信息中还包括所述第二数据包的分段标识,所述分段标识用于指示是否为所述第二数据包最后一个分段。Optionally, the first information further includes a segment identifier of the second data packet, where the segment identifier is used to indicate whether it is the last segment of the second data packet.
可选的,所述第一数据包的标识基于承载所述第一数据包的无线帧的***帧号以及子帧的子帧号表示。Optionally, the identifier of the first data packet is represented by a system frame number of a radio frame carrying the first data packet and a subframe number of the subframe.
可选的,处理器701还用于:若确定所述第二数据包的反馈信息为NACK,则对所述第二数据包进行重传。Optionally, the processor 701 is further configured to: if it is determined that the feedback information of the second data packet is a NACK, retransmit the second data packet.
可选的,所述第一协议层包括MAC层,所述第二协议层包括RLC层。Optionally, the first protocol layer includes a MAC layer, and the second protocol layer includes an RLC layer.
可选的,所述重传协议包括HARQ协议。Optionally, the retransmission protocol includes a HARQ protocol.
本实施例的发送端,可以用于执行图2、图3A、图4A或图5A所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The transmitting end of the embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2, FIG. 3A, FIG. 4A or FIG. 5A, and the implementation principle and the technical effect are similar, and details are not described herein again.
图8为本发明实施例提供的接收端的结构示意图。如图8所示,本实施例提供的接收端20可以包括通信接口801和处理器802。FIG. 8 is a schematic structural diagram of a receiving end according to an embodiment of the present invention. As shown in FIG. 8, the receiving end 20 provided in this embodiment may include a communication interface 801 and a processor 802.
其中,通信接口801,用于接收发送端基于重传协议发送的第一协议层的第一数据包,所述第一数据包中包括的第二协议层的第二数据包;The communication interface 801 is configured to receive a first data packet of a first protocol layer that is sent by the sending end according to the retransmission protocol, and a second data packet of the second protocol layer that is included in the first data packet.
处理器802,用于根据所述第一数据包,确定所述第一数据包的反馈信息,所述反馈信息包括ACK或NACK;The processor 802 is configured to determine, according to the first data packet, feedback information of the first data packet, where the feedback information includes an ACK or a NACK;
通信接口801,还用于向所述发送端返回所述第一数据包的反馈信息,以使所述发送端根据所述反馈信息确定所述第二数据包的反馈信息。The communication interface 801 is further configured to return feedback information of the first data packet to the sending end, so that the sending end determines feedback information of the second data packet according to the feedback information.
可选的,所述第一协议层包括MAC层,所述第二协议层包括RLC层。Optionally, the first protocol layer includes a MAC layer, and the second protocol layer includes an RLC layer.
可选的,所述重传协议包括HARQ协议。Optionally, the retransmission protocol includes a HARQ protocol.
本实施例的发送端,可以用于执行图6所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The transmitting end of the embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 6. The implementation principle and technical effects are similar, and details are not described herein again.
如图1A所示,本发明实施例还提供一种通信***,包括:发送端10和接收端20;As shown in FIG. 1A, an embodiment of the present invention further provides a communication system, including: a transmitting end 10 and a receiving end 20;
发送端10,用于基于重传协议,将第一协议层的第一数据包发送至接收 端20,所述第一数据包中包括第二协议层的第二数据包;The transmitting end 10 is configured to send, according to the retransmission protocol, the first data packet of the first protocol layer to the receiving end 20, where the first data packet includes the second data packet of the second protocol layer;
接收端20,用于接收发送端10发送的所述第一数据包,根据所述第一数据包,向发送端10返回所述第一数据包的反馈信息,所述反馈信息包括ACK或NACK;The receiving end 20 is configured to receive the first data packet sent by the sending end 10, and return, according to the first data packet, feedback information of the first data packet to the sending end 10, where the feedback information includes an ACK or a NACK. ;
发送端10,还用于接收接收端20返回的所述第一数据包的反馈信息,根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息。The sending end 10 is further configured to receive feedback information of the first data packet returned by the receiving end 20, and determine feedback information of the second data packet according to the feedback information of the first data packet.
可选的,当所述第二数据包被封装在一个所述第一数据包时,发送端10根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:Optionally, when the second data packet is encapsulated in one of the first data packets, the sending end 10 determines, according to the feedback information of the first data packet, feedback information of the second data packet, specifically including :
若所述第一数据包的反馈信息为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet is an ACK, determining that the feedback information of the second data packet is an ACK;
若所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
可选的,当所述第二数据包被拆分封装在多个所述第一数据包时,发送端10根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:Optionally, when the second data packet is split and encapsulated in multiple first data packets, the sending end 10 determines feedback information of the second data packet according to the feedback information of the first data packet. Specifically, including:
若所述多个所述第一数据包的反馈信息都为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the plurality of the first data packets is ACK, determining that the feedback information of the second data packet is an ACK;
若所述多个所述第一数据包中任意一个第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet of the plurality of the first data packets is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
可选的,发送端10基于重传协议,将第一协议层的第一数据包发送至接收端,具体包括:Optionally, the sending end 10 sends, according to the retransmission protocol, the first data packet of the first protocol layer to the receiving end, which specifically includes:
发送端10的第一协议层基于重传协议,将所述第一协议层的第一数据包发送至接收端;The first protocol layer of the sending end 10 sends the first data packet of the first protocol layer to the receiving end according to the retransmission protocol;
发送端10还用于:所述第一协议层向所述第二协议层发送第一信息;所述第一信息包括所述第一数据包的标识以及所述第二数据包的标识;The sending end 10 is further configured to: send, by the first protocol layer, the first information to the second protocol layer; the first information includes an identifier of the first data packet and an identifier of the second data packet;
发送端10根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:The sending end 10 determines, according to the feedback information of the first data packet, the feedback information of the second data packet, which specifically includes:
所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发 送第二信息,所述第二信息包括:所述第一数据包的标识以及所述第一数据包的反馈信息;Transmitting, by the first protocol layer, the second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the first data Packet feedback information;
所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息。The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
可选的,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:Optionally, the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
若所述第一数据包的反馈信息为ACK,则向所述第二协议层发送第二信息;And if the feedback information of the first data packet is an ACK, sending the second information to the second protocol layer;
若所述第一数据包的反馈信息为NACK,且所述第一数据包的重传次数大于或等于预设次数,则向所述第二协议层发送第二信息。And if the feedback information of the first data packet is a NACK, and the number of retransmissions of the first data packet is greater than or equal to a preset number of times, sending the second information to the second protocol layer.
可选的,发送端10还用于:Optionally, the sender 10 is further configured to:
若所述第一数据包的反馈信息为NACK,但所述第一数据包的重传次数小于所述预设次数,则不向所述第二协议层发送第二信息。If the feedback information of the first data packet is a NACK, but the number of retransmissions of the first data packet is less than the preset number of times, the second information is not sent to the second protocol layer.
可选的,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Optionally, when the second data packet is encapsulated in one of the first data packets, the second protocol layer determines, according to the first information and the second information, the second data packet. Feedback information, including:
若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
若所述第二信息中包括的所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is NACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is NACK.
可选的,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送第二信息包括:所述第一协议层向所述第二协议层发送与所述多个第一数据包分别对应的所述第二信息;Optionally, when the second data packet is split and encapsulated in the multiple first data packets, the sending, by the first protocol layer, the second information to the second protocol layer includes: the first protocol The layer sends the second information corresponding to the plurality of first data packets to the second protocol layer;
所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is a NACK, the second protocol layer is configured according to the first information The second information determines that the feedback information of the second data packet is a NACK.
可选的,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:Optionally, the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
所述第一协议层在接收到所述第一数据包的反馈信息后,将所述第一数据包的标识以及所述第一数据包的反馈信息携带在第二信息中发送至所述第二协议层。After receiving the feedback information of the first data packet, the first protocol layer carries the identifier of the first data packet and the feedback information of the first data packet in the second information, and sends the information to the first Two protocol layers.
可选的,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Optionally, when the second data packet is encapsulated in one of the first data packets, the second protocol layer determines, according to the first information and the second information, the second data packet. Feedback information, including:
若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
若所述第二信息中包括的所述第一数据包的反馈信息为NACK,且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is a NACK, and the number of retransmissions is greater than or equal to a preset number of times, the second protocol layer is configured according to the first information and the second Information, determining that the feedback information of the second data packet is a NACK.
可选的,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送所述第二信息,包括:所述第一协议层向所述第二协议层发送与所述多个第一数据包分别对应的所述第二信息;Optionally, when the second data packet is split and encapsulated in the multiple first data packets, the first protocol layer sends the second information to the second protocol layer, including: Transmitting, by the first protocol layer, the second information corresponding to the plurality of first data packets to the second protocol layer;
所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to a preset number of times, the second protocol The layer determines, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
可选的,所述第一信息中还包括所述第二数据包的分段标识,所述分段 标识用于指示是否为所述第二数据包最后一个分段。Optionally, the first information further includes a segment identifier of the second data packet, where the segment identifier is used to indicate whether it is the last segment of the second data packet.
可选的,所述第一数据包的标识基于承载所述第一数据包的无线帧的***帧号以及子帧的子帧号表示。Optionally, the identifier of the first data packet is represented by a system frame number of a radio frame carrying the first data packet and a subframe number of the subframe.
可选的,发送端10还用于:若确定所述第二数据包的反馈信息为NACK,则对所述第二数据包进行重传。Optionally, the sending end 10 is further configured to: if it is determined that the feedback information of the second data packet is a NACK, retransmit the second data packet.
可选的,所述第一协议层包括MAC层,所述第二协议层包括RLC层。Optionally, the first protocol layer includes a MAC layer, and the second protocol layer includes an RLC layer.
可选的,所述重传协议包括HARQ协议。Optionally, the retransmission protocol includes a HARQ protocol.
本实施例的通信***中的发送端,可以用于执行图2、图3A、图4A或图5A所示方法实施例的技术方案,本实施例的通信***中的接收端,可以用于执行图6所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The transmitting end in the communication system of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2, FIG. 3A, FIG. 4A or FIG. 5A. The receiving end in the communication system of this embodiment may be used for executing. The technical solution of the method embodiment shown in FIG. 6 has similar implementation principles and technical effects, and details are not described herein again.
本发明还一种存储介质,当该存储介质中的指令由发送端10的处理器701执行时,使得发送端能够执行一种确定反馈的方法,该方法包括:The present invention also provides a storage medium that, when executed by the processor 701 of the transmitting end 10, enables the transmitting end to perform a method of determining feedback, the method comprising:
基于重传协议,将第一协议层的第一数据包发送至接收端,所述第一数据包中包括第二协议层的第二数据包;Transmitting, by the retransmission protocol, the first data packet of the first protocol layer to the receiving end, where the first data packet includes the second data packet of the second protocol layer;
接收所述接收端返回的所述第一数据包的反馈信息,所述反馈信息包括ACK或NACK;Receiving feedback information of the first data packet returned by the receiving end, where the feedback information includes an ACK or a NACK;
根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息。And determining, according to the feedback information of the first data packet, feedback information of the second data packet.
可选的,当所述第二数据包被封装在一个所述第一数据包时,所述根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,包括:Optionally, when the second data packet is encapsulated in one of the first data packets, determining, according to the feedback information of the first data packet, the feedback information of the second data packet, including:
若所述第一数据包的反馈信息为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet is an ACK, determining that the feedback information of the second data packet is an ACK;
若所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
可选的,当所述第二数据包被拆分封装在多个所述第一数据包时,所述根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,包括:Optionally, when the second data packet is split and encapsulated in multiple first data packets, determining, according to the feedback information of the first data packet, feedback information of the second data packet, include:
若所述多个所述第一数据包的反馈信息都为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the plurality of the first data packets is ACK, determining that the feedback information of the second data packet is an ACK;
若所述多个所述第一数据包中任意一个第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为 NACK。If the feedback information of the first data packet of the plurality of the first data packets is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
可选的,所述基于重传协议,将第一协议层的第一数据包发送至接收端,包括:Optionally, the sending, according to the retransmission protocol, the first data packet of the first protocol layer to the receiving end, including:
所述发送端的第一协议层基于重传协议,将所述第一协议层的第一数据包发送至接收端;The first protocol layer of the sending end sends the first data packet of the first protocol layer to the receiving end according to the retransmission protocol;
所述方法还包括:所述第一协议层向所述第二协议层发送第一信息;所述第一信息包括所述第一数据包的标识以及所述第二数据包的标识;The method further includes: the first protocol layer transmitting first information to the second protocol layer; the first information includes an identifier of the first data packet and an identifier of the second data packet;
所述根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,包括:Determining the feedback information of the second data packet according to the feedback information of the first data packet, including:
所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,所述第二信息包括:所述第一数据包的标识以及所述第一数据包的反馈信息;Transmitting, by the first protocol layer, the second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the first data Packet feedback information;
所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息。The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
可选的,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:Optionally, the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
若所述第一数据包的反馈信息为ACK,则向所述第二协议层发送第二信息;And if the feedback information of the first data packet is an ACK, sending the second information to the second protocol layer;
若所述第一数据包的反馈信息为NACK,且所述第一数据包的重传次数大于或等于预设次数,则向所述第二协议层发送第二信息。And if the feedback information of the first data packet is a NACK, and the number of retransmissions of the first data packet is greater than or equal to a preset number of times, sending the second information to the second protocol layer.
可选的,所述方法还包括:Optionally, the method further includes:
若所述第一数据包的反馈信息为NACK,但所述第一数据包的重传次数小于所述预设次数,则不向所述第二协议层发送第二信息。If the feedback information of the first data packet is a NACK, but the number of retransmissions of the first data packet is less than the preset number of times, the second information is not sent to the second protocol layer.
可选的,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Optionally, when the second data packet is encapsulated in one of the first data packets, the second protocol layer determines, according to the first information and the second information, the second data packet. Feedback information, including:
若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
若所述第二信息中包括的所述第一数据包的反馈信息为NACK,则所述 第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is NACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is NACK.
可选的,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送第二信息包括:所述第一协议层向所述第二协议层发送与所述多个第一数据包分别对应的所述第二信息;Optionally, when the second data packet is split and encapsulated in the multiple first data packets, the sending, by the first protocol layer, the second information to the second protocol layer includes: the first protocol The layer sends the second information corresponding to the plurality of first data packets to the second protocol layer;
所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is a NACK, the second protocol layer is configured according to the first information The second information determines that the feedback information of the second data packet is a NACK.
可选的,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:Optionally, the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
所述第一协议层在接收到所述第一数据包的反馈信息后,将所述第一数据包的标识以及所述第一数据包的反馈信息携带在第二信息中发送至所述第二协议层。After receiving the feedback information of the first data packet, the first protocol layer carries the identifier of the first data packet and the feedback information of the first data packet in the second information, and sends the information to the first Two protocol layers.
可选的,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Optionally, when the second data packet is encapsulated in one of the first data packets, the second protocol layer determines, according to the first information and the second information, the second data packet. Feedback information, including:
若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
若所述第二信息中包括的所述第一数据包的反馈信息为NACK,且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is a NACK, and the number of retransmissions is greater than or equal to a preset number of times, the second protocol layer is configured according to the first information and the second Information, determining that the feedback information of the second data packet is a NACK.
可选的,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送所述第二信息,包括:所述第一协议层向所述第二协议层发送与所述多个第一数据包分别对应的所述第二信息;Optionally, when the second data packet is split and encapsulated in the multiple first data packets, the first protocol layer sends the second information to the second protocol layer, including: Transmitting, by the first protocol layer, the second information corresponding to the plurality of first data packets to the second protocol layer;
所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to a preset number of times, the second protocol The layer determines, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
可选的,所述第一信息中还包括所述第二数据包的分段标识,所述分段标识用于指示是否为所述第二数据包最后一个分段。Optionally, the first information further includes a segment identifier of the second data packet, where the segment identifier is used to indicate whether it is the last segment of the second data packet.
可选的,所述第一数据包的标识基于承载所述第一数据包的无线帧的***帧号以及子帧的子帧号表示。Optionally, the identifier of the first data packet is represented by a system frame number of a radio frame carrying the first data packet and a subframe number of the subframe.
可选的,所述方法还包括:若确定所述第二数据包的反馈信息为NACK,则对所述第二数据包进行重传。Optionally, the method further includes: if it is determined that the feedback information of the second data packet is a NACK, retransmitting the second data packet.
可选的,所述第一协议层包括MAC层,所述第二协议层包括RLC层。Optionally, the first protocol layer includes a MAC layer, and the second protocol layer includes an RLC layer.
可选的,所述重传协议包括HARQ协议。Optionally, the retransmission protocol includes a HARQ protocol.
本发明还一种存储介质,当该存储介质中的指令由接收端20的处理器802执行时,使得接收端能够执行一种确定反馈的方法,该方法包括:The present invention also provides a storage medium that, when executed by the processor 802 of the receiving end 20, enables the receiving end to perform a method of determining feedback, the method comprising:
接收发送端基于重传协议发送的第一协议层的第一数据包,所述第一数据包中包括第二协议层的第二数据包;Receiving, by the sending end, the first data packet of the first protocol layer sent by the retransmission protocol, where the first data packet includes the second data packet of the second protocol layer;
根据所述第一数据包,向所述发送端返回所述第一数据包的反馈信息,所述反馈信息包括ACK或NACK,以使所述发送端根据所述反馈信息确定所述第二数据包的反馈信息。Returning, according to the first data packet, feedback information of the first data packet to the sending end, where the feedback information includes an ACK or a NACK, so that the sending end determines the second data according to the feedback information. Packet feedback information.
可选的,所述第一协议层包括MAC层,所述第二协议层包括RLC层。Optionally, the first protocol layer includes a MAC layer, and the second protocol layer includes an RLC layer.
可选的,所述重传协议包括HARQ协议。Optionally, the retransmission protocol includes a HARQ protocol.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码 的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the above-described method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (56)

  1. 一种确定反馈的方法,其特征在于,应用于发送端,所述方法包括:A method for determining feedback, which is applied to a transmitting end, and the method includes:
    基于重传协议,将第一协议层的第一数据包发送至接收端,所述第一数据包中包括第二协议层的第二数据包;Transmitting, by the retransmission protocol, the first data packet of the first protocol layer to the receiving end, where the first data packet includes the second data packet of the second protocol layer;
    接收所述接收端返回的所述第一数据包的反馈信息,所述反馈信息包括肯定应答ACK或否定应答NACK;Receiving feedback information of the first data packet returned by the receiving end, where the feedback information includes a positive acknowledgement ACK or a negative acknowledgement NACK;
    根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息。And determining, according to the feedback information of the first data packet, feedback information of the second data packet.
  2. 根据权利要求1所述的方法,其特征在于,当所述第二数据包被封装在一个所述第一数据包时,所述根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,包括:The method according to claim 1, wherein when the second data packet is encapsulated in one of the first data packets, the determining the second according to the feedback information of the first data packet Feedback information for the packet, including:
    若所述第一数据包的反馈信息为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet is an ACK, determining that the feedback information of the second data packet is an ACK;
    若所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  3. 根据权利要求1所述的方法,其特征在于,当所述第二数据包被拆分封装在多个所述第一数据包时,所述根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,包括:The method according to claim 1, wherein when the second data packet is split and encapsulated in the plurality of first data packets, determining, according to feedback information of the first data packet, The feedback information of the second data packet includes:
    若所述多个所述第一数据包的反馈信息都为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the plurality of the first data packets is ACK, determining that the feedback information of the second data packet is an ACK;
    若所述多个所述第一数据包中任意一个第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet of the plurality of the first data packets is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述基于重传协议,将第一协议层的第一数据包发送至接收端,包括:The method according to any one of claims 1-3, wherein the transmitting, by the retransmission protocol, the first data packet of the first protocol layer to the receiving end comprises:
    所述发送端的第一协议层基于重传协议,将所述第一协议层的第一数据包发送至接收端;The first protocol layer of the sending end sends the first data packet of the first protocol layer to the receiving end according to the retransmission protocol;
    所述方法还包括:所述第一协议层向所述第二协议层发送第一信息;所述第一信息包括所述第一数据包的标识以及所述第二数据包的标识;The method further includes: the first protocol layer transmitting first information to the second protocol layer; the first information includes an identifier of the first data packet and an identifier of the second data packet;
    所述根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,包括:Determining the feedback information of the second data packet according to the feedback information of the first data packet, including:
    所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,所述第二信息包括:所述第一数据包的标识以及所述第一数据包的反馈信息;Transmitting, by the first protocol layer, the second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the first data Packet feedback information;
    所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息。The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
  5. 根据权利要求4所述的方法,其特征在于,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:The method according to claim 4, wherein the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
    若所述第一数据包的反馈信息为ACK,则向所述第二协议层发送第二信息;And if the feedback information of the first data packet is an ACK, sending the second information to the second protocol layer;
    若所述第一数据包的反馈信息为NACK,且所述第一数据包的重传次数大于或等于预设次数,则向所述第二协议层发送第二信息。And if the feedback information of the first data packet is a NACK, and the number of retransmissions of the first data packet is greater than or equal to a preset number of times, sending the second information to the second protocol layer.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    若所述第一数据包的反馈信息为NACK,但所述第一数据包的重传次数小于所述预设次数,则不向所述第二协议层发送第二信息。If the feedback information of the first data packet is a NACK, but the number of retransmissions of the first data packet is less than the preset number of times, the second information is not sent to the second protocol layer.
  7. 根据权利要求5或6所述的方法,其特征在于,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:The method according to claim 5 or 6, wherein when the second data packet is encapsulated in one of the first data packets, the second protocol layer is based on the first information and the first The second information determines the feedback information of the second data packet, including:
    若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
    若所述第二信息中包括的所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is NACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is NACK.
  8. 根据权利要求5或6所述的方法,其特征在于,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送第二信息包括:所述第一协议层向所述第二协议层发送与所述多个第一数据包分别对应的所述第二信息;The method according to claim 5 or 6, wherein when the second data packet is split and encapsulated in a plurality of the first data packets, the first protocol layer is directed to the second protocol layer The sending the second information includes: sending, by the first protocol layer, the second information corresponding to the plurality of first data packets to the second protocol layer;
    所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
    若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反 馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
    若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is a NACK, the second protocol layer is configured according to the first information The second information determines that the feedback information of the second data packet is a NACK.
  9. 根据权利要求4所述的方法,其特征在于,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:The method according to claim 4, wherein the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
    所述第一协议层在接收到所述第一数据包的反馈信息后,将所述第一数据包的标识以及所述第一数据包的反馈信息携带在第二信息中发送至所述第二协议层。After receiving the feedback information of the first data packet, the first protocol layer carries the identifier of the first data packet and the feedback information of the first data packet in the second information, and sends the information to the first Two protocol layers.
  10. 根据权利要求9所述的方法,其特征在于,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:The method according to claim 9, wherein when said second data packet is encapsulated in one of said first data packets, said second protocol layer is based on said first information and said second information Determining feedback information of the second data packet, including:
    若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
    若所述第二信息中包括的所述第一数据包的反馈信息为NACK,且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is a NACK, and the number of retransmissions is greater than or equal to a preset number of times, the second protocol layer is configured according to the first information and the second Information, determining that the feedback information of the second data packet is a NACK.
  11. 根据权利要求9所述的方法,其特征在于,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送所述第二信息,包括:所述第一协议层向所述第二协议层发送与所述多个第一数据包分别对应的所述第二信息;The method according to claim 9, wherein when the second data packet is split and encapsulated in a plurality of the first data packets, the first protocol layer sends a message to the second protocol layer The second information includes: the first protocol layer sending, to the second protocol layer, the second information corresponding to the plurality of first data packets respectively;
    所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
    若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
    若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则所述 第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to a preset number of times, the second protocol The layer determines, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
  12. 根据权利要求4-11任一项所述的方法,其特征在于,所述第一信息中还包括所述第二数据包的分段标识,所述分段标识用于指示是否为所述第二数据包最后一个分段。The method according to any one of claims 4 to 11, wherein the first information further includes a segment identifier of the second data packet, where the segment identifier is used to indicate whether the first The last segment of the second packet.
  13. 根据权利要求4-12任一项所述的方法,其特征在于,所述第一数据包的标识基于承载所述第一数据包的无线帧的***帧号以及子帧的子帧号表示。The method according to any one of claims 4 to 12, wherein the identifier of the first data packet is represented based on a system frame number of a radio frame carrying the first data packet and a subframe number of the subframe.
  14. 根据权利要求2、3、5-8、10-12中任一项所述的方法,其特征在于,所述方法还包括:若确定所述第二数据包的反馈信息为NACK,则对所述第二数据包进行重传。The method according to any one of claims 2, 3, 5-8, and 10-12, wherein the method further comprises: if it is determined that the feedback information of the second data packet is NACK, The second data packet is retransmitted.
  15. 根据权利要求1-14任一项所述的方法,其特征在于,所述第一协议层包括媒体接入控制MAC层,所述第二协议层包括无线链路控制RLC层。The method according to any one of claims 1 to 14, wherein the first protocol layer comprises a medium access control MAC layer, and the second protocol layer comprises a radio link control RLC layer.
  16. 根据权利要求1-15任一项所述的方法,其特征在于,所述重传协议包括混合自动重传请求HARQ协议。The method according to any one of claims 1 to 15, wherein the retransmission protocol comprises a hybrid automatic repeat request HARQ protocol.
  17. 一种确定反馈的方法,其特征在于,应用于接收端,所述方法包括:A method for determining feedback is characterized in that it is applied to a receiving end, and the method includes:
    接收发送端基于重传协议发送的第一协议层的第一数据包,所述第一数据包中包括第二协议层的第二数据包;Receiving, by the sending end, the first data packet of the first protocol layer sent by the retransmission protocol, where the first data packet includes the second data packet of the second protocol layer;
    根据所述第一数据包,向所述发送端返回所述第一数据包的反馈信息,所述反馈信息包括肯定应答ACK或否定应答NACK,以使所述发送端根据所述反馈信息确定所述第二数据包的反馈信息。Returning, according to the first data packet, feedback information of the first data packet to the sending end, where the feedback information includes a positive acknowledgement ACK or a negative acknowledgement NACK, so that the sending end determines, according to the feedback information, The feedback information of the second data packet is described.
  18. 根据权利要求17所述的方法,其特征在于,所述第一协议层包括媒体接入控制MAC层,所述第二协议层包括无线链路控制RLC层。The method according to claim 17, wherein the first protocol layer comprises a medium access control MAC layer, and the second protocol layer comprises a radio link control RLC layer.
  19. 根据权利要求17或18所述的方法,其特征在于,所述重传协议包括混合自动重传请求HARQ协议。The method according to claim 17 or 18, wherein the retransmission protocol comprises a hybrid automatic repeat request HARQ protocol.
  20. 一种发送端,其特征在于,包括:处理器和通信接口;A transmitting end, comprising: a processor and a communication interface;
    所述处理器,用于基于重传协议,通过所述通信接口将第一协议层的第一数据包发送至接收端,所述第一数据包中包括第二协议层的第二数据包;The processor is configured to send, according to the retransmission protocol, the first data packet of the first protocol layer to the receiving end by using the communications interface, where the first data packet includes a second data packet of the second protocol layer;
    所述通信接口,还用于接收所述接收端返回的所述第一数据包的反馈信息,所述反馈信息包括肯定应答ACK或否定应答NACK;The communication interface is further configured to receive feedback information of the first data packet returned by the receiving end, where the feedback information includes a positive acknowledgement ACK or a negative acknowledgement NACK;
    所述处理器,还用于根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息。The processor is further configured to determine feedback information of the second data packet according to the feedback information of the first data packet.
  21. 根据权利要求20所述的发送端,其特征在于,当所述第二数据包被封装在一个所述第一数据包时,所述处理器根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:The transmitting end according to claim 20, wherein when the second data packet is encapsulated in one of the first data packets, the processor determines, according to the feedback information of the first data packet, The feedback information of the second data packet includes:
    若所述第一数据包的反馈信息为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet is an ACK, determining that the feedback information of the second data packet is an ACK;
    若所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  22. 根据权利要求20所述的发送端,其特征在于,当所述第二数据包被拆分封装在多个所述第一数据包时,所述处理器根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:The transmitting end according to claim 20, wherein when the second data packet is split and encapsulated in the plurality of first data packets, the processor is based on feedback information of the first data packet Determining, by the feedback information of the second data packet, specifically:
    若所述多个所述第一数据包的反馈信息都为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the plurality of the first data packets is ACK, determining that the feedback information of the second data packet is an ACK;
    若所述多个所述第一数据包中任意一个第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet of the plurality of the first data packets is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  23. 根据权利要求20-22任一项所述的发送端,其特征在于,所述处理器,基于重传协议,通过所述通信接口将第一协议层的第一数据包发送至接收端,具体包括:第一协议层基于重传协议,通过所述通信接口将所述第一协议层的第一数据包发送至接收端;The transmitting end according to any one of claims 20 to 22, wherein the processor sends the first data packet of the first protocol layer to the receiving end through the communication interface based on the retransmission protocol, specifically The first protocol layer is based on a retransmission protocol, and the first data packet of the first protocol layer is sent to the receiving end by using the communication interface;
    所述处理器,还用于所述第一协议层向所述第二协议层发送第一信息;所述第一信息包括所述第一数据包的标识以及所述第二数据包的标识;The processor is further configured to send the first information to the second protocol layer by the first protocol layer; the first information includes an identifier of the first data packet and an identifier of the second data packet;
    所述处理器根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:The determining, by the processor, the feedback information of the second data packet according to the feedback information of the first data packet, specifically:
    所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,所述第二信息包括:所述第一数据包的标识以及所述第一数据包的反馈信息;Transmitting, by the first protocol layer, the second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the first data Packet feedback information;
    所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息。The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
  24. 根据权利要求23所述的发送端,其特征在于,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:The transmitting end according to claim 23, wherein the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
    若所述第一数据包的反馈信息为ACK,则向所述第二协议层发送第二信息;And if the feedback information of the first data packet is an ACK, sending the second information to the second protocol layer;
    若所述第一数据包的反馈信息为NACK,且所述第一数据包的重传次数大于或等于预设次数,则向所述第二协议层发送第二信息。And if the feedback information of the first data packet is a NACK, and the number of retransmissions of the first data packet is greater than or equal to a preset number of times, sending the second information to the second protocol layer.
  25. 根据权利要求24所述的发送端,其特征在于,所述处理器,还用于:The transmitting end according to claim 24, wherein the processor is further configured to:
    若所述第一数据包的反馈信息为NACK,但所述第一数据包的重传次数小于所述预设次数,则不向所述第二协议层发送第二信息。If the feedback information of the first data packet is a NACK, but the number of retransmissions of the first data packet is less than the preset number of times, the second information is not sent to the second protocol layer.
  26. 根据权利要求24或25所述的发送端,其特征在于,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:The transmitting end according to claim 24 or 25, wherein when the second data packet is encapsulated in one of the first data packets, the second protocol layer is based on the first information and the The second information is used to determine feedback information of the second data packet, including:
    若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
    若所述第二信息中包括的所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is NACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is NACK.
  27. 根据权利要求24或25所述的发送端,其特征在于,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送第二信息包括:所述第一协议层向所述第二协议层发送与所述多个第一数据包分别对应的所述第二信息;The transmitting end according to claim 24 or 25, wherein when the second data packet is split and encapsulated in a plurality of the first data packets, the first protocol layer is directed to the second protocol The layer sending the second information includes: the first protocol layer sending, to the second protocol layer, the second information corresponding to the plurality of first data packets respectively;
    所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
    若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
    若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is a NACK, the second protocol layer is configured according to the first information The second information determines that the feedback information of the second data packet is a NACK.
  28. 根据权利要求23所述的发送端,其特征在于,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:The transmitting end according to claim 23, wherein the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
    所述第一协议层在接收到所述第一数据包的反馈信息后,将所述第一数据包的标识以及所述第一数据包的反馈信息携带在第二信息中发送至所述第二协议层。After receiving the feedback information of the first data packet, the first protocol layer carries the identifier of the first data packet and the feedback information of the first data packet in the second information, and sends the information to the first Two protocol layers.
  29. 根据权利要求28所述的发送端,其特征在于,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:The transmitting end according to claim 28, wherein when the second data packet is encapsulated in one of the first data packets, the second protocol layer is configured according to the first information and the second Information, determining feedback information of the second data packet, including:
    若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
    若所述第二信息中包括的所述第一数据包的反馈信息为NACK,且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is a NACK, and the number of retransmissions is greater than or equal to a preset number of times, the second protocol layer is configured according to the first information and the second Information, determining that the feedback information of the second data packet is a NACK.
  30. 根据权利要求28所述的发送端,其特征在于,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送所述第二信息,包括:所述第一协议层向所述第二协议层发送与所述多个第一数据包分别对应的所述第二信息;The transmitting end according to claim 28, wherein when the second data packet is split and encapsulated in a plurality of the first data packets, the first protocol layer sends the second protocol layer The second information includes: the first protocol layer sending, to the second protocol layer, the second information corresponding to the plurality of first data packets respectively;
    所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
    若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
    若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to a preset number of times, the second protocol The layer determines, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
  31. 根据权利要求23-30任一项所述的发送端,其特征在于,所述第一信息中还包括所述第二数据包的分段标识,所述分段标识用于指示是否为所述第二数据包最后一个分段。The transmitting end according to any one of claims 23 to 30, wherein the first information further includes a segment identifier of the second data packet, where the segment identifier is used to indicate whether the The last segment of the second packet.
  32. 根据权利要求23-31任一项所述的发送端,其特征在于,所述第一数据包的标识基于承载所述第一数据包的无线帧的***帧号以及子帧的子帧号表示。The transmitting end according to any one of claims 23 to 31, wherein the identifier of the first data packet is represented by a system frame number of a radio frame carrying the first data packet and a subframe number of the subframe. .
  33. 根据权利要求21、22、24-27、29-31中任一项所述的发送端,其特征在于,所述处理器还用于:若确定所述第二数据包的反馈信息为NACK,则对所述第二数据包进行重传。The transmitting end according to any one of claims 21, 22, 24-27, and 29-31, wherein the processor is further configured to: if it is determined that the feedback information of the second data packet is a NACK, And then retransmitting the second data packet.
  34. 根据权利要求20-33任一项所述的发送端,其特征在于,所述第一协议层包括媒体接入控制MAC层,所述第二协议层包括无线链路控制RLC层。The transmitting end according to any one of claims 20 to 33, wherein the first protocol layer comprises a medium access control MAC layer, and the second protocol layer comprises a radio link control RLC layer.
  35. 根据权利要求20-34任一项所述的发送端,其特征在于,所述重传协议包括混合自动重传请求HARQ协议。The transmitting end according to any one of claims 20 to 34, wherein the retransmission protocol comprises a hybrid automatic repeat request HARQ protocol.
  36. 一种接收端,其特征在于,包括:通信接口和处理器;A receiving end, comprising: a communication interface and a processor;
    所述通信接口,用于接收发送端基于重传协议发送的第一协议层的第一数据包,所述第一数据包中包括的第二协议层的第二数据包;The communication interface is configured to receive a first data packet of a first protocol layer that is sent by the sending end according to the retransmission protocol, and a second data packet of the second protocol layer that is included in the first data packet;
    所述处理器,用于根据所述第一数据包,确定所述第一数据包的反馈信息,所述反馈信息包括肯定应答ACK或否定应答NACK;The processor is configured to determine, according to the first data packet, feedback information of the first data packet, where the feedback information includes a positive acknowledgement ACK or a negative acknowledgement NACK;
    所述通信接口,还用于向所述发送端返回所述第一数据包的反馈信息,以使所述发送端根据所述反馈信息确定所述第二数据包的反馈信息。The communication interface is further configured to return feedback information of the first data packet to the sending end, so that the sending end determines feedback information of the second data packet according to the feedback information.
  37. 根据权利要求36所述的接收端,其特征在于,所述第一协议层包括媒体接入控制MAC层,所述第二协议层包括无线链路控制RLC层。The receiving end according to claim 36, wherein the first protocol layer comprises a medium access control MAC layer, and the second protocol layer comprises a radio link control RLC layer.
  38. 根据权利要求36或37所述的接收端,其特征在于,所述重传协议包括混合自动重传请求HARQ协议。The receiving end according to claim 36 or 37, wherein the retransmission protocol comprises a hybrid automatic repeat request HARQ protocol.
  39. 一种通信***,其特征在于,包括:发送端和接收端;A communication system, comprising: a transmitting end and a receiving end;
    所述发送端,用于基于重传协议,将第一协议层的第一数据包发送至所述接收端,所述第一数据包中包括第二协议层的第二数据包;The sending end is configured to send, according to a retransmission protocol, a first data packet of a first protocol layer to the receiving end, where the first data packet includes a second data packet of a second protocol layer;
    所述接收端,用于接收所述发送端发送的所述第一数据包,并根据所述第一数据包,向所述发送端返回所述第一数据包的反馈信息,所述反馈信息包括肯定应答ACK或否定应答NACK;The receiving end is configured to receive the first data packet sent by the sending end, and return, according to the first data packet, feedback information of the first data packet to the sending end, where the feedback information is Including positive acknowledgment ACK or negative acknowledgment NACK;
    所述发送端,还用于接收所述接收端返回的所述第一数据包的反馈信息,根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息。The sending end is further configured to receive feedback information of the first data packet returned by the receiving end, and determine feedback information of the second data packet according to the feedback information of the first data packet.
  40. 根据权利要求39所述的***,其特征在于,当所述第二数据包被封装在一个所述第一数据包时,所述发送端根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:The system according to claim 39, wherein when said second data packet is encapsulated in one of said first data packets, said transmitting end determines said said message based on said feedback information of said first data packet The feedback information of the second data packet specifically includes:
    若所述第一数据包的反馈信息为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet is an ACK, determining that the feedback information of the second data packet is an ACK;
    若所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  41. 根据权利要求39所述的***,其特征在于,当所述第二数据包被拆分封装在多个所述第一数据包时,所述发送端根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:The system according to claim 39, wherein when the second data packet is split and encapsulated in a plurality of the first data packets, the transmitting end is based on the feedback information of the first data packet. Determining the feedback information of the second data packet, specifically:
    若所述多个所述第一数据包的反馈信息都为ACK,则确定所述第二数据包的反馈信息为ACK;If the feedback information of the plurality of the first data packets is ACK, determining that the feedback information of the second data packet is an ACK;
    若所述多个所述第一数据包中任意一个第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet of the plurality of the first data packets is NACK and the number of retransmissions is greater than or equal to the preset number of times, determining that the feedback information of the second data packet is a NACK.
  42. 根据权利要求39-41任一项所述的***,其特征在于,所述发送端基于重传协议,将第一协议层的第一数据包发送至接收端,具体包括:The system according to any one of claims 39 to 41, wherein the transmitting end sends the first data packet of the first protocol layer to the receiving end, based on the retransmission protocol, and the method includes:
    所述发送端的第一协议层基于重传协议,将所述第一协议层的第一数据包发送至接收端;The first protocol layer of the sending end sends the first data packet of the first protocol layer to the receiving end according to the retransmission protocol;
    所述发送端还用于:所述第一协议层向所述第二协议层发送第一信息;所述第一信息包括所述第一数据包的标识以及所述第二数据包的标识;The sending end is further configured to: send, by the first protocol layer, the first information to the second protocol layer; the first information includes an identifier of the first data packet and an identifier of the second data packet;
    所述发送端根据所述第一数据包的反馈信息,确定所述第二数据包的反馈信息,具体包括:Determining, by the sending end, the feedback information of the second data packet according to the feedback information of the first data packet, specifically:
    所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,所述第二信息包括:所述第一数据包的标识以及所述第一数据包的反馈信息;Transmitting, by the first protocol layer, the second information to the second protocol layer according to the feedback information of the first data packet, where the second information includes: an identifier of the first data packet, and the first data Packet feedback information;
    所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息。The second protocol layer determines feedback information of the second data packet according to the first information and the second information.
  43. 根据权利要求42所述的***,其特征在于,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:The system according to claim 42, wherein the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
    若所述第一数据包的反馈信息为ACK,则向所述第二协议层发送第二信息;And if the feedback information of the first data packet is an ACK, sending the second information to the second protocol layer;
    若所述第一数据包的反馈信息为NACK,且所述第一数据包的重传次数大于或等于预设次数,则向所述第二协议层发送第二信息。And if the feedback information of the first data packet is a NACK, and the number of retransmissions of the first data packet is greater than or equal to a preset number of times, sending the second information to the second protocol layer.
  44. 根据权利要求43所述的***,其特征在于,所述发送端还用于:The system of claim 43 wherein said sender is further configured to:
    若所述第一数据包的反馈信息为NACK,但所述第一数据包的重传次数小于所述预设次数,则不向所述第二协议层发送第二信息。If the feedback information of the first data packet is a NACK, but the number of retransmissions of the first data packet is less than the preset number of times, the second information is not sent to the second protocol layer.
  45. 根据权利要求43或44所述的***,其特征在于,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:The system according to claim 43 or 44, wherein when said second data packet is encapsulated in one of said first data packets, said second protocol layer is based on said first information and said first The second information determines the feedback information of the second data packet, including:
    若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
    若所述第二信息中包括的所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is NACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is NACK.
  46. 根据权利要求43或44所述的***,其特征在于,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送第二信息包括:所述第一协议层向所述第二协议层发送与所述多个第一数据包分别对应的所述第二信息;The system according to claim 43 or 44, wherein when the second data packet is split and encapsulated in a plurality of the first data packets, the first protocol layer is directed to the second protocol layer The sending the second information includes: sending, by the first protocol layer, the second information corresponding to the plurality of first data packets to the second protocol layer;
    所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
    若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
    若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is a NACK, the second protocol layer is configured according to the first information The second information determines that the feedback information of the second data packet is a NACK.
  47. 根据权利要求42所述的***,其特征在于,所述第一协议层根据所述第一数据包的反馈信息,向所述第二协议层发送第二信息,包括:The system according to claim 42, wherein the first protocol layer sends the second information to the second protocol layer according to the feedback information of the first data packet, including:
    所述第一协议层在接收到所述第一数据包的反馈信息后,将所述第一数据包的标识以及所述第一数据包的反馈信息携带在第二信息中发送至所述第二协议层。After receiving the feedback information of the first data packet, the first protocol layer carries the identifier of the first data packet and the feedback information of the first data packet in the second information, and sends the information to the first Two protocol layers.
  48. 根据权利要求47所述的***,其特征在于,当所述第二数据包被封装在一个所述第一数据包时,所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:The system according to claim 47, wherein when said second data packet is encapsulated in one of said first data packets, said second protocol layer is based on said first information and said second information Determining feedback information of the second data packet, including:
    若所述第二信息中包括的所述第一数据包的反馈信息为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the feedback information of the first data packet included in the second information is an ACK, the second protocol layer determines feedback of the second data packet according to the first information and the second information. The information is ACK;
    若所述第二信息中包括的所述第一数据包的反馈信息为NACK,且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the feedback information of the first data packet included in the second information is a NACK, and the number of retransmissions is greater than or equal to a preset number of times, the second protocol layer is configured according to the first information and the second Information, determining that the feedback information of the second data packet is a NACK.
  49. 根据权利要求47所述的***,其特征在于,当所述第二数据包被拆分封装在多个所述第一数据包时,所述第一协议层向所述第二协议层发送所述第二信息,包括:所述第一协议层向所述第二协议层发送与所述多个第一数据包分别对应的所述第二信息;The system according to claim 47, wherein said first protocol layer transmits to said second protocol layer when said second data packet is split and encapsulated in said plurality of said first data packets The second information includes: the first protocol layer sending, to the second protocol layer, the second information corresponding to the plurality of first data packets respectively;
    所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息,包括:Determining, by the second protocol layer, the feedback information of the second data packet according to the first information and the second information, including:
    若所述多个第一数据包分别对应的第二信息中包括所述第一数据包的反馈信息均为ACK,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为ACK;If the second information corresponding to the plurality of first data packets includes the ACK of the first data packet, the second protocol layer is configured according to the first information and the second information, Determining that the feedback information of the second data packet is an ACK;
    若所述多个第一数据包分别对应的第二信息中任意一个第二信息包括所述第一数据包的反馈信息为NACK且重传次数大于或等于预设次数,则所述第二协议层根据所述第一信息和所述第二信息,确定所述第二数据包的反馈信息为NACK。If the second information of the second information corresponding to the plurality of first data packets includes that the feedback information of the first data packet is NACK and the number of retransmissions is greater than or equal to a preset number of times, the second protocol The layer determines, according to the first information and the second information, that the feedback information of the second data packet is a NACK.
  50. 根据权利要求42-49任一项所述的***,其特征在于,所述第一信息中还包括所述第二数据包的分段标识,所述分段标识用于指示是否为所述第二数据包最后一个分段。The system according to any one of claims 42 to 49, wherein the first information further includes a segment identifier of the second data packet, and the segment identifier is used to indicate whether the first The last segment of the second packet.
  51. 根据权利要求42-50任一项所述的***,其特征在于,所述第一数据包的标识基于承载所述第一数据包的无线帧的***帧号以及子帧的子帧号 表示。A system according to any one of claims 42 to 50, wherein the identification of the first data packet is based on a system frame number of a radio frame carrying the first data packet and a subframe number of the subframe.
  52. 根据权利要求40、41、43-46、48-52中任一项所述的***,其特征在于,所述发送端还用于:若确定所述第二数据包的反馈信息为NACK,则对所述第二数据包进行重传。The system according to any one of claims 40, 41, 43-46, and 48-52, wherein the transmitting end is further configured to: if it is determined that the feedback information of the second data packet is NACK, Retransmitting the second data packet.
  53. 根据权利要求39-52任一项所述的***,其特征在于,所述第一协议层包括媒体接入控制MAC层,所述第二协议层包括无线链路控制RLC层。The system of any of claims 39-52, wherein the first protocol layer comprises a medium access control MAC layer and the second protocol layer comprises a radio link control RLC layer.
  54. 根据权利要求39-53任一项所述的***,其特征在于,所述重传协议包括混合自动重传请求HARQ协议。A system according to any of claims 39-53, wherein said retransmission protocol comprises a hybrid automatic repeat request HARQ protocol.
  55. 一种存储介质,其上存储有计算机指令,其特征在于,所述计算机指令被处理器执行时实现权利要求1-16任一项所述的方法。A storage medium having computer instructions stored thereon, wherein the computer instructions are executed by a processor to implement the method of any of claims 1-16.
  56. 一种存储介质,其上存储有计算机指令,其特征在于,所述计算机指令被处理器执行时实现权利要求17-19任一项所述的方法。A storage medium having computer instructions stored thereon, wherein the computer instructions are executed by a processor to implement the method of any of claims 17-19.
PCT/CN2017/120268 2017-12-29 2017-12-29 Feedback determination method, sending end, receiving end and system WO2019127533A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/120268 WO2019127533A1 (en) 2017-12-29 2017-12-29 Feedback determination method, sending end, receiving end and system
CN201780027290.0A CN109155697A (en) 2017-12-29 2017-12-29 Determine method, transmitting terminal, receiving end and the system of feedback

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/120268 WO2019127533A1 (en) 2017-12-29 2017-12-29 Feedback determination method, sending end, receiving end and system

Publications (1)

Publication Number Publication Date
WO2019127533A1 true WO2019127533A1 (en) 2019-07-04

Family

ID=64803458

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/120268 WO2019127533A1 (en) 2017-12-29 2017-12-29 Feedback determination method, sending end, receiving end and system

Country Status (2)

Country Link
CN (1) CN109155697A (en)
WO (1) WO2019127533A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111950941B (en) * 2020-10-13 2021-02-12 垒途智能教科技术研究院江苏有限公司 Industrial design system for improving interaction experience and interaction method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197646A (en) * 2007-12-28 2008-06-11 北京天碁科技有限公司 Data transmission method based on HSUPA
CN101267582A (en) * 2007-03-15 2008-09-17 展讯通信(上海)有限公司 Method and system for high-speed download packet access to ignored RLC confirmation state report
CN101277250A (en) * 2007-03-29 2008-10-01 上海宇梦通信科技有限公司 Method for reducing retransmission delay time of HSUPA data
US20100122137A1 (en) * 2008-11-07 2010-05-13 Samsung Electronics Co. Ltd. Communication system and method for transmitting or receiving packets therein
US20100257423A1 (en) * 2007-10-16 2010-10-07 Jin Ju Kim Method of performing arq procedure for transmitting high rate data
CN105681001A (en) * 2014-11-21 2016-06-15 中兴通讯股份有限公司 Method and device for realizing RLC (Radio Link Control) layer retransmission
CN105897385A (en) * 2011-11-24 2016-08-24 华为技术有限公司 Method for acknowledging transmission of RLC (Radio Link Control) data packet and RLC AM (Acknowledge Mode) entity sender

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549736A (en) * 2015-09-17 2017-03-29 ***通信集团公司 A kind of cross-carrier rlc layer data repeating method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267582A (en) * 2007-03-15 2008-09-17 展讯通信(上海)有限公司 Method and system for high-speed download packet access to ignored RLC confirmation state report
CN101277250A (en) * 2007-03-29 2008-10-01 上海宇梦通信科技有限公司 Method for reducing retransmission delay time of HSUPA data
US20100257423A1 (en) * 2007-10-16 2010-10-07 Jin Ju Kim Method of performing arq procedure for transmitting high rate data
CN101197646A (en) * 2007-12-28 2008-06-11 北京天碁科技有限公司 Data transmission method based on HSUPA
US20100122137A1 (en) * 2008-11-07 2010-05-13 Samsung Electronics Co. Ltd. Communication system and method for transmitting or receiving packets therein
CN105897385A (en) * 2011-11-24 2016-08-24 华为技术有限公司 Method for acknowledging transmission of RLC (Radio Link Control) data packet and RLC AM (Acknowledge Mode) entity sender
CN105681001A (en) * 2014-11-21 2016-06-15 中兴通讯股份有限公司 Method and device for realizing RLC (Radio Link Control) layer retransmission

Also Published As

Publication number Publication date
CN109155697A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
USRE49490E1 (en) HARQ-ACK handling for unintended downlink sub-frames
JP6419245B2 (en) Method and apparatus in communication system
EP3251257B1 (en) System and method for data retransmission
CN106788911A (en) A kind of method and apparatus of message retransmission
WO2015192322A1 (en) Radio resource scheduling method and apparatus
WO2009155826A1 (en) Uplink data transmission method, terminal apparatus
US10530537B2 (en) Method and apparatus for retransmission in communication system
WO2018082582A1 (en) Data transmission method and device, and computer storage medium
JP2015188255A (en) Method for wirelessly charging mobile terminal
US9037936B2 (en) Apparatus and method for generating MAC protocol data unit in wireless communication system
KR102323799B1 (en) Terminal, base station, and transmitting method thereof in a wireless communication system
WO2015054855A1 (en) Data transmission method, apparatus, and device
KR20190097963A (en) Method for transmitting and receiving data in wireless communication system and apparatus for the same
WO2014101111A1 (en) Data transmission method and device
WO2019127533A1 (en) Feedback determination method, sending end, receiving end and system
CN105681001B (en) Method and device for realizing RLC layer retransmission
WO2019128937A1 (en) Uplink data scheduling method and relevant device
WO2013170464A1 (en) Method for transmitting or receiving uplink sps service data, user equipment, and base station
WO2019193448A1 (en) Method and apparatus for multi‑hop arq
JP2013026820A (en) Communication apparatus, communication method and communication system
WO2024007572A1 (en) Packet processing method and apparatus, storage medium, and program product
US10419167B2 (en) RLC data packet retransmission method and eNodeB
WO2018133004A1 (en) Data retransmission method and device

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17936873

Country of ref document: EP

Kind code of ref document: A1