Method and apparatus for managing buffer in wireless communication system
A method for managing a buffer by a base station in a wireless communication system is provided. The method includes calculating a transmission delay time that is an average of waiting time of packets transmitted for a predetermined time, identifying whether the calculated transmission delay time is greater than a preset delay time threshold value, and rearranging, if the transmission delay time is greater than the delay time threshold value, a transmission order of the packets in the buffer.
1. A method by a base station, the method comprising:
calculating a transmission delay time that is an average of waiting time of packets transmitted for a certain time;
identifying whether the transmission delay time is greater than a preset delay time threshold value; and
rearranging, based on the transmission delay time being greater than the preset delay time threshold value, a transmission order of packets to be transmitted in a buffer to decrease a window size for a packet transmission, by moving a packet to be first transmitted to a certain position;
determining whether the transmission delay time is reduced; and
rearranging, based on the transmission delay time being not reduced, the transmission order of the packets to be transmitted,
wherein the transmission order of the packets to be transmitted is determined based on a number of duplication acknowledge (DUP ACK)s for decreasing the window size, the DUP ACKs including same packet identification information.
2. The method of claim 1 ,
wherein the window size indicates a maximum amount of packets that can be transmitted without receiving an acknowledge (ACK) signal.
3. The method of claim 2 , wherein the certain position comprises a position to which a fourth packet is transmitted, if the number of DUP ACKs is 3.
4. The method of claim 2 , further comprising:
receiving packets corresponding to the window size determined based on a movement of the packet to be first transmitted.
5. The method of claim 4 , wherein the window size is determined to be a half of a previous window size based on the DUP ACKs including the same packet identification information being received.
6. A base station, the base station comprising:
a transceiver; and
a controller configured to:
calculate a transmission delay time that is an average of a waiting time of packets transmitted for a certain time,
identify whether the transmission delay time is greater than a preset delay time threshold value, and
rearrange, based on the transmission delay time being greater than the preset delay time threshold value, a transmission order of packets to be transmitted in a buffer to decrease a window size for a packet transmission, by moving a packet to be first transmitted to a certain position,
determine whether the transmission delay time is reduced; and
rearrange, based on the transmission delay time being not reduced, the transmission order of the packets to be transmitted,
wherein the transmission order of the packets to be transmitted is determined based on a number of duplication acknowledge (DUP ACK)s for decreasing the window size, the DUP ACKs including same packet identification information.
7. The base station of claim 6 ,
wherein the window size indicates a maximum amount of packets that can be transmitted without receiving an acknowledge (ACK) signal.
8. The base station of claim 7 , wherein the certain position comprises a position to which a fourth packet is transmitted, if the number of DUP ACKs is 3.
9. The base station of claim 7 , wherein the controller is further configured to receive packets corresponding to the window size determined based on a movement of the packet to be first transmitted.
10. The base station of claim 9 , wherein the window size is determined to be a half of a previous window size based on the DUP ACKs including the same packet identification information being received.