Patent ID: 7636303

Claim:
A packet receiving method of a mobile terminal, comprising: setting a call between a mobile terminal and a base station, setting a session between the mobile terminal and a packet data serving node (PDSN), and setting a transmission control protocol (TCP) connection between the terminal and a server; altering a task priority for a first time when the TCP connection is completed, said altering including setting a priority of a protocol stack (PS) to be greater than a priority of a user interface (UI); receiving packets; storing the packets in a TCP queue; monitoring a number of packets stored in the TCP queue; monitoring a number of signals stored in a UI task signal queue; if the number of packets in the TCP queue exceeds a first value or the number of signals in the UI task signal queue exceeds a second value, then altering the task priority for a second time, said altering the task priority for a second time including setting the priority of the UI to be greater than the priority of the PS; and if the number of packets in the TCP queue falls below a third value or the number of signals in the UI task signal queue is less than a fourth value, then altering the task priority for a third time, said altering the task priority for a third time includes setting the priority of the PS to be greater than the priority of the UI, wherein altering the task priority for the first time and the second time includes altering tasks to be performed within the mobile terminal and wherein the TCP queue and UI task signal queue are located within the mobile terminal.