MOBILE DEVICE AND METHOD FOR CORRECTING ERRORS OCCURRING IN ATTENTION COMMANDS OF THE MOBILE DEVICE
First Claim
1. A mobile device, comprising:
- a first user identity module (UIM) chipset and a second UIM chipset;
a buffer, a timer, and a microprocessor; and
one or more programs stored in a storage system and executed by the microprocessor, the one or more programs comprising;
a command backup module operable to set a response time for a communication between the first UIM chipset and the second chipset according to an attention (AT) command, backup the AT command into the buffer, and count a communication time of the communication between the first UIM chipset and the second chipset using the timer;
a command listening module operable to determine whether the communication time exceeds the response time, check whether the first UIM chipset is unworkable when the communication time exceeds the response time, restart the first UIM chipset using a watchdog timer if the first UIM chipset is unworkable, check whether the second UIM chipset is unworkable if the first UIM chipset is workable, and restart the second UIM chipset by resetting voltage levels of I/O pins of the second UIM chipset if the second UIM chipset is unworkable;
an error correcting module operable to generate an interruption command if the second UIM chipset is workable, send the interruption command to the first UIM chipset and the UIM second chipset, and clear the communication data stored in the buffer when the interruption command is received by the first UIM chipset and the UIM second chipset; and
a communication module operable to read the AT command from the buffer, resend the backup AT command to a data transmission channel between the first UIM chipset and the second chipset, and control the first UIM chipset to communicate with the UIM second chipset according to the AT command.
1 Assignment
0 Petitions
Accused Products
Abstract
In a method for correcting errors occurring in attention (AT) commands of a mobile device, the mobile device includes a first user identity module (UIM) chipset, a second UIM chipset, a buffer and a timer. The method sets a response time for a communication between the first UIM chipset and the second chipset according to an AT command, backups the AT command into the buffer, and counts a communication time using the timer. When the communication time exceeds the response time, the method restarts the first UIM chipset using a watchdog timer and restarts the second UIM chipset by resetting voltage levels of I/O pins of the second UIM chipset. The method further clears the communication data stored in the buffer, reads the AT command from the buffer and resends the AT command to control the first UIM chipset to communicate with the UIM second chipset normally.
-
Citations
19 Claims
-
1. A mobile device, comprising:
-
a first user identity module (UIM) chipset and a second UIM chipset; a buffer, a timer, and a microprocessor; and one or more programs stored in a storage system and executed by the microprocessor, the one or more programs comprising; a command backup module operable to set a response time for a communication between the first UIM chipset and the second chipset according to an attention (AT) command, backup the AT command into the buffer, and count a communication time of the communication between the first UIM chipset and the second chipset using the timer; a command listening module operable to determine whether the communication time exceeds the response time, check whether the first UIM chipset is unworkable when the communication time exceeds the response time, restart the first UIM chipset using a watchdog timer if the first UIM chipset is unworkable, check whether the second UIM chipset is unworkable if the first UIM chipset is workable, and restart the second UIM chipset by resetting voltage levels of I/O pins of the second UIM chipset if the second UIM chipset is unworkable; an error correcting module operable to generate an interruption command if the second UIM chipset is workable, send the interruption command to the first UIM chipset and the UIM second chipset, and clear the communication data stored in the buffer when the interruption command is received by the first UIM chipset and the UIM second chipset; and a communication module operable to read the AT command from the buffer, resend the backup AT command to a data transmission channel between the first UIM chipset and the second chipset, and control the first UIM chipset to communicate with the UIM second chipset according to the AT command. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for correcting errors occurring in attention (AT) commands of a mobile device, the mobile device comprising a first user identity module (UIM) chipset, a second UIM chipset, a buffer and a timer, the method comprising:
-
setting a response time for a communication between the first UIM chipset and the second chipset according to an AT command; backing-up the AT command into the buffer, and counting a communication time of the communication between the first UIM chipset and the second chipset using the timer; determining whether the communication time exceeds the response time; checking whether the first UIM chipset is unworkable when the communication time exceeds the response time; restarting the first UIM chipset using a watchdog timer if the first UIM chipset is unworkable; checking whether the second UIM chipset is unworkable if the first UIM chipset is workable; restarting the second UIM chipset by resetting voltage levels of I/O pins of the second UIM chipset if the second UIM chipset is unworkable; generating an interruption command if the second UIM chipset is workable, and sending the interruption command to the first UIM chipset and the UIM second chipset; clearing the communication data stored in the buffer when the interruption command is received by the first UIM chipset and the UIM second chipset; reading the AT command from the buffer and resending the backup AT command to a data transmission channel between the first UIM chipset and the second chipset; and controlling the first UIM chipset to communicate with the UIM second chipset according to the AT command. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A non-transitory storage medium having stored thereon instructions that, when is executed by at least one microprocessor of a mobile device, causes the mobile device to perform a method for correcting errors occurring in attention (AT) commands, the mobile device comprising a first user identity module (UIM) chipset, a second UIM chipset, a buffer and a timer, the method comprising:
-
setting a response time for a communication between the first UIM chipset and the second chipset according to an AT command; backing-up the AT command into the buffer, and counting a communication time of the communication between the first UIM chipset and the second chipset using the timer; determining whether the communication time exceeds the response time; checking whether the first UIM chipset is unworkable when the communication time exceeds the response time; restarting the first UIM chipset using a watchdog timer if the first UIM chipset is unworkable; checking whether the second UIM chipset is unworkable if the first UIM chipset is workable; restarting the second UIM chipset by resetting voltage levels of I/O pins of the second UIM chipset if the second UIM chipset is unworkable; generating an interruption command if the second UIM chipset is workable, and sending the interruption command to the first UIM chipset and the UIM second chipset; clearing the communication data stored in the buffer when the interruption command is received by the first UIM chipset and the UIM second chipset; reading the AT command from the buffer and resending the backup AT command to a data transmission channel between the first UIM chipset and the second chipset; and controlling the first UIM chipset to communicate with the UIM second chipset according to the AT command. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
Specification