Summary of the invention
Technical problem solved by the invention provides the closedown method of a kind of TD-SCDMA and GSM mode mobile terminal, has solved the problem of TD-SCDMA and GSM mode mobile terminal phase mutual interference between when shutdown two kinds of standards.
Technical scheme is as follows:
The closedown method step of TD-SCDMA and GSM mode mobile terminal is as follows:
(1) receive the push button signalling of shutdown after, preserve current standby mode;
(2) select standby mode; Described standby mode comprises: single standby mode, dual standby mode or do not have the standard standby mode; Described single standby mode comprises TD-SCDMA standby mode or GSM standby mode; In the described dual standby mode, TD-SCDMA standby mode and GSM standby mode are worked simultaneously;
(3) shut down according to standby mode, when portable terminal was in no standard standby mode in the step (2), portable terminal directly shut down.
Further, in the step (1), receive the push button signalling of shutdown after, portable terminal is kept at current standby mode in the memory.
Further, step (1) is specially:
(11) receive the push button signalling of shutdown after, obtain the standby mode of portable terminal;
(12) current standby mode is kept in the memory.
Further, step (2) is specially:
(21) enter shutdown process according to described standby mode;
(22) judge standby mode, select shutdown programm.
Further, in the step (22), when portable terminal was in dual standby mode, step (3) was specially:
(31) close the TD-SCDMA standby mode;
(32) close the GSM standby mode, finish shutdown.
Further, in the step (22), when portable terminal was in dual standby mode, step (3) was specially:
(31) close the GSM standby mode;
(32) close the TD-SCDMA standby mode, finish shutdown.
Further, in the step (22), when portable terminal is not in dual standby mode, further judge the standby mode of portable terminal, when portable terminal is not in the TD-SCDMA standby mode, further judge the standby mode of portable terminal, when portable terminal is in the GSM standby mode, step (3) is specially: close the GSM standby mode, finish shutdown.
Further, in the step (22), when portable terminal is not in dual standby mode, further judge the standby mode of portable terminal, when portable terminal is not in the GSM standby mode, further judge the standby mode of portable terminal, when portable terminal is in the TD-SCDMA standby mode, step (3) is specially: close the TD-SCDMA standby mode, finish shutdown.
The inventive method owing to adopted in TD-SCDMA and two kinds of standards of GSM shuts down during in two standby in order, and that has avoided causing when shutdown between two kinds of standards interferes with each other.
Embodiment
With reference to the accompanying drawings, the preferred embodiments of the present invention are described in detail.
As shown in Figure 1, the closedown method step of TD-SCDMA and GSM mode mobile terminal is as follows:
1, receive the push button signalling of shutdown after, preserve current standby mode.
Step S101: receive the shutdown push button signalling, obtain the standby mode of portable terminal.
2, select standby mode.
Step S102: after obtaining current standby mode, standby mode is write in the memory (as flash) of terminal.
Mobile phone also can not carry out this operation, if do not need to read the standby standard when shutting down last time when start, this operation is to not influence of shutdown.
3, shut down according to standby mode.
Step S103:TD-SCDMA carries out different shutdown process with the GSM mode mobile terminal according to the standby mode that obtains.
Above-mentioned standby mode comprises: single standby mode, dual standby mode and do not have the standard standby mode.Wherein, single standby mode comprises TD-SCDMA standby mode and GSM standby mode; In the dual standby mode, TD-SCDMA standby mode and GSM standby mode are worked simultaneously.
Step S104: finish shutdown process, TD-SCDMA and GSM mode mobile terminal normal shutdown.
One of execution mode
After mobile phone is received the shutdown push button signalling, preserve current standby mode earlier, carry out different shutdown according to different standby modes then.If dual standby mode is closed the TD-SCDMA standard earlier, close the GSM standard again, finish shutdown process.
If not dual standby mode judges whether it is the single standby mode of GSM, if, close the GSM standard, finish shutdown process; If not, then further judge whether it is the single standby mode of TD-SCDMA, if, close the TD-SCDMA standard, finish shutdown process; If not then shutdown process is finished in directly shutdown.
With reference to shown in Figure 2, the concrete steps of the closedown method of TD-SCDMA and GSM mode mobile terminal are as follows:
1, receive the push button signalling of shutdown after, preserve current standby mode.
Step S201:TD-SCDMA and GSM mode mobile terminal receive the shutdown push button signalling.
Step S202: preserve current standby mode.
After obtaining current standby mode, standby mode is write in the memory of terminal.
2, select standby mode, shut down according to different standby modes.
Step S203:, carry out different shutdown process according to different standby modes.
Step S204: judge whether it is dual standby mode.
When being dual standby mode, execution in step S205; Otherwise execution in step S207.
Step S205: close the TD-SCDMA standby mode.
Step S206: close the GSM standby mode.
After carrying out above-mentioned steps, finish shutdown.
Step S207: when portable terminal is in dual standby mode, judge further whether portable terminal is in the GSM standby mode.
When portable terminal is in the GSM standby mode, execution in step S208; Otherwise, execution in step S209.
Step S208: close the GSM standby mode, finish shutdown.。
Step S209:, judge further whether portable terminal is in the TD-SCDMA standby mode when portable terminal is not in the GSM standby mode.
When portable terminal is in the TD-SCDMA standby mode, execution in step S210; Otherwise, execution in step S211.
Step S210: close the TD-SCDMA standby mode, finish shutdown.
Step S211: when portable terminal was not in the TD-SCDMA standby mode, directly shutdown process was finished in shutdown.
Two of execution mode
After mobile phone is received the shutdown push button signalling, preserve current standby mode earlier, carry out different shutdown according to different standby modes then.If dual standby mode is closed the GSM standard earlier, close the TD-SCDMA standard again, finish shutdown process.
If not dual standby mode judges whether it is the single standby mode of TD-SCDMA, if, close the TD-SCDMA standard, finish shutdown process; If not, then further judge whether it is the single standby mode of GSM, if, close the GSM standard, finish shutdown process; If not then shutdown process is finished in directly shutdown.
With reference to shown in Figure 3, the concrete steps of the closedown method of TD-SCDMA and GSM mode mobile terminal are as follows:
1, receive the push button signalling of shutdown after, preserve current standby mode.
Step S301:TD-SCDMA and GSM mode mobile terminal receive the shutdown push button signalling.
Step S302: preserve current standby mode.
After obtaining current standby mode, standby mode is write in the memory of terminal.
2, select standby mode, shut down according to different standby modes.
Step S303:, carry out different shutdown process according to different standby modes.
Step S304: judge whether it is dual standby mode.
When being dual standby mode, execution in step S305; Otherwise execution in step S307.
Step S305: close the GSM standby mode.
Step S306: close the TD-SCDMA standby mode.
After carrying out above-mentioned steps, finish shutdown.
Step S307: when portable terminal is in dual standby mode, judge further whether portable terminal is in the TD-SCDMA standby mode.
When portable terminal is in the TD-SCDMA standby mode, execution in step S308; Otherwise, execution in step S309.
Step S308: close the TD-SCDMA standby mode, finish shutdown.。
Step S309:, judge further whether portable terminal is in the GSM standby mode when portable terminal is not in the TD-SCDMA standby mode.
When portable terminal is in the GSM standby mode, execution in step S310; Otherwise, execution in step S311.
Step S310: close the GSM standby mode, finish shutdown.
Step S311: when portable terminal was not in the GSM standby mode, directly shutdown process was finished in shutdown.
In addition, when portable terminal was in no standard standby mode, portable terminal directly shut down.