Background technology
It is as follows that mobile phone is searched the net flow process: behind the mobile phone power-on, at first can activate SIM card, read and search the necessary parameter of net.Deposit the file (LOCI file) of searching the net lastest imformation in the SIM card, the inside has comprised the net information of searching (network No. that landed last time, update mode) of last time.Wherein, update mode is divided 3 kinds: U1: upgrade (UPDATED), represent that the process of last position renewal has been finished, and receive sure the replying of network side; U2: upgrade (NOT UPDATED), represent that the process of last position renewal is not finished, do not receive replying of network side; U3: do not allow roaming (ROAMING NOT ALLOWED), represent that the process of last position renewal has been finished, but receive negative the replying of network side.
If the position update mode of SIM card is UPDATED, and the net that landed last time is not ownership public land mobile communication network (HPLMN), and then the net that will land last time is as the net that will go up of start.If the position update mode of SIM card is not UPDATED, perhaps the position update mode of SIM card is UPDATED, and the net that landed last time is HPLMN, and then attempt to go up HPLMN: after determining network No., mobile phone begins to search for proper cell, and lands up.Initiate position updating request afterwards, wait for the network side response.After upgrading successfully, with network No., updating mark writes the LOCI file of SIM card, has got the inferior net of searching ready and has used.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art: because cellphone subscriber's quick growth, a mobile subscriber of global range unique identification (IMSI) number section is more and more not enough, and operator has to expand.So such batch card occurred, preceding 5 of IMSI (generally represent this card HPLMN number) may comprise one and not have network No. (be called illegal HPLMN number, otherwise, be called legal HPLMN number).Start shooting first at mobile phone, when carrying out cell selecting, must all judge the network No. on 40 frequencies nearly that search out one time, very time-consuming, cause inserting the mobile phone of this kind card when searching net for the first time very slow (not waiting in 3-5 minute), it is very slow perhaps to search net under abnormal conditions (sudden power when searching net causes SIM card not have enough time to upgrade the LOCI file).
Summary of the invention
Embodiments of the invention are to search the slow problem of net in order to solve mobile phone, on the one hand, the embodiment of the invention provides a kind of method of searching net, described method comprises: when using the ownership public land mobile communication network to search net for HPLMN number, preserve in the retrieving SIM card illegal HPLMN number with legal HPLMN number corresponding relation; If when retrieving the legal HPLMN of coupling, utilize and initiate to search net corresponding described legal HPLMN number.
On the other hand, the embodiment of the invention provides a kind of device of searching net, and described device comprises: the corresponding relation retrieval unit, be used for when using when searching net for HPLMN number, preserve in the retrieving SIM card illegal HPLMN number with legal HPLMN number corresponding relation; Search net and initiate the unit, when being used to retrieve the legal HPLMN of coupling, utilizing and initiate to search net corresponding described legal HPLMN number.
On the other hand, the embodiment of the invention also provides a kind of SIM card, and described SIM card comprises the above-mentioned device of searching net.
Technique scheme has following beneficial effect: because adopt the illegal HPLMN number corresponding relation with legal HPLMN number is saved in the SIM card, and utilize the technological means of searching net legal HPLMN number, so overcome the slow problem of net of searching, and then reached the expense that reduces unnecessary search network, accelerate to search the technique effect of net spee.
Embodiment
For making purpose of the present invention, technical scheme and beneficial effect clearer,, the present invention is described in further details below in conjunction with execution mode and accompanying drawing.At this, exemplary embodiment of the present invention and explanation thereof are used to explain the present invention, but not as a limitation of the invention.
Embodiment one:
As shown in Figure 1, it is a kind of apparatus structure schematic diagram of searching net of the embodiment of the invention, described device 100 comprises: corresponding relation retrieval unit 101, be used for when using when searching net for HPLMN number, preserve in the retrieving SIM card illegal HPLMN number with legal HPLMN number corresponding relation; Search net and initiate unit 102, when being used to retrieve the legal HPLMN of coupling, utilizing and initiate to search net corresponding described legal HPLMN number.
Described device 100 can also comprise: corresponding relation is preserved the unit, is used for being saved in described SIM card with described illegal HPLMN number with legal HPLMN number corresponding relation; Described corresponding relation is preserved the unit, can be used for by aerial download, and perhaps manual configuration, perhaps the mode of storage is saved in SIM card with described corresponding relation in advance.Described corresponding relation is preserved the unit, can be used for adopting the mode of correspondence table to be saved in described SIM card described corresponding relation.
Described device 100 can also comprise: search the net trigger element, be used for when described SIM card is in roaming state, regularly trigger the described net of searching and initiate the unit and use and search net HPLMN number; Or described SIM card is used for the first time; Or failure is upgraded in the position of described SIM card last time; Or when depositing the file corruption of searching the net lastest imformation in the described SIM card, trigger the described net of searching and initiate the unit and initiate to search net.
As shown in Figure 2, be a kind of method flow diagram of searching net of the embodiment of the invention, described method comprises:
Step 201, when using the ownership public land mobile communication network to search net for HPLMN number, preserve in the retrieving SIM card illegal HPLMN number with legal HPLMN number corresponding relation.
For the method that described corresponding relation is saved in SIM card be: by the collocation method of aerial download, perhaps by manual configuration, perhaps method by presetting.The mode that described corresponding relation can be adopted correspondence table etc. can indicate above-mentioned corresponding relation is saved in the described SIM card.
It is one of following using the condition of searching net for HPLMN number: if described SIM card is in roaming state, can the opening timing device, and regularly trigger (as every 10 minutes or 1 hour etc.) and use and search net HPLMN number; Described SIM card is used for the first time; Failure is upgraded in the position of described SIM card last time; Deposit the file corruption of searching the net lastest imformation in the described SIM card.If retrieval is during less than the legal HPLMN of coupling, initiate to search net HPLMN number that utilize to use.
If step 202 when retrieving the legal HPLMN of coupling, is utilized and is initiated to search net corresponding described legal HPLMN number.
The foregoing description adopts the illegal HPLMN number corresponding relation with legal HPLMN number is saved in the SIM card, and utilize the technological means of searching net legal HPLMN number, overcome and searched the slow problem of net, and then reached the expense that reduces unnecessary search network, accelerated to search the technique effect of net spee.
Embodiment two:
As shown in Figure 3, it is a kind of SIM card structural representation of application example of the present invention, described SIM card 300 comprises: corresponding relation is preserved unit 301, be used for being saved in SIM card with legal HPLMN number corresponding relation with illegal HPLMN number, for the method that described corresponding relation is saved in SIM card be: by the collocation method of aerial download, perhaps, perhaps pass through the method for storage in advance by manual configuration.The mode that described corresponding relation can be adopted correspondence table etc. can indicate above-mentioned corresponding relation is saved in the described SIM card; Corresponding relation retrieval unit 302 is used for retrieving the described corresponding relation of preserving in the described SIM card when net is searched in use for HPLMN number; Search net and initiate unit 303, when being used to retrieve the legal HPLMN of coupling, utilizing and initiate to search net corresponding described legal HPLMN number.Described SIM card 300 can also comprise: search net trigger element 304, be used for when described SIM card is in roaming state, regularly trigger the described net of searching and initiate unit 303 and use and search net HPLMN number; Or described SIM card is used for the first time; Or failure is upgraded in the position of described SIM card last time; Or when depositing the file corruption of searching the net lastest imformation in the described SIM card, trigger the described net of searching and initiate unit 303 and initiate to search net.
As shown in Figure 4, be the method flow diagram that the described SIM card of application example Fig. 3 of the present invention is searched net.
At first need operator provide illegal HPLMN number with legal HPLMN number correspondence table, this correspondence table comprise illegal HPLMN number with legal HPLMN number corresponding relation.Such as: 46002 of China Mobile's appearance corresponds to 46000; This correspondence table is stored in the SIM cards of mobile phones in advance.
Step 401 when SIM card is initiated to search net, reads the LOCI file.
Step 402 judges according to the LOCI file whether the previous position renewal is successful, if, then change step 405, otherwise, step 403 changeed.
Step 403, when using when searching net for HPLMN number, whether illegal HPLMN number of preserving of retrieval and legal HPLMN number correspondence table exist legal HPLMN number of coupling, if, then change step 404, otherwise, commentaries on classics step 405.
Step 404 is utilized legal HPLMN number corresponding HPLMN number original (HPLMN originally number be illegal HPLMN number) of replacement.
As shown in Figure 5, be that application example figure of the present invention replaces with legal HPLMN form schematic diagram with illegal HPLMN number.For example, 46002 of China Mobile's appearance can be replaced with 46000.
Step 405, operation is searched the net flow process normally and is searched net.
Above-mentioned application example has following technique effect: judge by the legitimacy that adds HPLMN number, reduced the expense of unnecessary search network, accelerated mobile phone and searched net spee, reduce network burden, and it is irrelevant only need to revise mobile phone and network side, revise simple.
Above-described embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is the specific embodiment of the present invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.