主权项 |
1. An apparatus for maintaining an Internet Protocol (IP) connection in a portable terminal, the apparatus comprising:
a memory storing a service quality interval corresponding to one of multiple services and applications having a push function; and a controller, when there is a request for registration of a service or an application having the push function, determining whether a first service quality interval corresponding to the service or application, registration of which has been requested, has been stored in the memory, and periodically transmitting a keep-alive message for maintaining the IP connection by using the first service quality interval when the first service quality interval has been stored in the memory, wherein, as a result of a comparison, when the first service quality interval has not been stored in the memory, the controller transmits a service quality request signal, which requests a service quality interval corresponding to the service or application, registration of which has been requested, to a server, receives a second service quality interval, as a response to the service quality request signal, from the server, and periodically transmits the keep-alive message by using the second service quality interval, and wherein the controller selects a minimum service quality interval among service quality intervals corresponding to the currently registered application or service and the first service quality interval, and periodically transmits the keep-alive message according to the selected minimum service quality interval when the selected minimum service quality interval is larger than a pre-appointed minimum reference value and is smaller than or equal to a pre-appointed maximum reference value. |