Patent ID: 8526513

Claim:
A method for transmitting data, comprising: receiving at a receiver a data unit sent by a sending end; when it is determined that the data unit comprises a flag indicating that a retransmission is not needed, saving the data unit in a retransmission buffer of the receiving end; when it is determined that the data unit does not comprise the flag indicating that the retransmission is not needed, judging whether the data unit is a new data unit; if the data unit is the new data unit, saving the data unit in the retransmission buffer of the receiving end; and if the data unit is not the new data unit, judging whether the data unit is incorrect; if the data unit is incorrect, discarding the data unit; if the data unit is not incorrect, further judging whether the data unit times out; if the data unit times out, discarding the data unit; and if the data unit does not time out, saving the data unit in the retransmission buffer of the receiving end; marking the data unit in the retransmission buffer of the receiving end with an additional flag through monitoring a delay status, wherein the additional flag indicates a processing manner after an upper layer receives the data unit; and submitting the data unit to the upper layer, so that the upper layer processes the data unit according to the additional flag.