CN111343627B - Network registration method and device and terminal equipment - Google Patents

Network registration method and device and terminal equipment Download PDF

Info

Publication number
CN111343627B
CN111343627B CN202010143234.7A CN202010143234A CN111343627B CN 111343627 B CN111343627 B CN 111343627B CN 202010143234 A CN202010143234 A CN 202010143234A CN 111343627 B CN111343627 B CN 111343627B
Authority
CN
China
Prior art keywords
sim card
network registration
configuration information
function access
access configuration
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
CN202010143234.7A
Other languages
Chinese (zh)
Other versions
CN111343627A (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.)
Realme Chongqing Mobile Communications Co Ltd
Original Assignee
Realme Chongqing Mobile Communications 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 Realme Chongqing Mobile Communications Co Ltd filed Critical Realme Chongqing Mobile Communications Co Ltd
Priority to CN202010143234.7A priority Critical patent/CN111343627B/en
Publication of CN111343627A publication Critical patent/CN111343627A/en
Application granted granted Critical
Publication of CN111343627B publication Critical patent/CN111343627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • H04W60/04Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration using triggered events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The invention is suitable for the technical field of communication, and provides a network registration method, a device and terminal equipment, wherein the method comprises the following steps: acquiring the reading state of a user identity authentication file in the data reading process of a Subscriber Identity Module (SIM) card; if the user identity authentication file is read completely, triggering a first network registration event; acquiring first function access configuration information corresponding to the SIM card according to the first network registration event; and registering the SIM card to a service network according to the first function access configuration information. The invention can accelerate the speed of registering the SIM card to the service network, so that the service network can provide service for the SIM card in time.

Description

Network registration method and device and terminal equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network registration method, an apparatus, and a terminal device.
Background
Currently, there are two processors in the operating system of the intelligent terminal: the system comprises an application processor and a communication processor, wherein the communication processor is responsible for realizing the functions of the mobile network bottom layer, including searching and residing network cells, updating the position, managing wireless resources, managing mobility, managing conversation, registering the function related to media function access, and the like. The application processor has corresponding hardware and software modules which are in butt joint with the communication processor to realize partial control of the communication processor, provide certain parameters for the communication processor and receive information provided by the communication processor. After the smart phone is started up after the SIM card is inserted or in a starting state, the communication processor reads the SIM card data and informs the application processor that the SIM card is ready, and meanwhile, the communication processor searches and resides in a cell according to protocol specifications, registers in a network and completes circuit domain and packet domain attachment. After receiving the preparation completion indication, the application processor reads the needed SIM card data, and after the SIM card data is read, the application processor considers that the SIM card loading is completed.
Because the access requirements of various media functions of different operators are greatly different, the support situations of the functions such as VoLTE, viLTE, voWifi and Ut are also different. In order to implement the functions corresponding to the differentiated requirements of different operators and the registration of the functional services, the operating system needs to maintain a configuration file called operator configuration, so as to configure the differentiated requirements of different operators in the configuration file of the operator, such as the support conditions of the functions of VoLTE, viLTE, voWifi, ut, and the like.
However, before loading the operator configuration file, the operating system needs to read all SIM card data to obtain the function access configuration information corresponding to the SIM card and enable the terminal to obtain the service corresponding to the inserted SIM card.
Disclosure of Invention
The invention mainly aims to provide a network registration method, a network registration device and terminal equipment, and aims to solve the problems that in the prior art, when an SIM card is inserted into an intelligent terminal and the terminal is started or in a starting state, the time consumption for loading SIM card data is long, so that the function access service registration is slow, and the VoLTE related service registration speed is slow.
In order to achieve the above object, a first aspect of an embodiment of the present invention provides a network registration method, including:
monitoring the reading state of a user identity authentication file in the data reading process of a subscriber identity module SIM card;
when the fact that the user identity authentication file is read is monitored, triggering a first network registration event;
when the terminal responds to the first network registration event, an operator configuration file is loaded, the operator configuration file is analyzed according to the user identity authentication file, and first function access configuration information corresponding to the SIM card is obtained;
and registering the SIM card to a service network through the first function access configuration information.
A second aspect of an embodiment of the present invention provides a network registration apparatus, including:
the reading state monitoring module is used for monitoring the reading state of the user identity authentication file in the data reading process of the SIM card of the client identification module;
the network registration event triggering module is used for triggering a first network registration event when monitoring that the user identity authentication file is completely read;
a function access configuration information obtaining module, configured to load an operator configuration file when the terminal responds to the first network registration event, and analyze the operator configuration file according to the user identity authentication file to obtain first function access configuration information corresponding to the SIM card;
and the network registration module is used for registering the SIM card to a service network through the first function access configuration information.
A third aspect of embodiments of the present invention provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method provided in the first aspect when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method as provided in the first aspect above.
The embodiment of the invention provides a network registration method, which comprises the steps of monitoring the reading state of a user identity authentication file in SIM card data, analyzing an operator configuration file according to the user identity authentication file, obtaining first function access configuration information corresponding to an SIM card, registering the SIM card to a business service network when a terminal responds to a first network registration event, and providing business service corresponding to the first function access configuration information to the terminal by the business service network. Therefore, the embodiment of the invention triggers the first network registration event when the user identity authentication file is read, and the terminal responds to the first network registration event when the user identity authentication file is read, so that the time for loading and analyzing the operator configuration file by the SIM card after the terminal is started or the SIM card is inserted into the terminal is shortened, and the speed for registering the SIM card in a service network, namely the speed for network registration is increased.
Drawings
Fig. 1 is a block diagram of a hardware structure of a terminal device according to an embodiment of the present invention;
fig. 2 is a schematic view of an implementation flow of a network registration method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an actual application flow of the network registration method according to the embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation of another network registration method according to an embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating an implementation of another network registration method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a network registration apparatus based on a SIM card according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element.
Suffixes such as "module", "component" or "unit" used to indicate elements are used herein only for facilitating the description of the present invention, and do not have a specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
Fig. 1 shows a block diagram of a hardware configuration of a terminal device. The terminal device unlocking method provided by the embodiment of the present invention may be applied to the terminal device 10 shown in fig. 1, where the terminal device 10 may include, but is not limited to: the mobile terminal supports short-distance wireless communication and needs to be unlocked, such as a smart phone, a notebook, a tablet personal computer and wearable smart equipment.
As shown in fig. 1, the terminal device 10 includes a memory 101, one or more processors 103 (only one is shown), and optionally, may further include a memory controller 102, a peripheral interface 104, a radio frequency module 105, a key module 106, an audio module 107, a touch screen 108, and a short-range wireless communication module 109. These components may communicate with each other via one or more communication buses/signal lines 110.
It is to be understood that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the terminal device. Terminal device 10 may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The memory 101 may be configured to store software programs and modules, such as a terminal device unlocking method and program instructions/modules corresponding to the terminal device in the embodiments of the present invention, and the processor 103 executes various functional applications and data processing by running the software programs and modules stored in the memory 101, so as to implement a terminal device unlocking method in the embodiments shown in fig. 2 and 3 described below, or implement a terminal device unlocking method in the embodiments shown in fig. 4 and 5 described below.
Memory 101 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 101 may further include memory located remotely from the processor 103, which may be connected to the terminal device 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Access to the memory 101 by the processor 103 and possibly other components may be under the control of the memory controller 102.
The peripheral interface 104 couples various input/output devices to the CPU and to the memory 101. Processor 103 executes various software, instructions within memory 101 to perform various functions of terminal device 10 and to perform data processing.
In some embodiments, the peripheral interface 104, the processor 103, and the memory controller 102 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The rf module 105 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The rf Module 105 may include various existing circuit elements for performing these functions, such as an antenna, an rf transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, a memory, and so forth. The rf module 105 may communicate with various networks such as the internet, an intranet, a preset type of wireless network, or other devices through a preset type of wireless network. The preset types of wireless networks described above may include cellular telephone networks, wireless local area networks, or metropolitan area networks. The Wireless network of the above-mentioned preset type may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), enhanced Data GSM Environment (EDGE), wideband Code Division Multiple Access (W-CDMA), code Division Multiple Access (CDMA), time Division Multiple Access (TDMA), bluetooth, wireless Fidelity (WiFi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.11 n), voice over Internet protocol (VoIP), worldwide Interoperability for Microwave, wimax, and any other suitable short message Communication protocols.
The key module 106 provides an interface for a user to input to the terminal device, and the user can press different keys to cause the terminal device 10 to perform different functions.
Audio module 107 provides an audio interface to a user, which may include one or more microphones, one or more speakers, and audio circuitry. The audio circuitry receives audio data from the peripheral interface 104, converts the audio data into electrical information, and transmits the electrical information to the speaker. The speaker converts the electrical information into sound waves that the human ear can hear. The audio circuitry also receives electrical information from the microphone, converts the electrical information to voice data, and transmits the voice data to the peripheral interface 104 for further processing. The audio data may be retrieved from the memory 101 or through the radio frequency module 105. In addition, the audio data may also be stored in the memory 101 or transmitted through the radio frequency module 105. In some examples, audio module 107 may also include a headphone jack for providing an audio interface to headphones or other devices.
The touch screen 108 provides both an output and an input interface between the terminal device and the user. In particular, the touch screen 108 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof. Some of the output results are for some of the user interface objects. The touch screen 108 also receives user inputs, such as user clicks, swipes, and other gesture operations, for the user interface objects to respond to these user inputs. The technique of detecting user input may be based on resistive, capacitive, or any other possible touch detection technique. Specific examples of touch screen 108 display units include, but are not limited to, liquid crystal displays or light emitting polymer displays.
The short-range wireless Communication module 109 can perform Identification and data exchange with compatible devices in a short range through a short-range Communication protocol such as NFC (Near Field Communication) or RFID (Radio Frequency Identification).
Further, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium may be disposed in the terminal device in each of the foregoing embodiments and the following embodiments, and the computer-readable storage medium may be a memory in the foregoing embodiment shown in fig. 1. The computer readable storage medium has stored thereon a computer program, which, when executed by a processor, can implement the network registration method in the embodiments of fig. 2 to 5 described below.
As shown in fig. 2, an embodiment of the present invention provides a network registration method, which is applied in a process of reading data of a SIM card by a terminal operating system, and includes, but is not limited to, the following steps:
s201, in the data reading process of the SIM card of the client identification module, the reading state of the user identity authentication file is obtained.
In step S201, when the terminal is powered on and the SIM card is installed, the data reading process of the SIM card is as follows: and after the terminal is started or the SIM card is inserted into the terminal, the operating system reads the data in the SIM card.
In a specific application, the user identity authentication file is SIM card data storing an IMSI (International Mobile Subscriber identity Number).
In the embodiment of the present invention, the user identity authentication file may be an EFimsi file.
S202, if the user identity authentication file is read completely, a first network registration event is triggered.
In step S202, the operator configuration file may be parsed according to the user identity authentication file to obtain the relevant configuration information of the current SIM card, so that when the user identity authentication file is read, the terminal may execute the first network registration event to register the SIM card in the service network.
In a specific application, the triggering of the first network registration event further needs to detect whether the current state of the terminal desires to perform network registration according to the user identity authentication file, and as shown in fig. 3, an implementation manner of the step S202 may be:
s2021, when the user identity authentication file is read, monitoring whether the SIM card is in a configuration file loading state;
s2022, if the SIM card is in a configuration file loading state, not triggering the first network registration event;
s2023, if the SIM card is in the configuration file unloaded state, triggering the first network registration event.
Through the steps S2021 to S2023, when the user identity authentication file is completely read, if the SIM card is already in the configuration file loading state, it indicates that the current state of the terminal does not desire to perform fast network registration, and the user selects to load all SIM card data; or the terminal has finished loading the SIM card data currently, and the above first network registration event does not need to be triggered repeatedly.
In an embodiment, an implementation manner of detecting whether the SIM card is in the configuration file loading state in step S2021 may be:
if the data reading of the SIM card is finished or an instruction for continuously reading the data of the SIM card is provided, the SIM card is in a configuration file loading state;
and if the data reading of the SIM card is not finished and the SIM card does not have an instruction for continuously reading the data of the SIM card, the SIM card is in a non-configuration file loading state.
The instruction for continuously reading the SIM card data can be used for initiating inquiry notification to a user through the terminal in the SIM card data reading process so as to obtain the instruction for continuously reading the SIM card data, or not continuously reading the SIM card data, or feeding back no instruction.
S203, acquiring first function access configuration information corresponding to the SIM card according to the first network registration event.
According to the above steps S201 and S203, in the embodiment of the present invention, the first network registration event includes: and loading the operator configuration file, and analyzing the operator configuration file according to the user identity authentication file. The analyzed operator configuration file comprises first function access configuration information corresponding to the SIM card.
In a specific application, the operator configuration file has parameters for configuring each operator, such as operator IMS (IP Multimedia Subsystem) related parameters: voLTE, viLTE, woWIFi, ut, etc.
And analyzing the user identity authentication file and the operator configuration file to obtain the function which can be accessed by the current SIM card, namely the first function access configuration information.
Therefore, the embodiment of the present invention further shows an implementation manner of parsing the data of the operator configuration file according to the user identity authentication file after step S202, which includes:
acquiring a part of identification codes of the user identity authentication file;
acquiring a preset coding array;
and calculating the length of the partial identification code according to the coding array to obtain a first complete identification code.
One implementation manner of the step S203 may be:
loading the operator configuration file;
and analyzing the operator configuration file according to the first complete identification code to acquire first function access configuration information corresponding to the SIM card.
In practical application, the operating system needs to read all SIM card data first to obtain the function access configuration information corresponding to the SIM card and enable the terminal to obtain the service corresponding to the inserted SIM card.
In the embodiment of the invention, after the user identity authentication file is read, only a part of identification codes with unknown lengths can be obtained, but in the embodiment of the invention, matching judgment is carried out through a preset coding array, the lengths of the part of identification codes can be determined, accurate complete identification codes are finally obtained, and then the operator configuration file is analyzed according to the complete identification codes, so that the aims of quickly obtaining function access configuration information and improving the network registration speed are fulfilled.
In a specific application, the user identity authentication file may be an EFimsi, the EFimsi file is a kind of SIM card data storing IMSI, and a part of the identification Code that can be obtained according to the EFimsi file is an MNC (Mobile Network Code), and a corresponding complete identification Code should include the MNC and an MCC (Mobile Country Code), where the process of obtaining the MCC according to the MNC is as follows:
and performing matching judgment according to a preset coding array, such as an array of global 6-bit PLMN, determining the length of MNC, and acquiring accurate MNC and MCC information.
S204, registering the SIM card to a service network according to the first function access configuration information.
In step S204, after the SIM card is registered in the service network, the terminal may obtain the service corresponding to the SIM card.
In one embodiment, the process of the terminal obtaining the service corresponding to the SIM card inserted into the terminal may be: the operating system determines whether to start the corresponding network function and register the corresponding service to the service network according to the function access configuration information.
In the embodiment of the invention, the VoLTE service is taken as the service to be acquired by the terminal.
As shown in fig. 4, the embodiment of the present invention further takes the network registration method shown in fig. 2 and fig. 3 as an example, and shows a detailed practical application flow thereof. When reading the SIM card data, the operating system of the terminal monitors the reading state of the user identity authentication file and the loading state of the configuration file of the SIM card, so as to judge whether the reading of the user identity authentication file is finished or not and whether the terminal is expected to perform network registration according to the user identity authentication file, and when the terminal performs network registration according to the user identity authentication file, the time for acquiring the configuration information of an operator after starting up is shortened, and then the registration of a service network is accelerated, so that the terminal can more quickly acquire service services such as VoLTE and the like and perform corresponding VoLTE services.
In an actual application scenario, if the terminal stores the function access configuration information before the last shutdown, the function access configuration information before the last shutdown is directly used immediately after the terminal is powered off, and the terminal is powered on again, but not the function access configuration information corresponding to the currently inserted SIM card, so that the IMS registration is abnormal.
According to fig. 4, the network registration method provided in the embodiment of the present invention may also avoid the problem in the application scenario described above by monitoring the read state of the user authentication file as the trigger of the network registration event.
In the network registration method provided by the embodiment of the invention, the operator configuration file can be analyzed according to the user identity authentication file by monitoring the reading state of the user identity authentication file in the SIM card data, so that the first function access configuration information corresponding to the SIM card is obtained, when the terminal responds to the first network registration event, the SIM card is registered in the service network, and the service network provides the service corresponding to the first function access configuration information for the terminal. Therefore, the embodiment of the invention triggers the first network registration event when the user identity authentication file is read, and the terminal responds to the first network registration event when the user identity authentication file is read, so that the time for loading and analyzing the operator configuration file by the SIM card after the terminal is started or the SIM card is inserted into the terminal is shortened, and the speed for registering the SIM card in a service network, namely the speed for network registration is increased.
As shown in fig. 5, an implementation flow diagram of another network registration method is provided in the embodiment of the present invention, which is supplemented based on the network registration method shown in fig. 2, in the embodiment of the present invention, before step S204 in fig. 2, a second network registration event is triggered by monitoring a read state of type parameter information, and more function access configuration information can be obtained than after the first network registration event is triggered. The network registration method described above includes, but is not limited to, the following steps:
s501, in the data reading process of the SIM card of the client identification module, the reading state of a user identity authentication file is obtained;
s502, if the user identity authentication file is read completely, triggering a first network registration event;
s503, acquiring first function access configuration information corresponding to the SIM card according to the first network registration event;
s504, in the process of reading the data of the SIM card, the reading state of the type parameter information is obtained.
And S505, if the type parameter information is completely read, triggering a second network registration event.
In the above step S504 and step S505, the type parameter information may be MVNO information, which includes four parameters of IMSI, ICCID, SPN, and GID.
In a specific application, the IMSI determines the home network of the inserted SIM card; the ICCID determines the number segment of the physical ID inserted into the SIM card, different types of cards (e.g. prepaid or postpaid) may correspond to different number segments; the GID may identify whether the card is issued by a virtual carrier.
S506, according to the second network registration event, second function access configuration information corresponding to the SIM card is obtained.
S507, replacing the first function access configuration information with the second function access configuration information.
S508, registering the SIM card to a service network according to the first function access configuration information.
In the second network registration event from the step S501 to the step S508, compared with the first network registration event from the step S201 to the step S204, the monitoring object is different, and the second configuration information is different from the first configuration information from the step S201 to the step S204, and the parsing basis is different.
In a specific application, after the first function access configuration information corresponding to the SIM card is acquired, whether the read state of the type parameter information in the process of reading the data of the SIM card of the subscriber identity module is monitored or not may be selected, and only the network registration result is different from the network registration time.
In one embodiment, one implementation manner of the step S506 may be:
loading the operator configuration file;
acquiring a second complete identification code according to the type parameter information;
and analyzing the operator configuration file according to the second complete identification code to acquire second function access configuration information corresponding to the SIM card.
In the above step, the complete identification code may be directly obtained according to the type parameter information, the operator configuration file is analyzed according to the second complete identification code, and the process of obtaining the second function access configuration information corresponding to the SIM card is the same as that in step S203.
As shown in fig. 6, an embodiment of the present invention further provides a network registration apparatus 60 based on a SIM card, including:
a reading state monitoring module 61, configured to obtain a reading state of the user identity authentication file in a data reading process of the SIM card of the subscriber identity module;
a network registration event triggering module 62, configured to trigger a first network registration event when the user identity authentication file is completely read;
a function access configuration information obtaining module 63, configured to obtain, according to the first network registration event, first function access configuration information corresponding to the SIM card;
and a network registration module 64, configured to register the SIM card to a service network according to the first function access configuration information.
In the function access configuration information obtaining module 63, the operator configuration file has parameters for configuring each operator, such as parameters related to an operator IMS (IP Multimedia Subsystem): voLTE, viLTE, woWIFi, ut, etc. And analyzing the user identity authentication file and the operator configuration file to obtain the function which can be accessed by the current SIM card, namely the first function access configuration information.
Therefore, an embodiment of the present invention further illustrates an implementation manner of parsing data of an operator profile according to a user identity authentication file after triggering a first network registration event by using the network registration event triggering module 52, which includes:
acquiring a part of identification codes of the user identity authentication file;
acquiring a preset coding array;
and calculating the length of the partial identification code according to the coding array to obtain a first complete identification code.
The function access configuration information obtaining module 53 may include the following functional units:
a configuration file loading unit, configured to load the operator configuration file;
and the configuration file analysis unit is used for analyzing the operator configuration file according to the first complete identification code and acquiring first function access configuration information corresponding to the SIM card.
In practical application, the operating system needs to read all SIM card data first, and then can obtain the function access configuration information corresponding to the SIM card and enable the terminal to obtain the service corresponding to the inserted SIM card.
In the embodiment of the invention, after the user identity authentication file is read, only a part of identification codes with unknown lengths can be obtained, but in the embodiment of the invention, matching judgment is carried out through a preset coding array, the lengths of the part of identification codes can be determined, accurate complete identification codes are finally obtained, and then the operator configuration file is analyzed according to the complete identification codes, so that the aims of quickly obtaining function access configuration information and improving the network registration speed are fulfilled.
In a specific application, the user identity authentication file may be EFimsi, and then a part of the identifier that can be obtained according to EFimsi is an MNC (Mobile Network Code), and a corresponding complete identifier of the identifier includes the MNC and an MCC (Mobile Country Code), where a process of obtaining the MCC according to the MNC is:
and performing matching judgment according to a preset coding array, such as an array of global 6-bit PLMN, determining the length of MNC, and acquiring accurate MNC and MCC information.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the foregoing embodiments illustrate the present invention in detail, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.

Claims (10)

1. A network registration method, comprising:
acquiring the reading state of a user identity authentication file in the data reading process of a subscriber identity module SIM card;
when the user identity authentication file is read, monitoring whether the SIM card is in a configuration file loading state; if the SIM card is in a configuration file unloaded state, triggering a first network registration event;
acquiring first function access configuration information corresponding to the SIM card according to the first network registration event;
and registering the SIM card to a service network according to the first function access configuration information.
2. The network registration method of claim 1, wherein before acquiring the first function access configuration information corresponding to the SIM card according to the first network registration event, the method comprises:
acquiring a part of identification codes of the user identity authentication file;
acquiring a preset coding array;
and determining the length of a part of identification codes according to the coding array, and acquiring a first complete identification code.
3. The network registration method of claim 2, wherein the obtaining the first function access configuration information corresponding to the SIM card according to the first network registration event comprises:
loading an operator configuration file;
and analyzing the operator configuration file according to the first complete identification code to acquire first function access configuration information corresponding to the SIM card.
4. The network registration method of claim 1, wherein the method further comprises:
and when the user identity authentication file is read, if the SIM card is in a configuration file loading state, the first network registration event is not triggered.
5. The network registration method of claim 1, wherein monitoring whether the SIM card is in a configuration file loading state when the reading of the user identity authentication file is completed comprises:
if the data reading of the SIM card is finished or an instruction for continuously reading the data of the SIM card is provided, the SIM card is in a configuration file loading state;
and if the data reading of the SIM card is not finished and the SIM card does not have an instruction for continuously reading the data of the SIM card, the SIM card is in a non-configuration file loading state.
6. The network registration method of claim 1, wherein before acquiring the first function access configuration information corresponding to the SIM card according to the first network registration event, the method further comprises:
the method comprises the steps that in the process of reading data of an SIM card of a customer identification module, the reading state of type parameter information is obtained;
if the type parameter information is completely read, triggering a second network registration event;
acquiring second function access configuration information corresponding to the SIM card according to the second network registration event;
replacing the first function access configuration information with the second function access configuration information.
7. The network registration method of claim 6, wherein the obtaining second function access configuration information corresponding to the SIM card according to the second network registration event comprises:
loading an operator configuration file;
acquiring a second complete identification code according to the type parameter information;
and analyzing the operator configuration file according to the second complete identification code to acquire second function access configuration information corresponding to the SIM card.
8. A network registration apparatus, comprising:
the reading state monitoring module is used for acquiring the reading state of the user identity authentication file in the data reading process of the SIM card of the client identification module;
the network registration event triggering module is used for monitoring whether the SIM card is in a configuration file loading state or not when the user identity authentication file is read; if the SIM card is in a configuration file unloaded state, triggering a first network registration event;
a function access configuration information acquisition module, configured to acquire, according to the first network registration event, first function access configuration information corresponding to the SIM card;
and the network registration module is used for registering the SIM card to a service network according to the first function access configuration information.
9. A terminal device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the network registration method according to any one of claims 1 to 7 when executing the computer program.
10. A storage medium being a computer readable storage medium having a computer program stored thereon, wherein the computer program, when being executed by a processor, performs the steps of the network registration method according to any of the claims 1 to 7.
CN202010143234.7A 2020-03-04 2020-03-04 Network registration method and device and terminal equipment Active CN111343627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010143234.7A CN111343627B (en) 2020-03-04 2020-03-04 Network registration method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010143234.7A CN111343627B (en) 2020-03-04 2020-03-04 Network registration method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN111343627A CN111343627A (en) 2020-06-26
CN111343627B true CN111343627B (en) 2022-12-23

Family

ID=71187288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010143234.7A Active CN111343627B (en) 2020-03-04 2020-03-04 Network registration method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN111343627B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222283A (en) * 2021-12-21 2022-03-22 展讯通信(上海)有限公司 Registration optimization method and device of SIM card and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101622895A (en) * 2007-02-02 2010-01-06 艾利森电话股份有限公司 The derivation of user equipment identifiers
CN102149073A (en) * 2010-12-20 2011-08-10 中兴通讯股份有限公司 Method and system for automatically identifying preset files
CN103686788A (en) * 2013-11-22 2014-03-26 华为终端有限公司 Terminal and network parameter configuration method and device thereof
CN107820313A (en) * 2016-09-12 2018-03-20 中兴通讯股份有限公司 Network registering method and its device
CN110475242A (en) * 2019-07-03 2019-11-19 深圳市广和通无线通信软件有限公司 A kind of LTE network register method, device, storage medium and computer equipment
CN110493771A (en) * 2019-08-20 2019-11-22 RealMe重庆移动通信有限公司 Connection method, device, storage medium and the terminal device of data network

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008141212A2 (en) * 2007-05-10 2008-11-20 Broadcom Corporation Method and system for modeling options for opaque management data for a user and/or an owner
CN102264126A (en) * 2011-08-15 2011-11-30 中兴通讯股份有限公司 Wireless communication terminal and network registering method thereof
KR102254849B1 (en) * 2014-07-19 2021-05-25 삼성전자주식회사 processing Method and apparatus for provisioning profile
CN105578590B (en) * 2015-03-31 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of the whole network leads to the network registering method and terminal of terminal
US20160295544A1 (en) * 2015-03-31 2016-10-06 Globetouch, Inc. Enhanced cloud sim
US9609613B1 (en) * 2015-09-25 2017-03-28 At&T Intellectual Property I, L.P. Method and apparatus for managing communication services using multiple subscription agreements
US10038667B2 (en) * 2015-11-09 2018-07-31 Infosys Limited Method and system of authentication and OTA registration of a new user without a SIM card in multi-operator mobile telephony
EP3253172B1 (en) * 2016-06-01 2019-12-11 Intel IP Corporation Device and method for recovering services from network rejections to wireless communication devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101622895A (en) * 2007-02-02 2010-01-06 艾利森电话股份有限公司 The derivation of user equipment identifiers
CN102149073A (en) * 2010-12-20 2011-08-10 中兴通讯股份有限公司 Method and system for automatically identifying preset files
CN103686788A (en) * 2013-11-22 2014-03-26 华为终端有限公司 Terminal and network parameter configuration method and device thereof
CN107820313A (en) * 2016-09-12 2018-03-20 中兴通讯股份有限公司 Network registering method and its device
CN110475242A (en) * 2019-07-03 2019-11-19 深圳市广和通无线通信软件有限公司 A kind of LTE network register method, device, storage medium and computer equipment
CN110493771A (en) * 2019-08-20 2019-11-22 RealMe重庆移动通信有限公司 Connection method, device, storage medium and the terminal device of data network

Also Published As

Publication number Publication date
CN111343627A (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN104092723B (en) Document down loading method, Apparatus and system
AU2014224110B2 (en) Apparatus, method, and system for activating a mobile terminal
CN112075098B (en) Cell registration method and terminal equipment
CN107743305B (en) Method and device for loading configuration information and computer equipment
CN107871015B (en) Log data processing method and device, terminal and readable storage medium
US10098165B2 (en) Call setup in wireless communication devices
CN110622534B (en) MDT (minimization drive test) information sending method and device and MDT information receiving method and device
CN115103336A (en) Card information activation method and device and storage medium
WO2015010591A1 (en) Method and terminal device for adding contacts
WO2020168834A1 (en) Apparatus and method operable to revert to a user equipment capability identity
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN110677842B (en) Network searching method, device, terminal equipment and storage medium
WO2019140685A1 (en) Method, device and system for minimizing road test measurement
CN111343627B (en) Network registration method and device and terminal equipment
CN104113620A (en) Contact list updating method, updating device and user terminal
CN107770767B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107613099B (en) Method and device for loading emergency number
US9936060B2 (en) Apparatuses and methods for provisioning emergency services information
CN105574453B (en) Two-dimensional code processing method and mobile terminal
CN110651500B (en) Cell selection method and device, communication equipment and storage medium
CN115776666A (en) Network parameter configuration method and related equipment
CN109309912B (en) Multi-card mobile terminal, network roaming method thereof and storage medium
CN108770043B (en) Network marking method, device, readable storage medium and mobile terminal
CN108462801B (en) Method, device and system for acquiring streaming media data
CN112738789A (en) SIM card locking method and device, storage medium and electronic equipment

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