Search

CN-122027092-A - Method and related device for notifying data packet

CN122027092ACN 122027092 ACN122027092 ACN 122027092ACN-122027092-A

Abstract

The application provides a notification method and a related device of a data packet, and relates to the technical field of communication. In the method, a first report is received, which can be used for indicating the state of a data packet sent by a sending end to a receiving end, a first data packet is determined based on the first report, wherein the first data packet is a data packet which is determined to stop transmission by the sending end and is a data packet which is waiting to be received by the receiving end, and then first information is sent based on the first data packet and is used for notifying the receiving end of the data packet which stops transmission. Therefore, the data packet waiting for receiving by the receiving end can be fed back from the first report, the sending end can determine that the receiving end still waits for receiving but can not transmit the data packet to the receiving end any more based on the first report, and then the data packet is notified to the receiving end, so that the receiving end can avoid waiting continuously, and the problem of stagnation of the receiving window caused by waiting for the data packet of which the sending end stops transmitting can be avoided, thereby promoting normal sliding of the receiving window.

Inventors

  • ZHANG MINGZHU
  • PANG LINGLI

Assignees

  • 荣耀终端股份有限公司

Dates

Publication Date
20260512
Application Date
20241108

Claims (20)

  1. 1. The notification method of the data packet is characterized by being applied to a sending end and comprising the following steps: The method comprises the steps of receiving a first report, wherein the first report is used for indicating the state of a data packet sent by a sending end to a receiving end; determining a first data packet based on the first report, wherein the first data packet is a data packet which is determined to stop transmission for the transmitting end and is a data packet waiting to be received for the receiving end; and sending first information based on the first data packet, wherein the first information is used for notifying the receiving end of the data packet which stops transmitting.
  2. 2. The method of claim 1, wherein the sender determining to stop transmitting packets comprises the sender determining packets that have been dropped.
  3. 3. The method of claim 1, wherein the data packets waiting for receipt by the receiving end comprise data packets not received completely by the receiving end.
  4. 4. The method of claim 1, wherein the receiving side waiting for a received packet includes excluding packets that the receiving side determined to have been discarded and packets that the receiving side determined to have been completely received, or wherein the receiving side waiting for a received packet includes excluding packets that the receiving side determined to have been completely received.
  5. 5. A method as claimed in claim 3, wherein the first information comprises a first bit, a first value of the first bit indicating that the corresponding data packet is stopped from transmission, and a second value of the first bit indicating that the corresponding data packet is not stopped from transmission.
  6. 6. The method of claim 5, wherein the first bit corresponds one-to-one to packets that are not fully received by the receiving end.
  7. 7. The method of claim 5, wherein the first bit corresponds one-to-one with consecutive data packets indicated by the first report.
  8. 8. The method of claim 5, wherein the first information further comprises a first sequence number, the first sequence number being used to indicate a smallest sequence number among sequence numbers corresponding to the first data packet, the first bit being in one-to-one correspondence with consecutive data packets having sequence numbers greater than or equal to the first sequence number.
  9. 9. The method of claim 3 or 4, wherein the first information includes a second sequence number, the second sequence number corresponding one-to-one to the first data packet.
  10. 10. The method of claim 1, wherein the first information is sent by the sender to a data packet that is first sent by the receiver, or wherein the first information is sent by the sender to a data packet that is retransmitted by the receiver.
  11. 11. The method of claim 10, wherein the first information includes a third sequence number and a field, the third sequence number being used to indicate a sequence number of a data packet that is first transmitted by the transmitting end to the receiving end, or to indicate a sequence number of a data packet that is retransmitted by the transmitting end to the receiving end, and the field being used to indicate that one or more data packets that have a sequence number less than the third sequence number are to be stopped from being transmitted.
  12. 12. The method of claim 11, wherein the field comprises a first field comprising a first number, the first field indicating that consecutive first number of data packets having a sequence number less than and adjacent to the third sequence number stop transmission.
  13. 13. The method of claim 11, wherein the field comprises a second field comprising a second number, wherein the second field indicates a difference between a sequence number of a data packet stopped from transmission and the third sequence number minus 1 or a difference greater than or equal to the second number.
  14. 14. The method of claim 11, wherein the fields comprise a first field and a second field, the first field comprising a third number, the second field comprising a fourth number, the second field indicating a difference between a sequence number of a data packet that is stopped from transmission and the third sequence number minus 1 or a difference greater than or equal to the fourth number, the third number being the number of data packets that are stopped from transmission indicated by the second field.
  15. 15. The method of any one of claims 1-14, further comprising: the second information is used for indicating the sending end to stop transmitting the discarded data packet; And determining the data packet which stops transmitting based on the second information.
  16. 16. The method of claim 15, further comprising, after said determining to stop transmitting the data packet based on the second information: the third information is used for indicating the sending end to transmit the discarded data packet; based on the third information, the sending end does not execute the action of determining the data packet of which transmission is stopped.
  17. 17. The method according to any one of claims 1-16, wherein said transmitting first information based on said first data packet comprises: and transmitting first information based on the first data packet under the condition that the prohibition timer is not operated.
  18. 18. The method according to any one of claims 1-17, wherein said transmitting first information based on said first data packet comprises: And transmitting the first information based on the first data packet and fourth information, wherein the fourth information is used for indicating the transmitting end to transmit the first information.
  19. 19. The notification method of the data packet is characterized by being applied to a receiving end and comprising the following steps: based on the discard timer and/or the reorder timer, determining the state of the data packet sent by the sending end to the receiving end; And the first report is used for indicating the state of the data packet sent by the sending end to the receiving end.
  20. 20. The method as recited in claim 19, further comprising: and receiving first information, wherein the first information is used for notifying the receiving end of the data packet which stops transmitting.

Description

Method and related device for notifying data packet Technical Field The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for notifying a data packet. Background The wireless communication system includes a radio link control layer (Radio Link Control, RLC) and a packet data convergence protocol layer (PACKETDATA CONVERGENCE PROTOCOL, PDCP). The RLC protocol has a retransmission mechanism, after the transmitting end transmits the data packet to the receiving end, the receiving end determines that the data packet is not received completely (e.g., the segment of the data packet is not received or is only received), and the receiving end may transmit a first report indicating the status of the data packet to the transmitting end, and then the transmitting end may retransmit the data packet whose status is not received completely based on the retransmission mechanism. At present, on the side of the transmitting end, there may be some packets stopping transmission, the PDCP layer of the transmitting end may notify the RLC layer of the transmitting end of the packets confirming that the transmission is stopped or the packets confirming that the transmission has been discarded, and the RLC may stop transmitting the packets, if the transmitting end has previously transmitted the packets to the receiving end, the transmitting end will not retransmit the packets if the receiving end has not completely received the packets. However, the receiving end still waits for the retransmission of the data packet, which may cause the receiving window of the receiving end to stagnate, thereby affecting the data communication efficiency between the transmitting end and the receiving end. Disclosure of Invention In order to solve the above problems, the present application provides a method for notifying a data packet and a related device, which aim to notify a receiving end in time when a data packet whose transmission is stopped exists at a transmitting end, so as to push a receiving window of the receiving end to slide normally, thereby avoiding affecting the data communication efficiency between the transmitting end and the receiving end. In a first aspect, the present application provides a method for notifying a data packet, which is applied to a transmitting end. The transmitting end may be a network device, the receiving end may be a terminal device, and the transmitting end may be a terminal device, and the receiving end may be a network device. In the method, the transmitting end receives a first report, which may be used to indicate the status of a data packet transmitted from the transmitting end to the receiving end, including at least one of a NACK status of an incompletely received data packet, an ACK status of a completely received data packet, and a discard status or an ACK status of a data packet that has been discarded by the receiving end, for example. The transmitting end can determine a first data packet based on the first report, wherein the first data packet is a data packet which is determined to stop transmission by the transmitting end and a data packet which is waiting to be received by the receiving end, and then the transmitting end can send first information based on the first data packet, wherein the first information is used for notifying the receiving end of the data packet which stops transmission. Therefore, the data packet waiting for receiving by the receiving end can be fed back from the first report, the sending end can determine that the receiving end still waits for receiving but can not transmit the data packet to the receiving end any more based on the first report, and then the receiving end is notified, so that the receiving end can not need to continue waiting, the problem of stagnation of the receiving window caused by waiting for the data packet of which the sending end stops transmitting can be avoided, the sliding of the receiving window is pushed, and the data communication efficiency between the sending end and the receiving end is improved. In one possible implementation, the data packet that the sender determines to stop transmitting may include a data packet that the sender determines to have been discarded, e.g., the PDCP layer of the sender informs the RLC layer of the sender of a data packet that has been discarded, and the RLC layer of the sender may determine to stop transmitting a data packet that has been discarded. Therefore, the discarded data packet which is stopped from being transmitted by the transmitting end is notified to the receiving end, and the problem of stagnation of a receiving window caused by continuous waiting of the receiving end is avoided. In one possible implementation, the data packet that the receiving end waits to receive includes a data packet that the receiving end has not received completely, and may include a data packet in a NACK state, for example. Therefore, the sendi