Patent ID: 9232453
Filing Date: 2016-01-05
CPC Classification: H04L,H04W

Claim Text:
1. A method for processing AT commands when a mobile phone loses coverage or is performing mode switching, comprising: if the mobile phone camps on a first mode after being powered on, setting, by a protocol stack, a current mode and a backup mode as the first mode; after the mobile phone loses coverage, if there is an AT command to be issued, by an AT Interpreter (ATI) module, acquiring the backup mode, and sending the AT command to a Non-Access Stratum (NAS) of the first mode corresponding to the backup mode for processing; when the mobile phone switches from the first mode to a second mode, modifying, by a general control module, the current mode and the backup mode to the second mode and then notifying the NAS of the first mode to perform a switching operation, when there is an AT command to be issued, delivering, by the ATI module, the AT command to the NAS of the second mode for caching, and processing, by the NAS of the second mode, a cached AT command after the switching operation ends.