CN111148212B - Network registration method and device - Google Patents

Network registration method and device Download PDF

Info

Publication number
CN111148212B
CN111148212B CN201911396598.XA CN201911396598A CN111148212B CN 111148212 B CN111148212 B CN 111148212B CN 201911396598 A CN201911396598 A CN 201911396598A CN 111148212 B CN111148212 B CN 111148212B
Authority
CN
China
Prior art keywords
ehplmn
network
registration
initial
sim card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911396598.XA
Other languages
Chinese (zh)
Other versions
CN111148212A (en
Inventor
韩耀辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huawei Digital Technologies Co Ltd
Original Assignee
Beijing Huawei Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huawei Digital Technologies Co Ltd filed Critical Beijing Huawei Digital Technologies Co Ltd
Priority to CN201911396598.XA priority Critical patent/CN111148212B/en
Publication of CN111148212A publication Critical patent/CN111148212A/en
Application granted granted Critical
Publication of CN111148212B publication Critical patent/CN111148212B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier

Abstract

The application provides a network registration method and a network registration device. The method comprises the following steps: acquiring an initial Equivalent Home Public Land Mobile Network (EHPLMN) set from the SIM card; optimizing the registration sequence of the EHPLMN in the initial EHPLMN set to obtain an optimized EHPLMN set; and sending the optimized EHPLMN set to a modem so that the modem can register the SIM card with the network. According to the network registration method, the registration sequence of the EHPLMN in the SIM card is optimized, and the network injection speed of the SIM card is improved.

Description

Network registration method and device
Technical Field
The present application relates to the field of communications, and in particular, to a network registration method and apparatus.
Background
In order to enable a communication device to access a network of an operator, network registration needs to be performed using data in a Subscriber Identity Module (SIM). An Equivalent Home Public Land Mobile Network (EHPLMN) in the SIM card stores information of networks that can be registered. The current communication device has the following two modes for network injection.
The method I comprises the following steps: and the communication device issues the SIM card data and the original EHPLMN data to the modem for network injection.
When network injection is performed in the first mode, if a Public Land Mobile Network (PLMN) of a target network of the SIM card is located behind original EHPLMN data of the SIM card, a problem of long network searching time and slow network injection may be caused.
The second method comprises the following steps: the communication device resides in a certain cell of the operator network at will, after the modem reports the successful residence PLMN, the current PLMN is written into the first bit of the EHPLMN data, and the EHPLMN and the SIM card data are issued to the modem together for network injection. And the modem carries out network searching registration according to the EHPLMN data in the card data.
When the second mode is adopted for network injection, the PLMN where the communication device resides at will may not be the target network of the SIM card, the process time of the communication device waiting for the modem to reside in the network is long, the process depends on the number of cells in the network environment, and the accuracy of the PLMN residing in the network depends on the complexity of the network environment.
Disclosure of Invention
The application provides a network registration method and a network registration device, which can improve the network injection speed of an SIM card.
In a first aspect, a network registration method is provided, where the method includes: acquiring an initial Equivalent Home Public Land Mobile Network (EHPLMN) set from a Subscriber Identity Module (SIM) card; optimizing the registration sequence of the EHPLMN in the initial EHPLMN set to obtain an optimized EHPLMN set; and sending the optimized EHPLMN set to a modem so that the modem can register the SIM card with the network.
The registration sequence of the EHPLMN set in the SIM card is optimized, the registration sequence of the EHPLMN can be dynamically adjusted, network searching registration according to a fixed registration sequence is avoided, and the network injection speed of the SIM card is improved.
With reference to the first aspect, in some implementations of the first aspect, optimizing a registration order of EHPLMNs in the initial EHPLMN set includes: and optimizing the registration sequence of the EHPLMN in the initial EHPLMN set according to the mobile country code MCC.
The MCC is used for uniquely identifying the country or region to which the network belongs, and the registration sequence of the EHPLMN in the EHPLMN set is optimized according to the MCC, so that the accuracy of an optimization result can be improved.
With reference to the first aspect, in certain implementations of the first aspect, optimizing a registration order of EHPLMNs of the initial EHPLMN set according to MCCs includes: and optimizing the registration sequence of the EHPLMN in the initial EHPLMN set according to the MCC of the public land mobile network PLMN successfully injected by the SIM card last time.
According to the technical scheme, the memorized MCC which is successful in network injection last time is utilized, the MCC can be quickly acquired, so that the registration sequence of the EHPLMN is optimized according to the MCC, and the network injection speed of the SIM card is increased.
With reference to the first aspect, in some implementations of the first aspect, optimizing a registration order of EHPLMNs of the initial EHPLMN set according to the MCC includes: and optimizing the registration sequence of the EHPLMN in the initial EHPLMN set according to the MCC in the PLMN collected by the modem.
The modem collects the MCC of the PLMN in the network environment, and can optimize the registration sequence of the EHPLMN according to the collected MCC in the complex network environment, thereby improving the speed and the accuracy of SIM card network injection in the complex environment.
With reference to the first aspect, in certain implementations of the first aspect, before optimizing a registration order of EHPLMNs of the initial EHPLMN set according to MCCs of the PLMNs collected by the modem, the method further includes: sending SIM card data not containing EHPLMN and forbidden public land mobile network FPLMN to the modem to trigger the modem to collect the PLMN.
And SIM card data which does not contain the EHPLMN and the FPLMN is sent to the modem, so that the modem can be triggered to collect the PLMN quickly, and the network registration speed is increased.
With reference to the first aspect, in some implementations of the first aspect, optimizing a registration order of EHPLMNs of the initial EHPLMN set according to MCCs of PLMNs collected by a modem includes: and optimizing the registration sequence of the EHPLMN in the initial EHPLMN set according to the MCC of the PLMN collected by the modem, the initial EHPLMN set and the initial FPLMN set in the SIM card and one or more of the PLMNs failed in last network injection.
The technical scheme combines one or more of the collected MCC of the PLMN, the initial EHPLMN and FPLMN in the SIM card and the PLMN failed in the last network injection to optimize the registration sequence of the EHPLMN, so that the accuracy and reliability of the optimization result can be improved, and the network registration speed is increased.
With reference to the first aspect, in certain implementations of the first aspect, the condition of the network injection failure includes: the time from the first time of receiving the PLMN report after sending the SIM card data exceeds N seconds, wherein N is an integer; or after sending the SIM card data, continuously receiving M PLMN reports that the reports are inconsistent with the optimized EHPLMN set, wherein M is an integer.
By setting the conditions of the network injection failure, the network injection failure can be judged when certain conditions are met, the network injection is stopped, long-time waiting when the network injection is unsuccessful is avoided, a new network injection process can be started immediately, and the network injection speed of the SIM card is accelerated.
With reference to the first aspect, in certain implementations of the first aspect, the SIM card is an embedded subscriber identity module card ESIM.
In a second aspect, a network registration apparatus is provided, the apparatus comprising: an obtaining module, configured to obtain an initial equivalent home public land mobile network EHPLMN set from a subscriber identity module SIM card; the optimization module is used for optimizing the registration sequence of the EHPLMN in the initial EHPLMN set to obtain an optimized EHPLMN set; and the registration module is used for sending the optimized EHPLMN set to the modem so that the modem can register the SIM card with the network.
In the above technical solution, by optimizing the registration sequence of the EHPLMN in the EHPLMN set in the SIM card according to the MCC, network registration using a fixed EHPLMN registration sequence is avoided, and the speed of network registration of the SIM card is increased.
With reference to the second aspect, in some implementations of the second aspect, the optimizing module is specifically configured to optimize a registration order of the EHPLMNs in the initial EHPLMN set according to the mobile country code MCC.
The MCC is used for uniquely identifying the country or region to which the network belongs, and the registration sequence of the EHPLMN in the EHPLMN set is optimized according to the MCC, so that the accuracy of an optimization result can be improved.
With reference to the second aspect, in certain implementations of the second aspect, the optimizing module is configured to optimize a registration order of EHPLMNs in the initial EHPLMN set according to an MCC of a public land mobile network PLMN successfully visited by the SIM card last time.
According to the technical scheme, the memorized MCC which is successful in network injection last time is utilized, the MCC can be quickly acquired, so that the registration sequence of the EHPLMN is optimized according to the MCC, and the network injection speed of the SIM card is increased.
With reference to the second aspect, in certain implementations of the second aspect, the optimizing module is configured to optimize a registration order of the EHPLMNs of the initial EHPLMN set according to MCCs of the PLMNs collected by the modem.
The modem collects the MCC of the PLMN in the network environment, and can optimize the registration sequence of the EHPLMN according to the collected MCC in the complex network environment, thereby improving the speed and the accuracy of SIM card network injection in the complex environment.
With reference to the second aspect, in some implementations of the second aspect, the network registration apparatus further includes: and the sending module is used for sending SIM card data which does not contain the EHPLMN and forbids a public land mobile network (FPLMN) to the modem before optimizing the registration sequence of the EHPLMN in the initial EHPLMN set according to the MCC in the PLMN collected by the modem so as to trigger the modem to collect the PLMN.
And SIM card data which does not contain the EHPLMN and the FPLMN is sent to the modem, so that the modem can be triggered to collect the PLMN quickly, and the network registration speed is increased.
With reference to the second aspect, in certain implementations of the second aspect, the optimizing module is configured to optimize a registration order of EHPLMNs in the initial EHPLMN set according to MCCs of PLMNs collected by the modem, and according to one or more of the initial EHPLMN set and the initial FPLMN set in the SIM card, and a PLMN that failed in the last network injection.
The technical scheme combines one or more of the collected MCC of the PLMN, the initial EHPLMN and FPLMN in the SIM card and the PLMN failed in the last network injection to optimize the registration sequence of the EHPLMN, so that the accuracy and reliability of the optimization result can be improved, and the network registration speed is increased.
With reference to the second aspect, in some implementations of the second aspect, the condition of the network injection failure includes: the time from the first time of receiving the PLMN after sending the SIM card data is more than N seconds, wherein N is an integer; or after sending the SIM card data, continuously receiving M PLMN reports which are inconsistent with the optimized EHPLMN set, wherein M is an integer.
By setting the conditions of the network injection failure, the network injection failure can be judged when certain conditions are met, the network injection is stopped, long-time waiting when the network injection is unsuccessful is avoided, a new network injection process can be started immediately, and the network injection speed of the SIM card is accelerated.
With reference to the second aspect, in some implementations of the second aspect, the SIM card is an Embedded Subscriber Identity Module (ESIM) card.
In a third aspect, a computer program product is provided, which, when run on an electronic device, causes a network registration apparatus to perform the method for network registration in any one of the possible implementations of the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, comprising a computer program which, when run on a computer device, causes a processing unit in the computer device to perform the method of network registration as in any one of the possible implementations of the first aspect.
In a fifth aspect, a communication device is provided, comprising the network registration device and the modem according to the second aspect.
In a sixth aspect, a communication device is provided, comprising a memory and a processor, the processor being configured to perform the method of network registration as in any one of the possible implementations of the first aspect.
In a seventh aspect, a chip system is provided, where the chip system includes at least one processor, and when a program instruction is executed in the at least one processor, the function that is implemented on a communication device according to any one of the above-mentioned first aspect is implemented.
Drawings
Fig. 1 is a flowchart illustrating a network registration method according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a network registration method flow for optimizing EHPLMN registration order according to MCC according to an embodiment of the present application.
Fig. 3 is a schematic diagram of another network registration method flow for optimizing EHPLMN registration order according to MCC according to the embodiment of the present application.
Fig. 4 is a schematic diagram of a network registration apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention.
The method and the device can be applied to the scene of network registration by using the SIM card. In the embodiment of the present application, the SIM card may be any SIM card containing an EHPLMN set, and may be, for example, an embedded SIM card (ESIM). Illustratively, the SIM card in the present application may be an ESIM card of an interpersonal product in which there are two types of ESIM cards, a master card and a daughter card. The ESIM card main card supports different networks across countries and operators, and can sign different global operator packages, so that the SIM card can be accessed to different global operator packages.
The network injection process of the conventional SIM card is described below by taking ESIM as an example. The set of EHLPMNs in the ESIM card stores all registerable network types, and the set of EHPLMN may be stored in the ESIM card in the form of a list, for example. There are two ways to card the web via ESIM. One mode is that after the communication device is started, ESIM card data and original EHPLMN data in the ESIM card are directly issued to the modem for network injection. And the modem searches for and registers networks in sequence according to the registration sequence of the EHPLMN in the original EHPLMN set in the ESIM card. In another network injection mode, the communication device obtains a Mobile Country Code (MCC) of a target network at a current location by reading broadcast information of a base station, matches the MCC of the network that can be registered stored in the obtained MCC and ESIM cards when first-round registration fails, and selects a target PLMN according to an obtained matching result.
In the existing network injection mode, the network searching and injecting time is long. For example, if the registration sequence of the PLMN of the ESIM card contracted operator in the current network environment is later compared in the ESIM card original EHPLMN set, the time for registering the network to acquire service is longer, and the user experience is poor. In addition, in a case where the network environment is complicated, for example, in a multi-country or regional border, the accuracy of acquiring the MCC may be reduced. If the wrong MCC is obtained, the wrong MCC is matched with the wrong network set, and the network re-injection time is long after the network selection is triggered again.
Illustratively, the inland network has an MCC of 460 and a hong kong MCC of 454. After entering hong kong from inland, there are two networks with MCCs 460 and 454. If the communication device is started up for the first time and resides in a network with MCC 460, the communication device can not be used for network registration for a long time after the ESIM card data is issued, and a user can not access the network for use. The user needs to restart the device only in the network environment with the MCC of 454 to successfully log in the network.
According to the network access method, the network injection is performed by using the EHPLMN set after the registration sequence is optimized, and the network registration speed can be improved.
In combination with fig. 1, the network registration method in the embodiment of the present application is described in detail by taking SIM card network injection as an example.
As shown in fig. 1, the network access method of the embodiment of the present application includes steps S110 to S130.
S110, an initial equivalent home public land mobile network EHPLMN set is obtained from a subscriber identity module SIM card.
The EHPLMN set in the SIM card stores all network types that the user can register with, and the EHPLMN set of the network that the SIM card can register with is first acquired before starting network registration.
And S120, optimizing the registration sequence of the EHPLMN in the EHPLMN set to obtain the optimized EHPLMN set.
In the prior art, the network registration is performed by using a fixed EHPLMN registration order, which takes a long time, so in the embodiment of the present application, the registration order of the EHPLMN in the initial EHPLMN set is optimized, and the EHPLMN after optimizing the registration order is used for network registration, which can shorten the time for the SIM card to log in the network.
Optionally, in the optimization of the EHPLMN registration order, the registration order of the initial EHPLMN may be optimized using the MCC. The MCC is used for uniquely identifying the country or region to which the network belongs, and the registration sequence of the EHPLMN in the EHPLMN set is optimized according to the MCC, so that the accuracy of an optimization result can be improved.
As an embodiment, the registration order of the EHPLMNs in the initial EHPLMN set may be optimized according to the MCC of the PLMN which is successfully registered by the SIM card last time. Specifically, the MCC that was successfully networked last time may be stored in the communication device, and when the registration order of the EHPLMN is optimized, the stored MCC that is successfully networked last time may be read, and the registration order of the EHPLMN is optimized according to the MCC that is successfully networked last time.
According to the technical scheme, the memorized MCC which is successful in network injection last time is utilized, the MCC can be quickly acquired, so that the registration sequence of the EHPLMN is optimized according to the MCC, and the network injection speed of the SIM card is improved.
As an example, the registration order of EHPLMNs in the initial EHPLMN set may be optimized according to MCCs in PLMNs collected by the modem. The modem collects the MCC of the PLMN in the network environment, and can optimize the registration sequence of the EHPLMN according to the collected MCC in the complex network environment, thereby improving the speed and the accuracy of SIM card network injection in the complex environment.
Optionally, before optimizing the EHPLMN registration order in the initial EHPLMN set according to the MCC in the PLMN collected by the modem, a Forbidden Public Land Mobile Network (FPLMN) containing no EHPLMN and forbidden to use may be sent to the modem to trigger the modem to collect the PLMN.
In the process of collecting the PLMN by the modem, a certain condition for stopping searching the network can be set, and when the condition for stopping searching the network is met, the modem stops collecting the PLMN. For example, the network searching stopping condition may be set to N seconds after receiving the report of the PLMN, where N is an integer; or M PLMN reports are received, wherein M is an integer.
In the embodiment of the application, the network searching of the modem is triggered by issuing the SIM card which does not contain the EHPLMN and the FPLMN, and the condition for stopping the network searching is set, so that the network searching process is accelerated, and the modem can quickly collect the MCC of the PLMN to optimize the registration sequence of the EHPLMN of the initial EHPLMN set.
According to one embodiment, the registration order of the EHPLMNs in the initial EHPLMN set may be optimized according to one or more of the MCC of the collected PLMNs, the initial EHPLMN set and the initial FPLMN set in the SIM card, and the PLMN that failed in the last network injection. The registration sequence of the EHPLMN is optimized by combining various factors, so that the accuracy of an optimization result can be improved.
Optionally, the network injection failure condition in the embodiment of the present application may include: the time from the first time of receiving the PLMN report after sending the SIM card data exceeds N seconds, wherein N is an integer; or after sending SIM card data, continuously receiving M PLMN reports which are inconsistent with the optimized EHPLMN set, wherein M is an integer.
By setting the condition of network injection failure, the network injection can be stopped in time when the condition is met, and the phenomenon that a large amount of time is consumed in the unsuccessful network injection process is avoided.
And S130, sending the optimized EHPLMN set to a modem so that the modem can register the SIM card with the network.
The optimized registration sequence of the EHPLMN in the EHPLMN set is adjusted according to one or more of the current network environment, the original network parameters in the SIM card, and the parameters of the last network registration, so that the network registration speed can be increased.
The following describes in detail a process of SIM card network injection for optimizing EHPLMN registration order in the initial EHPLMN set according to MCC with reference to fig. 2 and 3.
Fig. 2 is a flowchart of a network registration method for optimizing the registration order of EHPLMNs in the initial EHPLMN set according to the MCC of the last successful network injection when the MCC of the last successful network injection matches the MCC of the current target network. As shown in fig. 2, when the MCC of the last successful network injection matches with the MCC of the current target network, the network injection method for optimizing the registration order of the EHPLMNs in the initial EHPLMN set according to the MCC of the last successful network injection includes steps S210 to S250.
S210, reading the MCC successfully memorized in the previous network injection. For example, the network registration apparatus according to the embodiment of the present application may have a storage unit for storing MCCs successfully networked, and when the registration order of the EHPLMN is optimized, the MCCs successfully stored in the previous network registration may be read from the storage unit.
S220, constructing corresponding operator parameters (EHPLMN, FPLMN) and issuing the SIM card to the modem for network injection. In step S220, according to the obtained MCC that the last network injection was successful, the registration order of the EHPLMN in the initial EHPLMN set in the SIM card is optimized, or the FPLMN set in the SIM card is optimized. And sending the optimized SIM card data to a modem for network injection.
And S230, receiving the message that the ESIM network injection is successful. Through the optimization of the MCC on the EHPLMN registration sequence successfully injected last time, the modem can be quickly matched with a target network for injection, and a message indicating that the SIM card is successfully injected after the injection is successful is received.
And S240, deleting the timer for collecting the PLMN. In the embodiment of the application, a condition for judging the network injection failure is preset, for example, the network registration failure condition can be set to be more than N seconds after the SIM card data is issued and the PLMN is received for the first time, wherein N is an integer; or setting that M PLMNs continuously received are inconsistent with the EHPLMN list optimized before as a condition for determining the network injection failure, where M is an integer. After receiving the indication message of successful network injection, the timer for determining the network injection failure may be deleted.
S250, updating the memorized MCC. Specifically, after the current network deployment is successful, the MCC of the current network deployment success may be stored. For example, the network registration apparatus may store the MCC that is successfully annotated in the network to the memory unit, so as to update the MCC memory.
Fig. 3 is a flowchart of SIM card network injection for optimizing EHPLMN registration order according to one or more of the collected MCC, initial EHPLMN set in SIM card, and PLMN that failed in network injection last time when MCC that succeeded in network injection last time does not match MCC of current target network. As shown in fig. 3, when the MCC successfully used for the last network injection does not match the MCC of the current target network, the SIM card may be injected after optimizing the EHPLMN registration order according to one or more of the collected MCC, the initial EHPLMN set in the SIM card, and the PLMN failed for the last network injection according to the methods shown in steps S310 to S390.
Steps S310 to S340 are processes of optimizing the registration order of the EHPLMN in the SIM card according to the collected MCC of the PLMN or the last successful MCC of network injection.
And S310, reading the MCC which is successful in network injection last time. Specifically, after acquiring the MCC that the network injection was successful last time, step S340 is executed. If the MCC which is successfully annotated in the network last time is not acquired, for example, the communication device is started up for the first time to annotate the network; if no MCC successfully logged in the last network is saved, step S320 is executed.
And S320, modifying the SIM card operator parameters (clearing the EHPLMN and the FPLMN). Specifically, EHPLMN and FPLMN parameters preset in the SIM card may be cleared, where the EHPLMN and FPLMN parameters indicate all possible operator networks that may be accessed.
S330, the SIM card for clearing the PLMN card data is issued to the modem. And sending SIM card data which does not contain preset EHPLMN and FPLMN data to a modem to trigger the fast network searching.
S340, constructing corresponding operator parameters (EHPLMN, FPLMN) and issuing the SIM card to the modem. After the successful MCC of the last network injection is obtained, the registration sequence of the EHPLMN of the initial EHPLMN set of the SIM card is optimized according to the successful MCC of the last network injection, and the registration sequence of the FPLMN in the initial FPLMN set can also be optimized at the same time. And sending the SIM card data with the optimized PLMN registration sequence to a modem for network injection.
Steps S350 to S390 are processes of optimizing EHPLMN registration order according to one or more of collected MCC, initial EHPLMN set and initial FPLMN set in SIM card, and PLMN that failed in last network deployment, and correcting memorized MCC, when MCC that succeeded in last network deployment does not match MCC of current target network.
And S350, receiving the PLMN reported by the network searching. After the modem starts to perform network injection, the collection of the PLMN is started.
And S360, starting a 5-second timer, and collecting all MCCs reported to the network PLMN. The preset condition of network injection failure can be that the time from the first time of receiving the PLMN report after sending the SIM card data exceeds N seconds, wherein N is an integer; or after sending the SIM card data, continuously receiving M PLMN reports that the reports are inconsistent with the optimized EHPLMN set, wherein M is an integer. From the received PLMN report, a timer may be set, e.g., 5 seconds, and the PLMN may be collected during the timer.
And S370, when the timer expires or meets preset conditions and the number of network injection failures is less than 3, optimizing SIM card data according to the collected MCC set, and issuing SIM cards with optimized parameters (EHPLMN, FPLMN) to a modem. After the network injection failure is judged according to the preset network injection failure condition, the registration sequence of the EHPLMN of the initial EHPLMN set in the SIM card can be optimized according to one or more of the collected MCC of the PLMN, the initial EHPLMN set in the SIM card, the initial FPLMN set in the SIM card and the PLMN which failed in the network injection last time, and the optimized SIM card data is sent to the modem for network injection again.
In addition, the number of procedures for correcting the memorized MCC can be controlled, for example, the number of network injection failures is controlled to be less than 3.
And S380, successfully annotating the network, and clearing network-annotating failure times. And clearing the accumulated network injection failure times after the SIM card successfully injects the network again.
S390, correcting and memorizing. Specifically, after successful network injection, the new MCC that successfully injected the network is saved.
The MCC is obtained in multiple modes, the registration sequence of the EHPLMN in the initial EHPLMN set in the SIM card is optimized according to the MCC, the network injection speed of the SIM card can be accelerated according to simple judgment conditions, and the network injection stability in a complex network environment is enhanced.
In a laboratory test, a method for optimizing an EHPLMN registration sequence in a SIM card to perform network registration is adopted, and it takes 52 seconds for a network registration device to successfully load an operator package from power-on, where 18 seconds is power-on time and 34 seconds is network registration time. With the network registration method in the prior art, the time for successful network registration is 60 seconds.
In actual testing, the user entered hong Kong from inland to conduct the test. When the network registration device enters hong Kong from the inland for the first time, the network is started for the first time at the railway station of the hong Kong for network injection. The time from startup to successful network injection is 1 minute and 20 seconds.
Subsequently, after departure from the metro platform, the network registration device of the device is powered on again on the moving train, and it takes 40 seconds to successfully power on the network registration device and to successfully log in the network. After the network registration device is started up for the first time and the network is successfully logged in, the network registration device stores the MCC of hong Kong who successfully logged in the network. When the network registration device is started up again for testing, the network registration device is still in hong Kong, and the memorized MCC is matched with the region where the network registration device is located, so that the network can be quickly annotated by adopting the correctly memorized MCC to optimize the registration sequence of the EHPLMN, and the network annotation speed is increased.
Thirdly, returning to home from hong Kong, it took 50 seconds to successfully log on the network from the network registration device. After the inland is re-entered, the MCC which is successful in the previous network injection is not matched with the MCC in the current network environment, so that the registration sequence of the EHPLMN is re-optimized for network injection immediately according to the collected MCC, the initial EHPLMN, the initial FPLMN and the PLMN which is failed in the network injection after the network injection failure is judged according to the condition of the network injection failure, and the memorized MCC which is successful in the network injection is updated after the network injection is successful.
Fig. 4 is a schematic diagram of a network registration apparatus according to an embodiment of the present application. As shown in fig. 4, the network registration apparatus of the embodiment of the present application includes an obtaining module 410, an optimizing module 420, and a registering module 430.
An obtaining module 410, configured to obtain an initial EHPLMN set from the SIM card.
The optimizing module 420 is configured to optimize a registration order of EHPLMNs in the initial EHPLMN set to obtain an optimized EHPLMN set.
And a registration module 430, configured to send the optimized EHPLMN set to the modem, so that the modem performs network registration on the SIM card.
As an embodiment, the optimizing module 420 is specifically configured to optimize a registration order of EHPLMNs in the initial EHPLMN set according to the MCC.
As an embodiment, the optimization module 420 is configured to optimize a registration order of EHPLMNs in the initial EHPLMN set according to an MCC of a public land mobile network PLMN successfully visited by the SIM card last time.
For one embodiment, the optimization module 420 is configured to optimize the registration order of EHPLMNs in the initial EHPLMN set according to MCCs in PLMNs collected by the modem.
Optionally, the network registration apparatus further includes a sending module, configured to send SIM card data not including the EHPLMN and the forbidden public land mobile network FPLMN to the modem before optimizing a registration order of the EHPLMN in the initial EHPLMN set according to the MCC in the PLMN collected by the modem, so as to trigger the modem to collect the PLMN.
As an embodiment, the optimizing module 420 is configured to optimize a registration order of EHPLMNs in the initial EHPLMN set according to MCCs of PLMNs collected by the modem, and according to one or more of the initial EHPLMN set and the initial FPLMN set in the SIM card, and a PLMN that failed in the last network injection.
Optionally, the condition of network injection failure includes: the time from the first time of receiving the PLMN report after sending the SIM card data exceeds N seconds, wherein N is an integer; or after sending the SIM card data, continuously receiving M PLMN reports which are inconsistent with the optimized EHPLMN set, wherein M is an integer.
By setting the conditions of the network injection failure, the network injection failure can be judged when certain conditions are met, the network injection is stopped, long-time waiting when the network injection is unsuccessful is avoided, a new network injection process can be started immediately, and the network injection speed of the SIM card is increased.
As an embodiment, the SIM card is an embedded subscriber identity module card ESIM.
According to the preset network injection failure condition, the network can be quickly searched, and by optimizing the EHPLMN registration sequence in the SIM card, the network injection by using a fixed EHPLMN list is avoided, the network injection speed is improved, and the network injection stability in a complex network environment is enhanced.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The method in the embodiments of the present application, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium, and based on such understanding, the technical solution or parts of the technical solution in the present application may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method in the embodiments of the present application. The storage medium includes at least: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A network registration method, comprising:
acquiring an initial Equivalent Home Public Land Mobile Network (EHPLMN) set from a Subscriber Identity Module (SIM) card;
optimizing the registration sequence of the EHPLMN in the initial EHPLMN set to obtain an optimized EHPLMN set;
sending the optimized EHPLMN set to a modem so that the modem can register the SIM card with a network;
wherein the optimizing the registration order of the EHPLMNs in the initial EHPLMN set includes:
and optimizing the registration sequence of the EHPLMN in the initial EHPLMN set according to the mobile country code MCC.
2. The method of claim 1, wherein optimizing an order of registration of EHPLMNs of the initial set of EHPLMNs according to MCC comprises:
and optimizing the registration sequence of the EHPLMN in the initial EHPLMN set according to the MCC of the public land mobile network PLMN successfully visited by the SIM card.
3. The method of claim 1, wherein optimizing an order of registration of EHPLMNs of the initial set of EHPLMNs according to MCC comprises:
optimizing a registration order of the EHPLMN in the initial EHPLMN set according to the MCC in the PLMN collected by the modem.
4. The method of claim 3, wherein prior to the optimizing the registration order of EHPLMN in the initial set of EHPLMN according to MCC in PLMNs gathered by the modem, the method further comprises:
sending SIM card data to the modem that does not include an EHPLMN and a Forbidden Public Land Mobile Network (FPLMN) to trigger the modem to collect PLMNs.
5. The method of claim 3, wherein optimizing the registration order of EHPLMN from the initial set of EHPLMN according to MCC of PLMNs gathered by the modem comprises:
and optimizing the registration sequence of the EHPLMN in the initial EHPLMN set according to the MCC of the PLMN collected by the modem, the initial EHPLMN set and the initial FPLMN set in the SIM card and one or more of the PLMNs failed in the last network injection.
6. The method of claim 5, wherein the condition for the network injection failure comprises:
the time from the first time of receiving the PLMN after sending the SIM card data is more than N seconds, wherein N is an integer; or
And after sending the SIM card data, continuously receiving M PLMN reports that the reports are inconsistent with the optimized EHPLMN set, wherein M is an integer.
7. The method according to any of claims 1-6, wherein the SIM card is an Embedded Subscriber Identity Module (ESIM) card.
8. A network registration apparatus, comprising:
an obtaining module, configured to obtain an initial equivalent home public land mobile network EHPLMN set from a subscriber identity module SIM card;
the optimization module is used for optimizing the registration sequence of the EHPLMN in the initial EHPLMN set to obtain an optimized EHPLMN set;
a registration module, configured to send the optimized EHPLMN set to a modem, so that the modem performs network registration on the SIM card;
the optimization module is specifically configured to optimize a registration order of EHPLMNs in the initial EHPLMN set according to a mobile country code MCC.
9. The apparatus of claim 8, wherein the optimization module is configured to optimize a registration order of EHPLMNs in the initial EHPLMN set according to an MCC of a public land mobile network PLMN successfully visited by the SIM card last time.
10. The apparatus of claim 8, wherein the optimization module is configured to optimize an order of registration of EHPLMNs of the initial set of EHPLMNs according to MCCs of PLMNs gathered by the modem.
11. The apparatus of claim 10, further comprising:
a sending module, configured to send SIM card data, which does not include an EHPLMN and a forbidden public land mobile network FPLMN, to the modem before the optimization of the registration order of the EHPLMNs in the initial EHPLMN set according to the MCC in the PLMNs collected by the modem, so as to trigger the modem to collect PLMNs.
12. The apparatus of claim 10, wherein the optimization module is configured to optimize a registration order of EHPLMNs in the initial EHPLMN set according to MCCs of PLMNs collected by the modem, and according to one or more of an initial EHPLMN set and an initial FPLMN set in the SIM card, and a PLMN that has failed to perform network injection last time.
13. The apparatus of claim 12, wherein the condition for the failed network injection comprises:
after the SIM card data is sent, the PLMN is reported for the first time, and N is an integer, and the time is more than N seconds; or
And after sending the SIM card data, continuously receiving M PLMN reports that the reports are inconsistent with the optimized EHPLMN set, wherein M is an integer.
14. The apparatus of any of claims 8-13, wherein the SIM card is an ESIM card.
15. A communications device comprising a memory for storing program instructions and a processor for executing the program instructions to cause the communications device to perform the method of any of claims 1-7.
CN201911396598.XA 2019-12-30 2019-12-30 Network registration method and device Active CN111148212B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911396598.XA CN111148212B (en) 2019-12-30 2019-12-30 Network registration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911396598.XA CN111148212B (en) 2019-12-30 2019-12-30 Network registration method and device

Publications (2)

Publication Number Publication Date
CN111148212A CN111148212A (en) 2020-05-12
CN111148212B true CN111148212B (en) 2022-10-11

Family

ID=70522221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911396598.XA Active CN111148212B (en) 2019-12-30 2019-12-30 Network registration method and device

Country Status (1)

Country Link
CN (1) CN111148212B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641940B (en) * 2020-05-28 2023-03-24 中国联合网络通信集团有限公司 Method, terminal, device and storage medium for limiting cross-country download of eSIM (embedded subscriber identity Module) card

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101711050A (en) * 2009-11-20 2010-05-19 中兴通讯股份有限公司 Method and system for selecting RPLMN
CN102104952A (en) * 2009-12-18 2011-06-22 中兴通讯股份有限公司 Network registering methods and mobile terminals
CN102395175A (en) * 2011-06-30 2012-03-28 中兴通讯股份有限公司 Public land mobile network selection method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170142645A1 (en) * 2015-11-12 2017-05-18 Mediatek Inc. Method for enhancing performance of a communications apparatus in a plmn search procedure and a communications apparatus utilizing the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101711050A (en) * 2009-11-20 2010-05-19 中兴通讯股份有限公司 Method and system for selecting RPLMN
CN102104952A (en) * 2009-12-18 2011-06-22 中兴通讯股份有限公司 Network registering methods and mobile terminals
CN102395175A (en) * 2011-06-30 2012-03-28 中兴通讯股份有限公司 Public land mobile network selection method and mobile terminal

Also Published As

Publication number Publication date
CN111148212A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
EP3255912B1 (en) Mobile terminal, maintenance server and maintenance method and apparatus for virtual sim card
CN106651442B (en) Advertisement putting control method and device
CN108513301B (en) Illegal user identification method and device
CN109195217B (en) Method and device for processing LTE network rejection behavior
US10009891B2 (en) Communication method, server and terminal
CN107371234B (en) Registration method, device and terminal
WO2018010693A1 (en) Method and apparatus for identifying information from rogue base station
CN103974231A (en) Position updating method and mobile terminal
CN111148212B (en) Network registration method and device
CN111541986A (en) Positioning method, positioning device, storage medium and processor
CN113507471A (en) Method, device, router and storage medium for acquiring terminal system type
CN110913458B (en) Optimized network selection and cell selection method and user terminal
CN104853409A (en) Network access method and mobile communication terminal
CN109246280B (en) Address book cloud processing method and device, computer equipment and readable storage medium
CN104899275A (en) Cell search method and terminal
CN109426826B (en) User behavior analysis method and device
CN108601098B (en) Network system identification method and device of dual-card terminal
CN116916194A (en) OLT fault identification method, device, equipment and storage medium
CN109121137B (en) Method and device for identifying user number use type of double-card terminal
CN103546900A (en) Identity authentication based electronic characteristic acquisition method
US20240042890A1 (en) Method For Matching a Vehicle and a Charging Pile, Method for Determining a Charging Device Being Engaged with a Vehicle, and Corresponding Apparatus
CN103686790A (en) Terminal and assistant positioning method
CN113452533B (en) Charging self-inspection and self-healing method and device, computer equipment and storage medium
CN114222284A (en) Terminal equipment identification method and device and readable storage medium
CN113163361A (en) Vehicle information processing method and device and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant