Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, in an embodiment of the method for a kind of SIMLOCK unblock provided by the invention, described method can comprise the following steps:
110, terminal obtains the system time of network;
Terminal is from Network Capture system time, in one embodiment of the invention, described system time can be the system time from described Network Capture, also can be the system time from other Network Captures, for grid lock in time, system time can be obtained from its system synchronization message, for asynchronous time system, if it has system synchronization message, then also can obtain system time from its system synchronization message.
It should be noted that, those skilled in the art can adopt in various manners, from various Network Capture system time, the present invention to obtain system time concrete mode and be not construed as limiting.
120, terminal is judged whether in the term of validity of SIMLOCK, if not then SIMLOCK unlocks by terminal according to described system time.
Terminal judges terminal whether in the term of validity of SIMLOCK according to described system time, can by the time point used with terminal first time, add the deadline time of the term of validity of SIMLOCK, if result of calculation is greater than described system time, then can judge that terminal is not in the term of validity of SIMLOCK, then SIMLOCK unlocks by terminal.SIMLOCK can be unlocked by the SIMLOCK configuration information in amendment terminal by terminal.It should be noted that, those skilled in the art can adopt in various manners, is unlocked by SIMLOCK in end side, and the concrete mode that the present invention unlocks SIMLOCK is also not construed as limiting.
The method that the embodiment of the present invention provides obtains the system time of network by terminal, terminal is judged not when the term of validity of SIMLOCK according to system time, realize the judgement of SIMLOCK unlocking condition in end side and unlock, network side is not needed to send SIMLOCK unlock command to end side, also after need not reclaiming terminal, SIMLOCK is carried out to terminal and unlock process, do not need the participation of network side, do not need labor intensive to reclaim terminal and carry out SIMLOCK to terminal to unlock process yet, reduce the burden of network side, reduce maintenance cost simultaneously.
As shown in Figure 2, in an embodiment of method provided by the invention, before described step 110, described method also comprises step:
210, endpoint registration authenticated network;
Described terminal registration network also carries out authentication to network.Authentication can be realized by bi-directional authentification of the prior art, is not restricted herein.Terminal authentication network is the legitimacy in order to ensure network, thus ensures the reliability from the system time of described Network Capture.
220, judge whether network authentication passes through, and if so, then enters step 110, otherwise, enter step 210.
Terminal then enters step 110 after passing through network authentication, from described Network Capture system time, otherwise, then enter step 210, continue to register and authentication network.In an embodiment of method provided by the invention, described step 110 is specially, and terminal is from described Network Capture system time.Terminal can also be passed through from other Network Capture system times, and the present invention is not construed as limiting the mode that terminal obtains system time.
In the embodiment of the present invention, by the authentication of terminal to network, ensure that the legitimacy of network, thus improve the reliability of the system time from described Network Capture.
As shown in Figure 2, in an embodiment of method provided by the invention, described step 120 can comprise step:
230, terminal is judged whether in the term of validity of SIMLOCK, if then unlock Flow ends, otherwise, then enter step 240;
240, SIMLOCK unlocks by terminal.
In the embodiment of the present invention, terminal is judged whether in the term of validity of SIMLOCK according to the system time obtained from network, determine whether in terminal, SIMLOCK being unlocked, network side is not needed to send SIMLOCK unlock command to end side, also after need not reclaiming terminal, SIMLOCK is carried out to terminal and unlock process, thus alleviate the burden of network side, save the resource of network side, reduce maintenance cost simultaneously.
As shown in Figure 3, in an embodiment of method provided by the invention, after described step 240, can step be comprised:
340, notify that user SIMLOCK unlocks.
Can provide prompting message by the mode such as word, voice to user, prompting user SIMLOCK unlocks.By providing prompting message from end side to user, eliminating network side and issuing prompting message to terminal, point out user SIMLOCK to unlock, further mitigate the burden of network, reduce cost.
The embodiment of the present invention additionally provides the terminal that a kind of SIMLOCK unlocks, and as shown in Figure 4, in an embodiment of terminal provided by the invention, described terminal comprises:
Data obtaining module 410, for obtaining the system time of network;
Unlock judge module 420, the described system time for obtaining according to described data obtaining module 410 judges described terminal whether in the term of validity of SIMLOCK;
Unlocked state 430, during for judging the term of validity of described terminal not at SIMLOCK when described unblock judge module 420, carries out SIMLOCK unblock to described terminal.
Described data obtaining module 410 can specifically for from described Network Capture system time, or from from other Network Capture system times, for grid lock in time, system time can be obtained from its system synchronization message, for asynchronous time system, if it has system synchronization message, then can obtain system time from its system synchronization message.
Lock in time system, may also be referred to as clock synchronization system, clock synchronization system is that one can receive external time reference signal, and the system of the outside output time synchronizing signal of time precision as requested and temporal information, and it can make other clock alignment in network and synchronous.
At present, these two wireless systems of TD-SCDMA, CDMA are systems lock in time, for these two systems, can obtain system time from its system synchronization message; These two wireless systems of WCDMA, LTE are asynchronous time system, for these two systems, it can provide system time not have mandatory requirement, but these networks of some operator still can obtain system time, therefore if not lock in time, system can provide system time, then can obtain system time from its system synchronization message.
It should be noted that, those skilled in the art can adopt in various manners, from various Network Capture system time, the present invention to obtain system time concrete mode and be not construed as limiting.By obtaining unified synchronous system time, described terminal can be judged more exactly whether in the term of validity of SIMLOCK, ensureing the reliability of judged result.
Described unblock judge module 420 can be specifically for: the time point used with terminal first time, add the deadline time of the term of validity of SIMLOCK, if result of calculation is greater than described system time, then judge terminal not in the term of validity of SIMLOCK, otherwise then in the term of validity of SIMLOCK.
In the embodiment of the present invention, terminal is judged whether in the term of validity of SIMLOCK according to the synchronous system time obtained from network, determine whether in terminal, SIMLOCK being unlocked, the judgement of SIMLOCK unlocking condition is realized in end side, thus realize SIMLOCK unblock, do not need network side to send SIMLOCK unlock command to end side, after need not reclaiming terminal, SIMLOCK is carried out to terminal yet and unlock process, alleviate the burden of network side, reduce maintenance cost simultaneously.
As shown in Figure 5, in an embodiment of terminal provided by the invention, described terminal also comprises: register and authentication module 510, for registering and authentication network, after described register and authentication module 510 pairs of network authentications pass through, described data obtaining module 410 is from described Network Capture system time.Terminal is registered and authentication network, and authentication can be realized by bi-directional authentification of the prior art, is not restricted herein.By terminal authentication network, ensure that the reliability of the legitimacy of network and the system time from described Network Capture.
As shown in Figure 5, in an embodiment of terminal provided by the invention, described terminal also comprises: reminding module 520, for carrying out pointing out user SIMLOCK to unlock after SIMLOCK unlocks to described terminal at described unlocked state 430.Can by the mode such as word, voice for user provide prompting message, prompting user SIMLOCK unlocks.There is provided prompting message by reminding module 520 to user, eliminate network side and issue prompting message to terminal, prompting user SIMLOCK unlocks, and further mitigates the burden of network, saves the resource of network side, reduce cost.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method can carry out instruction related hardware by program to have come, described program can be stored in the readable storage medium storing program for executing of a terminal, this program is when performing, comprise above-mentioned all or part of step, described storage medium, as: FLASH, EEPROM etc.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; different embodiments can combine; the foregoing is only the specific embodiment of the present invention, the protection range be not intended to limit the present invention, within the spirit and principles in the present invention all; any combination of making, amendment, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.