Patent ID: 9370032
Filing Date: 2016-06-14
CPC Classification: H04W

Claim Text:
1. A method, performed by a mobile terminal, for processing service based on packet data protocol (PDP) by using an Android system, comprising: determining a service type of a first service when a first service request is received, wherein the service type is one of preset service types including at least a default type and a MMS (Multimedia Messaging Service) type; judging whether a PDP currently in an activated state can process the first service according to the service type of the first service; creating a first PDP in the Android system according to the service type of the first service with the PDP currently in the activated state being retained, when the PDP currently in the activated state cannot process the first service, to generate a new network interface corresponding to the first PDP, so that multiple PDPs in the Android system are in activated state simultaneously and multiple network interfaces used for multiple activated PDPs correspond to multiple IP addresses, wherein creating the first PDP according to the service type of the first service with the PDP currently in the activated state being retained, when the PDP currently in the activated state cannot process the first service to generate a new network interface corresponding to the first PDP comprises: if the Android system does not have an idle network interface, deactivating a PDP in the activated state, activating the first PDP according to the configuration of the APN that processes the first service, to generate a new network interface corresponding to the first PDP; before creating the first PDP according to the service type of the first service with the PDP currently in the activated state being retained, judging whether the Android system has any idle network interface; establishing a connection channel between the first PDP and corresponding service type, so that the service data of such type can be transmitted through the first PDP; notifying an application corresponding to the first service that the first PDP is activated to process the first service through the first PDP; wherein establishing the connection channel between the first PDP and corresponding service type comprises: adding a gateway address configured by an Access Point Name (APN) corresponding to the first PDP to a routing table of the Android system, if the APN has the gateway; and binding a socket created by the application corresponding to the first service to the generated network interface corresponding to the first PDP, if the APN has no gateway.